Fix hair, dick around with new game screen.
[18plus-7leafadventure.git] / src / org / sevenchan / dongs / bodyparts / IBodyPart.as
blobe75b6b58f4b29dcc60779d7c529a1a76c9067c7e
1 package org.sevenchan.dongs.bodyparts
3 import org.sevenchan.dongs.clothing.Clothing;
4 import org.sevenchan.dongs.Creature;
5 import org.sevenchan.dongs.weapons.IWeapon;
6 /**
7 * ...
8 * @author Harbinger
9 */
10 public interface IBodyPart
12 function get value():Number;
13 function get sellDesc():String;
14 function get name():String;
15 function get category():String;
16 function get location():String; // In case the body part grows in an abnormal location.
17 function get weapon():IWeapon;
19 /**
20 * Retrieve a long description of the body part
22 * "3 bloated, throbbing bananas"
23 * @param num
24 * @param host
25 * @return
27 function getDescr(num:Number, host:Creature):String;
28 function getShortDescr(withModifier:Boolean=false):String;
30 function onFailedAttack(from:Creature, to:Creature):void;
31 function onGoodAttack(from:Creature, to:Creature):void;
33 function tryEquip(weapon:IWeapon):Boolean;
34 function isConcealedBy(host:Creature, clothing:Vector.<Clothing>):Boolean;