mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-06-22 14:44:12 +01:00
71a232f03b
## 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 /🆑
12 lines
554 B
Plaintext
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!")
|