Unit Management Mod

Senzani's Unit Management 1.2.1

I dont see any change here:

mod-options-decorator.js

--remove this
import { CategoryData, CategoryType } from '/core/ui/options/options-helpers.js';

--add this
import { CategoryData, CategoryType } from '/core/ui/options/options-helpers.js';
 
I dont see any change here:

mod-options-decorator.js

--remove this
import { CategoryData, CategoryType } from '/core/ui/options/options-helpers.js';

--add this
import { CategoryData, CategoryType } from '/core/ui/options/options-helpers.js';
Sorry. Will fix when I get home.
 
I dont see any change here:

mod-options-decorator.js

--remove this
import { CategoryData, CategoryType } from '/core/ui/options/options-helpers.js';

--add this
import { CategoryData, CategoryType } from '/core/ui/options/options-helpers.js';
try again. It was a cut and paste error. Thanks
 
I fixed this locally. Here are the files I changed. I didn't test this thoroughly, so it may have issues.

mod-options-decorator.js

--remove this
import { CategoryData, CategoryType } from '/core/ui/options/options-helpers.js';

--add this
import { d as CategoryData, C as CategoryType } from '/core/ui/options/editors/index.chunk.js';


unit-management-options.js

--remove this
import '/core/ui/options/options.js'; // make sure this loads first
import { CategoryType } from '/core/ui/options/options-helpers.js';
import { Options, OptionType } from '/core/ui/options/model-options.js';

-add this
import '/core/ui/options/screen-options.js'; // make sure this loads first
import { O as Options, a as OptionType, C as CategoryType } from '/core/ui/options/editors/index.chunk.js';


model-unit-management.js

--remove this
import UpdateGate from '/core/ui/utilities/utilities-update-gate.js';

--add this
import {U as UpdateGate} from '/core/ui/utilities/utilities-update-gate.chunk.js';


screen-unit-management.js

--remove this
import Panel from '/core/ui/panel-support.js';
import { InputEngineEventName } from '/core/ui/input/input-support.js';
import { MustGetElement } from '/core/ui/utilities/utilities-dom.js';

--add this
import { P as Panel } from '/core/ui/panel-support.chunk.js';
import { b as InputEngineEventName } from '/core/ui/input/input-support.chunk.js';
import { MustGetElement } from '/core/ui/utilities/utilities-dom.chunk.js';
Thanks this worked for me!
 
Is there any hope of getting an updated version of this mod to either CivMods or Steam Workshop? It was one of my goto mods :/
 
Well, unlike most of the added UI mods, this one doesn't cause the main button ribbon (score, tech, civic, great works, religion, etc. buttons) to flat out disappear since the new update, but it doesn't appear on the ribbon either. Any chance for an update?
 
Thanks! I have been avoiding Map Trix because it duplicates and isn't as good as one of the other map mods I use, but this is important functionality and I might live with that. It's at least worth looking at again.
 
For Map Trix, it's her 1st pass at setting up unit management. It works, but I like the commander trees and upgrade flags for this mod. I use both mods without trouble.
If you don't use Map Trix, this mod is essential, IMO.
 
Back
Top Bottom