Page MenuHomeWildfire Games

reduce the cost of home garden tech
ClosedPublic

Authored by mimo on Jul 1 2017, 6:19 PM.

Details

Summary

current price is really excessive compared to the effect of this tech

Test Plan

na

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mimo created this revision.Jul 1 2017, 6:19 PM
Owners added a subscriber: Restricted Owners Package.Jul 1 2017, 6:19 PM
fatherbushido accepted this revision.EditedJul 1 2017, 6:22 PM
fatherbushido added a subscriber: fatherbushido.

(people who find house building annoying after middle game would appreciate that).
edit: I guess you will teach Petra when search it if it's not already done ;-)

This revision is now accepted and ready to land.Jul 1 2017, 6:22 PM
elexis accepted this revision.Jul 1 2017, 6:44 PM
elexis added a subscriber: elexis.

Quick computaiton:

House cost: 150 wood per 10 pop

Researching the tech saves resources cost if building houses for the resources that the tech costs yields less population:
i.e.

400 tech resources / 150 house resources = 2,6 resources / pop

so if 20% population bonus is more than 2.6 resources / pop, the tech is worth it, otherwise houses.

20% * pop > 400 resources / 150 resources * 10

i.e. pop > 26,6 / 20% = 133 pop

So assuming wood and stone cost are identical, the tech becomes cheaper than houses after 133 pop.

The change seems good to me because I'm really annoyed of the amount of houses we have to build just to sustain the pop growth.

elexis added a comment.Jul 1 2017, 6:46 PM

(also borg- was asking whether we could make that female health tech a bit cheaper, as 250 food is really a lot in the first 10min and were better of making 5 more women. After minute 10 the tech is not that much worth it anymore, at least with the current game design)

Vulcan added a subscriber: Vulcan.Jul 1 2017, 7:30 PM

Build is green

Updating workspaces.
Build (release)...
Build (debug)...
Running release tests...
Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK!
Running debug tests...
Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK!
Checking XML files...

http://jw:8080/job/phabricator/1677/ for more details.

Vulcan added a comment.Jul 1 2017, 7:31 PM
Executing section Default...
Executing section Source...
Executing section JS...
Executing section XML GUI...
Executing section Python...
Executing section Perl...

http://jw:8080/job/phabricator_lint/276/ for more details.

mimo added a comment.Jul 1 2017, 7:58 PM
In D701#27949, @elexis wrote:

(also borg- was asking whether we could make that female health tech a bit cheaper, as 250 food is really a lot in the first 10min and were better of making 5 more women. After minute 10 the tech is not that much worth it anymore, at least with the current game design)

i agree, in fact i never use it but maybe would if it was cheaper

Account for a couple things:

  • 50 build time per 10 pop for a house, plus walk time to build the house, is worth around 30 resources with an upgrade or two (assuming one villager builds the house). By that accounting houses cost approx 180 resources per 10 pop, or 18 per 1.
  • 20 pop comes from the CC and is not affected by Home Garden. (this would be a higher figure for Celts, or if you built an early military colony)

So the break-even point where home garden and houses have the same efficiency, is when (pop - 20)*0.2/(home garden cost) = 10 / (house cost) = 1/18. solve and pop = 131, almost the same as 133. The two extra factors considered here canceled each other out.

This is also not accounting for the fact that you only save on building houses eventually (after you reach max pop) when Home Garden gives you 10 whole pop. If Home Garden gives you some amount of pop that's not a multiple of 10, that extra pop doesn't help you much since eventually you still have to build enough houses to reach max pop. This would reduce the benefit of Home Garden and increase the pop at which it would make sense to get it.

This revision was automatically updated to reflect the committed changes.