mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-17 12:35:26 +00:00
## About The Pull Request Husk icons are now generated dynamically by greyscaling the limbs and applying the husk blood overlay rather than everything using the same husk sprite ## Why It's Good For The Game Less sprites needed, also good for nonhuman races especially those with non-humanoid shapes All that is needed for a husk icon now is a blood overlay instead of an entire limb set Human, Lizard, Moth, Monkey husks PIC IS A BIT OUTDATED, THE BLOOD IN PIC IS DARKER THAN HUSK BLOOD (fixed) AND IT DOESNT "FIT" TO LIMB SPRITE (fixed)  ## Changelog 🆑 refactor: Husk icons are now dynamically generated. See if you can identify what species it was! /🆑
This folder contains the results for screenshot tests. Screenshot tests make sure an icon looks the same as it did before a change to prevent regressions.
You can create one by simply using the test_screenshot proc.
This example test screenshots a red image and keeps it.
/// This is an example for screenshot tests, and a meta-test to make sure they work in the success case.
/// It creates a picture that is red on the left side, green on the other.
/datum/unit_test/screenshot_basic
/datum/unit_test/screenshot_basic/Run()
var/icon/red = icon('icons/blanks/32x32.dmi', "nothing")
red.Blend(COLOR_RED, ICON_OVERLAY)
test_screenshot("red", red)
Unfortunately, screenshot tests are sanest to test through a pull request directly, due to limitations with both DM and GitHub.