OutOfPlay.ts 392 B

123456789
  1. /// <reference path="Classes/Room.ts" />
  2. module OutOfPlay {
  3. /** The reason we have this is so that NPCs actually SAVE when they're dead. Things that are simply outside of rooms do not have their position stored, since they have no position. **/
  4. export let Heaven = new Room("__Heaven__RIP__");
  5. export function removeFromPlay (thing : Thing) {
  6. Heaven.place(thing);
  7. }
  8. }