[Freeciv-tickets] [freeciv] #44782: Move max bombard range from game to unit type

アーカイブの一覧に戻る
OSDN Ticket System norep****@osdn*****
Thu Jun 9 23:18:50 JST 2022


#44782: Move max bombard range from game to unit type

  Open Date: 2022-06-08 10:09
Last Update: 2022-06-09 08:18

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

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

Last Changes/Comment on this Ticket:
2022-06-09 08:18 Updated by: elefant

Comment:

Or we could have user defined values for units that could be used for a number of things.
You could put something like this at the top of the file units.ruleset,
parser_unit_type
values = 
	{"name", "type", "optional"
	"name", "str",   "False"
	"rule_name", "str", "True"
	"class", "str",  "False"
	"graphic", "str", "False"
"graphic_alt", "str", "True"
	...
and this would tell the program to read the unit types looking for these values, which can then be called in lua or in requirements.

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

      Reporter: elefant
         Owner: (None)
          Type: Feature Requests
        Status: Open
      Priority: 5 - Medium
     MileStone: S3_2 d3f
     Component: Rulesets
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

Make the max bombard range defined for each unit type instead of using a game-wide value.

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



More information about the Freeciv-tickets mailing list
アーカイブの一覧に戻る