Commit graph

163 commits

Author SHA1 Message Date
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
a5b8a7306b Fixes prop backgrounds from applying nonvisible darkening twice 2023-08-13 16:39:16 +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
557b7095b9 warnings cleanup and MasterDungeonMap class 2023-08-13 08:23:22 +01:00
Llywelwyn
75e17f235d IntervalSpawnSystem{} now works with mob groupsize flags 2023-08-02 00:37:56 +01:00
Llywelwyn
60fe39c834 Combined attack logs that happen on the same tick, involving the player 2023-08-01 20:23:08 +01:00
Llywelwyn
51893def78 wasm build - week 4 final 2023-08-01 19:59:49 +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
c43408b8aa mobs: zombies, dwarves, kobolds, cave spider 2023-08-01 09:15:59 +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
eff49f4528 Merge remote-tracking branch 'origin/master' 2023-07-30 12:41:39 +01:00
Llywelwyn
6f7d8a035c
week 4 changes - initial 2023-07-30 12:40:55 +01:00
Llywelwyn
dc1cb0562f cleans up raws/mod.rs with trait impls for json parsing 2023-07-30 09:27:47 +01:00
Llywelwyn
875e6bfee7 mobs have a chance to drop held items on death 2023-07-30 08:57:31 +01:00
Llywelwyn
3e9f4f6fab added xp value for mobs with MULTIATTACK flag 2023-07-30 05:40:17 +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
3e9ebaa002 gitignore, spring cleaning 2023-07-30 01:05:44 +01:00
Llywelwyn
e937994439 tiny visual tweaks - deepwater glyph and magic missile particle 2023-07-29 20:30:50 +01:00
Llywelwyn
b4c80b919e delayed particles 2023-07-29 20:29:29 +01:00
Llywelwyn
9ed37d31b5 Fixes serialization order (fields were mismatched in de- and serialize)
fixes #7
2023-07-29 17:28:32 +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
a3ffb7d251 logs now print char-by-char, and have "perfect" wrapping
wraps will happen mid-word, but this is is intentional. hard wrapping doesn't look very good in my opinion

this has deprecated descending message logs for now
2023-07-28 22:25:25 +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
6e6d364aa5 fixed some attributes double-dipping, and added COMBAT_LOGGING 2023-07-28 17:12:02 +01:00
Llywelwyn
c2759e9e8e continuing with the overhaul, allowed entities to wear stuff 2023-07-28 06:57:14 +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
5f091bc2ab Merge branch 'depths_to_ids' 2023-07-27 17:59:54 +01:00