mirror of
https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git
synced 2025-01-05 22:53:48 +02:00
Re-arrange and rename some of the settings tabs and headers for clarity.
This commit is contained in:
parent
fae51e1ad3
commit
398615074a
@ -10,6 +10,8 @@ Date: ????
|
|||||||
- Set default starting items to be the same as Vanilla freeplay.
|
- Set default starting items to be the same as Vanilla freeplay.
|
||||||
Bugfixes:
|
Bugfixes:
|
||||||
- Fixed logistics chest not shown in coin shop due to outdated item name.
|
- Fixed logistics chest not shown in coin shop due to outdated item name.
|
||||||
|
Info:
|
||||||
|
- Rename and re-arrange the custom GUI tabs. (Surface Config --> Surface Settings)
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 2.1.2
|
Version: 2.1.2
|
||||||
Date: 2024-10-23
|
Date: 2024-10-23
|
||||||
|
@ -71,20 +71,16 @@ function InitOarcGuiTabs(player)
|
|||||||
AddOarcGuiTab(player, OARC_SERVER_INFO_TAB_NAME)
|
AddOarcGuiTab(player, OARC_SERVER_INFO_TAB_NAME)
|
||||||
SetOarcGuiTabEnabled(player, OARC_SERVER_INFO_TAB_NAME, true)
|
SetOarcGuiTabEnabled(player, OARC_SERVER_INFO_TAB_NAME, true)
|
||||||
|
|
||||||
|
-- Mod Info tab
|
||||||
|
AddOarcGuiTab(player, OARC_MOD_INFO_CTRL_TAB_NAME)
|
||||||
|
SetOarcGuiTabEnabled(player, OARC_MOD_INFO_CTRL_TAB_NAME, true)
|
||||||
|
|
||||||
-- Spawn control tab, enable if player is already spawned
|
-- Spawn control tab, enable if player is already spawned
|
||||||
AddOarcGuiTab(player, OARC_SPAWN_CTRL_TAB_NAME)
|
AddOarcGuiTab(player, OARC_SPAWN_CTRL_TAB_NAME)
|
||||||
local player_respawns = storage.player_respawns[player.name]
|
local player_respawns = storage.player_respawns[player.name]
|
||||||
local spawn_enabled = (player_respawns ~= nil) and (next(player_respawns) ~= nil) -- TODO: Maybe make a specific state flag or something more explicit?
|
local spawn_enabled = (player_respawns ~= nil) and (next(player_respawns) ~= nil) -- TODO: Maybe make a specific state flag or something more explicit?
|
||||||
SetOarcGuiTabEnabled(player, OARC_SPAWN_CTRL_TAB_NAME, spawn_enabled)
|
SetOarcGuiTabEnabled(player, OARC_SPAWN_CTRL_TAB_NAME, spawn_enabled)
|
||||||
|
|
||||||
-- Regrowth control tab
|
|
||||||
AddOarcGuiTab(player, OARC_MOD_INFO_CTRL_TAB_NAME)
|
|
||||||
SetOarcGuiTabEnabled(player, OARC_MOD_INFO_CTRL_TAB_NAME, true)
|
|
||||||
|
|
||||||
-- Settings control tab
|
|
||||||
AddOarcGuiTab(player, OARC_CONFIG_CTRL_TAB_NAME)
|
|
||||||
SetOarcGuiTabEnabled(player, OARC_CONFIG_CTRL_TAB_NAME, true)
|
|
||||||
|
|
||||||
-- Player list tab
|
-- Player list tab
|
||||||
AddOarcGuiTab(player, OARC_MOD_PLAYER_LIST_TAB_NAME)
|
AddOarcGuiTab(player, OARC_MOD_PLAYER_LIST_TAB_NAME)
|
||||||
SetOarcGuiTabEnabled(player, OARC_MOD_PLAYER_LIST_TAB_NAME, true)
|
SetOarcGuiTabEnabled(player, OARC_MOD_PLAYER_LIST_TAB_NAME, true)
|
||||||
@ -95,6 +91,10 @@ function InitOarcGuiTabs(player)
|
|||||||
SetOarcGuiTabEnabled(player, OARC_ITEM_SHOP_TAB_NAME, true)
|
SetOarcGuiTabEnabled(player, OARC_ITEM_SHOP_TAB_NAME, true)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Settings control tab
|
||||||
|
AddOarcGuiTab(player, OARC_CONFIG_CTRL_TAB_NAME)
|
||||||
|
SetOarcGuiTabEnabled(player, OARC_CONFIG_CTRL_TAB_NAME, true)
|
||||||
|
|
||||||
-- Surface config tab
|
-- Surface config tab
|
||||||
if (player.admin) then
|
if (player.admin) then
|
||||||
AddOarcGuiTab(player, OARC_SURFACE_CONFIG_TAB_NAME)
|
AddOarcGuiTab(player, OARC_SURFACE_CONFIG_TAB_NAME)
|
||||||
|
@ -198,7 +198,7 @@ oarc-spawn-ctrls-tab-title=Spawn Controls
|
|||||||
oarc-settings-tab-title=Settings
|
oarc-settings-tab-title=Settings
|
||||||
oarc-mod-info-tab-title=Mod Info
|
oarc-mod-info-tab-title=Mod Info
|
||||||
oarc-player-list-tab-title=Player List
|
oarc-player-list-tab-title=Player List
|
||||||
oarc-surface-config-tab-title=Surface Config
|
oarc-surface-config-tab-title=Surface Settings
|
||||||
oarc-item-shop-tab-title=[item=coin]Shop
|
oarc-item-shop-tab-title=[item=coin]Shop
|
||||||
|
|
||||||
oarc-server-info-tab-welcome-msg-title=Welcome Message
|
oarc-server-info-tab-welcome-msg-title=Welcome Message
|
||||||
@ -233,9 +233,9 @@ oarc-player-list-tab-location-button-tooltip=Click to view map location.
|
|||||||
oarc-settings-tab-title-mod-settings=Mod Settings
|
oarc-settings-tab-title-mod-settings=Mod Settings
|
||||||
oarc-settings-tab-admin-warning=You are an admin. Changing these settings late in the game may cause issues!\nChanging settings will not modify existing spawns. BE CAREFUL!
|
oarc-settings-tab-admin-warning=You are an admin. Changing these settings late in the game may cause issues!\nChanging settings will not modify existing spawns. BE CAREFUL!
|
||||||
oarc-settings-tab-player-warning=You are not an admin. These settings are read-only for you.
|
oarc-settings-tab-player-warning=You are not an admin. These settings are read-only for you.
|
||||||
oarc-settings-tab-description=This tab contains the same mod settings in the mod settings menu AND some additional settings that can only be changed in game. Check the Surface Config tab for surface-specific settings.
|
oarc-settings-tab-description=This tab contains the same mod settings in the mod settings menu AND some additional settings that can only be changed in game. Check the Surface Settings tab for surface-specific settings.
|
||||||
oarc-settings-tab-text-field-enter-tooltip=[color=red]You must press ENTER after typing in a text field to save the value![/color]
|
oarc-settings-tab-text-field-enter-tooltip=[color=red]You must press ENTER after typing in a text field to save the value![/color]
|
||||||
oarc-settings-tab-title-surface=Surface Settings
|
oarc-settings-tab-title-surface=Enable or Disable Surface Features
|
||||||
oarc-settings-tab-surface-checkbox-tooltip=Enabling this will allow custom spawn areas (the main feature of this mod) on this surface. You need at least one of these enabled for the mod to work.
|
oarc-settings-tab-surface-checkbox-tooltip=Enabling this will allow custom spawn areas (the main feature of this mod) on this surface. You need at least one of these enabled for the mod to work.
|
||||||
oarc-settings-tab-surface-secondary-checkbox-tooltip=Enabling this will give players custom secondary spawns when they first travel to this surface. [color=red]This feature is currently a work in progress.[/color]
|
oarc-settings-tab-surface-secondary-checkbox-tooltip=Enabling this will give players custom secondary spawns when they first travel to this surface. [color=red]This feature is currently a work in progress.[/color]
|
||||||
oarc-settings-tab-surface-regrowth-checkbox-tooltip=Enabling this will allow the regrowth and world eater features to work on this surface, if those are enabled.
|
oarc-settings-tab-surface-regrowth-checkbox-tooltip=Enabling this will allow the regrowth and world eater features to work on this surface, if those are enabled.
|
||||||
|
Loading…
Reference in New Issue
Block a user