bugFreeciv - Bugs: bug #19176, Tech loss vs root_req

Show feedback again

bug #19176: Tech loss vs root_req

Submitted by:  Jacob Nevins <jtn>
Submitted on:  Mon 12 Dec 2011 02:14:16 AM UTC  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: None
Planned Release: 

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Mon 12 Dec 2011 02:14:16 AM UTC, original submission:

A long time ago (bug #16855 comment 13), Matthias noted that a feature of the multiplayer ruleset is problematic if tech upkeep is enabled.

There's a self-root_req'd tech called "Theory of Evolution" which is granted by Lua script when "Darwin's Voyage" is first built -- this is intended to stop repeatedly gaining the free advances the script also gives you at that point.

Notwithstanding that that's broken currently (bug #18394), and regardless of whether that's a good way to achieve that end, this raises a general question -- if self-root_req'd techs, which must be granted by special means (init_tech or Lua), are lost through lack of tech_upkeep, there may be no way to get them back, and there's no way to defend against this -- the lost tech is chosen randomly.

Perhaps self-root_req'd techs should just be immune to being lost in this way?

(I suspect that techs with non-self root_reqs cause trouble too; I don't see anything stopping you losing a tech that's a root_req for another tech, and that will probably upset lots of code.)

Jacob Nevins <jtn>
Project Administrator


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by jtn (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup