Jump to content

Modify Wellness


ianlee74

Recommended Posts

Yeah the best way to do it is to either temporarily change the wellness gain of an item like vitamines for eg or to add an admin item for this purpose.

 

<item id="665" name="vitamins">
<property name="Meshfile" value="Items/Health/painkillersPrefab"/>
<property name="Material" value="organic"/>
<property name="EconomicValue" value="80"/>
<property name="HoldType" value="16"/>
<property name="Stacknumber" value="50"/> <!-- 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="0"/>
	<property name="Gain_food" value="0"/>
	<property name="Gain_water" value="0"/>
	[color="#FFFF00"]<property name="Gain_wellness" value="10"/>[/color]
	<property name="Sound_start" value="player_painkillers"/>
	<property name="Debuff" value="dysentery"/>
</property>
<property name="ActionSkillGroup" value="Medicine"/>
<property name="CraftingSkillGroup" value="craftSkillScience"/>
<property name="Group" value="Science"/>
<property name="ActionExp" value="10"/>
</item>

 

or

 

<item id="1500" name="adminVitamins">
       <property name="CreativeMode" value="Dev"/>
<property name="Meshfile" value="Items/Health/painkillersPrefab"/>
<property name="Material" value="organic"/>
<property name="CustomIcon" value="vitamins"/>
<property name="EconomicValue" value="80"/>
<property name="HoldType" value="16"/>
<property name="Stacknumber" value="50"/> <!-- 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="0"/>
	<property name="Gain_food" value="0"/>
	<property name="Gain_water" value="0"/>
	[color="#FFFF00"]<property name="Gain_wellness" value="10"/>[/color]
	<property name="Sound_start" value="player_painkillers"/>
	<property name="Debuff" value="dysentery"/>
</property>
<property name="ActionSkillGroup" value="Medicine"/>
<property name="CraftingSkillGroup" value="craftSkillScience"/>
<property name="Group" value="Science"/>
<property name="ActionExp" value="10"/>
</item>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...