#41813: "PlayerState" requirement Open Date: 2021-03-19 16:07 Last Update: 2024-01-04 00:39 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/41813 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=41813 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2024-01-04 00:39 Updated by: cazfi Comment: Reply To cazfi Reply To ihnatus * "ScienceNonNegative" - for combining with bulbs cost of tech stealth, disable tech stealth when you have yet to sort out what you have stolen before. Maybe separate "MinAccumulatedBulbs" requirement type would be more generally usable? -> https://redmine.freeciv.org/issues/122 --------------------------------------------------------------------- Ticket Status: Reporter: ihnatus Owner: cazfi Type: Feature Requests Status: Closed Priority: 5 - Medium MileStone: S3_2 d3f Component: General Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: Would be good to have a new req type for player-wide special states. Possible state names: "RevoltedThisTurn" - some governments provide turn-end bonuses (e.g. increased trade) and another mid-turn ones (e.g. increased veteran chances). Player that has Statue of Liberty or just have finished revolen this turn can change governments for free and exploit it a lot, so let some bonuses be available only when the dust settles (note: AI democracy regulary "fails" for city mismanagement, as long as AI has handicap for it we should not test this req to it in these cases.) "HasCapital" - for mandatory reqs for certain actions but might be used in other cases. BTW primary capital site worth caching. "IsBarbarian" (and/or "IsLandBarbarian", "IsSeaBarbarian", "IsAnimal") - to replace unreliable "NationGroup", "Barbarian" req for testing if a player is a barbarian, since in Longturn people who take cool Pirates flag regulary suffer from unwanted effects. "ScienceNonNegative" - for combining with bulbs cost of tech stealth, disable tech stealth when you have yet to sort out what you have stolen before. edit: Also, considering civil war effect for civ1/civ2 rulesets compatibility, we should make local ranged requirement "HasMore(Less)Cities" and "HasMore(Less)Score" (that tests if the capital conqueror passed as other_player is in range), and similar local range variant for "IsBarbarian" (maybe other values also should test other_player when applied as "Local") -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/41813 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=41813