patchFreeciv - Patches: patch #6606, Give_Imm_Tech effect to honour...

Show feedback again

patch #6606: Give_Imm_Tech effect to honour "survives" flag

Submitted by:  Jacob Nevins <jtn>
Submitted on:  Tue Nov 17 23:50:04 2015  
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Tue Nov 17 23:50:04 2015, original submission:

If the implementation of Give_Imm_Tech were to honour the "survives" flag in its implementation, we could get rid of all the scripting and the "Theory of Evolution" tech used to ensure players only get the techs from the Darwin's Voyage small wonder only once.

Would require some hackery in get_current_construction_bonus() to track/return whether 'survives' is in use. (With some sensible behaviour in case of multiple requirements with different 'survives'.)
Other call sites for this function may also benefit from taking into account 'survives'.

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.


    Error: not logged in



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup