[Freeciv-tickets] [freeciv] #47925: Make "Explore" and "Goto" agents rather than activities

Back to archive index
OSDN Ticket System norep****@osdn*****
Wed Apr 26 14:46:46 JST 2023


#47925: Make "Explore" and "Goto" agents rather than activities

  Open Date: 2023-04-24 00:20
Last Update: 2023-04-26 08:46

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/47925
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47925

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2023-04-26 08:46 Updated by: cazfi

Comment:

Explore already is, I think.
common/unit.h:
#define SPECENUM_NAME server_side_agent
...
#define SPECENUM_VALUE2 SSA_AUTOEXPLORE
#define SPECENUM_VALUE2NAME N_("Autoexplore")


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

      Reporter: ihnatus
         Owner: (None)
          Type: Patches
        Status: Open
      Priority: 5 - Medium
     MileStone: S3_2 npf
     Component: General
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

An idea I have talked about here: make activities that are actually agents a separate category (thus, unit packet ai / unit ai_controlled becomes enum rather than boolean) that also includes autosettling and maybe some more agents in the future (we may even reserve some items for server-side tweaks in the first modified protocol version). It seems probably a bad idea to include requirements on agent controlled units (requirements on "Goto" are likely already rejected), some future version of e.g. explorer agent may use another activity (like, converting in a port), connecting orders have the same mechanics as goto orders but other activities, and just separating agents from activities gives more consistent logic. Surely, some things in the code that depend on current activity mechanics have to be rewritten with this change, but likely nothing too complicated. (Note: I myself have little hope to code it up to 3.2 d3f/npf, so if nobody will do, it sjould be postponed).

-- 
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/47925
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47925



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