Date: 2020/05/30 20:22:12 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
blackmarket_inventory_world:
type: world
events:
on player clicks in blackmarket_inventory priority:100:
- determine cancelled
on player drag in blackmarket_inventory priority:100:
- determine cancelled
on player clicks 80_dragon_breath_32 in blackmarket_inventory:
- if <context.clicked_inventory> == in@blackmarket_inventory:
- if <player.money.sub[35000]> >= 0:
- give 80_dragon_breath quantity:32
- money take quantity:35000
- else:
- narrate "No tienes suficiente dinero"
on player clicks soldier_sea_heart in blackmarket_inventory:
- if <context.clicked_inventory> == in@blackmarket_inventory:
- if <player.money.sub[25000]> >= 0:
- give soldier_sea_heart quantity:1
- money take quantity:25000
- else:
- narrate "No tienes suficiente dinero"
on player clicks dark_elytras in blackmarket_inventory:
- if <context.clicked_inventory> == in@blackmarket_inventory:
- if <player.money.sub[55000]> >= 0:
- give dark_elytras quantity:1
- money take quantity:55000
- else:
- narrate "No tienes suficiente dinero"
on player clicks blackshulker_box in blackmarket_inventory:
- if <context.clicked_inventory> == in@blackmarket_inventory:
- if <player.money.sub[15000]> >= 0:
- give blackshulker_box quantity:1
- money take quantity:15000
- else:
- narrate "No tienes suficiente dinero"
on player clicks adventurer_beer in blackmarket_inventory:
- if <context.clicked_inventory> == in@blackmarket_inventory:
- if <player.money.sub[5000]> >= 0:
- give adventurer_beer quantity:1
- money take quantity:5000
- else:
- narrate "No tienes suficiente dinero"
on player clicks beacon_hylian in blackmarket_inventory:
- if <context.clicked_inventory> == in@blackmarket_inventory:
- if <player.money.sub[100000]> >= 0:
- give beacon_hylian quantity:1
- money take quantity:100000
- else:
- narrate "No tienes suficiente dinero"
on player clicks cursed_fruit in blackmarket_inventory:
- if <context.clicked_inventory> == in@blackmarket_inventory:
- if <player.money.sub[5000]> >= 0:
- give cursed_fruit quantity:1
- money take quantity:5000
- else:
- narrate "No tienes suficiente dinero"
on player clicks gapple in blackmarket_inventory:
- if <context.clicked_inventory> == in@blackmarket_inventory:
- if <player.money.sub[150000]> >= 0:
- give gapple quantity:1
- money take quantity:150000
- else:
- narrate "No tienes suficiente dinero"
on player clicks luckpot in blackmarket_inventory:
- if <context.clicked_inventory> == in@blackmarket_inventory:
- if <player.money.sub[10000]> >= 0:
- give luckpot quantity:1
- money take quantity:10000
- else:
- narrate "No tienes suficiente dinero"