Migrate all commands to new lib

This commit is contained in:
Cooldude2606 committed 2024-11-19 22:36:52 +00:00
1 parent c9bf85835f
commit 4b6872c14c
103 files changed
+2415 -3694

No files matched your search

@@ -42,6 +42,7 @@ end
Event.add(defines.events.on_player_created, function(event)
local player = game.players[event.player_index]
--- @diagnostic disable-next-line param-type-mismatch
util.insert_safe(player, global.created_items)
local r = global.chart_distance or 200
@@ -65,6 +66,7 @@ end)
Event.add(defines.events.on_player_respawned, function(event)
local player = game.players[event.player_index]
--- @diagnostic disable-next-line param-type-mismatch
util.insert_safe(player, global.respawn_items)
if use_silo_script then
silo_script.on_event(event)