rimworld-blax-defaults/Source/Art
Fabian @ Blax Software 892062c54f feat: Blax Defaults 1.1: forbid rules
Rules for your colony and for enemies allow what the game forbids when their pawns go down or die if it matches a filter with hit point and quality ranges, once the fight is over. Stripping can forbid what doesn't match; three corpse switches. Overlap warnings for KilledEnemyAutoAllowed, Allow Everything, Non uno Pinata and Allow Dead Animals. The test runner fails on stray mod errors.
2026-11-30 22:33:42 +01:00
..
fonts feat: Workshop page and art 2026-11-29 20:49:48 +01:00
README.md feat: Blax Defaults 1.1: forbid rules 2026-11-30 22:33:42 +01:00
blax-monogram.svg feat: Workshop page and art 2026-11-29 20:49:48 +01:00
header.html feat: Workshop page and art 2026-11-29 20:49:48 +01:00
icon.html feat: Workshop page and art 2026-11-29 20:49:48 +01:00
icon.svg feat: Workshop page and art 2026-11-29 20:49:48 +01:00
monogram-centered.svg feat: Workshop page and art 2026-11-29 20:49:48 +01:00
oss-banner.html feat: Workshop page and art 2026-11-29 20:49:48 +01:00
preview.html feat: Workshop page and art 2026-11-29 20:49:48 +01:00

README.md

Preview art

preview.html renders About/Preview.png (1280x720) and icon.html renders About/ModIcon.png (256x256) from icon.svg. Both follow the Blax CI from https://www.blax.at/ui-ci and match Blax Slaves' and Blax Castes' art, so the mods read as one label: Blax black #050805, Blax green #19C63C, logo gray #CDCDCD, Geist for headings, Inter for body, Rajdhani only for the "Blax Gaming" wordmark. Fonts are the woff2 files blax.at self-hosts (all SIL Open Font License); icons are lucide (ISC license).

File Renders
preview.html About/Preview.png: wordmark, "Blax Defaults" with "for RimWorld 1.7", and four feature rows (stockpiles and shelves, every new bill, empty new shelves, nothing in your save). The hero is 172 px instead of Slaves' 178 px because "Defaults" is longer.
icon.svg, icon.html About/ModIcon.png: the Blax monogram with a green lucide "sliders-horizontal" badge, built like Blax Castes' "layers" icon, so the two stand apart in the mod list.
header.html docs/art/steam/<name>.png, the 1270x150 section headers of the Workshop page. Takes t (title), s (subtitle) and i (a lucide icon from the icons map in the file) as query parameters.
oss-banner.html docs/art/blax-oss-banner.png, Blax Software's Open Source Initiative banner (docs/art/blax-oss-banner.svg) as a PNG, because Steam shows no SVG. The same file as in Blax Slaves.
blax-monogram.svg, monogram-centered.svg, fonts/ Shared assets, copied from Blax Slaves.

Render with Edge headless from this folder. The separate profile folder keeps the headless run away from an open Edge window, and | Out-Null waits for each screenshot.

$edge = 'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe'
$here = (Get-Location).Path -replace '\\','/'
$edgeData = "$env:TEMP\blax-art-edge-defaults"
& $edge --headless=new --disable-gpu --hide-scrollbars --user-data-dir="$edgeData" --virtual-time-budget=3000 --window-size=1280,720 --screenshot="$PWD\..\..\About\Preview.png" "file:///$here/preview.html" | Out-Null
& $edge --headless=new --disable-gpu --hide-scrollbars --user-data-dir="$edgeData" --virtual-time-budget=2000 --window-size=256,256 --default-background-color=00000000 --screenshot="$PWD\..\..\About\ModIcon.png" "file:///$here/icon.html" | Out-Null

Preview.png must stay under 1 MB, the Workshop's limit for a preview image; it renders at about 90 KB.

Workshop page art

The Steam description (docs/workshop-description.txt) shows one header per section and the Open Source Initiative banner at the end.

& $edge --headless=new --disable-gpu --hide-scrollbars --user-data-dir="$edgeData" --virtual-time-budget=3000 --window-size=1600,254 --screenshot="$PWD\..\..\docs\art\blax-oss-banner.png" "file:///$here/oss-banner.html" | Out-Null
& $edge --headless=new --disable-gpu --hide-scrollbars --user-data-dir="$edgeData" --virtual-time-budget=3000 --window-size=1270,150 --screenshot="$PWD\..\..\docs\art\steam\storage.png" "file:///$here/header.html?t=Storage&s=New%20stockpiles%20and%20shelves%20start%20from%20your%20default&i=warehouse" | Out-Null
& $edge --headless=new --disable-gpu --hide-scrollbars --user-data-dir="$edgeData" --virtual-time-budget=3000 --window-size=1270,150 --screenshot="$PWD\..\..\docs\art\steam\bills.png" "file:///$here/header.html?t=Bills&s=Values%20every%20new%20bill%20starts%20with&i=scroll-text" | Out-Null
& $edge --headless=new --disable-gpu --hide-scrollbars --user-data-dir="$edgeData" --virtual-time-budget=3000 --window-size=1270,150 --screenshot="$PWD\..\..\docs\art\steam\forbid.png" "file:///$here/header.html?t=Forbid%20rules&s=What%20stays%20forbidden%20when%20pawns%20go%20down%2C%20die%20or%20are%20stripped&i=sliders" | Out-Null
& $edge --headless=new --disable-gpu --hide-scrollbars --user-data-dir="$edgeData" --virtual-time-budget=3000 --window-size=1270,150 --screenshot="$PWD\..\..\docs\art\steam\file.png" "file:///$here/header.html?t=Your%20defaults%20stay&s=Their%20own%20file%2C%20a%20backup%20and%20a%20settings%20page&i=save" | Out-Null
& $edge --headless=new --disable-gpu --hide-scrollbars --user-data-dir="$edgeData" --virtual-time-budget=3000 --window-size=1270,150 --screenshot="$PWD\..\..\docs\art\steam\planned.png" "file:///$here/header.html?t=Planned&s=Coming%20in%20later%20releases&i=milestone" | Out-Null
& $edge --headless=new --disable-gpu --hide-scrollbars --user-data-dir="$edgeData" --virtual-time-budget=3000 --window-size=1270,150 --screenshot="$PWD\..\..\docs\art\steam\replaces.png" "file:///$here/header.html?t=Replaces&s=Mods%20you%20can%20unsubscribe&i=replace" | Out-Null
& $edge --headless=new --disable-gpu --hide-scrollbars --user-data-dir="$edgeData" --virtual-time-budget=3000 --window-size=1270,150 --screenshot="$PWD\..\..\docs\art\steam\compatibility.png" "file:///$here/header.html?t=Compatibility&s=Other%20mods%20and%20where%20they%20overlap&i=puzzle" | Out-Null
Header t s i
storage.png Storage New stockpiles and shelves start from your default warehouse
bills.png Bills Values every new bill starts with scroll-text
forbid.png Forbid rules What stays forbidden when pawns go down, die or are stripped sliders
file.png Your defaults stay Their own file, a backup and a settings page save
planned.png Planned Coming in later releases milestone
replaces.png Replaces Mods you can unsubscribe replace
compatibility.png Compatibility Other mods and where they overlap puzzle

The Steam page loads these images from the Blax CDN (https://cdn.blax.at/blax-gaming/), not from Forgejo: Steam requests description images cross-origin, and only the CDN answers with Access-Control-Allow-Origin. The banner is shared by every Blax Gaming mod and already lives at blax-gaming/blax-oss-banner.png. After re-rendering, copy the PNGs to blax-gaming/defaults/ on the CDN; the upload steps are in Blax's internal infrastructure docs.