Commit Graph

297 Commits

Author SHA1 Message Date
8819fabcca Add missing imports 2022-01-20 19:43:51 -05:00
03a90aba44 Complete Section 5.21 2022-01-20 19:41:16 -05:00
Timothy Warren
1cbb70f294 Add new components for dynamically created particle effects 2022-01-20 16:31:03 -05:00
Timothy Warren
e001488aa8 Update raws file 2022-01-20 16:29:30 -05:00
Timothy Warren
64aeb189c9 Cleanup code now handled by effects module 2022-01-20 16:24:12 -05:00
Timothy Warren
64cc39eba1 Simplify main function by extracting game state setup code 2022-01-20 15:58:08 -05:00
Timothy Warren
0f3903e456 Simplify ItemUseSystem and TriggerSystem by refactoring into piecs of the effect module 2022-01-20 15:57:22 -05:00
Timothy Warren
0f6755b35f Extract item equipping functionality from ItemUseSystem 2022-01-20 14:04:47 -05:00
Timothy Warren
6f35a4a933 Create effects module to handle damage, particles, and death more modularly 2022-01-20 11:48:58 -05:00
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