feat: Workshop page and art
Preview, mod icon with the package badge, five Steam section headers, the Workshop description and a clip shot list. CHANGELOG: overflow, ransom and ZonesApi wording corrected, since it becomes the Steam change note.
|
|
@ -7,3 +7,4 @@ Tests/**/bin/
|
|||
Tests/**/obj/
|
||||
Tools/**/bin/
|
||||
Tools/**/obj/
|
||||
docs/media/raw/
|
||||
|
|
|
|||
|
|
@ -19,20 +19,23 @@
|
|||
<li>brrainz.harmony</li>
|
||||
<li>blax.castes</li>
|
||||
</loadAfter>
|
||||
<description>Delivery zones and caravan camps. Works with any DLC combination, core only included.
|
||||
<description>Choose where deliveries land. Drag a delivery zone and what you buy from orbital traders drops into it. Trader caravans camp next to a zone you pick. Works with any DLC combination, core only included.
|
||||
|
||||
<color=#19C63C>Delivery zones</color>
|
||||
- Drag a delivery zone like a stockpile. What you buy from orbital traders lands in it, sorted by item filter and priority: medicine by the hospital, steel by the workshop.
|
||||
- When every cell is taken, pods land next to the zone. With no fitting zone they land where they always did.
|
||||
- While the zone is selected, red outlines mark cells drop pods can't use: roofed, water, inside an enclosed pen, blocked or unreachable.
|
||||
- "Delivery zone" sits in the Zone menu after "Growing zone". Drag it like a stockpile.
|
||||
- What you buy from orbital traders, plus the silver from selling, lands in the best matching zone instead of next to the trade beacon.
|
||||
- Each zone's Delivery tab has an item filter and a priority from Low to Critical: medicine by the hospital, steel by the workshop.
|
||||
- When every fitting zone is full, pods land next to the top one, on a cell your colonists can reach. With no fitting zone they land where they always did.
|
||||
- While a zone is selected, red outlines mark the cells drop pods can't use: roofed, water, inside an enclosed pen, blocked, fogged or out of reach.
|
||||
- Bought people and animals, raids and colonists you ransom back land as before.
|
||||
|
||||
<color=#19C63C>Caravan camps</color>
|
||||
- Tick "Caravans camp here" on a delivery zone, and visiting trader caravans and tribute collectors (Royalty) camp next to it.
|
||||
- Tick "Caravans camp here" on a delivery zone, and visiting trader caravans and tribute collectors (Royalty) camp next to it. Visitor groups and Hospitality guests pick their own spot.
|
||||
|
||||
<color=#19C63C>Safe to remove</color>
|
||||
- Blax zones live in their own save data. Unsubscribe and the save still loads: the delivery zones are gone, vanilla zones stay.
|
||||
<color=#19C63C>Safe to add and remove</color>
|
||||
- Add it to a running save. Delivery zones live in Blax Zones' own save data, so after you unsubscribe the save still loads: the delivery zones are gone, vanilla zones stay, and the log shows two errors per map.
|
||||
|
||||
Multiplayer: not supported yet.
|
||||
Every part can be switched off in the mod settings. Multiplayer: not supported.
|
||||
|
||||
<color=#19C63C>Made by Blax</color>
|
||||
Blax Gaming is a project of Blax Software, 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. www.blax.at</description>
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 83 KiB |
|
|
@ -6,10 +6,10 @@
|
|||
- Delivery tab: a priority from Low to Critical, "Orbital trade lands here" (on), "Caravans camp here" (off) and an item filter that allows every item. Corpses and, with Biotech, Wastepack never land in a zone and are hidden from the filter. Copy settings and Paste settings move the filter, the priority and both checkboxes from one delivery zone to another.
|
||||
- While a delivery zone is selected, red outlines mark the cells drop pods can't use: roofed, water, inside an enclosed animal pen, blocked by a building, fogged, or out of your colonists' reach. The inspect pane counts them.
|
||||
- Orbital purchases land in the zone: everything bought from an orbital trader, plus the silver from selling, drops into the best matching delivery zone instead of next to the trade beacon. The zone's filter decides what fits, then the highest priority wins, then the oldest zone. Pods spread over the free cells, nearest the zone's middle first, and join a matching stack once every free cell is taken.
|
||||
- When every cell of the top zone is taken, pods land next to it on a cell your colonists can reach, within 16 cells by default (5 to 30). Overflow from a zone your colonists can't reach lands at the vanilla spot. With "Overflow lands next to the zone" off, they land at the vanilla spot.
|
||||
- Bought people and animals, raids, ransom payments and returning lent colonists land as before. With no fitting zone the pod lands at the vanilla spot, and so does it if anything in Blax Zones goes wrong, so no item is ever lost. Another mod that moves the vanilla drop spot keeps working as the fallback.
|
||||
- When every fitting zone is full, pods land next to the top one on a cell your colonists can reach, within 16 cells by default (5 to 30). Overflow from a zone your colonists can't reach lands at the vanilla spot. With "Overflow lands next to the zone" off, they land at the vanilla spot.
|
||||
- Bought people and animals, raids, colonists you ransom back and returning lent colonists land as before. With no fitting zone the pod lands at the vanilla spot, and so does it if anything in Blax Zones goes wrong, so no item is ever lost. Another mod that moves the vanilla drop spot keeps working as the fallback.
|
||||
- Trader caravans camp at a zone: with "Caravans camp here" ticked, visiting trader caravans and, with Royalty, tribute collectors gather within 6 cells of the zone, on open ground they can all reach. Goods bought from them drop at their pack animals' feet, right beside the zone. Visitor groups and Hospitality guests pick their own spot. Camping stands down, with one log line, while Trading Spot Rewritten, [KV] Trading Spot, [GMT] Trading Spot or Trading Control is active.
|
||||
- Save-safe zone storage: delivery zones are saved with Blax Zones' own map data, never in the game's zone list. Unsubscribing leaves a save that loads: the delivery zones are gone, vanilla zones stay, and the log shows two errors per map. Blax Zones can be added to a running save.
|
||||
- Settings: Delivery zones (hides the designator; existing zones stay), Route orbital trade, Overflow lands next to the zone with its radius, Caravans may camp at zones, Reset to defaults.
|
||||
- Works with any DLC combination, core only included.
|
||||
- For other mods: `BlaxZones.ZonesApi` version 1, `TryFindDropSpot(Map, Thing, out IntVec3)`, returns the delivery zone cell a drop pod with that thing should land on, by the same rules as orbital trade.
|
||||
- For other mods: `BlaxZones.ZonesApi` version 1, `TryFindDropSpot(Map, Thing, out IntVec3)`, returns a cell for a drop pod holding that thing, by the zone's filter, priority and "Orbital trade lands here" checkbox, with the same overflow as orbital trade.
|
||||
|
|
|
|||
126
README.md
|
|
@ -1,27 +1,119 @@
|
|||

|
||||
|
||||
# Blax Zones
|
||||
|
||||
[](https://rimworldgame.com)
|
||||
[](docs/design.md)
|
||||
[](CHANGELOG.md)
|
||||
[](https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077)
|
||||
[](#dlc-support)
|
||||
|
||||
Drag a zone and bought goods land where you want them; drag another over the barn and every animal has a bed. A RimWorld 1.7 mod by Blax Gaming. Version 1.0 (delivery zones, orbital purchases and caravan camps) is built and in testing; each feature names the release it comes in. Needs Harmony.
|
||||
RimWorld mod (1.7) by Blax Gaming. Drag a delivery zone and what you buy from orbital traders lands in it, sorted by item filter and priority: medicine by the hospital, steel by the workshop. Trader caravans camp next to a zone you pick. Needs Harmony. Works with any DLC combination, core only included.
|
||||
|
||||
- 📦 **Delivery zones (1.0).** What you buy from orbital traders lands in a zone you drag, sorted by item filter and priority: medicine by the hospital, steel by the workshop.
|
||||
- 🐪 **Caravan camps (1.0).** Trader caravans and tribute collectors camp next to a zone you pick.
|
||||
- 🎁 **Quest rewards (1.1).** Item rewards from quests drop into the zone too.
|
||||
- 🛒 **Caravan purchases (1.1).** Goods bought from trader caravans and Hospitality guests appear in the zone, even a roofed one.
|
||||
- 🐔 **Animal sleeping zones (1.2).** Every cell is a sleeping spot. Drag one over the barn and every chicken has a bed.
|
||||
- 🐄 **Which animals sleep where (1.2).** Species and body-size filters, so big stalls stay free of chickens.
|
||||
- 🧹 **Safe to remove (1.2).** A button in the mod settings strips everything from a save first. Without it, a save still loads after you unsubscribe.
|
||||
- 🗄️ **Straight into storage (1.3).** Stockpiles, shelves, racks and fridges can receive deliveries directly. Optional, off by default: goods appear under a roof without a drop pod.
|
||||
- 💰 **Sell zones (1.3).** Optional, off by default, needs a powered trade beacon: orbital traders buy from flagged storage, no hauling to the beacon.
|
||||
- 🪂 **Cargo pods (1.3).** Optional, off by default: random cargo pod events land in a zone you pick.
|
||||
- 🛏️ **People sleeping zones (1.4).** Dorms and prisons for colonists, slaves and prisoners, one cell per sleeper.
|
||||
- 🏥 **Medical and shared zones (1.4).** A whole zone as an infirmary, or cells nobody keeps.
|
||||
- 🏷️ **Castes (1.5).** With Blax Castes, people sleeping zones can be limited by caste.
|
||||
## Features
|
||||
|
||||
Works with any DLC combination, core only included. Only slave sleeping zones need a DLC (Ideology); tribute collectors and Empire quest rewards arrive only with Royalty.
|
||||
### Delivery zones
|
||||
|
||||
Design and roadmap: `docs/design.md`.
|
||||
- 📦 **Delivery zone.** "Delivery zone" sits in the Zone menu right after "Growing zone" and is dragged like a stockpile. It draws amber and grows with "Expand zone". Like every zone, it extends the home area 4 cells around itself while auto home area is on. `Source/BlaxZones/Designator_ZoneAdd_Delivery.cs`
|
||||
- 🔽 **Delivery tab.** A priority from Low to Critical, "Orbital trade lands here" (on), "Caravans camp here" (off) and an item filter that allows every item. Corpses and, with Biotech, Wastepack never land in a zone and are hidden from the filter. "Copy settings" and "Paste settings" move the filter, the priority and both checkboxes to another delivery zone. `Source/BlaxZones/ITab_Delivery.cs`
|
||||
- 🛰️ **Orbital purchases land in the zone.** Every item bought from an orbital trader, plus the silver from selling, drops into the best matching delivery zone instead of next to the trade beacon. The filter decides what fits, then the highest priority wins, then the oldest zone. Pods use the 400 cells nearest the middle of a zone: the free ones first, from the middle out, then a matching stack. `Source/BlaxZones/DeliveryRouter.cs`
|
||||
- 👣 **Overflow you can reach.** When every fitting zone is full, pods land next to the top one, on a cell your colonists can reach, within 16 cells (5 to 30). Overflow from a zone your colonists can't reach lands at the vanilla spot, and so does all overflow with "Overflow lands next to the zone" off.
|
||||
- 🟥 **Unusable cells marked.** While a delivery zone is selected, red outlines mark the cells drop pods can't use: roofed, water, inside an enclosed animal pen, blocked by a building, fogged, or out of your colonists' reach. The inspect pane counts them. `Source/BlaxZones/DeliveryRules.cs`
|
||||
- 🛡️ **Nothing is lost.** Bought people and animals, raids, colonists you ransom back and lent colonists coming home land as before. With no fitting zone the pod lands at the vanilla spot, and so does it if anything in Blax Zones goes wrong. A mod that moves the vanilla drop spot keeps working as the fallback.
|
||||
|
||||
### Caravan camps
|
||||
|
||||
- ⛺ **Caravans camp at a zone.** With "Caravans camp here" ticked, visiting trader caravans and, with Royalty, tribute collectors gather within 6 cells of the zone, on open ground they can all reach. Goods bought from them drop at their pack animals' feet, next to the zone. Visitor groups and Hospitality guests pick their own spot. `Source/BlaxZones/CampScope.cs`
|
||||
- 🤝 **Trading-spot mods win.** Camping stands down, with one log line, while Trading Spot Rewritten, [KV] Trading Spot, [GMT] Trading Spot or Trading Control is active. `Source/BlaxZones/Compat.TradingSpots.cs`
|
||||
|
||||
### Save and settings
|
||||
|
||||
- 💾 **Save-safe.** Delivery zones are saved with Blax Zones' own map data, never in the game's zone list. Blax Zones can be added to a running save. Unsubscribing leaves a save that loads: the delivery zones are gone, vanilla zones stay, and the log shows two errors per map. `Source/BlaxZones/ZoneStore.cs`
|
||||
- ⚙️ **Mod settings.** "Delivery zones" (hides the designator; existing zones stay and still receive deliveries), "Route orbital trade", "Overflow lands next to the zone" with its overflow radius, "Caravans may camp at zones", "Reset to defaults".
|
||||
|
||||
### For other mods
|
||||
|
||||
- 🔌 `BlaxZones.ZonesApi` version 1: `int Version` and `bool TryFindDropSpot(Map map, Thing thing, out IntVec3 cell)`. It returns a cell for one drop pod holding that thing: in a delivery zone, picked by the zones' filters and priorities, their "Orbital trade lands here" checkboxes and the drop pod rules, or next to the top zone when every fitting zone is full and overflow is on. It returns false when no zone fits, always false for a pawn, and never throws. Spawn the pod exactly at the cell (`TradeUtility.SpawnDropPod` or `DropPodUtility.MakeDropPodAt`) and call again for the next thing after spawning, because a falling pod is what marks its cell as taken. Bind it by reflection; members are only ever added, each with a higher `Version`. Blax Slaves binds it for its planned silver payouts.
|
||||
|
||||
## Planned
|
||||
|
||||
Later releases, in order (details in `docs/design.md`):
|
||||
|
||||
- 🎁 **1.1 Quest rewards and caravan purchases.** Item rewards from quests drop into the zone. Goods bought from trader caravans and Hospitality guests appear in the zone, even a roofed one.
|
||||
- 🐔 **1.2 Animal sleeping zones.** Every cell is a sleeping spot, with species and body-size filters, so big stalls stay free of chickens. A button in the mod settings strips Blax Zones from a save first, for a removal with no errors.
|
||||
- 🗄️ **1.3 Storage, roofs and selling.** Stockpiles, shelves, racks and fridges receive deliveries directly, also under a roof. Orbital traders buy from flagged storage (needs a powered trade beacon). Random cargo pod events land in a zone you pick. All optional, off by default.
|
||||
- 🛏️ **1.4 People sleeping zones.** Dorms and prisons for colonists, slaves (needs Ideology) and prisoners, one cell per sleeper. Medical and shared zones.
|
||||
- 🏷️ **1.5 Castes.** With Blax Castes, people sleeping zones can be limited by caste.
|
||||
- 🧹 **1.6 Work rule areas.** Paint named areas over anything, stockpiles and fields included, and tick rules per area: No cleaning, No firefighting, No repairs, Don't haul from here, Clean first, Haul first. A barn nobody cleans still gets its fires fought, and a hospital is cleaned first. Work rules never change work priorities or allowed areas, and right-click orders work in every area.
|
||||
|
||||
## DLC support
|
||||
|
||||
Blax Zones works with any combination of DLCs, core only included, and lists none as a dependency. Nothing in 1.0 needs a DLC.
|
||||
|
||||
- **Royalty** adds tribute collectors, who camp at the zone like trader caravans.
|
||||
- **Biotech** adds Wastepack, which never lands in a zone and is hidden from the filter.
|
||||
- **Ideology**, **Anomaly** and **Odyssey**: 1.0 uses none of their content. Slave sleeping zones (planned for 1.4) will need Ideology.
|
||||
- **A save made with a DLC** loads without it. Delivery zone filters drop the missing items, with the same "Could not load reference" error per missing def that vanilla stockpile filters log, and the zone keeps working.
|
||||
|
||||
## Compatibility
|
||||
|
||||
- ✔️ Hospitality guests pick their own spot and never camp at the zone.
|
||||
- ✔️ Trading Spot Rewritten, [KV] Trading Spot, [GMT] Trading Spot and Trading Control: while one is active, caravan camps stand down and leave caravans to it.
|
||||
- ✔️ A mod that moves vanilla's trade drop spot stays the fallback: a fitting zone wins, everything else lands at that mod's spot.
|
||||
- ✔️ The `-Compat` test run loads Hospitality, Pick Up And Haul, Haul to Stack, RimFridge, Weapon Racks, Prison Labor, Prisoner Realism, Replace Stuff, Vanilla Expanded Framework, Vanilla Furniture Expanded with its Medical Module, Dubs Skylights, Vanilla Events Expanded, Blax Castes, Blax Defaults and Blax Slaves, and every test passes. Prison Labor logs one error of its own when a test makes a prisoner.
|
||||
- ♻️ Replaces the orbital trade part of Trade Ships Drop Spot, the orbital trade and caravan spot parts of Trading Control, and [KV] Trading Spot and [GMT] Trading Spot. The quest reward part of Trade Ships Drop Spot and Trading Control follows in 1.1.
|
||||
- ❌ Multiplayer: not supported.
|
||||
|
||||
Load order: Harmony, Blax Castes, Blax Zones, Blax Slaves. No Blax mod needs another.
|
||||
|
||||
## 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\BlaxZones" -Target (Get-Location).Path
|
||||
```
|
||||
|
||||
Build (needs the .NET 10 SDK; output goes to `1.7/Assemblies/BlaxZones.dll`). `RimWorldDir` and `HarmonyDir` in the csproj point at the Steam install and the Harmony mod; override them with `-p:RimWorldDir=...` elsewhere.
|
||||
|
||||
```powershell
|
||||
dotnet build Source\BlaxZones\BlaxZones.csproj -c Release
|
||||
```
|
||||
|
||||
`Tests/run-tests.ps1` builds the mod and the test mod in `Tests/BlaxZonesTests`, starts RimWorld headless with its own save data folder in `%TEMP%\BlaxZonesTest`, runs the suite, saves and reloads, then loads the save with the mod's map data removed. Your mod list, saves and settings stay untouched. It needs Steam running. The script's header lists every switch.
|
||||
|
||||
```powershell
|
||||
.\Tests\run-tests.ps1 # every installed DLC
|
||||
.\Tests\run-tests.ps1 -NoDlc # core only
|
||||
.\Tests\run-tests.ps1 -Dlc Royalty # only the DLCs named
|
||||
.\Tests\run-tests.ps1 -Compat # next to the mods listed under Compatibility
|
||||
```
|
||||
|
||||
Things only a real game can show are in `docs/ingame-check.md`. Design and roadmap: `docs/design.md`.
|
||||
|
||||
### Workshop upload
|
||||
|
||||
`Tools/workshop-upload.ps1` creates and 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.
|
||||
|
||||
```powershell
|
||||
.\Tools\workshop-upload.ps1 # dry run: build, stage, check the Steam login and the item
|
||||
.\Tools\workshop-upload.ps1 -Check # release check: every -Publish gate, then the list of problems
|
||||
.\Tools\workshop-upload.ps1 -Publish -DescriptionFile docs\workshop-description.txt # upload and replace the description
|
||||
```
|
||||
|
||||
The dry run and `-Check` upload nothing. The script stages only what players need (About, 1.7, Patches, Languages) in `%TEMP%`, sets the tags the game would (Mod plus the supported versions), the title from About.xml and the preview from `About/Preview.png`. The change note is every CHANGELOG.md entry newer than the version in `Tools/workshop-published.txt`.
|
||||
|
||||
The first `-Publish` creates the item and writes its id to `About/PublishedFileId.txt` 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.
|
||||
|
||||
`-Publish` refuses unless:
|
||||
|
||||
- the shipped files are committed and pushed, and the top CHANGELOG.md entry matches `modVersion` in About.xml;
|
||||
- two `Tests/run-tests.ps1` runs passed after the last build, one with every installed DLC and one with `-NoDlc` (`BlaxZonesTestResults.all.txt` and `BlaxZonesTestResults.nodlc.txt` in `%TEMP%\BlaxZonesTest`);
|
||||
- `About/Preview.png` is under 1 MB;
|
||||
- the description fits Steam's 8000-byte limit, every forgejo.blax.at link in it opens without a login, and every `[img]` host sends an `Access-Control-Allow-Origin` header. Steam loads description images cross-origin and shows a broken image otherwise. Forgejo's raw URLs send no such header, so the images are served from `cdn.blax.at/blax-gaming/zones/`, which does.
|
||||
|
||||
The Workshop page is `docs/workshop-description.txt` (Steam BBCode). Its art is rendered from `Source/Art` (see `Source/Art/README.md`), and `docs/workshop-media.md` lists the in-game clips worth recording. `-DescriptionOnly -DescriptionFile docs\workshop-description.txt` replaces just the text, with no build, no content upload and no change note.
|
||||
|
||||
The in-game route still works: `Tools/workshop-stage.ps1` swaps the junction for a clean copy, upload from Mods > Blax Zones > Advanced... > Upload to Steam Workshop (dev mode), then `Tools/workshop-stage.ps1 -Done` copies `About/PublishedFileId.txt` back into the repo and restores the junction.
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,56 @@
|
|||
# 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 text, 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).
|
||||
|
||||
The preview has Slaves' layout: wordmark top left, "Blax Zones" with a green subtitle on the left, four feature rows on the right (delivery zones, filter and priority, reachable overflow, caravan camps). The icon is the Blax monogram with a green "package" badge, so it stands apart from Slaves' plain monogram and Castes' "layers" badge in the mod list.
|
||||
|
||||
| File | Renders |
|
||||
|---|---|
|
||||
| `preview.html` | `About/Preview.png`, 1280x720 |
|
||||
| `icon.html` + `icon.svg` | `About/ModIcon.png`, 256x256, transparent |
|
||||
| `header.html` | the Workshop section headers in `docs/art/steam/`, 1270x150 |
|
||||
| `oss-banner.html` | `docs/art/blax-oss-banner.png`, 1600x254, from `docs/art/blax-oss-banner.svg` |
|
||||
| `blax-monogram.svg`, `monogram-centered.svg` | the Blax monogram, used by the pages above |
|
||||
| `fonts/` | Geist, Inter, Rajdhani 700 |
|
||||
|
||||
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-zones"
|
||||
& $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
|
||||
```
|
||||
|
||||
`About/Preview.png` must stay under 1 MB for the Workshop; it is about 85 KB.
|
||||
|
||||
## Workshop page art
|
||||
|
||||
The Steam description (`docs/workshop-description.txt`) shows a section header from `docs/art/steam/` above each part and Blax Software's Open Source Initiative banner at the end. Steam shows no SVG, so the banner (`docs/art/blax-oss-banner.svg`, the same file as in Blax Slaves) is also rendered as a PNG; it is the same PNG as Slaves' `docs/art/blax-oss-banner.png`. `header.html` takes the title (`t`), subtitle (`s`) and lucide icon name (`i`) as query parameters; the icon must be in its `icons` map.
|
||||
|
||||
| File | t | s | i |
|
||||
|---|---|---|---|
|
||||
| `deliveries.png` | Delivery zones | Orbital purchases land where you want them | package |
|
||||
| `camps.png` | Caravan camps | Traders gather next to a zone you pick | tent |
|
||||
| `planned.png` | Planned | Coming in later releases | milestone |
|
||||
| `replaces.png` | Replaces | Mods you can unsubscribe | replace |
|
||||
| `compatibility.png` | Compatibility | Plays well with these | puzzle |
|
||||
|
||||
```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\deliveries.png" "file:///$here/header.html?t=Delivery%20zones&s=Orbital%20purchases%20land%20where%20you%20want%20them&i=package" | 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\camps.png" "file:///$here/header.html?t=Caravan%20camps&s=Traders%20gather%20next%20to%20a%20zone%20you%20pick&i=tent" | 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=Plays%20well%20with%20these&i=puzzle" | Out-Null
|
||||
```
|
||||
|
||||
Check each result for its size before using it:
|
||||
|
||||
```powershell
|
||||
Add-Type -AssemblyName System.Drawing
|
||||
Get-ChildItem ..\..\About\*.png, ..\..\docs\art\steam\*.png, ..\..\docs\art\*.png | ForEach-Object { $i = [System.Drawing.Image]::FromFile($_.FullName); '{0}: {1}x{2}, {3} bytes' -f $_.Name, $i.Width, $i.Height, $_.Length; $i.Dispose() }
|
||||
```
|
||||
|
||||
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`. After re-rendering, copy the PNGs to `blax-gaming/zones/` on the CDN (`blax-gaming/zones/<name>.png`; the banner is shared at `blax-gaming/blax-oss-banner.png` and is already there). 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,49 @@
|
|||
<!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>',
|
||||
package: '<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73zm1 .27V12"/><path d="M3.29 7L12 12l8.71-5M7.5 4.27l9 5.15"/></g>',
|
||||
tent: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3.5 21L14 3m6.5 18L10 3m5.5 18L12 15l-3.5 6M2 21h20"/>',
|
||||
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,27 @@
|
|||
<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>
|
||||
<!-- Zones badge: lucide "package" (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="M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73zm1 .27V12"/>
|
||||
<path d="M3.29 7L12 12l8.71-5M7.5 4.27l9 5.15"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.4 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,75 @@
|
|||
<!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); }
|
||||
|
||||
.hero { position: absolute; left: 72px; top: 158px; width: 640px; }
|
||||
h1 { font-family: Geist, sans-serif; font-weight: 600; font-size: 178px; 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: 560px; }
|
||||
|
||||
.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>Zones</h1>
|
||||
<div class="sub">for RimWorld 1.7</div>
|
||||
<p class="lede">Choose where orbital deliveries land<br>and where trader caravans camp.</p>
|
||||
</div>
|
||||
|
||||
<!-- lucide icons (ISC license): package, funnel, footprints, tent -->
|
||||
<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="M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73zm1 .27V12"/><path d="M3.29 7L12 12l8.71-5M7.5 4.27l9 5.15"/></svg>
|
||||
<div><h2>Delivery zones</h2><p>Drag one like a stockpile.</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="M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z"/></svg>
|
||||
<div><h2>Filter and priority</h2><p>Medicine lands by the hospital.</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="M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0m16 4v-2.38c0-2.12 1.03-3.12 1-5.62c-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0m-4-3h4M4 13h4"/></svg>
|
||||
<div><h2>Reachable overflow</h2><p>Full zone? Pods land next to it.</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="M3.5 21L14 3m6.5 18L10 3m5.5 18L12 15l-3.5 6M2 21h20"/></svg>
|
||||
<div><h2>Caravan camps</h2><p>Traders gather at a zone you pick.</p></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
|
@ -0,0 +1,62 @@
|
|||
[b]Choose where deliveries land.[/b] Drag a delivery zone and what you buy from orbital traders drops into it, sorted by item filter and priority: medicine by the hospital, steel by the workshop. Trader caravans camp next to a zone you pick.
|
||||
|
||||
✅ RimWorld 1.7 🔧 Needs [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077]Harmony[/url] 🧩 Works with any DLC combination 💾 Safe to add to a running save
|
||||
|
||||
[img]https://cdn.blax.at/blax-gaming/zones/deliveries.png[/img]
|
||||
[list]
|
||||
[*]📦 [b]Delivery zones.[/b] "Delivery zone" sits in the Zone menu right after "Growing zone". Drag it like a stockpile. It shows amber on the map and grows with "Expand zone".
|
||||
[*]🛰️ [b]Orbital trade lands in the zone.[/b] Every item you buy from an orbital trader, plus the silver from selling, drops into the best matching delivery zone instead of next to the trade beacon.
|
||||
[*]🏷️ [b]Filter and priority.[/b] The zone's Delivery tab has an item filter, a priority from Low to Critical and "Orbital trade lands here" (on by default). The filter decides what fits, then the highest priority wins, then the oldest zone.
|
||||
[*]🎯 [b]Pods spread out.[/b] They use the 400 cells nearest the middle of a zone: the free ones first, from the middle out, then a matching stack.
|
||||
[*]👣 [b]Overflow you can reach.[/b] When every fitting zone is full, pods land next to the top one, on a cell your colonists can reach, within 16 cells (5 to 30 in the settings). A zone your colonists can't reach sends its overflow to the vanilla spot.
|
||||
[*]🟥 [b]Bad cells marked.[/b] While a delivery zone is selected, red outlines mark the cells drop pods can't use: roofed, water, inside an enclosed animal pen, blocked by a building, fogged or out of your colonists' reach. The inspect pane counts them.
|
||||
[*]📋 [b]Copy settings and Paste settings[/b] move the filter, the priority and both checkboxes from one delivery zone to another.
|
||||
[*]🛡️ [b]Nothing gets lost.[/b] Bought people and animals, raids, colonists you ransom back and lent colonists coming home land as before. With no fitting zone, or if anything in Blax Zones goes wrong, the pod lands at the vanilla spot.
|
||||
[*]🔌 [b]For modders.[/b] ZonesApi hands other mods a cell in or next to a delivery zone for a drop pod, by the zone's filter, priority and "Orbital trade lands here" checkbox. Blax Slaves binds it for its planned silver payouts.
|
||||
[/list]
|
||||
|
||||
[img]https://cdn.blax.at/blax-gaming/zones/camps.png[/img]
|
||||
[list]
|
||||
[*]⛺ [b]Caravans camp here.[/b] Tick "Caravans camp here" on a delivery zone (off by default). Visiting trader caravans and, with Royalty, tribute collectors gather within 6 cells of it, on open ground they can all reach.
|
||||
[*]🐪 [b]Goods stay close.[/b] What you buy from them drops at their pack animals' feet, so it ends up next to the zone.
|
||||
[*]🚶 [b]Visitors pick their own spot.[/b] Visitor groups and Hospitality guests ignore the camp zone.
|
||||
[/list]
|
||||
|
||||
⚙️ The mod settings switch each part off: "Delivery zones" hides the designator (existing zones keep working), "Route orbital trade", "Overflow lands next to the zone" with its radius, and "Caravans may camp at zones".
|
||||
|
||||
💾 [b]Safe to add and remove.[/b] Add Blax Zones to a running save. Delivery zones live in Blax Zones' own save data, never in the game's zone list, so after you unsubscribe the save still loads: the delivery zones are gone, vanilla zones stay, and the log shows two errors per map.
|
||||
|
||||
🧩 [b]Any DLC combination works,[/b] core only included. Nothing in this version needs a DLC. With Royalty, tribute collectors camp at the zone too. With Biotech, Wastepack never lands in a zone.
|
||||
|
||||
[img]https://cdn.blax.at/blax-gaming/zones/planned.png[/img]
|
||||
Not in this version yet. Planned for the next releases:
|
||||
[list]
|
||||
[*]🎁 Quest rewards land in the zone, and goods bought from trader caravans and Hospitality guests appear in it.
|
||||
[*]🐔 Animal sleeping zones: every cell is a sleeping spot, with species and body-size filters.
|
||||
[*]🗄️ Deliveries straight into stockpiles and shelves, sell zones for orbital traders, cargo pods into a zone.
|
||||
[*]🛏️ Sleeping zones for colonists, prisoners and slaves (slaves need Ideology).
|
||||
[*]🧹 Work rule areas: paint areas where nobody cleans, fights fires, repairs or hauls from, or that get cleaned and hauled first.
|
||||
[/list]
|
||||
|
||||
[img]https://cdn.blax.at/blax-gaming/zones/replaces.png[/img]
|
||||
Blax Zones does what these mods do for orbital trade and caravan spots, so you can unsubscribe them.
|
||||
[list]
|
||||
[*]♻️ Trade Ships Drop Spot (quest rewards follow in a later release)
|
||||
[*]♻️ Trading Control (quest rewards follow in a later release; while it's active, caravan camps stand down)
|
||||
[*]♻️ [KV] Trading Spot and [GMT] Trading Spot (while one is active, caravan camps stand down)
|
||||
[/list]
|
||||
|
||||
[img]https://cdn.blax.at/blax-gaming/zones/compatibility.png[/img]
|
||||
[list]
|
||||
[*]✔️ Hospitality guests pick their own spot and never camp at the zone.
|
||||
[*]✔️ Trading Spot Rewritten: while it's active, caravan camps stand down and leave caravans to it, with one log line.
|
||||
[*]✔️ A mod that moves the vanilla trade drop spot keeps working: pods that fit no zone land at its spot.
|
||||
[*]✔️ Tested in one game with Hospitality, Prison Labor, Pick Up And Haul, Haul to Stack, RimFridge, Weapon Racks, Prisoner Realism, Replace Stuff, Vanilla Expanded Framework, Vanilla Furniture Expanded, Dubs Skylights, Vanilla Events Expanded and the other Blax mods, with no errors from Blax Zones.
|
||||
[*]❌ Multiplayer: not supported.
|
||||
[/list]
|
||||
|
||||
📦 Load after Harmony. 🐛 Source code and issues: [url=https://forgejo.blax.at/blax-software/rimworld-blax-zones]forgejo.blax.at/blax-software/rimworld-blax-zones[/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 Zones on, cropped to the part of the screen that matters.
|
||||
|
||||
| File | Shows | How to set it up |
|
||||
|---|---|---|
|
||||
| `orbital-delivery.gif` | Buy medicine and steel from an orbital trader. The pods fall into a medicine-only zone by the hospital and a general zone by the workshop | Two delivery zones (the medicine one at Important), a powered comms console and trade beacon; dev mode can run "orbital trader arrival" |
|
||||
| `drag-zone.gif` | Zone menu, "Delivery zone", drag it, then the Delivery tab: priority, "Orbital trade lands here", "Caravans camp here" and the item filter | Any colony |
|
||||
| `caravan-camp.gif` | Tick "Caravans camp here", a trader caravan walks in and sets up next to the zone | An open spot next to the zone; dev mode can run "trader caravan arrival" |
|
||||
| `unusable-cells.gif` | Select a zone dragged half into a roofed room: red outlines on the roofed cells, and the inspect pane counts the cells drop pods can't use | A zone that crosses a roof edge |
|
||||
| `overflow.png` | A 2x2 zone after a big purchase: four pods inside, the rest right beside it | Buy 8 different items from an orbital trader into a 2x2 zone |
|
||||
|
||||
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/orbital-delivery.mp4 -vf "fps=15,scale=640:-1:flags=lanczos,split[a][b];[a]palettegen[p];[b][p]paletteuse" orbital-delivery.gif
|
||||
```
|
||||
|
||||
The GIFs go to `docs/media/` and onto the CDN next to the header art (`cdn.blax.at/blax-gaming/zones/`, see `Source/Art/README.md`), then into `docs/workshop-description.txt` under the matching header as `[img]https://cdn.blax.at/blax-gaming/zones/<file>[/img]`. Forgejo raw URLs don't work on Steam (no cross-origin header).
|
||||