Paste #54315: Untitled Paste

Date: 2019/05/25 23:12:23 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
14
15
16
17
18
19
20
21


2:
            click trigger:
                script:
                    - if <player.inventory.contains[i@denar].quantity[15]>:
                        - take i@denar qty:15
                        - zap 3
                    - if <player.inventory.contains[cooked_salmon].quantity[5]>:
                        - take cooked_salmon qty:5
                        - zap 3
                    - if <player.inventory.contains[cooked_cod].quantity[5]>:
                        - take cooked_cod qty:5
                        - zap 3
        3:
                    #what should i put here to start talking without any clicks. P.S: i tried with proximity trigger (only entry branch)
                    - narrate "<&a>Minerul Sef<&f>: Multumesc! Poftim fierul si carbunele tau!"
                    - wait 2
                    - give iron_ore qty:10
                    - wait 2
                    - give coal qty:4
                    - wait 2
                    - narrate "<&a>Minerul Sef<&f>: Ne mai vedem si cu alta ocazie! Sa ai o zi buna!"