public function sstdChecks(cumFrom:Creature = null, location:String = "ass"):void
{
if(cumFrom.hasSSTD() && !this.isSSTDImmune())
{
var catchSSTD:String = cumFrom.getRandomSSTD();
//kGAMECLASS.output(catchSSTD);
switch(catchSSTD)
{
case "Undetected Furpies":
//FURPIES!
if(hasSSTD("Furpies", true)) { /* Already have it! */ }
// Furries are immune to furpies.
else if(!this.hasFur()) createStatusEffect("Undetected Furpies",0,0,0,0,true,"","Hidden furpies infection! OH NOEZ",false,17280,0xFF69B4);
break;
case "Undetected Locofever":
if(hasSSTD("Locofever", true)) { /* Already have it! */ }
else createStatusEffect("Undetected Locofever", 0, 0, 0, 0, true, "LustUp", "Hidden Locofever infection!", false, 17280, 0xFF69B4);
break;
case "Undetected Sneezing Tits":
if(hasSSTD("Sneezing Tits", true)) { /* Already have it! */ }
else createStatusEffect("Undetected Sneezing Tits", 0, 0, 0, 0, true, "Icon_Boob_Torso", "Hidden Sneezing Tits infection!", false, 10080, 0xFF69B4);
break;
}
}
}
public function createStatusEffect(statusName: String, value1: Number = 0, value2: Number = 0, value3: Number = 0, value4: Number = 0, hidden: Boolean = true, iconName: String = "", tooltip: String = "", combatOnly: Boolean = false, minutesLeft: Number = 0, iconShade:uint = 0xFFFFFF): void {
where statusName is saved as storageName