Radiation Updates

Alcohol - absorb radiation by small amount
Tin canned foods - increases radiation by small amount
This commit is contained in:
vbawol 2017-10-01 16:11:30 -05:00
parent 1bf10b5ddc
commit 121ea31ef2

View File

@ -81,35 +81,35 @@ class CfgItemInteractions
}; };
class sardines_epoch : Food_TinCan_base class sardines_epoch : Food_TinCan_base
{ {
interactAttributes[] = {{"Hunger",1000},{"Toxicity",7}}; interactAttributes[] = {{"Hunger",1000},{"Toxicity",7,1},{"Radiation",2,1}};
}; };
class meatballs_epoch : Food_TinCan_base class meatballs_epoch : Food_TinCan_base
{ {
interactAttributes[] = {{"Hunger",1200}}; interactAttributes[] = {{"Hunger",1200},{"Radiation",2,1}};
}; };
class scam_epoch : Food_TinCan_base class scam_epoch : Food_TinCan_base
{ {
interactAttributes[] = {{"Hunger",1000}}; interactAttributes[] = {{"Hunger",1000},{"Radiation",2,1}};
}; };
class sweetcorn_epoch : Food_TinCan_base class sweetcorn_epoch : Food_TinCan_base
{ {
interactAttributes[] = {{"Hunger",600}}; interactAttributes[] = {{"Hunger",600},{"Radiation",2,1}};
}; };
class FoodBioMeat : Food_TinCan_base class FoodBioMeat : Food_TinCan_base
{ {
interactAttributes[] = {{"Hunger",1000},{"Toxicity",7}}; interactAttributes[] = {{"Hunger",1000},{"Toxicity",7},{"Radiation",2,1}};
}; };
class TacticalBacon : Food_TinCan_base class TacticalBacon : Food_TinCan_base
{ {
interactAttributes[] = {{"Hunger",500}}; interactAttributes[] = {{"Hunger",500},{"Radiation",2,1}};
}; };
class ItemTrout : Food_base class ItemTrout : Food_base
{ {
interactAttributes[] = {{"Hunger",300},{"Toxicity",5}}; interactAttributes[] = {{"Hunger",300},{"Toxicity",5,1}};
}; };
class ItemSeaBass : Food_base class ItemSeaBass : Food_base
{ {
interactAttributes[] = {{"Hunger",500},{"Toxicity",10}}; interactAttributes[] = {{"Hunger",500},{"Toxicity",10,1}};
}; };
class ItemTuna : Food_base class ItemTuna : Food_base
{ {
@ -157,7 +157,7 @@ class CfgItemInteractions
}; };
class WhiskeyNoodle : Drink_base class WhiskeyNoodle : Drink_base
{ {
interactAttributes[] = {{"Thirst",800},{"Toxicity",-1},{"Stamina",50},{"Alcohol",10}}; interactAttributes[] = {{"Thirst",800},{"Toxicity",-1},{"Radiation",-1}{"Stamina",50},{"Alcohol",10}};
}; };
class water_epoch : Drink_Jar_base class water_epoch : Drink_Jar_base
{ {
@ -259,7 +259,7 @@ class CfgItemInteractions
{ {
interactAction = 1; interactAction = 1;
interactText = "EAT"; interactText = "EAT";
interactAttributes[] = {{"Hunger",300},{"Soiled",1},{"Toxicity",10,1}}; interactAttributes[] = {{"Hunger",300},{"Soiled",1},{"Toxicity",10,1},{"Radiation",2,1}};
}; };
class SnakeMeat_EPOCH : Default class SnakeMeat_EPOCH : Default
{ {
@ -803,7 +803,7 @@ class CfgItemInteractions
class SeedPacket_Sunflower : Default {}; class SeedPacket_Sunflower : Default {};
class ItemBakedBeans : Food_TinCan_base class ItemBakedBeans : Food_TinCan_base
{ {
interactAttributes[] = {{"Hunger",800}}; interactAttributes[] = {{"Hunger",800},{"Radiation",2,1}};
}; };
class gyro_wrap_epoch : Food_base class gyro_wrap_epoch : Food_base
{ {
@ -837,13 +837,13 @@ class CfgItemInteractions
}; };
class ItemBottlePlastic_Dirty: Drink_base class ItemBottlePlastic_Dirty: Drink_base
{ {
interactAttributes[] = {{"Thirst",500},{"Toxicity",5,1},{"Stamina",50}}; interactAttributes[] = {{"Thirst",500},{"Toxicity",5,1},{"Stamina",50},{"Radiation",2,1}};
interactReturnOnUse = "ItemBottlePlastic_Empty"; interactReturnOnUse = "ItemBottlePlastic_Empty";
}; };
class ItemCanteen_Dirty : Drink_base class ItemCanteen_Dirty : Drink_base
{ {
interactAttributes[] = {{"Thirst",1000},{"Toxicity",5,1},{"Stamina",50}}; interactAttributes[] = {{"Thirst",1000},{"Toxicity",5,1},{"Stamina",50},{"Radiation",2,1}};
interactReturnOnUse = "ItemCanteen_Empty"; interactReturnOnUse = "ItemCanteen_Empty";
}; };
}; };