Compare commits
2 Commits
5a13e8a26f
...
69a5def282
| Author | SHA1 | Date |
|---|---|---|
|
|
69a5def282 | |
|
|
7e380d89a5 |
|
|
@ -3,9 +3,10 @@
|
|||
# Blax Defaults
|
||||
|
||||
[](https://rimworldgame.com)
|
||||
[](https://steamcommunity.com/sharedfiles/filedetails/?id=3848261264)
|
||||
[](https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077)
|
||||
[](CHANGELOG.md)
|
||||
[](#dlc-support)
|
||||
[](CHANGELOG.md)
|
||||
|
||||
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.
|
||||
|
||||
|
|
@ -115,7 +116,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
|
||||
```
|
||||
|
||||
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.
|
||||
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).
|
||||
|
||||
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.
|
||||
|
||||
|
|
|
|||
|
|
@ -17,8 +17,10 @@ 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.
|
||||
-DescriptionOnly with -DescriptionFile: replaces only the description. No build, no
|
||||
content upload, no change note, no title or preview.
|
||||
-Visibility public|friends|private|unlisted who sees the item. Left out, the item keeps its visibility, and a
|
||||
new item gets Steam's default, as with the in-game uploader.
|
||||
-Visibility public|friends|private|unlisted 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). 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
|
||||
in-game uploader does.
|
||||
|
|
@ -293,6 +295,8 @@ else {
|
|||
if ($Publish -or (Test-Path -LiteralPath $previewFile)) { $toolArgs += @('--preview', $previewFile) }
|
||||
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 ($Publish) { $toolArgs += '--publish' }
|
||||
|
||||
|
|
|
|||
|
|
@ -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 Blax Castes' job.
|
||||
[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].
|
||||
|
||||
✅ 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,6 +59,8 @@ 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]
|
||||
|
||||
🎮 [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]
|
||||
[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]
|
||||
|
|
|
|||
Loading…
Reference in New Issue