Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #699459

Split base_tech_cost into min_tech_cost and tech_cost_factor

Added by Alina L. almost 5 years ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Category:
General
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Currently, research.base_tech_cost in game.ruleset is both a factor that scales research costs, and a minimum research cost (currently only relevant for the Experimental tech_cost_style and also not properly documented, see Bug #699149).

I propose splitting this into two seperate ruleset options: research.min_tech_cost (uint8, like base_tech_cost now) and research.tech_cost_factor (double). This would allow phasing out the factor or 1/2 in the classic tech_cost_style.

The full formula for tech costs, if this and Feature #699168 (tech_cost_offset) are implemented, would be max(min_tech_cost, tech_cost_factor * <tech_cost_style-specific factor> + tech_cost_offset) .


Related issues

Related to Freeciv - Feature #699168: Ruleset-controlled tech_cost_offsetNew

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Jacob Nevins over 4 years ago

  • Tracker changed from Task to Feature
  • Category changed from Rulesets to General

#2 Updated by Marko Lindqvist 8 months ago

As a minimal change, attached patch splits min_tech_cost out of base_tech_cost, but does not otherwise change the latter (no rename, no type change)

#3 Updated by Marko Lindqvist 8 months ago

#4 Updated by Marko Lindqvist 8 months ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF