Commit graph

83 commits

Author SHA1 Message Date
Llywelwyn
44b0674b5a the oryx-ening - zoom factor, and renderables refactor
currently extremely unfinished - half the sprites are gnomes, and tiles have no colours
2023-10-06 09:22:11 +01:00
Llywelwyn
bb775761de Merge branch 'master' into notan
keeping things up to date. lets not have any annoying conflicts to fix later.
2023-10-05 04:30:23 +01:00
Llywelwyn
9c1298df6b itemtypes, and filtering items by itemtype/buc/etc. 2023-10-05 03:54:31 +01:00
Llywelwyn
f3af75bf44 ensure key assignments are handled for consumed/deleted items 2023-10-05 01:05:00 +01:00
Llywelwyn
d11971126c static keys - items in inventory will save their assigned key
precursor to cleaning up/modularising inventory display, instead of needing to iterate through every item held to find unique copies, we can just check if the button pressed corresponds to any entity's Key {} index
2023-10-05 00:52:34 +01:00
Llywelwyn
fa4612cf1f changed get_noncursed() to helper on BUC struct 2023-10-02 23:02:34 +01:00
Llywelwyn
4d21bd46d4 add_intr!() macro for adding intrinsics to the Player
If needed, player can just be replaced by another arg to the macro so this works on every other entity - but right now the player is the only thing to gain/lose intrinsics.
2023-10-02 22:14:00 +01:00
Llywelwyn
b5743819ec .describe() for Intrinsics, for use in tooltips later 2023-10-02 21:11:12 +01:00
Llywelwyn
c757466df1 attribute exercising 2023-09-27 22:12:53 +01:00
Llywelwyn
4d614daad5 better attributes 2023-09-27 19:21:22 +01:00
Llywelwyn
1e5f565824 exercising/abusing attributes 2023-09-27 18:08:40 +01:00
Llywelwyn
0d230c7721 sanity check to ensure .swap() isn't being called for no reason 2023-09-26 22:11:48 +01:00
Llywelwyn
ae9f6b6ac6 proper alt sprite and render order swaps 2023-09-26 22:08:05 +01:00
Llywelwyn
06d5674199 trapdoors 2023-09-26 21:09:47 +01:00
Llywelwyn
bd450e806b improved sprites - spriteinfo and methods 2023-09-26 20:40:17 +01:00
Llywelwyn
d6ba6c628c sprites for entities, with text glyph fallback 2023-09-26 17:23:25 +01:00
Llywelwyn
e258767405 finalised gamelog 2023-09-25 20:38:52 +01:00
Llywelwyn
d58614b106 optional sprites for entities 2023-09-23 19:01:39 +01:00
Llywelwyn
b6abfbce4a damage types: phys, magic, fire, cold, poison 2023-09-21 22:46:14 +01:00
Llywelwyn
921fee2ecc intrinsic speed + regeneration 2023-09-21 05:06:52 +01:00
Llywelwyn
654aea9a32 damage mod multiplier unit tests 2023-09-21 01:08:01 +01:00
Llywelwyn
8a44c94272 adds damage types and mods (weak/resist/immune), for all damage events 2023-09-21 00:52:54 +01:00
Llywelwyn
85efe13dc5 made the switch to using bracket-lib directly, instead of rltk wrapper
this should solve the build issues; it makes using the non-crashing github build a lot easier, because it lets the explicit rltk dependency be removed.
2023-09-05 02:23:31 +01:00
Llywelwyn
64caf0dc1a less blocking - targets will try to path to any space around their tar 2023-08-30 09:15:45 +01:00
Llywelwyn
738484436b significant events in morgue file, better event logging 2023-08-25 22:43:50 +01:00
Llywelwyn
14a6e46669 morgue files 2023-08-25 03:24:20 +01:00
Llywelwyn
02a4f33d11 more framework for spells 2023-08-23 18:17:04 +01:00
Llywelwyn
c2c7e0bd52 sorry - swapping from rustfmt to prettier-rust 2023-08-23 01:22:09 +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
5a42ee283d scroll of remove curse - NYI 2023-08-22 08:56:06 +01:00
Llywelwyn
d277384cc5 animation framework stuff 2023-08-21 23:12:49 +01:00
Llywelwyn
366c5d6543 fancy particle effects 2023-08-21 22:43:19 +01:00
Llywelwyn
f325d39f4c particle effect on items/traps 2023-08-21 20:20:46 +01:00
Llywelwyn
831720ce37 refactors beatitude, and prepping readme for week 7 2023-08-21 12:50:30 +01:00
Llywelwyn
3050219494 ancestries 2023-08-21 09:57:47 +01:00
Llywelwyn
454a8c7028 refactors hunger system
still works the same way, just cleaner
2023-08-20 17:27:11 +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
2887bb9736 prevents energy from ticking up whilst AI is culled 2023-08-15 21:18:28 +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
bb8cf69b86 WantsToApproach, WantsToFlee (functionality NYI) 2023-08-15 17:31:18 +01:00
Llywelwyn
76d835021b faction table, applying factions to mobs, and querying reactions 2023-08-15 15:56:00 +01:00
Llywelwyn
e8084b8975 InflictsDamage and ProvidesHealing now use dice rolls 2023-08-14 06:57:27 +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