Masturbation text is IN! Also rewrite of Bova sex scene, still needs some work for...
[18plus-7leafadventure.git] / src / org / sevenchan / dongs / creature / Bova.as
blobd90ba839c053f16d3d039db637f5f20d6755738a
1 package org.sevenchan.dongs.creature
3 import flash.net.*;
4 import org.sevenchan.dongs.*;
5 import org.sevenchan.dongs.ability.Flatulence;
6 import org.sevenchan.dongs.bodyparts.*;
7 import org.sevenchan.dongs.items.*;
8 import org.sevenchan.dongs.screens.*;
9 import org.sevenchan.dongs.screens.encounters.BovaEncounterScreen;
11 /**
12 * Bova == Cow-girl
14 * Friendly creature that sells milk and sex<s>, although
15 * sex without a gas mask = you turn into a cowgirl.</s>
17 * This is based off of a creature from a picture drawn by 7chan /d/, so bite me.
18 * @author Harbinger
20 public class Bova extends Creature
23 registerClassAlias("EBova", Bova);
24 public var SKIN:Skin = new Skin("bovan", "patterned", "fuzzy");
26 public function Bova()
28 trace("Bova.init()");
29 super();
30 height = Math.random() * 1.5 + 5;
31 switch (Math.round(MathUtils.rand(0, 2)))
33 case 0:
34 this.gender = Gender.MALE;
35 break;
36 case 1:
37 this.gender = Gender.FEMALE;
38 break;
39 case 2:
40 this.gender = Gender.HERM;
41 break;
43 this.build = Build.CHUBBY;
44 this.hair = new Hair("long, blonde");
45 this.arms.push(BodyPartRegistry.human_arm, BodyPartRegistry.human_arm);
46 this.legs.push(BodyPartRegistry.human_leg, BodyPartRegistry.human_leg);
47 this.eyes.push(BodyPartRegistry.human_blue_eye, BodyPartRegistry.human_blue_eye);
48 this.skin = SKIN;
49 //this.abilities["flatulence"] = new Flatulence();
52 override public function addBreast():Breast
54 var boob:Breast = BodyPartRegistry.human_breast;
55 boob.size = MathUtils.rand(2, 4);
56 breasts.push(boob);
57 return boob;
60 override public function initialGenderSetup():void
62 this.breasts.push(BodyPartRegistry.human_breast, BodyPartRegistry.human_breast);
63 this.arms.push(BodyPartRegistry.human_arm, BodyPartRegistry.human_arm);
64 this._assholes.push(BodyPartRegistry.human_anus);
65 this.legs.push(BodyPartRegistry.human_leg, BodyPartRegistry.human_leg);
66 if (gender.hasDick)
68 this.balls.push(BodyPartRegistry.human_testicle, BodyPartRegistry.human_testicle);
69 this.addDick();
70 breasts[0].size = 0;
71 breasts[1].size = 0;
73 if (gender.hasVag)
75 this.vaginas.push(BodyPartRegistry.human_vagina);
76 breasts[0].size = breasts[1].size = MathUtils.rand(0, 5);
78 customized = false;
81 override public function getTypeName():String
83 return "bova";
86 override public function addDick(type:String = "default"):Penis
88 var penis:Penis = BodyPartRegistry.human_penis;
89 // 0.5 - 1.5' wang
90 penis.size = 6 + MathUtils.rand(0, 12);
91 this._dicks.push(penis);
92 return penis;
95 override public function getHostile(subj:Creature):Boolean
97 return false;
100 override public function onEncounter(ply:Creature):Boolean
102 if (ply != null) // Debug screen checking to see if encounters are possible
104 BovaEncounterScreen.push(this);
106 return true;
109 override public function performConversion(oldMe:Creature):void
111 var text:String = "";
112 text += (<![CDATA[
114 The changes are drastic. You groan and grip your stomach as it bulges outwards, filling with larger equivalents of your pre-existing organs.
115 Next, you briefly become itchy as short holstein fur covers your body from head to neck. Finally, two horns sprout from your head, and your breasts
116 balloon outwards, so full of milk that they are painful.
117 ]]>).toString();
118 skin._name = "Bova";
119 skin.color = "holstein-patterned";
120 skin.texture = "short furry";
121 this._abilities.flatulence = new Flatulence();
122 breasts = new Vector.<Breast>();
123 dicks = new Vector.<Penis>();
124 balls = new Vector.<Testicle>();
125 this._gender = Gender.FEMALE;
126 this.initialGenderSetup();
127 if (oldMe.gender == Gender.MALE || oldMe.gender == Gender.ASEXUAL)
129 // -Facial hair, +pussy
130 text += (<![CDATA[
131 Your facial hair quickly begins to thin, each hair popping off and floating away in the breeze. You can't say you'll miss shaving, though you
132 do take back any accolades you may have once given the process once your balls shrivvel up and your {cocks are} sucked painfully into your body,
133 causing you to double over as your new pussy is formed.]]>).toString();
134 text=text.replace("{cocks are}",Utils.pluralize(oldMe._dicks.length,"cocks are","cock is"));
136 text += "</p>";
137 InfoScreen.push(text);