1 package org
.sevenchan
.dongs
.towns
3 import org
.sevenchan
.dongs
.Creature
;
4 import org
.sevenchan
.dongs
.screens
.Shop
;
5 import org
.sevenchan
.dongs
.Town
;
11 public class TownDamned
extends Town
14 public function TownDamned
()
19 inhabitants
[CreatureRegistry
.demon
] = 0.1;
20 inhabitants
[CreatureRegistry
.bova
] = 0.1;
21 inhabitants
[CreatureRegistry
.witch
] = 0.1;
31 "Damned Potions","Headquarters of a potion shop franchise",
32 "BEAKER","Judging by the old, broken sign with a beaker scrawled across it, probably a potion shop",this, 0.15, [
33 ItemRegistry
.BERRY_WHITE
,
34 ItemRegistry
.POTION_PINK
,
35 ItemRegistry
.SPIDER_VENOM
38 "Cruel Clothing","A small clothing shop.",
39 "SHIRTS","You have no idea. It looks like someone nailed dozens of ragged shirts to the front of the stall, so possibly a clothier.",this, 0.35, [
40 ItemRegistry
.GAS_MASK
,
41 ItemRegistry
.BROWN_TUNIC
,
42 ItemRegistry
.GRAY_PANTS
47 override public function onEnter
():void
49 text
= "<p>The city festers around you, ignorant of your plans.</p>";
52 override public function onRevelation
():Boolean
54 if (main
.player
.hasEnchantment
("windblessing")) {
55 text
= "<h2>Damned</h2><p>You look up from the rock path cut into the mountain, dust "
56 +"caked into your travel-tanned skin. As you reach the summit of the mountain, you "
57 +"look ahead and see a thickly forested valley, with a city in the middle. You make "
58 +"your way towards it, and begin to make it out.</p>" +
59 "<p>Black towers with eerie red lights stretch into the burning skies, as though "
60 +"defying gravity itself. Walkways interconnect the tower and swarm with beasts "
61 +"great and small. A terrible smell, that of death and body odor, fills the murky "
62 +"air. To top it all off, as you reach the front gate, a tattered iron sign "
63 +"proudly proclaims the city's name: Damned.</p>";
67 //trace("COMBATTIEM");
68 main
.startCombat
(null, CreatureRegistry
.ala
);
73 override public function onExplore
(bumpedInto
:Creature
):void
75 text
= "<p>Damned is an immense city built from a black stone mined from the surrounding "
76 +"mountains. Torches are everywhere because of the stone making the rooms, towers, and "
77 +"catwalks around the city look dark. You doubt any amount of torches would make the "
78 +"city look even remotely inviting, as the designers seemed to have thrown up their "
79 +"hands in exasperation and went with the evil theme. Sharp-looking rock spires jut "
80 +"from every external surface, and some corpses are even skewered on many of them, "
81 +"either as a warning or, more likely, purely for decoration.</p>"
82 +"<p>The people that live here aren't much friendlier. Roving gangs of thugs "
83 +"terrorize the business district, demanding money for "protection", many "
84 +"simply killing the owner after taking his money. Smarter (and richer) business "
85 +"owners have resorted to hiring their own gangs to protect themselves from the other "
86 +"gangs (and earn side-money selling narcotics and whores). The entire town is a "
87 +"cycle of crime.</p>";
90 override public function onShopWelcome
():String
92 return "<p>"Well, I'll be goddamned. If it isn't an outsider." A thick, "
93 +"italian accent remarks from behind fat, red lips in the middle of an equally "
94 +"fat red face. You can't do anything but stare at the top of the demon's head, where "
95 +"a pile of grease that might have once been hair resides.</p><p>The man frowns. "
96 +""Are you gonna buy anything, or what?" He crosses his rather hairy arms."
100 override public function onShopBuyMenu
():String
102 return "<p>You can hear sweaty palms rub together anxiously as a terrifying grin parts the "
103 +"shopkeeper's mouth. "Great, so what'll it be?"";
106 override public function onShopSellMenu
():String
108 return "<p>"Oh, and who did you steal this from? Nah, just kidding, show me what you"
109 +"'ve got."</p>";