mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
New regression in init times. Closes https://github.com/tgstation/dev-cycles-initiative/issues/32. CC @Fikou - Instead of creating a human and icon for *every* cardboard cutout when initialized, only creates the one we're actually using. When you're about to use a crayon, creates all of them. - Instead of using getFlatIcon, uses appearances directly.
8 lines
359 B
Plaintext
8 lines
359 B
Plaintext
/// A screenshot test for specific dynamic human icons
|
|
/datum/unit_test/screenshot_dynamic_human_icons
|
|
|
|
/datum/unit_test/screenshot_dynamic_human_icons/Run()
|
|
// Complicated MODsuit setup
|
|
var/appearance = get_dynamic_human_appearance(/datum/outfit/syndicatecommandocorpse)
|
|
test_screenshot("syndicate_commando", get_flat_icon_for_all_directions(appearance))
|