1 package org
.sevenchan
.dongs
.towns
3 import org
.sevenchan
.dongs
.Creature
;
4 import org
.sevenchan
.dongs
.creature
.*;
5 import org
.sevenchan
.dongs
.Town
;
10 public class WildsHaaraWastes
extends Town
12 [Embed
(source
="txt/haara/intro.htm",mimeType
="application/octet-stream")]
13 private var Intro
:Class;
15 public function WildsHaaraWastes
()
19 name
= "Haara Wastes";
21 Creature
.CreatureRegistry
.oldspace
,
22 Creature
.CreatureRegistry
.arachnid
32 override public function onEnter
():void
34 text
= "<p>The desert stretches from horizon to horizon before you, beckoning you forwards.</p>";
37 override public function onExplore
(bumpedInto
:Creature
):void
39 text
= "<p>The Haara is what you'd generally expect from deserts. Although the area nearest Banala is primarily endless sand dunes in every direction, the rest of the desert are sand-blasted rock plains, with plenty of places for the various inhabitants of the wastes to hide and lay ambush.</p>";
40 var re
:Number = Math.round
(MathUtils
.rand
(0, 3));
41 trace
("HAARA EVENT #"+re
);
44 text
+= "<p>Your trip through the desert is enlightening.</p><p>+1 INT</p>";
45 this.main
.player
.intellect
+= 1;
49 text
= "<p>While exploring, the sands suddenly swirl about you in a blinding sandstorm. You wrap your shirt about your face to filter the air, and set about trying to establish a camp for shelter, when you hear a high-pitched laugh pierce the howling winds. You think you see a woman for brief moment, but she vanishes and the winds subside. Confused, you return to exploring.</p>";
50 main
.player
.lust
+= 2;
54 text
+= "<p>You trip over a rock and scrape up your hands and face, but otherwise, nothing else happens.</p>";
61 text
+= "<p>Not much happens during your exploration";
63 text
+= ", except for bumping into a " + bumpedInto
.getTypeName
();
67 override public function onRevelation
():Boolean