mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-20 03:29:26 +02:00
Move map info to config (#321)
* Move map info to config * Move map info to config
This commit is contained in:
parent
2da98c856a
commit
9f247e156e
@ -20,3 +20,12 @@ global.scenario.custom_functions = {}
|
||||
global.scenario.config.nuke_control.nuke_min_time_hours = 3 --how long a player must be on the server to be allowed to use the nuke
|
||||
global.newline = '\n'
|
||||
newline = '\n'
|
||||
|
||||
-- The title of the map
|
||||
global.scenario.config.map_name_key = 'This Map has no name'
|
||||
-- The long description of the map, typically 1 paragraph
|
||||
global.scenario.config.map_description_key = "By default this section is blank as it's supposed to be filled out on a per map basis. (If you're seeing this message, ping the admin team to get a description added for this map)"
|
||||
-- The feature list of the map
|
||||
global.scenario.config.map_extra_info_key = 'This map has no extra infomation'
|
||||
-- New Scenario Features, appears in the "What's new" tab
|
||||
global.scenario.config.new_info_key = 'Nothing is new. The world is at peace'
|
||||
|
@ -19,11 +19,12 @@ local map_extra_info_key = 3
|
||||
local new_info_key = 4
|
||||
|
||||
local welcomed_players = {}
|
||||
|
||||
local editable_info = {
|
||||
[map_name_key] = 'This Map has no name',
|
||||
[map_description_key] = "By default this section is blank as it's supposed to be filled out on a per map basis. (If you're seeing this message, ping the admin team to get a description added for this map)",
|
||||
[map_extra_info_key] = 'This map has no extra infomation',
|
||||
[new_info_key] = 'Nothing is new. The world is at peace'
|
||||
[map_name_key] = global.scenario.config.map_name_key,
|
||||
[map_description_key] = global.scenario.config.map_description_key,
|
||||
[map_extra_info_key] = global.scenario.config.map_extra_info_key,
|
||||
[new_info_key] = global.scenario.config.new_info_key
|
||||
}
|
||||
|
||||
Global.register(
|
||||
|
Loading…
x
Reference in New Issue
Block a user