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 } 13 14 string short() 15 { 16 return "A dimly lit forest"; 17 } 18 19 void long() 20 { 21 write("You are in part of a dimly lit forest.\n" + 22 "Trails lead north, south and east\n"); 23 } 24 north()25int north() 26 { 27 this_player()->move_player("north#room/south/sforst5"); 28 return 1; 29 } 30 south()31int south() 32 { 33 this_player()->move_player("south#room/south/sforst7"); 34 return 1; 35 } 36 east()37int east() 38 { 39 this_player()->move_player("east#room/south/sforst2"); 40 return 1; 41 } 42