This commit is contained in:
Fluffy
2023-03-26 12:55:13 +00:00
committed by GitHub
parent fa5425dd2c
commit 39d0b69d9e
2 changed files with 55 additions and 2 deletions
+14 -2
View File
@@ -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."