Date: 2016/04/21 18:30:57 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
kit_gui_inv:
type: inventory
title: Kit Menus
Size: 27
slots:
- "[] [] [] [] [] [] [] [] []"
- "[] [] [] [i@kit_gui_standard_item] [] [i@kit_gui_donator_item] [] [] []"
- "[] [] [] [] [] [] [] [] []"
kit_gui_standard_inv:
type: inventory
title: Standard Kits
size: 27
slots:
- "[i@kit_gui_standard_item] [] [] [] [] [] [] [] []"
- "[] [] [] [] [] [] [] [] []"
- "[] [] [] [] [] [] [] [] []"
kit_gui_donator_inv:
type: inventory
title: Donator Kits
size: 27
slots:
- "[i@kit_gui_donator_item] [] [] [] [] [] [] [] []"
- "[] [] [] [] [] [] [] [] []"
- "[] [] [] [] [] [] [] [] []"
kit_gui_npc:
type: assignment
actions:
on click:
- inventory open d:in@kit_gui_inv
on assignment:
- trigger name:click state:true
kit_gui_world:
type: world
events:
on player clicks in kit_gui_inv:
- determine passively cancelled
- choose <context.item.script.name>:
- case "kit_gui_standard_item":
- define option kit_gui_standard_inv
- case "kit_gui_donator_item":
- define option kit_gui_donator_inv
- inventory close
- wait 1t
- inventory open d:in@<def[option]>
on player drags in kit_gui_inv:
- determine cancelled
kit_gui_standard_item:
type: item
material: IRON_CHESTPLATE
display name: <&e><&l>Standard Kits
lore:
- "<&c>Displays All Standard Kits"
- "<&c>And Their Respective Cooldowns"
kit_gui_donator_item:
type: item
material: GOLD_CHESTPLATE
display name: <&e><&l>Donator Kits
lore:
- "<&c>Displays All Donator Kits"
- "<&c>And Their Respective Cooldowns"