diff --git a/.gitignore b/.gitignore index ae688c4..f5ceb04 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ # ---> Lua -/gamebuild +gamebuild # Compiled Lua sources luac.out diff --git a/code/maps/home.lua b/code/maps/home.lua index d989fe5..62ef9fc 100644 --- a/code/maps/home.lua +++ b/code/maps/home.lua @@ -248,67 +248,67 @@ local function textGen(pager) name = "Book", info = function() return ({ { - "\"The Jensen Paradox, third installment in the Jensen series.\"", - "\"How will they escape last time?\"" - }, { - "\"Surface Tension, the hotel nobody ever leaves.\"", - "\"An endless maze of hallways, doors, swimming pools and libraries...\"" - }, { - "\"Astrae Symphonia, a tale of intrigue, emotion, and music.\"", - "\"Follow this rogue starship to the edge of the galaxy!\"" - } })[accessor.choice_home_book + 1] +"\"The Jensen Paradox, third installment in the Jensen series.\"", +"\"How will they escape last time?\"" +}, { +"\"Surface Tension, the hotel nobody ever leaves.\"", +"\"An endless maze of hallways, doors, swimming pools and libraries...\"" +}, { +"\"Astrae Symphonia, a tale of intrigue, emotion, and music.\"", +"\"Follow this rogue starship to the edge of the galaxy!\"" +} })[accessor.choice_home_book + 1] end }, item_rock = { name = "Rocks" }, item_batteries = { name = "Batteries", info = { - "(Type four batteries. Good for small devices and tools.)" - } +"(Type four batteries. Good for small devices and tools.)" +} }, item_cover = { name = function() return accessor.item_scissors and "Blanket Rope" or "Blanket" end, info = function() return accessor.item_scissors and ({ - "(A makeshift \"rope\" made from pieces of a blanket.)" - }) or ({ - "(A comfortable blanket. Haven't found something to cut it with yet.)" - }) +"(A makeshift \"rope\" made from pieces of a blanket.)" +}) or ({ +"(A comfortable blanket. Haven't found something to cut it with yet.)" +}) end }, item_crowbar = { name = "Metal Bar", info = { - "(One bar of pure bed frame.)", - "(It's really heavy.)" - } +"(One bar of pure bed frame.)", +"(It's really heavy.)" +} }, ponder_book = pager:create(0, { - "(You ponder why you're still awake.)", - "(You realize you don't have a book to read in bed.)" - }, { - "(You ponder what kind of book you'd like to read.)", - "(You're realize you're in the mood for something novel.)" - }), +"(You ponder why you're still awake.)", +"(You realize you don't have a book to read in bed.)" +}, { +"(You ponder what kind of book you'd like to read.)", +"(You're realize you're in the mood for something novel.)" +}), ponder_sleep = { - "(You ponder why you're still awake.)", - "(You realize you should probably go to bed now.)" - }, +"(You ponder why you're still awake.)", +"(You realize you should probably go to bed now.)" +}, ponder_hello = { - "...", - "(I don't really know where I am.)", - "(Exploring might give me a better idea...)" - }, +"...", +"(I don't really know where I am.)", +"(Exploring might give me a better idea...)" +}, ponder_outside = pager:create( 0, { - "...", - "(This... house... doesn't make any sense.)", - "(How is it just... floating?)", - "(Why is there nothing else out there?)", - "(If I could find something to \"test\" this place...)", - "(... it might give me a clue how to escape it.)" - }, +"...", +"(This... house... doesn't make any sense.)", +"(How is it just... floating?)", +"(Why is there nothing else out there?)", +"(If I could find something to \"test\" this place...)", +"(... it might give me a clue how to escape it.)" +}, function() return { "(I'm looking for a way to escape.)", "(To do that, I need to know what this place's limits are.)", @@ -319,26 +319,26 @@ local function textGen(pager) ), ponder_platform = function() return accessor.item_cover and (accessor.item_scissors and ({ - "(So far, I've cut this blanket and made it into a rope.)", - "(Now, I just need something to hold it in place for the climb...)", - "(... something strong and sturdy, like metal.)" - }) or ({ - "(So far, I've found a blanket, which I can make into a rope.)", - "(I still need something to cut it with.)" - })) or ({ - "(I need to find a way down to that platform.)", - "(It's too far to jump, so I'll have to try something else.)", - "(A rope would do the trick...)" - }) +"(So far, I've cut this blanket and made it into a rope.)", +"(Now, I just need something to hold it in place for the climb...)", +"(... something strong and sturdy, like metal.)" +}) or ({ +"(So far, I've found a blanket, which I can make into a rope.)", +"(I still need something to cut it with.)" +})) or ({ +"(I need to find a way down to that platform.)", +"(It's too far to jump, so I'll have to try something else.)", +"(A rope would do the trick...)" +}) end, ponder_exit = pager:create(0, { - "...", - "(It's strange... omething about this house is comfortable.)", - "(In another life, I could see myself living here...)" - }, { - "(There's nothing else for me to do here.)", - "(It's time to go.)" - }), +"...", +"(It's strange... omething about this house is comfortable.)", +"(In another life, I could see myself living here...)" +}, { +"(There's nothing else for me to do here.)", +"(It's time to go.)" +}), overworld = { start1 = "WARNING", start2 = @@ -354,54 +354,54 @@ local function textGen(pager) tutorial7 = "Hold [Z], then release.", tutorial8 = "Press [←] [→] to climb.", blocker1 = { - "(You'll be safer indoors this late at night.)" - }, +"(You'll be safer indoors this late at night.)" +}, blocker2 = { - "(You're forgetting something.)" - }, +"(You're forgetting something.)" +}, blocker3 = { - "Go upstairs and complete the tutorial?" - }, +"Go upstairs and complete the tutorial?" +}, blocker4 = { - "Go Upstairs", - "Not Yet" - }, +"Go Upstairs", +"Not Yet" +}, blocker5 = { - "Go outside and climb down to the golden platform?" - }, +"Go outside and climb down to the golden platform?" +}, blocker6 = { - "Go Outside", - "Not Yet" - }, +"Go Outside", +"Not Yet" +}, bookshelf1 = { - "Get a book?" - }, +"Get a book?" +}, bookshelf2 = { - "The Jensen Paradox (Action)", - "Surface Tension (Surreal)", - "Astrae Symphonia (Space)", - "Not Yet" - }, +"The Jensen Paradox (Action)", +"Surface Tension (Surreal)", +"Astrae Symphonia (Space)", +"Not Yet" +}, bookshelf3 = { - "(You got the Book.)" - }, +"(You got the Book.)" +}, bookshelf4 = { - "(You decide not to get a book.)" - }, +"(You decide not to get a book.)" +}, hello1 = { - "...", - "(This isn't my bed.)" - }, +"...", +"(This isn't my bed.)" +}, hello2 = { - "(... maybe I slept on the wrong antenna...)" - }, +"(... maybe I slept on the wrong antenna...)" +}, hello3 = { - "(No, no... this isn't my home at all.)", - "(How did I get here? Did someone... kidnap me?)" - }, +"(No, no... this isn't my home at all.)", +"(How did I get here? Did someone... kidnap me?)" +}, hello4 = { - "(I don't remember being taken...)" - }, +"(I don't remember being taken...)" +}, goatplush0 = "Plushie", goatplush1 = pager:create( 0, @@ -411,25 +411,25 @@ local function textGen(pager) "(... did you follow me here, to this strange place?)", "Pick them up?" } end, { - "Pick them up?" - } +"Pick them up?" +} ), goatplush2 = { - "Yes", - "No" - }, +"Yes", +"No" +}, goatplush3 = { - "Come here, you.", - "{color=0xa289dc}Dysu{color=0xffffff} got the Plushie.", - "...", - "(Maybe I should hold onto this for a while.)" - }, +"Come here, you.", +"{color=0xa289dc}Dysu{color=0xffffff} got the Plushie.", +"...", +"(Maybe I should hold onto this for a while.)" +}, fusebox1 = function() return { "(An electric routing box...)", unpack(accessor.plot < 2 and ({ - "(Maybe I can get main power back on.)" - }) or ({})) +"(Maybe I can get main power back on.)" +}) or ({})) } end, fusebox2 = "KITCHEN", @@ -441,38 +441,38 @@ local function textGen(pager) fusebox8 = "ON", fusebox9 = "OFF", lightswitch = { - "(No power.)" - }, +"(No power.)" +}, telecomm1 = function() return { "(A comms device. Must be battery-powered.)", unpack(accessor.plot < 2 and ({ - "(Only two receivers on the contact list...?)" - }) or ({})) +"(Only two receivers on the contact list...?)" +}) or ({})) } end, telecomm2 = { - "What will you do?" - }, +"What will you do?" +}, telecomm3a = { - "Call Work", - "Call Neighbors", - "Play Back Message", - "Never Mind" - }, +"Call Work", +"Call Neighbors", +"Play Back Message", +"Never Mind" +}, telecomm3b = { - "Call Work", - "Call Neighbors", - "Never Mind" - }, +"Call Work", +"Call Neighbors", +"Never Mind" +}, telecomm4 = { { - "(Calling... Work.)" - }, { - "(Calling... Neighbors.)" - } }, +"(Calling... Work.)" +}, { +"(Calling... Neighbors.)" +} }, telecomm5 = { - "(That Receiver Does Not Exist.)" - }, +"(That Receiver Does Not Exist.)" +}, telecomm6 = function() return { "(Beginning Playback...)", @@ -482,12 +482,12 @@ local function textGen(pager) unpack(accessor.state_home_telecomm_message == 0 and ({ "(Oh. It's just a scam.)", unpack(accessor.event_home_outside and ({ - "(I'd delete the message, if it wasn't for the small possibility...)", - "(... that this might be the last other person's voice I hear.)" - }) or ({ - "(Nobody would mind if I deleted this, would they?)", - "(Message Deleted.)" - })) +"(I'd delete the message, if it wasn't for the small possibility...)", +"(... that this might be the last other person's voice I hear.)" +}) or ({ +"(Nobody would mind if I deleted this, would they?)", +"(Message Deleted.)" +})) }) or ({})) } end, @@ -498,122 +498,122 @@ local function textGen(pager) "(Actually, before I go...)", "Eat something from the fridge?" } end, { - "Eat something from the fridge?" - } +"Eat something from the fridge?" +} ), fridge2 = { - "Boka Fruit", - "Tenzka Tracks Ice Cream", - "Morning Leftovers", - "Never Mind" - }, +"Boka Fruit", +"Tenzka Tracks Ice Cream", +"Morning Leftovers", +"Never Mind" +}, fridge3 = { { - "(These better be home-grown.)" - }, { - "(My favorite food! I must be lucky.)" - }, { - "(... it's better than nothing.)" - }, { - "..." - } }, +"(These better be home-grown.)" +}, { +"(My favorite food! I must be lucky.)" +}, { +"(... it's better than nothing.)" +}, { +"..." +} }, fridge4 = { { - "(Huh. Those were actually pretty good.)" - }, { - "(... might've eaten too much.)" - }, { - "..." - } }, +"(Huh. Those were actually pretty good.)" +}, { +"(... might've eaten too much.)" +}, { +"..." +} }, fridge5 = function() return accessor.plot < 2 and ({ - "(Oh... right.)", - "(I'm still trying to get out of here.)" - }) or ({ - "(... time to get back to what I was doing.)" - }) +"(Oh... right.)", +"(I'm still trying to get out of here.)" +}) or ({ +"(... time to get back to what I was doing.)" +}) end, outside1 = { - "(What the...)", - "..." - }, +"(What the...)", +"..." +}, outside2 = { - "(What IS this?)", - "(W... where am I?)" - }, +"(What IS this?)", +"(W... where am I?)" +}, outside3 = { - "(It's everywhere.)", - "(Everywhere I turn, it's just...)" - }, +"(It's everywhere.)", +"(Everywhere I turn, it's just...)" +}, outside4 = { - "(I... I have to get out of here...)" - }, +"(I... I have to get out of here...)" +}, telescope1 = { - "(The telescope...)" - }, +"(The telescope...)" +}, telescope2 = { - "(Maybe I'll spot something in the distance.)" - }, +"(Maybe I'll spot something in the distance.)" +}, basket1a = { - "...", - "(Wait, that box on the bookshelf...)", - "(It's the lockbox from the note!)" - }, +"...", +"(Wait, that box on the bookshelf...)", +"(It's the lockbox from the note!)" +}, basket1b = { - "(Hm...)" - }, +"(Hm...)" +}, basket2 = { - "{color=0xa289dc}Dysu{color=0xffffff} got the Library Card.", - "(There!)" - }, +"{color=0xa289dc}Dysu{color=0xffffff} got the Library Card.", +"(There!)" +}, basket3 = { - "(A library card...?)" - }, +"(A library card...?)" +}, bucket1 = function() return accessor.plot < 3 and (accessor.item_cover and accessor.item_scissors and not accessor.item_crowbar and ({ - "(A rusty shovel. I'd use this as an anchor, but...)" - }) or ({ - "(A rusty shovel. Looks like it's...)" - })) or ({ - "(A rusty shovel...)" - }) +"(A rusty shovel. I'd use this as an anchor, but...)" +}) or ({ +"(A rusty shovel. Looks like it's...)" +})) or ({ +"(A rusty shovel...)" +}) end, bucket2 = function() return { "(Wait.)", unpack(accessor.plot < 2 and ({ - "(What about the pail?)" - }) or ({ - "(That pail might be come in handy.)" - })) +"(What about the pail?)" +}) or ({ +"(That pail might be come in handy.)" +})) } end, bucket3 = function() local ____array_0 = __TS__SparseArrayNew(unpack(accessor.plot < 2 and ({ - "(... how could it be raining when there's nothing else outside?)", - "(Maybe I can learn something by collecting it, and...)", - "(Studying it, I guess.)", - "(... sounds stupid when I think about it like that, but still.)" - }) or ({ - "(Just in case.)" - }))) +"(... how could it be raining when there's nothing else outside?)", +"(Maybe I can learn something by collecting it, and...)", +"(Studying it, I guess.)", +"(... sounds stupid when I think about it like that, but still.)" +}) or ({ +"(Just in case.)" +}))) __TS__SparseArrayPush(____array_0, "{color=0xa289dc}Dysu{color=0xffffff} got the Pail.") return { __TS__SparseArraySpread(____array_0) } end, bucket4 = { - "(Don't think I can collect any rain from here.)" - }, +"(Don't think I can collect any rain from here.)" +}, rain1 = { - "..." - }, +"..." +}, rain2 = { - "(That's weird...)", - "(The rain's definitely going inside, but...)", - "(It's... not filling up.)" - }, +"(That's weird...)", +"(The rain's definitely going inside, but...)", +"(It's... not filling up.)" +}, rain3 = { - "(Freaky.)", - "(... guess I can't learn anything from this, though.)" - }, +"(Freaky.)", +"(... guess I can't learn anything from this, though.)" +}, rope1 = function() return { "(It's a rope. There's not much of it left.)", accessor.plot == 2 and "(Doubt it's enough to reach the platform, but I'll take it anyway.)" or @@ -621,95 +621,95 @@ local function textGen(pager) "{color=0xa289dc}Dysu{color=0xffffff} got the Rope." } end, rope2 = { - "(No use for this indoors.)" - }, +"(No use for this indoors.)" +}, dangle1 = { - "(Hm...)" - }, +"(Hm...)" +}, dangle2 = { - "(No, it's nowhere NEAR long enough to get me down there.)" - }, +"(No, it's nowhere NEAR long enough to get me down there.)" +}, dangle3 = function() return accessor.item_cover and ({ - "(... the blanket plan will have to do.)" - }) or ({ - "(... maybe there's something else I could make a rope out of.)" - }) +"(... the blanket plan will have to do.)" +}) or ({ +"(... maybe there's something else I could make a rope out of.)" +}) end, drill = { - "(A heavy-duty electric drill. Might be useful.)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Drill.", - "(Good thing these batteries were included.)" - }, +"(A heavy-duty electric drill. Might be useful.)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Drill.", +"(Good thing these batteries were included.)" +}, drill_tooltip = "Drill", broombox1 = { - "(A box of old collector's rocks...)", - "(... doubt they're important, so instead, I could try throwing them.)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Rock.", - "(Off the edge.)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Rock.", - "(To see what happens.)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Rock." - }, +"(A box of old collector's rocks...)", +"(... doubt they're important, so instead, I could try throwing them.)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Rock.", +"(Off the edge.)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Rock.", +"(To see what happens.)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Rock." +}, broombox2 = { - "(It's worth a try.)" - }, +"(It's worth a try.)" +}, broombox3 = { - "(Throwing these indoors won't tell me anything.)" - }, +"(Throwing these indoors won't tell me anything.)" +}, golden1 = { - "(... right.)" - }, +"(... right.)" +}, golden2 = { - "...", - "(Get ready...!)" - }, +"...", +"(Get ready...!)" +}, golden3 = { - "...", - "(Maybe I didn't throw it far enough.)" - }, +"...", +"(Maybe I didn't throw it far enough.)" +}, golden4 = { - "(Here we go...)", - "(... again!)" - }, +"(Here we go...)", +"(... again!)" +}, golden5 = { - "...", - "(Nothing...)" - }, +"...", +"(Nothing...)" +}, golden6 = { - "...", - "(... what if I just...)" - }, +"...", +"(... what if I just...)" +}, golden7 = { - "..." - }, +"..." +}, golden8 = { - "(That's new.)" - }, +"(That's new.)" +}, golden9 = { - "...", - "(Doesn't look like part of the house...)", - "(Could that be what's behind all of this?)", - "...", - "(Maybe it's silly, but if...)", - "(If I could get down there somehow...)" - }, +"...", +"(Doesn't look like part of the house...)", +"(Could that be what's behind all of this?)", +"...", +"(Maybe it's silly, but if...)", +"(If I could get down there somehow...)" +}, golden10 = { - "(... I might just be able to escape!)" - }, +"(... I might just be able to escape!)" +}, scissors1 = function() local ____array_1 = __TS__SparseArrayNew(unpack(accessor.item_cover and ({ - "(Scissors! For the blanket!)" - }) or ({ - "(Scissors...)", - "(Could be good to have these on hand.)" - }))) +"(Scissors! For the blanket!)" +}) or ({ +"(Scissors...)", +"(Could be good to have these on hand.)" +}))) __TS__SparseArrayPush( ____array_1, "{color=0xa289dc}Dysu{color=0xffffff} got the Scissors.", unpack(accessor.item_cover and ({ - "(Sorry, little blanket...)" - }) or ({})) +"(Sorry, little blanket...)" +}) or ({})) ) return { __TS__SparseArraySpread(____array_1) } end, @@ -717,16 +717,16 @@ local function textGen(pager) return { "(... that's that taken care of...)", unpack(accessor.item_crowbar and ({ - "(Oh! And I can use the bed frame as an anchor!)" - }) or ({ - "(Now I need something to anchor the \"rope\" to once I'm outside.)" - })) +"(Oh! And I can use the bed frame as an anchor!)" +}) or ({ +"(Now I need something to anchor the \"rope\" to once I'm outside.)" +})) } end, bed1 = { - "(The bed...)", - "(... no...)" - }, +"(The bed...)", +"(... no...)" +}, bed2 = function() return { "(The covers!)", @@ -734,189 +734,189 @@ local function textGen(pager) "(... and make a rope out of it!)", "{color=0xa289dc}Dysu{color=0xffffff} got the Blanket.", unpack(accessor.item_scissors and ({ - "(Sorry, little blanket...)" - }) or ({})) +"(Sorry, little blanket...)" +}) or ({})) } end, bed3 = function() return not accessor.item_scissors and ({ - "(I'll need something to cut it with, though.)" - }) or (not accessor.item_crowbar and ({ - "(Now I need something to anchor the \"rope\" to once I'm outside.)" - }) or ({ - "(Oh! And I can use the bed frame as an anchor!)" - })) +"(I'll need something to cut it with, though.)" +}) or (not accessor.item_crowbar and ({ +"(Now I need something to anchor the \"rope\" to once I'm outside.)" +}) or ({ +"(Oh! And I can use the bed frame as an anchor!)" +})) end, framer1 = function() return { "(A metal bed frame. I wonder if I could take it apart...)", unpack(accessor.item_drill and ({ - "(... the drill should do nicely!)" - }) or ({ - "(... not by hand, that's for sure.)" - })) +"(... the drill should do nicely!)" +}) or ({ +"(... not by hand, that's for sure.)" +})) } end, framer2 = function() return { "{color=0xa289dc}Dysu{color=0xffffff} got the Metal Bar.", unpack(accessor.item_cover and accessor.item_scissors and ({ - "..." - }) or ({ - "(Nice!)" - })) +"..." +}) or ({ +"(Nice!)" +})) } end, framer3 = { - "(... wait! That's it!)", - "(I'll attach the \"rope\" to the bar, place it behind the doorway...)", - "(... and climb my way down to the platform!)" - }, +"(... wait! That's it!)", +"(I'll attach the \"rope\" to the bar, place it behind the doorway...)", +"(... and climb my way down to the platform!)" +}, done1 = { - "(I'll attach the \"rope\" to it, place it behind the doorway...)", - "(... and climb my way down to the platform!)" - }, +"(I'll attach the \"rope\" to it, place it behind the doorway...)", +"(... and climb my way down to the platform!)" +}, done2 = { - "(About time...)" - }, +"(About time...)" +}, exit1 = { - "(Well, that should do it...)" - }, +"(Well, that should do it...)" +}, exit2 = { - "(Don't look down.)" - }, +"(Don't look down.)" +}, exit3 = { - "... I made it! I'm here!", - "I'm actually..." - }, +"... I made it! I'm here!", +"I'm actually..." +}, exit4 = { - "(What the-)" - } +"(What the-)" +} }, trivia = { window = function() return accessor.plot < 1 and ({ - "(You peer through the window, observing the outdoor nightlife.)" - }) or (accessor.plot < 2 and (not accessor.event_home_outside and ({ - "(That's weird...)", - "(... can't see anything out there.)" - }) or ({ - "..." - })) or ({ - "..." - })) +"(You peer through the window, observing the outdoor nightlife.)" +}) or (accessor.plot < 2 and (not accessor.event_home_outside and ({ +"(That's weird...)", +"(... can't see anything out there.)" +}) or ({ +"..." +})) or ({ +"..." +})) end, bed = function() return not accessor.item_cover and ({ - "(A surprisingly comfortable bed.)" - }) or (accessor.plot < 3 and ({ - "(Probably not as comfortable anymore.)" - }) or ({ - "(A bed.)" - })) +"(A surprisingly comfortable bed.)" +}) or (accessor.plot < 3 and ({ +"(Probably not as comfortable anymore.)" +}) or ({ +"(A bed.)" +})) end, computer = function() return { "(A computer.)", unpack(not accessor.event_home_outside and ({ - "(The neural input looks worn out. Must have seen a lot of use.)" - }) or (accessor.plot < 3 and ({ - "(Without any power, it's just a box.)" - }) or ({}))) +"(The neural input looks worn out. Must have seen a lot of use.)" +}) or (accessor.plot < 3 and ({ +"(Without any power, it's just a box.)" +}) or ({}))) } end, chair = function() return accessor.plot < 3 and ({ - "(Just a chair.)" - }) or ({ - "(Despite everything, it's still just a chair.)" - }) +"(Just a chair.)" +}) or ({ +"(Despite everything, it's still just a chair.)" +}) end, dresser1 = function() return accessor.plot < 2 and ({ - "(Lots of toys and trinkets in these drawers.)" - }) or (accessor.plot < 3 and ({ - "(Now's not the time for souvenirs.)" - }) or ({ - "(Toys and trinkets.)" - })) +"(Lots of toys and trinkets in these drawers.)" +}) or (accessor.plot < 3 and ({ +"(Now's not the time for souvenirs.)" +}) or ({ +"(Toys and trinkets.)" +})) end, dresser2 = function() return accessor.plot < 2 and ({ - "(Nothing but antenna warmers in these drawers.)" - }) or (accessor.plot < 3 and ({ - "(Antenna warmers won't help me reach the platform.)" - }) or ({ - "(Antenna warmers.)" - })) +"(Nothing but antenna warmers in these drawers.)" +}) or (accessor.plot < 3 and ({ +"(Antenna warmers won't help me reach the platform.)" +}) or ({ +"(Antenna warmers.)" +})) end, book = function() return accessor.plot < 3 and ({ ({ - "(\"The Jensen Paradox...\")", - "(\"Surface Tension...\")", - "(\"Astrae Symphonia...\")" - })[accessor.choice_home_book + 1], accessor.plot < 2 and "(Not a bad choice.)" or "(... part of this story might be coming true.)" }) or +"(\"The Jensen Paradox...\")", +"(\"Surface Tension...\")", +"(\"Astrae Symphonia...\")" +})[accessor.choice_home_book + 1], accessor.plot < 2 and "(Not a bad choice.)" or "(... part of this story might be coming true.)" }) or ({ { - "(\"The Jensen Paradox.\")" - }, { - "(\"Surface Tension.\")" - }, { - "(\"Astrae Symphonia.\")" - } })[accessor.choice_home_book + 1] +"(\"The Jensen Paradox.\")" +}, { +"(\"Surface Tension.\")" +}, { +"(\"Astrae Symphonia.\")" +} })[accessor.choice_home_book + 1] end, cutetunnel = function() return accessor.plot < 2 and ({ - "(Painting of a wild arkette staring down a corridor.)" - }) or ({ - "(... you and me both, little arkette.)" - }) +"(Painting of a wild arkette staring down a corridor.)" +}) or ({ +"(... you and me both, little arkette.)" +}) end, toy = function() return accessor.plot < 2 and ({ - "(A perpetual motion toy?)", - "(Wonder how long it's been going...)" - }) or (accessor.plot < 3 and ({ - "(Wait, wasn't this toy doing something earlier?)" - }) or ({ - "(A simple toy.)" - })) +"(A perpetual motion toy?)", +"(Wonder how long it's been going...)" +}) or (accessor.plot < 3 and ({ +"(Wait, wasn't this toy doing something earlier?)" +}) or ({ +"(A simple toy.)" +})) end, plant = function() return { "(Baby boka tree.)", unpack(accessor.plot < 2 and ({ - "(Seems like it's almost ready to be planted...)" - }) or (accessor.plot < 3 and ({ - "(Shame there's nowhere to plant this.)" - }) or ({}))) +"(Seems like it's almost ready to be planted...)" +}) or (accessor.plot < 3 and ({ +"(Shame there's nowhere to plant this.)" +}) or ({}))) } end, shovel = function() return accessor.item_bucket and ({ - "(A rusty shovel with a great big hole in it.)" - }) or +"(A rusty shovel with a great big hole in it.)" +}) or (accessor.plot < 3 and (accessor.item_cover and accessor.item_scissors and not accessor.item_crowbar and ({ - "(A rusty shovel. I'd use this as an anchor...)", - "(... if it wasn't such a piece of junk.)" - }) or ({ - "(A rusty shovel. Looks like it's about to fall apart.)" - })) or ({ - "(Useless shovel.)" - })) +"(A rusty shovel. I'd use this as an anchor...)", +"(... if it wasn't such a piece of junk.)" +}) or ({ +"(A rusty shovel. Looks like it's about to fall apart.)" +})) or ({ +"(Useless shovel.)" +})) end, broombox = function() return accessor.item_rock and ({ - "(An old broom with a broken handle.)" - }) or ({ - "(An old broom and some fancy rocks. The broom's handle is broken.)" - }) +"(An old broom with a broken handle.)" +}) or ({ +"(An old broom and some fancy rocks. The broom's handle is broken.)" +}) end, dresserdrawer1 = { - "(An empty dresser drawer.)" - }, +"(An empty dresser drawer.)" +}, dresserdrawer2 = { - "(An empty dresser drawer. It's stuck open.)" - }, +"(An empty dresser drawer. It's stuck open.)" +}, dresserpaper = function() return { "\"After much deliberation, we have come to an agreement.\"", @@ -928,222 +928,222 @@ local function textGen(pager) end, mattress = function() return accessor.plot < 3 and ({ - "(Don't think this mattress has ever been slept on.)" - }) or ({ - "(Unused mattress.)" - }) +"(Don't think this mattress has ever been slept on.)" +}) or ({ +"(Unused mattress.)" +}) end, bin = { - "(An empty bin with a cleaning towel draped over the side.)" - }, +"(An empty bin with a cleaning towel draped over the side.)" +}, bedframe = function() return accessor.plot < 2 and ({ - "(A metal bed frame. The most dangerous object in the universe.)" - }) or ({ - "(A metal bed frame, with one side removed.)", - "(If anything, this makes it MORE dangerous...)" - }) +"(A metal bed frame. The most dangerous object in the universe.)" +}) or ({ +"(A metal bed frame, with one side removed.)", +"(If anything, this makes it MORE dangerous...)" +}) end, fusebox = { - "(The box emits a faint hum of electricity.)" - }, +"(The box emits a faint hum of electricity.)" +}, lightswitch = { - "(A light switch.)" - }, +"(A light switch.)" +}, lamp = function() return accessor.plot < 1 and ({ - "(Favoring darkness's allure, you'd rather keep the lamp off.)" - }) or ({ +"(Favoring darkness's allure, you'd rather keep the lamp off.)" +}) or ({ "(A lamp.)", unpack(accessor.plot < 3 and ({ - "(... not something I use very often.)" - }) or ({})) +"(... not something I use very often.)" +}) or ({})) }) end, telescope = function() return accessor.plot < 1 and ({ - "(A telescope, still in its bag. You'll get it out eventually.)" - }) or ({ - "(A bagged-up telescope. That's a shame...)" - }) +"(A telescope, still in its bag. You'll get it out eventually.)" +}) or ({ +"(A bagged-up telescope. That's a shame...)" +}) end, bookshelf = function() return accessor.plot < 1 and ({ - "(In your opinion, books are the ideal medium for fiction.)" - }) or (not accessor.event_home_secret and ({ - "(This is a very good bookshelf. Almost makes me want to stay...)" - }) or (accessor.event_home_bookshelf < 1 and ({ - "(There's a broken lockbox up there, alright...)" - }) or (accessor.event_home_bookshelf < 2 and ({ - "(The box is too high for me to reach it.)" - }) or ({ - "(A gateway to reading, in more ways than one.)" - })))) +"(In your opinion, books are the ideal medium for fiction.)" +}) or (not accessor.event_home_secret and ({ +"(This is a very good bookshelf. Almost makes me want to stay...)" +}) or (accessor.event_home_bookshelf < 1 and ({ +"(There's a broken lockbox up there, alright...)" +}) or (accessor.event_home_bookshelf < 2 and ({ +"(The box is too high for me to reach it.)" +}) or ({ +"(A gateway to reading, in more ways than one.)" +})))) end, couch = function() return accessor.plot < 1 and ({ - "(The couch. You wonder if you'll fall asleep here again.)" - }) or (accessor.plot < 2 and ({ - "(Someone's been sleeping on this couch, haven't they?)" - }) or ({ - "(Would a couch cushion soften the landing from a big jump?)", - "(... no, too risky.)" - })) +"(The couch. You wonder if you'll fall asleep here again.)" +}) or (accessor.plot < 2 and ({ +"(Someone's been sleeping on this couch, haven't they?)" +}) or ({ +"(Would a couch cushion soften the landing from a big jump?)", +"(... no, too risky.)" +})) end, entertainment = function() return accessor.plot < 1 and ({ - "(The family entertainment center, an essential part of any home.)" - }) or (accessor.plot < 2 and ({ - "(A deluxe-edition family entertainment center.)" - }) or ({ - "(Family entertainment center.)" - })) +"(The family entertainment center, an essential part of any home.)" +}) or (accessor.plot < 2 and ({ +"(A deluxe-edition family entertainment center.)" +}) or ({ +"(Family entertainment center.)" +})) end, SIPPY = function() return accessor.plot < 1 and ({ - "(A set of cups from a local consignment store.)" - }) or (accessor.plot < 2 and ({ - "(Weird cups, full of... weird space fluid, or something.)", - "(It's hard to tell.)" - }) or ({ - "(Better leave these where they are.)" - })) +"(A set of cups from a local consignment store.)" +}) or (accessor.plot < 2 and ({ +"(Weird cups, full of... weird space fluid, or something.)", +"(It's hard to tell.)" +}) or ({ +"(Better leave these where they are.)" +})) end, basket = function() return accessor.plot < 1 and ({ - "(An empty basket. You must have left your best friend upstairs.)" - }) or +"(An empty basket. You must have left your best friend upstairs.)" +}) or (accessor.item_goatplush and ({ "(Somehow, I'm tempted to put the plushie in this basket...)", accessor.floof and "(... of course, I'd still rather keep it on my head.)" or "(... of course, I'd still rather keep it with me.)" }) or ({ - "(Feels like something's missing here.)" - })) +"(Feels like something's missing here.)" +})) end, flipbasket = { - "(The basket has become the stool.)" - }, +"(The basket has become the stool.)" +}, telecomm = { - "(A portable comms device. One new message has been received.)", - "(You'll play it back once you're not so sleepy.)" - }, +"(A portable comms device. One new message has been received.)", +"(You'll play it back once you're not so sleepy.)" +}, diningchair1 = function() return accessor.plot < 1 and ({ - "(Your dining chair.)" - }) or (accessor.plot < 2 and ({ - "(Just a dining chair.)" - }) or ({ - "(No matter what happens, it'll always be a dining chair.)" - })) +"(Your dining chair.)" +}) or (accessor.plot < 2 and ({ +"(Just a dining chair.)" +}) or ({ +"(No matter what happens, it'll always be a dining chair.)" +})) end, diningchair2 = function() return accessor.plot < 1 and ({ - "(A dining chair. You don't have anywhere else to put it.)" - }) or (accessor.plot < 2 and ({ - "(... there's something weird about this dining chair.)" - }) or ({ - "(This really doesn't belong here.)" - })) +"(A dining chair. You don't have anywhere else to put it.)" +}) or (accessor.plot < 2 and ({ +"(... there's something weird about this dining chair.)" +}) or ({ +"(This really doesn't belong here.)" +})) end, sink = function() return accessor.plot < 1 and ({ - "(A leaky faucet. You'd like to fix this as soon as possible.)" - }) or (accessor.plot < 2 and ({ - "(If this was MY house, I'd fix this on the spot.)" - }) or ({ - "(The water's stopped...)" - })) +"(A leaky faucet. You'd like to fix this as soon as possible.)" +}) or (accessor.plot < 2 and ({ +"(If this was MY house, I'd fix this on the spot.)" +}) or ({ +"(The water's stopped...)" +})) end, jars = function() return accessor.plot < 1 and ({ - "(Jars with spices used in fancier meals. They're full to the brim.)" - }) or (accessor.plot < 2 and ({ - "(Never open a stranger's spice jars. Learned that the hard way.)" - }) or ({ - "(Spice jars.)" - })) +"(Jars with spices used in fancier meals. They're full to the brim.)" +}) or (accessor.plot < 2 and ({ +"(Never open a stranger's spice jars. Learned that the hard way.)" +}) or ({ +"(Spice jars.)" +})) end, plate = function() return accessor.plot < 1 and ({ - "(The only dinner plate you'll ever need.)" - }) or (accessor.plot < 2 and ({ - "(A dinner plate. Looks like it's part of a set.)" - }) or ({ - "(A dinner plate.)" - })) +"(The only dinner plate you'll ever need.)" +}) or (accessor.plot < 2 and ({ +"(A dinner plate. Looks like it's part of a set.)" +}) or ({ +"(A dinner plate.)" +})) end, silverware = function() return accessor.plot < 1 and ({ - "(Kitchen utensils. You see no reason to replace them.)" - }) or (accessor.plot < 2 and ({ - "(These utensils seem a little old-fashioned...)" - }) or ({ - "(Kitchen utensils.)" - })) +"(Kitchen utensils. You see no reason to replace them.)" +}) or (accessor.plot < 2 and ({ +"(These utensils seem a little old-fashioned...)" +}) or ({ +"(Kitchen utensils.)" +})) end, behindfridge = function() return accessor.plot < 1 and ({ - "(Plates and bowls stacked neatly in a pile. You don't use these.)" - }) or (accessor.plot < 2 and ({ - "(A pile of freshly-washed dishes.)" - }) or ({ - "(Clean dishes.)" - })) +"(Plates and bowls stacked neatly in a pile. You don't use these.)" +}) or (accessor.plot < 2 and ({ +"(A pile of freshly-washed dishes.)" +}) or ({ +"(Clean dishes.)" +})) end, fridge = function() return accessor.plot < 1 and ({ - "(The fridge. You'd eat something if it wasn't so late.)" - }) or ({ - "(Hope my... er, kidnapper doesn't mind me eating their food.)" - }) +"(The fridge. You'd eat something if it wasn't so late.)" +}) or ({ +"(Hope my... er, kidnapper doesn't mind me eating their food.)" +}) end, stove = function() return accessor.plot < 1 and ({ - "(A laser-action stove and oven combination. It's very clean.)" - }) or (accessor.plot < 2 and ({ - "(This laser stove looks brand new...)", - "(Guess I'm not the only one who doesn't know how to cook.)" - }) or ({ - "(Laser stove.)" - })) +"(A laser-action stove and oven combination. It's very clean.)" +}) or (accessor.plot < 2 and ({ +"(This laser stove looks brand new...)", +"(Guess I'm not the only one who doesn't know how to cook.)" +}) or ({ +"(Laser stove.)" +})) end, bowl_extra = function() return accessor.event_home_food and ({ - "(Just an empty bowl now.)" - }) or ({}) +"(Just an empty bowl now.)" +}) or ({}) end, rope = { - "(A length of rope. It's been useful over the years.)" - }, +"(A length of rope. It's been useful over the years.)" +}, scissors = { - "(A pair of scissors, good for cutting ropes.)" - }, +"(A pair of scissors, good for cutting ropes.)" +}, pantry = function() return accessor.plot < 1 and ({ - "(A well-stocked pantry. With this, you'll be ready for doomsday.)" - }) or (accessor.plot < 2 and ({ - "(Pantry food. My worst nightmare.)" - }) or ({ - "(Pantry food.)" - })) +"(A well-stocked pantry. With this, you'll be ready for doomsday.)" +}) or (accessor.plot < 2 and ({ +"(Pantry food. My worst nightmare.)" +}) or ({ +"(Pantry food.)" +})) end, board = function() return accessor.plot < 1 and ({ - "(You feel this is exactly where it belongs.)" - }) or ({ +"(You feel this is exactly where it belongs.)" +}) or ({ "(A large piece of wood.)", unpack(accessor.plot < 2 and ({ - "(Looks like an extension for that dining table...)" - }) or ({})) +"(Looks like an extension for that dining table...)" +}) or ({})) }) end, secret = function() local ____temp_3 if accessor.plot < 1 then ____temp_3 = { - "(A tackboard with important notes.)" - } +"(A tackboard with important notes.)" +} else local ____array_2 = __TS__SparseArrayNew(unpack(not accessor.event_home_secret and ({ - "(There's a series of notes on this tackboard...)" - }) or ({}))) +"(There's a series of notes on this tackboard...)" +}) or ({}))) __TS__SparseArrayPush( ____array_2, "(\"Plant boka tree tomorrow\")", @@ -1152,12 +1152,12 @@ local function textGen(pager) unpack(not accessor.event_home_secret and ({ "(Wait. A lockbox?)", accessor.event_home_bookshelf == 0.1 and "(I swear there was a box like that in the living room somewhere...)" or "(Was there a lockbox around here somewhere?)" }) or (accessor.event_home_bookshelf < 1 and ({ - "(... still haven't found the lockbox.)" - }) or (accessor.event_home_bookshelf < 2 and ({ - "(... I've found the lockbox, but I can't reach it...)" - }) or ({ - "(... weird how a library card needed a locked box.)" - })))) +"(... still haven't found the lockbox.)" +}) or (accessor.event_home_bookshelf < 2 and ({ +"(... I've found the lockbox, but I can't reach it...)" +}) or ({ +"(... weird how a library card needed a locked box.)" +})))) ) ____temp_3 = { __TS__SparseArraySpread(____array_2) } end diff --git a/code/maps/redleaf.lua b/code/maps/redleaf.lua index d87937d..e9a0871 100644 --- a/code/maps/redleaf.lua +++ b/code/maps/redleaf.lua @@ -294,93 +294,93 @@ local function textGen(pager) name = function() return accessor.item_glove1 and accessor.item_glove2 and "Work Gloves" or "Work Glove" end, info = function() return accessor.item_glove1 and accessor.item_glove2 and ({ - "(An insulated glove. Good for handling dangerous items.)" - }) or ({ - "(A pair of insulated gloves. Good for handling dangerous items.)" - }) +"(An insulated glove. Good for handling dangerous items.)" +}) or ({ +"(A pair of insulated gloves. Good for handling dangerous items.)" +}) end }, item_boots = { name = function() return accessor.item_boot1 and accessor.item_boot2 and "Work Boots" or "Work Boot" end, info = function() return accessor.item_boot1 and accessor.item_boot2 and ({ - "(A sturdy, high-topped boot. Good for traversing hazards.)" - }) or ({ - "(A pair of sturdy, high-topped boots. Good for traversing hazards.)" - }) +"(A sturdy, high-topped boot. Good for traversing hazards.)" +}) or ({ +"(A pair of sturdy, high-topped boots. Good for traversing hazards.)" +}) end }, ponder_arrival = pager:create(0, { - "...", - "(The forest is beautiful...)" - }, { - "...", - "(I have to keep going...)", - "(Standing around won't get me any closer to home.)" - }), +"...", +"(The forest is beautiful...)" +}, { +"...", +"(I have to keep going...)", +"(Standing around won't get me any closer to home.)" +}), ponder_chase = pager:create(0, { - "(If I could just talk to them...)", - "(... there's no time to lose!)" - }, { - "(... I've got to catch up to them!)" - }), +"(If I could just talk to them...)", +"(... there's no time to lose!)" +}, { +"(... I've got to catch up to them!)" +}), ponder_gate = { - "...", - "(I need a closer look at that gate...)" - }, +"...", +"(I need a closer look at that gate...)" +}, ponder_shock = function() return { "(... hm...)", unpack(accessor.item_glove1 and accessor.item_glove2 and accessor.item_boot1 and accessor.item_boot2 and ({ - "(I have these gloves... and these boots...)", - "(Oh! I can use these to climb the gate safely!)" - }) or +"(I have these gloves... and these boots...)", +"(Oh! I can use these to climb the gate safely!)" +}) or (accessor.item_glove1 and accessor.item_glove2 and ((accessor.item_boot1 or accessor.item_boot2) and ({ - "(I have these gloves... and this boot...)", - "(With one more boot, I could climb the gate safely.)" - }) or ({ - "(I have these gloves...)", - "(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 ({ - "(I have these boots... and this glove...)", - "(With one more glove, I could climb the gate safely.)" - }) or ({ - "(I have these boots...)", - "(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 ({ - "(I have this glove... and this boot...)", - "(If only I could duplicate them, I could climb the gate safely.)" - }) or ({ - "(I have this glove...)", - "(If I had another glove, and something to protect my feet...)", - "(... I could climb the gate safely.)" - })) or ((accessor.item_boot1 or accessor.item_boot2) and ({ - "(I have this boot...)", - "(If I had another boot, and something to protect my hands...)", - "(... I could climb the gate safely.)" - }) or ({ - "(If I had some extra gear to protect myself...)", - "(... I could climb the gate safely.)" - })))))) +"(I have these gloves... and this boot...)", +"(With one more boot, I could climb the gate safely.)" +}) or ({ +"(I have these gloves...)", +"(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 ({ +"(I have these boots... and this glove...)", +"(With one more glove, I could climb the gate safely.)" +}) or ({ +"(I have these boots...)", +"(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 ({ +"(I have this glove... and this boot...)", +"(If only I could duplicate them, I could climb the gate safely.)" +}) or ({ +"(I have this glove...)", +"(If I had another glove, and something to protect my feet...)", +"(... I could climb the gate safely.)" +})) or ((accessor.item_boot1 or accessor.item_boot2) and ({ +"(I have this boot...)", +"(If I had another boot, and something to protect my hands...)", +"(... I could climb the gate safely.)" +}) or ({ +"(If I had some extra gear to protect myself...)", +"(... I could climb the gate safely.)" +})))))) } end, ponder_gear = { - "(... I think, with this extra gear I've found...)", - "(... climbing the gate should be safe.)" - }, +"(... I think, with this extra gear I've found...)", +"(... climbing the gate should be safe.)" +}, ponder_unlock = { - "(... hm.)", - "(Better get going before someone closes the gate again.)" - }, +"(... hm.)", +"(Better get going before someone closes the gate again.)" +}, ponder_factory = pager:create(0, { - "(... if I had to guess, I'd say this was a syrup factory...)", - "(Definitely a factory of some kind, anyway.)", - "(Shouldn't there be tons of people working here?)" - }, { - "...", - "(... maybe the workers are all on vacation.)" - }), +"(... if I had to guess, I'd say this was a syrup factory...)", +"(Definitely a factory of some kind, anyway.)", +"(Shouldn't there be tons of people working here?)" +}, { +"...", +"(... maybe the workers are all on vacation.)" +}), overworld = { tutorial1 = "Press [X] while moving\nto sprint.", tutorial2 = "Press [←] [→] to climb.", @@ -389,203 +389,203 @@ local function textGen(pager) pipewerx3 = "(Arrange the pipes to connect\nthe two endpoints.)", pipewerx4 = "(Press [X] to exit.)", system1 = { - "Platform Engaged.", - "Selecting Mode: Transit", - "Selecting Destination: CRIMSON", - "Transit In Progress..." - }, +"Platform Engaged.", +"Selecting Mode: Transit", +"Selecting Destination: CRIMSON", +"Transit In Progress..." +}, system2 = "`~1!2@3#4$5%6^7&8*9(0)-_=+[]\\|;:'\",<.>/?", arrival1 = { - "..." - }, +"..." +}, arrival2 = { - "(It's the same as before...)", - "(... guess I... didn't really know what I was expecting.)" - }, +"(It's the same as before...)", +"(... guess I... didn't really know what I was expecting.)" +}, arrival3 = { - "Whoa." - }, +"Whoa." +}, arrival4 = { - "That's big." - }, +"That's big." +}, arrival5 = { - "(Well, it's not home.)", - "(But it's... also not that weird house.)", - "(So that's good.)" - }, +"(Well, it's not home.)", +"(But it's... also not that weird house.)", +"(So that's good.)" +}, arrival6 = { - "(... I wish...)", - "(... I had an umbrella.)" - }, +"(... I wish...)", +"(... I had an umbrella.)" +}, stowaway1 = { - "...", - "H... hello?" - }, +"...", +"H... hello?" +}, stowaway2 = { - "Wait, don't go! I..." - }, +"Wait, don't go! I..." +}, stowaway3 = { - "... get back here!" - }, +"... get back here!" +}, stowaway4 = { - "Hey, you!" - }, +"Hey, you!" +}, stowaway5 = { - "(There's nothing to be afraid of...)" - }, +"(There's nothing to be afraid of...)" +}, stowaway6 = { - "No, no, no!" - }, +"No, no, no!" +}, stowaway7 = { - "(... slam the gate on me, why don't you...)" - }, +"(... slam the gate on me, why don't you...)" +}, bushitem1 = { - "(There's something buried in here...)", - "Pick it up?" - }, +"(There's something buried in here...)", +"Pick it up?" +}, bushitem2 = { - "Yes", - "No" - }, +"Yes", +"No" +}, glover0 = "Work Glove", glover1 = { - "(A glove!)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", - "(Feels... tough.)" - }, +"(A glove!)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", +"(Feels... tough.)" +}, glover2 = { - "(Another glove!)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove." - }, +"(Another glove!)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove." +}, glovey1 = { - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", - "(A glove!)", - "(Feels... tough.)" - }, +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", +"(A glove!)", +"(Feels... tough.)" +}, glovey2 = { - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", - "(Another glove!)" - }, +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", +"(Another glove!)" +}, bootey1 = { - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", - "(... a single boot.)", - "(Surely there's another one around, right?)" - }, +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", +"(... a single boot.)", +"(Surely there's another one around, right?)" +}, bootey2 = { - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", - "(Ah, there it is.)" - }, +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", +"(Ah, there it is.)" +}, booter0 = "Work Boot", booter1 = { - "(... a single boot.)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", - "(Surely there's another one around, right?)" - }, +"(... a single boot.)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", +"(Surely there's another one around, right?)" +}, booter2 = { - "(Ah, there it is.)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot." - }, +"(Ah, there it is.)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot." +}, drillie1 = pager:create(0, { - "(I could just use this drill to open the gate...)", - "(... but in doing so, its batteries would be completely drained.)", - "(Would I be able to replace them?)" - }, { - "(Should I use the drill to open the gate, or save it for later?)" - }), +"(I could just use this drill to open the gate...)", +"(... but in doing so, its batteries would be completely drained.)", +"(Would I be able to replace them?)" +}, { +"(Should I use the drill to open the gate, or save it for later?)" +}), drillie2 = { - "Use The Drill", - "Find Another Way" - }, +"Use The Drill", +"Find Another Way" +}, drillie3 = { - "..." - }, +"..." +}, drillie4 = { - "(... that did the trick.)" - }, +"(... that did the trick.)" +}, gateclimb0 = "Gate", gateclimb1 = { - "...", - "(Ah! Of course!)", - "(I'll just climb over it!)" - }, +"...", +"(Ah! Of course!)", +"(I'll just climb over it!)" +}, gateclimb2a = { - "... ugh..." - }, +"... ugh..." +}, gateclimb2b = { - "(... guess I'll have to find something else.)" - }, +"(... guess I'll have to find something else.)" +}, gateclimb2c = { - "(Wait. I have these gloves and boots...)", - "(I could try again with the extra gear to protect myself.)", - "Climb over the gate?" - }, +"(Wait. I have these gloves and boots...)", +"(I could try again with the extra gear to protect myself.)", +"Climb over the gate?" +}, gateclimb3 = { - "(It's electrically charged.)" - }, +"(It's electrically charged.)" +}, gateclimb4 = { - "(Can't climb over the gate without extra gear.)" - }, +"(Can't climb over the gate without extra gear.)" +}, gateclimb5 = pager:create( 0, function() local ____array_0 = __TS__SparseArrayNew(unpack(accessor.event_redleaf_gateclimb == 2 and ({ - "(I have the extra gear I need to protect myself.)" - }) or ({ - "(Wait. I have these gloves and boots now...)", - "(I could try again with the extra gear to protect myself.)" - }))) +"(I have the extra gear I need to protect myself.)" +}) or ({ +"(Wait. I have these gloves and boots now...)", +"(I could try again with the extra gear to protect myself.)" +}))) __TS__SparseArrayPush(____array_0, "Climb over the gate?") return { __TS__SparseArraySpread(____array_0) } end, { - "Climb over the gate?" - } +"Climb over the gate?" +} ), gateclimb6 = { - "Yes", - "No" - }, +"Yes", +"No" +}, gateclimb7 = { - "(Third climb's the charm. placeholder :3)" - }, +"(Third climb's the charm. placeholder :3)" +}, gateclimb8 = { - "(Alright!)" - }, +"(Alright!)" +}, gateclimb9 = { - "(Is this... a factory?)" - }, +"(Is this... a factory?)" +}, gateclimb10 = { - "(Time to find out what that rascal was up to.)" - } +"(Time to find out what that rascal was up to.)" +} }, trivia = { tree = { - "It's a tree! (placeholder :3)" - }, +"It's a tree! (placeholder :3)" +}, barrel = { - "Barrel barrel barrel- (placeholder :3)" - }, +"Barrel barrel barrel- (placeholder :3)" +}, lid = { - "A lid. (placeholder :3)" - }, +"A lid. (placeholder :3)" +}, facsign = { - "\"REDLEAF INDUSTRIES\"\n\"Factory Grounds Nearby\"" - }, +"\"REDLEAF INDUSTRIES\"\n\"Factory Grounds Nearby\"" +}, sapsign = { - "\"Kotokura Syrup Exports\"\n\"Redleaf Industries\"" - }, +"\"Kotokura Syrup Exports\"\n\"Redleaf Industries\"" +}, carsign = pager:create(0, { - "\"Danger: Industrial Vehicles\"", - "(Guess I should be careful...)" - }, { - "\"Danger: Industrial Vehicles\"" - }), +"\"Danger: Industrial Vehicles\"", +"(Guess I should be careful...)" +}, { +"\"Danger: Industrial Vehicles\"" +}), powertower = { - "A powertower? (placeholder :3)" - }, +"A powertower? (placeholder :3)" +}, placeholder2 = pager:create(0, { - "placeholder :3" - }) +"placeholder :3" +}) }, trivia_tooltip = { tree = "Tree", diff --git a/translate/export+update.py b/translate/export+update.py index b8bfc40..3e33ad9 100644 --- a/translate/export+update.py +++ b/translate/export+update.py @@ -2,12 +2,12 @@ from tools import * # 设置工作文件夹为 translate os.chdir("translate") -WEBLATE_PATH = "/home/ws3917/PS-Outertale/weblate" +WEBLATE_PATH = "/home/ws3917/Code/Weblate" # 【导出部分】只有第一次或原文有更新的时候需要跑一次,正常情况下不需要 # 将原文带文本的lua文件复制到text文件夹 - 【注意】只有第一次和版本升级时需要运行! # 如果text/en_US文件夹已经有文件,就千万千万不要再执行了(否则原文会被替换成半英半中的混合体) -initialize_files_lua() +# initialize_files_lua() for lua_file in src_text_path.glob("*.lua"): # 根据lua生成英文文本json export_translation_json(lua_file, f"strings/{lua_file.stem}/en_US.json") diff --git a/translate/import.py b/translate/import.py index 610a44d..56b0d92 100644 --- a/translate/import.py +++ b/translate/import.py @@ -2,7 +2,7 @@ from tools import * # 设置工作文件夹为 translate os.chdir("translate") -WEBLATE_PATH = "/home/ws3917/PS-Outertale/weblate" +WEBLATE_PATH = "/home/ws3917/Code/Weblate" # 【导入部分】正常翻译时例行维护游戏翻译、导入、测试 # 拉取weblate仓库更改 os.system(f"cd {WEBLATE_PATH} && git pull") @@ -29,6 +29,4 @@ for lua_file in src_text_path.glob("*.lua"): # 打包游戏 os.chdir("..") # 记得定期改版本号 -os.system( - f"7z a -tzip 'translate/gamebuild/Petrichor-V1-{datetime.today()}.love' ./ -xr!translate" -) +os.system(f"7z a -tzip 'translate/gamebuild/Petrichor-V1.love' ./ -xr!translate") diff --git a/translate/text/en_US/home.lua b/translate/text/en_US/home.lua index d989fe5..62ef9fc 100644 --- a/translate/text/en_US/home.lua +++ b/translate/text/en_US/home.lua @@ -248,67 +248,67 @@ local function textGen(pager) name = "Book", info = function() return ({ { - "\"The Jensen Paradox, third installment in the Jensen series.\"", - "\"How will they escape last time?\"" - }, { - "\"Surface Tension, the hotel nobody ever leaves.\"", - "\"An endless maze of hallways, doors, swimming pools and libraries...\"" - }, { - "\"Astrae Symphonia, a tale of intrigue, emotion, and music.\"", - "\"Follow this rogue starship to the edge of the galaxy!\"" - } })[accessor.choice_home_book + 1] +"\"The Jensen Paradox, third installment in the Jensen series.\"", +"\"How will they escape last time?\"" +}, { +"\"Surface Tension, the hotel nobody ever leaves.\"", +"\"An endless maze of hallways, doors, swimming pools and libraries...\"" +}, { +"\"Astrae Symphonia, a tale of intrigue, emotion, and music.\"", +"\"Follow this rogue starship to the edge of the galaxy!\"" +} })[accessor.choice_home_book + 1] end }, item_rock = { name = "Rocks" }, item_batteries = { name = "Batteries", info = { - "(Type four batteries. Good for small devices and tools.)" - } +"(Type four batteries. Good for small devices and tools.)" +} }, item_cover = { name = function() return accessor.item_scissors and "Blanket Rope" or "Blanket" end, info = function() return accessor.item_scissors and ({ - "(A makeshift \"rope\" made from pieces of a blanket.)" - }) or ({ - "(A comfortable blanket. Haven't found something to cut it with yet.)" - }) +"(A makeshift \"rope\" made from pieces of a blanket.)" +}) or ({ +"(A comfortable blanket. Haven't found something to cut it with yet.)" +}) end }, item_crowbar = { name = "Metal Bar", info = { - "(One bar of pure bed frame.)", - "(It's really heavy.)" - } +"(One bar of pure bed frame.)", +"(It's really heavy.)" +} }, ponder_book = pager:create(0, { - "(You ponder why you're still awake.)", - "(You realize you don't have a book to read in bed.)" - }, { - "(You ponder what kind of book you'd like to read.)", - "(You're realize you're in the mood for something novel.)" - }), +"(You ponder why you're still awake.)", +"(You realize you don't have a book to read in bed.)" +}, { +"(You ponder what kind of book you'd like to read.)", +"(You're realize you're in the mood for something novel.)" +}), ponder_sleep = { - "(You ponder why you're still awake.)", - "(You realize you should probably go to bed now.)" - }, +"(You ponder why you're still awake.)", +"(You realize you should probably go to bed now.)" +}, ponder_hello = { - "...", - "(I don't really know where I am.)", - "(Exploring might give me a better idea...)" - }, +"...", +"(I don't really know where I am.)", +"(Exploring might give me a better idea...)" +}, ponder_outside = pager:create( 0, { - "...", - "(This... house... doesn't make any sense.)", - "(How is it just... floating?)", - "(Why is there nothing else out there?)", - "(If I could find something to \"test\" this place...)", - "(... it might give me a clue how to escape it.)" - }, +"...", +"(This... house... doesn't make any sense.)", +"(How is it just... floating?)", +"(Why is there nothing else out there?)", +"(If I could find something to \"test\" this place...)", +"(... it might give me a clue how to escape it.)" +}, function() return { "(I'm looking for a way to escape.)", "(To do that, I need to know what this place's limits are.)", @@ -319,26 +319,26 @@ local function textGen(pager) ), ponder_platform = function() return accessor.item_cover and (accessor.item_scissors and ({ - "(So far, I've cut this blanket and made it into a rope.)", - "(Now, I just need something to hold it in place for the climb...)", - "(... something strong and sturdy, like metal.)" - }) or ({ - "(So far, I've found a blanket, which I can make into a rope.)", - "(I still need something to cut it with.)" - })) or ({ - "(I need to find a way down to that platform.)", - "(It's too far to jump, so I'll have to try something else.)", - "(A rope would do the trick...)" - }) +"(So far, I've cut this blanket and made it into a rope.)", +"(Now, I just need something to hold it in place for the climb...)", +"(... something strong and sturdy, like metal.)" +}) or ({ +"(So far, I've found a blanket, which I can make into a rope.)", +"(I still need something to cut it with.)" +})) or ({ +"(I need to find a way down to that platform.)", +"(It's too far to jump, so I'll have to try something else.)", +"(A rope would do the trick...)" +}) end, ponder_exit = pager:create(0, { - "...", - "(It's strange... omething about this house is comfortable.)", - "(In another life, I could see myself living here...)" - }, { - "(There's nothing else for me to do here.)", - "(It's time to go.)" - }), +"...", +"(It's strange... omething about this house is comfortable.)", +"(In another life, I could see myself living here...)" +}, { +"(There's nothing else for me to do here.)", +"(It's time to go.)" +}), overworld = { start1 = "WARNING", start2 = @@ -354,54 +354,54 @@ local function textGen(pager) tutorial7 = "Hold [Z], then release.", tutorial8 = "Press [←] [→] to climb.", blocker1 = { - "(You'll be safer indoors this late at night.)" - }, +"(You'll be safer indoors this late at night.)" +}, blocker2 = { - "(You're forgetting something.)" - }, +"(You're forgetting something.)" +}, blocker3 = { - "Go upstairs and complete the tutorial?" - }, +"Go upstairs and complete the tutorial?" +}, blocker4 = { - "Go Upstairs", - "Not Yet" - }, +"Go Upstairs", +"Not Yet" +}, blocker5 = { - "Go outside and climb down to the golden platform?" - }, +"Go outside and climb down to the golden platform?" +}, blocker6 = { - "Go Outside", - "Not Yet" - }, +"Go Outside", +"Not Yet" +}, bookshelf1 = { - "Get a book?" - }, +"Get a book?" +}, bookshelf2 = { - "The Jensen Paradox (Action)", - "Surface Tension (Surreal)", - "Astrae Symphonia (Space)", - "Not Yet" - }, +"The Jensen Paradox (Action)", +"Surface Tension (Surreal)", +"Astrae Symphonia (Space)", +"Not Yet" +}, bookshelf3 = { - "(You got the Book.)" - }, +"(You got the Book.)" +}, bookshelf4 = { - "(You decide not to get a book.)" - }, +"(You decide not to get a book.)" +}, hello1 = { - "...", - "(This isn't my bed.)" - }, +"...", +"(This isn't my bed.)" +}, hello2 = { - "(... maybe I slept on the wrong antenna...)" - }, +"(... maybe I slept on the wrong antenna...)" +}, hello3 = { - "(No, no... this isn't my home at all.)", - "(How did I get here? Did someone... kidnap me?)" - }, +"(No, no... this isn't my home at all.)", +"(How did I get here? Did someone... kidnap me?)" +}, hello4 = { - "(I don't remember being taken...)" - }, +"(I don't remember being taken...)" +}, goatplush0 = "Plushie", goatplush1 = pager:create( 0, @@ -411,25 +411,25 @@ local function textGen(pager) "(... did you follow me here, to this strange place?)", "Pick them up?" } end, { - "Pick them up?" - } +"Pick them up?" +} ), goatplush2 = { - "Yes", - "No" - }, +"Yes", +"No" +}, goatplush3 = { - "Come here, you.", - "{color=0xa289dc}Dysu{color=0xffffff} got the Plushie.", - "...", - "(Maybe I should hold onto this for a while.)" - }, +"Come here, you.", +"{color=0xa289dc}Dysu{color=0xffffff} got the Plushie.", +"...", +"(Maybe I should hold onto this for a while.)" +}, fusebox1 = function() return { "(An electric routing box...)", unpack(accessor.plot < 2 and ({ - "(Maybe I can get main power back on.)" - }) or ({})) +"(Maybe I can get main power back on.)" +}) or ({})) } end, fusebox2 = "KITCHEN", @@ -441,38 +441,38 @@ local function textGen(pager) fusebox8 = "ON", fusebox9 = "OFF", lightswitch = { - "(No power.)" - }, +"(No power.)" +}, telecomm1 = function() return { "(A comms device. Must be battery-powered.)", unpack(accessor.plot < 2 and ({ - "(Only two receivers on the contact list...?)" - }) or ({})) +"(Only two receivers on the contact list...?)" +}) or ({})) } end, telecomm2 = { - "What will you do?" - }, +"What will you do?" +}, telecomm3a = { - "Call Work", - "Call Neighbors", - "Play Back Message", - "Never Mind" - }, +"Call Work", +"Call Neighbors", +"Play Back Message", +"Never Mind" +}, telecomm3b = { - "Call Work", - "Call Neighbors", - "Never Mind" - }, +"Call Work", +"Call Neighbors", +"Never Mind" +}, telecomm4 = { { - "(Calling... Work.)" - }, { - "(Calling... Neighbors.)" - } }, +"(Calling... Work.)" +}, { +"(Calling... Neighbors.)" +} }, telecomm5 = { - "(That Receiver Does Not Exist.)" - }, +"(That Receiver Does Not Exist.)" +}, telecomm6 = function() return { "(Beginning Playback...)", @@ -482,12 +482,12 @@ local function textGen(pager) unpack(accessor.state_home_telecomm_message == 0 and ({ "(Oh. It's just a scam.)", unpack(accessor.event_home_outside and ({ - "(I'd delete the message, if it wasn't for the small possibility...)", - "(... that this might be the last other person's voice I hear.)" - }) or ({ - "(Nobody would mind if I deleted this, would they?)", - "(Message Deleted.)" - })) +"(I'd delete the message, if it wasn't for the small possibility...)", +"(... that this might be the last other person's voice I hear.)" +}) or ({ +"(Nobody would mind if I deleted this, would they?)", +"(Message Deleted.)" +})) }) or ({})) } end, @@ -498,122 +498,122 @@ local function textGen(pager) "(Actually, before I go...)", "Eat something from the fridge?" } end, { - "Eat something from the fridge?" - } +"Eat something from the fridge?" +} ), fridge2 = { - "Boka Fruit", - "Tenzka Tracks Ice Cream", - "Morning Leftovers", - "Never Mind" - }, +"Boka Fruit", +"Tenzka Tracks Ice Cream", +"Morning Leftovers", +"Never Mind" +}, fridge3 = { { - "(These better be home-grown.)" - }, { - "(My favorite food! I must be lucky.)" - }, { - "(... it's better than nothing.)" - }, { - "..." - } }, +"(These better be home-grown.)" +}, { +"(My favorite food! I must be lucky.)" +}, { +"(... it's better than nothing.)" +}, { +"..." +} }, fridge4 = { { - "(Huh. Those were actually pretty good.)" - }, { - "(... might've eaten too much.)" - }, { - "..." - } }, +"(Huh. Those were actually pretty good.)" +}, { +"(... might've eaten too much.)" +}, { +"..." +} }, fridge5 = function() return accessor.plot < 2 and ({ - "(Oh... right.)", - "(I'm still trying to get out of here.)" - }) or ({ - "(... time to get back to what I was doing.)" - }) +"(Oh... right.)", +"(I'm still trying to get out of here.)" +}) or ({ +"(... time to get back to what I was doing.)" +}) end, outside1 = { - "(What the...)", - "..." - }, +"(What the...)", +"..." +}, outside2 = { - "(What IS this?)", - "(W... where am I?)" - }, +"(What IS this?)", +"(W... where am I?)" +}, outside3 = { - "(It's everywhere.)", - "(Everywhere I turn, it's just...)" - }, +"(It's everywhere.)", +"(Everywhere I turn, it's just...)" +}, outside4 = { - "(I... I have to get out of here...)" - }, +"(I... I have to get out of here...)" +}, telescope1 = { - "(The telescope...)" - }, +"(The telescope...)" +}, telescope2 = { - "(Maybe I'll spot something in the distance.)" - }, +"(Maybe I'll spot something in the distance.)" +}, basket1a = { - "...", - "(Wait, that box on the bookshelf...)", - "(It's the lockbox from the note!)" - }, +"...", +"(Wait, that box on the bookshelf...)", +"(It's the lockbox from the note!)" +}, basket1b = { - "(Hm...)" - }, +"(Hm...)" +}, basket2 = { - "{color=0xa289dc}Dysu{color=0xffffff} got the Library Card.", - "(There!)" - }, +"{color=0xa289dc}Dysu{color=0xffffff} got the Library Card.", +"(There!)" +}, basket3 = { - "(A library card...?)" - }, +"(A library card...?)" +}, bucket1 = function() return accessor.plot < 3 and (accessor.item_cover and accessor.item_scissors and not accessor.item_crowbar and ({ - "(A rusty shovel. I'd use this as an anchor, but...)" - }) or ({ - "(A rusty shovel. Looks like it's...)" - })) or ({ - "(A rusty shovel...)" - }) +"(A rusty shovel. I'd use this as an anchor, but...)" +}) or ({ +"(A rusty shovel. Looks like it's...)" +})) or ({ +"(A rusty shovel...)" +}) end, bucket2 = function() return { "(Wait.)", unpack(accessor.plot < 2 and ({ - "(What about the pail?)" - }) or ({ - "(That pail might be come in handy.)" - })) +"(What about the pail?)" +}) or ({ +"(That pail might be come in handy.)" +})) } end, bucket3 = function() local ____array_0 = __TS__SparseArrayNew(unpack(accessor.plot < 2 and ({ - "(... how could it be raining when there's nothing else outside?)", - "(Maybe I can learn something by collecting it, and...)", - "(Studying it, I guess.)", - "(... sounds stupid when I think about it like that, but still.)" - }) or ({ - "(Just in case.)" - }))) +"(... how could it be raining when there's nothing else outside?)", +"(Maybe I can learn something by collecting it, and...)", +"(Studying it, I guess.)", +"(... sounds stupid when I think about it like that, but still.)" +}) or ({ +"(Just in case.)" +}))) __TS__SparseArrayPush(____array_0, "{color=0xa289dc}Dysu{color=0xffffff} got the Pail.") return { __TS__SparseArraySpread(____array_0) } end, bucket4 = { - "(Don't think I can collect any rain from here.)" - }, +"(Don't think I can collect any rain from here.)" +}, rain1 = { - "..." - }, +"..." +}, rain2 = { - "(That's weird...)", - "(The rain's definitely going inside, but...)", - "(It's... not filling up.)" - }, +"(That's weird...)", +"(The rain's definitely going inside, but...)", +"(It's... not filling up.)" +}, rain3 = { - "(Freaky.)", - "(... guess I can't learn anything from this, though.)" - }, +"(Freaky.)", +"(... guess I can't learn anything from this, though.)" +}, rope1 = function() return { "(It's a rope. There's not much of it left.)", accessor.plot == 2 and "(Doubt it's enough to reach the platform, but I'll take it anyway.)" or @@ -621,95 +621,95 @@ local function textGen(pager) "{color=0xa289dc}Dysu{color=0xffffff} got the Rope." } end, rope2 = { - "(No use for this indoors.)" - }, +"(No use for this indoors.)" +}, dangle1 = { - "(Hm...)" - }, +"(Hm...)" +}, dangle2 = { - "(No, it's nowhere NEAR long enough to get me down there.)" - }, +"(No, it's nowhere NEAR long enough to get me down there.)" +}, dangle3 = function() return accessor.item_cover and ({ - "(... the blanket plan will have to do.)" - }) or ({ - "(... maybe there's something else I could make a rope out of.)" - }) +"(... the blanket plan will have to do.)" +}) or ({ +"(... maybe there's something else I could make a rope out of.)" +}) end, drill = { - "(A heavy-duty electric drill. Might be useful.)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Drill.", - "(Good thing these batteries were included.)" - }, +"(A heavy-duty electric drill. Might be useful.)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Drill.", +"(Good thing these batteries were included.)" +}, drill_tooltip = "Drill", broombox1 = { - "(A box of old collector's rocks...)", - "(... doubt they're important, so instead, I could try throwing them.)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Rock.", - "(Off the edge.)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Rock.", - "(To see what happens.)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Rock." - }, +"(A box of old collector's rocks...)", +"(... doubt they're important, so instead, I could try throwing them.)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Rock.", +"(Off the edge.)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Rock.", +"(To see what happens.)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Rock." +}, broombox2 = { - "(It's worth a try.)" - }, +"(It's worth a try.)" +}, broombox3 = { - "(Throwing these indoors won't tell me anything.)" - }, +"(Throwing these indoors won't tell me anything.)" +}, golden1 = { - "(... right.)" - }, +"(... right.)" +}, golden2 = { - "...", - "(Get ready...!)" - }, +"...", +"(Get ready...!)" +}, golden3 = { - "...", - "(Maybe I didn't throw it far enough.)" - }, +"...", +"(Maybe I didn't throw it far enough.)" +}, golden4 = { - "(Here we go...)", - "(... again!)" - }, +"(Here we go...)", +"(... again!)" +}, golden5 = { - "...", - "(Nothing...)" - }, +"...", +"(Nothing...)" +}, golden6 = { - "...", - "(... what if I just...)" - }, +"...", +"(... what if I just...)" +}, golden7 = { - "..." - }, +"..." +}, golden8 = { - "(That's new.)" - }, +"(That's new.)" +}, golden9 = { - "...", - "(Doesn't look like part of the house...)", - "(Could that be what's behind all of this?)", - "...", - "(Maybe it's silly, but if...)", - "(If I could get down there somehow...)" - }, +"...", +"(Doesn't look like part of the house...)", +"(Could that be what's behind all of this?)", +"...", +"(Maybe it's silly, but if...)", +"(If I could get down there somehow...)" +}, golden10 = { - "(... I might just be able to escape!)" - }, +"(... I might just be able to escape!)" +}, scissors1 = function() local ____array_1 = __TS__SparseArrayNew(unpack(accessor.item_cover and ({ - "(Scissors! For the blanket!)" - }) or ({ - "(Scissors...)", - "(Could be good to have these on hand.)" - }))) +"(Scissors! For the blanket!)" +}) or ({ +"(Scissors...)", +"(Could be good to have these on hand.)" +}))) __TS__SparseArrayPush( ____array_1, "{color=0xa289dc}Dysu{color=0xffffff} got the Scissors.", unpack(accessor.item_cover and ({ - "(Sorry, little blanket...)" - }) or ({})) +"(Sorry, little blanket...)" +}) or ({})) ) return { __TS__SparseArraySpread(____array_1) } end, @@ -717,16 +717,16 @@ local function textGen(pager) return { "(... that's that taken care of...)", unpack(accessor.item_crowbar and ({ - "(Oh! And I can use the bed frame as an anchor!)" - }) or ({ - "(Now I need something to anchor the \"rope\" to once I'm outside.)" - })) +"(Oh! And I can use the bed frame as an anchor!)" +}) or ({ +"(Now I need something to anchor the \"rope\" to once I'm outside.)" +})) } end, bed1 = { - "(The bed...)", - "(... no...)" - }, +"(The bed...)", +"(... no...)" +}, bed2 = function() return { "(The covers!)", @@ -734,189 +734,189 @@ local function textGen(pager) "(... and make a rope out of it!)", "{color=0xa289dc}Dysu{color=0xffffff} got the Blanket.", unpack(accessor.item_scissors and ({ - "(Sorry, little blanket...)" - }) or ({})) +"(Sorry, little blanket...)" +}) or ({})) } end, bed3 = function() return not accessor.item_scissors and ({ - "(I'll need something to cut it with, though.)" - }) or (not accessor.item_crowbar and ({ - "(Now I need something to anchor the \"rope\" to once I'm outside.)" - }) or ({ - "(Oh! And I can use the bed frame as an anchor!)" - })) +"(I'll need something to cut it with, though.)" +}) or (not accessor.item_crowbar and ({ +"(Now I need something to anchor the \"rope\" to once I'm outside.)" +}) or ({ +"(Oh! And I can use the bed frame as an anchor!)" +})) end, framer1 = function() return { "(A metal bed frame. I wonder if I could take it apart...)", unpack(accessor.item_drill and ({ - "(... the drill should do nicely!)" - }) or ({ - "(... not by hand, that's for sure.)" - })) +"(... the drill should do nicely!)" +}) or ({ +"(... not by hand, that's for sure.)" +})) } end, framer2 = function() return { "{color=0xa289dc}Dysu{color=0xffffff} got the Metal Bar.", unpack(accessor.item_cover and accessor.item_scissors and ({ - "..." - }) or ({ - "(Nice!)" - })) +"..." +}) or ({ +"(Nice!)" +})) } end, framer3 = { - "(... wait! That's it!)", - "(I'll attach the \"rope\" to the bar, place it behind the doorway...)", - "(... and climb my way down to the platform!)" - }, +"(... wait! That's it!)", +"(I'll attach the \"rope\" to the bar, place it behind the doorway...)", +"(... and climb my way down to the platform!)" +}, done1 = { - "(I'll attach the \"rope\" to it, place it behind the doorway...)", - "(... and climb my way down to the platform!)" - }, +"(I'll attach the \"rope\" to it, place it behind the doorway...)", +"(... and climb my way down to the platform!)" +}, done2 = { - "(About time...)" - }, +"(About time...)" +}, exit1 = { - "(Well, that should do it...)" - }, +"(Well, that should do it...)" +}, exit2 = { - "(Don't look down.)" - }, +"(Don't look down.)" +}, exit3 = { - "... I made it! I'm here!", - "I'm actually..." - }, +"... I made it! I'm here!", +"I'm actually..." +}, exit4 = { - "(What the-)" - } +"(What the-)" +} }, trivia = { window = function() return accessor.plot < 1 and ({ - "(You peer through the window, observing the outdoor nightlife.)" - }) or (accessor.plot < 2 and (not accessor.event_home_outside and ({ - "(That's weird...)", - "(... can't see anything out there.)" - }) or ({ - "..." - })) or ({ - "..." - })) +"(You peer through the window, observing the outdoor nightlife.)" +}) or (accessor.plot < 2 and (not accessor.event_home_outside and ({ +"(That's weird...)", +"(... can't see anything out there.)" +}) or ({ +"..." +})) or ({ +"..." +})) end, bed = function() return not accessor.item_cover and ({ - "(A surprisingly comfortable bed.)" - }) or (accessor.plot < 3 and ({ - "(Probably not as comfortable anymore.)" - }) or ({ - "(A bed.)" - })) +"(A surprisingly comfortable bed.)" +}) or (accessor.plot < 3 and ({ +"(Probably not as comfortable anymore.)" +}) or ({ +"(A bed.)" +})) end, computer = function() return { "(A computer.)", unpack(not accessor.event_home_outside and ({ - "(The neural input looks worn out. Must have seen a lot of use.)" - }) or (accessor.plot < 3 and ({ - "(Without any power, it's just a box.)" - }) or ({}))) +"(The neural input looks worn out. Must have seen a lot of use.)" +}) or (accessor.plot < 3 and ({ +"(Without any power, it's just a box.)" +}) or ({}))) } end, chair = function() return accessor.plot < 3 and ({ - "(Just a chair.)" - }) or ({ - "(Despite everything, it's still just a chair.)" - }) +"(Just a chair.)" +}) or ({ +"(Despite everything, it's still just a chair.)" +}) end, dresser1 = function() return accessor.plot < 2 and ({ - "(Lots of toys and trinkets in these drawers.)" - }) or (accessor.plot < 3 and ({ - "(Now's not the time for souvenirs.)" - }) or ({ - "(Toys and trinkets.)" - })) +"(Lots of toys and trinkets in these drawers.)" +}) or (accessor.plot < 3 and ({ +"(Now's not the time for souvenirs.)" +}) or ({ +"(Toys and trinkets.)" +})) end, dresser2 = function() return accessor.plot < 2 and ({ - "(Nothing but antenna warmers in these drawers.)" - }) or (accessor.plot < 3 and ({ - "(Antenna warmers won't help me reach the platform.)" - }) or ({ - "(Antenna warmers.)" - })) +"(Nothing but antenna warmers in these drawers.)" +}) or (accessor.plot < 3 and ({ +"(Antenna warmers won't help me reach the platform.)" +}) or ({ +"(Antenna warmers.)" +})) end, book = function() return accessor.plot < 3 and ({ ({ - "(\"The Jensen Paradox...\")", - "(\"Surface Tension...\")", - "(\"Astrae Symphonia...\")" - })[accessor.choice_home_book + 1], accessor.plot < 2 and "(Not a bad choice.)" or "(... part of this story might be coming true.)" }) or +"(\"The Jensen Paradox...\")", +"(\"Surface Tension...\")", +"(\"Astrae Symphonia...\")" +})[accessor.choice_home_book + 1], accessor.plot < 2 and "(Not a bad choice.)" or "(... part of this story might be coming true.)" }) or ({ { - "(\"The Jensen Paradox.\")" - }, { - "(\"Surface Tension.\")" - }, { - "(\"Astrae Symphonia.\")" - } })[accessor.choice_home_book + 1] +"(\"The Jensen Paradox.\")" +}, { +"(\"Surface Tension.\")" +}, { +"(\"Astrae Symphonia.\")" +} })[accessor.choice_home_book + 1] end, cutetunnel = function() return accessor.plot < 2 and ({ - "(Painting of a wild arkette staring down a corridor.)" - }) or ({ - "(... you and me both, little arkette.)" - }) +"(Painting of a wild arkette staring down a corridor.)" +}) or ({ +"(... you and me both, little arkette.)" +}) end, toy = function() return accessor.plot < 2 and ({ - "(A perpetual motion toy?)", - "(Wonder how long it's been going...)" - }) or (accessor.plot < 3 and ({ - "(Wait, wasn't this toy doing something earlier?)" - }) or ({ - "(A simple toy.)" - })) +"(A perpetual motion toy?)", +"(Wonder how long it's been going...)" +}) or (accessor.plot < 3 and ({ +"(Wait, wasn't this toy doing something earlier?)" +}) or ({ +"(A simple toy.)" +})) end, plant = function() return { "(Baby boka tree.)", unpack(accessor.plot < 2 and ({ - "(Seems like it's almost ready to be planted...)" - }) or (accessor.plot < 3 and ({ - "(Shame there's nowhere to plant this.)" - }) or ({}))) +"(Seems like it's almost ready to be planted...)" +}) or (accessor.plot < 3 and ({ +"(Shame there's nowhere to plant this.)" +}) or ({}))) } end, shovel = function() return accessor.item_bucket and ({ - "(A rusty shovel with a great big hole in it.)" - }) or +"(A rusty shovel with a great big hole in it.)" +}) or (accessor.plot < 3 and (accessor.item_cover and accessor.item_scissors and not accessor.item_crowbar and ({ - "(A rusty shovel. I'd use this as an anchor...)", - "(... if it wasn't such a piece of junk.)" - }) or ({ - "(A rusty shovel. Looks like it's about to fall apart.)" - })) or ({ - "(Useless shovel.)" - })) +"(A rusty shovel. I'd use this as an anchor...)", +"(... if it wasn't such a piece of junk.)" +}) or ({ +"(A rusty shovel. Looks like it's about to fall apart.)" +})) or ({ +"(Useless shovel.)" +})) end, broombox = function() return accessor.item_rock and ({ - "(An old broom with a broken handle.)" - }) or ({ - "(An old broom and some fancy rocks. The broom's handle is broken.)" - }) +"(An old broom with a broken handle.)" +}) or ({ +"(An old broom and some fancy rocks. The broom's handle is broken.)" +}) end, dresserdrawer1 = { - "(An empty dresser drawer.)" - }, +"(An empty dresser drawer.)" +}, dresserdrawer2 = { - "(An empty dresser drawer. It's stuck open.)" - }, +"(An empty dresser drawer. It's stuck open.)" +}, dresserpaper = function() return { "\"After much deliberation, we have come to an agreement.\"", @@ -928,222 +928,222 @@ local function textGen(pager) end, mattress = function() return accessor.plot < 3 and ({ - "(Don't think this mattress has ever been slept on.)" - }) or ({ - "(Unused mattress.)" - }) +"(Don't think this mattress has ever been slept on.)" +}) or ({ +"(Unused mattress.)" +}) end, bin = { - "(An empty bin with a cleaning towel draped over the side.)" - }, +"(An empty bin with a cleaning towel draped over the side.)" +}, bedframe = function() return accessor.plot < 2 and ({ - "(A metal bed frame. The most dangerous object in the universe.)" - }) or ({ - "(A metal bed frame, with one side removed.)", - "(If anything, this makes it MORE dangerous...)" - }) +"(A metal bed frame. The most dangerous object in the universe.)" +}) or ({ +"(A metal bed frame, with one side removed.)", +"(If anything, this makes it MORE dangerous...)" +}) end, fusebox = { - "(The box emits a faint hum of electricity.)" - }, +"(The box emits a faint hum of electricity.)" +}, lightswitch = { - "(A light switch.)" - }, +"(A light switch.)" +}, lamp = function() return accessor.plot < 1 and ({ - "(Favoring darkness's allure, you'd rather keep the lamp off.)" - }) or ({ +"(Favoring darkness's allure, you'd rather keep the lamp off.)" +}) or ({ "(A lamp.)", unpack(accessor.plot < 3 and ({ - "(... not something I use very often.)" - }) or ({})) +"(... not something I use very often.)" +}) or ({})) }) end, telescope = function() return accessor.plot < 1 and ({ - "(A telescope, still in its bag. You'll get it out eventually.)" - }) or ({ - "(A bagged-up telescope. That's a shame...)" - }) +"(A telescope, still in its bag. You'll get it out eventually.)" +}) or ({ +"(A bagged-up telescope. That's a shame...)" +}) end, bookshelf = function() return accessor.plot < 1 and ({ - "(In your opinion, books are the ideal medium for fiction.)" - }) or (not accessor.event_home_secret and ({ - "(This is a very good bookshelf. Almost makes me want to stay...)" - }) or (accessor.event_home_bookshelf < 1 and ({ - "(There's a broken lockbox up there, alright...)" - }) or (accessor.event_home_bookshelf < 2 and ({ - "(The box is too high for me to reach it.)" - }) or ({ - "(A gateway to reading, in more ways than one.)" - })))) +"(In your opinion, books are the ideal medium for fiction.)" +}) or (not accessor.event_home_secret and ({ +"(This is a very good bookshelf. Almost makes me want to stay...)" +}) or (accessor.event_home_bookshelf < 1 and ({ +"(There's a broken lockbox up there, alright...)" +}) or (accessor.event_home_bookshelf < 2 and ({ +"(The box is too high for me to reach it.)" +}) or ({ +"(A gateway to reading, in more ways than one.)" +})))) end, couch = function() return accessor.plot < 1 and ({ - "(The couch. You wonder if you'll fall asleep here again.)" - }) or (accessor.plot < 2 and ({ - "(Someone's been sleeping on this couch, haven't they?)" - }) or ({ - "(Would a couch cushion soften the landing from a big jump?)", - "(... no, too risky.)" - })) +"(The couch. You wonder if you'll fall asleep here again.)" +}) or (accessor.plot < 2 and ({ +"(Someone's been sleeping on this couch, haven't they?)" +}) or ({ +"(Would a couch cushion soften the landing from a big jump?)", +"(... no, too risky.)" +})) end, entertainment = function() return accessor.plot < 1 and ({ - "(The family entertainment center, an essential part of any home.)" - }) or (accessor.plot < 2 and ({ - "(A deluxe-edition family entertainment center.)" - }) or ({ - "(Family entertainment center.)" - })) +"(The family entertainment center, an essential part of any home.)" +}) or (accessor.plot < 2 and ({ +"(A deluxe-edition family entertainment center.)" +}) or ({ +"(Family entertainment center.)" +})) end, SIPPY = function() return accessor.plot < 1 and ({ - "(A set of cups from a local consignment store.)" - }) or (accessor.plot < 2 and ({ - "(Weird cups, full of... weird space fluid, or something.)", - "(It's hard to tell.)" - }) or ({ - "(Better leave these where they are.)" - })) +"(A set of cups from a local consignment store.)" +}) or (accessor.plot < 2 and ({ +"(Weird cups, full of... weird space fluid, or something.)", +"(It's hard to tell.)" +}) or ({ +"(Better leave these where they are.)" +})) end, basket = function() return accessor.plot < 1 and ({ - "(An empty basket. You must have left your best friend upstairs.)" - }) or +"(An empty basket. You must have left your best friend upstairs.)" +}) or (accessor.item_goatplush and ({ "(Somehow, I'm tempted to put the plushie in this basket...)", accessor.floof and "(... of course, I'd still rather keep it on my head.)" or "(... of course, I'd still rather keep it with me.)" }) or ({ - "(Feels like something's missing here.)" - })) +"(Feels like something's missing here.)" +})) end, flipbasket = { - "(The basket has become the stool.)" - }, +"(The basket has become the stool.)" +}, telecomm = { - "(A portable comms device. One new message has been received.)", - "(You'll play it back once you're not so sleepy.)" - }, +"(A portable comms device. One new message has been received.)", +"(You'll play it back once you're not so sleepy.)" +}, diningchair1 = function() return accessor.plot < 1 and ({ - "(Your dining chair.)" - }) or (accessor.plot < 2 and ({ - "(Just a dining chair.)" - }) or ({ - "(No matter what happens, it'll always be a dining chair.)" - })) +"(Your dining chair.)" +}) or (accessor.plot < 2 and ({ +"(Just a dining chair.)" +}) or ({ +"(No matter what happens, it'll always be a dining chair.)" +})) end, diningchair2 = function() return accessor.plot < 1 and ({ - "(A dining chair. You don't have anywhere else to put it.)" - }) or (accessor.plot < 2 and ({ - "(... there's something weird about this dining chair.)" - }) or ({ - "(This really doesn't belong here.)" - })) +"(A dining chair. You don't have anywhere else to put it.)" +}) or (accessor.plot < 2 and ({ +"(... there's something weird about this dining chair.)" +}) or ({ +"(This really doesn't belong here.)" +})) end, sink = function() return accessor.plot < 1 and ({ - "(A leaky faucet. You'd like to fix this as soon as possible.)" - }) or (accessor.plot < 2 and ({ - "(If this was MY house, I'd fix this on the spot.)" - }) or ({ - "(The water's stopped...)" - })) +"(A leaky faucet. You'd like to fix this as soon as possible.)" +}) or (accessor.plot < 2 and ({ +"(If this was MY house, I'd fix this on the spot.)" +}) or ({ +"(The water's stopped...)" +})) end, jars = function() return accessor.plot < 1 and ({ - "(Jars with spices used in fancier meals. They're full to the brim.)" - }) or (accessor.plot < 2 and ({ - "(Never open a stranger's spice jars. Learned that the hard way.)" - }) or ({ - "(Spice jars.)" - })) +"(Jars with spices used in fancier meals. They're full to the brim.)" +}) or (accessor.plot < 2 and ({ +"(Never open a stranger's spice jars. Learned that the hard way.)" +}) or ({ +"(Spice jars.)" +})) end, plate = function() return accessor.plot < 1 and ({ - "(The only dinner plate you'll ever need.)" - }) or (accessor.plot < 2 and ({ - "(A dinner plate. Looks like it's part of a set.)" - }) or ({ - "(A dinner plate.)" - })) +"(The only dinner plate you'll ever need.)" +}) or (accessor.plot < 2 and ({ +"(A dinner plate. Looks like it's part of a set.)" +}) or ({ +"(A dinner plate.)" +})) end, silverware = function() return accessor.plot < 1 and ({ - "(Kitchen utensils. You see no reason to replace them.)" - }) or (accessor.plot < 2 and ({ - "(These utensils seem a little old-fashioned...)" - }) or ({ - "(Kitchen utensils.)" - })) +"(Kitchen utensils. You see no reason to replace them.)" +}) or (accessor.plot < 2 and ({ +"(These utensils seem a little old-fashioned...)" +}) or ({ +"(Kitchen utensils.)" +})) end, behindfridge = function() return accessor.plot < 1 and ({ - "(Plates and bowls stacked neatly in a pile. You don't use these.)" - }) or (accessor.plot < 2 and ({ - "(A pile of freshly-washed dishes.)" - }) or ({ - "(Clean dishes.)" - })) +"(Plates and bowls stacked neatly in a pile. You don't use these.)" +}) or (accessor.plot < 2 and ({ +"(A pile of freshly-washed dishes.)" +}) or ({ +"(Clean dishes.)" +})) end, fridge = function() return accessor.plot < 1 and ({ - "(The fridge. You'd eat something if it wasn't so late.)" - }) or ({ - "(Hope my... er, kidnapper doesn't mind me eating their food.)" - }) +"(The fridge. You'd eat something if it wasn't so late.)" +}) or ({ +"(Hope my... er, kidnapper doesn't mind me eating their food.)" +}) end, stove = function() return accessor.plot < 1 and ({ - "(A laser-action stove and oven combination. It's very clean.)" - }) or (accessor.plot < 2 and ({ - "(This laser stove looks brand new...)", - "(Guess I'm not the only one who doesn't know how to cook.)" - }) or ({ - "(Laser stove.)" - })) +"(A laser-action stove and oven combination. It's very clean.)" +}) or (accessor.plot < 2 and ({ +"(This laser stove looks brand new...)", +"(Guess I'm not the only one who doesn't know how to cook.)" +}) or ({ +"(Laser stove.)" +})) end, bowl_extra = function() return accessor.event_home_food and ({ - "(Just an empty bowl now.)" - }) or ({}) +"(Just an empty bowl now.)" +}) or ({}) end, rope = { - "(A length of rope. It's been useful over the years.)" - }, +"(A length of rope. It's been useful over the years.)" +}, scissors = { - "(A pair of scissors, good for cutting ropes.)" - }, +"(A pair of scissors, good for cutting ropes.)" +}, pantry = function() return accessor.plot < 1 and ({ - "(A well-stocked pantry. With this, you'll be ready for doomsday.)" - }) or (accessor.plot < 2 and ({ - "(Pantry food. My worst nightmare.)" - }) or ({ - "(Pantry food.)" - })) +"(A well-stocked pantry. With this, you'll be ready for doomsday.)" +}) or (accessor.plot < 2 and ({ +"(Pantry food. My worst nightmare.)" +}) or ({ +"(Pantry food.)" +})) end, board = function() return accessor.plot < 1 and ({ - "(You feel this is exactly where it belongs.)" - }) or ({ +"(You feel this is exactly where it belongs.)" +}) or ({ "(A large piece of wood.)", unpack(accessor.plot < 2 and ({ - "(Looks like an extension for that dining table...)" - }) or ({})) +"(Looks like an extension for that dining table...)" +}) or ({})) }) end, secret = function() local ____temp_3 if accessor.plot < 1 then ____temp_3 = { - "(A tackboard with important notes.)" - } +"(A tackboard with important notes.)" +} else local ____array_2 = __TS__SparseArrayNew(unpack(not accessor.event_home_secret and ({ - "(There's a series of notes on this tackboard...)" - }) or ({}))) +"(There's a series of notes on this tackboard...)" +}) or ({}))) __TS__SparseArrayPush( ____array_2, "(\"Plant boka tree tomorrow\")", @@ -1152,12 +1152,12 @@ local function textGen(pager) unpack(not accessor.event_home_secret and ({ "(Wait. A lockbox?)", accessor.event_home_bookshelf == 0.1 and "(I swear there was a box like that in the living room somewhere...)" or "(Was there a lockbox around here somewhere?)" }) or (accessor.event_home_bookshelf < 1 and ({ - "(... still haven't found the lockbox.)" - }) or (accessor.event_home_bookshelf < 2 and ({ - "(... I've found the lockbox, but I can't reach it...)" - }) or ({ - "(... weird how a library card needed a locked box.)" - })))) +"(... still haven't found the lockbox.)" +}) or (accessor.event_home_bookshelf < 2 and ({ +"(... I've found the lockbox, but I can't reach it...)" +}) or ({ +"(... weird how a library card needed a locked box.)" +})))) ) ____temp_3 = { __TS__SparseArraySpread(____array_2) } end diff --git a/translate/text/en_US/redleaf.lua b/translate/text/en_US/redleaf.lua index d87937d..e9a0871 100644 --- a/translate/text/en_US/redleaf.lua +++ b/translate/text/en_US/redleaf.lua @@ -294,93 +294,93 @@ local function textGen(pager) name = function() return accessor.item_glove1 and accessor.item_glove2 and "Work Gloves" or "Work Glove" end, info = function() return accessor.item_glove1 and accessor.item_glove2 and ({ - "(An insulated glove. Good for handling dangerous items.)" - }) or ({ - "(A pair of insulated gloves. Good for handling dangerous items.)" - }) +"(An insulated glove. Good for handling dangerous items.)" +}) or ({ +"(A pair of insulated gloves. Good for handling dangerous items.)" +}) end }, item_boots = { name = function() return accessor.item_boot1 and accessor.item_boot2 and "Work Boots" or "Work Boot" end, info = function() return accessor.item_boot1 and accessor.item_boot2 and ({ - "(A sturdy, high-topped boot. Good for traversing hazards.)" - }) or ({ - "(A pair of sturdy, high-topped boots. Good for traversing hazards.)" - }) +"(A sturdy, high-topped boot. Good for traversing hazards.)" +}) or ({ +"(A pair of sturdy, high-topped boots. Good for traversing hazards.)" +}) end }, ponder_arrival = pager:create(0, { - "...", - "(The forest is beautiful...)" - }, { - "...", - "(I have to keep going...)", - "(Standing around won't get me any closer to home.)" - }), +"...", +"(The forest is beautiful...)" +}, { +"...", +"(I have to keep going...)", +"(Standing around won't get me any closer to home.)" +}), ponder_chase = pager:create(0, { - "(If I could just talk to them...)", - "(... there's no time to lose!)" - }, { - "(... I've got to catch up to them!)" - }), +"(If I could just talk to them...)", +"(... there's no time to lose!)" +}, { +"(... I've got to catch up to them!)" +}), ponder_gate = { - "...", - "(I need a closer look at that gate...)" - }, +"...", +"(I need a closer look at that gate...)" +}, ponder_shock = function() return { "(... hm...)", unpack(accessor.item_glove1 and accessor.item_glove2 and accessor.item_boot1 and accessor.item_boot2 and ({ - "(I have these gloves... and these boots...)", - "(Oh! I can use these to climb the gate safely!)" - }) or +"(I have these gloves... and these boots...)", +"(Oh! I can use these to climb the gate safely!)" +}) or (accessor.item_glove1 and accessor.item_glove2 and ((accessor.item_boot1 or accessor.item_boot2) and ({ - "(I have these gloves... and this boot...)", - "(With one more boot, I could climb the gate safely.)" - }) or ({ - "(I have these gloves...)", - "(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 ({ - "(I have these boots... and this glove...)", - "(With one more glove, I could climb the gate safely.)" - }) or ({ - "(I have these boots...)", - "(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 ({ - "(I have this glove... and this boot...)", - "(If only I could duplicate them, I could climb the gate safely.)" - }) or ({ - "(I have this glove...)", - "(If I had another glove, and something to protect my feet...)", - "(... I could climb the gate safely.)" - })) or ((accessor.item_boot1 or accessor.item_boot2) and ({ - "(I have this boot...)", - "(If I had another boot, and something to protect my hands...)", - "(... I could climb the gate safely.)" - }) or ({ - "(If I had some extra gear to protect myself...)", - "(... I could climb the gate safely.)" - })))))) +"(I have these gloves... and this boot...)", +"(With one more boot, I could climb the gate safely.)" +}) or ({ +"(I have these gloves...)", +"(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 ({ +"(I have these boots... and this glove...)", +"(With one more glove, I could climb the gate safely.)" +}) or ({ +"(I have these boots...)", +"(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 ({ +"(I have this glove... and this boot...)", +"(If only I could duplicate them, I could climb the gate safely.)" +}) or ({ +"(I have this glove...)", +"(If I had another glove, and something to protect my feet...)", +"(... I could climb the gate safely.)" +})) or ((accessor.item_boot1 or accessor.item_boot2) and ({ +"(I have this boot...)", +"(If I had another boot, and something to protect my hands...)", +"(... I could climb the gate safely.)" +}) or ({ +"(If I had some extra gear to protect myself...)", +"(... I could climb the gate safely.)" +})))))) } end, ponder_gear = { - "(... I think, with this extra gear I've found...)", - "(... climbing the gate should be safe.)" - }, +"(... I think, with this extra gear I've found...)", +"(... climbing the gate should be safe.)" +}, ponder_unlock = { - "(... hm.)", - "(Better get going before someone closes the gate again.)" - }, +"(... hm.)", +"(Better get going before someone closes the gate again.)" +}, ponder_factory = pager:create(0, { - "(... if I had to guess, I'd say this was a syrup factory...)", - "(Definitely a factory of some kind, anyway.)", - "(Shouldn't there be tons of people working here?)" - }, { - "...", - "(... maybe the workers are all on vacation.)" - }), +"(... if I had to guess, I'd say this was a syrup factory...)", +"(Definitely a factory of some kind, anyway.)", +"(Shouldn't there be tons of people working here?)" +}, { +"...", +"(... maybe the workers are all on vacation.)" +}), overworld = { tutorial1 = "Press [X] while moving\nto sprint.", tutorial2 = "Press [←] [→] to climb.", @@ -389,203 +389,203 @@ local function textGen(pager) pipewerx3 = "(Arrange the pipes to connect\nthe two endpoints.)", pipewerx4 = "(Press [X] to exit.)", system1 = { - "Platform Engaged.", - "Selecting Mode: Transit", - "Selecting Destination: CRIMSON", - "Transit In Progress..." - }, +"Platform Engaged.", +"Selecting Mode: Transit", +"Selecting Destination: CRIMSON", +"Transit In Progress..." +}, system2 = "`~1!2@3#4$5%6^7&8*9(0)-_=+[]\\|;:'\",<.>/?", arrival1 = { - "..." - }, +"..." +}, arrival2 = { - "(It's the same as before...)", - "(... guess I... didn't really know what I was expecting.)" - }, +"(It's the same as before...)", +"(... guess I... didn't really know what I was expecting.)" +}, arrival3 = { - "Whoa." - }, +"Whoa." +}, arrival4 = { - "That's big." - }, +"That's big." +}, arrival5 = { - "(Well, it's not home.)", - "(But it's... also not that weird house.)", - "(So that's good.)" - }, +"(Well, it's not home.)", +"(But it's... also not that weird house.)", +"(So that's good.)" +}, arrival6 = { - "(... I wish...)", - "(... I had an umbrella.)" - }, +"(... I wish...)", +"(... I had an umbrella.)" +}, stowaway1 = { - "...", - "H... hello?" - }, +"...", +"H... hello?" +}, stowaway2 = { - "Wait, don't go! I..." - }, +"Wait, don't go! I..." +}, stowaway3 = { - "... get back here!" - }, +"... get back here!" +}, stowaway4 = { - "Hey, you!" - }, +"Hey, you!" +}, stowaway5 = { - "(There's nothing to be afraid of...)" - }, +"(There's nothing to be afraid of...)" +}, stowaway6 = { - "No, no, no!" - }, +"No, no, no!" +}, stowaway7 = { - "(... slam the gate on me, why don't you...)" - }, +"(... slam the gate on me, why don't you...)" +}, bushitem1 = { - "(There's something buried in here...)", - "Pick it up?" - }, +"(There's something buried in here...)", +"Pick it up?" +}, bushitem2 = { - "Yes", - "No" - }, +"Yes", +"No" +}, glover0 = "Work Glove", glover1 = { - "(A glove!)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", - "(Feels... tough.)" - }, +"(A glove!)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", +"(Feels... tough.)" +}, glover2 = { - "(Another glove!)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove." - }, +"(Another glove!)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove." +}, glovey1 = { - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", - "(A glove!)", - "(Feels... tough.)" - }, +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", +"(A glove!)", +"(Feels... tough.)" +}, glovey2 = { - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", - "(Another glove!)" - }, +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", +"(Another glove!)" +}, bootey1 = { - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", - "(... a single boot.)", - "(Surely there's another one around, right?)" - }, +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", +"(... a single boot.)", +"(Surely there's another one around, right?)" +}, bootey2 = { - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", - "(Ah, there it is.)" - }, +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", +"(Ah, there it is.)" +}, booter0 = "Work Boot", booter1 = { - "(... a single boot.)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", - "(Surely there's another one around, right?)" - }, +"(... a single boot.)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", +"(Surely there's another one around, right?)" +}, booter2 = { - "(Ah, there it is.)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot." - }, +"(Ah, there it is.)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot." +}, drillie1 = pager:create(0, { - "(I could just use this drill to open the gate...)", - "(... but in doing so, its batteries would be completely drained.)", - "(Would I be able to replace them?)" - }, { - "(Should I use the drill to open the gate, or save it for later?)" - }), +"(I could just use this drill to open the gate...)", +"(... but in doing so, its batteries would be completely drained.)", +"(Would I be able to replace them?)" +}, { +"(Should I use the drill to open the gate, or save it for later?)" +}), drillie2 = { - "Use The Drill", - "Find Another Way" - }, +"Use The Drill", +"Find Another Way" +}, drillie3 = { - "..." - }, +"..." +}, drillie4 = { - "(... that did the trick.)" - }, +"(... that did the trick.)" +}, gateclimb0 = "Gate", gateclimb1 = { - "...", - "(Ah! Of course!)", - "(I'll just climb over it!)" - }, +"...", +"(Ah! Of course!)", +"(I'll just climb over it!)" +}, gateclimb2a = { - "... ugh..." - }, +"... ugh..." +}, gateclimb2b = { - "(... guess I'll have to find something else.)" - }, +"(... guess I'll have to find something else.)" +}, gateclimb2c = { - "(Wait. I have these gloves and boots...)", - "(I could try again with the extra gear to protect myself.)", - "Climb over the gate?" - }, +"(Wait. I have these gloves and boots...)", +"(I could try again with the extra gear to protect myself.)", +"Climb over the gate?" +}, gateclimb3 = { - "(It's electrically charged.)" - }, +"(It's electrically charged.)" +}, gateclimb4 = { - "(Can't climb over the gate without extra gear.)" - }, +"(Can't climb over the gate without extra gear.)" +}, gateclimb5 = pager:create( 0, function() local ____array_0 = __TS__SparseArrayNew(unpack(accessor.event_redleaf_gateclimb == 2 and ({ - "(I have the extra gear I need to protect myself.)" - }) or ({ - "(Wait. I have these gloves and boots now...)", - "(I could try again with the extra gear to protect myself.)" - }))) +"(I have the extra gear I need to protect myself.)" +}) or ({ +"(Wait. I have these gloves and boots now...)", +"(I could try again with the extra gear to protect myself.)" +}))) __TS__SparseArrayPush(____array_0, "Climb over the gate?") return { __TS__SparseArraySpread(____array_0) } end, { - "Climb over the gate?" - } +"Climb over the gate?" +} ), gateclimb6 = { - "Yes", - "No" - }, +"Yes", +"No" +}, gateclimb7 = { - "(Third climb's the charm. placeholder :3)" - }, +"(Third climb's the charm. placeholder :3)" +}, gateclimb8 = { - "(Alright!)" - }, +"(Alright!)" +}, gateclimb9 = { - "(Is this... a factory?)" - }, +"(Is this... a factory?)" +}, gateclimb10 = { - "(Time to find out what that rascal was up to.)" - } +"(Time to find out what that rascal was up to.)" +} }, trivia = { tree = { - "It's a tree! (placeholder :3)" - }, +"It's a tree! (placeholder :3)" +}, barrel = { - "Barrel barrel barrel- (placeholder :3)" - }, +"Barrel barrel barrel- (placeholder :3)" +}, lid = { - "A lid. (placeholder :3)" - }, +"A lid. (placeholder :3)" +}, facsign = { - "\"REDLEAF INDUSTRIES\"\n\"Factory Grounds Nearby\"" - }, +"\"REDLEAF INDUSTRIES\"\n\"Factory Grounds Nearby\"" +}, sapsign = { - "\"Kotokura Syrup Exports\"\n\"Redleaf Industries\"" - }, +"\"Kotokura Syrup Exports\"\n\"Redleaf Industries\"" +}, carsign = pager:create(0, { - "\"Danger: Industrial Vehicles\"", - "(Guess I should be careful...)" - }, { - "\"Danger: Industrial Vehicles\"" - }), +"\"Danger: Industrial Vehicles\"", +"(Guess I should be careful...)" +}, { +"\"Danger: Industrial Vehicles\"" +}), powertower = { - "A powertower? (placeholder :3)" - }, +"A powertower? (placeholder :3)" +}, placeholder2 = pager:create(0, { - "placeholder :3" - }) +"placeholder :3" +}) }, trivia_tooltip = { tree = "Tree", diff --git a/translate/text/zh_CN/home.lua b/translate/text/zh_CN/home.lua index d989fe5..62ef9fc 100644 --- a/translate/text/zh_CN/home.lua +++ b/translate/text/zh_CN/home.lua @@ -248,67 +248,67 @@ local function textGen(pager) name = "Book", info = function() return ({ { - "\"The Jensen Paradox, third installment in the Jensen series.\"", - "\"How will they escape last time?\"" - }, { - "\"Surface Tension, the hotel nobody ever leaves.\"", - "\"An endless maze of hallways, doors, swimming pools and libraries...\"" - }, { - "\"Astrae Symphonia, a tale of intrigue, emotion, and music.\"", - "\"Follow this rogue starship to the edge of the galaxy!\"" - } })[accessor.choice_home_book + 1] +"\"The Jensen Paradox, third installment in the Jensen series.\"", +"\"How will they escape last time?\"" +}, { +"\"Surface Tension, the hotel nobody ever leaves.\"", +"\"An endless maze of hallways, doors, swimming pools and libraries...\"" +}, { +"\"Astrae Symphonia, a tale of intrigue, emotion, and music.\"", +"\"Follow this rogue starship to the edge of the galaxy!\"" +} })[accessor.choice_home_book + 1] end }, item_rock = { name = "Rocks" }, item_batteries = { name = "Batteries", info = { - "(Type four batteries. Good for small devices and tools.)" - } +"(Type four batteries. Good for small devices and tools.)" +} }, item_cover = { name = function() return accessor.item_scissors and "Blanket Rope" or "Blanket" end, info = function() return accessor.item_scissors and ({ - "(A makeshift \"rope\" made from pieces of a blanket.)" - }) or ({ - "(A comfortable blanket. Haven't found something to cut it with yet.)" - }) +"(A makeshift \"rope\" made from pieces of a blanket.)" +}) or ({ +"(A comfortable blanket. Haven't found something to cut it with yet.)" +}) end }, item_crowbar = { name = "Metal Bar", info = { - "(One bar of pure bed frame.)", - "(It's really heavy.)" - } +"(One bar of pure bed frame.)", +"(It's really heavy.)" +} }, ponder_book = pager:create(0, { - "(You ponder why you're still awake.)", - "(You realize you don't have a book to read in bed.)" - }, { - "(You ponder what kind of book you'd like to read.)", - "(You're realize you're in the mood for something novel.)" - }), +"(You ponder why you're still awake.)", +"(You realize you don't have a book to read in bed.)" +}, { +"(You ponder what kind of book you'd like to read.)", +"(You're realize you're in the mood for something novel.)" +}), ponder_sleep = { - "(You ponder why you're still awake.)", - "(You realize you should probably go to bed now.)" - }, +"(You ponder why you're still awake.)", +"(You realize you should probably go to bed now.)" +}, ponder_hello = { - "...", - "(I don't really know where I am.)", - "(Exploring might give me a better idea...)" - }, +"...", +"(I don't really know where I am.)", +"(Exploring might give me a better idea...)" +}, ponder_outside = pager:create( 0, { - "...", - "(This... house... doesn't make any sense.)", - "(How is it just... floating?)", - "(Why is there nothing else out there?)", - "(If I could find something to \"test\" this place...)", - "(... it might give me a clue how to escape it.)" - }, +"...", +"(This... house... doesn't make any sense.)", +"(How is it just... floating?)", +"(Why is there nothing else out there?)", +"(If I could find something to \"test\" this place...)", +"(... it might give me a clue how to escape it.)" +}, function() return { "(I'm looking for a way to escape.)", "(To do that, I need to know what this place's limits are.)", @@ -319,26 +319,26 @@ local function textGen(pager) ), ponder_platform = function() return accessor.item_cover and (accessor.item_scissors and ({ - "(So far, I've cut this blanket and made it into a rope.)", - "(Now, I just need something to hold it in place for the climb...)", - "(... something strong and sturdy, like metal.)" - }) or ({ - "(So far, I've found a blanket, which I can make into a rope.)", - "(I still need something to cut it with.)" - })) or ({ - "(I need to find a way down to that platform.)", - "(It's too far to jump, so I'll have to try something else.)", - "(A rope would do the trick...)" - }) +"(So far, I've cut this blanket and made it into a rope.)", +"(Now, I just need something to hold it in place for the climb...)", +"(... something strong and sturdy, like metal.)" +}) or ({ +"(So far, I've found a blanket, which I can make into a rope.)", +"(I still need something to cut it with.)" +})) or ({ +"(I need to find a way down to that platform.)", +"(It's too far to jump, so I'll have to try something else.)", +"(A rope would do the trick...)" +}) end, ponder_exit = pager:create(0, { - "...", - "(It's strange... omething about this house is comfortable.)", - "(In another life, I could see myself living here...)" - }, { - "(There's nothing else for me to do here.)", - "(It's time to go.)" - }), +"...", +"(It's strange... omething about this house is comfortable.)", +"(In another life, I could see myself living here...)" +}, { +"(There's nothing else for me to do here.)", +"(It's time to go.)" +}), overworld = { start1 = "WARNING", start2 = @@ -354,54 +354,54 @@ local function textGen(pager) tutorial7 = "Hold [Z], then release.", tutorial8 = "Press [←] [→] to climb.", blocker1 = { - "(You'll be safer indoors this late at night.)" - }, +"(You'll be safer indoors this late at night.)" +}, blocker2 = { - "(You're forgetting something.)" - }, +"(You're forgetting something.)" +}, blocker3 = { - "Go upstairs and complete the tutorial?" - }, +"Go upstairs and complete the tutorial?" +}, blocker4 = { - "Go Upstairs", - "Not Yet" - }, +"Go Upstairs", +"Not Yet" +}, blocker5 = { - "Go outside and climb down to the golden platform?" - }, +"Go outside and climb down to the golden platform?" +}, blocker6 = { - "Go Outside", - "Not Yet" - }, +"Go Outside", +"Not Yet" +}, bookshelf1 = { - "Get a book?" - }, +"Get a book?" +}, bookshelf2 = { - "The Jensen Paradox (Action)", - "Surface Tension (Surreal)", - "Astrae Symphonia (Space)", - "Not Yet" - }, +"The Jensen Paradox (Action)", +"Surface Tension (Surreal)", +"Astrae Symphonia (Space)", +"Not Yet" +}, bookshelf3 = { - "(You got the Book.)" - }, +"(You got the Book.)" +}, bookshelf4 = { - "(You decide not to get a book.)" - }, +"(You decide not to get a book.)" +}, hello1 = { - "...", - "(This isn't my bed.)" - }, +"...", +"(This isn't my bed.)" +}, hello2 = { - "(... maybe I slept on the wrong antenna...)" - }, +"(... maybe I slept on the wrong antenna...)" +}, hello3 = { - "(No, no... this isn't my home at all.)", - "(How did I get here? Did someone... kidnap me?)" - }, +"(No, no... this isn't my home at all.)", +"(How did I get here? Did someone... kidnap me?)" +}, hello4 = { - "(I don't remember being taken...)" - }, +"(I don't remember being taken...)" +}, goatplush0 = "Plushie", goatplush1 = pager:create( 0, @@ -411,25 +411,25 @@ local function textGen(pager) "(... did you follow me here, to this strange place?)", "Pick them up?" } end, { - "Pick them up?" - } +"Pick them up?" +} ), goatplush2 = { - "Yes", - "No" - }, +"Yes", +"No" +}, goatplush3 = { - "Come here, you.", - "{color=0xa289dc}Dysu{color=0xffffff} got the Plushie.", - "...", - "(Maybe I should hold onto this for a while.)" - }, +"Come here, you.", +"{color=0xa289dc}Dysu{color=0xffffff} got the Plushie.", +"...", +"(Maybe I should hold onto this for a while.)" +}, fusebox1 = function() return { "(An electric routing box...)", unpack(accessor.plot < 2 and ({ - "(Maybe I can get main power back on.)" - }) or ({})) +"(Maybe I can get main power back on.)" +}) or ({})) } end, fusebox2 = "KITCHEN", @@ -441,38 +441,38 @@ local function textGen(pager) fusebox8 = "ON", fusebox9 = "OFF", lightswitch = { - "(No power.)" - }, +"(No power.)" +}, telecomm1 = function() return { "(A comms device. Must be battery-powered.)", unpack(accessor.plot < 2 and ({ - "(Only two receivers on the contact list...?)" - }) or ({})) +"(Only two receivers on the contact list...?)" +}) or ({})) } end, telecomm2 = { - "What will you do?" - }, +"What will you do?" +}, telecomm3a = { - "Call Work", - "Call Neighbors", - "Play Back Message", - "Never Mind" - }, +"Call Work", +"Call Neighbors", +"Play Back Message", +"Never Mind" +}, telecomm3b = { - "Call Work", - "Call Neighbors", - "Never Mind" - }, +"Call Work", +"Call Neighbors", +"Never Mind" +}, telecomm4 = { { - "(Calling... Work.)" - }, { - "(Calling... Neighbors.)" - } }, +"(Calling... Work.)" +}, { +"(Calling... Neighbors.)" +} }, telecomm5 = { - "(That Receiver Does Not Exist.)" - }, +"(That Receiver Does Not Exist.)" +}, telecomm6 = function() return { "(Beginning Playback...)", @@ -482,12 +482,12 @@ local function textGen(pager) unpack(accessor.state_home_telecomm_message == 0 and ({ "(Oh. It's just a scam.)", unpack(accessor.event_home_outside and ({ - "(I'd delete the message, if it wasn't for the small possibility...)", - "(... that this might be the last other person's voice I hear.)" - }) or ({ - "(Nobody would mind if I deleted this, would they?)", - "(Message Deleted.)" - })) +"(I'd delete the message, if it wasn't for the small possibility...)", +"(... that this might be the last other person's voice I hear.)" +}) or ({ +"(Nobody would mind if I deleted this, would they?)", +"(Message Deleted.)" +})) }) or ({})) } end, @@ -498,122 +498,122 @@ local function textGen(pager) "(Actually, before I go...)", "Eat something from the fridge?" } end, { - "Eat something from the fridge?" - } +"Eat something from the fridge?" +} ), fridge2 = { - "Boka Fruit", - "Tenzka Tracks Ice Cream", - "Morning Leftovers", - "Never Mind" - }, +"Boka Fruit", +"Tenzka Tracks Ice Cream", +"Morning Leftovers", +"Never Mind" +}, fridge3 = { { - "(These better be home-grown.)" - }, { - "(My favorite food! I must be lucky.)" - }, { - "(... it's better than nothing.)" - }, { - "..." - } }, +"(These better be home-grown.)" +}, { +"(My favorite food! I must be lucky.)" +}, { +"(... it's better than nothing.)" +}, { +"..." +} }, fridge4 = { { - "(Huh. Those were actually pretty good.)" - }, { - "(... might've eaten too much.)" - }, { - "..." - } }, +"(Huh. Those were actually pretty good.)" +}, { +"(... might've eaten too much.)" +}, { +"..." +} }, fridge5 = function() return accessor.plot < 2 and ({ - "(Oh... right.)", - "(I'm still trying to get out of here.)" - }) or ({ - "(... time to get back to what I was doing.)" - }) +"(Oh... right.)", +"(I'm still trying to get out of here.)" +}) or ({ +"(... time to get back to what I was doing.)" +}) end, outside1 = { - "(What the...)", - "..." - }, +"(What the...)", +"..." +}, outside2 = { - "(What IS this?)", - "(W... where am I?)" - }, +"(What IS this?)", +"(W... where am I?)" +}, outside3 = { - "(It's everywhere.)", - "(Everywhere I turn, it's just...)" - }, +"(It's everywhere.)", +"(Everywhere I turn, it's just...)" +}, outside4 = { - "(I... I have to get out of here...)" - }, +"(I... I have to get out of here...)" +}, telescope1 = { - "(The telescope...)" - }, +"(The telescope...)" +}, telescope2 = { - "(Maybe I'll spot something in the distance.)" - }, +"(Maybe I'll spot something in the distance.)" +}, basket1a = { - "...", - "(Wait, that box on the bookshelf...)", - "(It's the lockbox from the note!)" - }, +"...", +"(Wait, that box on the bookshelf...)", +"(It's the lockbox from the note!)" +}, basket1b = { - "(Hm...)" - }, +"(Hm...)" +}, basket2 = { - "{color=0xa289dc}Dysu{color=0xffffff} got the Library Card.", - "(There!)" - }, +"{color=0xa289dc}Dysu{color=0xffffff} got the Library Card.", +"(There!)" +}, basket3 = { - "(A library card...?)" - }, +"(A library card...?)" +}, bucket1 = function() return accessor.plot < 3 and (accessor.item_cover and accessor.item_scissors and not accessor.item_crowbar and ({ - "(A rusty shovel. I'd use this as an anchor, but...)" - }) or ({ - "(A rusty shovel. Looks like it's...)" - })) or ({ - "(A rusty shovel...)" - }) +"(A rusty shovel. I'd use this as an anchor, but...)" +}) or ({ +"(A rusty shovel. Looks like it's...)" +})) or ({ +"(A rusty shovel...)" +}) end, bucket2 = function() return { "(Wait.)", unpack(accessor.plot < 2 and ({ - "(What about the pail?)" - }) or ({ - "(That pail might be come in handy.)" - })) +"(What about the pail?)" +}) or ({ +"(That pail might be come in handy.)" +})) } end, bucket3 = function() local ____array_0 = __TS__SparseArrayNew(unpack(accessor.plot < 2 and ({ - "(... how could it be raining when there's nothing else outside?)", - "(Maybe I can learn something by collecting it, and...)", - "(Studying it, I guess.)", - "(... sounds stupid when I think about it like that, but still.)" - }) or ({ - "(Just in case.)" - }))) +"(... how could it be raining when there's nothing else outside?)", +"(Maybe I can learn something by collecting it, and...)", +"(Studying it, I guess.)", +"(... sounds stupid when I think about it like that, but still.)" +}) or ({ +"(Just in case.)" +}))) __TS__SparseArrayPush(____array_0, "{color=0xa289dc}Dysu{color=0xffffff} got the Pail.") return { __TS__SparseArraySpread(____array_0) } end, bucket4 = { - "(Don't think I can collect any rain from here.)" - }, +"(Don't think I can collect any rain from here.)" +}, rain1 = { - "..." - }, +"..." +}, rain2 = { - "(That's weird...)", - "(The rain's definitely going inside, but...)", - "(It's... not filling up.)" - }, +"(That's weird...)", +"(The rain's definitely going inside, but...)", +"(It's... not filling up.)" +}, rain3 = { - "(Freaky.)", - "(... guess I can't learn anything from this, though.)" - }, +"(Freaky.)", +"(... guess I can't learn anything from this, though.)" +}, rope1 = function() return { "(It's a rope. There's not much of it left.)", accessor.plot == 2 and "(Doubt it's enough to reach the platform, but I'll take it anyway.)" or @@ -621,95 +621,95 @@ local function textGen(pager) "{color=0xa289dc}Dysu{color=0xffffff} got the Rope." } end, rope2 = { - "(No use for this indoors.)" - }, +"(No use for this indoors.)" +}, dangle1 = { - "(Hm...)" - }, +"(Hm...)" +}, dangle2 = { - "(No, it's nowhere NEAR long enough to get me down there.)" - }, +"(No, it's nowhere NEAR long enough to get me down there.)" +}, dangle3 = function() return accessor.item_cover and ({ - "(... the blanket plan will have to do.)" - }) or ({ - "(... maybe there's something else I could make a rope out of.)" - }) +"(... the blanket plan will have to do.)" +}) or ({ +"(... maybe there's something else I could make a rope out of.)" +}) end, drill = { - "(A heavy-duty electric drill. Might be useful.)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Drill.", - "(Good thing these batteries were included.)" - }, +"(A heavy-duty electric drill. Might be useful.)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Drill.", +"(Good thing these batteries were included.)" +}, drill_tooltip = "Drill", broombox1 = { - "(A box of old collector's rocks...)", - "(... doubt they're important, so instead, I could try throwing them.)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Rock.", - "(Off the edge.)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Rock.", - "(To see what happens.)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Rock." - }, +"(A box of old collector's rocks...)", +"(... doubt they're important, so instead, I could try throwing them.)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Rock.", +"(Off the edge.)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Rock.", +"(To see what happens.)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Rock." +}, broombox2 = { - "(It's worth a try.)" - }, +"(It's worth a try.)" +}, broombox3 = { - "(Throwing these indoors won't tell me anything.)" - }, +"(Throwing these indoors won't tell me anything.)" +}, golden1 = { - "(... right.)" - }, +"(... right.)" +}, golden2 = { - "...", - "(Get ready...!)" - }, +"...", +"(Get ready...!)" +}, golden3 = { - "...", - "(Maybe I didn't throw it far enough.)" - }, +"...", +"(Maybe I didn't throw it far enough.)" +}, golden4 = { - "(Here we go...)", - "(... again!)" - }, +"(Here we go...)", +"(... again!)" +}, golden5 = { - "...", - "(Nothing...)" - }, +"...", +"(Nothing...)" +}, golden6 = { - "...", - "(... what if I just...)" - }, +"...", +"(... what if I just...)" +}, golden7 = { - "..." - }, +"..." +}, golden8 = { - "(That's new.)" - }, +"(That's new.)" +}, golden9 = { - "...", - "(Doesn't look like part of the house...)", - "(Could that be what's behind all of this?)", - "...", - "(Maybe it's silly, but if...)", - "(If I could get down there somehow...)" - }, +"...", +"(Doesn't look like part of the house...)", +"(Could that be what's behind all of this?)", +"...", +"(Maybe it's silly, but if...)", +"(If I could get down there somehow...)" +}, golden10 = { - "(... I might just be able to escape!)" - }, +"(... I might just be able to escape!)" +}, scissors1 = function() local ____array_1 = __TS__SparseArrayNew(unpack(accessor.item_cover and ({ - "(Scissors! For the blanket!)" - }) or ({ - "(Scissors...)", - "(Could be good to have these on hand.)" - }))) +"(Scissors! For the blanket!)" +}) or ({ +"(Scissors...)", +"(Could be good to have these on hand.)" +}))) __TS__SparseArrayPush( ____array_1, "{color=0xa289dc}Dysu{color=0xffffff} got the Scissors.", unpack(accessor.item_cover and ({ - "(Sorry, little blanket...)" - }) or ({})) +"(Sorry, little blanket...)" +}) or ({})) ) return { __TS__SparseArraySpread(____array_1) } end, @@ -717,16 +717,16 @@ local function textGen(pager) return { "(... that's that taken care of...)", unpack(accessor.item_crowbar and ({ - "(Oh! And I can use the bed frame as an anchor!)" - }) or ({ - "(Now I need something to anchor the \"rope\" to once I'm outside.)" - })) +"(Oh! And I can use the bed frame as an anchor!)" +}) or ({ +"(Now I need something to anchor the \"rope\" to once I'm outside.)" +})) } end, bed1 = { - "(The bed...)", - "(... no...)" - }, +"(The bed...)", +"(... no...)" +}, bed2 = function() return { "(The covers!)", @@ -734,189 +734,189 @@ local function textGen(pager) "(... and make a rope out of it!)", "{color=0xa289dc}Dysu{color=0xffffff} got the Blanket.", unpack(accessor.item_scissors and ({ - "(Sorry, little blanket...)" - }) or ({})) +"(Sorry, little blanket...)" +}) or ({})) } end, bed3 = function() return not accessor.item_scissors and ({ - "(I'll need something to cut it with, though.)" - }) or (not accessor.item_crowbar and ({ - "(Now I need something to anchor the \"rope\" to once I'm outside.)" - }) or ({ - "(Oh! And I can use the bed frame as an anchor!)" - })) +"(I'll need something to cut it with, though.)" +}) or (not accessor.item_crowbar and ({ +"(Now I need something to anchor the \"rope\" to once I'm outside.)" +}) or ({ +"(Oh! And I can use the bed frame as an anchor!)" +})) end, framer1 = function() return { "(A metal bed frame. I wonder if I could take it apart...)", unpack(accessor.item_drill and ({ - "(... the drill should do nicely!)" - }) or ({ - "(... not by hand, that's for sure.)" - })) +"(... the drill should do nicely!)" +}) or ({ +"(... not by hand, that's for sure.)" +})) } end, framer2 = function() return { "{color=0xa289dc}Dysu{color=0xffffff} got the Metal Bar.", unpack(accessor.item_cover and accessor.item_scissors and ({ - "..." - }) or ({ - "(Nice!)" - })) +"..." +}) or ({ +"(Nice!)" +})) } end, framer3 = { - "(... wait! That's it!)", - "(I'll attach the \"rope\" to the bar, place it behind the doorway...)", - "(... and climb my way down to the platform!)" - }, +"(... wait! That's it!)", +"(I'll attach the \"rope\" to the bar, place it behind the doorway...)", +"(... and climb my way down to the platform!)" +}, done1 = { - "(I'll attach the \"rope\" to it, place it behind the doorway...)", - "(... and climb my way down to the platform!)" - }, +"(I'll attach the \"rope\" to it, place it behind the doorway...)", +"(... and climb my way down to the platform!)" +}, done2 = { - "(About time...)" - }, +"(About time...)" +}, exit1 = { - "(Well, that should do it...)" - }, +"(Well, that should do it...)" +}, exit2 = { - "(Don't look down.)" - }, +"(Don't look down.)" +}, exit3 = { - "... I made it! I'm here!", - "I'm actually..." - }, +"... I made it! I'm here!", +"I'm actually..." +}, exit4 = { - "(What the-)" - } +"(What the-)" +} }, trivia = { window = function() return accessor.plot < 1 and ({ - "(You peer through the window, observing the outdoor nightlife.)" - }) or (accessor.plot < 2 and (not accessor.event_home_outside and ({ - "(That's weird...)", - "(... can't see anything out there.)" - }) or ({ - "..." - })) or ({ - "..." - })) +"(You peer through the window, observing the outdoor nightlife.)" +}) or (accessor.plot < 2 and (not accessor.event_home_outside and ({ +"(That's weird...)", +"(... can't see anything out there.)" +}) or ({ +"..." +})) or ({ +"..." +})) end, bed = function() return not accessor.item_cover and ({ - "(A surprisingly comfortable bed.)" - }) or (accessor.plot < 3 and ({ - "(Probably not as comfortable anymore.)" - }) or ({ - "(A bed.)" - })) +"(A surprisingly comfortable bed.)" +}) or (accessor.plot < 3 and ({ +"(Probably not as comfortable anymore.)" +}) or ({ +"(A bed.)" +})) end, computer = function() return { "(A computer.)", unpack(not accessor.event_home_outside and ({ - "(The neural input looks worn out. Must have seen a lot of use.)" - }) or (accessor.plot < 3 and ({ - "(Without any power, it's just a box.)" - }) or ({}))) +"(The neural input looks worn out. Must have seen a lot of use.)" +}) or (accessor.plot < 3 and ({ +"(Without any power, it's just a box.)" +}) or ({}))) } end, chair = function() return accessor.plot < 3 and ({ - "(Just a chair.)" - }) or ({ - "(Despite everything, it's still just a chair.)" - }) +"(Just a chair.)" +}) or ({ +"(Despite everything, it's still just a chair.)" +}) end, dresser1 = function() return accessor.plot < 2 and ({ - "(Lots of toys and trinkets in these drawers.)" - }) or (accessor.plot < 3 and ({ - "(Now's not the time for souvenirs.)" - }) or ({ - "(Toys and trinkets.)" - })) +"(Lots of toys and trinkets in these drawers.)" +}) or (accessor.plot < 3 and ({ +"(Now's not the time for souvenirs.)" +}) or ({ +"(Toys and trinkets.)" +})) end, dresser2 = function() return accessor.plot < 2 and ({ - "(Nothing but antenna warmers in these drawers.)" - }) or (accessor.plot < 3 and ({ - "(Antenna warmers won't help me reach the platform.)" - }) or ({ - "(Antenna warmers.)" - })) +"(Nothing but antenna warmers in these drawers.)" +}) or (accessor.plot < 3 and ({ +"(Antenna warmers won't help me reach the platform.)" +}) or ({ +"(Antenna warmers.)" +})) end, book = function() return accessor.plot < 3 and ({ ({ - "(\"The Jensen Paradox...\")", - "(\"Surface Tension...\")", - "(\"Astrae Symphonia...\")" - })[accessor.choice_home_book + 1], accessor.plot < 2 and "(Not a bad choice.)" or "(... part of this story might be coming true.)" }) or +"(\"The Jensen Paradox...\")", +"(\"Surface Tension...\")", +"(\"Astrae Symphonia...\")" +})[accessor.choice_home_book + 1], accessor.plot < 2 and "(Not a bad choice.)" or "(... part of this story might be coming true.)" }) or ({ { - "(\"The Jensen Paradox.\")" - }, { - "(\"Surface Tension.\")" - }, { - "(\"Astrae Symphonia.\")" - } })[accessor.choice_home_book + 1] +"(\"The Jensen Paradox.\")" +}, { +"(\"Surface Tension.\")" +}, { +"(\"Astrae Symphonia.\")" +} })[accessor.choice_home_book + 1] end, cutetunnel = function() return accessor.plot < 2 and ({ - "(Painting of a wild arkette staring down a corridor.)" - }) or ({ - "(... you and me both, little arkette.)" - }) +"(Painting of a wild arkette staring down a corridor.)" +}) or ({ +"(... you and me both, little arkette.)" +}) end, toy = function() return accessor.plot < 2 and ({ - "(A perpetual motion toy?)", - "(Wonder how long it's been going...)" - }) or (accessor.plot < 3 and ({ - "(Wait, wasn't this toy doing something earlier?)" - }) or ({ - "(A simple toy.)" - })) +"(A perpetual motion toy?)", +"(Wonder how long it's been going...)" +}) or (accessor.plot < 3 and ({ +"(Wait, wasn't this toy doing something earlier?)" +}) or ({ +"(A simple toy.)" +})) end, plant = function() return { "(Baby boka tree.)", unpack(accessor.plot < 2 and ({ - "(Seems like it's almost ready to be planted...)" - }) or (accessor.plot < 3 and ({ - "(Shame there's nowhere to plant this.)" - }) or ({}))) +"(Seems like it's almost ready to be planted...)" +}) or (accessor.plot < 3 and ({ +"(Shame there's nowhere to plant this.)" +}) or ({}))) } end, shovel = function() return accessor.item_bucket and ({ - "(A rusty shovel with a great big hole in it.)" - }) or +"(A rusty shovel with a great big hole in it.)" +}) or (accessor.plot < 3 and (accessor.item_cover and accessor.item_scissors and not accessor.item_crowbar and ({ - "(A rusty shovel. I'd use this as an anchor...)", - "(... if it wasn't such a piece of junk.)" - }) or ({ - "(A rusty shovel. Looks like it's about to fall apart.)" - })) or ({ - "(Useless shovel.)" - })) +"(A rusty shovel. I'd use this as an anchor...)", +"(... if it wasn't such a piece of junk.)" +}) or ({ +"(A rusty shovel. Looks like it's about to fall apart.)" +})) or ({ +"(Useless shovel.)" +})) end, broombox = function() return accessor.item_rock and ({ - "(An old broom with a broken handle.)" - }) or ({ - "(An old broom and some fancy rocks. The broom's handle is broken.)" - }) +"(An old broom with a broken handle.)" +}) or ({ +"(An old broom and some fancy rocks. The broom's handle is broken.)" +}) end, dresserdrawer1 = { - "(An empty dresser drawer.)" - }, +"(An empty dresser drawer.)" +}, dresserdrawer2 = { - "(An empty dresser drawer. It's stuck open.)" - }, +"(An empty dresser drawer. It's stuck open.)" +}, dresserpaper = function() return { "\"After much deliberation, we have come to an agreement.\"", @@ -928,222 +928,222 @@ local function textGen(pager) end, mattress = function() return accessor.plot < 3 and ({ - "(Don't think this mattress has ever been slept on.)" - }) or ({ - "(Unused mattress.)" - }) +"(Don't think this mattress has ever been slept on.)" +}) or ({ +"(Unused mattress.)" +}) end, bin = { - "(An empty bin with a cleaning towel draped over the side.)" - }, +"(An empty bin with a cleaning towel draped over the side.)" +}, bedframe = function() return accessor.plot < 2 and ({ - "(A metal bed frame. The most dangerous object in the universe.)" - }) or ({ - "(A metal bed frame, with one side removed.)", - "(If anything, this makes it MORE dangerous...)" - }) +"(A metal bed frame. The most dangerous object in the universe.)" +}) or ({ +"(A metal bed frame, with one side removed.)", +"(If anything, this makes it MORE dangerous...)" +}) end, fusebox = { - "(The box emits a faint hum of electricity.)" - }, +"(The box emits a faint hum of electricity.)" +}, lightswitch = { - "(A light switch.)" - }, +"(A light switch.)" +}, lamp = function() return accessor.plot < 1 and ({ - "(Favoring darkness's allure, you'd rather keep the lamp off.)" - }) or ({ +"(Favoring darkness's allure, you'd rather keep the lamp off.)" +}) or ({ "(A lamp.)", unpack(accessor.plot < 3 and ({ - "(... not something I use very often.)" - }) or ({})) +"(... not something I use very often.)" +}) or ({})) }) end, telescope = function() return accessor.plot < 1 and ({ - "(A telescope, still in its bag. You'll get it out eventually.)" - }) or ({ - "(A bagged-up telescope. That's a shame...)" - }) +"(A telescope, still in its bag. You'll get it out eventually.)" +}) or ({ +"(A bagged-up telescope. That's a shame...)" +}) end, bookshelf = function() return accessor.plot < 1 and ({ - "(In your opinion, books are the ideal medium for fiction.)" - }) or (not accessor.event_home_secret and ({ - "(This is a very good bookshelf. Almost makes me want to stay...)" - }) or (accessor.event_home_bookshelf < 1 and ({ - "(There's a broken lockbox up there, alright...)" - }) or (accessor.event_home_bookshelf < 2 and ({ - "(The box is too high for me to reach it.)" - }) or ({ - "(A gateway to reading, in more ways than one.)" - })))) +"(In your opinion, books are the ideal medium for fiction.)" +}) or (not accessor.event_home_secret and ({ +"(This is a very good bookshelf. Almost makes me want to stay...)" +}) or (accessor.event_home_bookshelf < 1 and ({ +"(There's a broken lockbox up there, alright...)" +}) or (accessor.event_home_bookshelf < 2 and ({ +"(The box is too high for me to reach it.)" +}) or ({ +"(A gateway to reading, in more ways than one.)" +})))) end, couch = function() return accessor.plot < 1 and ({ - "(The couch. You wonder if you'll fall asleep here again.)" - }) or (accessor.plot < 2 and ({ - "(Someone's been sleeping on this couch, haven't they?)" - }) or ({ - "(Would a couch cushion soften the landing from a big jump?)", - "(... no, too risky.)" - })) +"(The couch. You wonder if you'll fall asleep here again.)" +}) or (accessor.plot < 2 and ({ +"(Someone's been sleeping on this couch, haven't they?)" +}) or ({ +"(Would a couch cushion soften the landing from a big jump?)", +"(... no, too risky.)" +})) end, entertainment = function() return accessor.plot < 1 and ({ - "(The family entertainment center, an essential part of any home.)" - }) or (accessor.plot < 2 and ({ - "(A deluxe-edition family entertainment center.)" - }) or ({ - "(Family entertainment center.)" - })) +"(The family entertainment center, an essential part of any home.)" +}) or (accessor.plot < 2 and ({ +"(A deluxe-edition family entertainment center.)" +}) or ({ +"(Family entertainment center.)" +})) end, SIPPY = function() return accessor.plot < 1 and ({ - "(A set of cups from a local consignment store.)" - }) or (accessor.plot < 2 and ({ - "(Weird cups, full of... weird space fluid, or something.)", - "(It's hard to tell.)" - }) or ({ - "(Better leave these where they are.)" - })) +"(A set of cups from a local consignment store.)" +}) or (accessor.plot < 2 and ({ +"(Weird cups, full of... weird space fluid, or something.)", +"(It's hard to tell.)" +}) or ({ +"(Better leave these where they are.)" +})) end, basket = function() return accessor.plot < 1 and ({ - "(An empty basket. You must have left your best friend upstairs.)" - }) or +"(An empty basket. You must have left your best friend upstairs.)" +}) or (accessor.item_goatplush and ({ "(Somehow, I'm tempted to put the plushie in this basket...)", accessor.floof and "(... of course, I'd still rather keep it on my head.)" or "(... of course, I'd still rather keep it with me.)" }) or ({ - "(Feels like something's missing here.)" - })) +"(Feels like something's missing here.)" +})) end, flipbasket = { - "(The basket has become the stool.)" - }, +"(The basket has become the stool.)" +}, telecomm = { - "(A portable comms device. One new message has been received.)", - "(You'll play it back once you're not so sleepy.)" - }, +"(A portable comms device. One new message has been received.)", +"(You'll play it back once you're not so sleepy.)" +}, diningchair1 = function() return accessor.plot < 1 and ({ - "(Your dining chair.)" - }) or (accessor.plot < 2 and ({ - "(Just a dining chair.)" - }) or ({ - "(No matter what happens, it'll always be a dining chair.)" - })) +"(Your dining chair.)" +}) or (accessor.plot < 2 and ({ +"(Just a dining chair.)" +}) or ({ +"(No matter what happens, it'll always be a dining chair.)" +})) end, diningchair2 = function() return accessor.plot < 1 and ({ - "(A dining chair. You don't have anywhere else to put it.)" - }) or (accessor.plot < 2 and ({ - "(... there's something weird about this dining chair.)" - }) or ({ - "(This really doesn't belong here.)" - })) +"(A dining chair. You don't have anywhere else to put it.)" +}) or (accessor.plot < 2 and ({ +"(... there's something weird about this dining chair.)" +}) or ({ +"(This really doesn't belong here.)" +})) end, sink = function() return accessor.plot < 1 and ({ - "(A leaky faucet. You'd like to fix this as soon as possible.)" - }) or (accessor.plot < 2 and ({ - "(If this was MY house, I'd fix this on the spot.)" - }) or ({ - "(The water's stopped...)" - })) +"(A leaky faucet. You'd like to fix this as soon as possible.)" +}) or (accessor.plot < 2 and ({ +"(If this was MY house, I'd fix this on the spot.)" +}) or ({ +"(The water's stopped...)" +})) end, jars = function() return accessor.plot < 1 and ({ - "(Jars with spices used in fancier meals. They're full to the brim.)" - }) or (accessor.plot < 2 and ({ - "(Never open a stranger's spice jars. Learned that the hard way.)" - }) or ({ - "(Spice jars.)" - })) +"(Jars with spices used in fancier meals. They're full to the brim.)" +}) or (accessor.plot < 2 and ({ +"(Never open a stranger's spice jars. Learned that the hard way.)" +}) or ({ +"(Spice jars.)" +})) end, plate = function() return accessor.plot < 1 and ({ - "(The only dinner plate you'll ever need.)" - }) or (accessor.plot < 2 and ({ - "(A dinner plate. Looks like it's part of a set.)" - }) or ({ - "(A dinner plate.)" - })) +"(The only dinner plate you'll ever need.)" +}) or (accessor.plot < 2 and ({ +"(A dinner plate. Looks like it's part of a set.)" +}) or ({ +"(A dinner plate.)" +})) end, silverware = function() return accessor.plot < 1 and ({ - "(Kitchen utensils. You see no reason to replace them.)" - }) or (accessor.plot < 2 and ({ - "(These utensils seem a little old-fashioned...)" - }) or ({ - "(Kitchen utensils.)" - })) +"(Kitchen utensils. You see no reason to replace them.)" +}) or (accessor.plot < 2 and ({ +"(These utensils seem a little old-fashioned...)" +}) or ({ +"(Kitchen utensils.)" +})) end, behindfridge = function() return accessor.plot < 1 and ({ - "(Plates and bowls stacked neatly in a pile. You don't use these.)" - }) or (accessor.plot < 2 and ({ - "(A pile of freshly-washed dishes.)" - }) or ({ - "(Clean dishes.)" - })) +"(Plates and bowls stacked neatly in a pile. You don't use these.)" +}) or (accessor.plot < 2 and ({ +"(A pile of freshly-washed dishes.)" +}) or ({ +"(Clean dishes.)" +})) end, fridge = function() return accessor.plot < 1 and ({ - "(The fridge. You'd eat something if it wasn't so late.)" - }) or ({ - "(Hope my... er, kidnapper doesn't mind me eating their food.)" - }) +"(The fridge. You'd eat something if it wasn't so late.)" +}) or ({ +"(Hope my... er, kidnapper doesn't mind me eating their food.)" +}) end, stove = function() return accessor.plot < 1 and ({ - "(A laser-action stove and oven combination. It's very clean.)" - }) or (accessor.plot < 2 and ({ - "(This laser stove looks brand new...)", - "(Guess I'm not the only one who doesn't know how to cook.)" - }) or ({ - "(Laser stove.)" - })) +"(A laser-action stove and oven combination. It's very clean.)" +}) or (accessor.plot < 2 and ({ +"(This laser stove looks brand new...)", +"(Guess I'm not the only one who doesn't know how to cook.)" +}) or ({ +"(Laser stove.)" +})) end, bowl_extra = function() return accessor.event_home_food and ({ - "(Just an empty bowl now.)" - }) or ({}) +"(Just an empty bowl now.)" +}) or ({}) end, rope = { - "(A length of rope. It's been useful over the years.)" - }, +"(A length of rope. It's been useful over the years.)" +}, scissors = { - "(A pair of scissors, good for cutting ropes.)" - }, +"(A pair of scissors, good for cutting ropes.)" +}, pantry = function() return accessor.plot < 1 and ({ - "(A well-stocked pantry. With this, you'll be ready for doomsday.)" - }) or (accessor.plot < 2 and ({ - "(Pantry food. My worst nightmare.)" - }) or ({ - "(Pantry food.)" - })) +"(A well-stocked pantry. With this, you'll be ready for doomsday.)" +}) or (accessor.plot < 2 and ({ +"(Pantry food. My worst nightmare.)" +}) or ({ +"(Pantry food.)" +})) end, board = function() return accessor.plot < 1 and ({ - "(You feel this is exactly where it belongs.)" - }) or ({ +"(You feel this is exactly where it belongs.)" +}) or ({ "(A large piece of wood.)", unpack(accessor.plot < 2 and ({ - "(Looks like an extension for that dining table...)" - }) or ({})) +"(Looks like an extension for that dining table...)" +}) or ({})) }) end, secret = function() local ____temp_3 if accessor.plot < 1 then ____temp_3 = { - "(A tackboard with important notes.)" - } +"(A tackboard with important notes.)" +} else local ____array_2 = __TS__SparseArrayNew(unpack(not accessor.event_home_secret and ({ - "(There's a series of notes on this tackboard...)" - }) or ({}))) +"(There's a series of notes on this tackboard...)" +}) or ({}))) __TS__SparseArrayPush( ____array_2, "(\"Plant boka tree tomorrow\")", @@ -1152,12 +1152,12 @@ local function textGen(pager) unpack(not accessor.event_home_secret and ({ "(Wait. A lockbox?)", accessor.event_home_bookshelf == 0.1 and "(I swear there was a box like that in the living room somewhere...)" or "(Was there a lockbox around here somewhere?)" }) or (accessor.event_home_bookshelf < 1 and ({ - "(... still haven't found the lockbox.)" - }) or (accessor.event_home_bookshelf < 2 and ({ - "(... I've found the lockbox, but I can't reach it...)" - }) or ({ - "(... weird how a library card needed a locked box.)" - })))) +"(... still haven't found the lockbox.)" +}) or (accessor.event_home_bookshelf < 2 and ({ +"(... I've found the lockbox, but I can't reach it...)" +}) or ({ +"(... weird how a library card needed a locked box.)" +})))) ) ____temp_3 = { __TS__SparseArraySpread(____array_2) } end diff --git a/translate/text/zh_CN/redleaf.lua b/translate/text/zh_CN/redleaf.lua index d87937d..e9a0871 100644 --- a/translate/text/zh_CN/redleaf.lua +++ b/translate/text/zh_CN/redleaf.lua @@ -294,93 +294,93 @@ local function textGen(pager) name = function() return accessor.item_glove1 and accessor.item_glove2 and "Work Gloves" or "Work Glove" end, info = function() return accessor.item_glove1 and accessor.item_glove2 and ({ - "(An insulated glove. Good for handling dangerous items.)" - }) or ({ - "(A pair of insulated gloves. Good for handling dangerous items.)" - }) +"(An insulated glove. Good for handling dangerous items.)" +}) or ({ +"(A pair of insulated gloves. Good for handling dangerous items.)" +}) end }, item_boots = { name = function() return accessor.item_boot1 and accessor.item_boot2 and "Work Boots" or "Work Boot" end, info = function() return accessor.item_boot1 and accessor.item_boot2 and ({ - "(A sturdy, high-topped boot. Good for traversing hazards.)" - }) or ({ - "(A pair of sturdy, high-topped boots. Good for traversing hazards.)" - }) +"(A sturdy, high-topped boot. Good for traversing hazards.)" +}) or ({ +"(A pair of sturdy, high-topped boots. Good for traversing hazards.)" +}) end }, ponder_arrival = pager:create(0, { - "...", - "(The forest is beautiful...)" - }, { - "...", - "(I have to keep going...)", - "(Standing around won't get me any closer to home.)" - }), +"...", +"(The forest is beautiful...)" +}, { +"...", +"(I have to keep going...)", +"(Standing around won't get me any closer to home.)" +}), ponder_chase = pager:create(0, { - "(If I could just talk to them...)", - "(... there's no time to lose!)" - }, { - "(... I've got to catch up to them!)" - }), +"(If I could just talk to them...)", +"(... there's no time to lose!)" +}, { +"(... I've got to catch up to them!)" +}), ponder_gate = { - "...", - "(I need a closer look at that gate...)" - }, +"...", +"(I need a closer look at that gate...)" +}, ponder_shock = function() return { "(... hm...)", unpack(accessor.item_glove1 and accessor.item_glove2 and accessor.item_boot1 and accessor.item_boot2 and ({ - "(I have these gloves... and these boots...)", - "(Oh! I can use these to climb the gate safely!)" - }) or +"(I have these gloves... and these boots...)", +"(Oh! I can use these to climb the gate safely!)" +}) or (accessor.item_glove1 and accessor.item_glove2 and ((accessor.item_boot1 or accessor.item_boot2) and ({ - "(I have these gloves... and this boot...)", - "(With one more boot, I could climb the gate safely.)" - }) or ({ - "(I have these gloves...)", - "(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 ({ - "(I have these boots... and this glove...)", - "(With one more glove, I could climb the gate safely.)" - }) or ({ - "(I have these boots...)", - "(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 ({ - "(I have this glove... and this boot...)", - "(If only I could duplicate them, I could climb the gate safely.)" - }) or ({ - "(I have this glove...)", - "(If I had another glove, and something to protect my feet...)", - "(... I could climb the gate safely.)" - })) or ((accessor.item_boot1 or accessor.item_boot2) and ({ - "(I have this boot...)", - "(If I had another boot, and something to protect my hands...)", - "(... I could climb the gate safely.)" - }) or ({ - "(If I had some extra gear to protect myself...)", - "(... I could climb the gate safely.)" - })))))) +"(I have these gloves... and this boot...)", +"(With one more boot, I could climb the gate safely.)" +}) or ({ +"(I have these gloves...)", +"(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 ({ +"(I have these boots... and this glove...)", +"(With one more glove, I could climb the gate safely.)" +}) or ({ +"(I have these boots...)", +"(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 ({ +"(I have this glove... and this boot...)", +"(If only I could duplicate them, I could climb the gate safely.)" +}) or ({ +"(I have this glove...)", +"(If I had another glove, and something to protect my feet...)", +"(... I could climb the gate safely.)" +})) or ((accessor.item_boot1 or accessor.item_boot2) and ({ +"(I have this boot...)", +"(If I had another boot, and something to protect my hands...)", +"(... I could climb the gate safely.)" +}) or ({ +"(If I had some extra gear to protect myself...)", +"(... I could climb the gate safely.)" +})))))) } end, ponder_gear = { - "(... I think, with this extra gear I've found...)", - "(... climbing the gate should be safe.)" - }, +"(... I think, with this extra gear I've found...)", +"(... climbing the gate should be safe.)" +}, ponder_unlock = { - "(... hm.)", - "(Better get going before someone closes the gate again.)" - }, +"(... hm.)", +"(Better get going before someone closes the gate again.)" +}, ponder_factory = pager:create(0, { - "(... if I had to guess, I'd say this was a syrup factory...)", - "(Definitely a factory of some kind, anyway.)", - "(Shouldn't there be tons of people working here?)" - }, { - "...", - "(... maybe the workers are all on vacation.)" - }), +"(... if I had to guess, I'd say this was a syrup factory...)", +"(Definitely a factory of some kind, anyway.)", +"(Shouldn't there be tons of people working here?)" +}, { +"...", +"(... maybe the workers are all on vacation.)" +}), overworld = { tutorial1 = "Press [X] while moving\nto sprint.", tutorial2 = "Press [←] [→] to climb.", @@ -389,203 +389,203 @@ local function textGen(pager) pipewerx3 = "(Arrange the pipes to connect\nthe two endpoints.)", pipewerx4 = "(Press [X] to exit.)", system1 = { - "Platform Engaged.", - "Selecting Mode: Transit", - "Selecting Destination: CRIMSON", - "Transit In Progress..." - }, +"Platform Engaged.", +"Selecting Mode: Transit", +"Selecting Destination: CRIMSON", +"Transit In Progress..." +}, system2 = "`~1!2@3#4$5%6^7&8*9(0)-_=+[]\\|;:'\",<.>/?", arrival1 = { - "..." - }, +"..." +}, arrival2 = { - "(It's the same as before...)", - "(... guess I... didn't really know what I was expecting.)" - }, +"(It's the same as before...)", +"(... guess I... didn't really know what I was expecting.)" +}, arrival3 = { - "Whoa." - }, +"Whoa." +}, arrival4 = { - "That's big." - }, +"That's big." +}, arrival5 = { - "(Well, it's not home.)", - "(But it's... also not that weird house.)", - "(So that's good.)" - }, +"(Well, it's not home.)", +"(But it's... also not that weird house.)", +"(So that's good.)" +}, arrival6 = { - "(... I wish...)", - "(... I had an umbrella.)" - }, +"(... I wish...)", +"(... I had an umbrella.)" +}, stowaway1 = { - "...", - "H... hello?" - }, +"...", +"H... hello?" +}, stowaway2 = { - "Wait, don't go! I..." - }, +"Wait, don't go! I..." +}, stowaway3 = { - "... get back here!" - }, +"... get back here!" +}, stowaway4 = { - "Hey, you!" - }, +"Hey, you!" +}, stowaway5 = { - "(There's nothing to be afraid of...)" - }, +"(There's nothing to be afraid of...)" +}, stowaway6 = { - "No, no, no!" - }, +"No, no, no!" +}, stowaway7 = { - "(... slam the gate on me, why don't you...)" - }, +"(... slam the gate on me, why don't you...)" +}, bushitem1 = { - "(There's something buried in here...)", - "Pick it up?" - }, +"(There's something buried in here...)", +"Pick it up?" +}, bushitem2 = { - "Yes", - "No" - }, +"Yes", +"No" +}, glover0 = "Work Glove", glover1 = { - "(A glove!)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", - "(Feels... tough.)" - }, +"(A glove!)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", +"(Feels... tough.)" +}, glover2 = { - "(Another glove!)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove." - }, +"(Another glove!)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove." +}, glovey1 = { - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", - "(A glove!)", - "(Feels... tough.)" - }, +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", +"(A glove!)", +"(Feels... tough.)" +}, glovey2 = { - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", - "(Another glove!)" - }, +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Glove.", +"(Another glove!)" +}, bootey1 = { - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", - "(... a single boot.)", - "(Surely there's another one around, right?)" - }, +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", +"(... a single boot.)", +"(Surely there's another one around, right?)" +}, bootey2 = { - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", - "(Ah, there it is.)" - }, +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", +"(Ah, there it is.)" +}, booter0 = "Work Boot", booter1 = { - "(... a single boot.)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", - "(Surely there's another one around, right?)" - }, +"(... a single boot.)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot.", +"(Surely there's another one around, right?)" +}, booter2 = { - "(Ah, there it is.)", - "{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot." - }, +"(Ah, there it is.)", +"{color=0xa289dc}Dysu{color=0xffffff} got the Work Boot." +}, drillie1 = pager:create(0, { - "(I could just use this drill to open the gate...)", - "(... but in doing so, its batteries would be completely drained.)", - "(Would I be able to replace them?)" - }, { - "(Should I use the drill to open the gate, or save it for later?)" - }), +"(I could just use this drill to open the gate...)", +"(... but in doing so, its batteries would be completely drained.)", +"(Would I be able to replace them?)" +}, { +"(Should I use the drill to open the gate, or save it for later?)" +}), drillie2 = { - "Use The Drill", - "Find Another Way" - }, +"Use The Drill", +"Find Another Way" +}, drillie3 = { - "..." - }, +"..." +}, drillie4 = { - "(... that did the trick.)" - }, +"(... that did the trick.)" +}, gateclimb0 = "Gate", gateclimb1 = { - "...", - "(Ah! Of course!)", - "(I'll just climb over it!)" - }, +"...", +"(Ah! Of course!)", +"(I'll just climb over it!)" +}, gateclimb2a = { - "... ugh..." - }, +"... ugh..." +}, gateclimb2b = { - "(... guess I'll have to find something else.)" - }, +"(... guess I'll have to find something else.)" +}, gateclimb2c = { - "(Wait. I have these gloves and boots...)", - "(I could try again with the extra gear to protect myself.)", - "Climb over the gate?" - }, +"(Wait. I have these gloves and boots...)", +"(I could try again with the extra gear to protect myself.)", +"Climb over the gate?" +}, gateclimb3 = { - "(It's electrically charged.)" - }, +"(It's electrically charged.)" +}, gateclimb4 = { - "(Can't climb over the gate without extra gear.)" - }, +"(Can't climb over the gate without extra gear.)" +}, gateclimb5 = pager:create( 0, function() local ____array_0 = __TS__SparseArrayNew(unpack(accessor.event_redleaf_gateclimb == 2 and ({ - "(I have the extra gear I need to protect myself.)" - }) or ({ - "(Wait. I have these gloves and boots now...)", - "(I could try again with the extra gear to protect myself.)" - }))) +"(I have the extra gear I need to protect myself.)" +}) or ({ +"(Wait. I have these gloves and boots now...)", +"(I could try again with the extra gear to protect myself.)" +}))) __TS__SparseArrayPush(____array_0, "Climb over the gate?") return { __TS__SparseArraySpread(____array_0) } end, { - "Climb over the gate?" - } +"Climb over the gate?" +} ), gateclimb6 = { - "Yes", - "No" - }, +"Yes", +"No" +}, gateclimb7 = { - "(Third climb's the charm. placeholder :3)" - }, +"(Third climb's the charm. placeholder :3)" +}, gateclimb8 = { - "(Alright!)" - }, +"(Alright!)" +}, gateclimb9 = { - "(Is this... a factory?)" - }, +"(Is this... a factory?)" +}, gateclimb10 = { - "(Time to find out what that rascal was up to.)" - } +"(Time to find out what that rascal was up to.)" +} }, trivia = { tree = { - "It's a tree! (placeholder :3)" - }, +"It's a tree! (placeholder :3)" +}, barrel = { - "Barrel barrel barrel- (placeholder :3)" - }, +"Barrel barrel barrel- (placeholder :3)" +}, lid = { - "A lid. (placeholder :3)" - }, +"A lid. (placeholder :3)" +}, facsign = { - "\"REDLEAF INDUSTRIES\"\n\"Factory Grounds Nearby\"" - }, +"\"REDLEAF INDUSTRIES\"\n\"Factory Grounds Nearby\"" +}, sapsign = { - "\"Kotokura Syrup Exports\"\n\"Redleaf Industries\"" - }, +"\"Kotokura Syrup Exports\"\n\"Redleaf Industries\"" +}, carsign = pager:create(0, { - "\"Danger: Industrial Vehicles\"", - "(Guess I should be careful...)" - }, { - "\"Danger: Industrial Vehicles\"" - }), +"\"Danger: Industrial Vehicles\"", +"(Guess I should be careful...)" +}, { +"\"Danger: Industrial Vehicles\"" +}), powertower = { - "A powertower? (placeholder :3)" - }, +"A powertower? (placeholder :3)" +}, placeholder2 = pager:create(0, { - "placeholder :3" - }) +"placeholder :3" +}) }, trivia_tooltip = { tree = "Tree",