mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
[MIRROR] Adds spaces around logical operators [MDB IGNORE] (#18776)
* Adds spaces around logical operators * Update code/modules/admin/verbs/admingame.dm Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com> Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
This commit is contained in:
co-authored by
Jeremiah
Tom
parent
b2e7e489cb
commit
c5ca08fd01
@@ -147,7 +147,7 @@
|
||||
to_chat(user, span_notice("There's nothing there to bandage!"))
|
||||
return
|
||||
if(!LAZYLEN(limb.wounds))
|
||||
to_chat(user, span_notice("There's no wounds that require bandaging on [user==M ? "your" : "[M]'s"] [limb.plaintext_zone]!")) // good problem to have imo
|
||||
to_chat(user, span_notice("There's no wounds that require bandaging on [user == M ? "your" : "[M]'s"] [limb.plaintext_zone]!")) // good problem to have imo
|
||||
return
|
||||
|
||||
var/gauzeable_wound = FALSE
|
||||
@@ -157,13 +157,13 @@
|
||||
gauzeable_wound = TRUE
|
||||
break
|
||||
if(!gauzeable_wound)
|
||||
to_chat(user, span_notice("There's no wounds that require bandaging on [user==M ? "your" : "[M]'s"] [limb.plaintext_zone]!")) // good problem to have imo
|
||||
to_chat(user, span_notice("There's no wounds that require bandaging on [user == M ? "your" : "[M]'s"] [limb.plaintext_zone]!")) // good problem to have imo
|
||||
return
|
||||
|
||||
//SKYRAT EDIT CHANGE BEGIN - MEDICAL
|
||||
/*
|
||||
if(limb.current_gauze && (limb.current_gauze.absorption_capacity * 0.8 > absorption_capacity)) // ignore if our new wrap is < 20% better than the current one, so someone doesn't bandage it 5 times in a row
|
||||
to_chat(user, span_warning("The bandage currently on [user==M ? "your" : "[M]'s"] [limb.plaintext_zone] is still in good condition!"))
|
||||
to_chat(user, span_warning("The bandage currently on [user == M ? "your" : "[M]'s"] [limb.plaintext_zone] is still in good condition!"))
|
||||
return
|
||||
*/
|
||||
if(limb.current_gauze)
|
||||
|
||||
@@ -68,7 +68,7 @@ GLOBAL_LIST_INIT(glass_recipes, list ( \
|
||||
var/obj/item/stack/sheet/rglass/RG = new (get_turf(user))
|
||||
if(!QDELETED(RG))
|
||||
RG.add_fingerprint(user)
|
||||
var/replace = user.get_inactive_held_item()==src
|
||||
var/replace = user.get_inactive_held_item() == src
|
||||
V.use(1)
|
||||
use(1)
|
||||
if(QDELETED(src) && replace && !QDELETED(RG))
|
||||
@@ -120,7 +120,7 @@ GLOBAL_LIST_INIT(pglass_recipes, list ( \
|
||||
var/obj/item/stack/sheet/plasmarglass/RG = new (get_turf(user))
|
||||
if (!QDELETED(RG))
|
||||
RG.add_fingerprint(user)
|
||||
var/replace = user.get_inactive_held_item()==src
|
||||
var/replace = user.get_inactive_held_item() == src
|
||||
V.use(1)
|
||||
use(1)
|
||||
if(QDELETED(src) && replace)
|
||||
|
||||
Reference in New Issue
Block a user