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

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