Skip to content

[Bug 🐞]: @activeStrategyLimit for Administration not work with Strategia #68

@ravon26340

Description

@ravon26340

Brief description of your issue (aka the problem)

Komplexity change values for all buildings except @activeStrategyLimit for Administration. activeStrategyLimit values from Administration.cfg not apply in game.
Logs shows the patch not loading Deleting root node in file as it can't satisfy its NEEDS game still uses the default progression {1, 3, 7} even in new saves.

What I tried already:

  • Created an "last-load" override GameData/zz_ForceAdminStrategies.cfg that targets both a top-level ADMINISTRATION node and the CUSTOMBARNKIT/ADMINISTRATION nested node. (Logs show patch loaded this way but still not work)
  • Editing CustomBarnKit/default.cfg`Strategia/CustomBarnKitConfig.cfg` directly - no change.

May be this value referenced wrong in Custom Barn Kit itself?

Operating system

win10

KSP version

1.12.5

Version of addon

1.0.3.0

Steps to reproduce the behavior or issue

have Strategia installed
enter administration building
try to upgrade administration building

Expected behavior

Active Strategy Limit corresponding to config

Actual behavior

Actually default progression {1, 3, 7}

Environment

Mod 1.0.3.0
KSP 1.12.5
CKAN and git release

Log files

[LOG 23:50:34.022] Config(@CUSTOMBARNKIT:NEEDS[CustomBarnKit,!Strategia]:FOR[Komplexity]) KGEx/Komplexity/Config/Administration/@CUSTOMBARNKIT:NEEDS[CustomBarnKit,!Strategia]:FOR[Komplexity]
[LOG 23:49:32.050] Deleting root node in file KGEx/Komplexity/Config/Administration node: @CUSTOMBARNKIT:NEEDS[CustomBarnKit,!Strategia]:FOR[Komplexity] as it can't satisfy its NEEDS

...
[LOG 23:56:30.802] [CustomBarnKit] CustomGameVariables
levelsAdministration               3
upgradesAdministration             38000.00, 150000.00, 563000.00
upgradesAdministration             1, 2, 3
activeStrategyLimit                2, 4, 7              //in game its actually 1, 3, 7

with CustomBarnKit/default.cfg edit:

[LOG 20:04:56.633] Changes : 
Changed : CustomBarnKit/default.cfg.cfg 
Changed : Strategia/CustomBarnKitConfig.cfg.cfg 
[LOG 20:05:51.123] Applying update Strategia/CustomBarnKitConfig/@CUSTOMBARNKIT:FOR[Strategia] to CustomBarnKit/default.cfg/CUSTOMBARNKIT

Screenshots

No response

Additional context

No response

How did you download and install this?

CKAN (auto install with dependencies)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions