Jump to content

Resource Factory


Searimaliis
 Share

Recommended Posts

I need it to be a once per player interaction, and it takes resources every time. What I'm trying to do is make a mod that changes default 0AD to around 1600AD, I have powder (gunpowder) as a resource that you should be able to manufacture by clicking a button in the building GUI, making it act like a research or training troops.

Link to comment
Share on other sites

9 minutes ago, Searimaliis said:

I need it to be a once per player interaction, and it takes resources every time. What I'm trying to do is make a mod that changes default 0AD to around 1600AD, I have powder (gunpowder) as a resource that you should be able to manufacture by clicking a button in the building GUI, making it act like a research or training troops.

You should look at how the barter component works in simulation/components/Barter.js, probably a little bit at guiinterface, and very likely in gui/session.

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...