18 lines
461 B
Lua
18 lines
461 B
Lua
function patch(data)
|
|
for i, v in pairs(data.mainMenuButtons) do
|
|
if not v.rightAnchored then
|
|
v.offset[2] = v.offset[2] + (v.key == "quit" and -5 or 15)
|
|
end
|
|
end
|
|
data.skyBackdropDarken = jarray{0, 0, 0, 64}
|
|
data.backdropImages = jarray{
|
|
jarray{
|
|
jarray{0, 0},
|
|
"/interface/title/" .. (sb.makeRandomSource():randUInt(300) == 0 and "barst" or "starb") .. "ound.png",
|
|
0.5,
|
|
jarray{0.5, 0.5}
|
|
}
|
|
}
|
|
return data
|
|
end
|