mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Adds two new icons (bandaid_brute, bandaid_burn) for patches
This commit is contained in:
@@ -11,8 +11,13 @@
|
||||
|
||||
/obj/item/weapon/reagent_containers/pill/patch/New()
|
||||
..()
|
||||
icon_state = "bandaid" // thanks inheritance
|
||||
|
||||
if(name == "brute patch")
|
||||
icon_state = "bandaid_brute" // thanks inheritance
|
||||
else if (name == "burn patch")
|
||||
icon_state = "bandaid_burn" // thanks inheritance
|
||||
else
|
||||
icon_state = "bandaid" // thanks inheritance
|
||||
|
||||
/obj/item/weapon/reagent_containers/pill/patch/afterattack(obj/target, mob/user , proximity)
|
||||
return // thanks inheritance again
|
||||
|
||||
@@ -25,8 +30,13 @@
|
||||
name = "brute patch"
|
||||
desc = "Helps with brute injuries."
|
||||
list_reagents = list("styptic_powder" = 50)
|
||||
icon_state = "bandaid_brute"
|
||||
item_state = "bandaid_brute"
|
||||
|
||||
/obj/item/weapon/reagent_containers/pill/patch/silver_sulf
|
||||
name = "burn patch"
|
||||
desc = "Helps with burn injuries."
|
||||
list_reagents = list("silver_sulfadiazine" = 50)
|
||||
icon_state = "bandaid_burn"
|
||||
item_state = "bandaid_burn"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user