|
Edible_Base ItemBase | ReplaceEdibleWithNewLambda (EntityAI old_item, string new_item_type, PlayerBase player) |
|
void | Edible_Base () |
|
override void | EEInit () |
|
override void | EEDelete (EntityAI parent) |
|
override void | EEItemLocationChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc) |
|
void | UpdateVisualsEx (bool forced=false) |
|
bool | Consume (float amount, PlayerBase consumer) |
|
void | OnConsume (float amount, PlayerBase consumer) |
|
int | FilterAgents (int agentsIn) |
| Filter agents from the item (override on higher implementations)
|
|
override bool | CanBeCooked () |
|
override bool | CanBeCookedOnStick () |
|
override float | GetTemperatureFreezeTime () |
|
override float | GetTemperatureThawTime () |
|
override bool | CanItemOverheat () |
|
void | Synchronize () |
|
override void | OnVariablesSynchronized () |
|
void | MakeSoundsOnClient (bool soundstate, CookingMethodType cookingMethod=CookingMethodType.NONE) |
|
void | RefreshAudio () |
|
void | RemoveAudio () |
|
override void | OnStoreSave (ParamsWriteContext ctx) |
|
override bool | OnStoreLoad (ParamsReadContext ctx, int version) |
|
override void | AfterStoreLoad () |
|
override FoodStage | GetFoodStage () |
|
override bool | IsMeat () |
|
override bool | IsCorpse () |
|
override bool | IsFruit () |
|
override bool | IsMushroom () |
|
static float | GetFoodTotalVolume (ItemBase item, string classname="", int food_stage=0) |
|
static float | GetFoodEnergy (ItemBase item, string classname="", int food_stage=0) |
|
static float | GetFoodWater (ItemBase item, string classname="", int food_stage=0) |
|
static float | GetFoodNutritionalIndex (ItemBase item, string classname="", int food_stage=0) |
|
static float | GetFoodToxicity (ItemBase item, string classname="", int food_stage=0) |
|
static int | GetFoodAgents (ItemBase item, string classname="", int food_stage=0) |
|
static float | GetFoodDigestibility (ItemBase item, string classname="", int food_stage=0) |
|
static float | GetAgentsPerDigest (ItemBase item, string className="", int foodStage=0) |
|
static NutritionalProfile | GetNutritionalProfile (ItemBase item, string classname="", int food_stage=0) |
|
FoodStageType | GetFoodStageType () |
|
bool | IsFoodRaw () |
|
bool | IsFoodBaked () |
|
bool | IsFoodBoiled () |
|
bool | IsFoodDried () |
|
bool | IsFoodBurned () |
|
bool | IsFoodRotten () |
|
void | ChangeFoodStage (FoodStageType new_food_stage_type) |
|
FoodStageType | GetNextFoodStageType (CookingMethodType cooking_method) |
|
string | GetFoodStageName (FoodStageType food_stage_type) |
|
bool | CanChangeToNewStage (CookingMethodType cooking_method) |
|
void | TransferFoodStage (notnull Edible_Base source) |
|
void | OnFoodStageChange (FoodStageType stageOld, FoodStageType stageNew) |
| called on server
|
|
void | HandleFoodStageChangeAgents (FoodStageType stageOld, FoodStageType stageNew) |
| removes select agents on foodstage transitions
|
|
float | GetCookingTime () |
|
void | SetCookingTime (float time) |
|
void | ResetCookingTime () |
|
void | ReplaceEdibleWithNew (string typeName) |
|
int | GetConsumptionPenaltyContext () |
|
override void | SetActions () |
|
void | SoundCookingStart (string sound_name) |
|
void | SoundCookingStop () |
|
override bool | CanDecay () |
|
override bool | CanProcessDecay () |
|
override void | ProcessDecay (float delta, bool hasRootAsPlayer) |
|
void | UpdateVaporParticle () |
|
override void | GetDebugActions (out TSelectableActionInfoArrayEx outputList) |
|
override bool | OnAction (int action_id, Man player, ParamsReadContext ctx) |
|
override string | GetDebugText () |
|
override float | GetBaitEffectivity () |
|
float | GetDecayTimer () |
|
float | GetDecayDelta () |
|
FoodStageType | GetLastDecayStage () |
|
void | UpdateVisuals () |
|