Commit graph

312 commits

Author SHA1 Message Date
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
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
1239597422 decouples depth from difficulty, and renames depth to ID
for future impl of branches
2023-07-27 17:59:46 +01:00
Llywelwyn
a54e604681 town tweaks, themes 2023-07-26 02:30:25 +01:00
Llywelwyn
f2fabafe57 starting in town 2023-07-26 01:35:02 +01:00
Llywelwyn
1b4d0c2c4b tweaks and wasm build for w3 2023-07-25 17:08:11 +01:00
Llywelwyn
1c956cdf58 sanity checks 2023-07-25 04:03:01 +01:00
Llywelwyn
f53b767376 overhaul: data-driven architecture 2023-07-25 03:50:50 +01:00
Llywelwyn
cdf16aca9d particles, and centred camera 2023-07-24 23:01:34 +01:00
Llywelwyn
b80c3ac9d1 FillEdges builder, and a welcome message 2023-07-24 19:16:20 +01:00
Llywelwyn
7f0465da73 finishes decoupling map from camera 2023-07-24 18:53:51 +01:00
Llywelwyn
2ecfd25d95 decoupled camera from map, wands of digging, wand use tracking 2023-07-24 18:14:38 +01:00
Llywelwyn
7aa440612e all entities in range of opened/closed/broken obj now get dirty viewshed 2023-07-24 15:17:41 +01:00
Llywelwyn
f9057da71b event logging/game over message 2023-07-24 05:31:30 +01:00
Llywelwyn
1c435f8d60 tweaks 2023-07-24 04:32:56 +01:00
Llywelwyn
0472c8a8bf help screen [?], and [f]orcing doors open 2023-07-24 03:13:23 +01:00
Llywelwyn
3e2eee9709 ActionWithDirection runstate
- setting this runstate with a function as arg will give a direction prompt, and then call the function with the selected direction as the argument. i.e. for opening a door or throwing an item in a specific direction
2023-07-24 00:58:40 +01:00
Llywelwyn
1f6c04a526 atomises item table into sub-tables, adds table rolls to vaults 2023-07-23 22:41:24 +01:00
Llywelwyn
72bd7558fa doors render when they've been revealed 2023-07-23 21:49:52 +01:00
Llywelwyn
ab5797078c corridor types, doors, some refactoring 2023-07-23 21:23:38 +01:00
Llywelwyn
46e0c6ec6b room builders 2023-07-23 18:35:55 +01:00
Llywelwyn
2ceb20a822 atomises rooms and corridors
- room sorter
- rounding room corners
- dogleg and bsp corridors
- room exploder
2023-07-23 16:44:14 +01:00
Llywelwyn
b7b2061228 fun with layers, and inventory display refactor 2023-07-23 15:50:56 +01:00
Llywelwyn
53afddf055 prefab whitespace fix 2023-07-23 02:39:02 +01:00
Llywelwyn
050923fab0 pluralised names 2023-07-23 02:10:29 +01:00