Upstream lint fixes (#3186)

Fixes all the failing grep checks in #3157, doesn't fix the define
sanity fails because im tired

![image](https://github.com/user-attachments/assets/b40fc081-a5c9-4f46-9cf5-18ed85199435)
This commit is contained in:
Roxy
2025-03-05 13:23:05 +01:00
committed by Waterpig
parent 3c991829e6
commit 7600837c59
166 changed files with 425 additions and 413 deletions
@@ -17,31 +17,31 @@
/// Adds a moodlet entry based on if the mob currently has alcohol processing in their system.
/datum/mood/proc/get_alcohol_processing(mob/user)
if(user.reagents.reagent_list.len)
for(var/datum/reagent/consumable/ethanol/booze in user.reagents.reagent_list)
return span_notice("I'm still processing that alcohol I drank...\n")
if(user.reagents.reagent_list.len)
for(var/datum/reagent/consumable/ethanol/booze in user.reagents.reagent_list)
return span_notice("I'm still processing that alcohol I drank...\n")
/// Adds a moodlet entry based on the current blood alcohol content of the mob.
/datum/mood/proc/get_drunk_mood(mob/user)
var/mob/living/target = user
var/blood_alcohol_content = target.get_blood_alcohol_content()
switch(blood_alcohol_content)
if(BAC_STAGE_1_ACTIVE to BAC_STAGE_2_WARN)
return span_notice("Had a drink, time to relax!\n")
if(BAC_STAGE_2_WARN to BAC_STAGE_2_ACTIVE)
return span_nicegreen("Now I'm starting to feel that drink.\n")
if(BAC_STAGE_2_ACTIVE to BAC_STAGE_3_WARN)
return span_nicegreen("A bit tipsy, this feels good!\n")
if(BAC_STAGE_3_WARN to BAC_STAGE_3_ACTIVE)
return span_nicegreen("Those drinks are really starting to hit!\n")
if(BAC_STAGE_3_ACTIVE to BAC_STAGE_4_WARN)
return span_nicegreen("I can't remember how many I've had, but I feel great!\n")
if(BAC_STAGE_4_WARN to BAC_STAGE_4_ACTIVE)
return span_warning("I think I've had too much to drink... I should probably stop... drink some water...\n")
if(BAC_STAGE_4_ACTIVE to BAC_STAGE_5_WARN)
return span_bolddanger("I'm not feeling so hot...\n")
if(BAC_STAGE_5_WARN to INFINITY)
return span_bolddanger("Is there a doctor around? I really don't feel good...\n")
var/mob/living/target = user
var/blood_alcohol_content = target.get_blood_alcohol_content()
switch(blood_alcohol_content)
if(BAC_STAGE_1_ACTIVE to BAC_STAGE_2_WARN)
return span_notice("Had a drink, time to relax!\n")
if(BAC_STAGE_2_WARN to BAC_STAGE_2_ACTIVE)
return span_nicegreen("Now I'm starting to feel that drink.\n")
if(BAC_STAGE_2_ACTIVE to BAC_STAGE_3_WARN)
return span_nicegreen("A bit tipsy, this feels good!\n")
if(BAC_STAGE_3_WARN to BAC_STAGE_3_ACTIVE)
return span_nicegreen("Those drinks are really starting to hit!\n")
if(BAC_STAGE_3_ACTIVE to BAC_STAGE_4_WARN)
return span_nicegreen("I can't remember how many I've had, but I feel great!\n")
if(BAC_STAGE_4_WARN to BAC_STAGE_4_ACTIVE)
return span_warning("I think I've had too much to drink... I should probably stop... drink some water...\n")
if(BAC_STAGE_4_ACTIVE to BAC_STAGE_5_WARN)
return span_bolddanger("I'm not feeling so hot...\n")
if(BAC_STAGE_5_WARN to INFINITY)
return span_bolddanger("Is there a doctor around? I really don't feel good...\n")
#undef BAC_STAGE_1_ACTIVE
#undef BAC_STAGE_2_WARN