Follow-up Comment #5, bug #23490 (project wesnoth):
> I can see your point about save_id maybe containing spaces and other special
characters, but you can easily ensure that it doesn't (because you control
what the save_id is), so I don't see that being a significant issue.
Uhm no i can't. Like is said before, my addon is a modification.
> Regarding Lua API though, I'd suggest mirroring the API for unit variables,
which means using a metatable with __index and __newindex methods rather than
having functions.
I think the unit variables api is quiet unhandy, specially it cannot handle
wml tables (only scalars) iirc.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?23490>
_______________________________________________
Nachricht gesendet von/durch Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs