reset(int started)1void reset(int started) 2 { 3 if (!started) 4 set_light(1); 5 } 6 init()7void init() 8 { 9 add_action("north", "north"); 10 add_action("south", "south"); 11 add_action("east", "east"); 12 add_action("west", "west"); 13 } 14 15 string short() 16 { 17 return "A dimly lit forest"; 18 } 19 20 void long() 21 { 22 write("You are in part of a dimly lit forest.\n" + 23 "Trails lead north, south, east and west\n"); 24 } 25 north()26int north() 27 { 28 this_player()->move_player("north#room/south/sforst26"); 29 return 1; 30 } 31 south()32int south() 33 { 34 this_player()->move_player("south#room/south/sshore20"); 35 return 1; 36 } 37 east()38int east() 39 { 40 this_player()->move_player("east#room/south/sshore21"); 41 return 1; 42 } 43 west()44int west() 45 { 46 this_player()->move_player("west#room/south/sforst29"); 47 return 1; 48 } 49