Commit Graph

91 Commits

Author SHA1 Message Date
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
6f9aa54896 Add lighting system 2022-01-10 10:21:19 -05:00
Timothy Warren
902f71f57c Add cheat mode for development 2022-01-07 09:39:47 -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
c787ccfd25 Add carnivore/herbivore ai, completing section 5.10 2022-01-05 11:46:39 -05:00
Timothy Warren
0c09f52eb6 Add LootTable component 2022-01-05 09:42:36 -05:00
bd81fbd9d9 Start on new interface rendering 2022-01-04 12:12:08 -05:00
Timothy Warren
2785eb10f1 Add components for handling natural attacks 2022-01-04 11:16:36 -05:00
Timothy Warren
5b227115db Add clothing to player and NPCs 2022-01-04 11:11:38 -05:00
Timothy Warren
d96d1ce003 Add regex crate to parse dice specs for equipment 2022-01-04 10:08:06 -05:00
Timothy Warren
2e02e30bc6 Complete Section 5.7, replacing the CombatStats component with a new Pools component for more flexibility 2022-01-03 16:30:14 -05:00
Timothy Warren
29b7f18cd8 Create Skills Component 2022-01-03 15:24:38 -05:00
Timothy Warren
5a4d8bc234 Add attributes to Player and NPCs 2022-01-03 15:21:12 -05:00
Timothy Warren
ea185db29b Add quips to bystanders 2022-01-03 10:49:12 -05:00
Timothy Warren
4393b76122 Add system to let bystanders move around 2022-01-03 09:54:32 -05:00
Timothy Warren
45bedf11d2 Add vendor NPC type 2022-01-03 09:39:52 -05:00
e93573f3a0 Complete section 5.5 by swapping locations with non-hostile NPCs 2021-12-24 14:44:48 -05:00
3f561e2ffc Generate some entities in the pub using raws system 2021-12-24 13:23:56 -05:00
b115f43d5d Use :: prefix on external crates 2021-12-24 10:38:44 -05:00
2dc420bef9 Create a rough town map generator, starting section 5.4 2021-12-24 10:20:29 -05:00
23e187c7fd Fix rendering of ranged weapons 2021-12-23 12:04:50 -05:00
98407d2c77 Spawn items from JSON data 2021-12-23 11:38:37 -05:00
70494d8122 Start of data-driven design (Section 4.2) 2021-12-23 11:00:37 -05:00
Timothy Warren
cb2839733b Complete section 4.19 2021-12-17 16:54:36 -05:00
Timothy Warren
f749d9a9e5 Create camera, and adjust drawing code to render arbitrary size maps 2021-12-17 16:35:30 -05:00
Timothy Warren
ae3f83b544 Make doors opaque, and block the way 2021-12-17 14:07:14 -05:00
Timothy Warren
ee5e690180 Clean up unused use statements 2021-12-15 12:08:23 -05:00
Timothy Warren
541421eb5b Refactor simple map builder to use the Rust builder pattern 2021-12-14 16:29:36 -05:00
Timothy Warren
86d46b8d5b Fix some minor component issues 2021-12-02 14:59:35 -05:00
Timothy Warren
c7cd65af7a Add some convient trait implementations for the Position component 2021-12-01 15:25:48 -05:00
Timothy Warren
e55218c325 Make map setup more DRY, add map generation visualizer, completes section 4.2 2021-12-01 14:45:27 -05:00
Timothy Warren
feb7988f5f Move map builder state into map builder 2021-12-01 12:03:49 -05:00
Timothy Warren
6b48111a97 Move more map procedure stuff into the map builder 2021-12-01 11:41:29 -05:00
Timothy Warren
7f8c16a79f Refactor map generation to return original player position 2021-12-01 11:02:39 -05:00
Timothy Warren
8bb6bf35d6 Refactor map generation into its own submodule 2021-12-01 10:47:41 -05:00
Timothy Warren
4011e7d7d3 Make single-activation traps work 2021-12-01 09:46:34 -05:00
Timothy Warren
804904dd4b Add a basic hidden trap mechanism 2021-11-29 16:00:07 -05:00
Timothy Warren
1f8869879c Add background image to main menu 2021-11-29 14:59:46 -05:00
Timothy Warren
d0b0a84984 Add item to reveal current map, completes section 3.5 2021-11-29 14:39:15 -05:00
3effbdb586 Use less redundant code style with 'if let' statements 2021-11-19 19:52:15 -05:00
Timothy Warren
81f64b07a6 Add rations, and the ability to eat them 2021-11-18 15:25:29 -05:00
Timothy Warren
c490ab114b Implement the hunger system 2021-11-18 10:28:49 -05:00
15a0f1779c Add HungerClock component 2021-11-17 16:23:01 -05:00
c4db6f5932 Make import style more consistent 2021-11-17 16:08:46 -05:00