Advertisement
Guest User

Untitled

a guest
Oct 8th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Haxe 0.48 KB | None | 0 0
  1. function buildMainRooms() {
  2.         Struct.createSpecificRoom("BasicEntrance_R").setName("start")
  3.         //.chain(Struct.createSpecificRoom("Teleport_LR1").setName("Teleport0"))
  4.         .chain(Struct.createExit("PrisonStart").setName("PrisonStart"));
  5. }
  6.  
  7. //uncomment and keep empty to have no teleport at all
  8. function AddTeleports() {
  9.     // pass
  10. }
  11.  
  12. function Finalize() {
  13.     for(room in Struct.allRooms) {
  14.         room.setContraint(LinkConstraint.HorizontalSameDirOnly);
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement