Paste #72892: beatrice

Date: 2020/07/23 22:16:50 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


beatriceradius:
  type: assignment
  actions:
    on assignment:
    - trigger name:proximity state:true radius:4
  interact scripts:
  - beequest

gunthershop:
  type: interact
  steps:
    1:
      proximity trigger:
        entry:
          script:
          - narrate format:tannerformat "So then what happened next?"
          - narrate format:beaformat "Well then Jain said to me..."
          - narrate format:notifmat "The two are deep in conversation."
          - if <playertag.flag[tignumtimer]> = 0
          - flag player tignumtimer:++
          - narrate <world.flag[tignumtimer]>

beaformat:
  type: format
  format: "<&6>[<&f>[<&4>NPC<&f>] <&c>Beatrice <&6>-> <&c>me<&6>]<&r> <text>"

tannerformat:
  type: format
  format: "<&6>[<&f>[<&4>NPC<&f>] <&c>Tanner <&6>-> <&c>me<&6>]<&r> <text>"

notifmat:
  type: format
  format: "<&7><text>"

tignumtimer:
  type: world
  events:
    on tick:
    - wait 1m
    - flag player tignumtimer:0
    - narrate <player.flag[tignumtimer]>