Paste #13619: test

Date: 2015/02/05 08:42:22 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


cookass:
    type: assignment
    actions:
        on assignment:
        - trigger name:click state:true
        - trigger name:chat state:true
    interact scripts:
    - 10 cook
cook:
    type: interact
    steps:
         1:
             click trigger:
                 script:
                     - if '<player.has_flag[CTF1]>' {
                       - chat "<gold>Would you like to hear our menu <red><player.name>, <gold>if so just say <red>Menu"
                       } else {
                          - random 3
                          - chat "<red>Dont you have citizens around the realm you could be helping"
                          - chat "<red>You have not won the Emporors Favor yet!"
                          - chat "<red>You may want to talk to the Chef"
                         }
             chat Trigger:
                 1:
                     Trigger: "/abc/"
                     Script:
                     - chat "<gold><player.name> Our Menu is as follows tell me wich one you want!"
                     - chat "<gold>FortuneCookie or Cookie"
                     - chat "<gold>EggFooYoung or Egg"
                     - chat "<gold>SchezuanBeef or Beef"
                     - chat "<gold>PorkLoMein or Pork"
                     - chat "<gold>GeneralTsosChicken or Chicken"
             chat Trigger:
                 2:
                     Trigger: "/cookie/"
                     Script:
                     - chat "<gold><player.name> Our Menu is as follows tell me wich one you want!"
                     - chat "<gold>FortuneCookie or Cookie"
                     - chat "<gold>EggFooYoung or Egg"
                     - chat "<gold>SchezuanBeef or Beef"
                     - chat "<gold>PorkLoMein or Pork"
                     - chat "<gold>GeneralTsosChicken or Chicken"
FortuneCookie:
    type: item
    material: i@cookie
    display name: <red>Fortune Cookie
    lore:
    - <green>'Fortune: says May Be Sweet
    - <green>or maybe SOUR!'
    recipe:
    - i@item|i@item|i@item
    - i@item|i@item|i@item
    - i@cookie|i@mycel|i@paper