Advertisement
ramin1992

anti logan buff

Apr 29th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.09 KB | None | 0 0
  1. itemxml
  2.  
  3. <item id="1918" name="antimutant">
  4. <property name="Meshfile" value="Items/Health/painkillersPrefab" />
  5. <property name="CustomIcon" value="painkillers" />
  6. <property name="CustomIconTint" value="ff4040" />
  7. <property name="Material" value="organic" />
  8. <property name="EconomicValue" value="70" />
  9. <property name="HoldType" value="16" />
  10. <property name="Stacknumber" value="50" /> <!-- STK loot -->
  11. <property class="Action0">
  12. <property name="Class" value="UseOther" />
  13. <property name="Delay" value="1.0" />
  14. <property name="Use_time" value="..." />
  15. <property name="Gain_health" value="5" />
  16. <property name="Gain_food" value="0" />
  17. <property name="Gain_water" value="0" />
  18. <property name="Gain_wellness" value="0" />
  19. <property name="Sound_start" value="UseActions/player_painkillers" />
  20. <property name="Debuff" value="DrinkBeer2,MetabolizeBeer2,speedBoost,Drunk2,InstantSickDrunk2,SickDrunk2,Hangover2,AlcoholPoisoning2,bleeding" />
  21. </property>
  22. <property class="Action1">
  23. <property name="Class" value="Eat" />
  24. <property name="Delay" value="1.0" />
  25. <property name="Use_time" value="..." />
  26. <property name="Gain_health" value="10" />
  27. <property name="Gain_food" value="0" />
  28. <property name="Gain_water" value="0" />
  29. <property name="Gain_wellness" value="0" />
  30. <property name="Sound_start" value="UseActions/player_painkillers" />
  31. <property name="Debuff" value="DrinkBeer2,MetabolizeBeer2,speedBoost,Drunk2,InstantSickDrunk2,SickDrunk2,Hangover2,AlcoholPoisoning2,bleeding" />
  32. </property>
  33. <property name="ActionSkillGroup" value="Medicine"/>
  34. <property name="CraftingSkillGroup" value="Science"/>
  35. <property name="Group" value="Medicine" />
  36. <property name="ActionExp" value="10"/>
  37. </item>
  38.  
  39. <item id="1920" name="lastwish">
  40. <property name="CustomIcon" value="bottledWater" />
  41. <property name="CustomIconTint" value="ff4040" />
  42. <property name="Meshfile" value="Items/Food/bottled_waterPrefab" />
  43. <property name="Material" value="glass" />
  44. <property name="HoldType" value="3" />
  45. <property name="Stacknumber" value="15" /> <!-- STK drink -->
  46. <property name="Weight" value="10" />
  47. <property name="EconomicValue" value="30" />
  48. <property name="CraftingIngredientTime" value="15" />
  49. <property class="Action1">
  50. <property name="Class" value="Eat" />
  51. <property name="Delay" value="1" />
  52. <property name="Buff" value="lastwished" />
  53. <property name="Use_time" value="..." />
  54. <property name="Gain_health" value="0" />
  55. <property name="Gain_stamina" value="20" />
  56. <property name="Gain_food" value="0" />
  57. <property name="Gain_water" value="20" />
  58. <property name="Sound_start" value="UseActions/player_drinking" />
  59. <property name="Debuff" value="DrinkBeer2,MetabolizeBeer2,speedBoost,Drunk2,InstantSickDrunk2,SickDrunk2,Hangover2,AlcoholPoisoning2,bleeding" />
  60. <property name="Create_item" value="emptyJar" />
  61. </property>
  62. <property name="Group" value="Food/Cooking" />
  63. </item>
  64.  
  65. ------------------------------------------
  66. buffxml
  67.  
  68. <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">
  69. <modify id="1" stat="stamina" amount="1" rate="1"/>
  70. </buff>
  71.  
  72. ----------------------------------------------------
  73. replace logans buff with the one below
  74.  
  75. <buff id="DrinkBeer2" mutex="lastwished" duration="1" actions="increment(beers2, 1, 0, 0, 1)">
  76. <modify id="0" stat="stamina" amount="-2" rate="1"/>
  77. </buff>
  78.  
  79. <buff id="MetabolizeBeer2" mutex="lastwished" buffif="beers2 greater 0" debuffif="beers2 less 1" actions="increment(beers2, -1, 90, 0, 0);min(beers2, 0)"/>
  80.  
  81. <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">
  82. <modify id="0" stat="speedmodifier" mulValue="0.8"/>
  83. <modify id="1" stat="health" amount="-2" rate="1"/>
  84. </buff>
  85.  
  86. <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">
  87. <modify id="0" stat="speedmodifier" mulValue="0.7"/>
  88. <modify id="1" stat="health" amount="-3" rate="1"/>
  89. </buff>
  90.  
  91. <buff id="InstantSickDrunk2" duration="1" buffif="beers2 greater 0" mutex="SickDrunk2,AlcoholPoisoning2,lastwished" requires="Hangover2" actions="setvar(beers2, 9)" name_key="InstantSickDrunk2" type="staminadown"/>
  92.  
  93. <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">
  94. <modify id="0" stat="speedmodifier" mulValue="0.7"/>
  95. <modify id="0" stat="stamina" amount="-2" rate="1"/>
  96. <modify id="1" stat="health" amount="-4" rate="1"/>
  97. </buff>
  98.  
  99. <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">
  100. <modify id="0" stat="speedmodifier" mulValue="0.7"/>
  101. <modify id="0" stat="stamina" amount="-15" rate="1"/>
  102. <modify id="1" stat="health" amount="-5" rate="1"/>
  103. </buff>
  104.  
  105. <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">
  106. <modify id="0" stat="speedmodifier" mulValue="0.7"/>
  107. <modify id="0" stat="stamina" amount="-20" rate="1"/>
  108. <modify id="1" stat="health" amount="-6" rate="1"/>
  109. </buff>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement