forked from Moobien/OPT_Legacy
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I noticed a patch issue affecting multiple files in OPT_Reconfig (e.g. OPT_01Tweak.cfg and others):
OPT_Streamlined/GameData/OPT_Reconfig/OPT_01Tweak.cfg
Lines 6 to 9 in c1005f8
| @PART:HAS[#manufacturer[OPT?Aerospace?Division],@MODULE[ModuleRCSFX],@MODULE[TweakScale]]:NEEDS[B9PartSwitch,!RealismOverhaul] | |
| { | |
| FeatureBiasA = #$@OPTMOD/FeatureBiasA$ | |
| } |
Many patches target parts using the hardcoded manufacturer string:
:HAS[#manufacturer[OPT*Division]]
However, the manufacturer is localized:
OPT_Streamlined/GameData/OPT_Reconfig/Localization/en-us.cfg
Lines 6 to 7 in c1005f8
| #LOC_OPT_manufacturerA = OPT Aerospace Division | |
| #LOC_OPT_manufacturerP = OPT Propulsion Science Division |
When the game runs in a non-English language, the manufacturer changes (e.g., Chinese), causing the :HAS[#manufacturer[...]] check to fail.
This breaks a bunch of patches for non-English players.
Metadata
Metadata
Assignees
Labels
No labels