Why not make all units "actors" capable of "actions" via Lua scripting?
In Lua scripting, a Diplomat is an actor capable of some actions* but not others such as "Fortify", or "Go to". A Settlers unit is not an "actor" despite being capable of "Build City", "Add to City" (below size 8), mining Tiles, irrigating Tiles, "Build road", etcetera, and despite that those actions can be performed by the Settler when directed to do so by a Player rather than a Lua script.
* Diplomat actions: "Establish Embassy", "Investigate City", "Poison City", "Steal Gold", "Sabotage City", "Targeted Sabotage City", "Steal Tech", "Targeted Steal Tech", "Incite City", "Establish Trade Route", "Enter Marketplace", "Help Wonder", "Bribe Unit", "Sabotage Unit".
Even a Diplomat is not capable of some "actions" via Lua scripting such as "Fortify" despite that the unit can be directed to undertake the action "Fortify" by a Player.
In Lua scripting, a Diplomat is an actor capable of some actions* but not others such as "Fortify", or "Go to". A Settlers unit is not an "actor" despite being capable of "Build City", "Add to City" (below size 8), mining Tiles, irrigating Tiles, "Build road", etcetera, and despite that those actions can be performed by the Settler when directed to do so by a Player rather than a Lua script.
* Diplomat actions: "Establish Embassy", "Investigate City", "Poison City", "Steal Gold", "Sabotage City", "Targeted Sabotage City", "Steal Tech", "Targeted Steal Tech", "Incite City", "Establish Trade Route", "Enter Marketplace", "Help Wonder", "Bribe Unit", "Sabotage Unit".
Even a Diplomat is not capable of some "actions" via Lua scripting such as "Fortify" despite that the unit can be directed to undertake the action "Fortify" by a Player.
Statistics: Posted by Molo_Parko — Fri Nov 29, 2024 4:15 pm — Replies 6 — Views 582