Fix hair, dick around with new game screen.
[18plus-7leafadventure.git] / src / org / sevenchan / dongs / creature / Morel.as
blobc3693e2f9c9666d79e4656cc8fe82601de12e06e
1 package org.sevenchan.dongs.creature
3 import org.sevenchan.dongs.*;
4 import org.sevenchan.dongs.ability.AbilityRegistry;
5 import org.sevenchan.dongs.ability.Spore;
6 import org.sevenchan.dongs.bodyparts.*;
7 import org.sevenchan.dongs.screens.InfoScreen;
9 /**
10 * Mushroom-bitch
12 * I was originally going to make this a friendly.
14 * Abilities:
15 * Spore - Releases a cloud of spores from head
17 * @author Harbinger
19 public class Morel extends Creature
22 public function Morel()
25 trace("Morel.init()");
26 super();
27 height = Math.random() * 1.5 + 5;
28 this.sexualPreference = SexualPreference.ASEXUAL;
29 this.build = Build.AVG;
30 this.hair = new Hair("mushroom cap");
31 gender = Gender.ASEXUAL;
32 this.arms.push(
33 BodyPartRegistry.human_arm,
34 BodyPartRegistry.human_arm
36 addBreast();
37 addBreast();
38 skin = new Skin("morel", "pasty white", "soft but dusty");
39 eyes.push(BodyPartRegistry.human_brown_eye, BodyPartRegistry.human_brown_eye);
40 abilityUseProbability = 2;
41 this.abilities['spore']=AbilityRegistry.spore;
44 /* No orifaces */
45 override public function getRapable():Boolean
47 return false;
49 override public function getHostile(subj:Creature):Boolean
51 strength += 2;
52 return true;
55 override public function getTypeName():String
57 return "morel";
61 override public function combatDescr(subj:Creature):String
63 var text:String = "<p>During your exploration, begin to smell a dry, powdery odor, not unlike moldy bread.";
64 text += " Following the scent, you find a large mushroom in a clearing. Suddenly, you realize that it has ";
65 text += "a woman's body, but without the genetalia. %CSUB% turns to you, a thin, simple smile forming on %POS% lips. &quot;Ah, another victim...&quot; %SUB% rasps dryly.</p>";
66 return gender.doReplace(text);
69 override public function onWin(ply:Creature):Boolean
71 var text:String = "<h2>YOU LOSE</h2><p>You drop to the ground, and the mushroom's root-like hyphae grow into your body and eventually cover your in a white, fibrous cocoon.";
72 text += "You feel like you are being drained of everything, even your mouth feels dry, and any lust you had fades away as the fluids and hormones are drained from your genitals.";
73 text += " Tired, you drift off to a dreamless sleep as your body is sucked bone-dry.</p>";
74 text += "<p>You awaken back at the barn and hurriedly drink from the handpump, feeling restored otherwise.</p>";
75 InfoScreen.push(text);
76 ply.lust = 0;
77 return true;
80 override public function onLose(ply:Creature):Boolean
82 return super.onLose(ply);