- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


Titleflowers
TypeDenizen Script
Date2014/01/01 14:46:48 UTC-08:00
ByGuest
Other
Paste
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
6600
GatherFlowers:
    type: assignment
    interact scripts:
    - 10 flowers

flowers:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - chat "Hello <player.name>, I need some help!"
                - wait 1
                - chat "I love flowers!  I love them so much! I need more!"    
                - wait 1
                - chat "Will you help me find some?"
            chat trigger:
                1:
                    trigger: /Yes/, I will help you!
                    script:
                    - chat "Yay! That's wonderful!"
                    - wait 1
                    - chat "Can you find me 20 Poppy's and 20 Dandelion's?"
                    - wait 1
                    - chat "When you find them bring them back to me for a reward!"
                    - zap step:2
                2:
                    trigger: /No/, Flowers are stupid.
                    script:
                    - chat "Oh poo, well come back later if you change your mind..."
                    - wait 1
                    - narrate "<npc.name> tears up..."
        2:
            click trigger:
                script:
                  - if <player.inventory.contains[yellow_flower].qty[20]> || <player.inventory.contains[red_flower].qty[20]> {
                    - take yellow_flower qty:20
                    - take red_flower qty:20
                    - chat "Oh thank you so much for the flowers!"
                    - wait 1
                    - chat "I'm so happy now!"
                    - wait 1
                    - chat "Here, I have something special for you..."
                    - narrate "<npc.name> hands you something..."
                    - give 'i@Epidemic Shovel'
                    - zap step:3
                    } else {
                    - chat "Oh, come back when you have my flowers!"
                    - wait 1
                    - narrate "<npc.name> frowns at you."
                    }
        3:
            click trigger:
                script:
                - chat "Thanks again for your help <player.name>."
"Epidemic Shovel":
   type: item
   material: diamond_spade
   display name"Epidemic Shovel"
   lore:
   - Some crazy flower lady gave me this shovel.
   - It's ok though becuase it's awesome!
   enchantments:
   - durability:4
   - DIG_SPEED:3
   - WATER_WORKER:1


RawRaw



Pastes made: 57250