Update dwarves.dm
This commit is contained in:
@@ -170,7 +170,7 @@ GLOBAL_LIST_INIT(dwarf_last, world.file2list("strings/names/dwarf_last.txt")) //
|
|||||||
for(var/datum/reagent/R in owner.reagents.reagent_list)
|
for(var/datum/reagent/R in owner.reagents.reagent_list)
|
||||||
if(istype(R, /datum/reagent/consumable/ethanol))
|
if(istype(R, /datum/reagent/consumable/ethanol))
|
||||||
var/datum/reagent/consumable/ethanol/E = R
|
var/datum/reagent/consumable/ethanol/E = R
|
||||||
stored_alcohol = CLAMP(stored_alcohol + store_pwr, 0, max_alcohol)
|
stored_alcohol = CLAMP(stored_alcohol + E.boozepwr / 50, 0, max_alcohol)
|
||||||
var/heal_amt = heal_rate
|
var/heal_amt = heal_rate
|
||||||
stored_alcohol -= alcohol_rate //Subtracts alcohol_Rate from stored alcohol so EX: 250 - 0.25 per each loop that occurs.
|
stored_alcohol -= alcohol_rate //Subtracts alcohol_Rate from stored alcohol so EX: 250 - 0.25 per each loop that occurs.
|
||||||
if(stored_alcohol > 400) //If they are over 400 they start regenerating
|
if(stored_alcohol > 400) //If they are over 400 they start regenerating
|
||||||
|
|||||||
Reference in New Issue
Block a user