- 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


TitleUntitled Paste
TypeDenizen Script
Date2019/08/22 03:13:43 UTC-07: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
67
68
69
70
71
72
73
7300
savannah: 
    type: assignment 
    actions: 
        on assigment: 
        - trigger name:click state:true 
        - trigger name:chat state:true 
    interact scripts: 
        - 10 savannah_interact
            
savannah_interact:
    type: interact
    steps:
        1:
            click trigger: 
                script:
                - if <player.has_flag[savannah_quest_cooldown]> {
                    - chat "My gentle friend, you have helped me so much! I won't need new ingredients for another <player.flag[scute_quest_cooldown].expiration.formatted>." targets:<player>
                    - disengage
                    - stop
                    }
                - if <player.inventory.contains[i@gunpowder].quantity[5]> && <player.has_flag[savannah_quest]> {
                    - chat "My friend, I thank you. Please, take this humble reward."                    
                    - flag <player> scute_quest:!
                    - take gunpowder quantity:5
                    - execute as_op "points give <player.name> 2"
                    - money give quantity:100
                    - narrate "You have received a reward"
                    - flag <player> savannah_quest_cooldown duration:48h
                    - disengage
                    - stop
                    }
                - if <player.inventory.contains[i@redstone].quantity[16]> && <player.has_flag[savannah_quest]> {
                    - chat "Thank you! I still need more items to finish my potions though!"                      
                    - flag <player> scute_quest:!
                    - take gunpowder quantity:5
                    - money give quantity:50
                    - narrate "Collect 16 redstone dust for Savannah"
                    - flag <player> savannah_quest_cooldown duration:48h
                    - disengage
                    - stop
                    }
                - if <player.has_flag[s_quest]> {
                    - chat "Have you collected the ingredients yet?"
                    - queue clear
                    }
                - chat "Welcome to the Glade weary traveller."
                - wait 5t
                - chat "I make potions and special weapons for people."
                - wait 5t
                - chat "Can you help me by collecting items for my potions?[Yes] or [No]"
                - wait 5t 
            chat trigger:
                1:
                    trigger: /Yes/
                    script: 
                    - engage
                    - wait 10t
                    - chat "Awesome dude! I need you to collect me 5 scutes, they make like the best drinks cups"
                    - wait 5t
                    - narrate "[Collect 5 scutes for Skye's bar]"
                    - flag <player> scute_quest:1
                    - disengage
                2:
                    trigger: /No/
                    script: 
                    - engage
                    - random {
                      - chat "Not cool bro"
                      - chat "Aww, that sucks!"
                      - chat "Ok then, cya."
                      }
                    - disengage



RawRaw



Pastes made: 76991