- | FSM |
- Factorio Softmod Manager |
+ config._file_loader |
+ This contains a list of all files that will be loaded and the order they are loaded in
+ to stop a file from loading add "--" in front of it, remove the "--" to have the file be loaded
+ config files should be loaded after all modules are loaded
+ core files should be required by modules and not be present in this list |
- | ExpGamingCore.Command |
- A full ranking system for factorio. |
+ config.action_buttons |
+ Config for the different action buttons that show on the player list
+ each button has the button define(s) given along side an auth function, and optional reason callback
+ if a reason callback is used then Store.set_child(action_name_store,player.name,'BUTTON_NAME') should be called during on_click
+ buttons can be removed from the gui by commenting them out of the config at the bottom of this file
+ the key used for the name of the button is the permision name used by the role system |
- | ExpGamingCore.Gui |
- Adds a objective version to custom guis. |
+ config.advanced_start |
+ This file is used to setup the map starting settings and the items players will start with |
- | ExpGamingCore.Gui.Center |
- Adds a uniform preset for guis in the center of the screen which allow for different tabs to be opened |
+ config.death_logger |
+ This config controls what happens when a player dies mostly about map markers and item collection
+ allow_teleport_to_body_command and allow_collect_bodies_command can be over ridden if command_auth_runtime_disable is present
+ if not present then the commands will not be loaded into the game |
- | ExpGamingCore.Gui.Inputs |
- Adds a clean way of making new inputs for a gui allowing for sliders and text inputs to be hanndleded with custom events |
+ config.expcore-commands.auth_admin |
+ This is a very simple config file which adds a admin only auth function
+ not much to change here its more so it can be enabled and disabled from ./config/file_loader.lua
+ either way you can change the requirements to be "admin" if you wanted to |
- | ExpGamingCore.Gui.Left |
- Adds a organiser for left gui ellements which will automaticaly update there information and have open requirements |
+ config.expcore-commands.auth_roles |
+ This will make commands only work if the role has been allowed it in the role config |
- | ExpGamingCore.Gui.Popup |
- Adds a location for popups which can be dismissed by a player and created from other scripts |
+ config.expcore-commands.auth_runtime_disable |
+ This config for command auth allows commands to be globally enabled and disabled during runtime
+ this config adds Commands.disable and Commands.enable to enable and disable commands for all users |
- | ExpGamingCore.Gui.Test |
- Used to test all gui elements and parts can be used in game via Gui.test() |
+ config.expcore-commands.parse_general |
+ This file contains some common command param parse functions
+ this file is less of a config and more of a requirement but you may wish to change how some behave
+ as such you need to be confident with lua but you edit this config file
+ use Commands.add_parse('name',function(input,player,reject) end) to add a parse
+ see ./expcore/commands.lua for more details |
- | ExpGamingCore.Gui.Toolbar |
- Adds a toolbar to the top left of the screen |
+ config.expcore-commands.parse_roles |
+ Adds some parse functions that can be used with the role system |
- | ExpGamingCore.Role |
- A full ranking system for factorio. |
+ config.permission_groups |
+ Use this file to add new permission groups to the game
+ start with Permission_Groups.new_group('name')
+ then use either :allow_all() or :disallow_all() to set the default for non specified actions
+ then use :allow{} and :disallow{} to specify certain actions to allow/disallow |
- | ExpGamingCore.Server |
- Adds a thread system and event listening and a admin bypass (recommend to disable /c and use optional /interface) |
+ config.popup_messages |
+ A combination of config settings for different popup values like chat and damage |
- | ExpGamingCore.Sync |
- Allows syncing with an outside server and info panle. |
+ config.rockets |
+ This file controls what will show in each section of the rocket info gui |
- | ExpGamingLib |
- Adds some common functions used though out all ExpGaming modules |
+ config.roles |
+ This is the main config file for the role system; file includes defines for roles and role flags and default values |
- | StdLib.Color |
- A defines module for retrieving colors by name. |
+ config.scorched_earth |
+ This file controls the placement/degrading of tiles as players build and walk |
- | StdLib.Game |
- The game module. |
+ config.spawn_area |
+ Used to config the spawn generation settings yes there is alot here i know just ignore the long tables at the end (they were generated with a command) |
- | StdLib.String |
- Extends Lua 5.2 string. |
+ config.warnings |
+ Config file for the warning system, this is very similar to reports but is for the use of moderators rather than normal users. |
- | StdLib.Table |
- Extends Lua 5.2 table. |
+ control |
+ Please go to ./config if you want to change settings, each file is commented with what it does
+ if it is not in ./config then you should not attempt to change it unless you know what you are doing
+ all files which are loaded (including the config files) are present in ./config/file_loader.lua
+ this file is the landing point for all scenarios please DO NOT edit directly, further comments are to aid development |
- | StdLib.Time |
- A defines module for retrieving the number of ticks in 1 unit of time. |
+ expcore.commands |
+ Factorio command making module that makes commands with better parse and more modularity |
+
+
+ | expcore.common |
+ Adds some commonly used functions used in many modules |
+
+
+ | expcore.gui |
+ This file is used to require all the different elements of the gui module
+ each module has an outline here but for more details see their seperate files in ./gui |
+
+
+ | expcore.gui.buttons |
+ Gui class define for buttons and sprite buttons
+[[ |
+
+
+ | expcore.gui.center |
+ Gui structure define for center gui frames
+[[ |
+
+
+ | expcore.gui.checkboxs |
+ Gui class define for checkboxs and radiobuttons
+[[ |
+
+
+ | expcore.gui.core |
+ Core gui file for making element defines and element classes (use require 'expcore.gui')
+ see utils.gui for event handlering
+ see expcore.gui.test for examples for element defines
+[[ |
+
+
+ | expcore.gui.dropdown |
+ Gui class define for dropdowns and list boxs
+[[ |
+
+
+ | expcore.gui.elem-button |
+ Gui class defines for elem buttons
+[[ |
+
+
+ | expcore.gui.instances |
+ This file is a breakout from core which forcues on instance management of defines
+[[ |
+
+
+ | expcore.gui.left |
+ Gui structure define for left frames
+[[ |
+
+
+ | expcore.gui.popups |
+ Gui structure define for popup gui
+[[ |
+
+
+ | expcore.gui.progress-bar |
+ Gui element define for progess bars
+[[ |
+
+
+ | expcore.gui.slider |
+ Gui class define for silders
+[[ |
+
+
+ | expcore.gui.test |
+ This file creates a teste gui that is used to test every input method
+ note that this does not cover every permutation only features in indepentance
+ for example store in most cases is just by player name, but other store methods are tested with checkbox |
+
+
+ | expcore.gui.text |
+ Gui class define for text fields and text boxs
+[[ |
+
+
+ | expcore.gui.toolbar |
+ Gui structure for the toolbar (top left)
+[[ |
+
+
+ | expcore.permission_groups |
+ Permission group making for factorio so you never have to make one by hand again |
+
+
+ | expcore.roles |
+ Factorio role system to manage custom permissions |
+
+
+ | expcore.store |
+ Adds an easy way to store and watch for updates to a value
+[[ |
+
+
+ | modules.addons.advanced-start |
+ Adds a better method of player starting items based on production levels. |
+
+
+ | modules.addons.chat-popups |
+ Creates flying text entities when a player sends a message in chat
+ also displays a ping above users who are named in the message |
+
+
+ | modules.addons.damage-popups |
+ Displays the amount of dmg that is done by players to entities
+ also shows player health when a player is attacked |
+
+
+ | modules.gui.player-list |
+ Gui left frame define for a player list |
+
+
+ | modules.gui.rocket-info |
+ Adds a rocket infomation gui which shows general stats, milestones and build progress of rockets |
+
+
+ | modules.gui.science-info |
+ Adds a science info gui that shows production usage and net for the different science packs as well as an eta |
+
+
+ | modules.gui.task-list |
+ Adds a task list to the game which players can add remove and edit items on |
+
+
+ | utils.alien_evolution_progress |
+ info
+ Original (javascript) version: https://hastebin.com/udakacavap.js
+ Can be tested against: https://wiki.factorio.com/Enemies#Spawn_chances_by_evolution_factor |
+
+
+ | utils.core |
+ Measures distance between pos1 and pos2 |
+
+
+ | utils.debug |
+ |
+
+
+ | utils.event |
+ This Module allows for registering multiple handlers to the same event, overcoming the limitation of script.register. |
+
+
+ | utils.event_core |
+ Do not use this function, use Event.add instead as it has safety checks. |
+
+
+ | utils.math |
+ Takes two points and calculates the slope of a line |
+
+
+ | utils.recipe_locker |
+ Locks recipes, preventing them from being enabled by research. |
+
+
+ | utils.state_machine |
+ This module provides a classical mealy/moore state machine. |
+
+
+ | utils.table |
+ Searches a table to remove a specific element without an index |
+
+
+ | utils.task |
+ Allows you to set a timer (in ticks) after which the tokened function will be run with params given as an argument
+ Cannot be called before init |
+
+
+ | utils.timestamp |
+ source https://github.com/daurnimator/luatz/blob/master/luatz/timetable.lua
+ edited down to just what is needed. |