Remove /datum/game_mode, we SSdynamic now [again] (#79965)

I don't remember what was hard about this last time it took me like 20
minutes this time so I'm scared.

Removes dynamic simulations, only I have used them and it's a lot more
complicated now with this. I plan on making Dynamic simulations a part
of moth.fans anyway
This commit is contained in:
Mothblocks
2023-12-01 13:25:48 -08:00
committed by GitHub
parent ba9958d854
commit 714ff3ec54
31 changed files with 340 additions and 541 deletions
+4 -4
View File
@@ -69,7 +69,7 @@
else if(href_list["gamemode_panel"])
if(!check_rights(R_ADMIN))
return
SSticker.mode.admin_panel()
SSdynamic.admin_panel()
else if(href_list["call_shuttle"])
if(!check_rights(R_ADMIN))
@@ -400,7 +400,7 @@
else if(href_list["f_dynamic_roundstart"])
if(!check_rights(R_ADMIN))
return
if(SSticker?.mode)
if(SSticker.HasRoundStarted())
return tgui_alert(usr, "The game has already started.")
var/roundstart_rules = list()
for (var/rule in subtypesof(/datum/dynamic_ruleset/roundstart))
@@ -467,7 +467,7 @@
if(!check_rights(R_ADMIN))
return
if(SSticker?.mode)
if(SSticker.HasRoundStarted())
return tgui_alert(usr, "The game has already started.")
dynamic_mode_options(usr)
@@ -501,7 +501,7 @@
if(!check_rights(R_ADMIN))
return
if(SSticker?.mode)
if(SSticker.HasRoundStarted())
return tgui_alert(usr, "The game has already started.")
var/new_value = input(usr, "Enter the forced threat level for dynamic mode.", "Forced threat level") as num