Files
CustomJobs_ContrabandCollec…/Config/entityclasses.xml
2025-06-04 16:16:36 +09:30

40 lines
1.7 KiB
XML

<configs>
<!-- ContrabandCollection -->
<insertAfter xpath="/entity_classes/entity_class[@name='sc_General']">
<entity_class name="ContrabandCollectionCrate" extends="sc_General">
<property name="Class" value="EntitySupplyCrate"/>
<property name="EntityFlags" value="ContrabandCollectionCrateFlag"/>
<property name="Parent" value="SupplyCrates"/>
<property name="Prefab" value="SupplyCrate"/>
<property name="Mesh" value="SupplyCrate/SupplyCrateEntityPrefab"/>
<property name="ModelType" value="SupplyCrate"/>
<property name="Faction" value="none"/>
<property name="MaxHealth" value="200"/>
<property name="Weight" value="100"/>
<property name="HasRagdoll" value="false"/>
<property name="SurfaceCategory" value="wood"/>
<property name="ParticleOnDeath" value="supply_crate_gib_Prefab"/>
<property name="LootListAlive" value="ContrabandCollectionLootContainer"/>
<property name="IsEnemyEntity" value="false"/>
<property name="SoundParachuteOpen" value="SupplyDrops/Parachute_Opens"/>
<property name="SoundLanding" value="SupplyDrops/Supply_Crate_Land"/>
<property name="TimeStayAfterDeath" value="0"/>
<property name="Tags" value="ContrabandCollection_ContrabandCollectionCrate"/>
<effect_group name="Base Effects">
<passive_effect name="HealthMax" operation="base_set" value="200"/>
</effect_group>
<property name="NavObject" value="supply_drop" />
<effect_group name="Base Effects">
<triggered_effect trigger="onSelfFirstSpawn" action="AddBuff" target="self" buff="ContrabandCollectionExplodeCrateAfterTimeBuff"/>
<!--<triggered_effect trigger="onSelfFirstSpawn" action="AddBuff" target="self" buff="ContrabandCollectionExplodeCrateOnQuestFailBuff"/>-->
</effect_group>
</entity_class>
</insertAfter>
</configs>