Hello everyone,
I'm currently working on copying the settings of one Spidertron to others using the `LuaEntity.copy_settings` function. You can see the relevant code snippet here.
However, I've noticed that the equipment grid is not being copied over.
LuaEntity.copy_settings seems to handle most settings, but the equipment grid appears to be an exception.
Am I doing something wrong, or is this expected behavior? Should I be copying the equipment grid separately?
LuaEntity.copy_settings not copying equipment grid
LuaEntity.copy_settings not copying equipment grid
Please consider English is not my native language.
Re: LuaEntity.copy_settings not copying equipment grid
I did a bit more experimenting with the `LuaEntity.copy_settings` function. It seems that the equipment grid is not copied only when the player parameter is not specified in the function call.
Is this the expected behavior? I would prefer that after copying, the Spidertron does not remain in the player's "copy buffer."
Is this the expected behavior? I would prefer that after copying, the Spidertron does not remain in the player's "copy buffer."
Please consider English is not my native language.