Date: 2014/09/21 13:24:37 UTC-07:00
Type: Denizen Script
CuboidChecker:
type: world
events:
on check command:
- note cu@<player.location.sub[0,1,-3]>|<player.location.add[133,100,-86]> as:cuboidchecker
- foreach <yaml[Dominion].list_keys[Kingdoms]> {
- if <cu@cuboidchecker.intersects[cu@%value%]>{
- narrate "Your in the %value% kingdom"
- note remove as:cuboidchecker
}
}
- determine fulfilled