・item.xml
新規に追加してください。連番ID変更可能、資源最大はid="2048"まで
<!-- A15 official testitem -->
<item id="669" name="redPill"> <!-- dev item to test buff variables -->
<property name="Extends" value="painkillers" />
<property name="IsDeveloper" value="true" />
<property name="CustomIcon" value="painkillers" />
<property name="CustomIconTint" value="ff4040" />
<property name="EconomicValue" value="5" />
<property name="EconomicBundleSize" value="1" />
<property name="SellableToTrader" value="false" />
<property class="Action1">
<property name="Gain_health" value="100" />
<property name="Gain_food" value="-10" />
<property name="Gain_water" value="-10" />
<property name="Gain_wellness" value="10" />
<property name="Buff" value="redPillBuff" />
</property>
</item>
<item id="1479" name="halazone_tablet">
<property name="Meshfile" value="Items/Health/painkillersPrefab" />
<property name="CustomIcon" value="painkillers" />
<property name="CustomIconTint" value="454545" />
<property name="Material" value="organic" />
<property name="EconomicValue" value="220" />
<property name="HoldType" value="16" />
<property name="Stacknumber" value="200" /> <!-- STK loot -->
<property class="Action1">
<property name="Class" value="Eat" />
<property name="Delay" value="1.0" />
<property name="Use_time" value="..." />
<property name="Gain_health" value="-70" />
<property name="Gain_food" value="-70" />
<property name="Gain_water" value="-70" />
<property name="Gain_wellness" value="-10" />
<property name="Sound_start" value="UseActions/player_painkillers" />
<property name="Buff" value="redPillBuff" />
<property name="Debuff" value="infection,dysentery,dysentery2" />
</property>
<property name="ActionSkillGroup" value="Medicine"/>
<property name="CraftingSkillGroup" value="Science"/>
<property name="Group" value="Medicine" />
<property name="ActionExp" value="3000"/>
</item>
<item id="1480" name="eggPill"> <!-- dev item to test buff variables -->
<property name="Extends" value="painkillers" />
<property name="IsDeveloper" value="true" />
<property name="CustomIcon" value="painkillers" />
<property name="CustomIconTint" value="ffff77" />
<property name="EconomicValue" value="5" />
<property name="EconomicBundleSize" value="1" />
<property name="SellableToTrader" value="false" />
<property class="Action1">
<property name="Gain_health" value="70" />
<property name="Gain_food" value="50" />
<property name="Gain_water" value="-10" />
<property name="Gain_wellness" value="30" />
<property name="Buff" value="redPillBuff" />
<property name="Debuff" value="infection,dysentery,dysentery2" />
</property>
</item>
---]
通報 ...