Commit graph

146 commits

Author SHA1 Message Date
Llywelwyn
efe15705ad Beginning the conversion to an Effects system 2023-08-16 15:11:49 +01:00
Llywelwyn
a6690029e6 converted inventory systems into a module 2023-08-16 09:33:18 +01:00
Llywelwyn
76cc6a6938 tile content iterator with runstate tweak - returns optional runstate 2023-08-16 01:45:23 +01:00
Llywelwyn
d439ff6d3f complete spatial indexing refactor - SpatialMap 2023-08-16 01:17:38 +01:00
Llywelwyn
2887bb9736 prevents energy from ticking up whilst AI is culled 2023-08-15 21:18:28 +01:00
Llywelwyn
f2b58a3feb random wandering and static ai 2023-08-15 20:39:13 +01:00
Llywelwyn
084e5e6f7b cleans up mobs.json, adds MoveModes 2023-08-15 20:28:21 +01:00
Llywelwyn
198486df1d ChaseAI{}, FleeAI{}, removal of monster/bystander tags 2023-08-15 20:04:21 +01:00
Llywelwyn
91607fb9ce ApproachAI {} 2023-08-15 19:03:15 +01:00
Llywelwyn
b95f0cc1ad faction-based visible ai, initial commit 2023-08-15 18:05:25 +01:00
Llywelwyn
bb8cf69b86 WantsToApproach, WantsToFlee (functionality NYI) 2023-08-15 17:31:18 +01:00
Llywelwyn
9b037dceeb faction-based adjacent ai 2023-08-15 16:29:01 +01:00
Llywelwyn
76d835021b faction table, applying factions to mobs, and querying reactions 2023-08-15 15:56:00 +01:00
Llywelwyn
b8d7194f28 item identification 2023-08-13 20:49:46 +01:00
Llywelwyn
9e768c5f73 obfuscates names of unidentified items 2023-08-13 20:16:24 +01:00
Llywelwyn
7795044d36 Horrendous hash key gets worse -- REFACTOR THIS LATER 2023-08-13 18:43:04 +01:00
Llywelwyn
71f5c2ac9f Expands cheat menu 2023-08-13 16:22:30 +01:00
Llywelwyn
0344f87da8 EncumbranceSystem {} 2023-08-13 15:42:56 +01:00
Llywelwyn
0ef3a51e56 in-game cheat/debug menu 2023-08-13 13:43:16 +01:00
Llywelwyn
7460ddee05 serialises dungeon map 2023-08-13 10:03:30 +01:00
Llywelwyn
2a8691efff entity thawing and freezing on level change 2023-08-13 09:36:02 +01:00
Llywelwyn
dab0683ffd generic goto_level, implements backtracking 2023-08-13 09:21:07 +01:00
Llywelwyn
25befa9343 Refactors worldmap gen, now uses a master list of maps for backtracking 2023-08-13 08:53:33 +01:00
Llywelwyn
75e17f235d IntervalSpawnSystem{} now works with mob groupsize flags 2023-08-02 00:37:56 +01:00
Llywelwyn
6f8f42d9fc Mind component is now properly applied
Applied by default to all mobs, unless they have the MINDLESS flag
2023-08-01 12:28:57 +01:00
Llywelwyn
b5e3880a33 IntervalSpawningSystem{} fix, and mobs randomly move 2023-08-01 08:30:04 +01:00
Llywelwyn
5276bb6e34 IntervalSpawningSystem{} (% chance for monster creation each turn) 2023-08-01 07:46:09 +01:00
Llywelwyn
0169a88091 RegenSystem{} for health regen (mana NYI) 2023-08-01 01:44:02 +01:00
Llywelwyn
6cef899ef6 ai refactor, mob spawns now take into account player level, small fixes 2023-07-31 22:24:38 +01:00
Llywelwyn
c00418f7c8 improved logging (debug stuff) 2023-07-31 05:39:09 +01:00
Llywelwyn
aac6e0ad02 Speed with TURN_COST and slight randomisation to reduce predictability 2023-07-31 05:07:41 +01:00
Llywelwyn
dce40ac741 speed system - NYI 2023-07-31 03:05:25 +01:00
Llywelwyn
475f96d4e6 cleans up spawning, rolling for items/mobs/traps separately 2023-07-30 14:16:57 +01:00
Llywelwyn
a17a2c8f11 combat system 2nd pass - multiattacks for natural attackers 2023-07-30 05:30:01 +01:00
Llywelwyn
42113ad6a4 building and theming the forest 2023-07-30 04:17:20 +01:00
Llywelwyn
b4c80b919e delayed particles 2023-07-29 20:29:29 +01:00
Llywelwyn
6d6b84ae6a town tweaks 2023-07-29 08:43:40 +01:00
Llywelwyn
3dab5202f8 levels, and ui changes 2023-07-29 05:56:52 +01:00
Llywelwyn
be2c8a35a5 title image, ui tweaks 2023-07-29 02:21:36 +01:00
Llywelwyn
2d4758ced1 seen entities on ui 2023-07-29 00:12:03 +01:00
Llywelwyn
650afaf821 fixes message log wrapping - sort of
it's an improvement - messages will wrap if the added fragment is longer than the maximum width, but it still causes issues if an *individual* fragment is longer than the width. the proper solution here, i think, is to get rid of the whole fragment system and just log words and newlines, and not have to bother with any of this.
2023-07-28 21:06:08 +01:00
Llywelwyn
1e25d062db ranged targeting fixes (set_bg doesn't work with fancy console)
currently not using fancy features for anything, so just went back to the simple console
2023-07-28 17:58:32 +01:00
Llywelwyn
c169a1eae6 combat system overhaul - d20/hack-like 2023-07-28 06:29:59 +01:00
Llywelwyn
32044dbb6a removes unused resources, and embedded font fix 2023-07-28 01:51:14 +01:00
Llywelwyn
d2648c4560 visual overhaul 2023-07-28 01:06:42 +01:00
Llywelwyn
b940142f16 the town 2023-07-27 21:15:20 +01:00
Llywelwyn
1239597422 decouples depth from difficulty, and renames depth to ID
for future impl of branches
2023-07-27 17:59:46 +01:00
Llywelwyn
f2fabafe57 starting in town 2023-07-26 01:35:02 +01:00
Llywelwyn
f53b767376 overhaul: data-driven architecture 2023-07-25 03:50:50 +01:00
Llywelwyn
7f0465da73 finishes decoupling map from camera 2023-07-24 18:53:51 +01:00