-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBalatroWilds.lua
82 lines (64 loc) · 2.03 KB
/
BalatroWilds.lua
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
--- STEAMODDED HEADER
--- MOD_NAME: Balatro Wilds Texture Pack
--- MOD_ID: BalatroWilds
--- MOD_AUTHOR: [NataKilar]
--- MOD_DESCRIPTION: Retextures all planet cards to astral bodies from the game Outer Wilds
--- PRIORITY: -100
--- DISPLAY_NAME: Balatro Wilds
--- BADGE_COLOUR: d18017
----------------------------------------------
------------ MOD CODE ------------------------
function SMODS.INIT.BalatroWilds()
sendDebugMessage("Loading Balatro Wilds texture pack...")
SMODS.Atlas({
key = 'balatrowilds_planets',
px = 71,
py = 95,
path = "Tarots-balatrowilds.png"
})
-- TODO: Steamodded currently doesn't support claiming individual boosters, so we have manually change the Atlas here.
SMODS.Atlas{key = "Booster", path = "Boosters-balatrowilds.png", px = 71, py = 95, raw_key = true}
-- Claim and retexture default planets --
SMODS.Consumable:take_ownership('c_mercury', {
atlas = 'balatrowilds_planets'
})
SMODS.Consumable:take_ownership('c_venus', {
atlas = 'balatrowilds_planets'
})
SMODS.Consumable:take_ownership('c_earth', {
atlas = 'balatrowilds_planets'
})
SMODS.Consumable:take_ownership('c_mars', {
atlas = 'balatrowilds_planets'
})
SMODS.Consumable:take_ownership('c_jupiter', {
atlas = 'balatrowilds_planets'
})
SMODS.Consumable:take_ownership('c_saturn', {
atlas = 'balatrowilds_planets'
})
SMODS.Consumable:take_ownership('c_uranus', {
atlas = 'balatrowilds_planets',
label = 'pluto_planet'
})
SMODS.Consumable:take_ownership('c_neptune', {
atlas = 'balatrowilds_planets'
})
SMODS.Consumable:take_ownership('c_pluto', {
atlas = 'balatrowilds_planets'
})
SMODS.Consumable:take_ownership('c_ceres', {
atlas = 'balatrowilds_planets'
})
SMODS.Consumable:take_ownership('c_planet_x', {
atlas = 'balatrowilds_planets'
})
SMODS.Consumable:take_ownership('c_eris', {
atlas = 'balatrowilds_planets'
})
SMODS.Consumable:take_ownership('c_black_hole', {
atlas = 'balatrowilds_planets'
})
end
----------------------------------------------
------------ END MOD CODE --------------------