feat: Workshop page and art
Preview, mod icon with the sliders badge, six Steam section headers, the Workshop description and a clip shot list.
|
|
@ -7,3 +7,4 @@ Tests/**/bin/
|
|||
Tests/**/obj/
|
||||
Tools/**/bin/
|
||||
Tools/**/obj/
|
||||
docs/media/raw/
|
||||
|
|
|
|||
|
|
@ -18,26 +18,27 @@
|
|||
<loadAfter>
|
||||
<li>brrainz.harmony</li>
|
||||
</loadAfter>
|
||||
<description>Starting settings for storage, bills, crops, buildings, animals and mechs.
|
||||
|
||||
Colonists, slaves and prisoners: Blax Castes.
|
||||
|
||||
Tune one stockpile, shelf or bill, click "Make default", and every new one you make starts like it. Nothing changes until you save a default, existing things are never touched, and nothing goes into your save. Works with any DLC combination, core only included.
|
||||
<description>Your own starting settings for new stockpiles, shelves and bills. Set up one shelf, click "Make default for new shelves", and every new shelf starts like it. Nothing changes until you save a default, and the things you already have keep their settings. Works with any DLC combination, core only included; 1.0 needs no DLC. Colonists, slaves and prisoners: Blax Castes.
|
||||
|
||||
<color=#19C63C>Storage</color>
|
||||
- New stockpiles, dumping stockpiles, shelves, bookcases, hoppers, fridges and weapon racks start with the filter and priority you saved.
|
||||
- A "Defaults" button in the storage tab: make default, load your default, load the game's default, forget.
|
||||
- One click makes new shelves start empty at Normal, and they stay empty when you add mods.
|
||||
- New stockpiles and dumping stockpiles start with the filter and priority you saved for that type.
|
||||
- New shelves, small shelves, bookcases and hoppers start with your default from the moment you place the blueprint, and so does modded storage built the same way, such as the racks from Weapon Racks.
|
||||
- A "Defaults" button in the storage tab: "Make default for new shelves", "Load your default", "Load the game's default" and "Forget the default for new shelves".
|
||||
- "New shelves start empty at Normal" on the settings page lists your storage buildings with general-purpose shelves ticked, and Confirm saves an empty default at Normal for each ticked one. Hoppers, bookcases and kinds that already have a default start unticked.
|
||||
- Ruins, map generation and trader stock keep the game's settings.
|
||||
|
||||
<color=#19C63C>Bills</color>
|
||||
- Values for every new bill: repeat mode, count and target, pause and resume, ingredient radius, skill range, drop on floor or best stockpile, and the counting options.
|
||||
- Surgery bills and pasted bills are never touched.
|
||||
- Values for every new bill: repeat mode, count and target, pause when satisfied and resume at, ingredient radius, allowed skill range, where products go (best stockpile or drop on floor), and the counting options.
|
||||
- Only the values you change are applied. Surgery, mech gestation, pasted bills and the bills you already have are left alone.
|
||||
|
||||
<color=#19C63C>Your defaults stay</color>
|
||||
- Defaults live in their own file, shared by every save, with a backup that a broken file never overwrites.
|
||||
- Names from a mod you removed are skipped, not lost, and work again when the mod comes back.
|
||||
- Defaults live in their own file in the game's Config folder, shared by every save. Nothing goes into your save, so you can add or remove the mod in a running colony.
|
||||
- Each write is checked before it replaces the file, with a backup that a broken file never overwrites.
|
||||
- Items from a mod you removed are skipped, not lost, and work again when the mod comes back.
|
||||
- The settings page lists every default with Edit and Forget, and names mods that set the same things.
|
||||
|
||||
Planned for later releases: rules for what stays forbidden when pawns go down or die (1.1), more storage, recipe and workbench bills (1.2), animals (1.3), crops and building settings (1.4), mech work modes (1.5, needs Biotech).
|
||||
|
||||
Multiplayer: not supported yet.
|
||||
|
||||
<color=#19C63C>Made by Blax</color>
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 86 KiB |
130
README.md
|
|
@ -1,29 +1,125 @@
|
|||

|
||||
|
||||
# Blax Defaults
|
||||
|
||||
[](https://rimworldgame.com)
|
||||
[](https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077)
|
||||
[](docs/design.md)
|
||||
[](CHANGELOG.md)
|
||||
[](#dlc-support)
|
||||
|
||||
RimWorld 1.7 mod (Blax Gaming): starting settings for storage, bills, crops, buildings, animals and mechs. 1.0 (storage, bill values and the defaults file) is built and not released yet; the later releases are designed, not built. Needs Harmony. Tune one stockpile, shelf, bill, crop, building or animal, click "Make default", and every new one you make starts like it. Nothing changes until you save a default, existing things are never touched, and nothing goes into your save. Colonists, slaves and prisoners: Blax Castes. Each feature names the release it comes in.
|
||||
RimWorld mod (1.7) from Blax Gaming: your own starting settings for new stockpiles, shelves and bills. Set up one shelf, click "Make default for new shelves", and every new shelf starts like it. Nothing changes until you save a default, the things you already have keep their settings, and nothing goes into your save, so the mod can be added to or removed from a running colony. Needs Harmony. Works with any DLC combination, core only included. Colonists, slaves and prisoners are Blax Castes' job; Blax Defaults never changes a pawn.
|
||||
|
||||
- 📦 **Storage (1.0).** New stockpiles, dumping stockpiles, shelves, bookcases, hoppers, fridges and weapon racks start with the filter and priority you saved, from a "Defaults" button in the storage tab. One click makes new shelves start empty at Normal, and they stay empty when you add mods.
|
||||
- 📜 **Values for every new bill (1.0).** Ingredient radius, drop on floor, repeat mode and the other bill values a new bill starts with.
|
||||
- 💾 **A defaults file that keeps (1.0).** Defaults live in their own file, shared by every save, with a backup that a broken file never overwrites. Names from a mod you removed are skipped, not lost.
|
||||
- ⚰️ **More storage (1.1).** Graves, sarcophagi, mortars, growth vats, biosculpter pods and modded storage start from your default too.
|
||||
- 🧾 **Recipe and workbench bills (1.1).** Defaults per recipe from the bill window, and the bills a new workbench comes with.
|
||||
- 🐕 **Animals (1.2).** Per species: area, follow flags and training when an animal joins. Born animals copy their mother. Auto-slaughter limits for a species you own for the first time and for every new colony map.
|
||||
- 🦴 **Corpses (1.2).** Optionally keep corpses outside the home area allowed: animals, enemies, everyone else.
|
||||
- 🔧 **Mech auto-repair (1.2).** Per kind (Biotech), on or off for new mechs.
|
||||
- 🌱 **Growers (1.3).** New growing zones and hydroponics basins start with your crop, if it can grow there.
|
||||
- 🚪 **Buildings (1.3).** New doors, tables, traps, heaters, coolers and lamps start with your hold-open, gather spot, rearm, temperature and colour, per building or for every door, lamp, heater or cooler.
|
||||
- 🛡️ **Dropped gear (1.3).** Optionally stop the game forbidding your own dropped gear and enemy gear, in the home area or anywhere.
|
||||
- 🤖 **Mech work modes (1.4).** Per kind (Biotech): the work mode of the control group a new mech joins, and its area.
|
||||
## Features
|
||||
|
||||
Works with any DLC combination, core only included. Only these need a DLC and switch off without it: growth vats (Biotech), biosculpter pods (Ideology), "slaves only" (Ideology), "mechs only" and "non-mechs only" (Biotech) in recipe defaults, and mech auto-repair and work modes (Biotech).
|
||||
### Storage
|
||||
|
||||
Not supported yet: multiplayer. Anomaly corpse stockpiles and Odyssey fishing zones are not covered.
|
||||
- 📦 **New stockpiles start from your default.** Drag a stockpile or a dumping stockpile and it gets the filter and priority you saved for that type. A modded stockpile designator that subclasses the vanilla one shows up as a type of its own; its default applies only when the designator runs the vanilla zone maker, which no test covers with a real mod yet. An Expand drag that grows a zone leaves its filter alone. `Source/BlaxDefaults/StockpileHooks.cs`
|
||||
- 🗄️ **New storage buildings start from your default.** Shelves, small shelves, bookcases and hoppers, and modded storage with a storage blueprint such as the racks from Weapon Racks, get your default from the moment the blueprint is placed. Changes you make on the blueprint still win. A shelf or hopper that auto-rebuild puts back keeps its old settings; a rebuilt bookcase starts from your default. Ruins, map generation, trader stock and things spawned without a blueprint keep the game's settings, and a default never makes a building take items it can't hold. `Source/BlaxDefaults/StorageBuildingHooks.cs`
|
||||
- 🔘 **"Defaults" button in the storage tab** of stockpiles and covered storage buildings, or a small icon where the tab has no priority button: "Make default for new shelves", "Load your default", "Load the game's default" and "Forget the default for new shelves", which asks first. On a stockpile each entry opens a menu of stockpile types. On linked shelves it reads and writes the group's settings. The tooltip says whether new ones start from your default. `Source/BlaxDefaults/StorageTabButton.cs`, `StorageDefaultsMenu.cs`
|
||||
- 🧹 **Quick setup.** The settings page button "New shelves start empty at Normal" lists every covered storage building with a checkbox. General-purpose shelves are ticked; hoppers, bookcases and storage limited to one kind of item start unticked, and kinds that already have a default are marked and start unticked. Confirming saves an empty default at Normal for each ticked kind, one that also refuses items mods add later. `Source/BlaxDefaults/QuickSetup.cs`
|
||||
- A storage default stores every item it allows and every item it refuses, plus a rule for items it lists in neither: follow the game's default (what "Make default" saves), refuse them or allow them. `Source/BlaxDefaults/StorageTemplate.cs`
|
||||
|
||||
Design and roadmap: `docs/design.md`.
|
||||
### Bills
|
||||
|
||||
- 📜 **Values for every new bill:** repeat mode, count, target, pause when satisfied and resume at, ingredient radius, allowed skill range, where products go (best stockpile or drop on floor), count equipped, count tainted, and the hit points and quality ranges used for counting. Each value starts at "Game's default", and only values you change are applied. "Do until you have X" falls back to "do X times" where the bill can't count its products. `Source/BlaxDefaults/BillDefaults.cs`
|
||||
- 🩺 Surgery, mech gestation, mech resurrection and forming bills, pasted bills and loaded bills are never touched.
|
||||
|
||||
### Your defaults stay
|
||||
|
||||
- 📁 **One file for every save.** Defaults live in `Config/BlaxDefaults/Defaults.xml` in the game's save data folder, shared by every save, never in a save or in the mod settings. Every write goes to a temporary file first, is read back and checked, and only then replaces the file, with the previous version kept as `Defaults.xml.bak`. A file that fails to load is kept as a broken copy under its own name and never rotated into the backup; the backup loads instead, and the settings page says so. A file from a newer version is read but never overwritten. `Source/BlaxDefaults/DefaultsFile.cs`
|
||||
- 🔌 **Removed a mod?** Names from a mod or DLC that is not active stay in the file, are skipped and counted on the settings page, and work again when the mod comes back.
|
||||
- 📋 **Settings page** (Mod settings > Blax Defaults): the master switch "Apply saved defaults to new things", a status line, and the sections Stockpiles, Storage buildings and Every new bill, each with its own switch. Every saved default has a row saying what it sets, with Edit and Forget; Forget asks first. Edit opens the item filter with the priority and the rule for unlisted items. It all works from the main menu. `Source/BlaxDefaults/SettingsPage.cs`
|
||||
- ⚠️ **Overlap warnings.** The settings page names active mods that set the same starting settings, and the first game loaded in a session opens a window listing them, with "Don't remind me" per mod. `Source/BlaxDefaults/OverlapWarnings.cs`
|
||||
|
||||
### Planned
|
||||
|
||||
Designed, not built yet (details and the release table in `docs/design.md`):
|
||||
|
||||
- 1.1: forbid rules. When your colonists, slaves, prisoners or enemies go down or die, what the game forbids is allowed again if it matches a filter with hit points and quality ranges, once the fight is over. For example enemy weapons and apparel only at 50 to 100% and Normal or better, their food, medicine, drugs and silver always. Stripping can forbid what doesn't match. Corpses outside the home area can stay allowed. Every rule ships off; neutral visitors and traders keep the game's rules.
|
||||
- 1.2: graves, sarcophagi, mortars, growth vats (Biotech), biosculpter pods (Ideology) and other storage; defaults per recipe from the bill window; the bills a new workbench comes with.
|
||||
- 1.3: animals per species (area, follow flags, training), born animals copy their mother, auto-slaughter limits; auto-repair for new mechs (Biotech).
|
||||
- 1.4: crops for new growing zones and hydroponics basins; settings for new doors, tables, traps, heaters, coolers and lamps.
|
||||
- 1.5: mech work modes and areas (Biotech).
|
||||
|
||||
### DLC support
|
||||
|
||||
Blax Defaults works with any combination of DLCs, core only included, and lists none as a dependency. 1.0 needs no DLC for any feature.
|
||||
|
||||
- The defaults file is shared by every DLC set. A DLC item inside a default, such as wastepack in a dumping stockpile default saved with Biotech, is skipped while that DLC is off, counted with the names from inactive mods, and works again when the DLC is back.
|
||||
- A save made with a DLC loads without it: Blax Defaults keeps nothing in the save, and the vanilla fields it wrote are the game's to load.
|
||||
- Not covered: Anomaly's corpse stockpile, Odyssey's fishing zones and gravship stockpiles. They keep the game's settings.
|
||||
|
||||
### Compatibility
|
||||
|
||||
Replaces, so you can unsubscribe them (the settings page names them while they are active):
|
||||
|
||||
- ♻️ [FSF] No Default Shelf Storage: the quick setup empties new shelves per kind and leaves hoppers and single-purpose storage alone.
|
||||
- ♻️ Default Ingredient Radius and Default Bill Ingredient Radius: "Ingredient radius" under Every new bill.
|
||||
|
||||
Overlaps, named by the overlap warning:
|
||||
|
||||
- ⚠️ 1trickPwnyta's Defaults and Set my Defaults set starting settings for stockpiles and shelves too, and 1trickPwnyta's sets values for every new bill. Blax Defaults 1.0 covers those, so set each in one mod. Their bill lists per recipe or per workbench are not in 1.0 (planned for 1.1), so keep those mods for that and for their other defaults. The unofficial Defaults 1.7 repack is not detected yet.
|
||||
- ⚠️ [FSF] FrozenSnowFox Tweaks: its "No Default Storage Settings" option empties the starting filter of storage buildings, like the quick setup. Use one of the two.
|
||||
- ⚠️ Better Workbench Management sets where the products of new bills go. Set that in one mod only.
|
||||
|
||||
Works next to:
|
||||
|
||||
- ✔️ Weapon Racks: its racks get defaults like shelves; the quick setup leaves them unticked.
|
||||
- ✔️ RimFridge (no 1.7 build yet, loads its 1.6 files): its fridges are covered storage kinds. The quick setup leaves them unticked, because RimFridge makes fridges act as hoppers.
|
||||
- ✔️ Replace Stuff: replacing a shelf's material keeps its settings.
|
||||
- ✔️ Preset Filtered Zones: its zones keep their preset filters and show no Defaults button.
|
||||
- 🧩 Other Blax mods: Blax Castes handles colonists, slaves and prisoners. Blax Slaves and Blax Zones don't overlap with Blax Defaults; Zones' delivery zones keep their own tab and get no Defaults button. Load order between them doesn't matter.
|
||||
- ❌ Multiplayer: not supported yet (the defaults file differs per player).
|
||||
|
||||
## Development
|
||||
|
||||
The repo is the mod folder. Link it into the game with a directory junction, run from the repo root (adjust the RimWorld path):
|
||||
|
||||
```powershell
|
||||
New-Item -ItemType Junction -Path "E:\SteamLibrary\steamapps\common\RimWorld\Mods\BlaxDefaults" -Target (Get-Location).Path
|
||||
```
|
||||
|
||||
Build (needs the .NET 10 SDK; output goes to `1.7/Assemblies/BlaxDefaults.dll`):
|
||||
|
||||
```powershell
|
||||
dotnet build Source\BlaxDefaults\BlaxDefaults.csproj -c Release
|
||||
```
|
||||
|
||||
`RimWorldDir` and `HarmonyDir` in the csproj point at the Steam install and the Harmony mod; override them with `-p:RimWorldDir=...` elsewhere.
|
||||
|
||||
### Tests
|
||||
|
||||
`Tests/BlaxDefaultsTests` is a separate test mod. `Tests/run-tests.ps1` builds both projects and starts RimWorld headless with its own save data folder in `%TEMP%\BlaxDefaultsTest`, so your mod list, saves, settings and defaults file stay untouched. Every run starts with an empty defaults library. The suite saves and reloads the game, checks that the save holds nothing of Blax Defaults, writes `BlaxDefaultsTestResults.txt` and quits. It needs Steam running.
|
||||
|
||||
```powershell
|
||||
.\Tests\run-tests.ps1
|
||||
.\Tests\run-tests.ps1 -NoDlc
|
||||
.\Tests\run-tests.ps1 -Dlc Royalty,Biotech
|
||||
.\Tests\run-tests.ps1 -Compat
|
||||
```
|
||||
|
||||
A release runs all 8 combinations of Royalty, Ideology and Biotech. Each run also leaves a copy of the results per DLC set next to the results file: `BlaxDefaultsTestResults.all.txt` (every installed DLC), `.nodlc.txt` or `.dlc-<names>.txt`. The Workshop upload checks the `all` and `nodlc` copies. `-Compat` also loads the installed mods Blax Defaults is tested next to (the list is at the top of `run-tests.ps1`). Exit code 0 means all passed, 1 failures, 2 the run didn't finish.
|
||||
|
||||
### Workshop art
|
||||
|
||||
`Source/Art/` renders the preview, the mod icon and the Workshop section headers; `Source/Art/README.md` has the commands. The Workshop description is `docs/workshop-description.txt` (Steam BBCode), and `docs/workshop-media.md` lists the in-game clips worth recording.
|
||||
|
||||
### Workshop upload
|
||||
|
||||
`Tools/workshop-upload.ps1` creates or updates the Workshop item from the command line. A small tool (`Tools/WorkshopUpload`) uses the Steamworks.NET build and `steam_api64.dll` that ship with RimWorld and attaches to the running, logged-in Steam client as RimWorld, so it needs no password, no game window and no dev mode. Name, package id, version and supported versions come from `About/About.xml`.
|
||||
|
||||
```powershell
|
||||
.\Tools\workshop-upload.ps1 # dry run: build, stage, check the Steam login and ownership
|
||||
.\Tools\workshop-upload.ps1 -Check # release check: lists everything -Publish would refuse
|
||||
.\Tools\workshop-upload.ps1 -Publish # upload
|
||||
.\Tools\workshop-upload.ps1 -Publish -DescriptionFile docs\workshop-description.txt # also replace the description
|
||||
```
|
||||
|
||||
Without `About/PublishedFileId.txt`, `-Publish` creates a new item. It writes the new id to `About/PublishedFileId.txt` right away, before the content upload, so a failed upload is retried as an update and never makes a second item. After a successful upload it writes `Tools/workshop-published.txt`. Commit both files. A new item needs a description: until something has been published from here, the script takes `docs/workshop-description.txt` by default. `-Visibility public|friends|private|unlisted` sets who sees the item; left out, a new item gets Steam's default.
|
||||
|
||||
It stages only what players need (About, 1.7, Defs, Patches, Languages, Textures, Sounds) in `%TEMP%`, sets the tags the game would (Mod plus the supported versions), and writes every CHANGELOG.md entry since the version in `Tools/workshop-published.txt` as the change note. The title is About.xml's name and the preview is `About/Preview.png`, set on every upload like the in-game uploader does. `-Publish` refuses unless the shipped files are committed and pushed, the top CHANGELOG entry matches `modVersion`, `About/Preview.png` is under 1 MB, and two test runs passed after the last build: one with every installed DLC and one with `-NoDlc` (the `all` and `nodlc` result copies, see Tests). `-Check` runs every `-Publish` check and the dry run and lists each problem; exit code 0 means none. The in-game route still works: `Tools/workshop-stage.ps1` swaps the junction for a clean copy, upload from Mods > Blax Defaults > Advanced... > Upload to Steam Workshop (dev mode), then `workshop-stage.ps1 -Done` copies `About/PublishedFileId.txt` back into the repo.
|
||||
|
||||
The Workshop description is `docs/workshop-description.txt` (Steam BBCode, at most 8000 bytes); `-DescriptionOnly -DescriptionFile docs\workshop-description.txt` replaces just the text, with no build, no content upload and no change note. Steam loads description images as cross-origin requests, so every `[img]` host must send an `Access-Control-Allow-Origin` header or the image shows broken; the script checks each one and `-Publish` refuses otherwise. Forgejo's raw URLs send no such header, so the Steam images are served from `cdn.blax.at/blax-gaming/`, which does. The section headers must be on `cdn.blax.at/blax-gaming/defaults/` before `-Publish` passes. Every forgejo.blax.at link in the description must also open without a login, so the repo has to be public first. `Source/Art/README.md` has the render commands.
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,48 @@
|
|||
# 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.
|
||||
|
||||
```powershell
|
||||
$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.
|
||||
|
||||
```powershell
|
||||
& $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\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 |
|
||||
| `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.
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
<svg width="980" height="980" viewBox="0 0 980 980" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_477_24)">
|
||||
<circle cx="474.5" cy="474.5" r="474.5" fill="#CDCDCD"/>
|
||||
<circle cx="475" cy="474" r="352" stroke="black" stroke-width="96"/>
|
||||
<path d="M475 226L405 651.616L474.5 778L545 651.616L475 226Z" fill="black"/>
|
||||
<path d="M385 226L475 306L565 226H385Z" fill="black"/>
|
||||
<path d="M875 226H99L131.5 179.542L169.5 139.031L253.5 84.0246L475 45L715 98.1478L875 226Z" fill="#CDCDCD"/>
|
||||
<rect x="287" y="226" width="13" height="13" fill="#CDCDCD"/>
|
||||
<rect x="650" y="226" width="13" height="13" fill="#CDCDCD"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_477_24">
|
||||
<rect width="980" height="980" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 740 B |
|
|
@ -0,0 +1,50 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<!-- Section header for the Workshop page, 1270x150 (shown at half size). Parameters: ?t=Title&s=Subtitle&i=icon -->
|
||||
<style>
|
||||
@font-face { font-family: Geist; src: url(fonts/geist.woff2) format("woff2"); font-weight: 100 900; }
|
||||
@font-face { font-family: Inter; src: url(fonts/inter.woff2) format("woff2"); font-weight: 100 900; }
|
||||
:root {
|
||||
--background: #050805;
|
||||
--accent: #19C63C;
|
||||
--heading: oklch(98% .008 145);
|
||||
--muted-foreground: oklch(75% .015 145);
|
||||
--border: oklch(30% .016 145);
|
||||
}
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
html, body { width: 1270px; height: 150px; background: var(--background); overflow: hidden; }
|
||||
body { font-family: Inter, sans-serif; display: flex; align-items: center; gap: 32px; padding: 0 56px; border-bottom: 4px solid var(--accent); }
|
||||
svg.icon { width: 64px; height: 64px; flex: none; color: var(--accent); }
|
||||
h1 { font-family: Geist, sans-serif; font-weight: 600; font-size: 54px; line-height: 1; letter-spacing: -0.035em; color: var(--heading); }
|
||||
p { margin-top: 10px; font-size: 25px; line-height: 1.2; color: var(--muted-foreground); }
|
||||
.mark { margin-left: auto; width: 52px; height: 52px; opacity: .35; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<svg class="icon" viewBox="0 0 24 24" id="icon"></svg>
|
||||
<div><h1 id="t"></h1><p id="s"></p></div>
|
||||
<img class="mark" src="blax-monogram.svg" alt="">
|
||||
<script>
|
||||
// lucide icons (ISC license), from api.iconify.design/lucide
|
||||
const icons = {
|
||||
coins: '<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M13.744 17.736a6 6 0 1 1-7.48-7.48M15 6h1v4"/><path d="m6.134 14.768l.866-.5l2 3.464"/><circle cx="16" cy="8" r="6"/></g>',
|
||||
flame: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0a5 5 0 0 1 1-3a1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4"/>',
|
||||
sliders: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 5H3m9 14H3M14 3v4m2 10v4m5-9h-9m9 7h-5m5-14h-7m-6 5v4m0-2H3"/>',
|
||||
replace: '<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M14 4a1 1 0 0 1 1-1m0 7a1 1 0 0 1-1-1m7-5a1 1 0 0 0-1-1m1 6a1 1 0 0 1-1 1M3 7l3 3l3-3"/><path d="M6 10V5a2 2 0 0 1 2-2h2"/><rect width="7" height="7" x="3" y="14" rx="1"/></g>',
|
||||
puzzle: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.39 4.39a1 1 0 0 0 1.68-.474a2.5 2.5 0 1 1 3.014 3.015a1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474a2.5 2.5 0 1 0-3.014 3.015a1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474a2.5 2.5 0 1 1-3.014-3.015a1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474a2.5 2.5 0 1 0 3.014-3.015a1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z"/>',
|
||||
layers: '<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z"/><path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12"/><path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17"/></g>',
|
||||
map: '<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M18 8c0 3.613-3.869 7.429-5.393 8.795a1 1 0 0 1-1.214 0C9.87 15.429 6 11.613 6 8a6 6 0 0 1 12 0"/><path d="M4.474 15h-.197a1 1 0 0 0-.969.753l-1.097 4.35a1.5 1.5 0 0 0 1.444 1.898L20.344 22a1.5 1.5 0 0 0 1.446-1.897l-1.098-4.35a1 1 0 0 0-.969-.753h-.197"/><circle cx="12" cy="8" r="2"/></g>',
|
||||
warehouse: '<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M18 21V10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v11"/><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 1.132-1.803l7.95-3.974a2 2 0 0 1 1.837 0l7.948 3.974A2 2 0 0 1 22 8zM6 13h12M6 17h12"/></g>',
|
||||
'scroll-text': '<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M15 12h-5m5-4h-5m9 9V5a2 2 0 0 0-2-2H4"/><path d="M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3"/></g>',
|
||||
save: '<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z"/><path d="M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7M7 3v4a1 1 0 0 0 1 1h7"/></g>',
|
||||
milestone: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 13v8m0-18v3m6.172 0a2 2 0 0 1 1.414.586l2.06 2.06a1.207 1.207 0 0 1 0 1.708l-2.06 2.06a2 2 0 0 1-1.414.586H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1z"/>'
|
||||
};
|
||||
const q = new URLSearchParams(location.search);
|
||||
document.getElementById('t').textContent = q.get('t') || 'Title';
|
||||
document.getElementById('s').textContent = q.get('s') || '';
|
||||
document.getElementById('icon').innerHTML = icons[q.get('i')] || '';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<!doctype html>
|
||||
<html><head><meta charset="utf-8"><style>
|
||||
html, body { margin: 0; width: 256px; height: 256px; background: transparent; overflow: hidden; }
|
||||
img { display: block; width: 256px; height: 256px; }
|
||||
</style></head>
|
||||
<body><img src="icon.svg" alt=""></body></html>
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
<svg width="256" height="256" viewBox="0 0 256 256" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<!-- transparent gap between the monogram and the badge, so it works on any background -->
|
||||
<mask id="gap">
|
||||
<rect width="256" height="256" fill="white"/>
|
||||
<circle cx="204" cy="204" r="59" fill="black"/>
|
||||
</mask>
|
||||
</defs>
|
||||
<!-- Blax monogram, 200 px wide, top left -->
|
||||
<g mask="url(#gap)">
|
||||
<g transform="scale(0.210748)">
|
||||
<circle cx="474.5" cy="474.5" r="474.5" fill="#CDCDCD"/>
|
||||
<circle cx="475" cy="474" r="352" stroke="black" stroke-width="96"/>
|
||||
<path d="M475 226L405 651.616L474.5 778L545 651.616L475 226Z" fill="black"/>
|
||||
<path d="M385 226L475 306L565 226H385Z" fill="black"/>
|
||||
<path d="M875 226H99L131.5 179.542L169.5 139.031L253.5 84.0246L475 45L715 98.1478L875 226Z" fill="#CDCDCD"/>
|
||||
<rect x="287" y="226" width="13" height="13" fill="#CDCDCD"/>
|
||||
<rect x="650" y="226" width="13" height="13" fill="#CDCDCD"/>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Defaults badge: lucide "sliders-horizontal" (ISC license) on Blax green -->
|
||||
<circle cx="204" cy="204" r="52" fill="#19C63C"/>
|
||||
<g transform="translate(204 204) scale(3) translate(-12 -12)" stroke="#050805" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path d="M10 5H3m9 14H3M14 3v4m2 10v4m5-9h-9m9 7h-5m5-14h-7m-6 5v4m0-2H3"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
|
|
@ -0,0 +1,16 @@
|
|||
<svg width="256" height="256" viewBox="0 0 949 949" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_477_24)">
|
||||
<circle cx="474.5" cy="474.5" r="474.5" fill="#CDCDCD"/>
|
||||
<circle cx="475" cy="474" r="352" stroke="black" stroke-width="96"/>
|
||||
<path d="M475 226L405 651.616L474.5 778L545 651.616L475 226Z" fill="black"/>
|
||||
<path d="M385 226L475 306L565 226H385Z" fill="black"/>
|
||||
<path d="M875 226H99L131.5 179.542L169.5 139.031L253.5 84.0246L475 45L715 98.1478L875 226Z" fill="#CDCDCD"/>
|
||||
<rect x="287" y="226" width="13" height="13" fill="#CDCDCD"/>
|
||||
<rect x="650" y="226" width="13" height="13" fill="#CDCDCD"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_477_24">
|
||||
<rect width="980" height="980" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 740 B |
|
|
@ -0,0 +1,13 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<!-- Renders docs/art/blax-oss-banner.svg (Blax Software's Open Source Initiative banner) as a PNG for the Steam page, which shows no SVG. -->
|
||||
<style>
|
||||
* { margin: 0; padding: 0; }
|
||||
html, body { width: 1600px; height: 254px; background: #fff; overflow: hidden; }
|
||||
img { display: block; width: 1600px; height: 254px; object-fit: cover; }
|
||||
</style>
|
||||
</head>
|
||||
<body><img src="../../docs/art/blax-oss-banner.svg" alt=""></body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,76 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<style>
|
||||
@font-face { font-family: Geist; src: url(fonts/geist.woff2) format("woff2"); font-weight: 100 900; }
|
||||
@font-face { font-family: Inter; src: url(fonts/inter.woff2) format("woff2"); font-weight: 100 900; }
|
||||
@font-face { font-family: Rajdhani; src: url(fonts/rajdhani-700.woff2) format("woff2"); font-weight: 700; }
|
||||
:root {
|
||||
--background: #050805; /* Blax black */
|
||||
--accent: #19C63C; /* Blax green */
|
||||
--logo-gray: #CDCDCD;
|
||||
--heading: oklch(98% .008 145);
|
||||
--foreground: oklch(97% .01 145);
|
||||
--muted-foreground: oklch(75% .015 145);
|
||||
--border: oklch(30% .016 145);
|
||||
}
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
html, body { width: 1280px; height: 720px; background: var(--background); overflow: hidden; }
|
||||
body { font-family: Inter, sans-serif; color: var(--foreground); position: relative; }
|
||||
|
||||
.top { position: absolute; left: 72px; right: 72px; top: 52px; display: flex; align-items: center; justify-content: space-between; }
|
||||
.brand { display: flex; align-items: center; gap: 16px; }
|
||||
.brand img { width: 56px; height: 56px; }
|
||||
.wordmark { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -0.01em; color: var(--heading); }
|
||||
.wordmark span { color: var(--accent); }
|
||||
|
||||
/* "Defaults" is two letters longer than "Slaves" and "Castes", so the hero is 172 px instead of 178 to stay clear of the right column. */
|
||||
.hero { position: absolute; left: 72px; top: 158px; width: 660px; }
|
||||
h1 { font-family: Geist, sans-serif; font-weight: 600; font-size: 172px; line-height: .9; letter-spacing: -0.045em; color: var(--heading); }
|
||||
.sub { margin-top: 26px; font-family: Geist, sans-serif; font-weight: 600; font-size: 46px; line-height: 1; letter-spacing: -0.03em; color: var(--accent); }
|
||||
.lede { margin-top: 18px; font-size: 23px; line-height: 1.4; color: var(--muted-foreground); max-width: 600px; }
|
||||
|
||||
.features { position: absolute; left: 760px; right: 72px; top: 150px; bottom: 56px; display: flex; flex-direction: column; border-left: 1px solid var(--border); }
|
||||
.feature { flex: 1; display: flex; align-items: center; gap: 24px; padding-left: 40px; border-top: 1px solid var(--border); }
|
||||
.feature:first-child { border-top: 0; }
|
||||
.feature svg { width: 40px; height: 40px; flex: none; color: var(--accent); }
|
||||
.feature h2 { font-family: Geist, sans-serif; font-weight: 600; font-size: 31px; line-height: 1.05; letter-spacing: -0.03em; color: var(--heading); }
|
||||
.feature p { margin-top: 6px; font-size: 19px; line-height: 1.35; color: var(--muted-foreground); }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="top">
|
||||
<div class="brand">
|
||||
<img src="blax-monogram.svg" alt="">
|
||||
<div class="wordmark">Blax <span>Gaming</span></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="hero">
|
||||
<h1>Blax<br>Defaults</h1>
|
||||
<div class="sub">for RimWorld 1.7</div>
|
||||
<p class="lede">Set up one stockpile, shelf or bill.<br>Every new one starts like it.</p>
|
||||
</div>
|
||||
|
||||
<!-- lucide icons (ISC license): warehouse, scroll-text, brush-cleaning, save -->
|
||||
<div class="features">
|
||||
<div class="feature">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 21V10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v11"/><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 1.132-1.803l7.95-3.974a2 2 0 0 1 1.837 0l7.948 3.974A2 2 0 0 1 22 8zM6 13h12M6 17h12"/></svg>
|
||||
<div><h2>Stockpiles and shelves</h2><p>New ones get your filter and priority.</p></div>
|
||||
</div>
|
||||
<div class="feature">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 12h-5m5-4h-5m9 9V5a2 2 0 0 0-2-2H4"/><path d="M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3"/></svg>
|
||||
<div><h2>Every new bill</h2><p>Radius, repeat mode, drop on floor.</p></div>
|
||||
</div>
|
||||
<div class="feature">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m16 22l-1-4m4-4a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2h-3a1 1 0 0 1-1-1V4a2 2 0 0 0-4 0v5a1 1 0 0 1-1 1H6a2 2 0 0 0-2 2v1a1 1 0 0 0 1 1"/><path d="M19 14H5l-1.973 6.767A1 1 0 0 0 4 22h16a1 1 0 0 0 .973-1.233zM8 22l1-4"/></svg>
|
||||
<div><h2>Empty new shelves</h2><p>One click, hoppers left out.</p></div>
|
||||
</div>
|
||||
<div class="feature">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z"/><path d="M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7M7 3v4a1 1 0 0 0 1 1h7"/></svg>
|
||||
<div><h2>Nothing in your save</h2><p>A file of its own, with a backup.</p></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
|
@ -0,0 +1,64 @@
|
|||
[b]Your own starting settings for new stockpiles, shelves and bills.[/b] Set up one shelf, click "Make default for new shelves", and every new shelf starts like it. Nothing changes until you save a default, and the things you already have keep their settings. Colonists, slaves and prisoners are not part of this mod: that is Blax Castes' job.
|
||||
|
||||
✅ RimWorld 1.7 🔧 Needs [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077]Harmony[/url] 🧩 Works with any DLC combination 💾 Nothing goes into your save
|
||||
|
||||
[img]https://cdn.blax.at/blax-gaming/defaults/storage.png[/img]
|
||||
[list]
|
||||
[*]📦 [b]New stockpiles start from your default.[/b] Drag a stockpile or a dumping stockpile and it gets the filter and priority you saved for that type. Growing an existing stockpile leaves its filter alone.
|
||||
[*]🗄️ [b]New storage buildings too.[/b] Shelves, small shelves, bookcases and hoppers start with your default from the moment you place the blueprint, and so does modded storage built the same way, such as the racks from Weapon Racks. Changes you make on the blueprint still win, and a shelf that auto-rebuild puts back keeps its old settings.
|
||||
[*]🔘 [b]A "Defaults" button in the storage tab[/b] with "Make default for new shelves", "Load your default", "Load the game's default" and "Forget the default for new shelves", which asks first. On a stockpile you pick the stockpile type. The tooltip tells you whether new ones start from your default.
|
||||
[*]🧹 [b]New shelves start empty.[/b] The settings page button "New shelves start empty at Normal" lists your storage buildings with general-purpose shelves ticked, and Confirm saves an empty default at Normal for each ticked one. Hoppers start unticked so the nutrient paste dispenser keeps its food, and so do bookcases, storage for one kind of item and kinds that already have a default. These defaults also refuse items that mods add later.
|
||||
[*]🏚️ [b]Only what you build.[/b] Ruins, map generation and trader stock keep the game's settings, and a default never makes a building take items it can't hold.
|
||||
[/list]
|
||||
|
||||
[img]https://cdn.blax.at/blax-gaming/defaults/bills.png[/img]
|
||||
[list]
|
||||
[*]📜 [b]Values for every new bill:[/b] repeat mode, count, target, pause when satisfied and resume at, ingredient radius, allowed skill range, where products go (best stockpile or drop on floor), count equipped, count tainted, and the hit points and quality ranges used for counting.
|
||||
[*]🎯 [b]Only what you change.[/b] Every value starts at "Game's default", and only the values you change are applied. Where a bill can't count its products, "do until you have X" becomes "do X times".
|
||||
[*]🩺 [b]Left alone:[/b] surgery, mech gestation, pasted bills and the bills you already have.
|
||||
[/list]
|
||||
|
||||
[img]https://cdn.blax.at/blax-gaming/defaults/file.png[/img]
|
||||
[list]
|
||||
[*]📁 [b]One file for every save.[/b] Your defaults live in their own file in the game's Config folder (BlaxDefaults/Defaults.xml), shared by every save and never written into one. Add or remove the mod in a running colony.
|
||||
[*]🛟 [b]Hard to lose.[/b] Each write is read back and checked before it replaces the file, the previous version stays as a backup, and a broken file is kept under its own name instead of overwriting the backup.
|
||||
[*]🔌 [b]Removed a mod?[/b] Its items stay in your defaults, are skipped while it is gone, and work again when it is back.
|
||||
[*]📋 [b]Settings page[/b] (Mod settings > Blax Defaults): every default with what it sets, Edit and Forget, and a switch per section. It works from the main menu.
|
||||
[*]⚠️ [b]Overlap warnings.[/b] Mods that set the same starting settings are named on the settings page and in one window on the first game you load, with "Don't remind me".
|
||||
[/list]
|
||||
|
||||
🧩 [b]Any DLC combination works,[/b] core only included, and 1.0 needs no DLC for anything. Items from a DLC in a default, such as wastepack in a dumping stockpile, are skipped while that DLC is off and work again when it is back. Anomaly's corpse stockpile and Odyssey's fishing zones are not covered.
|
||||
|
||||
[img]https://cdn.blax.at/blax-gaming/defaults/planned.png[/img]
|
||||
Not in this version yet. Planned for the next releases:
|
||||
[list]
|
||||
[*]🛡️ Forbid rules: when your colonists, slaves, prisoners or enemies go down or die, dropped gear that matches your filter is allowed again once the fight is over. For example enemy weapons and apparel only at 50% hit points or more and Normal quality or better, their food and medicine always.
|
||||
[*]🪦 Graves, sarcophagi, mortars and other storage, defaults per recipe and the bills a new workbench comes with.
|
||||
[*]🐄 Animals: area, follow flags and training per species, auto-slaughter limits.
|
||||
[*]🌱 Crops for new growing zones, settings for new doors, lamps, heaters and coolers.
|
||||
[*]🤖 Mech work modes and areas (needs Biotech).
|
||||
[/list]
|
||||
|
||||
[img]https://cdn.blax.at/blax-gaming/defaults/replaces.png[/img]
|
||||
Blax Defaults does what these mods do, so you can unsubscribe them. While one is active, the settings page names it.
|
||||
[list]
|
||||
[*]♻️ [FSF] No Default Shelf Storage (the quick setup empties new shelves per kind and leaves hoppers alone)
|
||||
[*]♻️ Default Ingredient Radius
|
||||
[*]♻️ Default Bill Ingredient Radius
|
||||
[/list]
|
||||
|
||||
[img]https://cdn.blax.at/blax-gaming/defaults/compatibility.png[/img]
|
||||
[list]
|
||||
[*]⚠️ 1trickPwnyta's Defaults and Set my Defaults set starting settings for stockpiles and shelves too, and 1trickPwnyta's sets values for every new bill. Blax Defaults 1.0 covers those, so set each in one mod. Their bill lists per recipe or per workbench are not in 1.0 (planned for 1.1), so keep those mods for that and for their other defaults. The overlap warning doesn't detect the unofficial Defaults 1.7 repack yet.
|
||||
[*]⚠️ [FSF] FrozenSnowFox Tweaks: its "No Default Storage Settings" option does what the quick setup does. Use one of the two.
|
||||
[*]⚠️ Better Workbench Management also sets where the products of new bills go. Set that in one mod only.
|
||||
[*]✔️ Replace Stuff: replacing a shelf's material keeps its settings.
|
||||
[*]✔️ Preset Filtered Zones: its zones keep their preset filters and get no Defaults button.
|
||||
[*]❌ Multiplayer: not supported.
|
||||
[/list]
|
||||
|
||||
📦 Load after Harmony. 🐛 Source code and issues: [url=https://forgejo.blax.at/blax-software/rimworld-blax-defaults]forgejo.blax.at/blax-software/rimworld-blax-defaults[/url]
|
||||
|
||||
[hr][/hr]
|
||||
[url=https://www.blax.at][img]https://cdn.blax.at/blax-gaming/blax-oss-banner.png[/img][/url]
|
||||
🛠️ [b]Blax Gaming is a project of Blax Software[/b], an Austrian software practice. We write Austrian-quality code in many fields: web platforms, mobile apps, backends, infrastructure, and the mods we play in our own colonies. Need something built? 👉 [url=https://www.blax.at]www.blax.at[/url]
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
# In-game clips for the Workshop page
|
||||
|
||||
The Steam description shows GIFs inline (`[img]`), the same way as the section headers. These are the clips worth having, in order. Each is 4 to 8 seconds of a real game with Blax Defaults on, cropped to the part of the screen that matters.
|
||||
|
||||
| File | Shows | How to set it up |
|
||||
|---|---|---|
|
||||
| `make-default.gif` | A shelf's storage tab: untick a few categories, click "Defaults" > "Make default for new shelves", place a new shelf, and its tab shows the same filter and priority | Any colony with one built shelf; dev mode's god mode builds the new shelf at once |
|
||||
| `quick-setup.gif` | Mod settings > Blax Defaults > "New shelves start empty at Normal": the list with shelves ticked and the hopper unticked, Confirm, then a new shelf's tab with nothing allowed | Open it from a running game so the new shelf can be placed right after |
|
||||
| `bill-values.gif` | "Every new bill" on the settings page: set "Ingredient radius" to 30 and "Where products go" to drop on floor, then add a bill at a stove and open it: radius 30, drop on floor | A colony with a fueled or electric stove |
|
||||
| `stockpile-type.gif` | A stockpile's "Defaults" > "Make default for a stockpile type" > dumping stockpile, then drag a new dumping stockpile that starts with that filter | Any colony with one stockpile |
|
||||
| `settings.png` | The settings page with three or four saved defaults, each row saying what it sets, with Edit and Forget | Options > Mod settings > Blax Defaults, after the clips above |
|
||||
|
||||
Recording: Windows Game Bar (Win+Alt+R) records the game window as MP4 without extra software. Put the raw recordings in `docs/media/raw/` (git-ignored).
|
||||
|
||||
Converting to a GIF needs ffmpeg. 640 px wide at 15 fps keeps a 6-second clip around 2 to 4 MB:
|
||||
|
||||
```sh
|
||||
ffmpeg -i raw/make-default.mp4 -vf "fps=15,scale=640:-1:flags=lanczos,split[a][b];[a]palettegen[p];[b][p]paletteuse" make-default.gif
|
||||
```
|
||||
|
||||
The GIFs go to `docs/media/` and onto the CDN next to the header art (`cdn.blax.at/blax-gaming/defaults/`, see `Source/Art/README.md`), then into `docs/workshop-description.txt` under the matching header as `[img]https://cdn.blax.at/blax-gaming/defaults/<file>[/img]`. Forgejo raw URLs don't work on Steam (no cross-origin header).
|
||||