Activities/Text dungeon: Difference between revisions

Tonyforster (talk | contribs)
Tonyforster (talk | contribs)
Line 30: Line 30:
===Dungeon file format===
===Dungeon file format===


<nowiki><l,room x,room y> your location
<nowiki><l,room x,room y></nowiki> your location


<i, item, item ....> your inventory </nowiki>
<nowiki><i, item, item ....></nowiki> your inventory


[u,room x, room y, item, room x, .....] location of items
<nowiki><u,room x, room y, item, room x, .....>]</nowiki> location of items


[d,room x, room y, direction, locked, room x, .....] status of wall/door segments, unlisted segments are locked, doors can be asymmetric
<nowiki><d,room x, room y, direction, locked, room x, .....></nowiki> status of wall/door segments, unlisted segments are locked, doors can be asymmetric


[r,room x,room y,direction,item which unlocks,open text,closed text,text when opening] one entry for each unlockable door
<nowiki><r,room x,room y,direction,item which unlocks,open text,closed text,text when opening></nowiki> one entry for each unlockable door


[[File:Sampledungonmap.jpg]]
[[File:Sampledungonmap.jpg]]