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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...