v1.4.0: Added the sewer document

This commit is contained in:
Evan Debenham
2022-09-20 15:36:01 -04:00
parent c345e08336
commit 342987f3c8
4 changed files with 22 additions and 21 deletions

View File

@@ -62,19 +62,19 @@ journal.document.intros.city.body=The Dwarven Metropolis was once the greatest o
journal.document.intros.halls.title=Demon Halls
journal.document.intros.halls.body=These deep halls of the Dwarven Metropolis have been twisted by dark magic. In the past these regions played host to the Dwarf King's court of elite warlocks, but now they seem to have been taken over by something even more sinister...\n\nAll sorts of horrific demonic creatures inhabit these halls, being led by some terrible dark power. If the King of Dwarves wasn't the source of the spreading corruption, whatever is down here must be.\n\nTread carefully, very few adventurers have ever descended this far...
journal.document.sewers_guard.title=main title
journal.document.sewers_guard.p1.title=title
journal.document.sewers_guard.p1.body=body
journal.document.sewers_guard.p2.title=title
journal.document.sewers_guard.p2.body=body
journal.document.sewers_guard.p3.title=title
journal.document.sewers_guard.p3.body=body
journal.document.sewers_guard.p4.title=title
journal.document.sewers_guard.p4.body=body
journal.document.sewers_guard.p5.title=title
journal.document.sewers_guard.p5.body=body
journal.document.sewers_guard.p6.title=title
journal.document.sewers_guard.p6.body=body
journal.document.sewers_guard.title=Sonia's letters
journal.document.sewers_guard.new_position.title=My New Position!
journal.document.sewers_guard.new_position.body=85th of Autumn, 375\nDear Mom and Dad,\n\nI told you all the hard work at the city guard would pay off. I just got promoted!\n\nI've been invited to join a specialist team that works in the sewers. Apparently there are problems with vermin and outlaws down there, and its our job to clear them out. It's messy work, but the sewers are warm in the winter and it pays three times as much as regular guard duty!\n\nIt's all a bit secretive though, so I can't actually send this letter. It feels weird to not write to you, so I'm going to keep writing them anyway. Maybe I can show them to you one day.\n\nBest,\n- Sonya
journal.document.sewers_guard.dangerous.title=A Dangerous Position...
journal.document.sewers_guard.dangerous.body=88th of Autumn, 375\nDear Mom and Dad,\n\nI understand why the pay is so good now, the sewers are infested with monsters! The 'vermin' and 'outlaws' are giant bloodthirsty rats and packs of angry gnolls.\n\nThankfully the rest of my team really knows what they're doing. Our team captain, Thomas, is an expert at this. I'm trying to learn quickly so that I'm not too much of a burden.\n\nThis job is a lot more dangerous than I thought. I'm glad I can't send these now, I don't want you to worry.\n\nI'll keep safe,\n- Sonya
journal.document.sewers_guard.crabs.title=Giant Crabs!
journal.document.sewers_guard.crabs.body=11th of Winter, 376\nDear Mom and Dad,\n\nAs if the rats weren't bad enough, deeper down there are giant crabs! One of them charged right past me and got Lee pretty badly before we killed it. Thomas says it's not my fault, but I know he's just trying to be nice to me.\n\nThankfully, on our way out we ran into an adventurer who had some spare sungrass salve. Lee might not have made it without that stuff.\n\nI saw the adventurer staring at a rose before they left, they said it was a gift. Why would they risk their life down here if someone cares about them so much?\n\nThat's exactly what I'm doing isn't it? I feel like I'm in over my head.
journal.document.sewers_guard.guild.title=The Thieves' Guild
journal.document.sewers_guard.guild.body=23rd of Winter, 376\nDear Mom and Dad,\n\nNo new monsters this time, instead we ran into a small group from the thieves' guild while on patrol.\n\nEverything I've heard about the guild is bad, but the rest of my team seemed almost friendly with them. Thomas exchanged information and supplies with one of them before we went our separate ways.\n\nI don't understand, weren't we supposed be getting rid of outlaws? Thomas even said not to mention this to anyone in command. Their information and supplies were very useful though, and we couldn't handle even more fighting.\n\nI suppose we're all in this together down here.
journal.document.sewers_guard.lost.title=We're Lost
journal.document.sewers_guard.lost.body=40th of Winter, 376\n\nThomas and I are lost. We got driven away from the rest of the team while fighting some gnolls. Neither of us are hurt, but the lower sewers are like a maze.\n\nThomas says he knows a route out, but it starts at the old prison entrance at the bottom of the sewers. I really don't like going deeper, but we don't have any rations and going down is much faster than wandering around looking for our patrol route.\n\nIt'll be alright. Thomas knows what he's doing.
journal.document.sewers_guard.not_worth.title=It's not worth it
journal.document.sewers_guard.not_worth.body=Thomas and I ran into some sort of massive ooze monster at the prison entrance. Before we could react it blasted us with magic. Thomas took most of it. He's gone.\n\nNo amount of money is worth this. I'm going to leave through the route Thomas told me about. Then I'll take what I've earned as a guard and use it to move my parents and I away from this cursed city. Part of me wants to hope that the King has a plan for all this, but I doubt it.\n\nI'm leaving these letters behind as a warning to others. It's more than just giant rats and crabs, something is very wrong down here.
journal.document.prison_warden.title=main title
journal.document.prison_warden.p1.title=title
journal.document.prison_warden.p1.body=body

View File

@@ -255,12 +255,12 @@ public enum Document {
INTROS.pagesStates.put("City", debug ? READ : NOT_FOUND);
INTROS.pagesStates.put("Halls", debug ? READ : NOT_FOUND);
SEWERS_GUARD.pagesStates.put("p1", NOT_FOUND);
SEWERS_GUARD.pagesStates.put("p2", NOT_FOUND);
SEWERS_GUARD.pagesStates.put("p3", NOT_FOUND);
SEWERS_GUARD.pagesStates.put("p4", NOT_FOUND);
SEWERS_GUARD.pagesStates.put("p5", NOT_FOUND);
SEWERS_GUARD.pagesStates.put("p6", NOT_FOUND);
SEWERS_GUARD.pagesStates.put("new_position", debug ? READ : NOT_FOUND);
SEWERS_GUARD.pagesStates.put("dangerous", debug ? READ : NOT_FOUND);
SEWERS_GUARD.pagesStates.put("crabs", debug ? READ : NOT_FOUND);
SEWERS_GUARD.pagesStates.put("guild", debug ? READ : NOT_FOUND);
SEWERS_GUARD.pagesStates.put("lost", debug ? READ : NOT_FOUND);
SEWERS_GUARD.pagesStates.put("not_worth", debug ? READ : NOT_FOUND);
PRISON_WARDEN.pagesStates.put("p1", NOT_FOUND);
PRISON_WARDEN.pagesStates.put("p2", NOT_FOUND);

View File

@@ -505,7 +505,8 @@ public abstract class RegularLevel extends Level {
case 5: regionDoc = Document.HALLS_KING; break;
}
if (regionDoc != null && !regionDoc.allPagesFound()) {
//TODO only sewers for the moment
if (region <= 1 && !regionDoc.allPagesFound()) {
Dungeon.LimitedDrops limit = limitedDocs.get(regionDoc);

View File

@@ -36,7 +36,7 @@ import com.watabou.utils.SparseArray;
public class WndStory extends Window {
private static final int WIDTH_P = 125;
private static final int WIDTH_L = 160;
private static final int WIDTH_L = 180;
private static final int MARGIN = 2;
public static final int ID_SEWERS = 0;