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
;
12 * I was originally going to make this a friendly.
15 * Spore - Releases a cloud of spores from head
19 public class Morel
extends Creature
22 public function Morel
()
25 trace
("Morel.init()");
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
;
33 BodyPartRegistry
.human_arm
,
34 BodyPartRegistry
.human_arm
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
;
45 override public function getRapable
():Boolean
49 override public function getHostile
(subj
:Creature
):Boolean
55 override public function getTypeName
():String
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. "Ah, another victim..." %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
);
80 override public function onLose
(ply
:Creature
):Boolean
82 return super.onLose
(ply
);