Fixes the Pants Altar's pants' icon (#68788)

le cult pante
This commit is contained in:
OrionTheFox
2022-07-30 02:55:42 -06:00
committed by GitHub
parent 403da34749
commit ea94e69674
2 changed files with 5 additions and 4 deletions
+5 -4
View File
@@ -218,7 +218,7 @@ at the cost of risking a vicious bite.**/
visible_message(span_danger("[src] emits a flash of light and creates... pants?"))
for(var/mob/living/viewing_mob in viewers(7, src))
viewing_mob.flash_act()
var/obj/item/clothing/under/pants/altar/pants = new(get_turf(src))
var/obj/item/clothing/under/pants/slacks/altar/pants = new(get_turf(src))
pants.add_atom_colour(pants_color, ADMIN_COLOUR_PRIORITY)
COOLDOWN_START(src, use_cooldown, use_cooldown_duration)
addtimer(CALLBACK(src, /atom.proc/update_icon), 1 MINUTES + 0.1 SECONDS)
@@ -231,10 +231,11 @@ at the cost of risking a vicious bite.**/
return FALSE
return TRUE
/obj/item/clothing/under/pants/altar
/obj/item/clothing/under/pants/slacks/altar
name = "strange pants"
desc = "A pair of pants. They do not look natural. They smell like fresh blood."
icon_state = "whitepants"
desc = "A pair of pants. They do not look or feel natural, and smell like fresh blood."
greyscale_colors = "#ffffff#ffffff#ffffff"
flags_1 = NONE //If IS_PLAYER_COLORABLE gets added color-changing support (i.e. spraycans), these won't end up getting it too. Plus, it already has its own recolor.
#undef ALTAR_INACTIVE
#undef ALTAR_STAGEONE