Commit graph

290 commits

Author SHA1 Message Date
Llywelwyn
738484436b significant events in morgue file, better event logging 2023-08-25 22:43:50 +01:00
Llywelwyn
de5dacb2ba improves morgue files - writes to console on wasm 2023-08-25 06:58:54 +01:00
Llywelwyn
14a6e46669 morgue files 2023-08-25 03:24:20 +01:00
Llywelwyn
ad9d40d8ed removes redundant error type 2023-08-24 23:01:33 +01:00
Llywelwyn
73f511775e slightly more graceful config reading: reads entry by entry
reads from default only if an entry is not present, and then writes those defaults to the file if anything was changed
2023-08-24 22:59:25 +01:00
Llywelwyn
6c727b056e Merge remote-tracking branch 'origin/master' 2023-08-24 22:34:19 +01:00
Llywelwyn
3023a33cc5 i/o stuff: skeleton framework for morgue files, and a config.toml file 2023-08-24 22:34:05 +01:00
Llywelwyn
2976c4ea06
cargo build/test wf 2023-08-24 00:30:00 +01:00
Llywelwyn
da77a01067
build instructions 2023-08-23 23:14:41 +01:00
Llywelwyn
b2010958e7 removes deprecated var 2023-08-23 23:08:37 +01:00
Llywelwyn
6ee4878602 bumps ver 2023-08-23 22:48:42 +01:00
Llywelwyn
5b400b6d6f bumps wasm 2023-08-23 22:43:01 +01:00
Llywelwyn
0b251c991c inventory refactor - huge improvement 2023-08-23 22:07:09 +01:00
Llywelwyn
3c5f52faba increases colour offset, and adds a config option for offset % 2023-08-23 22:07:00 +01:00
Llywelwyn
ff344ccee4 returns the option for scanlines, cleans up config 2023-08-23 21:14:07 +01:00
Llywelwyn
e62a081103 increases systems robustness
- most systems run twice per tick, and the effects queue is processes on sub-tick intervals (after any relevant systems).

1. PLAYER TURN ->
i. Map/viewsheds are refreshed, effects queue is run.
ii. RunState takes player input.
iii. Player input is resolved/effects queue is run.
2. AI TURNS ->
i. Map/viewsheds refreshed.
ii. AI decision-making.
iii. AI decisions resolved/effects queue is run.
3. OTHER ->
i. If the start of a new turn, hunger clock is run.
ii. particles are created/deleted every frame.
2023-08-23 18:58:11 +01:00
Llywelwyn
9ab37b90ab beatitudes identified on item use 2023-08-23 18:17:15 +01:00
Llywelwyn
02a4f33d11 more framework for spells 2023-08-23 18:17:04 +01:00
Llywelwyn
76c74df028 inventory system messages to config 2023-08-23 02:31:23 +01:00
Llywelwyn
306c1e4d53 experience level log fix 2023-08-23 02:24:57 +01:00
Llywelwyn
bde0706c0d FOV tweaks 2023-08-23 02:24:33 +01:00
Llywelwyn
15e8ae13d0 char creation to config 2023-08-23 01:57:35 +01:00
Llywelwyn
424bf43ed5 config stuff to config folder 2023-08-23 01:31:02 +01:00
Llywelwyn
705a6bb1fb consts in config files 2023-08-23 01:25:53 +01:00
Llywelwyn
c2c7e0bd52 sorry - swapping from rustfmt to prettier-rust 2023-08-23 01:22:09 +01:00
Llywelwyn
281396f9ce starting on config files 2023-08-23 00:58:01 +01:00
Llywelwyn
98a4422b15 reduces identify scroll spawnrate back down from debug number 2023-08-23 00:02:47 +01:00
Llywelwyn
2c7671b348 optional darken by distance and viewshed multiplier 2023-08-23 00:00:44 +01:00
Llywelwyn
f8c74ea6f9 fixes 0/negative mana regen 2023-08-22 23:40:22 +01:00
Llywelwyn
0ff9c1000b wasm - week 7 2023-08-22 19:25:05 +01:00
Llywelwyn
8f252c1391 Merge remote-tracking branch 'origin/master' 2023-08-22 19:23:54 +01:00
Llywelwyn
a299496857 framework for magic - spells NYI 2023-08-22 19:23:45 +01:00
Llywelwyn
4118783597 mp regeneration
using nethack calcs as a placeholder for now
2023-08-22 19:07:50 +01:00
Llywelwyn
64a8aa7d68
Update README.md - final week 2023-08-22 18:13:44 +01:00
Llywelwyn
c46e302274 identify now works properly with beatitude 2023-08-22 18:01:07 +01:00
Llywelwyn
51081c7c9c Identification scrolls 2023-08-22 17:38:30 +01:00
Llywelwyn
cfe5884a0b blindness - misc 2023-08-22 16:17:42 +01:00
Llywelwyn
1714b94397 blindness improves telepathy, and reduces to-hit 2023-08-22 16:16:56 +01:00
Llywelwyn
0208dcac4c some notes for the combat system, for future reference 2023-08-22 14:36:49 +01:00
Llywelwyn
bd90c3f760 removes monster to-hit bonus from player 2023-08-22 13:11:21 +01:00
Llywelwyn
f55f4504db beatitude identification 2023-08-22 11:55:09 +01:00
Llywelwyn
113d26cf41 effects messages to consts 2023-08-22 11:06:48 +01:00
Llywelwyn
e76a03633b remove curse - with full BUC impl 2023-08-22 10:50:44 +01:00
Llywelwyn
5a42ee283d scroll of remove curse - NYI 2023-08-22 08:56:06 +01:00
Llywelwyn
e403a6d845 weapon fix, and inability to remove cursed items 2023-08-22 08:43:56 +01:00
Llywelwyn
d277384cc5 animation framework stuff 2023-08-21 23:12:49 +01:00
Llywelwyn
366c5d6543 fancy particle effects 2023-08-21 22:43:19 +01:00
Llywelwyn
5f23822f62 runs effects queue immediately before/after player turn
precaution against the effects queue unordering itself, etc.
2023-08-21 21:02:50 +01:00
Llywelwyn
0925cda599 adds particles to spells 2023-08-21 20:26:01 +01:00
Llywelwyn
f325d39f4c particle effect on items/traps 2023-08-21 20:20:46 +01:00