Activities/Text dungeon: Difference between revisions
Tonyforster (talk | contribs) |
Tonyforster (talk | contribs) |
||
| Line 34: | Line 34: | ||
<nowiki><i, item, item ....></nowiki> your inventory | <nowiki><i, item, item ....></nowiki> your inventory | ||
<nowiki><u,room x, room y, item, room x, .....> | <nowiki><u,room x, room y, item, room x, .....></nowiki> location of items | ||
<nowiki><d,room x, room y, direction, locked, room x, .....></nowiki> 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 | ||
| Line 44: | Line 44: | ||
For example, the Sampledungeon represented above is described by these strings (the comments # are not required) | For example, the Sampledungeon represented above is described by these strings (the comments # are not required) | ||
<nowiki><u,0,0,lamp,0,1,key,1,1,sword,1,0,princess></nowiki> #key in room 0,1 , sword in room 1,1 ,princess room 1,0 | |||
<nowiki><d,0,0,0,0, 0,1,2,0, 0,1,1,1, 1,1,2,1, 1,1,3,0, 1,0,0,0></nowiki> #room 0,0 north door open, room 0,1 south open, room 0,1 east door locked etc | |||
===Editing example=== | ===Editing example=== | ||