bszonye / civ6-capslock Goto Github PK
View Code? Open in Web Editor NEWCaps Lock mod for Civilization VI
Home Page: https://steamcommunity.com/sharedfiles/filedetails/?id=1195009771
Caps Lock mod for Civilization VI
Home Page: https://steamcommunity.com/sharedfiles/filedetails/?id=1195009771
hexal reports:
After the last update this is no longer compatible with Got Lakes Map Script. City states and tribal villages will not spawn.
I was able to reproduce, with this error:
Runtime Error: C:\Users\bradd\Documents\My Games\Sid Meier's Civilization VI\Mods\capslock\AssignStartingPlots.lua:567: operator - is not supported for number - boolean
stack traceback:
C:\Users\bradd\Documents\My Games\Sid Meier's Civilization VI\Mods\capslock\AssignStartingPlots.lua:567: in function 'AssignStartingPlots:__SetStartMinor'
C:\Program Files (x86)\Steam\steamapps\workshop\content\289070\916614621\GotLakes.lua:13424: in function 'AssignStartingPlots:__InitStartingData'
C:\Users\bradd\Documents\My Games\Sid Meier's Civilization VI\Mods\capslock\AssignStartingPlots.lua:79: in function 'AssignStartingPlots.Create'
C:\Program Files (x86)\Steam\steamapps\workshop\content\289070\916614621\GotLakes.lua:16647: in function 'DetermineStartingPlots'
C:\Program Files (x86)\Steam\steamapps\workshop\content\289070\916614621\GotLakes.lua:16676: in function 'GenerateMap'
[C]: in function '(anonymous)'
It looks like Got Lakes is overriding some of the functions in the AssignStartingPlots object, and failing because the interface is no longer consistent (number score instead of boolean check).
The self:__GetValidAdjacent
check is only given +1 weight. That function checks both for polar starts and for bad adjacent terrain. The low weight means that civs can still end up in polar snow, especially if the major civ buffer produces a high penalty score.
The YnAMP mod also overrides AssignStartingPlots.lua with LoadOrder=2. Therefore, Caps Lock will break their True Start Location scripting at least, and possibly more.
Some possible resolutions:
The first two resolutions would also enable a “Caps Lock + YnAMP” compatibility shim that combines the two mods, but I would prefer to avoid the parallel coding that would entail.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.