feat(dungeon): decode actuators and creatures in lossless JSON schema 3 #400
No reviewers
Labels
No labels
area/ci-release
area/cli
area/docs
area/dungeon
area/ftl
area/graphics
area/gui
area/music
area/saves
area/tooling
port/amiga
port/dos
port/fm-towns
port/mac
port/pc98
port/sega-cd
priority/high
priority/low
priority/medium
type/bug
type/chore
type/docs
type/feature
type/research
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jqueuniet/dm2-tools!400
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/390-schema3-actuators"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Third step of the #390 schema 3 work: actuators and creatures.
Actuators
actuator_type,data,action_type,delay,ornate_indexand flags.datastays a number; its meaning depends on type and placement.targettagged byform:shot(energy,energy_decay): wall actuators of the types the wall dispatcher hands toACTIVATE_SHOOTER(0x07–0x0a, 0x0e, 0x0f). Placement comes from the tile chains, since floor 0x07/0x08 are traps.locator(x,y,direction): every other actuator, including those on no tile.Creatures
trigger_locbecomestrigger(x,y,map). For static creatures it is an animation parameter.dir_flagssplits intodirection,importantandkeeps_possession_positions.Every word value round-trips for both actuator forms and for creatures, and every fixture round-trips byte-exact. In DOS-EN, 35 actuators take
shotand 985locator.Refs #390
https://claude.ai/code/session_01WCNjYNkYSAapvFewz9wfkw