Commit graph

364 commits

Author SHA1 Message Date
Llywelwyn
e22261d012 see tolocal() tile descs in chat 2023-08-30 05:02:51 +01:00
Llywelwyn
9fb791039f map shortnames/identifiers 2023-08-30 04:51:32 +01:00
Llywelwyn
849a554055 foliage on world map 2023-08-30 03:55:12 +01:00
Llywelwyn
d6b9be628a targeting -> kb control 2023-08-30 03:53:14 +01:00
Llywelwyn
7da00ed2b1 x to farlook, now playable with 0 mouse input 2023-08-30 03:13:46 +01:00
Llywelwyn
81a48d5a6e reduces carry capacity per pt of strength 2023-08-30 02:16:49 +01:00
Llywelwyn
7d201b5736 removes wait on comma 2023-08-30 02:16:41 +01:00
Llywelwyn
fdb5156a48 reduces item spawns 2023-08-30 02:14:16 +01:00
Llywelwyn
3301feaae0 forest tweaks - foliage and proper grass 2023-08-30 02:01:29 +01:00
Llywelwyn
d032c847a0 some more options to config - colour offsets, and all-black tile bgs 2023-08-30 01:35:53 +01:00
Llywelwyn
72ec24c6b6 combat log to config 2023-08-27 23:53:54 +01:00
Llywelwyn
038e616500 cleans up chatlog colours - renderables for non-item, beatitude for item 2023-08-27 22:26:58 +01:00
Llywelwyn
96e69d5c5e unused vars cleanup 2023-08-27 18:08:29 +01:00
Llywelwyn
537e19c4e7 tooltips for overmap tiles, and distinct fg-bg offsets 2023-08-27 18:04:53 +01:00
Llywelwyn
2890c16a3c FillEdges map builder, to fill walkable edges with overmap transition 2023-08-27 16:36:33 +01:00
Llywelwyn
8e3ed5cead huge refactor of overmap-local map travel 2023-08-27 16:21:15 +01:00
Llywelwyn
02be487334 town -> woods -> one floor of dungeon; infinite dungeon elsewhere
just trying things out.
2023-08-27 03:43:25 +01:00
Llywelwyn
486807fc84 names to file 2023-08-27 03:13:58 +01:00
Llywelwyn
e1eae7efaf overmap travel - needs refactoring urgently, but it works for now 2023-08-27 03:00:48 +01:00
Llywelwyn
00dea1a55e fixes master dungeon map bug - map params weren't being saved
it was saving the version of the map at creation (e.g. no viewsheds, no bloodstains, no tile changes), and never updating it on transition
2023-08-27 00:21:01 +01:00
Llywelwyn
38eed3e483 refactor, and overmap (heavy wip) 2023-08-27 00:06:29 +01:00
Llywelwyn
746de971f0 overmap, refactor offsets 2023-08-26 22:46:04 +01:00
Llywelwyn
9e294a1680 better death messages, and morgue file map fix 2023-08-26 17:48:04 +01:00
Llywelwyn
9ac2adc5d6 improves morgue file significant event logging, bumps wasm build 2023-08-26 12:45:24 +01:00
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