diff options
| author | Franklin Wei <git@fwei.tk> | 2015-12-24 19:18:45 -0500 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2015-12-24 19:18:45 -0500 |
| commit | 53c15b0461ee39a4c32e61ff484389efb1e91d84 (patch) | |
| tree | c26e64930e1d73960eebc26b02d9d2185d2e1aef /worlds | |
| parent | 28f94a54984fa7aa46fcb25e7991c1136329670f (diff) | |
| download | netcosm-53c15b0461ee39a4c32e61ff484389efb1e91d84.zip netcosm-53c15b0461ee39a4c32e61ff484389efb1e91d84.tar.gz netcosm-53c15b0461ee39a4c32e61ff484389efb1e91d84.tar.bz2 netcosm-53c15b0461ee39a4c32e61ff484389efb1e91d84.tar.xz | |
stuff
Diffstat (limited to 'worlds')
| -rw-r--r-- | worlds/test.c | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/worlds/test.c b/worlds/test.c new file mode 100644 index 0000000..ee39bd5 --- /dev/null +++ b/worlds/test.c @@ -0,0 +1,39 @@ +#include "netcosm.h" + +const struct roomdata_t netcosm_world[] = { + { + "starting_room", + "Starting Room", + "You are in the starting room.\nThere are exits to the west and the east.", + { NONE_N, NONE_NE, "east_room", NONE_SE, NONE_S, NONE_SW, "west_room", NONE_NW, NONE_UP, NONE_DN }, + NULL, + NULL, + NULL, + NULL + }, + + { + "west_room", + "West Room", + "You are in the west room.\nThere is an exit to the east.", + { NONE_N, NONE_NE, "starting_room", NONE_SE, NONE_S, NONE_SW, NONE_W, NONE_NW, NONE_UP, NONE_DN }, + NULL, + NULL, + NULL, + NULL + }, + + { + "east_room", + "East Room", + "You are in the east room.\nThere is an exit to the west.", + { NONE_N, NONE_NE, NONE_E, NONE_SE, NONE_S, NONE_SW, "starting_room", NONE_NW, NONE_UP, NONE_DN }, + NULL, + NULL, + NULL, + NULL, + }, + +}; + +const size_t netcosm_world_sz = ARRAYLEN(netcosm_world); |