Files
Bubberstation/code/modules/unit_tests/stack_singular_name.dm
T
SmArtKar 71a232f03b Makes lizard skin and lizardskin items inherit their "donor's" skin color (#94751)
## About The Pull Request

As title says, skin butchered from humans (currently only applies to
lizardskin) now inherits their owner's skin color, and so do items
(lizardskin boots and hats) made from it.

Also this PR gagsifies lizardskin hats and boots for this very reason.

## Why It's Good For The Game

Consistency, when you butcher a purple lizard you should get purple
lizard boots.

## Changelog
🆑
add: Made lizard skin and lizardskin items inherit their "donor's" skin
color
/🆑
2026-01-12 00:29:35 +00:00

12 lines
554 B
Plaintext

/**
* Goes through every subtype of /obj/item/stack to check for a singular name, var/singular_name.
* Everything within the blacklist does not need to be tested because it exists to be overridden.
* This test will fail if a subtype of /obj/item/stack is missing a singular name.
*/
/datum/unit_test/stack_singular_name
/datum/unit_test/stack_singular_name/Run()
for(var/obj/item/stack/stack_check as anything in valid_subtypesof(/obj/item/stack))
if(!initial(stack_check.singular_name))
TEST_FAIL("[stack_check] is missing a singular name!")