Date: 2017/08/15 06:57:11 UTC-07:00
Type: Denizen Script
bunny:
type: assignment
interact scripts:
- hiddenbunny
actions:
on assignment:
- flag global "bunnies:->:<npc>"
gohide:
- flag npc found:!
hiddenbunny:
type: interact
steps:
1:
click trigger:
script:
- if <npc.has_flag[found].not> {
- narrate "<purple> You found a bunny!"
- flag global "bunnysaves:++"
- flag player "bunnysaves:++"
- flag npc found:true
- teleport npc <global.flag[bunnysavespots].get[<global.flag[bunnysaves]>]>
} else {
- narrate "This bunny has been returned to Crumpet."
}