Conversation
| @@ -0,0 +1,245 @@ | |||
| return { | |||
|
Thanks, I have had a bit of a look although won't have time for a full look for a few weeks. I like the approach of splitting things into multiple files like this. I am concerned about the global I'd be a lot happier without the interfile globals and the metatables.With them, this might end up being too much of a maintainability risk. |
|
Also it should be indented with tabs. |
|
Updated. Removed global |
|
Scary amount of changes for so few commits. Would be nice if this was cut into minimal commits |
| return{ | ||
| moduledef={ | ||
| -- weapons | ||
| -- note that context menu CRASHES if you don't put them here! |
There was a problem hiding this comment.
This is concerning. There is not currently a way to crash context menu by putting a weapon def in the wrong file.
| } | ||
| local GenAdvWeaponModule=shared.GenAdvWeaponModule | ||
| local moddef2=GenAdvWeaponModule(moddef) | ||
| moddef2.hardcodedID=59 |
There was a problem hiding this comment.
AFAICT the hardcodedID is there to prevent a breaking change to Circuit as per #4796
|
some unnecessary changes are removed |


merged related datas about commanders to single files. (just find, move and Include, so they keeps origin structure, just in another files)
Tested with Chicken comm, start select, morph, weapon, shield, damage and range mod.