Command maker clean

This commit is contained in:
Cooldude2606
2017-10-15 00:00:20 +01:00
parent 6513e25c3f
commit 73e442bc4b
5 changed files with 39 additions and 85 deletions

View File

@@ -5,20 +5,10 @@
-- @module Event
-- @usage require('stdlib/event/event')
local credits = {{
name='Factorio StdLib',
owner='Afforess',
dev='Afforess',
description='The Factorio StdLib used here for the event handler',
factorio_version='0.15.23',
show=true
}}
local function credit_loop(reg) for _,cred in pairs(reg) do table.insert(credits,cred) end end
local fail_if_missing = require 'core'['fail_if_missing']
local Game = require 'game'
Event = { --luacheck: allow defined top
local Event = { --luacheck: allow defined top
_registry = {},
core_events = {
init = -1,
@@ -168,4 +158,4 @@ function Event.remove(event, handler)
return Event
end
return credits, Event
return Event