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
.*;
11 public class NewGameScreen
extends Screen
13 private var stage
:int = -1;
14 private var text
:String = "";
16 [Embed
(source
="txt/bsd-license.txt",mimeType
="application/octet-stream")]
17 private var License
:Class;
19 [Embed
(source
="txt/intro.txt",mimeType
="application/octet-stream")]
20 private var Introduction
:Class;
22 public function NewGameScreen
()
24 this.appearanceButton
= false;
25 this.debugMenuButton
= true;
26 this.exportGameButton
= false;
27 this.loadOrSaveButton
= false;
28 this.newGameButton
= false;
29 this.selectPerkButton
= false;
32 this.setButton
(NEXT_BUTTON
, "Next");
35 override public function processButtonPress
(id
:int):Boolean
37 var done
:Boolean = false;
43 this.setButton
(NEXT_BUTTON
, "Next");
46 case 0: // Species selection
49 setButton
(0, "Human");
50 text
= "<h2>Species</h2><p>Select whatever the hell you want to be. Note that this list is very incomplete.</p>";
53 case 1: // Gender selection
55 text
= "<h2>Gender Selection</h2>";
58 main
.player
.setBaseType
(new Human
());
59 text
+= "<p>As a simple human, you can either be male or female as you start out.</p>";
60 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>";
61 text
+= "<p>Humans also get randomly colored skin, hair, and eyes [Once they're implemented...].</p>";
64 setButton
(2, "Female");
72 main
.player
.gender
= Gender
.MALE
;
75 main
.player
.gender
= Gender
.FEMALE
;
78 main
.player
.initialGenderSetup
();
81 text
= "<h2>Class Selection</h2>";
82 text
+= "<p>Here, you choose your initial startup benefits. These aren't classes in the traditional sense, they merely boost your initial stats.</p>";
84 setButton
(0, "Balanced");
85 text
+= "<li>Balanced - You trained all of your skills. (+1 STR, +1 SPD, +1 INT).</li>";
86 setButton
(1, "Brute");
87 text
+= "<li>Brute - You excel in brute strength, and can benchpress a horse. However, you're not too fast, and not too smart. (+3 STR)</li>";
88 setButton
(2, "Bookworm");
89 text
+= "<li>Bookworm - You read a lot of scrolls as a kid, and paid attention in class. Unfortunately, the other village kids beat the crap out of you. (+2 INT, +1 SPD)</li>";
90 if(main
.player
.gender
== Gender
.MALE
) {
91 text
+= "<li>Freak - You were cursed at birth with a third testicle, which gives you more volume and lust, but it reduced your muscle development, despite the extra testosterone. (+1 TESTICLE, +1 STR, +1 SPD)</li>";
92 setButton
(3, "Freak");
101 main
.player
.strength
+= 1;
102 main
.player
.speed
+= 1;
103 main
.player
.intellect
+= 1;
106 main
.player
.strength
+= 3;
109 main
.player
.intellect
+= 2;
110 main
.player
.speed
+= 1;
113 main
.player
.balls
.push
(main
.player
.balls
[0]);
114 main
.player
.strength
+= 1;
115 main
.player
.speed
+= 1;
119 text
= new Introduction
();
121 main
.setupStatsPanel
();
122 setButton
(NEXT_BUTTON
, "Next");
129 trace
(id
,stage
,done
);
133 override public function getScreenText
():String