diff options
| author | Franklin Wei <git@fwei.tk> | 2016-04-03 12:15:44 -0400 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2016-04-03 12:15:44 -0400 |
| commit | 724f4ee59b0af7b64a3317af3c9ee5d3f45e9fc4 (patch) | |
| tree | 9e1f93726995bfd2d8e2e355f7ca3d0869be037f /worlds | |
| parent | 73c9244faee21a65e2143cc52dcbcf5cfe0648c6 (diff) | |
| download | netcosm-724f4ee59b0af7b64a3317af3c9ee5d3f45e9fc4.zip netcosm-724f4ee59b0af7b64a3317af3c9ee5d3f45e9fc4.tar.gz netcosm-724f4ee59b0af7b64a3317af3c9ee5d3f45e9fc4.tar.bz2 netcosm-724f4ee59b0af7b64a3317af3c9ee5d3f45e9fc4.tar.xz | |
various fixes
Diffstat (limited to 'worlds')
| -rw-r--r-- | worlds/test.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/worlds/test.c b/worlds/test.c index f662c1f..79b8429 100644 --- a/worlds/test.c +++ b/worlds/test.c @@ -126,6 +126,7 @@ static void mailroom_init(room_id id) /* insert IAC NOP to prevent the extra whitespace from being dropped */ new->userdata = strdup("All of the bins are empty. Looking closely you can see that there are names written at the bottom of each bin, but most of them are faded away so that you cannot read them. You can only make out three names:\n\377\361 Jeffrey Collier\n\377\361 Robert Toukmond\n\377\361 Thomas Stock\n"); room_obj_add(id, new); + room_obj_add_alias(id, new, "mail bins"); } static void computer_room_init(room_id id) @@ -140,6 +141,8 @@ static void computer_room_init(room_id id) /* flag for whether computer is active */ room_get(id)->userdata = malloc(sizeof(bool)); + bool *b = room_get(id)->userdata; + *b = false; } const struct roomdata_t netcosm_world[] = { @@ -589,8 +592,6 @@ const struct verb_class_t netcosm_verb_classes[] = { type_exec }, { "climb", climb_exec }, - */ - /* { "feed", feed_exec }, */ |