a_nani_household

% This file contains the definitions for the room in a household % To create a new world, simply change the room definitions as % described below (or in manual) %

use this file with...

:- ensure_loaded('a_nani_household.pfc').

*/

   13:- style_check(-singleton).   14:- style_check(-discontiguous).   15% :- style_check(-atom).
   16
   17:- op(600,fx,onSpawn).   18
   19:- file_begin(pfc).   20
   21% ==================================================
   22% Rooms
   23% ==================================================
   24
   25/* technically the following are not needed due the mudAreaConnected/2s below */
   26onSpawn tRegion(tKitchen).
   27onSpawn tRegion(tHallWay).
   28onSpawn tRegion(tCellar).
   29onSpawn pathDirLeadsTo(tKitchen,vDown,tCellar).
   30onSpawn tRegion(tOfficeRoom).
   31onSpawn tRegion(tLivingRoom).
   32onSpawn tRegion(tDiningRoom).
   33onSpawn tRegion(tBedRoom).
   34onSpawn tRegion(tBathRoom).
   35onSpawn tRegion(tClosetRoom).
   36onSpawn tRegion(tBackYard).
   37
   38
   39% ==================================================
   40% Doors
   41% ==================================================
   42 
   43onSpawn mudAreaConnected(tLivingRoom,tOfficeRoom).
   44onSpawn mudAreaConnected(tHallWay,tDiningRoom).
   45onSpawn mudAreaConnected(tHallWay,tBedRoom).
   46onSpawn mudAreaConnected(tHallWay,tLivingRoom).
   47onSpawn mudAreaConnected(tHallWay,tBathRoom).
   48onSpawn mudAreaConnected(tKitchen, tCellar).
   49onSpawn mudAreaConnected(tDiningRoom, tKitchen).
   50onSpawn mudAreaConnected(tBedRoom, tClosetRoom).
   51onSpawn mudAreaConnected(tKitchen, tBackYard).
   52onSpawn mudAreaConnected(iArea1008, tBackYard)