Date: 2019/10/21 06:23:38 UTC-07:00
Type: Denizen Script
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
bob_le_bucheron:
type: assignment
actions:
on assignment:
- trigger name:click state:true
- trigger name:chat state:true
interact scripts:
- bob_le_bucheron_interact
bob_le_bucheron_interact:
type: interact
steps:
1:
click trigger:
script:
- if <player.has_flag[bucheron]>:
- chat "Tu es deja Bucheron !"
- stop
- chat "Salut la nouvelle recrue."
- wait 5t
- chat "Non? hey bien je pourrais vous utiliser quand même."
- wait 5t
- chat "pensez-vous que vous pourriez faire un bon bucheron ?"
- wait 5t
- chat "[<&o>Type <&b><&o>Oui<&f><&o> or <&b><&o>Non<&f>]"
chat trigger:
1:
trigger: "/Oui/ j'accepte d'etre bucheron"
script:
- if <player.has_flag[bucheron]>:
- stop
- flag player Bucheron
- chat "Okay parfait!"
- jobs join bucheron
- wait 5t
- chat "<&e>[Aller va couper du bois !]"
2:
trigger: "/Non/ je ne veux pas"
script:
- if <player.has_flag[bucheron]>:
- stop
- random:
- chat "Okay a une autre fois!"
- chat "Okay ouste !"
- chat "sauve-toi avant que ma hache ne te découpe!"