Commit Graph

288 Commits

Author SHA1 Message Date
Timothy Warren
d6c9341569 Split the rest of the inventory system into its own modules 2022-01-20 09:23:13 -05:00
Timothy Warren
892364927a Fix some lint issues 2022-01-19 14:48:10 -05:00
Timothy Warren
1a95ad5650 Extract item use system from inventory system module 2022-01-19 14:47:58 -05:00
Timothy Warren
444b692779 Obfuscate names of scrolls and potions in other scenarios 2022-01-19 14:35:13 -05:00
Timothy Warren
ce11412d54 split gui module into a folder 2022-01-19 13:31:06 -05:00
Timothy Warren
2dc2a4549a Allow identifying items by use or purchase 2022-01-19 11:04:10 -05:00
Timothy Warren
dd8a3b4f6f Implement obfuscated names for magic scrolls 2022-01-19 10:15:51 -05:00
Timothy Warren
ec0f13dcdd Update spawns for magic items 2022-01-19 10:14:47 -05:00
Timothy Warren
12bd24c1f7 Add color to magic items 2022-01-19 09:40:21 -05:00
Timothy Warren
b0bdd44e18 Add MagicItem component 2022-01-19 09:38:41 -05:00
Timothy Warren
41c0ae7eab Complete section 5.19 by finishing town portal functionality 2022-01-18 11:43:36 -05:00
Timothy Warren
485151e37c Move state management out of main file 2022-01-18 11:40:31 -05:00
Timothy Warren
878ee5b480 Refactor movement system, partially implement town portals 2022-01-18 11:00:13 -05:00
Timothy Warren
9132b6ae2f Add town portal scroll spawns 2022-01-18 09:43:19 -05:00
Timothy Warren
36b82a59c5 Remove unused imports 2022-01-18 09:40:19 -05:00
Timothy Warren
10cccd17c7 Add new spawns to level, completing section 5.18 2022-01-18 09:33:58 -05:00
Timothy Warren
9e85abb29b Implement map builder for level 5 2022-01-18 09:32:48 -05:00
Timothy Warren
e71c391f3a Make damage system match the tutorial 2022-01-14 12:24:18 -05:00
Timothy Warren
3cad614e78 Make color usage consistent through the use of constants 2022-01-14 12:19:46 -05:00
Timothy Warren
a3fdba4fe5 Add 4th level type, completing section 5.17 2022-01-14 10:47:43 -05:00
Timothy Warren
022a7921ce More cheating! (For developing purposes, of course ;) ) 2022-01-14 09:44:01 -05:00
Timothy Warren
93a1c30b4a Add buying and selling 2022-01-13 11:29:20 -05:00
Timothy Warren
6d4f87b184 Add gold 2022-01-13 10:42:02 -05:00
Timothy Warren
847a577c3e Show carried weight, and apply inititative pentalties 2022-01-13 10:29:58 -05:00
Timothy Warren
220b00c64c Add initiative penalties to items 2022-01-13 10:14:13 -05:00
Timothy Warren
09de57f67f Add another set of keys for navigating diagonals 2022-01-12 11:15:11 -05:00
Timothy Warren
d5c48247f3 Complete Section 5.15 2022-01-12 11:12:59 -05:00
Timothy Warren
f9e73479d0 Extract spatial indexing (tile contents, and if a tile is blocked) into its own module 2022-01-12 10:45:13 -05:00
Timothy Warren
eb29e28ec6 Complete section 5.14, having refactored basically every system 2022-01-11 15:35:59 -05:00
Timothy Warren
148e448d78 Much more ai refactoring 2022-01-11 14:16:23 -05:00
Timothy Warren
4e29cf25d6 Update spawn file 2022-01-11 10:36:13 -05:00
Timothy Warren
754118a209 Refactor systems to be more generic 2022-01-11 10:30:32 -05:00
Timothy Warren
f0ac291e6a Add initiative system, and refactor systems to use new runstate 2022-01-11 10:01:37 -05:00
Timothy Warren
3def036868 Add MyTurn component 2022-01-11 09:33:21 -05:00
Timothy Warren
107f190a39 Add Initiative component 2022-01-11 09:28:45 -05:00
Timothy Warren
f558112836 Refactor AI systems into AI module 2022-01-11 09:24:20 -05:00
Timothy Warren
e50abdb4a0 Add lighting to some mob types 2022-01-10 10:28:04 -05:00
Timothy Warren
6f9aa54896 Add lighting system 2022-01-10 10:21:19 -05:00
Timothy Warren
f3ccf50b91 Update spawn table 2022-01-10 09:58:26 -05:00
Timothy Warren
5c34390bc9 Add limestone cavern map builder 2022-01-10 09:57:59 -05:00
Timothy Warren
902f71f57c Add cheat mode for development 2022-01-07 09:39:47 -05:00
Timothy Warren
542c05cb6c Complete section 5.12 2022-01-06 13:37:23 -05:00
Timothy Warren
6cb4406080 Update save game serialization to add previous maps 2022-01-06 10:00:42 -05:00
Timothy Warren
b4fc2ba28f Allow restoring of NPCs on level changes 2022-01-06 09:34:17 -05:00
Timothy Warren
dd6a4c26d9 Allow going back a level 2022-01-06 09:13:40 -05:00
Timothy Warren
ca79653703 Start section 5.12 by adding the master dungeon map 2022-01-05 16:44:44 -05:00
Timothy Warren
dd894452f3 Add experience and leveling up, completing section 5.11 2022-01-05 14:59:45 -05:00
Timothy Warren
c787ccfd25 Add carnivore/herbivore ai, completing section 5.10 2022-01-05 11:46:39 -05:00
Timothy Warren
6e29b31978 Reorganise components a little 2022-01-05 11:05:15 -05:00
Timothy Warren
da99923a1e Use random table spawning for item drops 2022-01-05 10:01:05 -05:00