1 package org
.sevenchan
.dongs
.towns
3 import org
.sevenchan
.dongs
.items
.WhiteBerries
;
4 import org
.sevenchan
.dongs
.Town
;
5 import org
.sevenchan
.dongs
.Creature
;
6 import org
.sevenchan
.dongs
.creature
.*;
12 public class WildsHorusSpine
extends Town
15 public function WildsHorusSpine
()
19 name
= "Horus' Spine";
20 inhabitants
[CreatureRegistry
.morel
]=0.1;
21 inhabitants
[CreatureRegistry
.harpy
]=0.1;
22 inhabitants
[CreatureRegistry
.harpy_dark
]=0.1;
23 inhabitants
[CreatureRegistry
.arachnid
]=0.1;
24 inhabitants
[CreatureRegistry
.arachnid_pregnant
]=0.1;
25 inhabitants
[CreatureRegistry
.witch
]=0.1;
28 connectedTowns
= ["banala", "damned"];
31 override public function onEnter
():void
33 text
= "<p>The mountains wait, as they have since the beginning of time.</p>";
36 override public function onExplore
(bumpedInto
:Creature
):void
38 var re
:Number = Math.round
(MathUtils
.rand
(0, 3));
42 text
= "<p>The serene landscape clears your thoughts, and tests your muscles.</p><p><b>+1 INT, +1 STR</b></p>";
43 this.main
.player
.intellect
+= 1;
44 this.main
.player
.strength
+= 1;
47 text
= "<p>A rock falls onto your head while you explore, eliciting a long string of curses that echo across the landscape.</p>";
51 text
= "<p>You see harpies circling over a mountain peak, probably preparing to swoop down on some poor bastard. You take a turn to avoid them.</p>";
55 text
= "<p>You find some sweet, white berries.</p>";
56 main
.player
.addToInventory
(new WhiteBerries
(2));
60 main
.player
.mana
+= 10;
62 text
+= "<p>Not much else happens during your exploration";
63 if (bumpedInto
!= null)
65 text
+= ", except for bumping into a " + bumpedInto
.getTypeName
();
66 text
+= ", who nearly tumbles off a cliff";
72 override public function onRevelation
():Boolean
74 text
= "<h2>Horus' Spine</h2>";
75 text
+= "<p>It's not hard to see how the travelers who crossed these mountains long ago gave them their name. Gigantic white rocks stretch into the sky. You assume them to be limestone, not that it matters here. For all you know, it could be the dried semen that the lustful creatures here collect and dump into massive piles that reach into the sky. You shudder at the thought.</p>";
76 text
+= "<p>Gripping a random branch on the ground as a walking stick, you begin your ascent into the unknown.</p>";