class MushroomBase : Edible_Base { override bool CanBeCookedOnStick() { return true; } override bool CanBeCooked() { return true; } override bool IsMushroom() { return true; } override bool CanDecay() { return true; } override void SetActions() { super.SetActions(); AddAction(ActionForceFeed); AddAction(ActionEat); } override void EEOnCECreate() { int rand = Math.RandomInt(0,10); if ( rand > 6 ) { ChangeFoodStage( FoodStageType.ROTTEN ); SetHealth( "", "", GetMaxHealth()*0.1 ); } else if ( rand > 2 ) { ChangeFoodStage( FoodStageType.DRIED ); SetHealth( "", "", GetMaxHealth()*0.4 ); } } };