Updates to json files

This commit is contained in:
Cooldude2606
2018-08-14 17:24:31 +01:00
parent 5fac283d2b
commit 0b67b8a7b5
29 changed files with 193 additions and 131 deletions

View File

@@ -3,7 +3,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Admins many of the admin featues which the script can use as in game commands.", "description": "Admins many of the admin featues which the script can use as in game commands.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCommands.admin_4.0.0.zip",
"keywords": [ "keywords": [
"ExpGaming", "ExpGaming",
"Admin", "Admin",
@@ -23,5 +23,6 @@
"ExpGamingAdmin.Warnings": "?^4.0.0", "ExpGamingAdmin.Warnings": "?^4.0.0",
"ExpGamingAdmin.Reports": "^?4.0.0", "ExpGamingAdmin.Reports": "^?4.0.0",
"ExpGamingAdmin.ClearInventory": "?^4.0.0" "ExpGamingAdmin.ClearInventory": "?^4.0.0"
} },
"collection": "ExpGamingCommands_4.0.0"
} }

View File

@@ -3,7 +3,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Allows a bonus to be applied to players and instant respawn.", "description": "Allows a bonus to be applied to players and instant respawn.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCommands.bonus_4.0.0.zip",
"keywords": [ "keywords": [
"Instant Respawn", "Instant Respawn",
"Bonus", "Bonus",
@@ -17,5 +17,6 @@
"ExpGamingLib": "^4.0.0", "ExpGamingLib": "^4.0.0",
"ExpGamingCore.Commands": "^4.0.0", "ExpGamingCore.Commands": "^4.0.0",
"ExpGamingCore.Ranking": "?^4.0.0" "ExpGamingCore.Ranking": "?^4.0.0"
} },
"collection": "ExpGamingCommands_4.0.0"
} }

View File

@@ -3,7 +3,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Adds a command which allow you to toggle cheatmode", "description": "Adds a command which allow you to toggle cheatmode",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCommands.cheatMode_4.0.0.zip",
"keywords": [ "keywords": [
"Cheat", "Cheat",
"Commands", "Commands",
@@ -14,5 +14,6 @@
], ],
"dependencies": { "dependencies": {
"ExpGamingCore.Commands": "^4.0.0" "ExpGamingCore.Commands": "^4.0.0"
} },
"collection": "ExpGamingCommands_4.0.0"
} }

View File

@@ -3,7 +3,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Allows players to set homes and then return to them later.", "description": "Allows players to set homes and then return to them later.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCommands.home_4.0.0.zip",
"keywords": [ "keywords": [
"Teleport", "Teleport",
"ExpGaming", "ExpGaming",
@@ -15,5 +15,6 @@
"dependencies": { "dependencies": {
"FactorioStdLib.Game": "^0.8.0", "FactorioStdLib.Game": "^0.8.0",
"ExpGamingCore.Commands": "^4.0.0" "ExpGamingCore.Commands": "^4.0.0"
} },
"collection": "ExpGamingCommands_4.0.0"
} }

View File

@@ -3,7 +3,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Adds a command which can be used to kill a player or yourself.", "description": "Adds a command which can be used to kill a player or yourself.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCommands.kill_4.0.0.zip",
"keywords": [ "keywords": [
"Command", "Command",
"ExpGaming", "ExpGaming",
@@ -16,5 +16,6 @@
"ExpGamingCore.Commands": "^4.0.0", "ExpGamingCore.Commands": "^4.0.0",
"ExpGamingCore.Ranking": "^4.0.0", "ExpGamingCore.Ranking": "^4.0.0",
"FactorioStdLib.Game": "^0.8.0" "FactorioStdLib.Game": "^0.8.0"
} },
"collection": "ExpGamingCommands_4.0.0"
} }

View File

@@ -3,7 +3,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Allows items to be healed and repaired with a command", "description": "Allows items to be healed and repaired with a command",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCommands.repair_4.0.0.zip",
"keywords": [ "keywords": [
"ExpGaming", "ExpGaming",
"Command", "Command",
@@ -17,5 +17,6 @@
"FactorioStdLib.Game": "^0.8.0", "FactorioStdLib.Game": "^0.8.0",
"ExpGamingCore.Ranking": "^4.0.0", "ExpGamingCore.Ranking": "^4.0.0",
"ExpGamingAdmin.TempBan": "?^4.0.0" "ExpGamingAdmin.TempBan": "?^4.0.0"
} },
"collection": "ExpGamingCommands_4.0.0"
} }

View File

@@ -3,7 +3,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Collection", "type": "Collection",
"description": "A Collection of all of the custom commands used on ExpGaming servers.", "description": "A Collection of all of the custom commands used on ExpGaming servers.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCommands_4.0.0.zip",
"keywords": [ "keywords": [
"Commands", "Commands",
"ExpGaming", "ExpGaming",
@@ -19,7 +19,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Admins many of the admin featues which the script can use as in game commands.", "description": "Admins many of the admin featues which the script can use as in game commands.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCommands.admin_4.0.0.zip",
"keywords": [ "keywords": [
"ExpGaming", "ExpGaming",
"Admin", "Admin",
@@ -39,14 +39,15 @@
"ExpGamingAdmin.Warnings": "?^4.0.0", "ExpGamingAdmin.Warnings": "?^4.0.0",
"ExpGamingAdmin.Reports": "^?4.0.0", "ExpGamingAdmin.Reports": "^?4.0.0",
"ExpGamingAdmin.ClearInventory": "?^4.0.0" "ExpGamingAdmin.ClearInventory": "?^4.0.0"
} },
"collection": "ExpGamingCommands_4.0.0"
}, },
"bonus": { "bonus": {
"name": "bonus", "name": "bonus",
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Allows a bonus to be applied to players and instant respawn.", "description": "Allows a bonus to be applied to players and instant respawn.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCommands.bonus_4.0.0.zip",
"keywords": [ "keywords": [
"Instant Respawn", "Instant Respawn",
"Bonus", "Bonus",
@@ -60,14 +61,15 @@
"ExpGamingLib": "^4.0.0", "ExpGamingLib": "^4.0.0",
"ExpGamingCore.Commands": "^4.0.0", "ExpGamingCore.Commands": "^4.0.0",
"ExpGamingCore.Ranking": "?^4.0.0" "ExpGamingCore.Ranking": "?^4.0.0"
} },
"collection": "ExpGamingCommands_4.0.0"
}, },
"cheatMode": { "cheatMode": {
"name": "cheatMode", "name": "cheatMode",
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Adds a command which allow you to toggle cheatmode", "description": "Adds a command which allow you to toggle cheatmode",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCommands.cheatMode_4.0.0.zip",
"keywords": [ "keywords": [
"Cheat", "Cheat",
"Commands", "Commands",
@@ -78,14 +80,15 @@
], ],
"dependencies": { "dependencies": {
"ExpGamingCore.Commands": "^4.0.0" "ExpGamingCore.Commands": "^4.0.0"
} },
"collection": "ExpGamingCommands_4.0.0"
}, },
"home": { "home": {
"name": "home", "name": "home",
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Allows players to set homes and then return to them later.", "description": "Allows players to set homes and then return to them later.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCommands.home_4.0.0.zip",
"keywords": [ "keywords": [
"Teleport", "Teleport",
"ExpGaming", "ExpGaming",
@@ -97,14 +100,15 @@
"dependencies": { "dependencies": {
"FactorioStdLib.Game": "^0.8.0", "FactorioStdLib.Game": "^0.8.0",
"ExpGamingCore.Commands": "^4.0.0" "ExpGamingCore.Commands": "^4.0.0"
} },
"collection": "ExpGamingCommands_4.0.0"
}, },
"kill": { "kill": {
"name": "kill", "name": "kill",
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Adds a command which can be used to kill a player or yourself.", "description": "Adds a command which can be used to kill a player or yourself.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCommands.kill_4.0.0.zip",
"keywords": [ "keywords": [
"Command", "Command",
"ExpGaming", "ExpGaming",
@@ -117,14 +121,15 @@
"ExpGamingCore.Commands": "^4.0.0", "ExpGamingCore.Commands": "^4.0.0",
"ExpGamingCore.Ranking": "^4.0.0", "ExpGamingCore.Ranking": "^4.0.0",
"FactorioStdLib.Game": "^0.8.0" "FactorioStdLib.Game": "^0.8.0"
} },
"collection": "ExpGamingCommands_4.0.0"
}, },
"repair": { "repair": {
"name": "repair", "name": "repair",
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Allows items to be healed and repaired with a command", "description": "Allows items to be healed and repaired with a command",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCommands.repair_4.0.0.zip",
"keywords": [ "keywords": [
"ExpGaming", "ExpGaming",
"Command", "Command",
@@ -138,14 +143,15 @@
"FactorioStdLib.Game": "^0.8.0", "FactorioStdLib.Game": "^0.8.0",
"ExpGamingCore.Ranking": "^4.0.0", "ExpGamingCore.Ranking": "^4.0.0",
"ExpGamingAdmin.TempBan": "?^4.0.0" "ExpGamingAdmin.TempBan": "?^4.0.0"
} },
"collection": "ExpGamingCommands_4.0.0"
}, },
"tags": { "tags": {
"name": "tags", "name": "tags",
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Allows tags to be used by users.", "description": "Allows tags to be used by users.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCommands.tags_4.0.0.zip",
"keywords": [ "keywords": [
"Tags", "Tags",
"Custom Tags", "Custom Tags",
@@ -157,14 +163,15 @@
"ExpGamingCore.Ranking": "^4.0.0", "ExpGamingCore.Ranking": "^4.0.0",
"ExpGamingCore.Commands": "^4.0.0", "ExpGamingCore.Commands": "^4.0.0",
"FactorioStdLib.Game": "^0.8.0" "FactorioStdLib.Game": "^0.8.0"
} },
"collection": "ExpGamingCommands_4.0.0"
}, },
"teleport": { "teleport": {
"name": "teleport", "name": "teleport",
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Adds a few commands used to teleport players.", "description": "Adds a few commands used to teleport players.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCommands.teleport_4.0.0.zip",
"keywords": [ "keywords": [
"Teleport", "Teleport",
"Tp", "Tp",
@@ -178,7 +185,8 @@
"dependencies": { "dependencies": {
"ExpGamingCore.Commands": "^4.0.0", "ExpGamingCore.Commands": "^4.0.0",
"ExpGamingAdmin.Teleport": "^4.0.0" "ExpGamingAdmin.Teleport": "^4.0.0"
} },
"collection": "ExpGamingCommands_4.0.0"
} }
}, },
"dependencies": {} "dependencies": {}

View File

@@ -3,7 +3,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Allows tags to be used by users.", "description": "Allows tags to be used by users.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCommands.tags_4.0.0.zip",
"keywords": [ "keywords": [
"Tags", "Tags",
"Custom Tags", "Custom Tags",
@@ -15,5 +15,6 @@
"ExpGamingCore.Ranking": "^4.0.0", "ExpGamingCore.Ranking": "^4.0.0",
"ExpGamingCore.Commands": "^4.0.0", "ExpGamingCore.Commands": "^4.0.0",
"FactorioStdLib.Game": "^0.8.0" "FactorioStdLib.Game": "^0.8.0"
} },
"collection": "ExpGamingCommands_4.0.0"
} }

View File

@@ -3,7 +3,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Adds a few commands used to teleport players.", "description": "Adds a few commands used to teleport players.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCommands.teleport_4.0.0.zip",
"keywords": [ "keywords": [
"Teleport", "Teleport",
"Tp", "Tp",
@@ -17,5 +17,6 @@
"dependencies": { "dependencies": {
"ExpGamingCore.Commands": "^4.0.0", "ExpGamingCore.Commands": "^4.0.0",
"ExpGamingAdmin.Teleport": "^4.0.0" "ExpGamingAdmin.Teleport": "^4.0.0"
} },
"collection": "ExpGamingCommands_4.0.0"
} }

View File

@@ -228,6 +228,8 @@ function commands:on_init()
if loaded_modules['ExpGamingCore.Ranking'] then Ranking = require('ExpGamingCore.Ranking') end if loaded_modules['ExpGamingCore.Ranking'] then Ranking = require('ExpGamingCore.Ranking') end
end end
return commands
--[[ --[[
command example command example

View File

@@ -3,7 +3,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "A better command handler than the base game.", "description": "A better command handler than the base game.",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Commands.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Commands_4.0.0.zip",
"keywords": [ "keywords": [
"Library", "Library",
"Lib", "Lib",
@@ -11,14 +11,12 @@
"Core", "Core",
"Commands" "Commands"
], ],
"author": "<blank>",
"contact": "<blank>",
"license": "<blank>",
"dependencies": { "dependencies": {
"ExpGamingLib": "^4.0.0", "ExpGamingLib": "^4.0.0",
"FactorioStdLib.Table": "^0.8.0", "FactorioStdLib.Table": "^0.8.0",
"FactorioStdLib.Color": "^0.8.0", "FactorioStdLib.Color": "^0.8.0",
"FactorioStdLib.Game": "^0.8.0", "FactorioStdLib.Game": "^0.8.0",
"ExpGamingCore.Ranking": "?^4.0.0" "ExpGamingCore.Ranking": "?^4.0.0"
} },
"collection": "ExpGamingCore_4.0.0"
} }

View File

@@ -3,7 +3,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Adds a objective version to custom guis.", "description": "Adds a objective version to custom guis.",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Gui.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Gui_4.0.0.zip",
"keywords": [ "keywords": [
"Library", "Library",
"Lib", "Lib",
@@ -12,9 +12,6 @@
"Gui", "Gui",
"ExpGui" "ExpGui"
], ],
"author": "<blank>",
"contact": "<blank>",
"license": "<blank>",
"dependencies": { "dependencies": {
"ExpGamingLib": "^4.0.0", "ExpGamingLib": "^4.0.0",
"FactorioStdLib.Table": "^0.8.0", "FactorioStdLib.Table": "^0.8.0",
@@ -22,5 +19,6 @@
"FactorioStdLib.Game": "^0.8.0", "FactorioStdLib.Game": "^0.8.0",
"ExpGamingCore.Ranking": "?^4.0.0", "ExpGamingCore.Ranking": "?^4.0.0",
"ExpGamingCore.Server": "?^4.0.0" "ExpGamingCore.Server": "?^4.0.0"
} },
"collection": "ExpGamingCore_4.0.0"
} }

View File

@@ -1,9 +1,9 @@
{ {
"name": "Ranking", "name": "Ranking",
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "A full ranking system for factorio.", "description": "A full ranking system for factorio.",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Ranking.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Ranking_4.0.0.zip",
"keywords": [ "keywords": [
"Library", "Library",
"Lib", "Lib",
@@ -14,14 +14,12 @@
"Permissions", "Permissions",
"Roles" "Roles"
], ],
"author": "<blank>",
"contact": "<blank>",
"license": "<blank>",
"dependencies": { "dependencies": {
"ExpGamingLib": "^4.0.0", "ExpGamingLib": "^4.0.0",
"FactorioStdLib.Color": "^0.8.0", "FactorioStdLib.Color": "^0.8.0",
"FactorioStdLib.Table": "^0.8.0", "FactorioStdLib.Table": "^0.8.0",
"FactorioStdLib.Game": "^0.8.0", "FactorioStdLib.Game": "^0.8.0",
"ExpGamingCore.Server": "?^4.0.0" "ExpGamingCore.Server": "?^4.0.0"
} },
"collection": "ExpGamingCore_4.0.0"
} }

View File

@@ -1,9 +1,9 @@
{ {
"name": "Server", "name": "Server",
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Adds a thread system and event listening and a admin bypass (recommend to disable /c and use optional /interface)", "description": "Adds a thread system and event listening and a admin bypass (recommend to disable /c and use optional /interface)",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Server.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Server_4.0.0.zip",
"keywords": [ "keywords": [
"Library", "Library",
"Lib", "Lib",
@@ -14,9 +14,6 @@
"Interface", "Interface",
"Events" "Events"
], ],
"author": "<blank>",
"contact": "<blank>",
"license": "<blank>",
"dependencies": { "dependencies": {
"ExpGamingLib": "^4.0.0", "ExpGamingLib": "^4.0.0",
"FactorioStdLib.Table": "^0.8.0", "FactorioStdLib.Table": "^0.8.0",
@@ -24,5 +21,6 @@
"FactorioStdLib.String": "^0.8.0", "FactorioStdLib.String": "^0.8.0",
"FactorioStdLib.Game": "^0.8.0", "FactorioStdLib.Game": "^0.8.0",
"ExpGamingCore.Commands": "?^4.0.0" "ExpGamingCore.Commands": "?^4.0.0"
} },
"collection": "ExpGamingCore_4.0.0"
} }

View File

@@ -8,6 +8,7 @@
-- @function _comment -- @function _comment
local Game = require('FactorioStdLib.Game') local Game = require('FactorioStdLib.Game')
local Server = Server
--- Runs the given input from the script --- Runs the given input from the script
-- @command interface -- @command interface

View File

@@ -3,7 +3,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Allows syncing with an outside server and info panle.", "description": "Allows syncing with an outside server and info panle.",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Sync.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Sync_4.0.0.zip",
"keywords": [ "keywords": [
"Library", "Library",
"Lib", "Lib",
@@ -14,9 +14,6 @@
"External", "External",
"Discord" "Discord"
], ],
"author": "<blank>",
"contact": "<blank>",
"license": "<blank>",
"dependencies": { "dependencies": {
"ExpGamingLib": "^4.0.0", "ExpGamingLib": "^4.0.0",
"FactorioStdLib.Color": "^0.8.0", "FactorioStdLib.Color": "^0.8.0",
@@ -24,5 +21,6 @@
"FactorioStdLib.Table": "^0.8.0", "FactorioStdLib.Table": "^0.8.0",
"ExpGamingCore.Ranking": "?^4.0.0", "ExpGamingCore.Ranking": "?^4.0.0",
"ExpGamingCore.Gui": "?^4.0.0" "ExpGamingCore.Gui": "?^4.0.0"
} },
"collection": "ExpGamingCore_4.0.0"
} }

View File

@@ -3,7 +3,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Collection", "type": "Collection",
"description": "Explosive Gaming Core Files", "description": "Explosive Gaming Core Files",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore_4.0.0.zip",
"keywords": [ "keywords": [
"Library", "Library",
"Lib", "Lib",
@@ -19,7 +19,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "A better command handler than the base game.", "description": "A better command handler than the base game.",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Commands.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Commands_4.0.0.zip",
"keywords": [ "keywords": [
"Library", "Library",
"Lib", "Lib",
@@ -33,13 +33,15 @@
"FactorioStdLib.Color": "^0.8.0", "FactorioStdLib.Color": "^0.8.0",
"FactorioStdLib.Game": "^0.8.0", "FactorioStdLib.Game": "^0.8.0",
"ExpGamingCore.Ranking": "?^4.0.0" "ExpGamingCore.Ranking": "?^4.0.0"
} },
"collection": "ExpGamingCore_4.0.0"
}, },
"Gui": { "Gui": {
"name": "Gui", "name": "Gui",
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule",
"description": "Adds a objective version to custom guis.", "description": "Adds a objective version to custom guis.",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Gui.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Gui_4.0.0.zip",
"keywords": [ "keywords": [
"Library", "Library",
"Lib", "Lib",
@@ -56,13 +58,14 @@
"ExpGamingCore.Ranking": "?^4.0.0", "ExpGamingCore.Ranking": "?^4.0.0",
"ExpGamingCore.Server": "?^4.0.0" "ExpGamingCore.Server": "?^4.0.0"
}, },
"type": "Submodule" "collection": "ExpGamingCore_4.0.0"
}, },
"Ranking": { "Ranking": {
"name": "Ranking", "name": "Ranking",
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule",
"description": "A full ranking system for factorio.", "description": "A full ranking system for factorio.",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Ranking.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Ranking_4.0.0.zip",
"keywords": [ "keywords": [
"Library", "Library",
"Lib", "Lib",
@@ -80,13 +83,14 @@
"FactorioStdLib.Game": "^0.8.0", "FactorioStdLib.Game": "^0.8.0",
"ExpGamingCore.Server": "?^4.0.0" "ExpGamingCore.Server": "?^4.0.0"
}, },
"type": "Submodule" "collection": "ExpGamingCore_4.0.0"
}, },
"Server": { "Server": {
"name": "Server", "name": "Server",
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule",
"description": "Adds a thread system and event listening and a admin bypass (recommend to disable /c and use optional /interface)", "description": "Adds a thread system and event listening and a admin bypass (recommend to disable /c and use optional /interface)",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Server.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Server_4.0.0.zip",
"keywords": [ "keywords": [
"Library", "Library",
"Lib", "Lib",
@@ -105,13 +109,14 @@
"FactorioStdLib.Game": "^0.8.0", "FactorioStdLib.Game": "^0.8.0",
"ExpGamingCore.Commands": "?^4.0.0" "ExpGamingCore.Commands": "?^4.0.0"
}, },
"type": "Submodule" "collection": "ExpGamingCore_4.0.0"
}, },
"Sync": { "Sync": {
"name": "Sync", "name": "Sync",
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule",
"description": "Allows syncing with an outside server and info panle.", "description": "Allows syncing with an outside server and info panle.",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Sync.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Sync_4.0.0.zip",
"keywords": [ "keywords": [
"Library", "Library",
"Lib", "Lib",
@@ -130,7 +135,8 @@
"ExpGamingCore.Ranking": "?^4.0.0", "ExpGamingCore.Ranking": "?^4.0.0",
"ExpGamingCore.Gui": "?^4.0.0" "ExpGamingCore.Gui": "?^4.0.0"
}, },
"type": "Submodule" "collection": "ExpGamingCore_4.0.0"
} }
} },
"dependencies": {}
} }

View File

@@ -3,7 +3,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Module", "type": "Module",
"description": "Adds some common functions used though out all ExpGaming modules", "description": "Adds some common functions used though out all ExpGaming modules",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingLib.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingLib_4.0.0.zip",
"keywords": [ "keywords": [
"ExpGaming", "ExpGaming",
"Lib" "Lib"

View File

@@ -3,7 +3,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Adds a varible amount of time before a user is kicked based on the current player count.", "description": "Adds a varible amount of time before a user is kicked based on the current player count.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingPlayer.afkKick_4.0.0.zip",
"keywords": [ "keywords": [
"Kick", "Kick",
"AFK", "AFK",
@@ -17,5 +17,6 @@
"ExpGamingCore.Ranking": "?^4.0.0", "ExpGamingCore.Ranking": "?^4.0.0",
"ExpGamingCore.Sync": "?^4.0.0", "ExpGamingCore.Sync": "?^4.0.0",
"ExpGamingCore.Server": "?^4.0.0" "ExpGamingCore.Server": "?^4.0.0"
} },
"collection": "ExpGamingPlayer_4.0.0"
} }

View File

@@ -3,7 +3,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Used to give so common info on a player as a lua table or a frame.", "description": "Used to give so common info on a player as a lua table or a frame.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingPlayer.playerInfo_4.0.0.zip",
"keywords": [ "keywords": [
"Cam", "Cam",
"Follow", "Follow",
@@ -15,5 +15,6 @@
"FactorioStdLib.Game": "^0.8.0", "FactorioStdLib.Game": "^0.8.0",
"ExpGamingCore.Gui": "^4.0.0", "ExpGamingCore.Gui": "^4.0.0",
"ExpGamingCore.Ranking": "?^4.0.0" "ExpGamingCore.Ranking": "?^4.0.0"
} },
"collection": "ExpGamingPlayer_4.0.0"
} }

View File

@@ -3,7 +3,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Used to display player names and online time on the top left.", "description": "Used to display player names and online time on the top left.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingPlayer.playerList_4.0.0.zip",
"keywords": [ "keywords": [
"Player List", "Player List",
"List", "List",
@@ -17,5 +17,6 @@
"ExpGamingAdmin.buttonFlow": "?^4.0.0", "ExpGamingAdmin.buttonFlow": "?^4.0.0",
"ExpGamingAdmin.reports": "?^4.0.0", "ExpGamingAdmin.reports": "?^4.0.0",
"ExpGamingPlayer.playerInfo": "?^4.0.0" "ExpGamingPlayer.playerInfo": "?^4.0.0"
} },
"collection": "ExpGamingPlayer_4.0.0"
} }

View File

@@ -3,7 +3,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Collection", "type": "Collection",
"description": "Useful collection of modules for displaying player infomation.", "description": "Useful collection of modules for displaying player infomation.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingPlayer_4.0.0.zip",
"keywords": [ "keywords": [
"ExpGaming", "ExpGaming",
"Player", "Player",
@@ -19,7 +19,7 @@
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Adds a varible amount of time before a user is kicked based on the current player count.", "description": "Adds a varible amount of time before a user is kicked based on the current player count.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingPlayer.afkKick_4.0.0.zip",
"keywords": [ "keywords": [
"Kick", "Kick",
"AFK", "AFK",
@@ -33,14 +33,15 @@
"ExpGamingCore.Ranking": "?^4.0.0", "ExpGamingCore.Ranking": "?^4.0.0",
"ExpGamingCore.Sync": "?^4.0.0", "ExpGamingCore.Sync": "?^4.0.0",
"ExpGamingCore.Server": "?^4.0.0" "ExpGamingCore.Server": "?^4.0.0"
} },
"collection": "ExpGamingPlayer_4.0.0"
}, },
"playerInfo": { "playerInfo": {
"name": "playerInfo", "name": "playerInfo",
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Used to give so common info on a player as a lua table or a frame.", "description": "Used to give so common info on a player as a lua table or a frame.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingPlayer.playerInfo_4.0.0.zip",
"keywords": [ "keywords": [
"Cam", "Cam",
"Follow", "Follow",
@@ -52,14 +53,15 @@
"FactorioStdLib.Game": "^0.8.0", "FactorioStdLib.Game": "^0.8.0",
"ExpGamingCore.Gui": "^4.0.0", "ExpGamingCore.Gui": "^4.0.0",
"ExpGamingCore.Ranking": "?^4.0.0" "ExpGamingCore.Ranking": "?^4.0.0"
} },
"collection": "ExpGamingPlayer_4.0.0"
}, },
"playerList": { "playerList": {
"name": "playerList", "name": "playerList",
"version": "4.0.0", "version": "4.0.0",
"type": "Submodule", "type": "Submodule",
"description": "Used to display player names and online time on the top left.", "description": "Used to display player names and online time on the top left.",
"location": "<blank>", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingPlayer.playerList_4.0.0.zip",
"keywords": [ "keywords": [
"Player List", "Player List",
"List", "List",
@@ -73,7 +75,8 @@
"ExpGamingAdmin.buttonFlow": "?^4.0.0", "ExpGamingAdmin.buttonFlow": "?^4.0.0",
"ExpGamingAdmin.reports": "?^4.0.0", "ExpGamingAdmin.reports": "?^4.0.0",
"ExpGamingPlayer.playerInfo": "?^4.0.0" "ExpGamingPlayer.playerInfo": "?^4.0.0"
} },
"collection": "ExpGamingPlayer_4.0.0"
} }
}, },
"dependencies": {} "dependencies": {}

View File

@@ -3,7 +3,7 @@
"version": "0.8.0", "version": "0.8.0",
"type": "Submodule", "type": "Submodule",
"description": "A defines module for retrieving colors by name.", "description": "A defines module for retrieving colors by name.",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/FactorioStdLib.Color.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/FactorioStdLib.Color_0.8.0.zip",
"keywords": [ "keywords": [
"Standard Library", "Standard Library",
"Lib", "Lib",
@@ -11,8 +11,6 @@
"Color", "Color",
"Extends" "Extends"
], ],
"author": "<blank>", "dependencies": {},
"contact": "<blank>", "collection": "FactorioStdLib_0.8.0"
"license": "<blank>",
"dependencies": {}
} }

View File

@@ -3,7 +3,7 @@
"version": "0.8.0", "version": "0.8.0",
"type": "Submodule", "type": "Submodule",
"description": "The game module.", "description": "The game module.",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/FactorioStdLib.Game.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/FactorioStdLib.Game_0.8.0.zip",
"keywords": [ "keywords": [
"Standard Library", "Standard Library",
"Lib", "Lib",
@@ -11,8 +11,6 @@
"Game", "Game",
"Extends" "Extends"
], ],
"author": "<blank>", "dependencies": {},
"contact": "<blank>", "collection": "FactorioStdLib_0.8.0"
"license": "<blank>",
"dependencies": {}
} }

View File

@@ -3,7 +3,7 @@
"version": "0.8.0", "version": "0.8.0",
"type": "Submodule", "type": "Submodule",
"description": "Extends Lua 5.2 string.", "description": "Extends Lua 5.2 string.",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/FactorioStdLib.String.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/FactorioStdLib.String_0.8.0.zip",
"keywords": [ "keywords": [
"Standard Library", "Standard Library",
"Lib", "Lib",
@@ -11,8 +11,6 @@
"String", "String",
"Extends" "Extends"
], ],
"author": "<blank>", "dependencies": {},
"contact": "<blank>", "collection": "FactorioStdLib_0.8.0"
"license": "<blank>",
"dependencies": {}
} }

View File

@@ -3,7 +3,7 @@
"version": "0.8.0", "version": "0.8.0",
"type": "Submodule", "type": "Submodule",
"description": "Extends Lua 5.2 table.", "description": "Extends Lua 5.2 table.",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/FactorioStdLib.Table.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/FactorioStdLib.Table_0.8.0.zip",
"keywords": [ "keywords": [
"Standard Library", "Standard Library",
"Lib", "Lib",
@@ -11,8 +11,6 @@
"Table", "Table",
"Extends" "Extends"
], ],
"author": "<blank>", "dependencies": {},
"contact": "<blank>", "collection": "FactorioStdLib_0.8.0"
"license": "<blank>",
"dependencies": {}
} }

View File

@@ -3,7 +3,7 @@
"version": "0.8.0", "version": "0.8.0",
"type": "Collection", "type": "Collection",
"description": "Factorio Standard Library Projects", "description": "Factorio Standard Library Projects",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/FactorioStdLib.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/FactorioStdLib_0.8.0.zip",
"keywords": [ "keywords": [
"Standard Library", "Standard Library",
"Lib", "Lib",
@@ -18,7 +18,7 @@
"version": "0.8.0", "version": "0.8.0",
"type": "Submodule", "type": "Submodule",
"description": "A defines module for retrieving colors by name.", "description": "A defines module for retrieving colors by name.",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/FactorioStdLib.Color.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/FactorioStdLib.Color_0.8.0.zip",
"keywords": [ "keywords": [
"Standard Library", "Standard Library",
"Lib", "Lib",
@@ -26,14 +26,15 @@
"Color", "Color",
"Extends" "Extends"
], ],
"dependencies": {} "dependencies": {},
"collection": "FactorioStdLib_0.8.0"
}, },
"Game": { "Game": {
"name": "Game", "name": "Game",
"version": "0.8.0", "version": "0.8.0",
"type": "Submodule", "type": "Submodule",
"description": "The game module.", "description": "The game module.",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/FactorioStdLib.Game.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/FactorioStdLib.Game_0.8.0.zip",
"keywords": [ "keywords": [
"Standard Library", "Standard Library",
"Lib", "Lib",
@@ -41,14 +42,15 @@
"Game", "Game",
"Extends" "Extends"
], ],
"dependencies": {} "dependencies": {},
"collection": "FactorioStdLib_0.8.0"
}, },
"String": { "String": {
"name": "String", "name": "String",
"version": "0.8.0", "version": "0.8.0",
"type": "Submodule", "type": "Submodule",
"description": "Extends Lua 5.2 string.", "description": "Extends Lua 5.2 string.",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/FactorioStdLib.String.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/FactorioStdLib.String_0.8.0.zip",
"keywords": [ "keywords": [
"Standard Library", "Standard Library",
"Lib", "Lib",
@@ -56,14 +58,15 @@
"String", "String",
"Extends" "Extends"
], ],
"dependencies": {} "dependencies": {},
"collection": "FactorioStdLib_0.8.0"
}, },
"Table": { "Table": {
"name": "Table", "name": "Table",
"version": "0.8.0", "version": "0.8.0",
"type": "Submodule", "type": "Submodule",
"description": "Extends Lua 5.2 table.", "description": "Extends Lua 5.2 table.",
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/FactorioStdLib.Table.zip", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/FactorioStdLib.Table_0.8.0.zip",
"keywords": [ "keywords": [
"Standard Library", "Standard Library",
"Lib", "Lib",
@@ -71,7 +74,9 @@
"Table", "Table",
"Extends" "Extends"
], ],
"dependencies": {} "dependencies": {},
"collection": "FactorioStdLib_0.8.0"
} }
} },
"dependencies": {}
} }

View File

@@ -1,7 +1,6 @@
{ {
"name": "ExpGamingScenario", "name": "ExpGamingScenario",
"version": "0.16.51", "version": "0.16.51",
"type": "Scenario", "type": "Scenario",
"description": "Explosive gaming's factorio secenario ran on every public server", "description": "Explosive gaming's factorio secenario ran on every public server",
"modules": { "modules": {
@@ -11,6 +10,9 @@
"FactorioStdLib.Game": "^0.8.0", "FactorioStdLib.Game": "^0.8.0",
"FactorioStdLib.String": "^0.8.0", "FactorioStdLib.String": "^0.8.0",
"FactorioStdLib.Table": "^0.8.0", "FactorioStdLib.Table": "^0.8.0",
"FactorioStdLib": "^0.8.0" "FactorioStdLib": "^0.8.0",
} "ExpGamingCommands": "^4.0.0",
"ExpGamingPlayer": "^4.0.0"
},
"dependencies": {}
} }

View File

@@ -1,7 +1,34 @@
-- made by cooldude -- made by cooldude
-- idea from Mylon - Dirt Path -- idea from Mylon - Dirt Path
local adjacency_boost = 10 -- makes paths more lickly to be next to each other local adjacency_boost = 2 -- makes paths more lickly to be next to each other; must be greater than 0
local entities = {
['stone-furnace']=2,
['steel-furnace']=2,
['electric-furnace']=3,
['assembling-machine-1']=3,
['assembling-machine-2']=3,
['assembling-machine-3']=3,
['beacon']=3,
['centrifuge']=3,
['chemical-plant']=3,
['oil-refinery']=7,
['storage-tank']=3,
['nuclear-reactor']=5,
['steam-engine']=4,
['steam-turbine']=4,
['boiler']=3,
['heat-exchanger']=3,
['stone-wall']=1,
['gate']=1,
['gun-turret']=2,
['laser-turret']=2,
['radar']=3,
['lab']=3,
['big-electric-pole']=2,
['substation']=2,
['rocket-silo']=7
}
local placed_paths = { local placed_paths = {
['refined-concrete']=true, ['refined-concrete']=true,
['refined-hazard-concrete-right']=true, ['refined-hazard-concrete-right']=true,
@@ -14,13 +41,13 @@ local placed_paths = {
local paths = { local paths = {
-- ['tile name'] = {health,convert to} -- ['tile name'] = {health,convert to}
-- health is the average number of steps in hundards before it changes -- health is the average number of steps in hundards before it changes
['refined-concrete']={40,'concrete'}, ['refined-concrete']={70,'concrete'},
['refined-hazard-concrete-right']={40,'hazard-concrete-right'}, ['refined-hazard-concrete-right']={70,'hazard-concrete-right'},
['refined-hazard-concrete-left']={40,'hazard-concrete-left'}, ['refined-hazard-concrete-left']={70,'hazard-concrete-left'},
['concrete']={30,'stone-path'}, ['concrete']={50,'stone-path'},
['hazard-concrete-right']={30,'stone-path'}, ['hazard-concrete-right']={50,'stone-path'},
['hazard-concrete-left']={30,'stone-path'}, ['hazard-concrete-left']={50,'stone-path'},
['stone-path']={25,'world-gen'}, -- world-gen just makes it pick the last tile not placed by a player ['stone-path']={40,'world-gen'}, -- world-gen just makes it pick the last tile not placed by a player
['sand-1']={1,'sand-2'}, ['sand-1']={1,'sand-2'},
['sand-2']={3,'sand-3'}, ['sand-2']={3,'sand-3'},
['sand-3']={1,'red-desert-3'}, ['sand-3']={1,'red-desert-3'},
@@ -62,7 +89,7 @@ Event.register(defines.events.on_player_built_tile, function(event)
for _,old_tile in pairs(old_tiles) do for _,old_tile in pairs(old_tiles) do
if placed_paths[old_tile.old_tile.name] or old_tile.old_tile.name == 'water' or old_tile.old_tile.name == 'deep-water' then else if placed_paths[old_tile.old_tile.name] or old_tile.old_tile.name == 'water' or old_tile.old_tile.name == 'deep-water' then else
if global.paths == nil then global.paths = {} end -- nil as you can set to false to disable if global.paths == nil then global.paths = {} end -- nil as you can set to false to disable
global.paths[global_key(surface,old_tile.position)]=old_tile.old_tile.name global.paths[global_key(surface,old_tile.position)]=old_tile.old_tile.name -- not a mistake, this makes it have dimising returns
end end
end end
end) end)
@@ -79,15 +106,30 @@ Event.register(defines.events.on_player_changed_position, function(event)
local count = 1 local count = 1
for x = -1,1 do for y = -1,1 do for x = -1,1 do for y = -1,1 do
local _pos = {pos.x+x,pos.y+y} local _pos = {pos.x+x,pos.y+y}
if paths[tile_name][2] == 'world-gen' and not placed_paths[surface.get_tile(_pos).name] if placed_paths[tile_name] and not placed_paths[surface.get_tile(_pos).name]
or surface.get_tile(_pos).name == paths[tile_name][2] or surface.get_tile(_pos).name == paths[tile_name][2]
then chance=chance*(adjacency_boost/count) count=count+1 end then chance=chance*((adjacency_boost+8)/count) count=count+1 end
end end end end
if math.random() < chance then if math.random() < chance then
down_grade(surface,pos) down_grade(surface,pos)
end end
end) end)
Event.register(defines.events.on_built_entity, function(event)
local entity = event.entity
local surface = player.surface
if entities[entity.name] then
local size = entities[entity.name]
for (x in 0,size) do for (y in 0,size) do
local pos = [entity.position.x+x,entity.position.y+y]
local tile = surface.get_tile(pos).name
if math.random() < paths[tile]*size then
down_grade(surface,pos)
end
end end
end
end)
--[[ --[[
/interface /interface
local tile_name = tile.name local tile_name = tile.name
@@ -100,4 +142,4 @@ for x = -1,1 do for y = -1,1 do
then game.print('boost '..tostring(count)) chance=chance=chance*(adjacency_boost/count) count=count+1 end end then game.print('boost '..tostring(count)) chance=chance=chance*(adjacency_boost/count) count=count+1 end end
end end
return chance return chance
]] ]]