Commit graph

312 commits

Author SHA1 Message Date
Llywelwyn
c5106a63b5 static inventory keys - items remember their slots
this is the biggest refactor of my entire life
2024-06-15 20:14:38 +01:00
Llywelwyn
2eaf431942 disable show_mapgen for default config 2024-06-15 17:24:37 +01:00
Llywelwyn
a7c5d2167c back to serde_json 2024-06-15 16:46:15 +01:00
Llywelwyn
678636c57d Revert "Infallible -> NoError"
This reverts commit 9c8f301491.
2024-06-15 16:44:13 +01:00
Llywelwyn
30697a98bb rm room_accretion for now 2024-06-15 16:43:17 +01:00
Llywelwyn
c73f9a5458 Revert "cherry pick -> serde_json saves to bincode"
This reverts commit 180532ee3e.
2024-06-15 16:42:59 +01:00
Llywelwyn
9c8f301491 Infallible -> NoError 2023-10-24 23:32:42 +01:00
Llywelwyn
180532ee3e cherry pick -> serde_json saves to bincode 2023-10-24 11:13:43 +01:00
Llywelwyn
46bbe14bea added effects for adding intrinsics 2023-10-02 23:02:46 +01:00
Llywelwyn
fa4612cf1f changed get_noncursed() to helper on BUC struct 2023-10-02 23:02:34 +01:00
Llywelwyn
4d21bd46d4 add_intr!() macro for adding intrinsics to the Player
If needed, player can just be replaced by another arg to the macro so this works on every other entity - but right now the player is the only thing to gain/lose intrinsics.
2023-10-02 22:14:00 +01:00
Llywelwyn
b5743819ec .describe() for Intrinsics, for use in tooltips later 2023-10-02 21:11:12 +01:00
Llywelwyn
190543a361 move all doors to the ends of corridors 2023-10-02 07:39:45 +01:00
Llywelwyn
7a27321bec initial tweaks - starting room w/ corridors + doors 2023-10-02 07:00:28 +01:00
Llywelwyn
97ca3a25e3 doors and door directions - RA 2023-10-02 04:43:01 +01:00
Llywelwyn
1fa7432dfe room accretion - initial 2023-10-01 20:56:46 +01:00
Llywelwyn
fa3b906dce adds article to ID morgue msg 2023-09-23 11:21:34 +01:00
Llywelwyn
2d33c90af8 fixes infini-dungeon difficulty 2023-09-23 11:12:28 +01:00
Llywelwyn
23a42bab80 Some panics to unreachable!, better error msging 2023-09-23 00:12:05 +01:00
Llywelwyn
ae8f0d15a0 unreachable! for debug entries 2023-09-22 23:59:15 +01:00
Llywelwyn
b6abfbce4a damage types: phys, magic, fire, cold, poison 2023-09-21 22:46:14 +01:00
Llywelwyn
de0aa33107 swaps over to bracket-lib's parse_dice_string(), and cl 2023-09-21 05:26:25 +01:00
Llywelwyn
921fee2ecc intrinsic speed + regeneration 2023-09-21 05:06:52 +01:00
Llywelwyn
654aea9a32 damage mod multiplier unit tests 2023-09-21 01:08:01 +01:00
Llywelwyn
8a44c94272 adds damage types and mods (weak/resist/immune), for all damage events 2023-09-21 00:52:54 +01:00
Llywelwyn
66013667d8 gamelog events unit tests 2023-09-20 23:21:38 +01:00
Llywelwyn
727ca09e74 defaults placeholder player to human ancestry 2023-09-20 21:56:50 +01:00
Llywelwyn
954991fd9c defaults vision range in raws, only needs specifying if abnormal 2023-09-20 20:33:05 +01:00
Llywelwyn
c4aa3de640 more linter clean-up 2023-09-18 21:54:29 +01:00
Llywelwyn
27c1fe9a48 cleans up linter warns 2023-09-18 21:54:18 +01:00
Llywelwyn
6d80b80a82 adds some abstractions for readability 2023-09-11 00:01:34 +01:00
Llywelwyn
85efe13dc5 made the switch to using bracket-lib directly, instead of rltk wrapper
this should solve the build issues; it makes using the non-crashing github build a lot easier, because it lets the explicit rltk dependency be removed.
2023-09-05 02:23:31 +01:00
Llywelwyn
6d0ae8edf8 spellcheck 2023-09-03 23:54:04 +01:00
Llywelwyn
d018d9077d fixes negative starting mana 2023-09-02 22:37:21 +01:00
Llywelwyn
fcb2bd2815 swapped over to bracket-lib geometry's Rects, improved feature spawning 2023-08-31 20:07:15 +01:00
Llywelwyn
5a8114ec7e removes debugging msg 2023-08-31 03:49:37 +01:00
Llywelwyn
56071a1537 w 2023-08-31 03:47:09 +01:00
Llywelwyn
1b12d70b23 various fixes: moved turnloss handling into energy system, anims 2023-08-31 03:44:04 +01:00
Llywelwyn
7b5cd0ec70 write config file if not present 2023-08-31 02:18:07 +01:00
Llywelwyn
cb7d9082d1 bugfix 2023-08-31 02:00:47 +01:00
Llywelwyn
45312108af bleeding 2 save 2023-08-31 01:28:44 +01:00
Llywelwyn
3464e9447c imports to lib.rs, creating unit tests 2023-08-31 01:20:21 +01:00
Llywelwyn
568df55795 restricts overmap actions (item use/drop/kick/open/close) 2023-08-30 23:54:28 +01:00
Llywelwyn
a038a3f586 chance to log dungeon features per clock turn 2023-08-30 12:08:03 +01:00
Llywelwyn
050973eae4 barracks dungeon feature 2023-08-30 11:41:39 +01:00
Llywelwyn
1f95bf14ee slows treants back down, reduces spawnrate in grassy rooms 2023-08-30 09:19:48 +01:00
Llywelwyn
64caf0dc1a less blocking - targets will try to path to any space around their tar 2023-08-30 09:15:45 +01:00
Llywelwyn
207f3b7671 fixes traffic jams - if path is blocked, npcs will recalc path to dest 2023-08-30 06:15:29 +01:00
Llywelwyn
454c2aab63 player now blockstile 2023-08-30 06:07:40 +01:00
Llywelwyn
8eb98b5baa player turn awaits empty particle queue 2023-08-30 05:58:08 +01:00