fix: correct four stale mod IDs in the Sophie preset
On 42.20.3 the server loaded 279 of the preset's 283 mods and reported the
other four as "required mod ... not found". None of it was a download problem:
all 256 workshop items fetched, and every one of these four is in the preset's
own WorkshopItems= list. Only the ID each is referenced by has drifted.
Checked against the id= field of the mod.info files on disk rather than folder
names, which are unrelated to mod IDs -- an early look at folder names was
misleading here.
FWOBenchPress&Treadmill -> FWOBenchPressTreadmill (stray ampersand)
Ladders42131 -> Ladders4220 (per-build variants;
42131 is the 42.16 one)
ServingPlatesB42 -> ServingPlates42
NewMusic_OrchestraMix -> NewMusic_CMM (renamed upstream to
"Classical Music Mix")
Kept as a rename map applied at template time rather than edited into the
vendored list, so the list stays a faithful copy of upstream and re-vendoring
a newer preset keeps the corrections.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
4d86a57d75
commit
a0421226a2
@@ -14,6 +14,10 @@
|
||||
server and admins can hand-edit this file between world regenerations.
|
||||
Re-push it deliberately with -e zomboid_config_force=true.
|
||||
-#}
|
||||
{% set rename_map = {} %}
|
||||
{% for r in zomboid_mods_renamed %}{% set _ = rename_map.update({r.old: r.new}) %}{% endfor %}
|
||||
{% set resolved_mod_ids = [] %}
|
||||
{% for m in zomboid_sophie_mod_ids %}{% set _ = resolved_mod_ids.append(rename_map.get(m, m)) %}{% endfor %}
|
||||
{% set excluded_mod_ids = zomboid_mods_excluded | map(attribute='mod_id') | list %}
|
||||
{% set excluded_workshop_ids = zomboid_mods_excluded | map(attribute='workshop_id') | list %}
|
||||
# Players can hurt and kill other players
|
||||
@@ -82,7 +86,7 @@ UDPPort=16262
|
||||
ResetID=6953472
|
||||
|
||||
# Enter the mod loading ID here. It can be found in \Steam\steamapps\workshop\modID\mods\modName\info.txt
|
||||
Mods={{ zomboid_sophie_mod_ids | reject('in', excluded_mod_ids) | join(';') }}
|
||||
Mods={{ resolved_mod_ids | reject('in', excluded_mod_ids) | join(';') }}
|
||||
|
||||
# Enter the foldername of the mod found in \Steam\steamapps\workshop\modID\mods\modName\media\maps\
|
||||
Map={{ zomboid_map }}
|
||||
|
||||
Reference in New Issue
Block a user