![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
| class | InventoryItem |
| class | ItemBase |
| class | ItemBaseType |
Typedefs | |
| typedef ItemBase | Inventory_Base |
| typedef ItemBaseType | Inventory_BaseType |
| typedef map< typename, ref ActionOverrideData > | TActionAnimOverrideMap |
Functions | |
| void | ~ItemBase () |
| void | AddAction (typename actionName) |
| static void | AddDebugActionsMask (int mask) |
| void | AddLightSourceItem (ItemBase lightsource) |
| Adds a light source child. | |
| bool | AddQuantity (float value, bool destroy_config=true, bool destroy_forced=false) |
| add item quantity[related to varQuantity... config entry], destroy_config = true > if the quantity reaches varQuantityMin or lower and the item config contains the varQuantityDestroyOnMin = true entry, the item gets destroyed. destroy_forced = true means item gets destroyed when quantity reaches varQuantityMin or lower regardless of config setting, returns true if the item gets deleted | |
| override void | AddWet (float value) |
| void | AffectLiquidContainerOnFill (int liquid_type, float amount) |
| from enviro source | |
| void | AffectLiquidContainerOnTransfer (int liquidType, float amount, float sourceLiquidTemperature) |
| from other liquid container source | |
| override void | AfterStoreLoad () |
| bool | AllowFoodConsumption () |
| override bool | CanBeCombined (EntityAI other_item, bool reservation_check=true, bool stack_max_limit=false) |
| bool | CanBeConsumed (ConsumeConditionData data=null) |
| Items cannot be consumed if frozen by default. Override for exceptions. | |
| bool | CanBeCooked () |
| bool | CanBeCookedOnStick () |
| bool | CanBeDigged () |
| bool | CanBeDisinfected () |
| bool | CanBeMovedOverride () |
| bool | CanBeRepairedByCrafting () |
| override bool | CanBeSplit () |
| bool | CanBeUsedForSuicide () |
| bool | CanDecay () |
| override bool | CanDisplayCargo () |
| bool | CanEat () |
| bool | CanExplodeInFire () |
| bool | CanHaveWetness () |
| bool | CanMakeGardenplot () |
| override bool | CanObstruct () |
| bool | CanPlayDeployLoopSound () |
| bool | CanProcessDecay () |
| override bool | CanPutAsAttachment (EntityAI parent) |
| override bool | CanPutInCargo (EntityAI parent) |
| override bool | CanReceiveAttachment (EntityAI attachment, int slotId) |
| override bool | CanReceiveItemIntoCargo (EntityAI item) |
| override bool | CanReleaseAttachment (EntityAI attachment) |
| bool | CanRepair (ItemBase item_repair_kit) |
| override string | ChangeIntoOnAttach (string slot) |
| override string | ChangeIntoOnDetach () |
| override void | CheckForRoofLimited (float timeTresholdMS=3000) |
| Roof check for entity, limited by time (anti-spam solution). | |
| void | CheckOverheating (ItemBase weapon=null, string ammoType="", ItemBase muzzle_owner=null, ItemBase suppressor=null, string config_to_search="") |
| override void | ClearInventory () |
| void | ClearStartItemSoundServer () |
| void | ClearStopItemSoundServer () |
| void | Close () |
| void | CombineItems (ItemBase other_item, bool use_stack_max=true) |
| override void | CombineItemsClient (EntityAI entity2, bool use_stack_max=true) |
| override void | CombineItemsEx (EntityAI entity2, bool use_stack_max=true) |
| int | ComputeQuantityUsed (ItemBase other_item, bool use_stack_max=true) |
| float | ComputeQuantityUsedEx (ItemBase other_item, bool use_stack_max=true) |
| bool | ContainsAgent (int agent_id) |
| void | ConvertEnergyToQuantity () |
| void | CopyScriptPropertiesFrom (EntityAI oldItem) |
| bool | DamageItemAttachments (float damage) |
| bool | DamageItemInCargo (float damage) |
| override void | DeSerializeNumericalVars (array< float > floats) |
| void | DoAmmoExplosion () |
| override void | EEDelete (EntityAI parent) |
| override void | EEHealthLevelChanged (int oldLevel, int newLevel, string zone) |
| override void | EEHitBy (TotalDamageResult damageResult, int damageType, EntityAI source, int component, string dmgZone, string ammo, vector modelPos, float speedCoef) |
| override void | EEItemLocationChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc) |
| override void | EEKilled (Object killer) |
| override void | EEOnAfterLoad () |
| override void | EEOnCECreate () |
| Called when entity is being created as new by CE/ Debug. | |
| override void | EOnContact (IEntity other, Contact extra) |
| void | ExplodeAmmo () |
| override void | GetActions (typename action_input_type, out array< ActionBase_Basic > actions) |
| bool | GetActionWidgetOverride (out typename name) |
| If we need a different (handheld)item action widget displayed, the logic goes in here. | |
| override int | GetAgents () |
| override string | GetAttachmentSoundType () |
| float | GetBaitEffectivity () |
| generic effectivity as a bait for animal catching | |
| float | GetBandagingEffectivity () |
| override int | GetCleanness () |
| override void | GetColor (out int r, out int g, out int b, out int a) |
| gets item's color variable as components | |
| string | GetColorString () |
| Returns item's PROCEDURAL color as formated string, i.e. "#(argb,8,8,3)color(0.15,0.15,0.15,1.0,CO)". | |
| int | GetDamageSystemVersionChange () |
| Re-sets DamageSystem changes. | |
| override void | GetDebugActions (out TSelectableActionInfoArrayEx outputList) |
| static int | GetDebugActionsMask () |
| string | GetDeployFinishSoundset () |
| string | GetDeploySoundset () |
| float | GetDeployTime () |
| how long it takes to deploy this item in seconds | |
| float | GetDisinfectQuantity (int system=0, Param param1=null) |
| float | GetDryingIncrement (string pIncrementName) |
| float | GetEnergy () |
| string | GetExplosiveTriggerSlotName () |
| float | GetFilterDamageRatio () |
| string | GetFoldSoundset () |
| FoodStage | GetFoodStage () |
| overridden on Edible_Base; so we don't have to parse configs all the time | |
| array< string > | GetHeadHidingSelection () |
| float | GetHeatIsolation () |
| float | GetHeatIsolationInit () |
| float | GetInfectionChance (int system=0, Param param=null) |
| Infection chance while/after using this item, originally used for wound infection after bandaging, params 'system' and 'param' can allow usage by other systems as well. | |
| float | GetItemAttachOffset () |
| float | GetItemModelLength () |
| override float | GetItemOverheatThreshold () |
| int | GetItemSize () |
| ItemSoundHandler | GetItemSoundHandler () |
| ScriptedLightBase | GetLight () |
| ItemBase | GetLightSourceItem () |
| int | GetLiquidContainerMask () |
| override int | GetLiquidType () |
| int | GetLiquidTypeInit () |
| string | GetLockSoundSet () |
| int | GetLockType () |
| string | GetLoopDeploySoundset () |
| string | GetLoopFoldSoundset () |
| int | GetMuzzleID () |
| Returns global muzzle ID. If not found, then it gets automatically registered. | |
| int | GetNumberOfItems () |
| Returns the number of items in cargo, otherwise returns 0(non-cargo objects). Recursive. | |
| int | GetOnDigWormsAmount () |
| float | GetOverheatingCoef () |
| float | GetOverheatingValue () |
| string | GetPlaceSoundset () |
| float | GetProtectionLevel (int type, bool consider_filter=false, int system=0) |
| override float | GetQuantity () |
| int | GetQuantityInit () |
| override int | GetQuantityMax () |
| override int | GetQuantityMin () |
| override float | GetQuantityNormalized () |
| Gets quantity in normalized 0..1 form between the item's Min a Max values as defined by item's config(for Min 0 and Max 5000, value 2500 will result in 0.5). | |
| float | GetQuantityNormalizedScripted () |
| override int | GetQuickBarBonus () |
| void | GetRecipesActions (Man player, out TSelectableActionInfoArray outputList) |
| float | GetSingleInventoryItemWeight () |
| override float | GetSingleInventoryItemWeightEx () |
| float | GetSoakingIncrement (string pIncrementName) |
| override float | GetStoreLoadedQuantity () |
| override int | GetTargetQuantityMax (int attSlotID=-1) |
| override float | GetTemperatureFreezeThreshold () |
| override float | GetTemperatureFreezeTime () |
| float | GetTemperaturePerQuantityWeight () |
| Used in heat comfort calculations only! | |
| override float | GetTemperatureThawThreshold () |
| override float | GetTemperatureThawTime () |
| float | GetUnitWeight (bool include_wetness=true) |
| Obsolete, use GetWeightEx instead. | |
| array< int > | GetValidFinishers () |
| returns an array of possible finishers | |
| float | GetWeightSpecialized (bool forceRecalc=false) |
| override float | GetWet () |
| override float | GetWetInit () |
| override EWetnessLevel | GetWetLevel () |
| override float | GetWetMax () |
| override float | GetWetMin () |
| WrittenNoteData | GetWrittenNoteData () |
| static bool | HasDebugActionsMask (int mask) |
| bool | HasFoodStage () |
| bool | HasMuzzle () |
| Returns true if this item has a muzzle (weapons, suppressors). | |
| override bool | HasQuantity () |
| bool | HidesSelectionBySlot () |
| void | HierarchyCheck (out bool hasParent, out bool hasRootAsPlayer, out ItemBase refParentIB) |
| string | IDToName (int id) |
| void | IncreaseOverheating (ItemBase weapon, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search) |
| void | InitializeActions () |
| void | InitItemSounds () |
| override void | InitItemVariables () |
| override void | InsertAgent (int agent, float count=1) |
| bool | IsActionTargetVisible () |
| override bool | IsBeingPlaced () |
| bool | IsBloodContainer () |
| bool | IsCargoException4x3 (EntityAI item) |
| bool | IsColorSet () |
| bool | IsCombineAll (ItemBase other_item, bool use_stack_max=false) |
| bool | IsCoverFaceForShave (string slot_name) |
| DEPRECATED in use, but returns correct values nontheless. Check performed elsewhere. | |
| bool | IsDeployable () |
| bool | IsDeploySound () |
| bool | IsExplosive () |
| bool | IsFacingPlayer (PlayerBase player, string selection) |
| bool | IsFullQuantity () |
| override bool | IsHeavyBehaviour () |
| override bool | IsHologram () |
| override bool | IsIgnoredByConstruction () |
| override bool | IsItemBase () |
| bool | IsLightSource () |
| bool | IsLiquidContainer () |
| bool | IsLiquidPresent () |
| bool | IsNVG () |
| override bool | IsOneHandedBehaviour () |
| bool | IsOpen () |
| bool | IsOverheatingEffectActive () |
| bool | IsPlaceSound () |
| bool | IsPlayerInside (PlayerBase player, string selection) |
| bool | IsResultOfSplit () |
| bool | IsSoundSynchRemote () |
| override bool | IsSplitable () |
| override bool | IsStoreLoad () |
| override bool | IsTakeable () |
| override bool | IsTwoHandedBehaviour () |
| void | ItemBase () |
| void | KillAllOverheatingParticles () |
| override bool | KindOf (string tag) |
| bool | LoadAgents (ParamsReadContext ctx, int version) |
| void | LoadParticleConfigOnFire (int id) |
| void | LoadParticleConfigOnOverheating (int id) |
| void | LockToParent () |
| Locks this item in it's current attachment slot of its parent. This makes the "locked" icon visible in inventory over this item. | |
| void | MessageToOwnerAction (string text) |
| Send message to owner player in yellow color. | |
| void | MessageToOwnerFriendly (string text) |
| Send message to owner player in green color. | |
| void | MessageToOwnerImportant (string text) |
| Send message to owner player in red color. | |
| void | MessageToOwnerStatus (string text) |
| Send message to owner player in grey color. | |
| int | NameToID (string name) |
| override bool | OnAction (int action_id, Man player, ParamsReadContext ctx) |
| void | OnActivatedByItem (notnull ItemBase item) |
| Called when this item is activated by other. | |
| void | OnActivatedByTripWire () |
| DEPRECATED use OnActivatedByItem below Called when this item is activated from a trip wire that was stepped on. | |
| void | OnApply (PlayerBase player) |
| void | OnAttachmentQuantityChanged (ItemBase item) |
| Called on server side when some attachment's quantity is changed. Call super.OnAttachmentQuantityChanged(item); first when overriding this event. | |
| void | OnAttachmentQuantityChangedEx (ItemBase item, float delta) |
| Called on server side when some attachment's quantity is changed. Call super.OnAttachmentQuantityChanged(item); first when overriding this event. | |
| void | OnCombine (ItemBase other_item) |
| override void | OnCreatePhysics () |
| void | OnEndPlacement () |
| override void | OnEnergyAdded () |
| override void | OnEnergyConsumed () |
| void | OnInventoryEnter (Man player) |
| Event called on item when it is placed in the player(Man) inventory, passes the owner as a parameter. | |
| void | OnInventoryExit (Man player) |
| Event called on item when it is removed from the player(Man) inventory, passes the old owner as a parameter. | |
| override void | OnItemAttachmentSlotChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc) |
| void | OnItemInHandsPlayerSwimStart (PlayerBase player) |
| override void | OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner) |
| void | OnLiquidTypeChanged (int oldType, int newType) |
| override void | OnMovedInsideCargo (EntityAI container) |
| void | OnOverheatingDecay () |
| override void | OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0") |
| override void | OnPlacementStarted (Man player) |
| void | OnQuantityChanged (float delta) |
| Called on server side when this item's quantity is changed. Call super.OnQuantityChanged(); first when overriding this event. | |
| override void | OnRightClick () |
| override void | OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx) |
| override bool | OnStoreLoad (ParamsReadContext ctx, int version) |
| override void | OnStoreSave (ParamsWriteContext ctx) |
| void | OnSyncVariables (ParamsReadContext ctx) |
| DEPRECATED (most likely). | |
| override void | OnVariablesSynchronized () |
| override void | OnWasAttached (EntityAI parent, int slot_id) |
| override void | OnWasDetached (EntityAI parent, int slot_id) |
| override void | OnWetChanged (float newVal, float oldVal) |
| override void | OnWetLevelChanged (EWetnessLevel newLevel, EWetnessLevel oldLevel) |
| void | Open () |
| Implementations only. | |
| void | OverrideActionAnimation (typename action, int commandUID, int stanceMask=-1, int commandUIDProne=-1) |
| bool | PairWithDevice (notnull ItemBase otherDevice) |
| void | PerformDamageSystemReinit () |
| void | PlayAttachSound (string slot_type) |
| Plays sound on item attach. Be advised, the config structure may slightly change in 1.11 update to allow for more complex use. | |
| static void | PlayBulletCasingEjectParticles (ItemBase weapon, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search) |
| void | PlayDeployFinishSound () |
| void | PlayDeployLoopSoundEx () |
| void | PlayDeploySound () |
| void | PlayDetachSound (string slot_type) |
| static void | PlayFireParticles (ItemBase weapon, int muzzle_index, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search) |
| static void | PlayOverheatingParticles (ItemBase weapon, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search) |
| void | PlayPlaceSound () |
| void | PreLoadSoundAttachmentType () |
| Attachment Sound Type getting from config file. | |
| void | ProcessDecay (float delta, bool hasRootAsPlayer) |
| void | ProcessItemTemperature (float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB) |
| void | ProcessItemWetness (float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB) |
| void | ProcessItemWetnessAndTemperature (float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB) |
| override void | ProcessVariables () |
| override bool | ReadVarsFromCTX (ParamsReadContext ctx, int version=-1) |
| void | RefreshAudioVisualsOnClient (CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned) |
| cooking-related effect methods | |
| void | RefreshPhysics () |
| void | RegisterOverheatingParticle (Particle p, float min_heat_coef, float max_heat_coef, int particle_id, Object parent, vector local_pos, vector local_ori) |
| void | RemoveAction (typename actionName) |
| override void | RemoveAgent (int agent_id) |
| override void | RemoveAllAgents () |
| override void | RemoveAllAgentsExcept (int agent_to_keep) |
| void | RemoveAudioVisualsOnClient () |
| static void | RemoveDebugActionsMask (int mask) |
| void | RemoveLightSourceItem () |
| bool | Repair (PlayerBase player, ItemBase item_repair_kit, float specialty_weight) |
| void | SaveAgents (ParamsWriteContext ctx) |
| override void | SerializeNumericalVars (array< float > floats_out) |
| void | SetActionAnimOverrides () |
| void | SetActions () |
| void | SetCanBeMovedOverride (bool setting) |
| void | SetCEBasedQuantity () |
| override void | SetCleanness (int value, bool allow_client=false) |
| override void | SetColor (int r, int g, int b, int a) |
| static void | SetDebugActionsMask (int mask) |
| void | SetInventoryLocationToVicinityOrCurrent (EntityAI root, inout InventoryLocation dst) |
| void | SetIsBeingPlaced (bool is_being_placed) |
| void | SetIsDeploySound (bool is_deploy_sound) |
| void | SetIsHologram (bool is_hologram) |
| void | SetIsPlaceSound (bool is_place_sound) |
| override void | SetLiquidType (int value, bool allow_client=false) |
| override bool | SetQuantity (float value, bool destroy_config=true, bool destroy_forced=false, bool allow_client=false, bool clamp_to_stack_max=true) |
| Set item quantity[related to varQuantity... config entry], destroy_config = true > if the quantity reaches varQuantityMin or lower and the item config contains the varQuantityDestroyOnMin = true entry, the item gets destroyed. destroy_forced = true means item gets destroyed when quantity reaches varQuantityMin or lower regardless of config setting, returns true if the item gets deleted. | |
| void | SetQuantityMax () |
| override void | SetQuantityNormalized (float value, bool destroy_config=true, bool destroy_forced=false) |
| Sets quantity in normalized 0..1 form between the item's Min a Max values as defined by item's config(for Min 0 and Max 5000, setting 0.5 will result in value 2500). | |
| override void | SetQuantityToMinimum () |
| void | SetResultOfSplit (bool value) |
| override void | SetStoreLoad (bool value) |
| override void | SetStoreLoadedQuantity (float value) |
| override void | SetTakeable (bool pState) |
| void | SetupSpawnedItem (ItemBase item, float health, float quantity) |
| override void | SetWet (float value, bool allow_client=false) |
| override void | SetWetMax () |
| void | SetZoneDamageCEInit () |
| Sets zone damages to match randomized global health set by CE (CE spawn only). | |
| bool | ShouldSplitQuantity (float quantity) |
| void | SoundSynchRemote () |
| void | SoundSynchRemoteReset () |
| class ItemBase extends InventoryItem | SpawnItemOnLocation (string object_name, notnull InventoryLocation loc, bool full_quantity) |
| void | SplitIntoStackMax (EntityAI destination_entity, int slot_id, PlayerBase player) |
| void | SplitIntoStackMaxCargo (EntityAI destination_entity, int idx, int row, int col) |
| void | SplitIntoStackMaxCargoClient (EntityAI destination_entity, int idx, int row, int col) |
| override void | SplitIntoStackMaxClient (EntityAI destination_entity, int slot_id) |
| override void | SplitIntoStackMaxEx (EntityAI destination_entity, int slot_id) |
| void | SplitIntoStackMaxHands (PlayerBase player) |
| void | SplitIntoStackMaxHandsClient (PlayerBase player) |
| void | SplitIntoStackMaxToInventoryLocation (notnull InventoryLocation dst) |
| void | SplitIntoStackMaxToInventoryLocationClient (notnull InventoryLocation dst) |
| ItemBase | SplitIntoStackMaxToInventoryLocationEx (notnull InventoryLocation dst) |
| void | SplitItem (PlayerBase player) |
| void | SplitItemToInventoryLocation (notnull InventoryLocation dst) |
| void | StartItemSoundServer (int id) |
| void | StartItemSoundServer (int id, int slotId) |
| void | StartOverheating (ItemBase weapon=null, string ammoType="", ItemBase muzzle_owner=null, ItemBase suppressor=null, string config_to_search="") |
| void | StopDeployLoopSoundEx () |
| void | StopItemDynamicPhysics () |
| void | StopItemSoundServer (int id) |
| void | StopOverheating (ItemBase weapon=null, string ammoType="", ItemBase muzzle_owner=null, ItemBase suppressor=null, string config_to_search="") |
| static void | StopOverheatingParticles (ItemBase weapon, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search) |
| static void | ToggleDebugActionsMask (int mask) |
| void | TransferAgents (int agents) |
| transfer agents from another item | |
| void | TransferModifiers (PlayerBase reciever) |
| appears to be deprecated, legacy code | |
| void | UnlockFromParent () |
| Unlocks this item from its attachment slot of its parent. | |
| void | UpdateAllOverheatingParticles () |
| void | UpdateOverheating (ItemBase weapon=null, string ammoType="", ItemBase muzzle_owner=null, ItemBase suppressor=null, string config_to_search="") |
| static void | UpdateOverheatingParticles (ItemBase weapon, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search) |
| void | UpdateQuickbarShortcutVisibility (PlayerBase player) |
| To be called on moving item within character's inventory; 'player' should never be null. | |
| bool | UsesGlobalDeploy () |
| override void | WriteVarsToCTX (ParamsWriteContext ctx) |
| typedef ItemBase Inventory_Base |
Definition at line 1 of file itembase.c.
| typedef ItemBaseType Inventory_BaseType |
Definition at line 2 of file itembase.c.
| typedef map<typename,ref ActionOverrideData> TActionAnimOverrideMap |
Definition at line 3 of file itembase.c.
|
private |
Definition at line 5640 of file itembase.c.
|
private |
Definition at line 5218 of file itembase.c.
|
staticprivate |
Definition at line 5690 of file itembase.c.
Referenced by InventoryItem::ToggleDebugActionsMask().
|
protected |
Adds a light source child.
Definition at line 9640 of file itembase.c.
add item quantity[related to varQuantity... config entry], destroy_config = true > if the quantity reaches varQuantityMin or lower and the item config contains the varQuantityDestroyOnMin = true entry, the item gets destroyed. destroy_forced = true means item gets destroyed when quantity reaches varQuantityMin or lower regardless of config setting, returns true if the item gets deleted
Definition at line 8303 of file itembase.c.
Referenced by InventoryItem::CombineItems(), Edible_Base::Consume(), InventoryItem::OnAction(), ItemBase::OnIgnitedTarget(), ItemBase::OnIgnitedTargetFailed(), ItemBase::RemovePlanks(), InventoryItem::SplitIntoStackMax(), InventoryItem::SplitIntoStackMaxCargo(), InventoryItem::SplitIntoStackMaxEx(), InventoryItem::SplitIntoStackMaxHands(), InventoryItem::SplitIntoStackMaxToInventoryLocationEx(), InventoryItem::SplitItem(), and InventoryItem::SplitItemToInventoryLocation().
|
protected |
Definition at line 8611 of file itembase.c.
Referenced by InventoryItem::OnAction(), FlammableBase::OnWork(), and InventoryItem::ProcessItemWetness().
|
protected |
from other liquid container source
|
protected |
Definition at line 8139 of file itembase.c.
|
protected |
Definition at line 8721 of file itembase.c.
|
protected |
Definition at line 7092 of file itembase.c.
|
protected |
Items cannot be consumed if frozen by default. Override for exceptions.
Definition at line 9543 of file itembase.c.
|
protected |
Definition at line 7556 of file itembase.c.
|
protected |
Definition at line 7561 of file itembase.c.
|
private |
Definition at line 5890 of file itembase.c.
|
protected |
Definition at line 8168 of file itembase.c.
|
protected |
Definition at line 7600 of file itembase.c.
|
private |
Definition at line 5846 of file itembase.c.
|
private |
Definition at line 6495 of file itembase.c.
|
protected |
Definition at line 9720 of file itembase.c.
|
protected |
Definition at line 9523 of file itembase.c.
Referenced by InventoryItem::ProcessVariables().
|
protected |
Definition at line 9043 of file itembase.c.
|
protected |
Definition at line 7531 of file itembase.c.
|
protected |
Definition at line 7525 of file itembase.c.
|
protected |
Definition at line 9536 of file itembase.c.
Referenced by InventoryItem::ProcessVariables().
|
private |
Definition at line 5900 of file itembase.c.
|
private |
Definition at line 5863 of file itembase.c.
|
protected |
Definition at line 9753 of file itembase.c.
|
protected |
Definition at line 9529 of file itembase.c.
Referenced by InventoryItem::ProcessVariables().
Definition at line 9066 of file itembase.c.
Definition at line 9052 of file itembase.c.
Definition at line 9090 of file itembase.c.
Definition at line 9081 of file itembase.c.
Definition at line 9111 of file itembase.c.
Definition at line 7571 of file itembase.c.
Definition at line 6312 of file itembase.c.
|
private |
Definition at line 6336 of file itembase.c.
|
protected |
Roof check for entity, limited by time (anti-spam solution).
Definition at line 8971 of file itembase.c.
Referenced by Cooling(), Heating(), FireplaceBase::IsThisIgnitionSuccessful(), OnItemLocationChanged(), StartFire(), and StopFire().
|
private |
Definition at line 5440 of file itembase.c.
Referenced by InventoryItem::IncreaseOverheating(), and InventoryItem::OnOverheatingDecay().
|
protected |
Definition at line 8504 of file itembase.c.
Referenced by PluginBase::OnRPCClearInventory().
|
protected |
Definition at line 9390 of file itembase.c.
|
protected |
Definition at line 9396 of file itembase.c.
|
protected |
Referenced by UIScriptedMenu::Cancel(), UIScriptedMenu::CloseMapMenu(), UIScriptedMenu::GameRespawn(), UIScriptedMenu::GameRetry(), UIScriptedMenu::Leave(), OnClick(), UIScriptedMenu::OnClick(), WarningMenuBase::OnClick(), OnKeyDown(), UIScriptedMenu::OnKeyUp(), UIScriptedMenu::OnMouseButtonUp(), UIMenuPanel::OnPlayerDeath(), FireplaceBase::OnWasDetached(), UIScriptedMenu::Update(), WarningMenuBase::Update(), and UIScriptedMenu::UpdateWarningMenu().
Definition at line 7198 of file itembase.c.
Referenced by InventoryItem::CombineItemsClient(), and InventoryItem::CombineItemsEx().
Definition at line 5767 of file itembase.c.
Definition at line 7193 of file itembase.c.
Definition at line 7169 of file itembase.c.
Referenced by InventoryItem::IsCombineAll().
Definition at line 7174 of file itembase.c.
Referenced by InventoryItem::CombineItems(), and InventoryItem::ComputeQuantityUsed().
Definition at line 8863 of file itembase.c.
Referenced by InventoryItem::RemoveAgent().
|
protected |
Definition at line 8551 of file itembase.c.
Referenced by InventoryItem::OnEnergyAdded(), and InventoryItem::OnEnergyConsumed().
|
protected |
Definition at line 9634 of file itembase.c.
Definition at line 6473 of file itembase.c.
Referenced by InventoryItem::EEHitBy().
Definition at line 6453 of file itembase.c.
Referenced by InventoryItem::EEHitBy().
Definition at line 7824 of file itembase.c.
Referenced by Entity::TransferVariablesFloat().
|
private |
Definition at line 6388 of file itembase.c.
|
private |
Definition at line 6230 of file itembase.c.
drops content of container when ruined in fireplace
Definition at line 6976 of file itembase.c.
|
private |
Definition at line 6412 of file itembase.c.
|
private |
Definition at line 5952 of file itembase.c.
|
private |
item is able to explode in fire
Definition at line 6264 of file itembase.c.
|
protected |
Definition at line 8155 of file itembase.c.
|
protected |
Called when entity is being created as new by CE/ Debug.
Definition at line 9023 of file itembase.c.
Definition at line 6084 of file itembase.c.
|
private |
Definition at line 6375 of file itembase.c.
Referenced by InventoryItem::DoAmmoExplosion(), and InventoryItem::EEKilled().
|
private |
Definition at line 5196 of file itembase.c.
If we need a different (handheld)item action widget displayed, the logic goes in here.
Definition at line 9662 of file itembase.c.
|
protected |
Definition at line 8910 of file itembase.c.
Referenced by BakedBeansCan_Opened::CanProcessDecay(), PeachesCan_Opened::CanProcessDecay(), SardinesCan_Opened::CanProcessDecay(), SpaghettiCan_Opened::CanProcessDecay(), TunaCan_Opened::CanProcessDecay(), and SetActions().
|
protected |
Definition at line 9314 of file itembase.c.
|
protected |
generic effectivity as a bait for animal catching
Definition at line 9692 of file itembase.c.
|
protected |
Definition at line 9403 of file itembase.c.
|
protected |
Definition at line 8716 of file itembase.c.
Referenced by InventoryItem::WriteVarsToCTX().
gets item's color variable as components
Definition at line 8751 of file itembase.c.
|
protected |
Returns item's PROCEDURAL color as formated string, i.e. "#(argb,8,8,3)color(0.15,0.15,0.15,1.0,CO)".
Definition at line 8765 of file itembase.c.
|
private |
Re-sets DamageSystem changes.
Definition at line 5632 of file itembase.c.
|
protected |
Definition at line 7253 of file itembase.c.
|
staticprivate |
Definition at line 5675 of file itembase.c.
|
protected |
|
protected |
Definition at line 2611 of file fireplacebase.c.
|
protected |
how long it takes to deploy this item in seconds
Definition at line 9276 of file itembase.c.
Definition at line 5589 of file itembase.c.
Definition at line 8574 of file itembase.c.
Referenced by InventoryItem::ProcessItemWetness().
|
protected |
Definition at line 8525 of file itembase.c.
Referenced by ItemBase::CanAddFuel(), FlammableBase::CanBeIgnitedBy(), BroomBase::CanTransformIntoStick(), ItemBase::GetFuel(), InventoryItem::GetWeightSpecialized(), FlammableBase::OnWork(), Chemlight_ColorBase::OnWorkStop(), FlammableBase::OnWorkStop(), and Roadflare::OnWorkStop().
|
private |
Definition at line 5834 of file itembase.c.
|
private |
Definition at line 5594 of file itembase.c.
|
protected |
Definition at line 1417 of file basebuildingbase.c.
Referenced by ItemBase::InitItemSounds().
|
protected |
overridden on Edible_Base; so we don't have to parse configs all the time
Definition at line 7551 of file itembase.c.
Definition at line 9408 of file itembase.c.
|
protected |
Definition at line 8569 of file itembase.c.
|
protected |
Definition at line 8564 of file itembase.c.
Referenced by InventoryItem::InitItemVariables().
Infection chance while/after using this item, originally used for wound infection after bandaging, params 'system' and 'param' can allow usage by other systems as well.
Definition at line 5583 of file itembase.c.
|
protected |
Definition at line 8694 of file itembase.c.
Referenced by InventoryItem::InitItemVariables().
|
protected |
Definition at line 8685 of file itembase.c.
Referenced by InventoryItem::InitItemVariables().
|
protected |
Definition at line 9600 of file itembase.c.
Referenced by Entity::SetTemperatureEx().
|
protected |
Definition at line 7585 of file itembase.c.
|
protected |
Definition at line 9329 of file itembase.c.
Referenced by Barrel_ColorBase::InitItemSounds(), FireplaceBase::InitItemSounds(), InitItemSounds(), InventoryItem::InitItemSounds(), ItemBase::InitItemSounds(), and ShippingContainerKeys_ColorBase::InitItemSounds().
|
private |
|
protected |
Definition at line 9650 of file itembase.c.
|
private |
Definition at line 5811 of file itembase.c.
|
protected |
Definition at line 8794 of file itembase.c.
Referenced by ActionFillBottleBase::ActionCondition(), InventoryItem::GetItemOverheatThreshold(), InventoryItem::GetTemperatureFreezeThreshold(), InventoryItem::GetTemperatureThawThreshold(), InventoryItem::IsLiquidPresent(), InventoryItem::OnAction(), Barrel_ColorBase::OnFreezeStateChangeServer(), OnFreezeStateChangeServer(), InventoryItem::OnQuantityChanged(), and InventoryItem::WriteVarsToCTX().
|
protected |
Definition at line 8789 of file itembase.c.
Referenced by DisinfectantAlcohol::InitItemVariables(), DisinfectantSpray::InitItemVariables(), InventoryItem::InitItemVariables(), IodineTincture::InitItemVariables(), and InventoryItem::OnQuantityChanged().
|
protected |
Definition at line 8734 of file itembase.c.
|
protected |
Definition at line 8729 of file itembase.c.
|
protected |
Definition at line 151 of file largetent.c.
|
protected |
Definition at line 1422 of file basebuildingbase.c.
Referenced by ItemBase::InitItemSounds().
|
private |
Returns global muzzle ID. If not found, then it gets automatically registered.
Definition at line 5609 of file itembase.c.
Referenced by InventoryItem::ItemBase().
|
protected |
Returns the number of items in cargo, otherwise returns 0(non-cargo objects). Recursive.
Definition at line 8462 of file itembase.c.
Referenced by Barrel_ColorBase::CanDetachAttachment(), FireplaceBase::CanDetachAttachment(), ClothingBase::CanPutAsAttachment(), Barrel_ColorBase::CanPutInCargo(), Clothing::CanPutInCargo(), Clothing_Base::CanPutInCargoClothingConditions(), and Barrel_ColorBase::CanPutIntoHands().
|
private |
Definition at line 5895 of file itembase.c.
|
private |
Definition at line 5519 of file itembase.c.
Referenced by InventoryItem::UpdateAllOverheatingParticles().
|
private |
Definition at line 5419 of file itembase.c.
|
protected |
Referenced by InventoryItem::InitItemSounds().
Definition at line 8984 of file itembase.c.
|
protected |
Definition at line 8398 of file itembase.c.
Referenced by InventoryItem::AddQuantity(), InventoryItem::CanBeCombined(), InventoryItem::CanBeSplit(), ItemBase::CanIgniteItem(), Clothing::CanPutAsAttachment(), ItemBase::CanPutAsAttachment(), InventoryItem::CombineItems(), InventoryItem::ComputeQuantityUsedEx(), Mask_Base::ConsumeQuantity(), Barrel_ColorBase::DetermineAction(), Mask_Base::GetFilterQuantity(), Mask_Base::GetFilterQuantity01(), InventoryItem::GetProtectionLevel(), FlammableBase::GetRagQuantity(), InventoryItem::GetWeightSpecialized(), Mask_Base::HasValidFilter(), InventoryItem::InitItemVariables(), LargeGasCanister::IsDestructionBehaviour(), MediumGasCanister::IsDestructionBehaviour(), SmallGasCanister::IsDestructionBehaviour(), InventoryItem::IsFullQuantity(), ItemBase::RemovePlanks(), InventoryItem::ShouldSplitQuantity(), InventoryItem::SplitIntoStackMax(), InventoryItem::SplitIntoStackMaxCargo(), InventoryItem::SplitIntoStackMaxEx(), InventoryItem::SplitIntoStackMaxHands(), InventoryItem::SplitIntoStackMaxToInventoryLocationEx(), InventoryItem::SplitItem(), InventoryItem::SplitItemToInventoryLocation(), FlammableBase::UpdateLight(), BroomBase::UpdateParticle(), FlammableBase::UpdateParticle(), ItemBase::UpdateSelections(), and InventoryItem::WriteVarsToCTX().
|
protected |
Definition at line 8387 of file itembase.c.
|
protected |
Definition at line 8349 of file itembase.c.
Referenced by Bottle_Base::AffectLiquidContainerOnFill(), FilteringBottle::AffectLiquidContainerOnFill(), Bottle_Base::AffectLiquidContainerOnTransfer(), FilteringBottle::AffectLiquidContainerOnTransfer(), CalcAndSetQuantity(), InventoryItem::CanBeCombined(), Capture(), InventoryItem::ComputeQuantityUsedEx(), DisinfectantAlcohol::GetDisinfectQuantity(), DisinfectantSpray::GetDisinfectQuantity(), IodineTincture::GetDisinfectQuantity(), Mask_Base::GetFilterQuantity01(), Mask_Base::GetFilterQuantityMax(), InventoryItem::GetQuantityNormalized(), InventoryItem::HasQuantity(), InventoryItem::IsFullQuantity(), InventoryItem::OnAction(), InventoryItem::SetQuantity(), InventoryItem::SetQuantityMax(), InventoryItem::SetQuantityNormalized(), BroomBase::UpdateParticle(), and ItemBase::UpdateSelections().
|
protected |
Definition at line 8382 of file itembase.c.
Referenced by InventoryItem::GetQuantityNormalized(), InventoryItem::HasQuantity(), InventoryItem::InitItemVariables(), InventoryItem::OnWasAttached(), InventoryItem::OnWasDetached(), Release(), InventoryItem::SetQuantity(), and InventoryItem::SetQuantityToMinimum().
|
protected |
Gets quantity in normalized 0..1 form between the item's Min a Max values as defined by item's config(for Min 0 and Max 5000, value 2500 will result in 0.5).
Definition at line 8330 of file itembase.c.
Referenced by InventoryItem::GetBaitEffectivity(), InventoryItem::GetQuantityNormalizedScripted(), and InventoryItem::OnQuantityChanged().
|
protected |
Definition at line 8335 of file itembase.c.
|
private |
Definition at line 5179 of file itembase.c.
|
protected |
Definition at line 7232 of file itembase.c.
|
protected |
Definition at line 8418 of file itembase.c.
|
protected |
Definition at line 8409 of file itembase.c.
Referenced by InventoryItem::GetSingleInventoryItemWeight(), and Entity::OnAction().
Definition at line 8583 of file itembase.c.
|
protected |
Definition at line 8678 of file itembase.c.
Referenced by InventoryItem::AfterStoreLoad(), and InventoryItem::SetQuantity().
Definition at line 8363 of file itembase.c.
Referenced by InventoryItem::GetQuantityMax(), InventoryItem::SplitIntoStackMax(), InventoryItem::SplitIntoStackMaxCargo(), InventoryItem::SplitIntoStackMaxEx(), InventoryItem::SplitIntoStackMaxHands(), and InventoryItem::SplitIntoStackMaxToInventoryLocationEx().
|
protected |
Definition at line 9584 of file itembase.c.
Referenced by Entity::CanFreeze(), Entity::InitTemperature(), Entity::SetTemperatureEx(), and Entity::SetTemperatureMax().
|
protected |
Definition at line 9608 of file itembase.c.
Referenced by Entity::HandleFreezingProgression().
|
protected |
Used in heat comfort calculations only!
Definition at line 9579 of file itembase.c.
|
protected |
Definition at line 9592 of file itembase.c.
Referenced by Entity::CanFreeze(), and Entity::SetTemperatureEx().
|
protected |
Definition at line 9616 of file itembase.c.
Referenced by Entity::HandleFreezingProgression().
Obsolete, use GetWeightEx instead.
Definition at line 8485 of file itembase.c.
returns an array of possible finishers
Definition at line 9656 of file itembase.c.
Definition at line 8423 of file itembase.c.
Referenced by Entity::GetWeightEx().
|
protected |
Definition at line 8621 of file itembase.c.
Referenced by InventoryItem::AddWet(), AddWetnessToFireplace(), CanBeIgnitedBy(), ItemBase::CanIgniteItem(), Cooling(), InventoryItem::GetUnitWeight(), Heating(), StartHeating(), and InventoryItem::WriteVarsToCTX().
|
protected |
Definition at line 8636 of file itembase.c.
|
protected |
Definition at line 8656 of file itembase.c.
Referenced by Entity::GetWetWeightModifier().
|
protected |
Definition at line 8626 of file itembase.c.
Referenced by Entity::HasWetness(), InventoryItem::InitItemVariables(), InventoryItem::OnAction(), and InventoryItem::SetWet().
|
protected |
Definition at line 8631 of file itembase.c.
Referenced by Entity::HasWetness(), InventoryItem::InitItemVariables(), and InventoryItem::SetWet().
|
protected |
Definition at line 9418 of file itembase.c.
Definition at line 5680 of file itembase.c.
Referenced by InventoryItem::ToggleDebugActionsMask().
|
protected |
Definition at line 7544 of file itembase.c.
Referenced by Edible_Base::Edible_Base().
|
private |
Returns true if this item has a muzzle (weapons, suppressors).
Definition at line 5600 of file itembase.c.
Referenced by InventoryItem::ItemBase().
|
protected |
Definition at line 8393 of file itembase.c.
Referenced by Mask_Base::ConsumeQuantity(), InventoryItem::ConvertEnergyToQuantity(), CAContinuousMineWood::CreatePrimaryItems(), InventoryItem::GetBaitEffectivity(), Mask_Base::GetFilterQuantityMax(), InventoryItem::GetProtectionLevel(), InventoryItem::GetTemperatureFreezeTime(), InventoryItem::GetTemperatureThawTime(), Mask_Base::HasIntegratedFilter(), InventoryItem::InitItemVariables(), InventoryItem::IsLiquidPresent(), InventoryItem::OnWasAttached(), InventoryItem::OnWasDetached(), InventoryItem::SetCEBasedQuantity(), and InventoryItem::SetQuantity().
|
protected |
Definition at line 9413 of file itembase.c.
|
protected |
Definition at line 9501 of file itembase.c.
Referenced by InventoryItem::ProcessVariables().
Definition at line 7767 of file itembase.c.
|
private |
Definition at line 5424 of file itembase.c.
Referenced by Weapon::EEFired().
|
private |
Definition at line 5184 of file itembase.c.
|
protected |
Definition at line 9338 of file itembase.c.
|
private |
Definition at line 5087 of file itembase.c.
Referenced by Entity::EntityAI().
Definition at line 8895 of file itembase.c.
Referenced by Bottle_Base::EEOnCECreate(), Edible_Base::HumanSteakMeat(), InventoryItem::OnAction(), Bottle_Base::OnDebugSpawn(), Edible_Base::ProcessDecay(), and ManBase::SetBloodyHandsPenalty().
|
protected |
Definition at line 9296 of file itembase.c.
|
private |
Definition at line 5869 of file itembase.c.
Referenced by OnInventoryExit(), ItemBase::OnItemLocationChanged(), and FireplaceBase::OnVariablesSynchronized().
|
private |
Definition at line 5816 of file itembase.c.
Definition at line 9629 of file itembase.c.
Referenced by Cauldron::CanLoadItemIntoCargo(), FryingPan::CanLoadItemIntoCargo(), Pot::CanLoadItemIntoCargo(), Cauldron::CanPutInCargo(), FryingPan::CanPutInCargo(), Pot::CanPutInCargo(), Cauldron::CanReceiveItemIntoCargo(), FryingPan::CanReceiveItemIntoCargo(), and Pot::CanReceiveItemIntoCargo().
|
protected |
Definition at line 8759 of file itembase.c.
Definition at line 7154 of file itembase.c.
Referenced by InventoryItem::CombineItemsClient().
DEPRECATED in use, but returns correct values nontheless. Check performed elsewhere.
Definition at line 9451 of file itembase.c.
|
protected |
Definition at line 9270 of file itembase.c.
|
protected |
Definition at line 9756 of file itembase.c.
|
private |
Definition at line 5829 of file itembase.c.
|
private |
Definition at line 5853 of file itembase.c.
|
protected |
Definition at line 8403 of file itembase.c.
Referenced by CAContinuousMineWood::CreatePrimaryItems().
|
protected |
Definition at line 9240 of file itembase.c.
Referenced by Start().
|
private |
Definition at line 5885 of file itembase.c.
Referenced by ItemBase::AssembleKit(), IEntity::CanBeActionTarget(), Entity::CanPutAsAttachment(), Entity::CanPutInCargo(), Entity::CanPutIntoHands(), KitBase::DisassembleKit(), ItemBase::EOnInit(), ItemBase::Pack(), RefreshFireplaceVisuals(), and ItemBase::UpdateAllSelections().
|
protected |
Definition at line 7537 of file itembase.c.
|
protected |
Definition at line 7684 of file itembase.c.
Referenced by IEntity::CanBeIgnoredByDroppedItem().
|
private |
Definition at line 5841 of file itembase.c.
|
private |
Definition at line 5806 of file itembase.c.
Referenced by InventoryItem::GetDebugActions(), InventoryItem::GetItemOverheatThreshold(), InventoryItem::GetTemperatureFreezeThreshold(), InventoryItem::GetTemperatureThawThreshold(), InventoryItem::GetUnitWeight(), InventoryItem::InitItemVariables(), and InventoryItem::OnQuantityChanged().
|
private |
Definition at line 5801 of file itembase.c.
|
private |
Definition at line 5822 of file itembase.c.
|
protected |
Definition at line 9250 of file itembase.c.
|
protected |
Definition at line 9038 of file itembase.c.
Referenced by InventoryItem::CanBeConsumed(), FireplaceBase::CanBeIgnitedBy(), FireplaceBase::CanDisplayAttachmentCategory(), FireplaceBase::CanDisplayCargo(), InventoryItem::CanDisplayCargo(), FireplaceBase::CanExtinguishFire(), FireplaceBase::CanIgniteItem(), FireplaceBase::CanPutInCargo(), FireplaceBase::CanPutIntoHands(), FireplaceBase::CanReceiveAttachment(), FireplaceBase::CanReceiveItemIntoCargo(), FireplaceBase::CanReleaseCargo(), FireplaceBase::CanShowSmoke(), FireplaceBase::IsThisIgnitionSuccessful(), and FireplaceBase::UpdateVisualState().
|
private |
Definition at line 5457 of file itembase.c.
Referenced by InventoryItem::CheckOverheating().
|
protected |
Definition at line 9755 of file itembase.c.
|
private |
Definition at line 5858 of file itembase.c.
|
protected |
Definition at line 7159 of file itembase.c.
Referenced by InventoryItem::EEHealthLevelChanged().
|
protected |
Definition at line 9754 of file itembase.c.
|
private |
Definition at line 6490 of file itembase.c.
Referenced by InventoryItem::CanBeSplit(), InventoryItem::GetTargetQuantityMax(), InventoryItem::GetUnitWeight(), InventoryItem::GetWeightSpecialized(), InventoryItem::OnVariablesSynchronized(), and InventoryItem::ShouldSplitQuantity().
|
protected |
Definition at line 8668 of file itembase.c.
Referenced by InventoryItem::ReadVarsFromCTX().
|
protected |
Definition at line 9290 of file itembase.c.
|
protected |
Definition at line 9260 of file itembase.c.
|
private |
Definition at line 5038 of file itembase.c.
|
private |
Definition at line 5555 of file itembase.c.
Referenced by InventoryItem::UpdateOverheating().
Definition at line 7690 of file itembase.c.
|
protected |
Definition at line 8956 of file itembase.c.
Referenced by InventoryItem::OnStoreLoad().
|
private |
Definition at line 5294 of file itembase.c.
Referenced by InventoryItem::ItemBase().
|
private |
Definition at line 5363 of file itembase.c.
Referenced by InventoryItem::ItemBase().
|
private |
Locks this item in it's current attachment slot of its parent. This makes the "locked" icon visible in inventory over this item.
Definition at line 5742 of file itembase.c.
|
protected |
Send message to owner player in yellow color.
void Definition at line 7638 of file itembase.c.
|
protected |
Send message to owner player in green color.
void Definition at line 7656 of file itembase.c.
|
protected |
Send message to owner player in red color.
void Definition at line 7674 of file itembase.c.
|
protected |
Send message to owner player in grey color.
void Definition at line 7620 of file itembase.c.
Definition at line 7761 of file itembase.c.
|
protected |
Definition at line 7313 of file itembase.c.
|
protected |
Called when this item is activated by other.
Definition at line 305 of file remotedetonator.c.
References ParticleList::BOLT_CUPID_HIT, DeleteThis(), and ParticleManager().
|
protected |
DEPRECATED use OnActivatedByItem below Called when this item is activated from a trip wire that was stepped on.
|
protected |
|
protected |
Called on server side when some attachment's quantity is changed. Call super.OnAttachmentQuantityChanged(item); first when overriding this event.
Definition at line 6965 of file itembase.c.
Referenced by InventoryItem::OnAttachmentQuantityChangedEx().
Called on server side when some attachment's quantity is changed. Call super.OnAttachmentQuantityChanged(item); first when overriding this event.
Definition at line 6971 of file itembase.c.
|
protected |
Definition at line 7224 of file itembase.c.
|
private |
Definition at line 6114 of file itembase.c.
|
private |
Definition at line 5883 of file itembase.c.
|
protected |
Definition at line 8543 of file itembase.c.
|
protected |
Definition at line 8536 of file itembase.c.
|
protected |
Event called on item when it is placed in the player(Man) inventory, passes the owner as a parameter.
Definition at line 8813 of file itembase.c.
|
protected |
Event called on item when it is removed from the player(Man) inventory, passes the old owner as a parameter.
Definition at line 8825 of file itembase.c.
|
private |
Definition at line 6119 of file itembase.c.
Referenced by Entity::EEItemLocationChanged().
|
private |
Definition at line 6124 of file itembase.c.
Referenced by Entity::EEItemLocationChanged().
Definition at line 8799 of file itembase.c.
Referenced by InventoryItem::SetLiquidType().
|
private |
Definition at line 5945 of file itembase.c.
|
private |
Definition at line 5462 of file itembase.c.
|
protected |
Definition at line 8849 of file itembase.c.
|
protected |
Definition at line 8842 of file itembase.c.
|
protected |
Called on server side when this item's quantity is changed. Call super.OnQuantityChanged(); first when overriding this event.
Definition at line 6942 of file itembase.c.
Referenced by InventoryItem::SetQuantity().
|
protected |
Definition at line 7014 of file itembase.c.
|
protected |
Definition at line 7710 of file itembase.c.
|
protected |
Definition at line 8010 of file itembase.c.
|
protected |
Definition at line 8111 of file itembase.c.
|
protected |
DEPRECATED (most likely).
Definition at line 7774 of file itembase.c.
|
protected |
Definition at line 8175 of file itembase.c.
Definition at line 6288 of file itembase.c.
Referenced by Entity::EEItemLocationChanged().
Definition at line 6301 of file itembase.c.
Definition at line 8641 of file itembase.c.
Referenced by InventoryItem::OnVariablesSynchronized(), and InventoryItem::SetWet().
|
protected |
Definition at line 8651 of file itembase.c.
Referenced by InventoryItem::OnWetChanged().
|
protected |
Implementations only.
Definition at line 23 of file chamberfirstinnermagazinesemiautomatic_base.c.
Referenced by FireplaceBase::OnWasAttached().
|
private |
Definition at line 5271 of file itembase.c.
Referenced by FarmingHoe::SetActionAnimOverrides(), and ItemBase::SetActionAnimOverrides().
Definition at line 9667 of file itembase.c.
Referenced by ClaymoreMine::OnDebugSpawn(), and ClaymoreMine::OnPlacementComplete().
|
protected |
Definition at line 9426 of file itembase.c.
Referenced by InventoryItem::AfterStoreLoad().
|
protected |
Plays sound on item attach. Be advised, the config structure may slightly change in 1.11 update to allow for more complex use.
Definition at line 9762 of file itembase.c.
|
staticprotected |
Definition at line 9159 of file itembase.c.
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 9798 of file itembase.c.
|
staticprotected |
Definition at line 9139 of file itembase.c.
|
staticprotected |
Definition at line 9179 of file itembase.c.
|
protected |
|
protected |
Attachment Sound Type getting from config file.
Definition at line 9302 of file itembase.c.
Referenced by InventoryItem::ItemBase().
Definition at line 9518 of file itembase.c.
Referenced by InventoryItem::ProcessVariables().
|
protected |
Definition at line 9481 of file itembase.c.
Referenced by InventoryItem::ProcessItemWetnessAndTemperature(), and InventoryItem::ProcessVariables().
|
protected |
Definition at line 9456 of file itembase.c.
Referenced by InventoryItem::ProcessItemWetnessAndTemperature(), and InventoryItem::ProcessVariables().
|
protected |
Definition at line 9729 of file itembase.c.
|
protected |
Definition at line 9548 of file itembase.c.
Referenced by Entity::OnCEUpdate().
|
protected |
Definition at line 7919 of file itembase.c.
Referenced by Entity::LoadVariables(), and InventoryItem::OnSyncVariables().
|
protected |
cooking-related effect methods
Definition at line 158 of file bottle_base.c.
References m_CookingIsBurned, m_CookingIsDone, m_CookingIsEmpty, m_CookingMethod, and Synchronize().
|
private |
|
private |
Definition at line 5505 of file itembase.c.
|
private |
Definition at line 5256 of file itembase.c.
|
protected |
Definition at line 8876 of file itembase.c.
Referenced by InventoryItem::OnAction().
|
protected |
Definition at line 8885 of file itembase.c.
Referenced by InventoryItem::SetQuantity().
|
protected |
Definition at line 8890 of file itembase.c.
Referenced by Edible_Base::HandleFoodStageChangeAgents().
|
protected |
Definition at line 151 of file bottle_base.c.
References m_CookingMethod, and Synchronize().
|
staticprivate |
Definition at line 5695 of file itembase.c.
Referenced by InventoryItem::ToggleDebugActionsMask().
|
protected |
Definition at line 9645 of file itembase.c.
|
protected |
Definition at line 7578 of file itembase.c.
|
protected |
Definition at line 8963 of file itembase.c.
Referenced by InventoryItem::OnStoreSave().
Definition at line 7788 of file itembase.c.
Referenced by Entity::GetVariablesFloat().
|
private |
|
private |
Definition at line 5207 of file itembase.c.
|
protected |
Definition at line 7607 of file itembase.c.
|
private |
Definition at line 5713 of file itembase.c.
Referenced by InventoryItem::EEOnCECreate().
Definition at line 8703 of file itembase.c.
Referenced by InventoryItem::DeSerializeNumericalVars(), InventoryItem::EEHealthLevelChanged(), ItemBase::OnCombine(), SewingKit::OnCombine(), and InventoryItem::ReadVarsFromCTX().
Definition at line 8742 of file itembase.c.
|
staticprivate |
Definition at line 5685 of file itembase.c.
|
protected |
Definition at line 7078 of file itembase.c.
Referenced by InventoryItem::OnRightClick().
|
private |
Definition at line 5874 of file itembase.c.
|
protected |
|
private |
Definition at line 5905 of file itembase.c.
|
protected |
Definition at line 8778 of file itembase.c.
Referenced by InventoryItem::DeSerializeNumericalVars(), InventoryItem::OnAction(), InventoryItem::OnQuantityChanged(), and InventoryItem::ReadVarsFromCTX().
|
protected |
Set item quantity[related to varQuantity... config entry], destroy_config = true > if the quantity reaches varQuantityMin or lower and the item config contains the varQuantityDestroyOnMin = true entry, the item gets destroyed. destroy_forced = true means item gets destroyed when quantity reaches varQuantityMin or lower regardless of config setting, returns true if the item gets deleted.
Definition at line 8230 of file itembase.c.
Referenced by CalcAndSetQuantity(), Capture(), MaskBase::EEHealthLevelChanged(), and Release().
|
protected |
Definition at line 8308 of file itembase.c.
Referenced by InventoryItem::OnAction(), Barrel_ColorBase::OnDebugSpawn(), and OnDebugSpawn().
|
protected |
Sets quantity in normalized 0..1 form between the item's Min a Max values as defined by item's config(for Min 0 and Max 5000, setting 0.5 will result in value 2500).
Definition at line 8321 of file itembase.c.
Referenced by FlammableBase::CalculateQuantity(), InventoryItem::ConvertEnergyToQuantity(), and InventoryItem::SetCEBasedQuantity().
|
protected |
Definition at line 8314 of file itembase.c.
|
protected |
Definition at line 7164 of file itembase.c.
Referenced by InventoryItem::EEHealthLevelChanged().
|
protected |
Definition at line 8663 of file itembase.c.
|
protected |
Definition at line 8673 of file itembase.c.
Referenced by InventoryItem::AfterStoreLoad(), InventoryItem::DeSerializeNumericalVars(), and InventoryItem::ReadVarsFromCTX().
|
protected |
Definition at line 9284 of file itembase.c.
Referenced by Barrel_ColorBase::Close(), FireplaceBase::Close(), Barrel_ColorBase::CloseLoad(), FireplaceBase::CloseLoad(), ImprovisedExplosive::EEHealthLevelChanged(), Plastic_Explosive::EEHealthLevelChanged(), EEItemAttached(), EEItemDetached(), LockServer(), Grenade_Base::OnActivateFinished(), Grenade_Base::OnActivateImmediate(), ImprovisedExplosive::OnDisarmed(), Plastic_Explosive::OnDisarmed(), ItemOptics::OnInventoryExit(), InventoryItem::OnPlacementStarted(), ItemOptics::OnWasAttached(), ItemOptics::OnWasDetached(), Barrel_ColorBase::Open(), FireplaceBase::Open(), Barrel_ColorBase::OpenLoad(), FireplaceBase::OpenLoad(), PlantBase(), ItemBase::SetMountedState(), and UnlockServer().
Definition at line 4931 of file itembase.c.
Referenced by PluginBase::SetupSpawnedEntity(), PluginBase::SpawnEntityAsAttachment(), PluginBase::SpawnEntityInInventory(), and PluginBase::SpawnEntityInPlayerInventory().
Definition at line 8592 of file itembase.c.
Referenced by InventoryItem::AddWet(), AddWetnessToFireplace(), InventoryItem::DeSerializeNumericalVars(), InventoryItem::ReadVarsFromCTX(), and InventoryItem::SetWetMax().
|
protected |
Definition at line 8616 of file itembase.c.
|
protected |
Sets zone damages to match randomized global health set by CE (CE spawn only).
Definition at line 9438 of file itembase.c.
Referenced by InventoryItem::EEOnCECreate().
Definition at line 6503 of file itembase.c.
Referenced by InventoryItem::SplitIntoStackMax(), InventoryItem::SplitIntoStackMaxCargo(), InventoryItem::SplitIntoStackMaxEx(), InventoryItem::SplitIntoStackMaxHands(), InventoryItem::SplitIntoStackMaxToInventoryLocationEx(), InventoryItem::SplitItem(), and InventoryItem::SplitItemToInventoryLocation().
|
protected |
|
protected |
| class ItemBase extends InventoryItem SpawnItemOnLocation | ( | string | object_name, |
| notnull InventoryLocation | loc, | ||
| bool | full_quantity ) |
Definition at line 20 of file itembase.c.
References InventoryItem::ItemBase().
Referenced by ManBase::CreateInInventory().
|
protected |
Definition at line 6546 of file itembase.c.
Referenced by InventoryItem::SplitIntoStackMaxClient().
Definition at line 6796 of file itembase.c.
Referenced by InventoryItem::SplitIntoStackMaxCargoClient().
|
protected |
Definition at line 6732 of file itembase.c.
Definition at line 6523 of file itembase.c.
Definition at line 6633 of file itembase.c.
|
protected |
Definition at line 6847 of file itembase.c.
Referenced by InventoryItem::SplitIntoStackMaxHandsClient().
|
protected |
Definition at line 6823 of file itembase.c.
|
protected |
Definition at line 6757 of file itembase.c.
Referenced by InventoryItem::SplitIntoStackMaxToInventoryLocationClient().
|
protected |
Definition at line 6711 of file itembase.c.
|
protected |
Definition at line 6762 of file itembase.c.
Referenced by InventoryItem::SplitIntoStackMaxToInventoryLocation().
|
protected |
Definition at line 6908 of file itembase.c.
Referenced by InventoryItem::OnRightClick().
|
protected |
Definition at line 6875 of file itembase.c.
|
protected |
Definition at line 9372 of file itembase.c.
Definition at line 9358 of file itembase.c.
Referenced by ShippingContainerKeys_ColorBase::DestroyKeyServer(), InventoryItem::OnWasAttached(), InventoryItem::OnWasDetached(), InventoryItem::SetQuantity(), InventoryItem::StartItemSoundServer(), and ItemBase::ToggleAnimation().
|
private |
Definition at line 5486 of file itembase.c.
Referenced by InventoryItem::CheckOverheating().
|
protected |
|
protected |
Definition at line 9420 of file itembase.c.
|
protected |
Definition at line 9378 of file itembase.c.
|
private |
Definition at line 5499 of file itembase.c.
Referenced by InventoryItem::CheckOverheating().
|
staticprotected |
Definition at line 9219 of file itembase.c.
|
staticprivate |
Definition at line 5700 of file itembase.c.
|
protected |
transfer agents from another item
Definition at line 8904 of file itembase.c.
|
private |
appears to be deprecated, legacy code
|
private |
Unlocks this item from its attachment slot of its parent.
Definition at line 5755 of file itembase.c.
Referenced by DestroyPlant(), CarWheel_Ruined::EEHealthLevelChanged(), InventoryItemSuper::EEHealthLevelChanged(), and RemovePlantEx().
|
private |
Definition at line 5527 of file itembase.c.
Referenced by InventoryItem::UpdateOverheating().
|
private |
Definition at line 5492 of file itembase.c.
Referenced by InventoryItem::CheckOverheating().
|
staticprotected |
Definition at line 9199 of file itembase.c.
|
protected |
To be called on moving item within character's inventory; 'player' should never be null.
Definition at line 8806 of file itembase.c.
|
protected |
Definition at line 9752 of file itembase.c.
|
protected |
Definition at line 7883 of file itembase.c.
Referenced by Entity::SaveVariables().
| bool can_this_be_combined |
Definition at line 4964 of file itembase.c.
Referenced by ChelatingTablets::InitItemVariables(), DisinfectantAlcohol::InitItemVariables(), DisinfectantSpray::InitItemVariables(), Edible_Base::InitItemVariables(), Inventory_Base::InitItemVariables(), IodineTincture::InitItemVariables(), ItemBase::InitItemVariables(), and VitaminBottle::InitItemVariables().
|
protected |
Definition at line 5027 of file itembase.c.
| bool m_ActionsInitialize |
Definition at line 4916 of file itembase.c.
|
protected |
Definition at line 5015 of file itembase.c.
|
private |
Definition at line 4989 of file itembase.c.
|
protected |
Definition at line 4969 of file itembase.c.
| bool m_CanBeMovedOverride |
Definition at line 4962 of file itembase.c.
| bool m_CanPlayImpactSound = true |
Definition at line 4946 of file itembase.c.
| bool m_CanShowQuantity |
Definition at line 4967 of file itembase.c.
| bool m_CanThisBeSplit |
Definition at line 4965 of file itembase.c.
|
private |
Definition at line 5005 of file itembase.c.
| int m_Cleanness |
Definition at line 4940 of file itembase.c.
Referenced by Bandana_ColorBase::GetInfectionChance(), ItemBase::GetInfectionChance(), SewingKit::GetInfectionChance(), Shemag_ColorBase::GetInfectionChance(), ItemBase::OnCombine(), and SewingKit::OnCombine().
| int m_CleannessInit |
Definition at line 4941 of file itembase.c.
| int m_CleannessMax |
Definition at line 4943 of file itembase.c.
| int m_CleannessMin |
Definition at line 4942 of file itembase.c.
|
protected |
Definition at line 4977 of file itembase.c.
|
protected |
Definition at line 4976 of file itembase.c.
|
protected |
Definition at line 4975 of file itembase.c.
|
protected |
Definition at line 4974 of file itembase.c.
Definition at line 5021 of file itembase.c.
|
protected |
Definition at line 4984 of file itembase.c.
| int m_Count |
Definition at line 4930 of file itembase.c.
|
static |
Definition at line 4918 of file itembase.c.
|
protected |
Definition at line 9738 of file itembase.c.
| bool m_FixDamageSystemInit = false |
Definition at line 4963 of file itembase.c.
Referenced by ItemBase::AfterStoreLoad(), ItemBase::EEHealthLevelChanged(), and ItemBase::EEOnAfterLoad().
| bool m_HasQuantityBar |
Definition at line 4968 of file itembase.c.
|
protected |
Definition at line 5011 of file itembase.c.
| float m_HeatIsolation |
Definition at line 4950 of file itembase.c.
|
protected |
Definition at line 5012 of file itembase.c.
| int m_ImpactSoundSurfaceHash |
Definition at line 4948 of file itembase.c.
| float m_ImpactSpeed |
Definition at line 4947 of file itembase.c.
| TInputActionMap m_InputActionMap |
Definition at line 4913 of file itembase.c.
|
protected |
Definition at line 4985 of file itembase.c.
| bool m_IsBeingPlaced |
Definition at line 4957 of file itembase.c.
Referenced by TrapSpawnBase::CanBePlaced().
|
protected |
Definition at line 9741 of file itembase.c.
| bool m_IsHologram |
Definition at line 4958 of file itembase.c.
|
private |
Definition at line 5003 of file itembase.c.
|
protected |
Definition at line 9740 of file itembase.c.
|
protected |
Definition at line 9742 of file itembase.c.
| bool m_IsStoreLoad = false |
Definition at line 4966 of file itembase.c.
Referenced by ItemBase::OnStoreLoad(), ItemOptics::OnStoreLoad(), and ItemBase::SetActive().
| bool m_IsTakeable |
Definition at line 4959 of file itembase.c.
|
static |
Definition at line 4914 of file itembase.c.
| float m_ItemAttachOffset |
Definition at line 4952 of file itembase.c.
| int m_ItemBehaviour |
Definition at line 4955 of file itembase.c.
| bool m_ItemBeingDroppedPhys |
Definition at line 4961 of file itembase.c.
| float m_ItemModelLength |
Definition at line 4951 of file itembase.c.
|
private |
Definition at line 5032 of file itembase.c.
|
static |
Definition at line 4912 of file itembase.c.
|
staticprivate |
Definition at line 5000 of file itembase.c.
|
protected |
Definition at line 4981 of file itembase.c.
| int m_LiquidContainerMask |
Definition at line 4953 of file itembase.c.
|
protected |
Definition at line 5023 of file itembase.c.
|
protected |
Definition at line 5024 of file itembase.c.
|
protected |
Definition at line 5022 of file itembase.c.
|
private |
Definition at line 5007 of file itembase.c.
|
staticprivate |
Definition at line 4997 of file itembase.c.
Definition at line 4996 of file itembase.c.
Definition at line 4998 of file itembase.c.
|
private |
Definition at line 5008 of file itembase.c.
|
private |
Definition at line 5009 of file itembase.c.
|
private |
Definition at line 5004 of file itembase.c.
|
protected |
Definition at line 5018 of file itembase.c.
| int m_QuickBarBonus |
Definition at line 4956 of file itembase.c.
| bool m_RecipesInitialized |
Definition at line 4919 of file itembase.c.
|
private |
Definition at line 5006 of file itembase.c.
|
protected |
Definition at line 4983 of file itembase.c.
distinguish if item has been created as new or it came from splitting (server only flag)
Definition at line 4972 of file itembase.c.
|
protected |
Definition at line 9739 of file itembase.c.
|
protected |
Definition at line 9736 of file itembase.c.
|
protected |
Definition at line 9737 of file itembase.c.
|
protected |
Definition at line 5028 of file itembase.c.
|
protected |
Definition at line 5030 of file itembase.c.
|
protected |
Definition at line 5029 of file itembase.c.
| float m_StoreLoadedQuantity = float.LOWEST |
Definition at line 4932 of file itembase.c.
|
private |
Definition at line 5035 of file itembase.c.
| bool m_ThrowItemOnDrop |
Definition at line 4960 of file itembase.c.
| int m_VarLiquidType |
Definition at line 4954 of file itembase.c.
Referenced by DisinfectantAlcohol::InitItemVariables(), DisinfectantSpray::InitItemVariables(), and IodineTincture::InitItemVariables().
| float m_VarQuantity |
Definition at line 4925 of file itembase.c.
| int m_VarQuantityInit |
Definition at line 4927 of file itembase.c.
| int m_VarQuantityMax |
Definition at line 4929 of file itembase.c.
| int m_VarQuantityMin |
Definition at line 4928 of file itembase.c.
| float m_VarQuantityPrev |
Definition at line 4926 of file itembase.c.
| float m_VarStackMax |
Definition at line 4931 of file itembase.c.
| float m_VarWet |
Definition at line 4934 of file itembase.c.
| float m_VarWetInit |
Definition at line 4936 of file itembase.c.
| float m_VarWetMax |
Definition at line 4938 of file itembase.c.
| float m_VarWetMin |
Definition at line 4937 of file itembase.c.
| float m_VarWetPrev |
Definition at line 4935 of file itembase.c.
| bool m_WantPlayImpactSound |
Definition at line 4945 of file itembase.c.
Definition at line 4999 of file itembase.c.