mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 01:34:01 +00:00
* Monkeys now use height offset (and monkey tail works) * fix * modular fixes --------- Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: SpaceLoveSs13 <68121607+SpaceLoveSs13@users.noreply.github.com>
13 lines
869 B
Plaintext
13 lines
869 B
Plaintext
/datum/unit_test/limbsanity
|
|
|
|
/datum/unit_test/limbsanity/Run()
|
|
for(var/path in subtypesof(/obj/item/bodypart) - list(/obj/item/bodypart/arm, /obj/item/bodypart/leg)) /// removes the abstract items.
|
|
var/obj/item/bodypart/part = path
|
|
if(part::is_dimorphic)
|
|
if(!icon_exists(UNLINT(part::should_draw_greyscale ? part::icon_greyscale : part::icon_static), "[part::limb_id]_[part::body_zone]_m"))
|
|
TEST_FAIL("[path] does not have a valid icon for male variants")
|
|
if(!icon_exists(UNLINT(part::should_draw_greyscale ? part::icon_greyscale : part::icon_static), "[part::limb_id]_[part::body_zone]_f"))
|
|
TEST_FAIL("[path] does not have a valid icon for female variants")
|
|
else if(!icon_exists(UNLINT(part::should_draw_greyscale ? part::icon_greyscale : part::icon_static), "[part::limb_id]_[part::body_zone]"))
|
|
TEST_FAIL("[path] does not have a valid icon")
|