mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-29 12:16:37 +09:00
Removed versions from requires
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user