Compare commits

..

No commits in common. "69a5def282ba50c687baeab372d768ae1a6bdfaa" and "5a13e8a26f685cc3d9f6c3dd7a6e3021174bfd6c" have entirely different histories.

3 changed files with 5 additions and 12 deletions

View File

@ -3,10 +3,9 @@
# Blax Defaults # Blax Defaults
[![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=3848261264)
[![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)
[![Status: 1.0](https://img.shields.io/badge/status-1.0-CDCDCD)](CHANGELOG.md) [![Status: 1.0](https://img.shields.io/badge/status-1.0-CDCDCD)](CHANGELOG.md)
[![Any DLC combination](https://img.shields.io/badge/DLCs-any_combination-5a6b5d)](#dlc-support)
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. 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.
@ -116,7 +115,7 @@ A release runs all 8 combinations of Royalty, Ideology and Biotech. Each run als
.\Tools\workshop-upload.ps1 -Publish -DescriptionFile docs\workshop-description.txt # also replace the description .\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, an existing item keeps its visibility and a new item is created Public (Steam's own default for a new item is Private). The Workshop item is [3848261264](https://steamcommunity.com/sharedfiles/filedetails/?id=3848261264). 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. 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.

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

@ -1,4 +1,4 @@
[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 the job of [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3848261054]Blax Castes[/url]. [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 ✅ RimWorld 1.7 🔧 Needs [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077]Harmony[/url] 🧩 Works with any DLC combination 💾 Nothing goes into your save
@ -59,8 +59,6 @@ Blax Defaults does what these mods do, so you can unsubscribe them. While one is
📦 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] 📦 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]
🎮 [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=3848261160]Blax Zones[/url] (delivery zones and caravan camps). 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]