#57670: 3.1: no LUA signals for some actions Open Date: 2024-04-15 23:15 Last Update: 2024-05-23 21:08 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/57670 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=57670 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2024-05-23 21:08 Updated by: cazfi * Status Update from Open to Closed * Resolution Update from Accepted to Fixed --------------------------------------------------------------------- Ticket Status: Reporter: bard Owner: cazfi Type: Bugs Status: Closed Priority: 5 - Medium MileStone: 3.1.2 Component: Server Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: There are no LUA signals in 3.1 for the actions: Pillage, Fortify, and Convert Unit. I don't know if this is intended, or a bug. I can't compile and test the trunk right now to see if they work there. I mean that this LUA script will never be triggered: function action_started_callback(action, actor, target) if action:rule_name() == "Fortify" then --never triggered... elseif action:rule_name() == "Pillage" then --never triggered... end end signal.connect("action_started_unit_self", "action_started_callback") signal.connect("action_started_unit_tile", "action_started_callback") -- 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/57670 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=57670