From bf2e08098f4670666e6a0a525e7a42d3a6764dd6 Mon Sep 17 00:00:00 2001 From: "Fabian @ Blax Software" Date: Sun, 29 Nov 2026 21:45:08 +0100 Subject: [PATCH] docs: Workshop links between the Blax Gaming mods Workshop badge in the README, links to the other mods on the Workshop page. --- README.md | 3 ++- docs/workshop-description.txt | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a62b6d5..15e313e 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ # Blax Castes [![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=3848261054) [![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) [![Status: 1.0](https://img.shields.io/badge/status-1.0-CDCDCD)](CHANGELOG.md) @@ -125,7 +126,7 @@ Works with the other Blax mods: Castes has no hard dependency on Blax Slaves or It stages only what players need (About, 1.7, Defs, Patches, Languages) 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 comes from About.xml and the preview is `About/Preview.png`. `-Publish` refuses unless the shipped files are committed and pushed, the top CHANGELOG entry matches `modVersion`, and two test runs passed after the last build: one with every installed DLC and one with `-NoDlc` (`Tests/run-tests.ps1` keeps both results as the "all" and "nodlc" copies). It also refuses while a `forgejo.blax.at` link in the description needs a login, so the repo has to be public before the first upload. -There is no `About/PublishedFileId.txt` yet, so the first `-Publish` creates a new Workshop item and uses `docs/workshop-description.txt` as its description. It writes the new id to `About/PublishedFileId.txt` before the content upload, so a failed upload is retried as an update and never makes a second item, and writes `Tools/workshop-published.txt` after a successful one. Commit both files. From then on `-Publish` updates that item. The in-game route still works: `Tools/workshop-stage.ps1` swaps the junction for a clean copy, upload from Mods > Blax Castes > Advanced... > Upload to Steam Workshop (dev mode), then `workshop-stage.ps1 -Done` copies the new id back into the repo. +The Workshop item is [3848261054](https://steamcommunity.com/sharedfiles/filedetails/?id=3848261054) (`About/PublishedFileId.txt`), so `-Publish` updates it. Without that file the first `-Publish` creates a new Workshop item, Public unless you pass `-Visibility private` (Steam's own default for a new item is Private), and uses `docs/workshop-description.txt` as its description. It writes the new id to `About/PublishedFileId.txt` before the content upload, so a failed upload is retried as an update and never makes a second item, and writes `Tools/workshop-published.txt` after a successful one. Commit both files. From then on `-Publish` updates that item. The in-game route still works: `Tools/workshop-stage.ps1` swaps the junction for a clean copy, upload from Mods > Blax Castes > Advanced... > Upload to Steam Workshop (dev mode), then `workshop-stage.ps1 -Done` copies the new id back into the repo. `-DescriptionOnly -DescriptionFile docs\workshop-description.txt` replaces just the text of an existing item, 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. diff --git a/docs/workshop-description.txt b/docs/workshop-description.txt index fad494c..c7e3f00 100644 --- a/docs/workshop-description.txt +++ b/docs/workshop-description.txt @@ -61,6 +61,8 @@ Blax Castes sets what these mods set when a pawn joins. While one of them is act 📦 Load after Harmony. 🐛 Source code and issues: [url=https://forgejo.blax.at/blax-software/rimworld-blax-castes]forgejo.blax.at/blax-software/rimworld-blax-castes[/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=3848261160]Blax Zones[/url] (delivery zones and caravan camps), [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] [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]