Money-limit 5000 gold in Worldbuilder

Wild_Wolve

Chieftain
Joined
May 28, 2023
Messages
13
Hello folks. i run into a weird thing today.
i experimented with some stuff and wentg into the world builder to try something out.
when you changing in the player section in the world builder to one of the first nations (huyana capac in this case) and go the the cities editing screen inside the worldbuilder, no matter what settlement you open even if its one of your colonies, it willshow you the money stack of the said first nation fraction.
now .....i tryed to increase the amount of money that hyana capac had. i wrote like i guess 25k gold with keyboard. but the worldbuilder set it back to 5K. for what ever reason the game seems to have a gold limit in the worldbuilder, and only there! if you play like normal the other indian leaders often have like 10K, 20k, even 30K in rare cases. some of the other indian tribes do have 10K or 20K gold. if i try to change that in the worldbuilder it would set them back to 5K gold.

not sure if that is because of the mod or if that is normal in vanila col, i haven't played vanila in many years.
i can imagine that is a dev choice of some sort for what ever reason. is that somewhere in an xml file a change able line? something i could edit and save, like the problem with the charakterlimit for unit names, where trhe solution was: "find right part in that and that xml file, change that part to x and that should work fine" and it did worked well.

greetings from vienna / austria
 
To be honest this isn't something I have ever tried doing. The change would likely need to be in a python file, so a text file ending in .py. The real question is where. It sounds like a bug.

It doesn't really matter if it is an issue with vanilla or the mod as we won't get vanilla updates anymore. I have already fixed at least one vanilla bug in world builder and we have most (all?) of the code, so at least in theory it should be fixable. The question is how and how long it will take.
 
i also thought it could be a bug.
there is the possibility it never been reported, because it was not imprtand enough. you can playthe game without any need to change the goldstash of a native tribe nation to 5000+
but if you want to change the stash of a native tribe - for instance the apache - from like 2,5K gold to 25K gold, for what ever reason you want to, you have only one way to do that, through the worldbuilder, like i wrote it above.
it is pretty impossible to raise native goldchambers through usual trading stuff. if any, you would have to buy osbcene amounts of like fur or sugar of such. and i taklking of 1.000's of 1.000's, if not even 10.000's

yeah a py file. that is what i meant. i'm sorry, i just don't understand a thing about programming and coding stuff for a game. the thing with the characterlimit in the namepanel for the units was a edit of a pythonfile. xD
 
Assets/Python/Screens/CvWorldBuilderScreen.py line 1336
Code:
        self.m_tabCtrlEdit.addSectionSpinner(
            strGold,
            "CvScreensInterface",
            "WorldBuilderHandleCityEditGoldCB",
            "CityEditGold",
            0,
            -1000.0,
            5000.0,
            1.0,
            gc.getPlayer(self.m_iCurrentPlayer).getGold(),
            0,
            0)
The 5000.0 is the limit you are looking for and it can indeed be increased. You might have to restart the game after changing this file for it to work properly.

The self.m_iCurrentPlayer part looks wrong through, so possibly a bug. I would assume that to be the city owner rather than the human player.
 
Back
Top Bottom