Compare commits

..

No commits in common. "09ecc5a50665487d34856e21d873c742e7aa052e" and "a66d3e7600baf1b9fcb9b1d73e69fe1c1d3de156" have entirely different histories.

3 changed files with 5 additions and 12 deletions

View File

@ -3,10 +3,9 @@
# Blax Zones # Blax Zones
[![RimWorld 1.7](https://img.shields.io/badge/RimWorld-1.7-19C63C)](https://rimworldgame.com) [![RimWorld 1.7](https://img.shields.io/badge/RimWorld-1.7-19C63C)](https://rimworldgame.com)
[![Steam Workshop](https://img.shields.io/badge/Steam_Workshop-subscribe-1b2838?logo=steam)](https://steamcommunity.com/sharedfiles/filedetails/?id=3848261160) [![Status: 1.0](https://img.shields.io/badge/status-1.0-CDCDCD)](CHANGELOG.md)
[![Needs Harmony](https://img.shields.io/badge/needs-Harmony-050805)](https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077) [![Needs Harmony](https://img.shields.io/badge/needs-Harmony-050805)](https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077)
[![Any DLC combination](https://img.shields.io/badge/DLCs-any_combination-5a6b5d)](#dlc-support) [![Any DLC combination](https://img.shields.io/badge/DLCs-any_combination-5a6b5d)](#dlc-support)
[![Status: 1.0](https://img.shields.io/badge/status-1.0-CDCDCD)](CHANGELOG.md)
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. 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.
@ -103,7 +102,7 @@ Things only a real game can show are in `docs/ingame-check.md`. Design and roadm
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 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 Workshop item is [3848261160](https://steamcommunity.com/sharedfiles/filedetails/?id=3848261160) (`About/PublishedFileId.txt`), so `-Publish` updates it. Without that file the first `-Publish` creates the item, Public unless you pass `-Visibility private` (Steam's own default for a new item is Private), 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. 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: `-Publish` refuses unless:

View File

@ -17,10 +17,8 @@ Without About\PublishedFileId.txt it creates a new Workshop item; with it, it up
published from here yet (no Tools\workshop-published.txt). A new item needs one. published from here yet (no Tools\workshop-published.txt). A new item needs one.
-DescriptionOnly with -DescriptionFile: replaces only the description. No build, no -DescriptionOnly with -DescriptionFile: replaces only the description. No build, no
content upload, no change note, no title or preview. content upload, no change note, no title or preview.
-Visibility public|friends|private|unlisted who sees the item. Left out, an existing item keeps its -Visibility public|friends|private|unlisted who sees the item. Left out, the item keeps its visibility, and a
visibility and a new item is created Public (Steam's own default new item gets Steam's default, as with the in-game uploader.
for a new item is Private). Pass -Visibility private to review a
new item before anyone else sees it.
The title is About.xml's name and the preview is About\Preview.png (under 1 MB), set on every upload like the The title is About.xml's name and the preview is About\Preview.png (under 1 MB), set on every upload like the
in-game uploader does. in-game uploader does.
@ -295,8 +293,6 @@ else {
if ($Publish -or (Test-Path -LiteralPath $previewFile)) { $toolArgs += @('--preview', $previewFile) } if ($Publish -or (Test-Path -LiteralPath $previewFile)) { $toolArgs += @('--preview', $previewFile) }
if ($DescriptionFile) { $toolArgs += @('--description-file', $DescriptionFile) } if ($DescriptionFile) { $toolArgs += @('--description-file', $DescriptionFile) }
} }
# Steam creates new items Private; a release is meant to be seen, so a new item is Public unless told otherwise.
if (-not $Visibility -and $create) { $Visibility = 'public' }
if ($Visibility) { $toolArgs += @('--visibility', $Visibility) } if ($Visibility) { $toolArgs += @('--visibility', $Visibility) }
if ($Publish) { $toolArgs += '--publish' } if ($Publish) { $toolArgs += '--publish' }

View File

@ -12,7 +12,7 @@
[*]🟥 [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]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]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]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. [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3847282171]Blax Slaves[/url] binds it for its planned silver payouts. [*]🔌 [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] [/list]
[img]https://cdn.blax.at/blax-gaming/zones/camps.png[/img] [img]https://cdn.blax.at/blax-gaming/zones/camps.png[/img]
@ -57,8 +57,6 @@ Blax Zones does what these mods do for orbital trade and caravan spots, so you c
📦 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] 📦 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]
🎮 [b]More Blax Gaming mods:[/b] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3847282171]Blax Slaves[/url] (slavers, brands and runaways), [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3848261054]Blax Castes[/url] (policy bundles and join defaults), [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3848261264]Blax Defaults[/url] (starting settings for storage and bills). Each works on its own and with the others.
[hr][/hr] [hr][/hr]
[url=https://www.blax.at][img]https://cdn.blax.at/blax-gaming/blax-oss-banner.png[/img][/url] [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] 🛠️ [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]