[Freeciv-tickets] [freeciv] #41813: "PlayerState" requirement

Back to archive index
OSDN Ticket System norep****@osdn*****
Wed Jan 12 02:16:56 JST 2022


#41813: "PlayerState" requirement

  Open Date: 2021-03-19 16:07
Last Update: 2022-01-11 19:16

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:
2022-01-11 19:16 Updated by: cazfi

Comment:

Reply To cazfi
Reply To ihnatus
  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

 I think that for this the engine should enforce some rules, and not leave it to ruleset to plug every possible exploit. This could work similar to multiplier changes that can be chosen during the turn freely, but are activated only at turn change (it has two variables; one that is the really active value, and second that tells what value user wants to activate in the next turn change)
-> #43604

---------------------------------------------------------------------
Ticket Status:

      Reporter: ihnatus
         Owner: (None)
          Type: Feature Requests
        Status: Open
      Priority: 5 - Medium
     MileStone: 3.1.0
     Component: General
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

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



More information about the Freeciv-tickets mailing list
Back to archive index