mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-12 02:22:11 +00:00
Ok, messed up resolving the merge conflicts (first try), so doing a fresh pr. This turned out to be a good thing, as after I put the changes back I tested again, and found 2 bugs (not due to my code) Firstly, the organ refactor had introduced a bug when taking liver damage from being drunk. It wasn't getting the liver correctly, leaving it with null, and was then trying to damage it. The second was related to the amount you took in when drinking
46 lines
1.4 KiB
Plaintext
46 lines
1.4 KiB
Plaintext
/obj/item/weapon/reagent_containers/food/pill/patch
|
|
name = "chemical patch"
|
|
desc = "A chemical patch for touch based applications."
|
|
icon = 'icons/obj/chemical.dmi'
|
|
icon_state = "bandaid"
|
|
item_state = "bandaid"
|
|
possible_transfer_amounts = null
|
|
volume = 40
|
|
apply_type = TOUCH
|
|
apply_method = "apply"
|
|
transfer_efficiency = 0.5 //patches aren't as effective at getting chemicals into the bloodstream.
|
|
|
|
/obj/item/weapon/reagent_containers/food/pill/patch/New()
|
|
..()
|
|
icon_state = "bandaid"
|
|
|
|
/obj/item/weapon/reagent_containers/food/pill/patch/afterattack(obj/target, mob/user , proximity)
|
|
return // thanks inheritance again
|
|
|
|
/obj/item/weapon/reagent_containers/food/pill/patch/styptic
|
|
name = "healing patch"
|
|
desc = "Helps with brute injuries."
|
|
New()
|
|
..()
|
|
reagents.add_reagent("styptic_powder", 40)
|
|
|
|
/obj/item/weapon/reagent_containers/food/pill/patch/silver_sulf
|
|
name = "burn patch"
|
|
desc = "Helps with burn injuries."
|
|
New()
|
|
..()
|
|
reagents.add_reagent("silver_sulfadiazine", 40)
|
|
|
|
/obj/item/weapon/reagent_containers/food/pill/patch/synthflesh
|
|
name = "syntheflesh patch"
|
|
desc = "Helps with burn injuries."
|
|
New()
|
|
..()
|
|
reagents.add_reagent("synthflesh", 20)
|
|
|
|
/obj/item/weapon/reagent_containers/food/pill/patch/nicotine
|
|
name = "nicotine patch"
|
|
desc = "Helps temporarily curb the cravings of nicotine dependency."
|
|
New()
|
|
..()
|
|
reagents.add_reagent("nicotine", 20) |