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
on player clicks m@CHEST:
- - narrate "<context.items>"
+ - narrate "<context.item>"