Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- itemxml
- <item id="1918" name="antimutant">
- <property name="Meshfile" value="Items/Health/painkillersPrefab" />
- <property name="CustomIcon" value="painkillers" />
- <property name="CustomIconTint" value="ff4040" />
- <property name="Material" value="organic" />
- <property name="EconomicValue" value="70" />
- <property name="HoldType" value="16" />
- <property name="Stacknumber" value="50" /> <!-- STK loot -->
- <property class="Action0">
- <property name="Class" value="UseOther" />
- <property name="Delay" value="1.0" />
- <property name="Use_time" value="..." />
- <property name="Gain_health" value="5" />
- <property name="Gain_food" value="0" />
- <property name="Gain_water" value="0" />
- <property name="Gain_wellness" value="0" />
- <property name="Sound_start" value="UseActions/player_painkillers" />
- <property name="Debuff" value="DrinkBeer2,MetabolizeBeer2,speedBoost,Drunk2,InstantSickDrunk2,SickDrunk2,Hangover2,AlcoholPoisoning2,bleeding" />
- </property>
- <property class="Action1">
- <property name="Class" value="Eat" />
- <property name="Delay" value="1.0" />
- <property name="Use_time" value="..." />
- <property name="Gain_health" value="10" />
- <property name="Gain_food" value="0" />
- <property name="Gain_water" value="0" />
- <property name="Gain_wellness" value="0" />
- <property name="Sound_start" value="UseActions/player_painkillers" />
- <property name="Debuff" value="DrinkBeer2,MetabolizeBeer2,speedBoost,Drunk2,InstantSickDrunk2,SickDrunk2,Hangover2,AlcoholPoisoning2,bleeding" />
- </property>
- <property name="ActionSkillGroup" value="Medicine"/>
- <property name="CraftingSkillGroup" value="Science"/>
- <property name="Group" value="Medicine" />
- <property name="ActionExp" value="10"/>
- </item>
- <item id="1920" name="lastwish">
- <property name="CustomIcon" value="bottledWater" />
- <property name="CustomIconTint" value="ff4040" />
- <property name="Meshfile" value="Items/Food/bottled_waterPrefab" />
- <property name="Material" value="glass" />
- <property name="HoldType" value="3" />
- <property name="Stacknumber" value="15" /> <!-- STK drink -->
- <property name="Weight" value="10" />
- <property name="EconomicValue" value="30" />
- <property name="CraftingIngredientTime" value="15" />
- <property class="Action1">
- <property name="Class" value="Eat" />
- <property name="Delay" value="1" />
- <property name="Buff" value="lastwished" />
- <property name="Use_time" value="..." />
- <property name="Gain_health" value="0" />
- <property name="Gain_stamina" value="20" />
- <property name="Gain_food" value="0" />
- <property name="Gain_water" value="20" />
- <property name="Sound_start" value="UseActions/player_drinking" />
- <property name="Debuff" value="DrinkBeer2,MetabolizeBeer2,speedBoost,Drunk2,InstantSickDrunk2,SickDrunk2,Hangover2,AlcoholPoisoning2,bleeding" />
- <property name="Create_item" value="emptyJar" />
- </property>
- <property name="Group" value="Food/Cooking" />
- </item>
- ------------------------------------------
- buffxml
- <buff id="lastwished" duration="90" stack="extend" type="healthup" icon="ui_game_symbol_medical" name_key="firstAidLarge" description_key="firstAidLargeDesc" tooltip_key="firstAidLargeTooltip" causes="firstAidKit">
- <modify id="1" stat="stamina" amount="1" rate="1"/>
- </buff>
- ----------------------------------------------------
- replace logans buff with the one below
- <buff id="DrinkBeer2" mutex="lastwished" duration="1" actions="increment(beers2, 1, 0, 0, 1)">
- <modify id="0" stat="stamina" amount="-2" rate="1"/>
- </buff>
- <buff id="MetabolizeBeer2" mutex="lastwished" buffif="beers2 greater 0" debuffif="beers2 less 1" actions="increment(beers2, -1, 90, 0, 0);min(beers2, 0)"/>
- <buff id="speedBoost" mutex="Hangover2,Drunk2,SickDrunk2,AlcoholPoisoning2,lastwished" buffif="beers2 greater 0" debuffif="beers2 less 1" duration="5" name_key="speedBoost" stack="reset" description_key="speedBoostDesc" tooltip_key="speedBoostTooltip" icon="ui_game_symbol_run">
- <modify id="0" stat="speedmodifier" mulValue="0.8"/>
- <modify id="1" stat="health" amount="-2" rate="1"/>
- </buff>
- <buff id="Drunk2" mutex="Hangover2,SickDrunk2,AlcoholPoisoning2,lastwished" buffif="beers2 greater 2" debuffif="beers2 less 2" actions="debuff(speedBoost)" name_key="drunk" type="staminadown" description_key="drunkDesc2" tooltip_key="drunkTooltip2" icon="ui_game_symbol_drunk">
- <modify id="0" stat="speedmodifier" mulValue="0.7"/>
- <modify id="1" stat="health" amount="-3" rate="1"/>
- </buff>
- <buff id="InstantSickDrunk2" duration="1" buffif="beers2 greater 0" mutex="SickDrunk2,AlcoholPoisoning2,lastwished" requires="Hangover2" actions="setvar(beers2, 9)" name_key="InstantSickDrunk2" type="staminadown"/>
- <buff id="SickDrunk2" mutex="AlcoholPoisoning2,lastwished" buffif="beers2 greater 4" debuffif="beers2 less 1" actions="increment(@wellness, -0.5, 40, 0, 0);debuff(Drunk2);debuff(Hangover2)" ondebuff="Hangover2" name_key="sickDrunk2" type="staminadown" description_key="sickDrunkDesc2" tooltip_key="sickDrunkTooltip2" icon="ui_game_symbol_dysentery">
- <modify id="0" stat="speedmodifier" mulValue="0.7"/>
- <modify id="0" stat="stamina" amount="-2" rate="1"/>
- <modify id="1" stat="health" amount="-4" rate="1"/>
- </buff>
- <buff id="Hangover2" mutex="AlcoholPoisoning2,lastwished" duration="720" name_key="hangover2" type="staminadown" description_key="hangoverDesc2" tooltip_key="hangoverTooltip2" icon="ui_game_symbol_food_poisoning">
- <modify id="0" stat="speedmodifier" mulValue="0.7"/>
- <modify id="0" stat="stamina" amount="-15" rate="1"/>
- <modify id="1" stat="health" amount="-5" rate="1"/>
- </buff>
- <buff id="AlcoholPoisoning2" mutex="lastwished" buffif="beers2 greater 6" debuffif="beers2 less 5" ondebuff="SickDrunk2" name_key="alcoholPoisoning2" type="bleeding" description_key="alcoholPoisoningDesc2" tooltip_key="alcoholPoisoningTooltip2" actions="increment(@wellness, -1, 40, 0, 0);debuff(SickDrunk2);debuff(Hangover2)" icon="ui_game_symbol_critical" stack="extend">
- <modify id="0" stat="speedmodifier" mulValue="0.7"/>
- <modify id="0" stat="stamina" amount="-20" rate="1"/>
- <modify id="1" stat="health" amount="-6" rate="1"/>
- </buff>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement