30 minute grace period to respawn (world time, not round time) (#3457)

## About The Pull Request
from when the server starts to 30 minutes after, respawning is free of
charge
## Why It's Good For The Game
item #1 on the list
## Proof Of Testing
it works dude trust me
<details>
<summary>Screenshots/Videos</summary>

</details>

## Changelog
🆑
code: respawn enabled until 30 min (world time)
/🆑
This commit is contained in:
Odairu
2025-04-07 17:35:25 -04:00
committed by GitHub
parent 99cb23f3c5
commit 0f13b89457
4 changed files with 11 additions and 0 deletions

View File

@@ -845,6 +845,11 @@
/mob/proc/check_respawn_delay(override_delay = 0)
if(!override_delay && !CONFIG_GET(number/respawn_delay))
return TRUE
//BUBBER EDIT 30 minute grace period
var/respawn_grace_period = CONFIG_GET(number/respawn_grace_period)
if(world.time < respawn_grace_period)
return TRUE
//BUBBER EDIT END
var/death_time = world.time - persistent_client.time_of_death

View File

@@ -16,3 +16,6 @@ INTERN_THRESHOLD_COMMAND 20
# Vetted player system
## If enabled, it will use checks to determine if a player is vetted or not in different parts of the game
#CHECK_VETTED
## Respawn grace period (deciseconds), which allows to return to the lobby some amount of time after the world loads - default 30 minutes
RESPAWN_GRACE_PERIOD 18000

View File

@@ -0,0 +1,2 @@
/datum/config_entry/number/respawn_grace_period
default = 30 MINUTES

View File

@@ -8781,6 +8781,7 @@
#include "modular_zubbers\code\_globalvars\lists\quirks.dm"
#include "modular_zubbers\code\_globalvars\lists\~maintenance_loot.dm"
#include "modular_zubbers\code\_onclick\hud\screen_objects\hud_timer.dm"
#include "modular_zubbers\code\controllers\configuration\general.dm"
#include "modular_zubbers\code\controllers\configuration\entries\nsfw.dm"
#include "modular_zubbers\code\controllers\subsystem\air.dm"
#include "modular_zubbers\code\controllers\subsystem\job.dm"