diff options
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); |