<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39450 >

Make rule names available in the scripting api.

Right now, in a callback in lua; for example:

hut_entered_callback(punit)

there is no way to get the rule name of punit, only the reverse by
find.unit_type('Settlers') and similar.

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to