This commit is contained in:
Cooldude2606
2019-07-23 18:01:39 +01:00
parent 9ecd0cca0d
commit 9c5501f6a9
118 changed files with 6439 additions and 398 deletions

View File

@@ -1,3 +1,6 @@
--- Adds a compilatron that walks around the spawn area; adapted from redmew code
-- @addon Compilatron
local Event = require 'utils.event' --- @dep utils.event
local Global = require 'utils.global' --- @dep utils.global
local Game = require 'utils.game' --- @dep utils.game
@@ -62,7 +65,7 @@ end
Event.on_nth_tick(config.message_cycle, circle_messages)
--- This will add a compilatron to the global and start his message cycle
-- @tparam entity LuaEntity the compilatron entity that moves around
-- @tparam LuaEntity entity the compilatron entity that moves around
-- @tparam string name the name of the location that the complitron is at
function Public.add_compilatron(entity, name)
if not entity and not entity.valid then