Commit Graph

277 Commits

Author SHA1 Message Date
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
Timothy Warren
0c09f52eb6 Add LootTable component 2022-01-05 09:42:36 -05:00
Timothy Warren
c9b35e2710 Drop items from defeated characters 2022-01-04 16:17:45 -05:00
Timothy Warren
dad9b1de33 Update the spawns 2022-01-04 15:34:25 -05:00
Timothy Warren
27b6cc385d Improve forest map generation 2022-01-04 15:34:07 -05:00
Timothy Warren
e475a91c19 Add new theme for forest map 2022-01-04 15:02:50 -05:00
Timothy Warren
0e9de911ce Complete Section 5.9 2022-01-04 13:54:57 -05:00
Timothy Warren
8824faff24 Fix issue with tooltip location 2022-01-04 13:34:38 -05:00
a5d3adadeb Cooler tooltips 2022-01-04 13:11:56 -05:00
43adaee243 Show items, stats, and logs 2022-01-04 12:24:04 -05:00
bd81fbd9d9 Start on new interface rendering 2022-01-04 12:12:08 -05:00
Timothy Warren
83647ae28d Add natural attack types, completing section 5.8 2022-01-04 11:29:23 -05:00