This commit is contained in:
MDR 2025-04-21 04:11:21 +08:00
parent 9d97b2fa99
commit 510d1573c0
9 changed files with 1235 additions and 1216 deletions

File diff suppressed because it is too large Load Diff

View File

@ -294,85 +294,85 @@ local function textGen(pager)
name = function() return accessor.item_glove1 and accessor.item_glove2 and "Work Gloves" or "Work Glove" end, name = function() return accessor.item_glove1 and accessor.item_glove2 and "Work Gloves" or "Work Glove" end,
info = function() info = function()
return accessor.item_glove1 and accessor.item_glove2 and ({ return accessor.item_glove1 and accessor.item_glove2 and ({
"<p:player>(An insulated glove. Good for handling dangerous items.)" "<p:player>(An insulated glove. Good for handling dangerous items.)"
}) or ({ }) or ({
"<p:player>(A pair of insulated gloves. Good for handling dangerous items.)" "<p:player>(A pair of insulated gloves. Good for handling dangerous items.)"
}) })
end end
}, },
item_boots = { item_boots = {
name = function() return accessor.item_boot1 and accessor.item_boot2 and "Work Boots" or "Work Boot" end, name = function() return accessor.item_boot1 and accessor.item_boot2 and "Work Boots" or "Work Boot" end,
info = function() info = function()
return accessor.item_boot1 and accessor.item_boot2 and ({ return accessor.item_boot1 and accessor.item_boot2 and ({
"<p:player>(A sturdy, high-topped boot. Good for traversing hazards.)" "<p:player>(A sturdy, high-topped boot. Good for traversing hazards.)"
}) or ({ }) or ({
"<p:player>(A pair of sturdy, high-topped boots. Good for traversing hazards.)" "<p:player>(A pair of sturdy, high-topped boots. Good for traversing hazards.)"
}) })
end end
}, },
ponder_arrival = pager:create(0, { ponder_arrival = pager:create(0, {
"<p:player><f:sad>...", "<p:player><f:sad>...",
"<p:player><f:sad>(The forest is beautiful...)" "<p:player><f:sad>(The forest is beautiful...)"
}, { }, {
"<p:player><f:sad>...", "<p:player><f:sad>...",
"<p:player><f:sigh>(I have to keep going...)", "<p:player><f:sigh>(I have to keep going...)",
"<p:player>(Standing around won't get me any closer to home.)" "<p:player>(Standing around won't get me any closer to home.)"
}), }),
ponder_chase = pager:create(0, { ponder_chase = pager:create(0, {
"<p:player><f:side>(If I could just talk to them...)", "<p:player><f:side>(If I could just talk to them...)",
"<p:player><f:determined2>(... there's no time to lose!)" "<p:player><f:determined2>(... there's no time to lose!)"
}, { }, {
"<p:player><f:determined>(... I've got to catch up to them!)" "<p:player><f:determined>(... I've got to catch up to them!)"
}), }),
ponder_gate = { ponder_gate = {
"<p:player><f:side>...", "<p:player><f:side>...",
"<p:player><f:side>(I need a closer look at that gate...)" "<p:player><f:side>(I need a closer look at that gate...)"
}, },
ponder_shock = function() ponder_shock = function()
return { return {
"<p:player><f:side>(... hm...)", "<p:player><f:side>(... hm...)",
unpack(accessor.item_glove1 and accessor.item_glove2 and accessor.item_boot1 and accessor.item_boot2 and unpack(accessor.item_glove1 and accessor.item_glove2 and accessor.item_boot1 and accessor.item_boot2 and
({ ({
"<p:player><f:side>(I have these gloves... and these boots...)", "<p:player><f:side>(I have these gloves... and these boots...)",
"<p:player>(Oh! I can use these to climb the gate safely!)" "<p:player>(Oh! I can use these to climb the gate safely!)"
}) or }) or
(accessor.item_glove1 and accessor.item_glove2 and ((accessor.item_boot1 or accessor.item_boot2) and ({ (accessor.item_glove1 and accessor.item_glove2 and ((accessor.item_boot1 or accessor.item_boot2) and ({
"<p:player><f:side>(I have these gloves... and this boot...)", "<p:player><f:side>(I have these gloves... and this boot...)",
"<p:player>(With one more boot, I could climb the gate safely.)" "<p:player>(With one more boot, I could climb the gate safely.)"
}) or ({ }) or ({
"<p:player><f:side>(I have these gloves...)", "<p:player><f:side>(I have these gloves...)",
"<p:player>(If I had something to protect my feet, I could climb the gate safely.)" "<p:player>(If I had something to protect my feet, I could climb the gate safely.)"
})) or (accessor.item_boot1 and accessor.item_boot2 and ((accessor.item_glove1 or accessor.item_glove2) and ({ })) or (accessor.item_boot1 and accessor.item_boot2 and ((accessor.item_glove1 or accessor.item_glove2) and ({
"<p:player><f:side>(I have these boots... and this glove...)", "<p:player><f:side>(I have these boots... and this glove...)",
"<p:player>(With one more glove, I could climb the gate safely.)" "<p:player>(With one more glove, I could climb the gate safely.)"
}) or ({ }) or ({
"<p:player><f:side>(I have these boots...)", "<p:player><f:side>(I have these boots...)",
"<p:player>(If I had something to protect my hands, I could climb the gate safely.)" "<p:player>(If I had something to protect my hands, I could climb the gate safely.)"
})) or ((accessor.item_glove1 or accessor.item_glove2) and ((accessor.item_boot1 or accessor.item_boot2) and ({ })) or ((accessor.item_glove1 or accessor.item_glove2) and ((accessor.item_boot1 or accessor.item_boot2) and ({
"<p:player><f:side>(I have this glove... and this boot...)", "<p:player><f:side>(I have this glove... and this boot...)",
"<p:player>(If only I could duplicate them, I could climb the gate safely.)" "<p:player>(If only I could duplicate them, I could climb the gate safely.)"
}) or ({ }) or ({
"<p:player><f:side>(I have this glove...)", "<p:player><f:side>(I have this glove...)",
"<p:player><f:side>(If I had another glove, and something to protect my feet...)", "<p:player><f:side>(If I had another glove, and something to protect my feet...)",
"<p:player>(... I could climb the gate safely.)" "<p:player>(... I could climb the gate safely.)"
})) or ((accessor.item_boot1 or accessor.item_boot2) and ({ })) or ((accessor.item_boot1 or accessor.item_boot2) and ({
"<p:player><f:side>(I have this boot...)", "<p:player><f:side>(I have this boot...)",
"<p:player><f:side>(If I had another boot, and something to protect my hands...)", "<p:player><f:side>(If I had another boot, and something to protect my hands...)",
"<p:player>(... I could climb the gate safely.)" "<p:player>(... I could climb the gate safely.)"
}) or ({ }) or ({
"<p:player><f:side>(If I had some extra gear to protect myself...)", "<p:player><f:side>(If I had some extra gear to protect myself...)",
"<p:player>(... I could climb the gate safely.)" "<p:player>(... I could climb the gate safely.)"
})))))) }))))))
} }
end, end,
ponder_gear = { ponder_gear = {
"<p:player><f:side>(... I think, with this extra gear I've found...)", "<p:player><f:side>(... I think, with this extra gear I've found...)",
"<p:player>(... climbing the gate should be safe.)" "<p:player>(... climbing the gate should be safe.)"
}, },
ponder_unlock = { ponder_unlock = {
"<p:player>(... hm.)", "<p:player>(... hm.)",
"<p:player><f:sigh>(Better get going before someone closes the gate again.)" "<p:player><f:sigh>(Better get going before someone closes the gate again.)"
}, },
ponder_factory = pager:create(0, { ponder_factory = pager:create(0, {
"<p:player><f:side>...让我猜的话,\n这儿看着像座糖浆厂。)", "<p:player><f:side>...让我猜的话,\n这儿看着像座糖浆厂。)",
"<p:player>(不太确定,反正肯定是某种工厂。)", "<p:player>(不太确定,反正肯定是某种工厂。)",
@ -389,25 +389,25 @@ local function textGen(pager)
pipewerx3 = "(Arrange the pipes to connect\nthe two endpoints.)", pipewerx3 = "(Arrange the pipes to connect\nthe two endpoints.)",
pipewerx4 = "(Press [X] to exit.)", pipewerx4 = "(Press [X] to exit.)",
system1 = { system1 = {
"Platform Engaged.", "Platform Engaged.",
"Selecting Mode: Transit", "Selecting Mode: Transit",
"Selecting Destination: CRIMSON", "Selecting Destination: CRIMSON",
"Transit In Progress..." "Transit In Progress..."
}, },
system2 = "`~1!2@3#4$5%6^7&8*9(0)-_=+[]\\|;:'\",<.>/?", system2 = "`~1!2@3#4$5%6^7&8*9(0)-_=+[]\\|;:'\",<.>/?",
arrival1 = { arrival1 = {
"<p:player><f:sweat>..." "<p:player><f:sweat>..."
}, },
arrival2 = { arrival2 = {
"<p:player><f:side>(It's the same as before...)", "<p:player><f:side>(It's the same as before...)",
"<p:player><f:sweat4>(... guess I... didn't really know what I was expecting.)" "<p:player><f:sweat4>(... guess I... didn't really know what I was expecting.)"
}, },
arrival3 = { arrival3 = {
"<p:player><f:what>Whoa." "<p:player><f:what>Whoa."
}, },
arrival4 = { arrival4 = {
"<p:player><f:what>That's big." "<p:player><f:what>That's big."
}, },
arrival5 = { arrival5 = {
"<p:player><f:sigh>(哎,说到底,这儿不是家啊。)", "<p:player><f:sigh>(哎,说到底,这儿不是家啊。)",
"<p:player>(起码... 不用困在怪房子里了。)", "<p:player>(起码... 不用困在怪房子里了。)",
@ -418,174 +418,174 @@ local function textGen(pager)
"<p:player><f:sigh>(...但愿我能找到把伞吧。)" "<p:player><f:sigh>(...但愿我能找到把伞吧。)"
}, },
stowaway1 = { stowaway1 = {
"<p:player><f:sweat>...", "<p:player><f:sweat>...",
"<p:player><f:sweat3>H... hello?" "<p:player><f:sweat3>H... hello?"
}, },
stowaway2 = { stowaway2 = {
"<p:player><f:sad2>Wait, don't go! I..." "<p:player><f:sad2>Wait, don't go! I..."
}, },
stowaway3 = { stowaway3 = {
"<p:player><f:determined>... get back here!" "<p:player><f:determined>... get back here!"
}, },
stowaway4 = { stowaway4 = {
"<p:player><f:determined2>Hey, you!" "<p:player><f:determined2>Hey, you!"
}, },
stowaway5 = { stowaway5 = {
"<p:player><f:sweat3>(There's nothing to be afraid of...)" "<p:player><f:sweat3>(There's nothing to be afraid of...)"
}, },
stowaway6 = { stowaway6 = {
"<p:player><f:upset2>No, no, no!" "<p:player><f:upset2>No, no, no!"
}, },
stowaway7 = { stowaway7 = {
"<p:player><f:annoyed>(... slam the gate on me, why don't you...)" "<p:player><f:annoyed>(... slam the gate on me, why don't you...)"
}, },
bushitem1 = { bushitem1 = {
"<p:player><f:side>(There's something buried in here...)", "<p:player><f:side>(There's something buried in here...)",
"<p:none>Pick it up?" "<p:none>Pick it up?"
}, },
bushitem2 = { bushitem2 = {
"Yes", "Yes",
"No" "No"
}, },
glover0 = "Work Glove", glover0 = "Work Glove",
glover1 = { glover1 = {
"<p:player><f:surprise>(A glove!)", "<p:player><f:surprise>(A glove!)",
"<h:a><p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", "<h:a><p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.",
"<p:player><f:sodesuka>(Feels... tough.)" "<p:player><f:sodesuka>(Feels... tough.)"
}, },
glover2 = { glover2 = {
"<p:player><f:surprise>(Another glove!)", "<p:player><f:surprise>(Another glove!)",
"<h:a><p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove." "<h:a><p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove."
}, },
glovey1 = { glovey1 = {
"<p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", "<p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.",
"<p:player><f:surprise>(A glove!)", "<p:player><f:surprise>(A glove!)",
"<p:player><f:sodesuka>(Feels... tough.)" "<p:player><f:sodesuka>(Feels... tough.)"
}, },
glovey2 = { glovey2 = {
"<p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", "<p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.",
"<p:player><f:surprise>(Another glove!)" "<p:player><f:surprise>(Another glove!)"
}, },
bootey1 = { bootey1 = {
"<p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", "<p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.",
"<p:player>(... a single boot.)", "<p:player>(... a single boot.)",
"<p:player><f:sigh>(Surely there's another one around, right?)" "<p:player><f:sigh>(Surely there's another one around, right?)"
}, },
bootey2 = { bootey2 = {
"<p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", "<p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.",
"<p:player><f:sigh>(Ah, there it is.)" "<p:player><f:sigh>(Ah, there it is.)"
}, },
booter0 = "Work Boot", booter0 = "Work Boot",
booter1 = { booter1 = {
"<p:player>(... a single boot.)", "<p:player>(... a single boot.)",
"<h:a><p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", "<h:a><p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.",
"<p:player><f:sigh>(Surely there's another one around, right?)" "<p:player><f:sigh>(Surely there's another one around, right?)"
}, },
booter2 = { booter2 = {
"<p:player><f:sigh>(Ah, there it is.)", "<p:player><f:sigh>(Ah, there it is.)",
"<h:a><p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot." "<h:a><p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot."
}, },
drillie1 = pager:create(0, { drillie1 = pager:create(0, {
"<p:player><f:sigh>(I could just use this drill to open the gate...)", "<p:player><f:sigh>(I could just use this drill to open the gate...)",
"<p:player>(... but in doing so, its batteries would be completely drained.)", "<p:player>(... but in doing so, its batteries would be completely drained.)",
"<p:player><f:confused>(Would I be able to replace them?)" "<p:player><f:confused>(Would I be able to replace them?)"
}, { }, {
"<p:player><f:confused>(Should I use the drill to open the gate, or save it for later?)" "<p:player><f:confused>(Should I use the drill to open the gate, or save it for later?)"
}), }),
drillie2 = { drillie2 = {
"Use The Drill", "Use The Drill",
"Find Another Way" "Find Another Way"
}, },
drillie3 = { drillie3 = {
"<p:player>..." "<p:player>..."
}, },
drillie4 = { drillie4 = {
"<p:player><f:sigh>(... that did the trick.)" "<p:player><f:sigh>(... that did the trick.)"
}, },
gateclimb0 = "Gate", gateclimb0 = "Gate",
gateclimb1 = { gateclimb1 = {
"<p:player><f:side>...", "<p:player><f:side>...",
"<p:player><f:surprise>(Ah! Of course!)", "<p:player><f:surprise>(Ah! Of course!)",
"<p:player><f:determined2>(I'll just climb over it!)" "<p:player><f:determined2>(I'll just climb over it!)"
}, },
gateclimb2a = { gateclimb2a = {
"<p:player><f:annoyed>... ugh..." "<p:player><f:annoyed>... ugh..."
}, },
gateclimb2b = { gateclimb2b = {
"<p:player><f:sweat5>(... guess I'll have to find something else.)" "<p:player><f:sweat5>(... guess I'll have to find something else.)"
}, },
gateclimb2c = { gateclimb2c = {
"<p:player><f:side>(Wait. I have these gloves and boots...)", "<p:player><f:side>(Wait. I have these gloves and boots...)",
"<p:player>(I could try again with the extra gear to protect myself.)", "<p:player>(I could try again with the extra gear to protect myself.)",
"<p:none>Climb over the gate?" "<p:none>Climb over the gate?"
}, },
gateclimb3 = { gateclimb3 = {
"<p:player><f:sweat>(It's electrically charged.)" "<p:player><f:sweat>(It's electrically charged.)"
}, },
gateclimb4 = { gateclimb4 = {
"<p:player><f:sigh>(Can't climb over the gate without extra gear.)" "<p:player><f:sigh>(Can't climb over the gate without extra gear.)"
}, },
gateclimb5 = pager:create( gateclimb5 = pager:create(
0, 0,
function() function()
local ____array_0 = __TS__SparseArrayNew(unpack(accessor.event_redleaf_gateclimb == 2 and ({ local ____array_0 = __TS__SparseArrayNew(unpack(accessor.event_redleaf_gateclimb == 2 and ({
"<p:player>(I have the extra gear I need to protect myself.)" "<p:player>(I have the extra gear I need to protect myself.)"
}) or ({ }) or ({
"<p:player><f:side>(Wait. I have these gloves and boots now...)", "<p:player><f:side>(Wait. I have these gloves and boots now...)",
"<p:player>(I could try again with the extra gear to protect myself.)" "<p:player>(I could try again with the extra gear to protect myself.)"
}))) })))
__TS__SparseArrayPush(____array_0, "<p:none>Climb over the gate?") __TS__SparseArrayPush(____array_0, "<p:none>Climb over the gate?")
return { __TS__SparseArraySpread(____array_0) } return { __TS__SparseArraySpread(____array_0) }
end, end,
{ {
"<p:none>Climb over the gate?" "<p:none>Climb over the gate?"
} }
), ),
gateclimb6 = { gateclimb6 = {
"Yes", "Yes",
"No" "No"
}, },
gateclimb7 = { gateclimb7 = {
"<p:player><f:sigh>(Third climb's the charm. placeholder :3)" "<p:player><f:sigh>(Third climb's the charm. placeholder :3)"
}, },
gateclimb8 = { gateclimb8 = {
"<p:player><f:determined2>(Alright!)" "<p:player><f:determined2>(Alright!)"
}, },
gateclimb9 = { gateclimb9 = {
"<p:player><f:confused>(Is this... a factory?)" "<p:player><f:confused>(Is this... a factory?)"
}, },
gateclimb10 = { gateclimb10 = {
"<p:player><f:sodesuka>(Time to find out what that rascal was up to.)" "<p:player><f:sodesuka>(Time to find out what that rascal was up to.)"
} }
}, },
trivia = { trivia = {
tree = { tree = {
"<p:player><f:surprise>It's a tree! (placeholder :3)" "<p:player><f:surprise>It's a tree! (placeholder :3)"
}, },
barrel = { barrel = {
"<p:player><f:side>Barrel barrel barrel- (placeholder :3)" "<p:player><f:side>Barrel barrel barrel- (placeholder :3)"
}, },
lid = { lid = {
"<p:player><f:annoyed>A lid. (placeholder :3)" "<p:player><f:annoyed>A lid. (placeholder :3)"
}, },
facsign = { facsign = {
"<p:player>\"REDLEAF INDUSTRIES\"\n\"Factory Grounds Nearby\"" "<p:player>\"REDLEAF INDUSTRIES\"\n\"Factory Grounds Nearby\""
}, },
sapsign = { sapsign = {
"<p:player>\"Kotokura Syrup Exports\"\n\"Redleaf Industries\"" "<p:player>\"Kotokura Syrup Exports\"\n\"Redleaf Industries\""
}, },
carsign = pager:create(0, { carsign = pager:create(0, {
"<p:player><f:sweat>\"Danger: Industrial Vehicles\"", "<p:player><f:sweat>\"Danger: Industrial Vehicles\"",
"<p:player><f:side>(Guess I should be careful...)" "<p:player><f:side>(Guess I should be careful...)"
}, { }, {
"<p:player><f:sweat>\"Danger: Industrial Vehicles\"" "<p:player><f:sweat>\"Danger: Industrial Vehicles\""
}), }),
powertower = { powertower = {
"<p:player><f:confused>A powertower? (placeholder :3)" "<p:player><f:confused>A powertower? (placeholder :3)"
}, },
placeholder2 = pager:create(0, { placeholder2 = pager:create(0, {
"<p:player>placeholder :3" "<p:player>placeholder :3"
}) })
}, },
trivia_tooltip = { trivia_tooltip = {
tree = "Tree", tree = "Tree",

View File

@ -14,13 +14,14 @@ local world = ____global.world
local ____launcher = require("code.screens.launcher") local ____launcher = require("code.screens.launcher")
local mouseButtonMenu = ____launcher.mouseButtonMenu local mouseButtonMenu = ____launcher.mouseButtonMenu
local function textGen() local function textGen()
return {header = "(确定要退出吗?)\n{color=0xff3f3f}(本世界未保存的数据\n将会丢失。)", button1 = "继续游玩", button2 = "退出游戏"} return { header = "(确定要退出吗?)\n{color=0xff3f3f}(本世界未保存的数据\n将会丢失。)", button1 = "继续游玩", button2 =
"退出游戏" }
end end
local function acquit(assets, atlas, batch, ____debug, ____bindingPattern0) local function acquit(assets, atlas, batch, ____debug, ____bindingPattern0)
local screen local screen
screen = ____bindingPattern0.screen screen = ____bindingPattern0.screen
local text = textGen() local text = textGen()
local state = {acquitted = false, debug = false} local state = { acquitted = false, debug = false }
return { return {
text = text, text = text,
state = state, state = state,
@ -47,12 +48,12 @@ local function acquit(assets, atlas, batch, ____debug, ____bindingPattern0)
__TS__New(STRectangle, { __TS__New(STRectangle, {
alpha = 0.5, alpha = 0.5,
anchor = 0.5, anchor = 0.5,
size = {x = 240, y = 180}, size = { x = 240, y = 180 },
color = 0, color = 0,
priority = -3 priority = -3
}), }),
__TS__New(STRectangle, {anchor = 0.5, size = {x = 180, y = 90}, color = 0, priority = -2}), __TS__New(STRectangle, { anchor = 0.5, size = { x = 180, y = 90 }, color = 0, priority = -2 }),
__TS__New(STContainer, {priority = -1}):addDrawer(function(self) __TS__New(STContainer, { priority = -1 }):addDrawer(function(self)
love.graphics.setLineWidth(1 / 3) love.graphics.setLineWidth(1 / 3)
love.graphics.rectangle( love.graphics.rectangle(
"line", "line",
@ -68,53 +69,55 @@ local function acquit(assets, atlas, batch, ____debug, ____bindingPattern0)
screen:attach(wrapper) screen:attach(wrapper)
local ____self_2 = mouseButtonMenu( local ____self_2 = mouseButtonMenu(
wrapper, wrapper,
{main = ST:populate( {
3, main = ST:populate(
function(i) 3,
local content = ({text.header, text.button1, text.button2})[i + 1] function(i)
local metadata local content = ({ text.header, text.button1, text.button2 })[i + 1]
metadata = { local metadata
disabled = i == 0, metadata = {
action = function(____, controller) disabled = i == 0,
repeat action = function(____, controller)
local ____switch12 = i repeat
local ____cond12 = ____switch12 == 1 local ____switch12 = i
if ____cond12 then local ____cond12 = ____switch12 == 1
controller["goto"](controller, nil) if ____cond12 then
metadata.disabled = true controller["goto"](controller, nil)
state.acquitted = false metadata.disabled = true
break state.acquitted = false
end break
____cond12 = ____cond12 or ____switch12 == 2 end
if ____cond12 then ____cond12 = ____cond12 or ____switch12 == 2
love.event.quit() if ____cond12 then
break love.event.quit()
end break
until true end
end until true
} end
local position = 0.5
return __TS__New(
STHitbox,
{
anchor = 0.5,
metadata = metadata,
position = {
x = (i == 0 and 0 or ST:spread(45, i - 1, 2)) - position,
y = (i == 0 and -8 or 24) - position
},
size = i == 0 and 0 or assets["f$fives"]:compute(content),
children = {__TS__New(STText, {
anchor = 0.5,
justify = i == 0 and 0.5 or nil,
font = i == 0 and assets["f$helloplayer"] or assets["f$fives"],
position = position,
content = content
})}
} }
) local position = 0.5
end return __TS__New(
)}, STHitbox,
{
anchor = 0.5,
metadata = metadata,
position = {
x = (i == 0 and 0 or ST:spread(45, i - 1, 2)) - position,
y = (i == 0 and -8 or 24) - position
},
size = i == 0 and 0 or assets["f$fives"]:compute(content),
children = { __TS__New(STText, {
anchor = 0.5,
justify = i == 0 and 0.5 or nil,
font = i == 0 and assets["f$helloplayer"] or assets["f$fives"],
position = position,
content = content
}) }
}
)
end
)
},
"main" "main"
) )
____self_2["then"]( ____self_2["then"](

View File

@ -15,16 +15,16 @@ local function textGen()
return { return {
"<p:player>(A pail. Good for collecting things.)", "<p:player>(A pail. Good for collecting things.)",
unpack(accessor.event_home_bucket and ({ unpack(accessor.event_home_bucket and ({
"<p:player><f:sigh>(Apart from rainwater, apparently.)" "<p:player><f:sigh>(Apart from rainwater, apparently.)"
}) or ({})) }) or ({}))
} }
end end
}, },
item_card = { item_card = {
name = "Library Card", name = "Library Card",
info = { info = {
"<p:player>(A library card with a blued, jeweled strip.)" "<p:player>(A library card with a blued, jeweled strip.)"
} }
}, },
item_drill = { item_drill = {
name = "一把电钻", name = "一把电钻",
@ -52,8 +52,8 @@ local function textGen()
"<p:player><f:sigh>(走你。)" "<p:player><f:sigh>(走你。)"
}, },
info2a = { info2a = {
"<p:player><f:wink>(A worn plushie.)" "<p:player><f:wink>(A worn plushie.)"
}, },
info2b = { info2b = {
"拿下来", "拿下来",
"算了" "算了"

View File

@ -4,19 +4,32 @@ from tempfile import TemporaryDirectory
import subprocess import subprocess
import shutil import shutil
import os import os
import re
import datetime
from tools import convert_zh_to_tw, import_translation_json from tools import convert_zh_to_tw, import_translation_json
# Wasneet聲明 # Wasneet聲明
# 這個版本完全是依照「能跑就行」原則寫的,不准糾我錯! # 這個版本完全是依照「能跑就行」原則寫的,不准糾我錯!
# ========== 配置区域 ========== # ==============================
IMPORTLANG = "zh_CN" # 語言選項 IMPORTLANG = input("语言?(跳过则语言默认为zh_CN)") # 語言選項
VERSION = "V1.1" # 版本號 if len(IMPORTLANG) == 0:
WEBLATE_PATH = "/Deskto/psoutertale-weblate" # WEBLATE文件夾路徑須修改 IMPORTLANG = "zh_CN"
SOURCE_DIR = Path("F:/Deskto/Petrichor-PSTVL").resolve() VERSION = "v" + input("版本号?(跳过则记录构建日期)") # 版本號
if len(VERSION) == 1:
VERSION = "构建于" + str(datetime.date.today())
WEBLATE_PATH = os.path.abspath("../weblate")
BUILD_PATH = os.path.abspath("..") # MDR留其他有地方不认字符串啊qwq,以我的能力只会分开写了
SOURCE_DIR = Path("../source").resolve()
# 删除过时构建
os.chdir(BUILD_PATH) # MDR留抄的qwq
for file in os.listdir(BUILD_PATH):
if re.match(r'.+.love', file):
os.remove(file)
# ============================== # ==============================
os.chdir("translate") os.chdir(SOURCE_DIR / "translate")
# 拉取weblate仓库更改 # 拉取weblate仓库更改
print("🟡「提示」 Weblate文本獲取中...") print("🟡「提示」 Weblate文本獲取中...")
os.system(f"cd {WEBLATE_PATH} && git pull") os.system(f"cd {WEBLATE_PATH} && git pull")
@ -31,7 +44,7 @@ for lua_file in src_text_path.glob("*.lua"):
os.chdir("..") os.chdir("..")
PROJECT_ROOT = SOURCE_DIR PROJECT_ROOT = SOURCE_DIR
LANG_IMAGES = SOURCE_DIR / "images" / IMPORTLANG LANG_IMAGES = SOURCE_DIR / "images" / IMPORTLANG
BUILD_OUTPUT = SOURCE_DIR / "translate" / "gamebuild" / f"Petrichor-{VERSION}.love" BUILD_OUTPUT = f"{BUILD_PATH}/PETRICHOR-{IMPORTLANG} {VERSION}.love"
src_text_path = PROJECT_ROOT / "translate" / "src" src_text_path = PROJECT_ROOT / "translate" / "src"
# 7z校驗 # 7z校驗
@ -79,4 +92,4 @@ with TemporaryDirectory() as tmpdir:
print(f"🔴「錯誤」 裝箱失敗,退出碼:{exit_code}") print(f"🔴「錯誤」 裝箱失敗,退出碼:{exit_code}")
exit(1) exit(1)
print(f"\n🟢「提示」 裝箱好啦!給你放在{BUILD_OUTPUT}了,記得看一眼嗷。") print(f"\n🟢「提示」 裝箱好啦!給你放在{BUILD_OUTPUT}了,記得看一眼嗷。")

View File

@ -14,13 +14,14 @@ local world = ____global.world
local ____launcher = require("code.screens.launcher") local ____launcher = require("code.screens.launcher")
local mouseButtonMenu = ____launcher.mouseButtonMenu local mouseButtonMenu = ____launcher.mouseButtonMenu
local function textGen() local function textGen()
return {header = "(确定要退出吗?)\n{color=0xff3f3f}(本世界未保存的数据\n将会丢失。)", button1 = "继续游玩", button2 = "退出游戏"} return { header = "(确定要退出吗?)\n{color=0xff3f3f}(本世界未保存的数据\n将会丢失。)", button1 = "继续游玩", button2 =
"退出游戏" }
end end
local function acquit(assets, atlas, batch, ____debug, ____bindingPattern0) local function acquit(assets, atlas, batch, ____debug, ____bindingPattern0)
local screen local screen
screen = ____bindingPattern0.screen screen = ____bindingPattern0.screen
local text = textGen() local text = textGen()
local state = {acquitted = false, debug = false} local state = { acquitted = false, debug = false }
return { return {
text = text, text = text,
state = state, state = state,
@ -47,12 +48,12 @@ local function acquit(assets, atlas, batch, ____debug, ____bindingPattern0)
__TS__New(STRectangle, { __TS__New(STRectangle, {
alpha = 0.5, alpha = 0.5,
anchor = 0.5, anchor = 0.5,
size = {x = 240, y = 180}, size = { x = 240, y = 180 },
color = 0, color = 0,
priority = -3 priority = -3
}), }),
__TS__New(STRectangle, {anchor = 0.5, size = {x = 180, y = 90}, color = 0, priority = -2}), __TS__New(STRectangle, { anchor = 0.5, size = { x = 180, y = 90 }, color = 0, priority = -2 }),
__TS__New(STContainer, {priority = -1}):addDrawer(function(self) __TS__New(STContainer, { priority = -1 }):addDrawer(function(self)
love.graphics.setLineWidth(1 / 3) love.graphics.setLineWidth(1 / 3)
love.graphics.rectangle( love.graphics.rectangle(
"line", "line",
@ -68,53 +69,55 @@ local function acquit(assets, atlas, batch, ____debug, ____bindingPattern0)
screen:attach(wrapper) screen:attach(wrapper)
local ____self_2 = mouseButtonMenu( local ____self_2 = mouseButtonMenu(
wrapper, wrapper,
{main = ST:populate( {
3, main = ST:populate(
function(i) 3,
local content = ({text.header, text.button1, text.button2})[i + 1] function(i)
local metadata local content = ({ text.header, text.button1, text.button2 })[i + 1]
metadata = { local metadata
disabled = i == 0, metadata = {
action = function(____, controller) disabled = i == 0,
repeat action = function(____, controller)
local ____switch12 = i repeat
local ____cond12 = ____switch12 == 1 local ____switch12 = i
if ____cond12 then local ____cond12 = ____switch12 == 1
controller["goto"](controller, nil) if ____cond12 then
metadata.disabled = true controller["goto"](controller, nil)
state.acquitted = false metadata.disabled = true
break state.acquitted = false
end break
____cond12 = ____cond12 or ____switch12 == 2 end
if ____cond12 then ____cond12 = ____cond12 or ____switch12 == 2
love.event.quit() if ____cond12 then
break love.event.quit()
end break
until true end
end until true
} end
local position = 0.5
return __TS__New(
STHitbox,
{
anchor = 0.5,
metadata = metadata,
position = {
x = (i == 0 and 0 or ST:spread(45, i - 1, 2)) - position,
y = (i == 0 and -8 or 24) - position
},
size = i == 0 and 0 or assets["f$fives"]:compute(content),
children = {__TS__New(STText, {
anchor = 0.5,
justify = i == 0 and 0.5 or nil,
font = i == 0 and assets["f$helloplayer"] or assets["f$fives"],
position = position,
content = content
})}
} }
) local position = 0.5
end return __TS__New(
)}, STHitbox,
{
anchor = 0.5,
metadata = metadata,
position = {
x = (i == 0 and 0 or ST:spread(45, i - 1, 2)) - position,
y = (i == 0 and -8 or 24) - position
},
size = i == 0 and 0 or assets["f$fives"]:compute(content),
children = { __TS__New(STText, {
anchor = 0.5,
justify = i == 0 and 0.5 or nil,
font = i == 0 and assets["f$helloplayer"] or assets["f$fives"],
position = position,
content = content
}) }
}
)
end
)
},
"main" "main"
) )
____self_2["then"]( ____self_2["then"](

File diff suppressed because it is too large Load Diff

View File

@ -15,16 +15,16 @@ local function textGen()
return { return {
"<p:player>(A pail. Good for collecting things.)", "<p:player>(A pail. Good for collecting things.)",
unpack(accessor.event_home_bucket and ({ unpack(accessor.event_home_bucket and ({
"<p:player><f:sigh>(Apart from rainwater, apparently.)" "<p:player><f:sigh>(Apart from rainwater, apparently.)"
}) or ({})) }) or ({}))
} }
end end
}, },
item_card = { item_card = {
name = "Library Card", name = "Library Card",
info = { info = {
"<p:player>(A library card with a blued, jeweled strip.)" "<p:player>(A library card with a blued, jeweled strip.)"
} }
}, },
item_drill = { item_drill = {
name = "一把电钻", name = "一把电钻",
@ -52,8 +52,8 @@ local function textGen()
"<p:player><f:sigh>(走你。)" "<p:player><f:sigh>(走你。)"
}, },
info2a = { info2a = {
"<p:player><f:wink>(A worn plushie.)" "<p:player><f:wink>(A worn plushie.)"
}, },
info2b = { info2b = {
"拿下来", "拿下来",
"算了" "算了"

View File

@ -294,85 +294,85 @@ local function textGen(pager)
name = function() return accessor.item_glove1 and accessor.item_glove2 and "Work Gloves" or "Work Glove" end, name = function() return accessor.item_glove1 and accessor.item_glove2 and "Work Gloves" or "Work Glove" end,
info = function() info = function()
return accessor.item_glove1 and accessor.item_glove2 and ({ return accessor.item_glove1 and accessor.item_glove2 and ({
"<p:player>(An insulated glove. Good for handling dangerous items.)" "<p:player>(An insulated glove. Good for handling dangerous items.)"
}) or ({ }) or ({
"<p:player>(A pair of insulated gloves. Good for handling dangerous items.)" "<p:player>(A pair of insulated gloves. Good for handling dangerous items.)"
}) })
end end
}, },
item_boots = { item_boots = {
name = function() return accessor.item_boot1 and accessor.item_boot2 and "Work Boots" or "Work Boot" end, name = function() return accessor.item_boot1 and accessor.item_boot2 and "Work Boots" or "Work Boot" end,
info = function() info = function()
return accessor.item_boot1 and accessor.item_boot2 and ({ return accessor.item_boot1 and accessor.item_boot2 and ({
"<p:player>(A sturdy, high-topped boot. Good for traversing hazards.)" "<p:player>(A sturdy, high-topped boot. Good for traversing hazards.)"
}) or ({ }) or ({
"<p:player>(A pair of sturdy, high-topped boots. Good for traversing hazards.)" "<p:player>(A pair of sturdy, high-topped boots. Good for traversing hazards.)"
}) })
end end
}, },
ponder_arrival = pager:create(0, { ponder_arrival = pager:create(0, {
"<p:player><f:sad>...", "<p:player><f:sad>...",
"<p:player><f:sad>(The forest is beautiful...)" "<p:player><f:sad>(The forest is beautiful...)"
}, { }, {
"<p:player><f:sad>...", "<p:player><f:sad>...",
"<p:player><f:sigh>(I have to keep going...)", "<p:player><f:sigh>(I have to keep going...)",
"<p:player>(Standing around won't get me any closer to home.)" "<p:player>(Standing around won't get me any closer to home.)"
}), }),
ponder_chase = pager:create(0, { ponder_chase = pager:create(0, {
"<p:player><f:side>(If I could just talk to them...)", "<p:player><f:side>(If I could just talk to them...)",
"<p:player><f:determined2>(... there's no time to lose!)" "<p:player><f:determined2>(... there's no time to lose!)"
}, { }, {
"<p:player><f:determined>(... I've got to catch up to them!)" "<p:player><f:determined>(... I've got to catch up to them!)"
}), }),
ponder_gate = { ponder_gate = {
"<p:player><f:side>...", "<p:player><f:side>...",
"<p:player><f:side>(I need a closer look at that gate...)" "<p:player><f:side>(I need a closer look at that gate...)"
}, },
ponder_shock = function() ponder_shock = function()
return { return {
"<p:player><f:side>(... hm...)", "<p:player><f:side>(... hm...)",
unpack(accessor.item_glove1 and accessor.item_glove2 and accessor.item_boot1 and accessor.item_boot2 and unpack(accessor.item_glove1 and accessor.item_glove2 and accessor.item_boot1 and accessor.item_boot2 and
({ ({
"<p:player><f:side>(I have these gloves... and these boots...)", "<p:player><f:side>(I have these gloves... and these boots...)",
"<p:player>(Oh! I can use these to climb the gate safely!)" "<p:player>(Oh! I can use these to climb the gate safely!)"
}) or }) or
(accessor.item_glove1 and accessor.item_glove2 and ((accessor.item_boot1 or accessor.item_boot2) and ({ (accessor.item_glove1 and accessor.item_glove2 and ((accessor.item_boot1 or accessor.item_boot2) and ({
"<p:player><f:side>(I have these gloves... and this boot...)", "<p:player><f:side>(I have these gloves... and this boot...)",
"<p:player>(With one more boot, I could climb the gate safely.)" "<p:player>(With one more boot, I could climb the gate safely.)"
}) or ({ }) or ({
"<p:player><f:side>(I have these gloves...)", "<p:player><f:side>(I have these gloves...)",
"<p:player>(If I had something to protect my feet, I could climb the gate safely.)" "<p:player>(If I had something to protect my feet, I could climb the gate safely.)"
})) or (accessor.item_boot1 and accessor.item_boot2 and ((accessor.item_glove1 or accessor.item_glove2) and ({ })) or (accessor.item_boot1 and accessor.item_boot2 and ((accessor.item_glove1 or accessor.item_glove2) and ({
"<p:player><f:side>(I have these boots... and this glove...)", "<p:player><f:side>(I have these boots... and this glove...)",
"<p:player>(With one more glove, I could climb the gate safely.)" "<p:player>(With one more glove, I could climb the gate safely.)"
}) or ({ }) or ({
"<p:player><f:side>(I have these boots...)", "<p:player><f:side>(I have these boots...)",
"<p:player>(If I had something to protect my hands, I could climb the gate safely.)" "<p:player>(If I had something to protect my hands, I could climb the gate safely.)"
})) or ((accessor.item_glove1 or accessor.item_glove2) and ((accessor.item_boot1 or accessor.item_boot2) and ({ })) or ((accessor.item_glove1 or accessor.item_glove2) and ((accessor.item_boot1 or accessor.item_boot2) and ({
"<p:player><f:side>(I have this glove... and this boot...)", "<p:player><f:side>(I have this glove... and this boot...)",
"<p:player>(If only I could duplicate them, I could climb the gate safely.)" "<p:player>(If only I could duplicate them, I could climb the gate safely.)"
}) or ({ }) or ({
"<p:player><f:side>(I have this glove...)", "<p:player><f:side>(I have this glove...)",
"<p:player><f:side>(If I had another glove, and something to protect my feet...)", "<p:player><f:side>(If I had another glove, and something to protect my feet...)",
"<p:player>(... I could climb the gate safely.)" "<p:player>(... I could climb the gate safely.)"
})) or ((accessor.item_boot1 or accessor.item_boot2) and ({ })) or ((accessor.item_boot1 or accessor.item_boot2) and ({
"<p:player><f:side>(I have this boot...)", "<p:player><f:side>(I have this boot...)",
"<p:player><f:side>(If I had another boot, and something to protect my hands...)", "<p:player><f:side>(If I had another boot, and something to protect my hands...)",
"<p:player>(... I could climb the gate safely.)" "<p:player>(... I could climb the gate safely.)"
}) or ({ }) or ({
"<p:player><f:side>(If I had some extra gear to protect myself...)", "<p:player><f:side>(If I had some extra gear to protect myself...)",
"<p:player>(... I could climb the gate safely.)" "<p:player>(... I could climb the gate safely.)"
})))))) }))))))
} }
end, end,
ponder_gear = { ponder_gear = {
"<p:player><f:side>(... I think, with this extra gear I've found...)", "<p:player><f:side>(... I think, with this extra gear I've found...)",
"<p:player>(... climbing the gate should be safe.)" "<p:player>(... climbing the gate should be safe.)"
}, },
ponder_unlock = { ponder_unlock = {
"<p:player>(... hm.)", "<p:player>(... hm.)",
"<p:player><f:sigh>(Better get going before someone closes the gate again.)" "<p:player><f:sigh>(Better get going before someone closes the gate again.)"
}, },
ponder_factory = pager:create(0, { ponder_factory = pager:create(0, {
"<p:player><f:side>...让我猜的话,\n这儿看着像座糖浆厂。)", "<p:player><f:side>...让我猜的话,\n这儿看着像座糖浆厂。)",
"<p:player>(不太确定,反正肯定是某种工厂。)", "<p:player>(不太确定,反正肯定是某种工厂。)",
@ -389,25 +389,25 @@ local function textGen(pager)
pipewerx3 = "(Arrange the pipes to connect\nthe two endpoints.)", pipewerx3 = "(Arrange the pipes to connect\nthe two endpoints.)",
pipewerx4 = "(Press [X] to exit.)", pipewerx4 = "(Press [X] to exit.)",
system1 = { system1 = {
"Platform Engaged.", "Platform Engaged.",
"Selecting Mode: Transit", "Selecting Mode: Transit",
"Selecting Destination: CRIMSON", "Selecting Destination: CRIMSON",
"Transit In Progress..." "Transit In Progress..."
}, },
system2 = "`~1!2@3#4$5%6^7&8*9(0)-_=+[]\\|;:'\",<.>/?", system2 = "`~1!2@3#4$5%6^7&8*9(0)-_=+[]\\|;:'\",<.>/?",
arrival1 = { arrival1 = {
"<p:player><f:sweat>..." "<p:player><f:sweat>..."
}, },
arrival2 = { arrival2 = {
"<p:player><f:side>(It's the same as before...)", "<p:player><f:side>(It's the same as before...)",
"<p:player><f:sweat4>(... guess I... didn't really know what I was expecting.)" "<p:player><f:sweat4>(... guess I... didn't really know what I was expecting.)"
}, },
arrival3 = { arrival3 = {
"<p:player><f:what>Whoa." "<p:player><f:what>Whoa."
}, },
arrival4 = { arrival4 = {
"<p:player><f:what>That's big." "<p:player><f:what>That's big."
}, },
arrival5 = { arrival5 = {
"<p:player><f:sigh>(哎,说到底,这儿不是家啊。)", "<p:player><f:sigh>(哎,说到底,这儿不是家啊。)",
"<p:player>(起码... 不用困在怪房子里了。)", "<p:player>(起码... 不用困在怪房子里了。)",
@ -418,174 +418,174 @@ local function textGen(pager)
"<p:player><f:sigh>(...但愿我能找到把伞吧。)" "<p:player><f:sigh>(...但愿我能找到把伞吧。)"
}, },
stowaway1 = { stowaway1 = {
"<p:player><f:sweat>...", "<p:player><f:sweat>...",
"<p:player><f:sweat3>H... hello?" "<p:player><f:sweat3>H... hello?"
}, },
stowaway2 = { stowaway2 = {
"<p:player><f:sad2>Wait, don't go! I..." "<p:player><f:sad2>Wait, don't go! I..."
}, },
stowaway3 = { stowaway3 = {
"<p:player><f:determined>... get back here!" "<p:player><f:determined>... get back here!"
}, },
stowaway4 = { stowaway4 = {
"<p:player><f:determined2>Hey, you!" "<p:player><f:determined2>Hey, you!"
}, },
stowaway5 = { stowaway5 = {
"<p:player><f:sweat3>(There's nothing to be afraid of...)" "<p:player><f:sweat3>(There's nothing to be afraid of...)"
}, },
stowaway6 = { stowaway6 = {
"<p:player><f:upset2>No, no, no!" "<p:player><f:upset2>No, no, no!"
}, },
stowaway7 = { stowaway7 = {
"<p:player><f:annoyed>(... slam the gate on me, why don't you...)" "<p:player><f:annoyed>(... slam the gate on me, why don't you...)"
}, },
bushitem1 = { bushitem1 = {
"<p:player><f:side>(There's something buried in here...)", "<p:player><f:side>(There's something buried in here...)",
"<p:none>Pick it up?" "<p:none>Pick it up?"
}, },
bushitem2 = { bushitem2 = {
"Yes", "Yes",
"No" "No"
}, },
glover0 = "Work Glove", glover0 = "Work Glove",
glover1 = { glover1 = {
"<p:player><f:surprise>(A glove!)", "<p:player><f:surprise>(A glove!)",
"<h:a><p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", "<h:a><p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.",
"<p:player><f:sodesuka>(Feels... tough.)" "<p:player><f:sodesuka>(Feels... tough.)"
}, },
glover2 = { glover2 = {
"<p:player><f:surprise>(Another glove!)", "<p:player><f:surprise>(Another glove!)",
"<h:a><p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove." "<h:a><p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove."
}, },
glovey1 = { glovey1 = {
"<p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", "<p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.",
"<p:player><f:surprise>(A glove!)", "<p:player><f:surprise>(A glove!)",
"<p:player><f:sodesuka>(Feels... tough.)" "<p:player><f:sodesuka>(Feels... tough.)"
}, },
glovey2 = { glovey2 = {
"<p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", "<p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.",
"<p:player><f:surprise>(Another glove!)" "<p:player><f:surprise>(Another glove!)"
}, },
bootey1 = { bootey1 = {
"<p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", "<p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.",
"<p:player>(... a single boot.)", "<p:player>(... a single boot.)",
"<p:player><f:sigh>(Surely there's another one around, right?)" "<p:player><f:sigh>(Surely there's another one around, right?)"
}, },
bootey2 = { bootey2 = {
"<p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", "<p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.",
"<p:player><f:sigh>(Ah, there it is.)" "<p:player><f:sigh>(Ah, there it is.)"
}, },
booter0 = "Work Boot", booter0 = "Work Boot",
booter1 = { booter1 = {
"<p:player>(... a single boot.)", "<p:player>(... a single boot.)",
"<h:a><p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", "<h:a><p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.",
"<p:player><f:sigh>(Surely there's another one around, right?)" "<p:player><f:sigh>(Surely there's another one around, right?)"
}, },
booter2 = { booter2 = {
"<p:player><f:sigh>(Ah, there it is.)", "<p:player><f:sigh>(Ah, there it is.)",
"<h:a><p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot." "<h:a><p:none>{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot."
}, },
drillie1 = pager:create(0, { drillie1 = pager:create(0, {
"<p:player><f:sigh>(I could just use this drill to open the gate...)", "<p:player><f:sigh>(I could just use this drill to open the gate...)",
"<p:player>(... but in doing so, its batteries would be completely drained.)", "<p:player>(... but in doing so, its batteries would be completely drained.)",
"<p:player><f:confused>(Would I be able to replace them?)" "<p:player><f:confused>(Would I be able to replace them?)"
}, { }, {
"<p:player><f:confused>(Should I use the drill to open the gate, or save it for later?)" "<p:player><f:confused>(Should I use the drill to open the gate, or save it for later?)"
}), }),
drillie2 = { drillie2 = {
"Use The Drill", "Use The Drill",
"Find Another Way" "Find Another Way"
}, },
drillie3 = { drillie3 = {
"<p:player>..." "<p:player>..."
}, },
drillie4 = { drillie4 = {
"<p:player><f:sigh>(... that did the trick.)" "<p:player><f:sigh>(... that did the trick.)"
}, },
gateclimb0 = "Gate", gateclimb0 = "Gate",
gateclimb1 = { gateclimb1 = {
"<p:player><f:side>...", "<p:player><f:side>...",
"<p:player><f:surprise>(Ah! Of course!)", "<p:player><f:surprise>(Ah! Of course!)",
"<p:player><f:determined2>(I'll just climb over it!)" "<p:player><f:determined2>(I'll just climb over it!)"
}, },
gateclimb2a = { gateclimb2a = {
"<p:player><f:annoyed>... ugh..." "<p:player><f:annoyed>... ugh..."
}, },
gateclimb2b = { gateclimb2b = {
"<p:player><f:sweat5>(... guess I'll have to find something else.)" "<p:player><f:sweat5>(... guess I'll have to find something else.)"
}, },
gateclimb2c = { gateclimb2c = {
"<p:player><f:side>(Wait. I have these gloves and boots...)", "<p:player><f:side>(Wait. I have these gloves and boots...)",
"<p:player>(I could try again with the extra gear to protect myself.)", "<p:player>(I could try again with the extra gear to protect myself.)",
"<p:none>Climb over the gate?" "<p:none>Climb over the gate?"
}, },
gateclimb3 = { gateclimb3 = {
"<p:player><f:sweat>(It's electrically charged.)" "<p:player><f:sweat>(It's electrically charged.)"
}, },
gateclimb4 = { gateclimb4 = {
"<p:player><f:sigh>(Can't climb over the gate without extra gear.)" "<p:player><f:sigh>(Can't climb over the gate without extra gear.)"
}, },
gateclimb5 = pager:create( gateclimb5 = pager:create(
0, 0,
function() function()
local ____array_0 = __TS__SparseArrayNew(unpack(accessor.event_redleaf_gateclimb == 2 and ({ local ____array_0 = __TS__SparseArrayNew(unpack(accessor.event_redleaf_gateclimb == 2 and ({
"<p:player>(I have the extra gear I need to protect myself.)" "<p:player>(I have the extra gear I need to protect myself.)"
}) or ({ }) or ({
"<p:player><f:side>(Wait. I have these gloves and boots now...)", "<p:player><f:side>(Wait. I have these gloves and boots now...)",
"<p:player>(I could try again with the extra gear to protect myself.)" "<p:player>(I could try again with the extra gear to protect myself.)"
}))) })))
__TS__SparseArrayPush(____array_0, "<p:none>Climb over the gate?") __TS__SparseArrayPush(____array_0, "<p:none>Climb over the gate?")
return { __TS__SparseArraySpread(____array_0) } return { __TS__SparseArraySpread(____array_0) }
end, end,
{ {
"<p:none>Climb over the gate?" "<p:none>Climb over the gate?"
} }
), ),
gateclimb6 = { gateclimb6 = {
"Yes", "Yes",
"No" "No"
}, },
gateclimb7 = { gateclimb7 = {
"<p:player><f:sigh>(Third climb's the charm. placeholder :3)" "<p:player><f:sigh>(Third climb's the charm. placeholder :3)"
}, },
gateclimb8 = { gateclimb8 = {
"<p:player><f:determined2>(Alright!)" "<p:player><f:determined2>(Alright!)"
}, },
gateclimb9 = { gateclimb9 = {
"<p:player><f:confused>(Is this... a factory?)" "<p:player><f:confused>(Is this... a factory?)"
}, },
gateclimb10 = { gateclimb10 = {
"<p:player><f:sodesuka>(Time to find out what that rascal was up to.)" "<p:player><f:sodesuka>(Time to find out what that rascal was up to.)"
} }
}, },
trivia = { trivia = {
tree = { tree = {
"<p:player><f:surprise>It's a tree! (placeholder :3)" "<p:player><f:surprise>It's a tree! (placeholder :3)"
}, },
barrel = { barrel = {
"<p:player><f:side>Barrel barrel barrel- (placeholder :3)" "<p:player><f:side>Barrel barrel barrel- (placeholder :3)"
}, },
lid = { lid = {
"<p:player><f:annoyed>A lid. (placeholder :3)" "<p:player><f:annoyed>A lid. (placeholder :3)"
}, },
facsign = { facsign = {
"<p:player>\"REDLEAF INDUSTRIES\"\n\"Factory Grounds Nearby\"" "<p:player>\"REDLEAF INDUSTRIES\"\n\"Factory Grounds Nearby\""
}, },
sapsign = { sapsign = {
"<p:player>\"Kotokura Syrup Exports\"\n\"Redleaf Industries\"" "<p:player>\"Kotokura Syrup Exports\"\n\"Redleaf Industries\""
}, },
carsign = pager:create(0, { carsign = pager:create(0, {
"<p:player><f:sweat>\"Danger: Industrial Vehicles\"", "<p:player><f:sweat>\"Danger: Industrial Vehicles\"",
"<p:player><f:side>(Guess I should be careful...)" "<p:player><f:side>(Guess I should be careful...)"
}, { }, {
"<p:player><f:sweat>\"Danger: Industrial Vehicles\"" "<p:player><f:sweat>\"Danger: Industrial Vehicles\""
}), }),
powertower = { powertower = {
"<p:player><f:confused>A powertower? (placeholder :3)" "<p:player><f:confused>A powertower? (placeholder :3)"
}, },
placeholder2 = pager:create(0, { placeholder2 = pager:create(0, {
"<p:player>placeholder :3" "<p:player>placeholder :3"
}) })
}, },
trivia_tooltip = { trivia_tooltip = {
tree = "Tree", tree = "Tree",