URL:
<http://gna.org/patch/?6606>
Summary: Give_Imm_Tech effect to honour "survives" flag
Project: Freeciv
Submitted by: jtn
Submitted on: Tue 17 Nov 2015 23:50:04 UTC
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release:
_______________________________________________________
Details:
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'.
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?6606>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev