#42884: Lua: get all game objects by rule name Open Date: 2021-09-19 18:46 Last Update: 2022-01-10 12:47 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/42884 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=42884 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-01-10 12:47 Updated by: cazfi Comment: Achievements and Disasters (from nef's list) are easy. Split them to a separate ticket to get them handled already, while this main ticket still remains open -> #43594 --------------------------------------------------------------------- Ticket Status: Reporter: ihnatus Owner: (None) Type: Feature Requests Status: Open Priority: 5 - Medium MileStone: S3_1 d3f Component: Scripting API Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Get find.*(string rule_name) method to all classes that have rule names. Put it into the manual of style that any new classes accessible from Lua must be findable by rule name if they have one. One of the reasons for it in this nef's thread http://forum.freeciv.org/f/viewtopic.php?f=14&t=91972 (Side note: a ticket category for scripting?) -- 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/42884 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=42884