! See notes at end of file ### START # ! a house area: Number 32 # loc: Entrance Hallway desc: A hallway with white walls and a shaggy carpet. There are some switches on the wall, and some mail on a table. exits: E=Hallway, N=Street/Outside Number 32 # loc: Hallway desc: A hallway with beautiful wooden parquet flooring. There are several pairs of shoes lined up along one wall. exits: N=Living Room,E= Bedroom, W = Entrance Hallway,S =Kitchen # loc: Bedroom ! This is a random comment, which is ignored desc: A neat and tidy bedroom with a large wooden bed which fills most of the room, and a cot in the corner. exits: W=Hallway # loc: Living Room desc: A large room with bookshelves, a flatscreen television and a brown sofa with a cat sleeping on it. There are children's toys scattered around the floor. exits: S=Hallway, E=Nursery # loc: Nursery desc: The room is filled with toys, bags of clothes and other various junk. In amongst the clutter you can see several unopened toy boxes. exits: W=Living Room # loc: Kitchen desc: A compact kitchen which looks well used. A door to the south opens onto the garden. exits: N=Hallway,S = Garden # loc: Garden desc: A patio surrounded by shrubs and trees. A high fence with a gate encloses the area. exits: N=Kitchen, S=Behind the garden # loc: Behind the garden desc: You are in a small area surrounded by fences and full of overgrown trees and weeds. There are several flower pots here, the flowers in them long dead. A passageway leads west, and there is a small shed to the south. exits: N= Garden, S=Garden shed, W=Garden passage # loc: Garden shed desc: The shed is so small you can hardly move. Everything is dirty and covered with cobwebs. exits: N=Behind the garden # loc: Garden passage desc: A narrow passageway leads between two fences exits: E=Behind the garden, W=Neighbour's patio # loc: Neighbour's patio desc: You are in your neighbours's garden. There is a low wall to the west, where you can see an apple tree in the next garden. To the north lies a passageway which leads back to the street. exits: N=Street/Outside Number 32, E=Garden passage, W=Apple tree # loc: Apple tree desc: You can see several apples on the tree. There is a faint whiff of cat poo in the air. exits: E=Neighbour's patio # area: Street # loc: Outside Number 32 desc: You are in a peaceful street in Poet's Corner. Cars are parked on both sides of the road. Some of the cars have bird poo on them. exits: SW=Number 32/Neighbour's patio, S=Number 32/Entrance Hallway, W=Middle of street # loc: Middle of street desc: You are halfway down a street. There is nothing much here. exits: W=T junction, E=Outside Number 32 # loc: T junction desc: There are many different shops here - BetFred, Sunny's paint shop, a newsagent's with today's newspapers displayed outside, a lighting shop and a taxi firm. exits: E=Middle of street ### END ! NOTES This is a custom data format (jogu data) for a text adventure game/interactive fiction, which is designed to be easily human writeable, the focus being on ease-of-use from a mobile device. It is processed by the associated RFO Basic file "load_jogu_data.bas", the game mechanics and main loop being in the file "jogu_adventure.bas". The idea is to change and add to the locations and descriptions below, in order to create your own world. Happy writing! ### Formatting rules: * any text before "### START" or after "### END" is ignored. * records are separated by a "#" character on its own line * there are two types of record: * area records, which are applied to all records following them until the next area record * location records * records consist of one or more lines of the format "key: value" * area records consist of a single "area" key, a colon (:) and the name of the area * location records consist of these keys, followed by a colon (:) and a value * loc: human readable name of location * desc: description of location * exits: special format described below * exit values are a comma separated list of exit names and location names joined by an equals sign (=). Example: exits: N=Old Woodshed, S=Back Porch * valid exit names are uppercase: N, E, S, W, NE, SE, SW, NW (representing compass points as is traditional) * valid location names are exact matches for "loc" values (case sensitive) * By default, location names are assumed to be within the same "area" to which they are joined. To define an exit as leading to a location in a different area, specify the area within the location name, separated by a forward slash. This slash character is defined in the file load_jogu_data.bas. Examples: exits: E=Quarry/Cliff, W=Town/Street * no line-breaks are allowed within each key-value line. * the first location record found in the data file will be the starting location.