diff --git a/code/modules/mob/living/carbon/slime/items.dm b/code/modules/mob/living/carbon/slime/items.dm index c8309a9f80b..1b33438b91b 100644 --- a/code/modules/mob/living/carbon/slime/items.dm +++ b/code/modules/mob/living/carbon/slime/items.dm @@ -134,6 +134,9 @@ filling.color = COLOR_PINK add_overlay(filling) + initialized = TRUE + return INITIALIZE_HINT_NORMAL + /obj/item/docility_serum/attack(mob/living/carbon/slime/M as mob, mob/user as mob) if(!istype(M, /mob/living/carbon/slime/))//If target is not a slime. to_chat(user, SPAN_WARNING("The docility serum only works on slimes!")) @@ -144,7 +147,7 @@ if(M.mind) to_chat(user, SPAN_WARNING("The slime is too intelligent to be pacified!")) return ..() - if(M.is_adult) + if(M.is_adult) to_chat(user, SPAN_WARNING("The serum isn't advanced enough to affect adult slimes.")) return ..() @@ -174,6 +177,9 @@ filling.color = COLOR_PALE_PINK add_overlay(filling) + initialized = TRUE + return INITIALIZE_HINT_NORMAL + /obj/item/advanced_docility_serum/attack(mob/living/carbon/slime/M as mob, mob/user as mob) if(!istype(M, /mob/living/carbon/slime/))//If target is not a slime. to_chat(user, SPAN_WARNING("The docility serum only works on slimes!")) @@ -184,7 +190,7 @@ if(M.mind) to_chat(user, SPAN_WARNING("The slime is too intelligent to be pacified!")) return ..() - if(!M.is_adult) + if(!M.is_adult) to_chat(user, SPAN_WARNING("The serum is too advanced to affect baby slimes.")) return ..() @@ -214,6 +220,9 @@ filling.color = COLOR_GREEN add_overlay(filling) + initialized = TRUE + return INITIALIZE_HINT_NORMAL + /obj/item/slimesteroid/attack(mob/living/carbon/slime/M as mob, mob/user as mob) if(!istype(M, /mob/living/carbon/slime)) //If target is not a slime. to_chat(user, SPAN_WARNING("The steroid only works on baby slimes!")) @@ -243,6 +252,9 @@ filling.color = COLOR_BLUE add_overlay(filling) + initialized = TRUE + return INITIALIZE_HINT_NORMAL + /obj/effect/golemrune anchored = TRUE desc = "A strange rune used to create golems. It glows when spirits are nearby." diff --git a/html/changelogs/fluffyghost-fixslimeitemsinitialize.yml b/html/changelogs/fluffyghost-fixslimeitemsinitialize.yml new file mode 100644 index 00000000000..f3565c5a98a --- /dev/null +++ b/html/changelogs/fluffyghost-fixslimeitemsinitialize.yml @@ -0,0 +1,41 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# wip (For works in progress) +# tweak +# soundadd +# sounddel +# rscadd (general adding of nice things) +# rscdel (general deleting of nice things) +# imageadd +# imagedel +# maptweak +# spellcheck (typo fixes) +# experiment +# balance +# admin +# backend +# security +# refactor +################################# + +# Your name. +author: Fluffyghost + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries. +# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. +changes: + - rscadd: "Fix some slime items initialize() not returning an hint to SSAtoms and not setting the initialize variable."