Ticket #42884

Lua: get all game objects by rule name

Open Date: 2021-09-20 00:46 Last Update: 2021-09-20 01:01

Reporter:
Owner:
(None)
Status:
Open
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

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 History (3/3 Histories)

2021-09-20 00:46 Updated by: ihnatus
  • New Ticket "Lua: get all game objects by rule name" created
2021-09-20 00:49 Updated by: ihnatus
  • Milestone Update from (None) to S3_1 d3f
2021-09-20 01:01 Updated by: cazfi
  • Component Update from General to Scripting API
Comment

Reply To ihnatus

(Side note: a ticket category for scripting?)

Done

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login