Skip to content

Latest Playable Demo + Cloak of Darkness

Choose a tag to compare

@ThunderSOS ThunderSOS released this 11 Oct 13:31
· 14 commits to main since this release

Various fixes and updates:

Fix - exit blocked was no longer being applied after the directional verb updates.
Fix - visible items should include those in an open container.

Update - RoomRenderer is re-checked after the sentence has been processed and if it has changed it is re-applied (so shutting away a torch in a cupboard causes an immediate re-render of the room if the room is ordinarily dark) - the engine knew this before but the description change wouldn't become apparent unless you did a LOOK.

Update - player has a defaultCombatItem now, a weapon to use if you type ATTACK <npc> without a noun identifying a weapon. Basically your fists or whatever.
Also in combat, Npcs define an onMissed state to go alongside the onAttack state for when an attack fails. So the retaliation can be different in each case.

Update - Internal gubbins. All getItem type methods have been consolidated and now live in their appropriate classes, e.g getItemInRoom type finders live in the Room class, inventory finders in the Inventory class, etc.