- 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


Title123
TypeDenizen Script
Date2015/11/08 07:15:56 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
4900
"Barkeeper":
    type: assignment
    actions:
        on assignment:
        - trigger name:click state:true
        - trigger name:proximity state:true
        - trigger name:chat state:true
        on click:
        on enter proximity:
        - animate <npc> arm_swing
        - random 3
        - narrate "Welcome <player.name> to the best place to drink a beer in town!"
        - narrate "Barkeeper invites you to drink a beer <player.name>"
        - narrate "The Solaris bar is always open 24/7, come in and drink yourself up!"
        
    Interact Scripts:
    - 10 barkeepertalk    
    
barkeepertalk:
    type: Interact
    Steps:
        1:
            click trigger:  
                script:            
                - narrate "Hello sir, welcome to our humble bar!"
                - wait 3
                - narrate "So you want to drink ? Are you sure you can take it ?"
                - narrate <blue>/1/<reset>- Yes, i can take any drink you thrown at me!!"
                - narrate <red>2<reset>- No. I'm tired from my trip just want a glass so i can go sleep to the inn! "
                - zap 2        
        2:  
            chat trigger: 
                1:
                    trigger: /1/- Yes, i can take any drink you thrown at me!!"             
                    script:
                    - narrate "Bar keeper gives you the hottest drink he have! You asked for it!"
                    - zap 3 
                2:   
                    trigger: /2/- No. I'm tired from my trip just want a glass so i can go sleep to the inn! "    
                    script:
                    - animate hurt
                    - narrate "Okay have it your way!"
                    

jola:
    script:
        - give item 373 1 8234 {display{Name"Potion of Goodness"}} <player>
                



RawRaw



Pastes made: 59170