mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
le chars tm
how do you even reach the saves limit brah
This commit is contained in:
1
code/__SPLURTCODE/DEFINES/preferences.dm
Normal file
1
code/__SPLURTCODE/DEFINES/preferences.dm
Normal file
@@ -0,0 +1 @@
|
|||||||
|
#define DEFAULT_SAVE_SLOTS 24
|
||||||
@@ -401,7 +401,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
|||||||
load_path(C.ckey)
|
load_path(C.ckey)
|
||||||
unlock_content = C.IsByondMember()
|
unlock_content = C.IsByondMember()
|
||||||
if(unlock_content)
|
if(unlock_content)
|
||||||
max_save_slots = 32
|
max_save_slots += 8 //SPLURT EDIT
|
||||||
var/loaded_preferences_successfully = load_preferences()
|
var/loaded_preferences_successfully = load_preferences()
|
||||||
if(loaded_preferences_successfully)
|
if(loaded_preferences_successfully)
|
||||||
if(load_character())
|
if(load_character())
|
||||||
|
|||||||
@@ -9,3 +9,8 @@ MAX_INFINIDORMS 5
|
|||||||
# Weighted station traits
|
# Weighted station traits
|
||||||
# If uncommented, the server will pick random station traits according to their weight configuration
|
# If uncommented, the server will pick random station traits according to their weight configuration
|
||||||
WEIGHTED_STATION_TRAITS
|
WEIGHTED_STATION_TRAITS
|
||||||
|
|
||||||
|
# Base amount of max save slots
|
||||||
|
# Amount of character slots that players will have without modifiers being applied
|
||||||
|
# default is 24
|
||||||
|
# BASE_SAVE_SLOTS 24
|
||||||
|
|||||||
@@ -4,3 +4,6 @@
|
|||||||
config_entry_value = 5
|
config_entry_value = 5
|
||||||
|
|
||||||
/datum/config_entry/flag/weighted_station_traits
|
/datum/config_entry/flag/weighted_station_traits
|
||||||
|
|
||||||
|
/datum/config_entry/number/base_save_slots
|
||||||
|
config_entry_value = DEFAULT_SAVE_SLOTS
|
||||||
|
|||||||
@@ -1,12 +1,17 @@
|
|||||||
/datum/preferences
|
/datum/preferences
|
||||||
|
max_save_slots = DEFAULT_SAVE_SLOTS
|
||||||
var/unholypref = "No" //Goin 2 hell fo dis one
|
var/unholypref = "No" //Goin 2 hell fo dis one
|
||||||
|
|
||||||
var/list/gfluid_blacklist = list() //Stuff you don't want people to cum into you
|
var/list/gfluid_blacklist = list() //Stuff you don't want people to cum into you
|
||||||
|
|
||||||
/datum/preferences/New(client/C)
|
/datum/preferences/New(client/C)
|
||||||
if(!GLOB.genital_fluids_list)
|
if(!GLOB.genital_fluids_list)
|
||||||
build_genital_fluids_list() //I DON'T KNOW where else to put it, ok??
|
build_genital_fluids_list() //I DON'T KNOW where else to put it, ok??
|
||||||
|
|
||||||
|
//Extra saves for donators
|
||||||
|
max_save_slots = CONFIG_GET(number/base_save_slots)
|
||||||
|
var/extra_slots = (IS_CKEY_DONATOR_GROUP(C.key, DONATOR_GROUP_TIER_1) + IS_CKEY_DONATOR_GROUP(C.key, DONATOR_GROUP_TIER_2) + IS_CKEY_DONATOR_GROUP(C.key, DONATOR_GROUP_TIER_3)) * 10
|
||||||
|
max_save_slots += extra_slots
|
||||||
|
|
||||||
. = ..()
|
. = ..()
|
||||||
|
|
||||||
/proc/build_genital_fluids_list()
|
/proc/build_genital_fluids_list()
|
||||||
|
|||||||
@@ -262,6 +262,7 @@
|
|||||||
#include "code\__SPLURTCODE\DEFINES\lewd.dm"
|
#include "code\__SPLURTCODE\DEFINES\lewd.dm"
|
||||||
#include "code\__SPLURTCODE\DEFINES\login.dm"
|
#include "code\__SPLURTCODE\DEFINES\login.dm"
|
||||||
#include "code\__SPLURTCODE\DEFINES\mobs.dm"
|
#include "code\__SPLURTCODE\DEFINES\mobs.dm"
|
||||||
|
#include "code\__SPLURTCODE\DEFINES\preferences.dm"
|
||||||
#include "code\__SPLURTCODE\DEFINES\pregnancy.dm"
|
#include "code\__SPLURTCODE\DEFINES\pregnancy.dm"
|
||||||
#include "code\__SPLURTCODE\DEFINES\quirks.dm"
|
#include "code\__SPLURTCODE\DEFINES\quirks.dm"
|
||||||
#include "code\__SPLURTCODE\DEFINES\radiation.dm"
|
#include "code\__SPLURTCODE\DEFINES\radiation.dm"
|
||||||
|
|||||||
Reference in New Issue
Block a user