mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-18 06:43:13 +09:00
Pull Advanced start Changes (#4)
This commit is contained in:
1 parent
4118acf91a
commit
e92ed6dc26
2 files changed
+9
-32
No files matched your search
@@ -25,14 +25,8 @@ Event.add(defines.events.on_player_created, function(event)
|
||||
if success and count > 0 then
|
||||
player.insert{ name = item, count = count }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if config.armor.enable then
|
||||
player.insert{ name = config.armor.main, count = 1 }
|
||||
|
||||
for _, item in pairs(config.armor.item) do
|
||||
player.insert{ name = item.equipment, count = item.count }
|
||||
else
|
||||
player.insert{ name = item, count = callback }
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in new issue
Block a user