Any chance this mod will get update after the latest version drop? I enjoy the game but out of all the Civs I have played this one isn't my favorite. It's not bad but I will admit your mod/cheat panel does make it less of a drag at times. Thanks for any info.v0.0.2 - Hotkey Support
Implement Hotkey support. Press F8 to show the cheat panel. This can be changed in input.xml
Thanks for the suggestion @angelodgreat
I made the changes, but the F8 doesn't come up. However, the problem with the progress icons is gone. Any ideas?Just wanted to preface this by saying, I'm not really that knowledgeable with JavaScript, I'm more of a SQL guy and write Python code on the side. So feel free to correct any errors or add anything I may have missed.
So far, the changes I made have been working for me. I'm almost done with the Exploration Era with this mod on.
To make these changes yourself, go to the cheat panel mod directory and then go to the ui folder. You'll need to change a few lines in two files on there.
In cheat-panel/cheat-panel.js, change lines 6 to 10 to the following:
JavaScript:import { P as Panel } from '/core/ui/panel-support.chunk.js'; import { MustGetElement } from '/core/ui/utilities/utilities-dom.chunk.js'; import FocusManager from '/core/ui/input/focus-manager.js'; import { b as InputEngineEventName } from '/core/ui/input/input-support.chunk.js'; import {N as NavTray } from '/core/ui/navigation-tray/model-navigation-tray.chunk.js';
In sub-system-dock/panel-sub-system-dock.js, change lines 7 to 11 to the following:
and then change line 342 to:JavaScript:import ContextManager from '/core/ui/context-manager/context-manager.js'; import FocusManager from '/core/ui/input/focus-manager.js'; import { P as Panel } from '/core/ui/panel-support.chunk.js'; import DialogBoxManager from '/core/ui/dialog-box/manager-dialog-box.chunk.js'; import { Icon } from '/core/ui/utilities/utilities-image.chunk.js';
Code:DialogBoxManager.createDialog_Confirm({
And that should be it, hopefully it works for you guys as well
Just wanted to preface this by saying, I'm not really that knowledgeable with JavaScript, I'm more of a SQL guy and write Python code on the side. So feel free to correct any errors or add anything I may have missed.
So far, the changes I made have been working for me. I'm almost done with the Exploration Era with this mod on.
To make these changes yourself, go to the cheat panel mod directory and then go to the ui folder. You'll need to change a few lines in two files on there.
In cheat-panel/cheat-panel.js, change lines 6 to 10 to the following:
JavaScript:import { P as Panel } from '/core/ui/panel-support.chunk.js'; import { MustGetElement } from '/core/ui/utilities/utilities-dom.chunk.js'; import FocusManager from '/core/ui/input/focus-manager.js'; import { b as InputEngineEventName } from '/core/ui/input/input-support.chunk.js'; import {N as NavTray } from '/core/ui/navigation-tray/model-navigation-tray.chunk.js';
In sub-system-dock/panel-sub-system-dock.js, change lines 7 to 11 to the following:
and then change line 342 to:JavaScript:import ContextManager from '/core/ui/context-manager/context-manager.js'; import FocusManager from '/core/ui/input/focus-manager.js'; import { P as Panel } from '/core/ui/panel-support.chunk.js'; import DialogBoxManager from '/core/ui/dialog-box/manager-dialog-box.chunk.js'; import { Icon } from '/core/ui/utilities/utilities-image.chunk.js';
Code:DialogBoxManager.createDialog_Confirm({
And that should be it, hopefully it works for you guys as well
Thanks for the fix! It worked for me! Much appreciated!Your guess is as good as mine, at this point haha. I'm still unsure how hotkeys work with Civ, so hopefully someone with more JavaScript experience will be able to help us out with this one.