Fix hair, dick around with new game screen.
[18plus-7leafadventure.git] / src / org / sevenchan / dongs / screens / encounters / HarpyEncounterScreen.as
bloba72a739411d24af50134aeb1de7a5aa76c51644d
1 package org.sevenchan.dongs.screens.encounters
3 import org.sevenchan.AdventureController;
4 import org.sevenchan.dongs.creature.Harpy;
5 import org.sevenchan.dongs.Screen;
6 import org.sevenchan.dongs.screens.InfoScreen;
7 import org.sevenchan.dongs.Town;
8 import org.sevenchan.dongs.towns.WildsHorusSpine;
10 /**
11 * ...
12 * @author Harbinger
14 public class HarpyEncounterScreen extends Screen
16 private var text:String = "";
17 private var state:String = "main";
19 public static function push():void
21 AdventureController.screenQueue.write(new HarpyEncounterScreen());
24 public function HarpyEncounterScreen()
26 lustCost = 3;
29 override public function processButtonPress(id:int):Boolean
31 clearButtons();
32 switch (id)
34 case-1:
35 onStartupScreen();
36 updateScreen();
37 return false;
38 break;
39 case 0:
40 if (!main.player.getExplored("harpycabin"))
42 main.player.setExplored("harpycabin");
43 onQuestStart();
45 else
47 text = "<p>She shrieks with glee, splitting your tortured eardrums, and then lifts you into the sky.</p>";
48 main.setTown(Town.knownTowns.harpycabin);
50 return true;
51 case 1:
52 onFuck();
53 return true;
54 case 2:
55 main.startCombat(null, new Harpy(false), true);
56 return true;
57 case 3:
58 return true;
60 return false;
63 override public function getScreenText():String
65 return text;
68 public function addHarpyCabin():void
70 if (!main.player.getExplored("harpycabin"))
72 main.player.setExplored("harpycabin");
74 if ((Town.knownTowns.horus as WildsHorusSpine).connectedTowns["harpycabin"] == null)
76 (Town.knownTowns.horus as WildsHorusSpine).connectedTowns.push("harpycabin");
80 public function onFuck():void
82 addHarpyCabin();
83 if (!main.player.getExplored("seenharpy"))
85 text = "<p><i>Fuck annoying but cute birdwoman, or go after deadly ";
86 text += "airborne demons with 9-inch claws?</i> You go after the only reasonable option, ";
87 text += "and drop your torn trousers.</p> ";
88 text += "<p>She beams again, then hops into the air and suddenly grabs ";
89 text += "your shoulders, taking you with her.&nbsp; Your wang flaps in the wind uncomfortably, ";
90 text += "and you look back, wishing you hadn't left your pants.&nbsp; On the way ";
91 text += "to her nest, you have to clear your ears several times to adjust for air ";
92 text += "pressure while listening to her babble on about herself in her shrill voice.</p> ";
93 text += "<p>You expected her nest to be a collection of sticks arranged ";
94 text += "in a bowl pattern, but it's actually a domed cabin with a hole in the ";
95 text += "roof for getting in and out, windows overlooking the mountains, and a small ";
96 text += "stove.&nbsp; It looked comfortable and, more important to your frozen mind, ";
97 text += "warm.&nbsp; You feel like your dick will drop off and shatter on the rocks ";
98 text += "below.</p> ";
99 text += "<p>Inside, after ensuring you're warm and not ";
100 text += "frostbitten, she guides you to a section with a large bed.&nbsp; There, you ";
101 text += "make love to her.&nbsp; After the feathers settle, she flies you back down to ";
102 text += "your pants and departs, dipping a wing in thanks.</p> ";
103 text += "<p><i>Thank Christ that's over</i>.&nbsp; You pull out ";
104 text += "your earplugs you made with some white berries you stole from her kitchen and ";
105 text += "get on your way.</p>";
107 else
109 text = "<p>&quot;Yes. I brought you my dick.&quot; You quip, this time keeping your ";
110 text += "pants on. She blushes, giggles, and swoops you away to her nest.</p>";
111 main.setTown(Town.knownTowns.harpycabin);
113 InfoScreen.push(text);
114 text = "";
117 public function onQuestStart():void
119 addHarpyCabin();
120 text = "<p>You consider your options, and decide that she may be a ";
121 text += "useful ally, but you don't want to know how loudly she screams during ";
122 text += "sex. &quot;I'll get the eggs.&quot;&nbsp; You assure her, edging away. </p> ";
123 text += "<p>She beams, white teeth gleaming in the sun;&nbsp; She ";
124 text += "happily hops on her strange birdlegs. You feel like you're in a crappy ";
125 text += "horror play, like the ones your idiot cousin used to produce. &quot;Thank you ";
126 text += "so much!&quot;&nbsp; She takes to the skies and flies back to her nest. </p> ";
127 text += "<p>You breathe a sigh of relief, and get the hell away from the ";
128 text += "area.</p>";
129 InfoScreen.push(text);
130 text = "";
133 public function onStartupScreen():void
135 if (!main.player.getExplored("seenharpy"))
137 main.player.setExplored("seenharpy");
138 //[Get Eggs][Fuck][Run Away]
139 setButton(0, "Eggs");
140 setButton(1, "Fuck");
141 setButton(2, "Fight");
142 setButton(3, "Run");
143 text = "<p>You hear large wings beating the air above you, and look up ";
144 text += "to see a beautiful woman with large, brown feathered wings and short brown hair ";
145 text += "looking down at you from about 10 meters away.&nbsp; You squint against the ";
146 text += "bright sunlight (and downwash from her great wings), and notice that her long ";
147 text += "birdlike legs are not poised to grab you.&nbsp; She also appears to not want to ";
148 text += "kill you.&nbsp; Relieved, but wary, you make room for her on the ledge to hear what ";
149 text += "she has to say.&nbsp; Her giddy, stupid smile doesn't make you feel any ";
150 text += "better.</p> ";
151 text += "<p>&quot;Hi!&quot; She screeches, Leaning close to you and ";
152 text += "cocking her human head, much like... Well, a bird. </p> ";
153 text += "<p>&quot;... Hello.&quot; You respond in a clipped voice, ";
154 text += "back firmly pressed against the cliff behind you so hard you feel like you're ";
155 text += "sinking into it.&nbsp; <i>Jesus, how can a voice be so grating?!</i></p> ";
156 text += "<p>&quot;Are you new here? I haven't seen you before.&quot; ";
157 text += "She beams, head cocking in the opposite direction, her eyes studying you like a ";
158 text += "scientist evaluating a potato.&nbsp; She blinks, and then giggles. &quot;I ";
159 text += "guess I should introduce myself, since you look about ready to fling yourself ";
160 text += "off that cliff.&quot;&nbsp; You nod quickly, indicating that she should hurry ";
161 text += "up before your ears can't take any more of her idiocy.&nbsp; She doesn't ";
162 text += "disappoint. &quot;I'm a harpy, which is like, a bird-woman... Thing.&quot;&nbsp; ";
163 text += "She pauses, briefly considering the choice of words, before continuing in her ";
164 text += "high-pitched, happy voice. &quot;You're walking underneath my peak so I ";
165 text += "thought I'd drop by and say hi or something.&quot;&nbsp; She suddenly ";
166 text += "changes to a sadder voice. &quot;There aren't a whole lot of us ";
167 text += "left;&nbsp; The new demon Lord turned a lot of us into dark harpies and they're ";
168 text += "really mean and don't like to talk.&quot;&nbsp; She brightens. &quot;But ";
169 text += "I'm glad you're letting me talk to you!&quot;</p> ";
170 text += "<p>You take a moment to absorb the information and extract your ";
171 text += "fingers from your ears. &quot;Okay.&quot;&nbsp; You notice that she's ";
172 text += "blocking your path from where she's standing.&nbsp; &quot;Uh.&nbsp; Can ";
173 text += "I help you with anything?&quot;&nbsp; <i>Hopefully without listening to you ";
174 text += "talk</i>, you silently add. </p> ";
175 text += "<p>She thinks for a moment, pinching her chin with her human ";
176 text += "fingers. &quot;Uhm.... Oh!&quot; She comes out of thinking mode like an ";
177 text += "old truck shifting gears. &quot;Yeah, if you bring me dark harpy eggs, I can ";
178 text += "raise them to be normal harpies. Or...&quot; She blushes, fidgeting. &quot;It... ";
179 text += "IS harpy mating season, you know...&quot;</p> ";
181 else
183 setButton(0, "Eggs");
184 setButton(1, "Dick");
185 setButton(2, "Fist");
186 setButton(3, "RUN AWAY");
187 text = "<p>Grunting with exertion, you finally manage to pull yourself onto a ledge. Feeling like you've run a marathon after scaling a cliff face, you rest peacefully.</p>";
188 text += "<p>Up until you hear familiar wingbeats and open your eyes to see a harpy standing over you with a big, stupid grin.</p>";
189 text += "<p><i>God DAMNIT.</i></p>";
190 text += "<p>Your attempts to strangle her with your mind fail, so you pull yourself into a sitting position. You yawn at her, stretching, still wanting to punch her so hard that her head spins, but keeping yourself under control (for the time being).</p>";
191 text += "<p>She scratches at the thin layer of dirt accumulated on the ledge idly, but eyes you with anxiety. &quot;So... Do you have anything for me?&quot; The smile widens nervously, and she blushes.</p>";