Skip to content

Commit

Permalink
QUICKSTART define (#11912)
Browse files Browse the repository at this point in the history
* lets start it quickly

* lets not start with it tho

* debug job

* modularizes ig?

* we can move the warning to a new file

* lets move the quickstart outside the borders of the world

* override folder to naturally get it to include contents of quickstart last

* touching the end of all

* remove empty lines
  • Loading branch information
Dejaku51 authored Dec 9, 2024
1 parent add1c10 commit 3031d5f
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions _maps/_basemap.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//#define LOWMEMORYMODE //uncomment this to load centcom and runtime station and thats it.
//#define QUICKSTART // uncomment this to start the round immidiately when ready and automatically spawn players with debug outfit

// uncomment this for a map you need to use
// #define FORCE_MAP "corgstation"
Expand Down
3 changes: 2 additions & 1 deletion beestation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -4307,7 +4307,8 @@
#include "code\modules\xenoarchaeology\traits\xenoartifact_traits.dm"
#include "code\modules\zombie\items.dm"
#include "code\modules\zombie\organs.dm"
#include "code\ze_genesis_call\genesis_call.dm"
#include "code\~overrides\quickstart.dm"
#include "code\~~genesis_call\genesis_call.dm"
#include "interface\interface.dm"
#include "interface\stylesheet.dm"
#include "interface\skin.dmf"
Expand Down
15 changes: 15 additions & 0 deletions code/~overrides/quickstart.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#ifdef QUICKSTART
#warn WARNING: Compiling with QUICKSTART.
/datum/job/assistant/debug
title = "Debug Job"
outfit = /datum/outfit/debug

/datum/controller/subsystem/ticker
start_immediately = TRUE

/datum/controller/subsystem/job/AssignRole(mob/dead/new_player/player, rank, latejoin = FALSE)
. = ..(player, "Debug Job", rank, latejoin)

/mob/dead/new_player
ready = TRUE
#endif
File renamed without changes.

0 comments on commit 3031d5f

Please sign in to comment.