Rust Wiki

Item Mods

Item mods provide additional functionality to an item.

Keep in mind that there is only a single ItemMod per ItemDefinition

This means that any changes you make will apply to all active items, not just the Item the ItemMod is attached to.

ItemModUnwrap

Example: Presents, Loot Bags

Field Type Purpose
revealList LootSpawn Provides possible items when item is unwrapped
minTries int Will give a random amount of items from minTries - maxTries
maxTries int

Will give out the loot items when unwrap is sent as an item action.


Sub Types

ItemModOpenWrapped and ItemModCrackOpen are used by the clients to change the sound when unwrapping the item.


ItemModUpgrade

Used to combine multiple of an item together into a new one.

Examples: Presents, Loot Bags

ItemModWrap

ItemModXMasTreeDecoration

ItemModRFListener

ItemModActionChange

ItemModActionContainerChange

ItemModAlterCondition

ItemModAnimalEquipment

ItemModBlueprintCraft

ItemModBurnable

ItemModConditionContainerFlag

ItemModConditionHasContents

ItemModConditionHasFlag

ItemModConditionInWater

ItemModConditionIsSleeping

ItemModConsume

ItemModConsumeContents

ItemModContainer

ItemModContainerRestriction

ItemModCookable

ItemModCycle

ItemModEntity

ItemModGiveOxygen

ItemModKeycard

ItemModMenuOption

ItemModRecycleInto

ItemModRepair

ItemModReveal

ItemModSound

ItemModStudyBlueprint

ItemModSwap

ItemModSwitchFlag

ItemModUseContent

ItemModWearable

ItemModXPWhenUsed