Date: 2015/02/04 07:59:43 UTC-08: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
cookass:
type: assignment
actions:
on assignment:
- trigger name:click trigger
- trigger name:chat trigger
interact scripts:
- 10 cook
cook:
type: interact
steps:
1:
click trigger:
script:
- if "<player.has_flag[CTF1]>" {
- chat "Would you like to hear our menu <player.name>, if so just say Menu"
} else {
- random 3
- chat "<red>Dont you have citizens around the realm you could be helping"
- chat "<red>You have not won the Emporors Favor yet!"
- chat "<red>You may want to talk to the Chef"
}
chat trigger:
1:
trigger: '/cookie/s!'
script:
- chat "OH you gonna like these cookies!"
- give FortuneCookie qty:16
- take money qty:20
- narrate '<gold>You just bought 16 fortue cookies for 20 money! SWEET!'
- narrate '<green> Your Balance is <player.money.as_int>!'
FortuneCookie:
type: item
material: i@cookie
display name: <red>Fortune Cookie
lore:
- <green>'Fortune: says May Be Sweet
- <green>or maybe SOUR!'
recipe:
- i@item|i@item|i@item
- i@item|i@item|i@item
- i@cookie|i@mycel|i@paper