mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Add new pill images. (#32274)
* Add new pill images. * Tweak lazarus sprite. * Re-center diamond pill sprites.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
name = "chem_master"
|
||||
|
||||
/datum/asset/spritesheet/chem_master/create_spritesheets()
|
||||
for(var/pill_type in 1 to 20)
|
||||
for(var/pill_type in 1 to 28)
|
||||
Insert("pill[pill_type]", 'icons/obj/chemical.dmi', "pill[pill_type]")
|
||||
for(var/bandaid_type in 1 to 21)
|
||||
Insert("bandaid[bandaid_type]", 'icons/obj/chemical.dmi', "bandaid[bandaid_type]")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#define MAX_PILL_SPRITE 20 //max icon state of the pill sprites
|
||||
#define MAX_PILL_SPRITE 28 //max icon state of the pill sprites
|
||||
#define MAX_PATCH_SPRITE 21 //max icon state of the patch sprites
|
||||
#define MAX_CUSTOM_NAME_LEN 64 // Max length of a custom pill/condiment/whatever
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
/obj/item/reagent_containers/pill/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!icon_state)
|
||||
icon_state = "pill[rand(1, 20)]"
|
||||
icon_state = "pill[rand(1, 28)]"
|
||||
|
||||
/obj/item/reagent_containers/pill/activate_self(mob/user)
|
||||
if(..())
|
||||
@@ -79,13 +79,13 @@
|
||||
/obj/item/reagent_containers/pill/tox
|
||||
name = "\improper Toxin pill"
|
||||
desc = "Highly toxic."
|
||||
icon_state = "pill21"
|
||||
icon_state = "pill_skull"
|
||||
list_reagents = list("toxin" = 50)
|
||||
|
||||
/obj/item/reagent_containers/pill/initropidril
|
||||
name = "\improper Initropidril pill"
|
||||
desc = "Don't swallow this."
|
||||
icon_state = "pill21"
|
||||
icon_state = "pill_skull"
|
||||
list_reagents = list("initropidril" = 50)
|
||||
|
||||
/obj/item/reagent_containers/pill/fakedeath
|
||||
@@ -204,7 +204,7 @@
|
||||
/obj/item/reagent_containers/pill/lazarus_reagent
|
||||
name = "\improper Lazarus Reagent pill"
|
||||
desc = "Miraculous drug used for revival. Use with caution. Improper use may cause bodies to violently blow apart."
|
||||
icon_state = "pill9"
|
||||
icon_state = "pill26"
|
||||
list_reagents = list("lazarus_reagent" = 1)
|
||||
|
||||
/obj/item/reagent_containers/pill/rezadone
|
||||
|
||||
Reference in New Issue
Block a user