Jump to content

How can I add another resource similar to population?


AIEND
 Share

Recommended Posts

I want to add water, like the power provided by the power plant in Command & Conquer, to limit the size of the city.
For example, if I build a well to provide 100 units of water, one military camp will occupy 50 units. If I build two military camps and use up the quota of 100 units, I need to build another water well. If the well is damaged, the total water supply will not be able to cover the consumption. , the efficiency of all buildings that consume water decreases.
I don't know where to find the files for population resources, where can I get the relevant code?

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...