Date: 2015/10/13 14:46:51 UTC-07:00
Type: Denizen Script
welcome_emeralds:
Type: world
events:
on player right clicks emerald_ore:
# DEBUG: check to see that we ARE seeing the emeralds, and only them
- narrate "EMERALDS! At: <context.location>."
# Check that it is in the right location and world
- if <context.location.cuboids.contains[cu@60.0,60.0,40.0,Welcome|110.0,90.0,80.0,Welcome]> {
- narrate "You found emeralds!"
# Mark the player, so that they can only be gifted once.
- flag player welcome_freemeralds
}