mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-25 16:45:42 +00:00
Done using this command sed -Ei 's/(\s*\S+)\s*\t+/\1 /g' code/**/*.dm We have countless examples in the codebase with this style gone wrong, and defines and such being on hideously different levels of indentation. Fixing this to keep the alignment involves tainting the blames of code your PR doesn't need to be touching at all. And ultimately, it's hideous. There are some files that this sed makes uglier. I can fix these when they are pointed out, but I believe this is ultimately for the greater good of readability. I'm more concerned with if any strings relied on this. Hi codeowners! Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
47 lines
1.8 KiB
Plaintext
47 lines
1.8 KiB
Plaintext
/obj/item/reagent_containers/pill/patch
|
|
name = "chemical patch"
|
|
desc = "A chemical patch for touch based applications."
|
|
icon = 'icons/obj/chemical.dmi'
|
|
icon_state = "bandaid"
|
|
inhand_icon_state = "bandaid"
|
|
possible_transfer_amounts = list()
|
|
volume = 40
|
|
apply_type = PATCH
|
|
apply_method = "apply"
|
|
self_delay = 30 // three seconds
|
|
dissolvable = FALSE
|
|
|
|
/obj/item/reagent_containers/pill/patch/attack(mob/living/L, mob/user)
|
|
if(ishuman(L))
|
|
var/obj/item/bodypart/affecting = L.get_bodypart(check_zone(user.zone_selected))
|
|
if(!affecting)
|
|
to_chat(user, "<span class='warning'>The limb is missing!</span>")
|
|
return
|
|
if(affecting.status != BODYPART_ORGANIC)
|
|
to_chat(user, "<span class='notice'>Medicine won't work on a robotic limb!</span>")
|
|
return
|
|
..()
|
|
|
|
/obj/item/reagent_containers/pill/patch/canconsume(mob/eater, mob/user)
|
|
if(!iscarbon(eater))
|
|
return FALSE
|
|
return TRUE // Masks were stopping people from "eating" patches. Thanks, inheritance.
|
|
|
|
/obj/item/reagent_containers/pill/patch/libital
|
|
name = "libital patch (brute)"
|
|
desc = "A pain reliever. Does minor liver damage. Diluted with Granibitaluri."
|
|
list_reagents = list(/datum/reagent/medicine/c2/libital = 2, /datum/reagent/medicine/granibitaluri = 8) //10 iterations
|
|
icon_state = "bandaid_brute"
|
|
|
|
/obj/item/reagent_containers/pill/patch/aiuri
|
|
name = "aiuri patch (burn)"
|
|
desc = "Helps with burn injuries. Does minor eye damage. Diluted with Granibitaluri."
|
|
list_reagents = list(/datum/reagent/medicine/c2/aiuri = 2, /datum/reagent/medicine/granibitaluri = 8)
|
|
icon_state = "bandaid_burn"
|
|
|
|
/obj/item/reagent_containers/pill/patch/synthflesh
|
|
name = "synthflesh patch"
|
|
desc = "Helps with brute and burn injuries. Slightly toxic."
|
|
list_reagents = list(/datum/reagent/medicine/c2/synthflesh = 20)
|
|
icon_state = "bandaid_both"
|