mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
vorepanel setting update (#7567)
Co-authored-by: Selis <selis@xynolabs.com>
This commit is contained in:
@@ -412,7 +412,7 @@
|
||||
remove_self(volume)
|
||||
return
|
||||
if(B.owner)
|
||||
if(B.reagent_mode_flags & DM_FLAG_REAGENTSDIGEST && B.reagents.total_volume < B.custom_max_volume)
|
||||
if(B.show_liquids && B.reagent_mode_flags & DM_FLAG_REAGENTSDIGEST && B.reagents.total_volume < B.custom_max_volume)
|
||||
B.owner_adjust_nutrition(removed * (B.nutrition_percent / 100) * power)
|
||||
B.digest_nutri_gain += removed * (B.nutrition_percent / 100) + 0.5
|
||||
B.GenerateBellyReagents_digesting()
|
||||
@@ -466,7 +466,7 @@
|
||||
remove_self(volume)
|
||||
return
|
||||
if(B.owner)
|
||||
if(B.reagent_mode_flags & DM_FLAG_REAGENTSDIGEST && B.reagents.total_volume < B.custom_max_volume)
|
||||
if(B.show_liquids && B.reagent_mode_flags & DM_FLAG_REAGENTSDIGEST && B.reagents.total_volume < B.custom_max_volume)
|
||||
B.owner_adjust_nutrition(volume * (B.nutrition_percent / 100) * power)
|
||||
B.digest_nutri_gain += volume * (B.nutrition_percent / 100) + 0.5
|
||||
B.GenerateBellyReagents_digesting()
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
else if(prob(10))
|
||||
B.absorb_living(P)
|
||||
//absorption reagent production
|
||||
if(B.reagent_mode_flags & DM_FLAG_REAGENTSABSORB && B.reagents.total_volume < B.reagents.maximum_volume)
|
||||
if(B.show_liquids && B.reagent_mode_flags & DM_FLAG_REAGENTSABSORB && B.reagents.total_volume < B.reagents.maximum_volume)
|
||||
B.GenerateBellyReagents_absorbed()
|
||||
|
||||
/datum/reagent/radium/concentrated
|
||||
@@ -81,4 +81,4 @@
|
||||
if(rad_organ && !rad_organ.is_broken())
|
||||
absorbed = 1
|
||||
if(!absorbed)
|
||||
M.adjustToxLoss(100)
|
||||
M.adjustToxLoss(100)
|
||||
|
||||
Reference in New Issue
Block a user