Fix hair, dick around with new game screen.
[18plus-7leafadventure.git] / src / org / sevenchan / dongs / screens / encounters / ArachnidEncounter.as
blob7cd0d6a9572ae99bee7f3806d49a2098dc389ab1
1 package org.sevenchan.dongs.screens.encounters
3 import org.sevenchan.AdventureController;
4 import org.sevenchan.dongs.ActionNode;
5 import org.sevenchan.dongs.Creature;
6 import org.sevenchan.dongs.creature.Arachnid;
7 import org.sevenchan.dongs.screens.Encounter;
9 /**
10 * ...
11 * @author Harbinger
13 public class ArachnidEncounter extends Encounter
16 public function ArachnidEncounter(target:Creature)
18 super(target);
19 currentItem.clearChildren();
20 currentItem.content = text;
21 currentItem.pushAction("Accept", -1, "Accept the invitation.", onEncounterAccept);
22 currentItem.pushAction("Decline", -1, "Tell her to piss off.", onEncounterDecline);
25 override public function onStartupScreen():void {
26 text = "<p>While exploring the area, you suddenly come across many large spiderwebs. ";
27 text += "You brush through them, when you hear something scuttle through the brush ";
28 text += "behind you. Worried, you slowly turn around, and see a beautiful woman. ";
29 text += "Or at least, the top half of one atop the body of a enormous black spider, ";
30 text += "and if women had 8 red, gleaming eyes.</p>";
31 text += "<p>She blushes as you stare at her strange, twisted body. &quot;I hope you like";
32 text += " what you ssssssee,&quot; she hisses awkwardly. &quot;I mussssst mate ";
33 text += " ssssssoon, and it ssssseems that you are the only... male nearby.";
34 text += "&quot; She smiles, fondling one of her plump breasts. &quot;I hope you don't";
35 text += " mind. Otherwise, I will have to fffffight you.&quot;</p>";
38 public static function push(a:Arachnid):void
40 AdventureController.screenQueue.write(new ArachnidEncounter(a));
43 private function onEncounterAccept(ply:Creature, node:ActionNode, o:*):Boolean
45 performRape(ply, node);
46 return true;
49 private function onEncounterDecline(ply:Creature, node:ActionNode, o:*):Boolean
51 fight(ply, node);
52 return true;