Date: 2018/10/17 02:56:00 UTC-07:00
Type: Denizen Script
buttons:
type: world
events:
on player right clicks stone_button:
- if <context.location.simple> == 77,77,-20,event || <context.location.simple> == 71,76,-10,event || <context.location.simple> == 71,76,-10,event || <context.location.simple> == 82,77,-12,event || <context.location.simple> == 82,78,-20,event || <context.location.simple> == 68,77,-10,event || <context.location.simple> == 71,77,-16,event {
- hurt 3
}
- if <context.location.simple> == 73,77,-19,event && !<player.inventory.contains[i@halloween_bow]> {
- give i@halloween_bow
- give i@arrow
- narrate "It's dangerous to go alone, take this"
}
- if <context.location.simple> == 83,77,-16,event {
- teleport <player> l@-7,62,-4,event
- narrate "The clown laughs coldly...."
}
on player steps on block:
- if <context.location.simple> == 115,75,87,event || <context.location.simple> == 117,75,88,event || <context.location.simple> == 116,75,93,event || <context.location.simple> == 116,75,101,event {
- hurt 4 <player> }
Halloween_bow:
type: item
material: i@bow
display name: Halloween Bow
lore:
- Gained during the
- halloween quest
enchantments:
- arrow_fire:1
- ARROW_DAMAGE:2
- ARROW_INFINITE