• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

increase mined gold

Status
Not open for further replies.
Level 2
Joined
Jun 1, 2014
Messages
18
my workers got the ability to mine gold and they get +1 now
in a building i want to have something to buy for lets say 50 g and after this is finished my workers mine +2 gold (and maybe wood )
i dont know how to .... do i need triggers for this or these expansion stages ?
 
Level 13
Joined
Mar 24, 2013
Messages
1,105
I haven't tested, but I would try using "Harvest (Gold and Lumber)" and after they buy the upgrade for 50 gold, increasing the level of your worker's ability of Harvest. So level 1 will have 1 gold capacity when returned and level 2 will have 2.

When you say wood do you mean when they return from goldmine they should also receive wood? That will probably be more tricky, if you mean instead of just getting 1 wood from a tree to 2 that should be the same as above.
 
Level 3
Joined
Jun 18, 2016
Messages
68
Isn't that same meaning as Research?

Example now you +1 gold per worker harvest

Then, you research "Harvest"
and now you get +2 gold per worker harvest

and so on....
 
Level 4
Joined
Jul 26, 2016
Messages
88
Isn't that same meaning as Research?

Example now you +1 gold per worker harvest

Then, you research "Harvest"
and now you get +2 gold per worker harvest

and so on....

There's a Set Level of Research for Player action. You should be able to link it to an event Unit Acquires Item if you want the upgrade to be buyable in that sense.

If that's not what your question was, be a bit more precise with exactly what it is you intend to do, or maybe someone else can help.

Cheers!
 
Level 2
Joined
Jun 1, 2014
Messages
18
if nobody else got a solution i ll have a look into the research bymyself ... it just take longer to figure it out

and i have another question : is there a trigger to let building plans disappear in the menu of the worker if the requirements are not build yet and they will be shown if he got the requirements ? so that the player dont see what he need to build to get other buildings ?
 
Level 4
Joined
Jul 26, 2016
Messages
88
@YuHuang Player - Set Contruction/Availability limit of Unit

though, you need to decide yourself under what conditions you want to make the building available
 
Level 4
Joined
Apr 28, 2016
Messages
33
You can use upgrade on object editor. Make a new upgrade and use "Improved Lumber Harvesting", add new upgrade for "Gold Harvesting" (or you can add effect 2 with "Gold Harvest Bonus") with same amount. Add the upgrade to the peasant or any worker you want.

For the trigger, here what i got
  • Upgrade
    • Events
      • Unit - A unit Finishes construction
    • Conditions
      • (Unit-type of (Constructed structure)) Equal to Farm
    • Actions
      • Player - Set the current research level of Improved Lumber Harvesting to ((Number of living Farm units owned by (Owner of (Constructed structure))) + 1) for (Owner of (Constructed structure))
      • Player - Set the current research level of Improved Gold Harvesting to ((Number of living Farm units owned by (Owner of (Constructed structure))) + 1) for (Owner of (Constructed structure))
Cmiiw~
 
Status
Not open for further replies.
Top