Closed atburghardt closed 2 years ago
I have concerns about removing items from players. Sea Block aims to play nicely with other mods. This would probably kill quick start mods. Removing starting bots or additional items added by other mods.
Probably better to give items on_player_created
. Not sure if calling the Freeplay remote interface will work from there. Might need to give the items directly.
Documentation for remote interfaces: https://wiki.factorio.com/Tutorial:Script_interfaces
The interface did not work from on_player_created
so im inserting the items into the player.
game.is_multiplayer() is not working in on_init event.