Date: 2014/09/27 21:15:22 UTC-07:00
Type: Denizen Script
Location Available:
#A procedure to determine if a location is 'available'.
#To see if the location above it contains entities.
#Like for beds / chairs
type: procedure
definitions: location
script:
- define cuboid <def[location]>|<def[location].above>
- announce <def[cuboid].as_cuboid.list_entities.is_empty||Invalid_Cuboid>
- if <def[cuboid].list_entities.is_empty> determine true
- determine false