Date: 2015/06/18 13:55:16 UTC-07:00
Type: Denizen Script
TPassig:
type: assignment
actions:
on assignment:
- trigger name:chat state:true
interact scripts:
- 10 TPinteract
TPinteract:
type: interact
steps:
1:
on click:
- chat "Bonjour Sir, je peux vous faire déscendre l'ascenseur pour 3 Hillings"
- wait 1s
- chat "Alors? Vous montez oui ou non?"
chat trigger:
1:
trigger: /oui/
script:
- if <player.money> > 3 {
- take money qty:3
- narrate "<&6>Vous avez perdu 3 Hillings!"
- teleport <player> <l@155.379,107,-50,Spawn.with_pose[6.05,176]>
- narrate "<&6>Vous êtes bientot en haut Sir!"
- wait 3s
- teleport <player> <l@156.096,114.5,-47,Spawn>
}
else {
- chat "Vous avez cru que je travaille gratuitement?"
}
2:
trigger: /non/
script:
- chat "Bonne journée Sir"