MinEvents and Requirements - NoIDontCare/idc-core-docs GitHub Wiki

MinEvents

IDC Core features several event actions that can be called via buffs.

SetWalkType

Allows for an entities walk type to be changed by buffs.

<triggered_effect trigger="onSelfBuffUpdate" action="SetWalkType,IDCCore" value="<walk type>"/>

AddChunkHeat

Allows for buffs to add chunk heat.

<triggered_effect trigger="onSelfBuffUpdate" action="AddChunkHeat,IDCCore" event_type="<type>" value="<value>"/>

Value can be any number between 0 and 100. Event type can be any of the following: Campfire, Forge, KillAnimal, Sound, Smell, Carcass, Torch. These values are not case sensitive. If event_type is not specified, the default type is Campfire.

Requirements

Vehicle Mod

Checks for a specific vehicle mod on the currently driven vehicle.

<requirement name="RequirementVehicleHasMod, IDCCore" required_mod="<item name in itemmodifiers.xml>"/>

Attached To With Tag

Checks if the entity the target is attached to has a specific tag.

<requirement name="RequirementIsAttachedToEntityTagged, IDCCore" tags="<some tag>"/>
⚠️ **GitHub.com Fallback** ⚠️