mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-22 04:24:20 +01:00
Loadout fixes and loadout points config option
- Adds a configuration option for loadout points. - Fixes the blue plaid skirt lacking its own unique type, causing runtimes due to the mismatch between its display_name and initial(display_name). - Fixes the gear selection table using a fixed width. - Fixes the restrictions column not consistently being added. - Fixes the header and footer lacking the proper column span to account for the restrictions column.
This commit is contained in:
@@ -177,6 +177,8 @@
|
||||
var/disable_lobby_music = 0 // Disables the lobby music
|
||||
var/disable_cid_warn_popup = 0 //disables the annoying "You have already logged in this round, disconnect or be banned" popup, because it annoys the shit out of me when testing.
|
||||
|
||||
var/max_loadout_points = 5 // How many points can be spent on extra items in character setup
|
||||
|
||||
/datum/configuration/New()
|
||||
var/list/L = subtypesof(/datum/game_mode)
|
||||
for (var/T in L)
|
||||
@@ -552,6 +554,9 @@
|
||||
if("disable_cid_warn_popup")
|
||||
config.disable_cid_warn_popup = 1
|
||||
|
||||
if("max_loadout_points")
|
||||
config.max_loadout_points = text2num(value)
|
||||
|
||||
else
|
||||
diary << "Unknown setting in configuration: '[name]'"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user