Xenobiology serum sprite fixes/changes (#17529)

* xenobiology serum sprite fixes

* sets item_state

* the contained_spritening
This commit is contained in:
Pirouette
2023-10-05 06:40:05 -04:00
committed by GitHub
parent 7d5be38ab5
commit 7d8f807eb1
2 changed files with 21 additions and 6 deletions

View File

@@ -128,6 +128,8 @@
desc = "A potent chemical mix that will nullify a slime's powers, causing it to become docile and tame. This one is meant for baby slimes."
icon = 'icons/obj/item/reagent_containers/glass.dmi'
icon_state = "bottle-1"
item_state = "bottle"
contained_sprite = TRUE
/obj/item/docility_serum/Initialize() // Better than hardsprited in stuff.
. = ..()
@@ -170,8 +172,10 @@
/obj/item/advanced_docility_serum
name = "advanced docility serum"
desc = "A potent chemical mix that will nullify a slime's powers, causing it to become docile and tame. This one is meant for adult slimes"
icon = 'icons/obj/item/reagent_containers/syringe.dmi'
icon_state = "bottle-1"
icon = 'icons/obj/item/reagent_containers/glass.dmi'
icon_state = "bottle-2"
item_state = "bottle"
contained_sprite = TRUE
/obj/item/advanced_docility_serum/Initialize() // Better than hardsprited in stuff.
. = ..()
@@ -214,8 +218,10 @@
/obj/item/slimesteroid
name = "slime steroid"
desc = "A potent chemical mix that will cause a slime to generate more extract."
icon = 'icons/obj/item/reagent_containers/syringe.dmi'
icon_state = "bottle-1"
icon = 'icons/obj/item/reagent_containers/glass.dmi'
icon_state = "bottle-3"
item_state = "bottle"
contained_sprite = TRUE
/obj/item/slimesteroid/Initialize() // Better than hardsprited in stuff.
SHOULD_CALL_PARENT(FALSE)
@@ -248,8 +254,10 @@
/obj/item/extract_enhancer
name = "extract enhancer"
desc = "A potent chemical mix that will give a slime extract three uses."
icon = 'icons/obj/item/reagent_containers/syringe.dmi'
icon_state = "bottle-1"
icon = 'icons/obj/item/reagent_containers/glass.dmi'
icon_state = "bottle-4"
item_state = "bottle"
contained_sprite = TRUE
/obj/item/extract_enhancer/Initialize() // Better than hardsprited in stuff.
SHOULD_CALL_PARENT(FALSE)

View File

@@ -0,0 +1,7 @@
author: Pirouette
delete-after: True
changes:
- bugfix: "Xenobiology serums are no longer invisible."
- tweak: "Xenobiology serums now have different sprites."