Llywelwyn
e62a081103
increases systems robustness
...
- most systems run twice per tick, and the effects queue is processes on sub-tick intervals (after any relevant systems).
1. PLAYER TURN ->
i. Map/viewsheds are refreshed, effects queue is run.
ii. RunState takes player input.
iii. Player input is resolved/effects queue is run.
2. AI TURNS ->
i. Map/viewsheds refreshed.
ii. AI decision-making.
iii. AI decisions resolved/effects queue is run.
3. OTHER ->
i. If the start of a new turn, hunger clock is run.
ii. particles are created/deleted every frame.
2023-08-23 18:58:11 +01:00
Llywelwyn
02a4f33d11
more framework for spells
2023-08-23 18:17:04 +01:00
Llywelwyn
15e8ae13d0
char creation to config
2023-08-23 01:57:35 +01:00
Llywelwyn
424bf43ed5
config stuff to config folder
2023-08-23 01:31:02 +01:00
Llywelwyn
c2c7e0bd52
sorry - swapping from rustfmt to prettier-rust
2023-08-23 01:22:09 +01:00
Llywelwyn
281396f9ce
starting on config files
2023-08-23 00:58:01 +01:00
Llywelwyn
4118783597
mp regeneration
...
using nethack calcs as a placeholder for now
2023-08-22 19:07:50 +01:00
Llywelwyn
51081c7c9c
Identification scrolls
2023-08-22 17:38:30 +01:00
Llywelwyn
1714b94397
blindness improves telepathy, and reduces to-hit
2023-08-22 16:16:56 +01:00
Llywelwyn
bd90c3f760
removes monster to-hit bonus from player
2023-08-22 13:11:21 +01:00
Llywelwyn
f55f4504db
beatitude identification
2023-08-22 11:55:09 +01:00
Llywelwyn
e76a03633b
remove curse - with full BUC impl
2023-08-22 10:50:44 +01:00
Llywelwyn
5a42ee283d
scroll of remove curse - NYI
2023-08-22 08:56:06 +01:00
Llywelwyn
366c5d6543
fancy particle effects
2023-08-21 22:43:19 +01:00
Llywelwyn
5f23822f62
runs effects queue immediately before/after player turn
...
precaution against the effects queue unordering itself, etc.
2023-08-21 21:02:50 +01:00
Llywelwyn
f325d39f4c
particle effect on items/traps
2023-08-21 20:20:46 +01:00
Llywelwyn
d0416b2563
beatitudes
2023-08-21 13:08:12 +01:00
Llywelwyn
831720ce37
refactors beatitude, and prepping readme for week 7
2023-08-21 12:50:30 +01:00
Llywelwyn
33ce208252
race -> ancestries, adds ancestry stat maximums
2023-08-21 11:21:19 +01:00
Llywelwyn
3050219494
ancestries
2023-08-21 09:57:47 +01:00
Llywelwyn
40f9d117f3
initial: character creation
2023-08-21 00:16:30 +01:00
Llywelwyn
66f5a8d826
refactors wands/items with charges
2023-08-17 09:49:58 +01:00
Llywelwyn
51f8ee66e6
removes deprecated SufferDamage component
2023-08-17 05:48:30 +01:00
Llywelwyn
945242bc42
deletes deprecated damage system
2023-08-17 05:42:19 +01:00
Llywelwyn
ff1afed92c
cleanup and bugfixes, standardising log colours
2023-08-17 04:44:40 +01:00
Llywelwyn
911873127d
atomising item use: damage and healing, and refactors
2023-08-17 03:12:42 +01:00
Llywelwyn
55202b241b
atomising item use: ItemEquipSystem{} and remove system tweak
2023-08-17 00:29:48 +01:00
Llywelwyn
63fc4a0728
missing import
2023-08-16 15:12:42 +01:00
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