Removed versions from requires

This commit is contained in:
Cooldude2606
2018-12-09 16:23:35 +00:00
parent 56ad7f987c
commit 85efbd5cf8
58 changed files with 236 additions and 236 deletions

View File

@@ -4,7 +4,7 @@
-- @license https://github.com/explosivegaming/scenario/blob/master/LICENSE
local global = global{}
local Game = require('FactorioStdLib.Game@^0.8.0')
local Game = require('FactorioStdLib.Game')
-- these are the settings which are changed with scale being as +100%
local settings = {
@@ -54,8 +54,8 @@ end)
return {
on_init= function(self)
if loaded_modules['ExpGamingCore.Role@^4.0.0'] then
local Role = require('ExpGamingCore.Role@^4.0.0')
if loaded_modules['ExpGamingCore.Role'] then
local Role = require('ExpGamingCore.Role')
-- instant respawn
script.on_event(defines.events.on_pre_player_died,function(event)
local player = Game.get_player(event)

View File

@@ -3,7 +3,7 @@
-- @author Cooldude2606
-- @license https://github.com/explosivegaming/scenario/blob/master/LICENSE
local Game = require('FactorioStdLib.Game@^0.8.0')
local Game = require('FactorioStdLib.Game')
local global = global{}
--- Sets the home for a player

View File

@@ -3,7 +3,7 @@
-- @author Cooldude2606
-- @license https://github.com/explosivegaming/scenario/blob/master/LICENSE
local Game = require('FactorioStdLib.Game@^4.0.0')
local Game = require('FactorioStdLib.Game')
--- Kills a player of a lower rank
-- @command kill

View File

@@ -4,8 +4,8 @@
-- @license https://github.com/explosivegaming/scenario/blob/master/LICENSE
local Game = require('FactorioStdLib.Game@^0.8.0')
local Role = require('ExpGamingCore.Role@^4.0.0')
local Game = require('FactorioStdLib.Game')
local Role = require('ExpGamingCore.Role')
-- Set an item to true to disallow it from being repaired
local disallow = {
@@ -24,7 +24,7 @@ local repairDisallow
local module_verbose = false
local ThisModule = {
on_init = function(self)
if loaded_modules['ExpGamingAdmin.TempBan@^4.0.0'] then verbose('ExpGamingAdmin.TempBan is installed; Loading tempban src') repairDisallow = require(module_path..'/src/tempban') end
if loaded_modules['ExpGamingAdmin.TempBan'] then verbose('ExpGamingAdmin.TempBan is installed; Loading tempban src') repairDisallow = require(module_path..'/src/tempban') end
end
}

View File

@@ -1,5 +1,5 @@
-- not_luadoc=true
local temp_ban = require('ExpGamingAdmin.AdminLib@^4.0.0').temp_ban
local temp_ban = require('ExpGamingAdmin.AdminLib').temp_ban
return function(player,entity)
player_return('You have repaired: '..entity.name..' this item is not allowed.',defines.textcolor.crit,player)
temp_ban(player,'<server>','Attempt To Repair A Banned Item')

View File

@@ -3,14 +3,14 @@
-- @author Cooldude2606
-- @license https://github.com/explosivegaming/scenario/blob/master/LICENSE
local Game = require('FactorioStdLib.Game@^0.8.0')
local Game = require('FactorioStdLib.Game')
local Role -- ExpGamingCore.Role@^4.0.0
-- Module Define
local module_verbose = false
local ThisModule = {
on_init=function()
if loaded_modules['ExpGamingCore.Role@^4.0.0'] then Role = require('ExpGamingCore.Role@^4.0.0') end
if loaded_modules['ExpGamingCore.Role'] then Role = require('ExpGamingCore.Role') end
end
}

View File

@@ -3,7 +3,7 @@
-- @author Cooldude2606
-- @license https://github.com/explosivegaming/scenario/blob/master/LICENSE
local Admin = require('ExpGamingAdmin.AdminLib@^4.0.0')
local Admin = require('ExpGamingAdmin.AdminLib')
--- Teleports the user to the player given
-- @command go-to