Paste #35038: Y u no work

Date: 2016/07/26 22:38:15 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13


TestScript:
    type: assignment
    actions:
        on assignment:
        - trigger name:click state:true
        on click:
        - choose <player.flag[test_progress]||0>:
          - case 0:
            - narrate "<gold>Test1<&co> Hello i am a test npc! Can you get me a pumpkin?"
            - flag test_progress:1
          - case 1:    
            - if <player.inventory.contains[i@pumpkin]> {
            - take <i@pumpkin>