Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- itemsxml
- <item id="1878" name="cocain">
- <property name="CustomIcon" value="potassiumNitratePowder" />
- <property name="Meshfile" value="Items/Health/painkillersPrefab" />
- <property name="Material" value="organic" />
- <property name="HoldType" value="16" />
- <property name="Stacknumber" value="50" />
- <property class="Action0">
- <property name="Class" value="UseOther" />
- <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="-1" />
- <property name="Sound_start" value="UseActions/player_painkillers" />
- <property name="Buff" value="DrinkBeer2" />
- </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="0" />
- <property name="Gain_food" value="0" />
- <property name="Gain_wellness" value="80" />
- <property name="Gain_water" value="-1" />
- <property name="Sound_start" value="UseActions/player_painkillers" />
- <property name="Buff" value="DrinkBeer2" />
- </property>
- <property name="ActionSkillGroup" value="Medicine"/>
- <property name="CraftingSkillGroup" value="Science"/>
- <property name="Group" value="Medicine" />
- <property name="ActionExp" value="200"/>
- </item>
- ----------------------------------------------------------------------------------------
- buffsxml
- <buff id="DrinkBeer2" duration="1" actions="increment(beers2, 1, 0, 0, 1)">
- <modify id="0" stat="stamina" amount="2" rate="1"/>
- </buff>
- <buff id="MetabolizeBeer2" 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" buffif="beers2 greater 0" debuffif="beers2 less 1" duration="60" name_key="speedBoost" stack="reset" description_key="speedBoostDesc" tooltip_key="speedBoostTooltip" icon="ui_game_symbol_run">
- <modify id="0" stat="speedmodifier" modifyMaxValue="2"/>
- <modify id="1" stat="speedmodifier" modifyValue="2"/>
- </buff>
- <buff id="Drunk2" mutex="Hangover2,SickDrunk2,AlcoholPoisoning2" buffif="beers2 greater 5" 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" modifyMaxValue="3"/>
- <modify id="1" stat="speedmodifier" modifyValue="3"/>
- </buff>
- <buff id="InstantSickDrunk2" duration="1" buffif="beers2 greater 0" mutex="SickDrunk2,AlcoholPoisoning2" requires="Hangover2" actions="setvar(beers2, 9)" name_key="InstantSickDrunk2" type="staminadown"/>
- <buff id="SickDrunk2" mutex="AlcoholPoisoning2" buffif="beers2 greater 8" 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" modifyMaxValue="4"/>
- <modify id="1" stat="speedmodifier" modifyValue="4"/>
- <modify id="2" stat="health" amount="-10" rate="4"/>
- </buff>
- <buff id="Hangover2" mutex="AlcoholPoisoning2" duration="720" name_key="hangover2" type="staminadown" description_key="hangoverDesc2" tooltip_key="hangoverTooltip2" icon="ui_game_symbol_food_poisoning">
- <modify id="0" stat="stamina" amount="-15" rate="1"/>
- </buff>
- <buff id="AlcoholPoisoning2" buffif="beers2 greater 14" debuffif="beers2 less 9" 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" modifyMaxValue="8"/>
- <modify id="1" stat="speedmodifier" modifyValue="8"/>
- <modify id="2" stat="health" amount="-20" rate="2"/>
- </buff>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement