Follow-up Comment #3, patch #4539 (project freeciv): > tech_can_be_taken() checks if game.info.tech_trade_allow_holes, but stealing a tech is not trading them. Thank you, Marko. New version renames tech_can_be_taken() to tech_can_be_stolen() and use game.info.tech_steal_allow_holes. If needed it can be generalized to take allow_holes later.
> Do you have any ideas to improve handling of "already-stolen-from-this-city" -case? No, not yet. The reason I wrote this patch before having a full solution was to fix bug #21718. > It's quite user-unfriendly that one just has to remember where he has already stolen a tech. I'll keep this in mind when looking for a full solution. (file #20179) _______________________________________________________ Additional Item Attachment: File name: 0006-Take-into-account-if-the-target-player-has-any-techs.patch Size:4 KB _______________________________________________________ Reply to this item at: <http://gna.org/patch/?4539> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev