I'm not using your mod, I was just curious to see how it worked and what the cargo drone entity was based off.
Using print(foo) will print into the console / terminal ( basically, stdout).
Using game.print(foo) will print into the game chat.
You've got plenty of room for improvement in this mod, but I agree with the approach "as long as it works fine, no need to refactor it right away". That being said, IMO, things like that shouldn't go into production / released code, but rather be kept for yourself and testing.
You really want the players to let you know when your mod isn't working. Although, I understand not wanting to crash the player's game.
I understand that I'm giving you unrequested advice, but I found the concept cool and was curious to see what happened under the hood, and some stuff flashed my mind as "wow this will be a performance sinkhole is someone uses a lot of this stuff".