mirror of
https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git
synced 2024-12-04 09:43:00 +02:00
Fix chat permissions in holding pen and disable template scenario to avoid confusion.
This commit is contained in:
parent
f640708b3e
commit
4afe9749c2
@ -9,7 +9,7 @@
|
||||
-- Once you have a config you like, it's a good idea to save it for later use so you don't lose it if you update the
|
||||
-- scenario. I will try to avoid making breaking changes to this, but no guarantees.
|
||||
|
||||
-- To see what settings are available, look at the config_mod.lua file in the mod folder.
|
||||
-- To see what settings are available, look at the config_mod.lua file in the mod folder itself.
|
||||
|
||||
-- Check if the OARC mod is loaded. Other than that, it's an empty scenario!
|
||||
script.on_init(function(event)
|
||||
@ -32,12 +32,12 @@ local oarc_scenario_interface =
|
||||
modified_settings.server_info.welcome_msg_title = "THIS IS A TEMPLATE SCENARIO"
|
||||
modified_settings.server_info.welcome_msg = "This is a template scenario. You can modify the settings in the control.lua file. If you are seeing this message, you did not modify the scenario correctly."
|
||||
|
||||
modified_settings.spawn_general.shape = "circle"
|
||||
-- modified_settings.spawn_general.shape = "circle"
|
||||
|
||||
-- Some examples of overriding surface config (which is not accessible from the mod settings!)
|
||||
modified_settings.surfaces_config["nauvis"].starting_items.player_start_items = {
|
||||
["coal"] = 1, -- You're on the naughty list!
|
||||
}
|
||||
-- modified_settings.surfaces_config["nauvis"].starting_items.player_start_items = {
|
||||
-- ["coal"] = 1, -- You're on the naughty list!
|
||||
-- }
|
||||
----------------------------------------------------------------------------------------------------------------
|
||||
return modified_settings
|
||||
end
|
Before Width: | Height: | Size: 263 KiB After Width: | Height: | Size: 263 KiB |
3
TEMPLATE_SCENARIO/README.txt
Normal file
3
TEMPLATE_SCENARIO/README.txt
Normal file
@ -0,0 +1,3 @@
|
||||
This is provided only for advanced server hosts who want to run headless configurations and configure all the available settings in the config.lua file!
|
||||
You must copy the OARC folder (rename if you want) to your own scenarios folder.
|
||||
Then edit the control.lua file. Follow the instructions in the control.lua file!
|
@ -1,4 +1,11 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 2.0.1
|
||||
Date: 2024-09-25
|
||||
Bugfixes:
|
||||
- Fixed that players in holding pen didn't have console permissions to be able to chat with other players before spawning.
|
||||
Ease of use:
|
||||
- Renamed scenarios folder to disable the provided template and added a readme file too. This should make it very clear that the scenario is only a template that must MODIFY first before you use it. Don't worry about the scenario unless you are doing headless hosting and don't want to upload a save file everytime.
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 2.0.0
|
||||
Date: 2024-09-25
|
||||
Major Features:
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oarc-mod",
|
||||
"version": "2.0.0",
|
||||
"version": "2.0.1",
|
||||
"factorio_version": "1.1",
|
||||
"title": "Oarc Multiplayer Spawn",
|
||||
"author": "Oarcinae",
|
||||
|
@ -47,8 +47,7 @@ NAUVIS_STARTER_ITEMS =
|
||||
crashed_ship_resources = {
|
||||
["electronic-circuit"] = 200,
|
||||
["iron-gear-wheel"] = 100,
|
||||
["copper-cable"] = 200,
|
||||
["steel-plate"] = 100
|
||||
["copper-cable"] = 200
|
||||
},
|
||||
crashed_ship_wreakage = {
|
||||
["iron-plate"] = 100 -- I don't recommend more than 1 item type here!
|
||||
|
@ -108,7 +108,7 @@ function CreateHoldingPenPermissionsGroup()
|
||||
holding_pen_group.set_allows_action(defines.input_action.gui_text_changed, true)
|
||||
holding_pen_group.set_allows_action(defines.input_action.gui_value_changed, true)
|
||||
holding_pen_group.set_allows_action(defines.input_action.start_walking, true)
|
||||
-- holding_pen_group.set_allows_action(defines.input_action.write_to_console, true)
|
||||
holding_pen_group.set_allows_action(defines.input_action.write_to_console, true)
|
||||
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user