Date: 2020/04/20 02:02:57 UTC-07:00
Type: Denizen Script
hans_interact:
type: interact
steps:
1:
chat trigger:
1:
trigger: "Hi, I've lost my Slayer /Gem/ may I have another?"
script:
- wait 2s
- if <player.has_flag[gemcooldown]> {
- narrate "<red>Hans<white>: I just gave out the last one, come back to me later when I have more."
- stop
}
- narrate "<red>Hans<white>: Sure, here you go."
- give player i@slayer_gem
- flag player gemcooldown
- run gemcooldown
- stop
chat trigger:
1:
trigger: "Could I have a /new/ assingment?"
script:
- wait 2s
- if <player.has_flag[hasAssignment]> {
- "<red>Hans<white>: It appears you already have a task."
- stop
}
- narrate "<red>Hans<white>: Yes you may."
- run assigntask
- stop