ForestBed.ts 1.7 KB

12345678910111213141516171819202122232425262728293031
  1. /// <reference path="../Forest.ts" />
  2. module Forest{
  3. export let ForestBed = new RoomRandom("Forest Bed", false, true);
  4. ForestBed.description = new Say(
  5. "A circle made of dead leaves rests in the middle of a forest dense with trees. ",
  6. "The ground surrounding the circle is littered with sticks, stones and other leaves, but the circle is made exclusively out of dead leaves, placed in such a way that it could serve as a makeshift bed. ",
  7. "This \"bed\" was where you first woke up, with no exact memory of how you got here. ",
  8. "You can barely make out the Obelisk through the trees - it's a long ways north, but the sleek, black tower can still be seen from this far. "
  9. );
  10. ForestBed.place(new RestingStuff("Leafbed", new Say("A bunch of dead leaves spread in a circle. There's quite a lot of them here, this could be used as a bed.")));
  11. ForestBed.connectableOn = [Direction.NORTH];
  12. ForestBed.backgroundImage = "roomForestBed";
  13. ForestBed.place(new Thing({name: "Rock"}));
  14. ForestBed.place(new Thing({name: "Rock"}));
  15. ForestBed.place(new Thing({name: "Rock"}));
  16. ForestBed.place(new Thing({name: "Rock"}));
  17. ForestBed.place(new Thing({name: "Rock"}));
  18. ForestBed.place(new Thing({name: "Rock"}));
  19. ForestBed.place(new Thing({name: "Rock"}));
  20. ForestBed.place(new Thing({name: "Rock"}));
  21. ForestBed.place(new Thing({name: "Rock"}));
  22. ForestBed.place(new Thing({name: "Rock"}));
  23. }
  24. let mapOfTest = new MapNote({name: "Map of the Forest",
  25. description : "This is a simple map showing all the rooms here.", unique : true});
  26. mapOfTest.addRegion(Forest.region);
  27. WorldState.player.setCarried(mapOfTest);
  28. PlayBegins.setStartingRoom(Forest.ForestBed);
  29. Forest.region.place(Forest.ForestBed);