Potions added, and pink potion
[18plus-7leafadventure.git] / src / org / sevenchan / dongs / creature / Morel.as
blob6de9b445379b4b534b6f034405ba68f0ce6e4244
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 N3X15
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 = [
33 BodyPartRegistry.arms.human,
34 BodyPartRegistry.arms.human,
36 this.legs = [];
37 this.assholes = [];
38 inventory = [];
39 skin = new Skin("morel", "pasty white", "soft but dusty");
40 eyes = [BodyPartRegistry.eyes.human_brown, BodyPartRegistry.eyes.human_brown];
41 abilityUseProbability = 2;
42 this.abilities={spore:AbilityRegistry.spore};
45 override public function getHostile(subj:Creature):Boolean
47 strength += 2;
48 return true;
51 override public function getTypeName():String
53 return "morel";
57 override public function combatDescr(subj:Creature):String
59 var text:String = "<p>During your exploration, begin to smell a dry, powdery odor, not unlike moldy bread.";
60 text += " Following the scent, you find a large mushroom in a clearing. Suddenly, you realize that it has ";
61 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>";
62 return gender.doReplace(text);
65 override public function onWin(ply:Creature):Boolean
67 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.";
68 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.";
69 text += " Tired, you drift off to a dreamless sleep as your body is sucked bone-dry.</p>";
70 text += "<p>You awaken back at the barn and hurriedly drink from the handpump, feeling restored otherwise.</p>";
71 InfoScreen.push(text);
72 ply.lust = 0;
73 return true;
76 override public function onLose(ply:Creature):Boolean
78 return super.onLose(ply);