Multi-typing/Multiple Inheritance, Event Cascade/Bubbling, .
Posted: Sat Apr 09, 2016 5:49 am
I have been running into several limiting factors while working on my mods for this game. I didn't find a topic thread for most of these, so maybe some have not been requested yet. Would it be possible to see any of the following capabilities exposed to the modding community?
1. Multi-typing (weak Multiple Inheritance); could the "type" property on the entity prototypes be changed from a single value to a table, so that we can cross-breed prototype behaviors for more variety? For example, type = { "wall", "electric-pole"} to enable electrified wall variants directly instead of kludging transparent entities together.
2. Event Cascade/Bubbling/Propagation; could you enable this feature. There are times when I find it would be best to design game behavior by programmatically triggering events, or structuring things as a cascade.
3. Entity IDs; I think someone already asked for this, but could you expose the instance IDs for the in-game entities?
...I guess I will leave it at that for now, because I am new to the API and the other requests may already have solutions.
1. Multi-typing (weak Multiple Inheritance); could the "type" property on the entity prototypes be changed from a single value to a table, so that we can cross-breed prototype behaviors for more variety? For example, type = { "wall", "electric-pole"} to enable electrified wall variants directly instead of kludging transparent entities together.
2. Event Cascade/Bubbling/Propagation; could you enable this feature. There are times when I find it would be best to design game behavior by programmatically triggering events, or structuring things as a cascade.
3. Entity IDs; I think someone already asked for this, but could you expose the instance IDs for the in-game entities?
...I guess I will leave it at that for now, because I am new to the API and the other requests may already have solutions.