Fix hair, dick around with new game screen.
[18plus-7leafadventure.git] / src / org / sevenchan / dongs / items / SpiderEgg.as
blob236ab52720194d406f0f49f31b607ff1571006cf
1 package org.sevenchan.dongs.items
3 import org.sevenchan.dongs.bodyparts.Testicle;
4 import org.sevenchan.dongs.Creature;
5 import org.sevenchan.dongs.Item;
6 import org.sevenchan.dongs.screens.InfoScreen;
8 /**
9 * ...
10 * @author Harbinger
12 public class SpiderEgg extends Item
15 public function SpiderEgg(num:uint = 0)
17 super(num);
18 this.descr = "An unfertilized, black spider egg.";
19 this.id = 7;
20 this.name = "Spider Egg";
21 this.value = 250;
24 override public function copy():Item
26 return new SpiderEgg(amount);
29 override public function Use(ply:Creature):Boolean
31 if(ply.gender.hasDick) {
32 var amtCum:Number = 0;
33 for (var i:int = 0; i < ply.balls.length; i++) {
34 (ply.balls[i] as Testicle).loadMult -= 1;
35 var t:Testicle = ply.balls[i];
36 amtCum+=t.loadMult * t.normalLoad;
38 var text:String = "<h2>Eat spider egg</h2>";
39 text += "<p>You cautiously bite into the leathery, black egg, immediately producing a disgusting torrent of foul taste into your mouth. You force yourself to swallow, nearly gagging. Pain in your nether regions signals that something happened to your balls.</p>";
40 text += "<p><b>Your semen output has decreased by 1, bringing your total seminal volume to " + MathUtils.fmtMilliLiters(amtCum) + ".</b></p>";
41 text += "<p>You will now gain lust slower.</p>";
42 InfoScreen.push(text);
43 return true;
45 return false;