Commit graph

7 commits

Author SHA1 Message Date
ee116ef33f
refactor: split player_move and decompose handle_input
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iaac0cda778dd541eb34980f3e902ca726a6a6964
2026-04-05 22:36:32 +03:00
22ab6fc6eb
combat: rewrite in Zig; add basic damage types and weapon archetypes
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ic8055a1cf6bdad1aca13673ea171b4b46a6a6964
2026-04-05 20:29:12 +03:00
9cbbb9636f
combat: add hit chance & damage variance to make combat more engaging
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ia1e0a503dba03e5df7b863b97db962e36a6a6964
2026-04-03 16:37:12 +03:00
e4926a86fe
player: implement manual pickup and descend confirmation
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Icd8d0ffd9bdf92f5c8943590886543566a6a6964
2026-04-03 15:45:15 +03:00
c61e31f628
player: correct item pickup order to copy before marking picked_up
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ie226b4a0ae6566ca77ab49b7d22f36726a6a6964
2026-04-03 15:45:10 +03:00
5e3ba209e0
dev: added step_count and health recovery
Every 15 steps the player will regain 1 HP,
unless they are at max HP. Also added commented
code for later hunger if this is to be implemented.
Played around with step # and 15 seems okay until
hunger is implemented
2026-03-20 11:59:59 -04:00
b381e2efbd
initial commit
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ie3b66d17f6f660c9b9a719210bd86f9f6a6a6964
2026-03-19 17:01:54 +03:00