supertux
supertux copied to clipboard
Add `set_property()` and `get_property()` to the scripting API.
set_property(string property, ANY value) - sets the property in an object to be value.
ANY get_property(string property) - gets the value of property from an object.
For example Tux.get_x() would be the same as Tux.get_property("x").
This would be under all objects and would allow you to access almost all info about an object. Im not sure how possible this is but it would be really cool to use.