1 package org
.sevenchan
.dongs
.screens
3 import flash
.utils
.ByteArray;
4 import org
.sevenchan
.dongs
.creature
.*;
5 import org
.sevenchan
.dongs
.bodyparts
.*;
6 import org
.sevenchan
.dongs
.*;
7 import org
.sevenchan
.dongs
.creature
.Bova
;
13 public class NewGameScreen
extends Screen
15 private var stage
:int = -1;
16 private var text
:String = "";
18 [Embed
(source
="txt/bsd-license.txt",mimeType
="application/octet-stream")]
19 private var License
:Class;
21 [Embed
(source
="txt/intro.txt",mimeType
="application/octet-stream")]
22 private var Introduction
:Class;
24 public function NewGameScreen
()
26 this.appearanceButton
= false;
27 this.debugMenuButton
= true;
28 this.exportGameButton
= false;
29 this.loadOrSaveButton
= false;
30 this.newGameButton
= false;
31 this.importGameButton
= true;
34 this.setButton
(NEXT_BUTTON
, "Next");
37 override public function processButtonPress
(id
:int):Boolean
39 var done
:Boolean = false;
46 this.setButton
(NEXT_BUTTON
, "Next");
49 case 0: // Species selection
52 setButton
(0, "Human");
54 setButton
(2, "Demon");
55 text
= "<h2>What are you?</h2>";
56 text
+= "<p><b>Human:</b> You were born human. If you’re playing this, you probably know what a human looks like.</p>"; // Added commas, reworded a bit - Harb
57 text
+= "<p><b>Bova:</b> You were born as a Bova, more widely known as a cow-girl. Bovae are cow-morphs with predominantly human features save for hoofs, larger than usual breasts and milk output (assuming they're female, of course), floppy cow ears, and a black and white tail.</p>"; // s/bovine/bova/
58 text
+= "<p><b>Demon:</b> You were born a demon, with an unusual skin color compared to humans and bovae as well as a high libido, leaving you more easily aroused. However, you are quite capable of “exciting” your lovers and foes.</p>"; // Grammatical fixes
61 case 1: // Gender selection
63 text
= "<h2>Gender Selection</h2>";
67 main
.player
.setBaseType
(new Human
());
68 text
+= "<p>As a simple human, you can either be male or female as you start out.</p>";
69 text
+= "<ul><li><b>Male</b> - You gain a dick and a couple of balls.</li><li><b>Female</b> - A vagina and randomly-sized boobs.</li></ul>";
70 text
+= "<p>Humans also get randomly colored skin, hair, and eyes.</p>";
73 setButton
(2, "Female");
76 main
.player
.setBaseType
(new Bova
());
77 text
+= "<p>You are a Bova, a race of cow-girls that was once enslaved by man. Throwing off their shackles, they formed their own nation after a bloody war.</p>";
78 text
+= "<p>Bovae can be Male or Female.</p>";
79 text
+= "<p>Males (bulls) are very strong, yet not very smart.</p>";
80 text
+= "<p>Females are more cunning, yet they need their bulls for protection.</p>";
83 setButton
(2, "Female");
86 main
.player
.setBaseType
(new Demon
());
87 text
+= "<p>You have chosen to become a Demon. Demons can infect other creatures with an STD that eventually changes them into demons, as well.</p>";
88 text
+= "<p>Demons can be any gender except asexual.</p>";
91 setButton
(1, "Hermaphrodite");
92 setButton
(2, "Female");
102 main
.player
.gender
= Gender
.MALE
;
105 main
.player
.gender
= Gender
.HERM
;
108 main
.player
.gender
= Gender
.FEMALE
;
111 main
.player
.initialGenderSetup
();
112 text
= "<h2>Skin color</h2>";
113 text
+= "<p>What color is your skin?</p>";
114 var isDemon
:Boolean = main
.player
.getTypeName
() == "demon";
117 setButton
(0, "White");
118 setButton
(1, "Brown");
119 setButton
(2, "Black");
121 setButton
(4, "Albino");
124 setButton
(0, "RedishBrown");
125 setButton
(1, "Violet");
126 setButton
(2, "Dark Red");
132 var isDemon
:Boolean = main
.player
.getTypeName
() == "demon";
136 case 0: main
.player
.skin
.color
= "white"; break;
137 case 1: main
.player
.skin
.color
= "brown"; break;
138 case 2: main
.player
.skin
.color
= "black"; break;
139 case 3: main
.player
.skin
.color
= "tan"; break;
140 case 4: main
.player
.skin
.color
= "albino"; break;
146 case 0: main
.player
.skin
.color
= "reddish brown"; break;
147 case 1: main
.player
.skin
.color
= "violet"; break;
148 case 2: main
.player
.skin
.color
= "dark red"; break;
151 text
= "<h2>Hair Style</h2>";
152 text
+= "<p>What kind of hair do you want, assuming you want any at all?</p>";
153 setButton
(0, "Plain");
154 setButton
(1, "Bob cut");
155 setButton
(2, "Wild&Proud");
156 setButton
(3, "Ponytail");
157 setButton
(4, "Bald");
158 setButton
(5, "Shaven");
163 main
.player
.hair
= new Hair
();
164 // TODO: Add public set member for hair description.
167 main
.player
.hair
.style
= "plain";
170 main
.player
.hair
.style
= "bob-cut";
172 case 2: // Wild and proud
173 main
.player
.hair
.style
= "wild";
176 main
.player
.hair
.style
= "ponytail";
179 main
.player
.hair
.style
= "bald";
182 main
.player
.hair
.style
= "close-shaven";
186 text
= "<h2>Class Selection</h2>";
187 text
+= "<p>Here, you choose your initial startup benefits and weapons.</p>";
189 setButton
(0, "Avg. Joe");
190 text
+= "<li>Avg. Joe - Just go in with the clothes on your back. (1 STR, 1 INT, 1 SPD)</li>";
191 setButton
(1, "Soldier");
192 text
+= "<li>Soldier - You spent more time on swordplay than books. This lets you dive right into the combat. (+3 STR, Cheap Sword, Leather Armor)</li>";
193 setButton
(2, "Bookworm");
194 text
+= "<li>Bookworm - You read a lot of scrolls as a kid, and paid attention in class. Strength, however, is not your forte. (+3 INT, Glasses, Daemonology Book)</li>";
201 main
.player
.strength
= 5;
202 main
.player
.speed
= 5;
203 main
.player
.intellect
= 5;
208 main
.player
.strength
+= 1;
209 main
.player
.speed
+= 1;
210 main
.player
.intellect
+= 1;
213 main
.player
.strength
+= 3;
216 main
.player
.intellect
+= 2;
217 main
.player
.speed
+= 1;
220 main
.player
.balls
.push
(main
.player
.balls
[0]);
221 main
.player
.strength
+= 1;
222 main
.player
.speed
+= 1;
225 main
.player
.clothing
.push
(ItemRegistry
.BROWN_TUNIC
, ItemRegistry
.GRAY_PANTS
);
227 text
= new Introduction
();
229 main
.setupStatsPanel
();
230 setButton
(NEXT_BUTTON
, "Next");
237 trace
(id
, stage
, done
);
241 override public function getScreenText
():String