Interactive Props - dredmor-com/dungeons-of-dredmor GitHub Wiki
WARNING: PAGE INCOMPLETE!
HERE'S SOME CODE, THOUGH.
<room width="16" height="9" name="Dungeon Cells" >
<row text="################" />
<row text="################" />
<row text="#..#..#..#..#..#" />
<row text="#..#..#..#..#..#" />
<row text="#..............#" />
<row text="d..............d" />
<row text="#..............#" />
<row text="##D###D##D###D##" />
<row text="##D###D##D###D##" />
<flags minLevel="0" maxLevel="0" noblockers="1"/>
<customblocker name="Prison Bars" x="1" y="3" png="sprites/bars_w_end_0.png" description="Rusty and dented, these prison bars appear at least moderately effective." can_push="0" />
<customblocker name="Prison Bars" x="2" y="3" png="sprites/bars_e_end_0.png" description="Rusty and dented, these prison bars appear at least moderately effective." id="cell1door" can_push="0" />
<customblocker name="Prison Bars" x="4" y="3" png="sprites/bars_w_end_0.png" description="Rusty and dented, these prison bars appear at least moderately effective." can_push="0" />
<customblocker name="Prison Bars" x="5" y="3" png="sprites/bars_e_end_0.png" description="Rusty and dented, these prison bars appear at least moderately effective." id="cell2door" can_push="0" />
<customblocker name="Prison Bars" x="7" y="3" png="sprites/bars_w_end_0.png" description="Rusty and dented, these prison bars appear at least moderately effective." can_push="0" />
<customblocker name="Prison Bars" x="8" y="3" png="sprites/bars_e_end_0.png" description="Rusty and dented, these prison bars appear at least moderately effective." id="cell3door" can_push="0" />
<customblocker name="Prison Bars" x="10" y="3" png="sprites/bars_w_end_0.png" description="Unlike the others, these bars look like they've been jammed open." can_push="0" />
<customblocker name="Prison Bars" x="10" y="3" png="sprites/bars_e_end_0.png" description="Unlike the others, these bars look like they've been jammed open." id="cell4door" can_push="0" />
<customblocker name="Prison Bars" x="13" y="3" png="sprites/bars_w_end_0.png" description="Rusty and dented, these prison bars appear at least moderately effective." can_push="0" />
<customblocker name="Prison Bars" x="14" y="3" png="sprites/bars_e_end_0.png" description="Rusty and dented, these prison bars appear at least moderately effective." id="cell5door" can_push="0" />
<customblocker name="Scrawl" x="2" y="1" png="dungeon/scrawl0.png" description="A day count, up to 514." can_push="0" />
<customblocker name="Scrawl" x="5" y="1" png="dungeon/scrawl0.png" description="A poorly played game of tic-tac-toe." can_push="0" />
<customblocker name="Scrawl" x="10" y="1" png="dungeon/scrawl0.png" description="The entire script for a sci-fi series entitled Farstation 9." can_push="0" />
<customblocker name="Scrawl" x="11" y="1" png="dungeon/scrawl0.png" description="The entire script for a sci-fi series entitled Farstation 9." can_push="0" />
<element x="1" y="4" type="lever" id="cell1lever" can_push="0" />
<element x="4" y="4" type="lever" id="cell2lever" can_push="0" />
<element x="7" y="4" type="lever" id="cell3lever" can_push="0" />
<element x="10" y="4" type="lever" id="cell4lever" can_push="0" />
<element x="13" y="4" type="lever" id="cell5lever" can_push="0" />
<customengraving name="Bones" x="1" y="2" png="dungeon/bones0.png" description="LOOKIT DEM BONES" can_push="0" />
<customengraving name="Bones" x="4" y="2" png="dungeon/bone_pile_ne0.png" description="LOOKIT DEM BONES" can_push="0" />
<customengraving name="Bones" x="5" y="2" png="dungeon/bone_pile_nw0.png" description="LOOKIT DEM BONES" can_push="0" />
<customengraving name="Bones" x="7" y="2" png="dungeon/bones2.png" description="LOOKIT DEM BONES" can_push="0" />
<customengraving name="Bones" x="13" y="2" png="dungeon/bones1.png" description="LOOKIT DEM BONES" can_push="0" />
<customengraving name="Blood Splatter" x="11" y="2" png="dungeon/mess_blood01.png" description="LOOKIT DAT BLOOD" can_push="0" />
<monster x="2" y="2" />
<monster x="5" y="2" />
<monster x="8" y="2" />
<monster x="14" y="2" />
<loot type="armour" subtype="Little Black Book" x="10" y="2" />
<!-- REPLACE WITH A SCRIPT TOME? -->
<script repeat="-1">
<condition condition_type="activated" activated="1" id="cell1lever"/>
<action on="success" action_type="move" id="cell1door" x="1" y="3" />
</script>
<script repeat="-1">
<condition condition_type="activated" activated="0" id="cell1lever"/>
<action on="success" action_type="move" id="cell1door" x="2" y="3" />
</script>
<script repeat="-1">
<condition condition_type="activated" activated="1" id="cell2lever"/>
<action on="success" action_type="move" id="cell2door" x="4" y="3" />
</script>
<script repeat="-1">
<condition condition_type="activated" activated="0" id="cell2lever"/>
<action on="success" action_type="move" id="cell2door" x="5" y="3" />
</script>
<script repeat="-1">
<condition condition_type="activated" activated="1" id="cell3lever"/>
<action on="success" action_type="move" id="cell3door" x="7" y="3" />
</script>
<script repeat="-1">
<condition condition_type="activated" activated="0" id="cell3lever"/>
<action on="success" action_type="move" id="cell3door" x="8" y="3" />
</script>
<script repeat="-1">
<condition condition_type="activated" activated="1" id="cell5lever"/>
<action on="success" action_type="move" id="cell5door" x="13" y="3" />
</script>
<script repeat="-1">
<condition condition_type="activated" activated="0" id="cell5lever"/>
<action on="success" action_type="move" id="cell5door" x="14" y="3" />
</script>
</room>