Date: 2017/08/30 15:02:34 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
LEDGER_COMMAND:
type: world
events:
on player right clicks enchantment_table:
- inventory open d:in@LEDGER
- narrate "success"
LEDGER:
type: inventory
title: Nation Ledger
size: 27
slots:
- "[i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY]"
- "[i@EMPTY] [i@EMPTY] [i@CHECKBUDGET_ITEM] [i@VAULT_ITEM] [i@CSALARIES_ITEM] [i@SENDMONEY_ITEM] [i@ICTRADE_ITEM] [i@EMPTY] [i@EMPTY]"
- "[i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EXIT]"
LEDGER_HANDLER:
type: world
events:
on player clicks in LEDGER:
- determine cancelled
on player drags in LEDGER:
- determine cancelled
on player clicks EXIT in LEDGER:
- inventory close
on player clicks LEDGER_ITEM in LEDGER:
- inventory open d:in@LEDGER
on player clicks VAULT_ITEM in LEDGER:
- inventory open d:in@VAULT
on player clicks CSALARIES_ITEM in LEDGER:
- inventory open d:in@CSALARIES
on player clicks SENDMONEY_ITEM in LEDGER:
- inventory open d:in@SENDMONEY
on player clicks ICTRADE_ITEM in LEDGER:
- inventory open d:in@ICTRADE
CHECKBUDGET:
type: inventory
title: Nation CHECKBUDGET
size: 27
slots:
- "[i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY]"
- "[i@EMPTY] [i@EMPTY] [i@CHECKBUDGET_ITEM] [i@VAULT_ITEM] [i@CSALARIES_ITEM] [i@SENDMONEY_ITEM] [i@ICTRADE_ITEM] [i@EMPTY] [i@EMPTY]"
- "[i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EXIT]"
CHECKBUDGET_HANDLER:
type: world
events:
on player clicks in CHECKBUDGET:
- determine cancelled
on player drags in CHECKBUDGET:
- determine cancelled
on player clicks EXIT in CHECKBUDGET:
- inventory close
on player clicks CHECKBUDGET_ITEM in CHECKBUDGET:
- inventory open d:in@CHECKBUDGET
on player clicks VAULT_ITEM in CHECKBUDGET:
- inventory open d:in@VAULT
on player clicks CSALARIES_ITEM in CHECKBUDGET:
- inventory open d:in@CSALARIES
on player clicks SENDMONEY_ITEM in CHECKBUDGET:
- inventory open d:in@SENDMONEY
on player clicks ICTRADE_ITEM in CHECKBUDGET:
- inventory open d:in@ICTRADE
CHECKBUDGET:
type: inventory
title: Nation CHECKBUDGET
size: 27
slots:
- "[i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY]"
- "[i@EMPTY] [i@EMPTY] [i@CHECKBUDGET_ITEM] [i@VAULT_ITEM] [i@CSALARIES_ITEM] [i@SENDMONEY_ITEM] [i@ICTRADE_ITEM] [i@EMPTY] [i@EMPTY]"
- "[i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EMPTY] [i@EXIT]"
CHECKBUDGET_HANDLER:
type: world
events:
on player clicks in CHECKBUDGET:
- determine cancelled
on player drags in CHECKBUDGET:
- determine cancelled
on player clicks EXIT in CHECKBUDGET:
- inventory close
on player clicks CHECKBUDGET_ITEM in CHECKBUDGET:
- inventory open d:in@CHECKBUDGET
on player clicks VAULT_ITEM in CHECKBUDGET:
- inventory open d:in@VAULT
on player clicks CSALARIES_ITEM in CHECKBUDGET:
- inventory open d:in@CSALARIES
on player clicks SENDMONEY_ITEM in CHECKBUDGET:
- inventory open d:in@SENDMONEY
on player clicks ICTRADE_ITEM in CHECKBUDGET:
- inventory open d:in@ICTRADE
CHECKBUDGET_ITEM:
type: item
material: i@gold nugget
display name: <&6>Check Budget
lore:
- <&e><&o>Money comes in, money goes out. See where it all ends up!
VAULT_ITEM:
type: item
material: i@dispenser
display name: <&6>Vault
lore:
- <&e><&o>Your Nation's personal savings!
CSALARIES_ITEM:
type: item
material: i@book_and_quill
display name: <&6>Citizen Salaries
lore:
- <&e><&o>No slavery here!
SENDMONEY_ITEM:
type: item
material: i@gold_ingot
display name: <&6>Send Money
lore:
- <&e><&o>Feeling generous?
ICTRADE_ITEM:
type: item
material: i@empty_map
display name: <&7><&l>Other
lore:
- <&e><&o>Did you lose a war? Or are you simply feeling benevolent?
EMPTY:
type: item
material: i@gray_stained_glass_pane
display name:
BALANCE_ITEM:
type: item
material: i@nether_star
display name: <&6>Balance
lore:
- "<&e><player.flag[money] Wun"
WITHDRAW_ONE_WUN:
type: item
material: i@nether_star
display name: <&6>Balance
lore:
- "<&e><player.flag[money] Wun"
WITHDRAW_TEN_WUN:
type: item
material: i@nether_star
display name: <&6>Balance
lore:
- "<&e><player.flag[money] Wun"
BALANCE_ITEM:
type: item
material: i@nether_star
display name: <&6>Balance
lore:
- "<&e><player.flag[money] Wun"