Fix hair, dick around with new game screen.
[18plus-7leafadventure.git] / src / org / sevenchan / dongs / towns / TownBanala.as
blob4efdedd5c04b38d8b2992bccf396f1d0d8f1dab5
1 package org.sevenchan.dongs.towns
3 import flash.utils.Dictionary;
4 import org.sevenchan.dongs.*;
5 import org.sevenchan.dongs.screens.*;
6 import org.sevenchan.dongs.screens.shops.BodyShop;
8 /**
9 * ...
10 * @author Harbinger
12 public class TownBanala extends Town
15 public function TownBanala()
17 super();
18 ID = "banala";
19 name = "Banala";
21 inhabitants = new Dictionary();
22 inhabitants[CreatureRegistry.demon] = 0.25;
23 inhabitants[CreatureRegistry.witch] = 0.25;
25 isWilds = false;
26 freeRest = false;
27 connectedTowns = [
28 "barn","haara","horus"
31 shops = {
32 SQUIGGLE: new Shop(
33 "Banala Potions", "Basic potion shop.",
34 "SQUIGGLE","You're not entirely sure; All you can see are two carved vertical squiggles. For all you know, they might be two S's.",this, 0.40, [
35 ItemRegistry.BERRY_WHITE,
36 ItemRegistry.SPIDER_VENOM,
37 ItemRegistry.POTION_PINK
38 ]),
39 PARTS: new BodyShop(
40 "Banala Body Shop","A place to buy and sell body parts.",
41 "PARTS", "An arm is beautifully painted on an old, distressed sign. Below that are unintelligable slashes. Well, unintelligable to you, anyway.", this, 0.35,
43 BodyPartRegistry.arachnid_leg,
44 BodyPartRegistry.arachnid_penis,
45 BodyPartRegistry.demon_breast,
46 BodyPartRegistry.demon_eye,
47 BodyPartRegistry.demon_penis,
48 BodyPartRegistry.human_penis,
49 BodyPartRegistry.human_breast
54 override public function onEnter():void
56 text = "<p>The sleepy town of Banala awaits you.</p>";
59 override public function onExplore(bumpedInto:Creature):void
61 text = "<p>Banala is surprisingly... Normal. For a town built by demons, you expected it to be much different than anything you've experienced, but it's much like your village at home: The buildings are rickety little places made out of old, sandblasted wood nailed together with a strange, reddish metal. Hand-painted signs in some language you cannot speak advertise the various businesses, and pictures on each sign help you figure out what they sell: Food, Potions, an inn, and what you can only assume to be body parts, based upon the penis scrawled on the sign.</p>";
62 text += "<p>Not much happens during your exploration";
63 if(bumpedInto!=null)
64 text += ", except for bumping into a " + bumpedInto.getTypeName();
65 text +=".</p>";
68 override public function onRevelation():Boolean
70 text = <![CDATA[
71 <p>
72 You decide it's probably high time to get off your butt and start exploring the world. After all, you do have
73 your own world to save. To that end, you peek outside from the ruins of the old barn you currently inhabit,
74 shielding your eyes from the massive sun looming in the sky. During your visual sweep, you find a faint outline
75 of a road half-buried in the drifting sands. Tattered signs shimmer and twist in the wind off in the distance.
76 </p>
77 <p>
78 Having decided your route, you fill a waterskin from the creaky handpump, still amazed that a device so old
79 could put out such clean water. Having filled it, you heft your backpack and set out into the world without even a
80 nod to the merchant. Then again, it is doubtful he would have seen you, being highly involved in excavating
81 sand from his nostrils in a corner of the barn.
82 </p>
83 <p>
84 You later decide that you should have brought far more than a single waterskin, while rounding the fifth sand
85 dune that hour. You're exhausted from carrying your supplies, and the dry heat from the sun dehydrates you quickly.
86 You pass by a sign, but are so thirsty and dazed that you don't read it. Even if you did, it is so damaged
87 from the constant sandblasting from the desert that it is completely illegible.
88 </p>
89 <p>
90 Suddenly, you notice a well in front of you - painfully, with your shin - and immediately set to work hauling the
91 bucket up, foregoing the winch in your haste. You can barely see it as it rises from the dark depths of the well,
92 and it rebounds off the sandstone sides of the well as you hurriedly pull it up, spilling water. You take that as
93 your cue to be more careful, and you finally are able to grasp it and bring it to your lips, practically pouring the
94 slimy water down your gullet and probably spilling half of it down your front in your haste. You gasp in releif and
95 open your eyes.
96 </p>
97 <p>
98 At which point you notice the crowd of particularly unhappy demons surrounding you, weilding everything from swords to mops.
99 </p>
101 <i>Well, you've gotten yourself into a fine mess today,</i> you tell yourself, standing up cautiously and eyeing the dozen or
102 so demons around you. There's something odd about these demons, though; It's like they're nervous instead of the usual
103 blind rage you've seen of their kin in Aldoria. Some of them shift from foot to foot like they're preparing to run.
104 Before you can consider your chances further, however, a rotund demoness waddles forward, gripping a broom in her
105 thick hands like a sword. You turn to her, ignoring the sweat staining her thin top, and manage to ask "Uh, can I he-" before she cuts
106 you off with a diagonal slice from a chubby hand.
107 </p>
109 "Enough!" She bellows, and pauses, either waiting for you to respond or waiting for the earthquakes of flab to quiet down
110 while she eyes you like a bear coming to defend her cubs. In retrospect, probably the latter, as when you open your mouth
111 to reply, she painfully jams the end of the broomstick into your chest, while yelling, "I ASK THE QUESTIONS, AND YOU ANSWER THEM.
112 KEEP YOUR MOUTH SHUT." She prods your chest on each of the last 3 words for emphasis.
113 </p>
115 Off-balance and an inch away from falling backwards down the well, you nod in silent compliance, mouth pressed into a thin line.
116 </p>
118 Regathering herself (which is quite a task) and grumbling, she continues. "We know you're here to prey on us for our
119 <i>Dear Benefactor</i>." She mocks the name, complete with fat airquotes. "Now we need to decide what to do with
120 you." She stirs her chin with a hand in thought, and then pauses when she notices your darkening expression. "What?"
121 She asks.
122 </p>
124 "You wouldn't happen to mean the guy leading the armies that are destroying my home, would you?" You ask, eyes as dark
125 and hard as slate. You wrench the broom away from her. "Because if you're implying I'm <i>helping</i> that sick son of
126 a bitch, you're going to need to apologize before I do something drastic."
127 </p>
129 Her hands come up in a defensive gesture, but she relaxes. She sighs, and nods as the pieces come together. "No, I do
130 see I've made a mistake. I am sorry." She pauses, shaking her head in exasperation. "Press gangs have come through here
131 about once a week trying to get us to join in on the invasion. I thought you might be involved. Then again..." She smiles,
132 revealing a gleaming set of sharp teeth. "... You don't look like you'd meet the strength requirements."
133 </p>
135 You give her a blank look. "Wait, so not every demon is trying to rape and pillage everything?" You scratch your head,
136 releasing a small cloud of sand onto the ground. "I thought that was-"
137 </p>
139 A groan. "What every demon does." She finishes. "Yeah, yeah, I know the story. Fact is, we actually like it here.
140 All the stuff we need is right here, and up til the armies started rolling through here, bringing up trouble, we had
141 no intention of ever leaving." She places her hands on her hips, and they sink in. "In fact, many of us still want
142 to stay. We've got friends, families, and businesses here. Why piss you humans off for no reason?
143 </p>
145 You pause, waiting for the punchline. "... So why are you?"
146 </p>
148 She shrugs. "No one seems to know why." She stirs her chin again ponderously. "However, there's a widespread hunch:
149 There's a disease going around that makes us go mad, especially for sex. Some of us are immune, while others run around raping
150 everything in sight." Another shrug. "I don't know all the details, of course, but the general consensus is that
151 the corrupted ones won't rape each other; They'll only go after fresh meat. So, what happens when they run low of fresh meat?"
152 </p>
154 It doesn't take long for the implications to sink in. <i>So that's where they were taking everyone they captured...</i> A chill
155 races down your spine.
156 </p>
158 The demoness shrugs, and picks up her broom while you're still processing her words. "Anyway, hope that helps. I've gotta get
159 back to work though, so drop by if you need anything." She waddles off, followed by the rest of the village, but pauses
160 halfway to her stoop to bellow over her shoulder. "Oh, and before I forget: Welcome to Banala."
161 </p>
162 ]]>.toString();
163 return true;
166 override public function onFailedRest():void
168 text = "<p>You do not have enough money to rest here.</p>";
171 override public function onSuccessfulRest():void
173 text = "<p>You toss the money required onto the innkeeper's countertop. The fat innkeeper drops the key onto the counter, and you plod off to your room, ignoring the spiderwebs and roaches that scurry across the floors. Every room sounds occupied, judging by the loud moans and grunting, but you manage to sleep on the bedbug-infested bed quite well, recovering all of your health and mana.</p>";