mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Makes role datums actually fucking work (#17085)
* FIXES ANOTHER AVALANCHE * fixes the antag macros * can now start a round, re-adds the sandbox gamemode, adds PostSetup() and late_join() to gamemode datum. * fixes some runtimes involving monkeys and their mind being probed by secbots. Removes gamemodes active_roles.dm nonsense, as roles are supposed to be on an individual basis. * removes startwords from the cult gamemode and moves them to the narsie faction * Adds proper role handling for adding people to factions, adds autotraitor * Re-implements some things that were commented out to help lessen the avalanche * ITS ALIVE * delegation, antag objectives now stored in memory appropriately * standardizes the faction members stuff to be ROLES NOT MINDS, HOLY FUCK. Removes unused variables from roles where n3x15 thought roles would also act like factions for some bloody reason. attempts to and fails to salvage check_antagonists * PEDANTIC SEMANTICS
This commit is contained in:
@@ -1011,7 +1011,7 @@
|
||||
jobs += "<td width='20%'><a href='?src=\ref[src];jobban3=wizard;jobban4=\ref[M]'>[replacetext("Wizard", " ", " ")]</a></td>"
|
||||
|
||||
//Strike Team
|
||||
if(jobban_isbanned(M, "Strike Team") || isbanned_dept)
|
||||
if(jobban_isbanned(M, ROLE_STRIKE) || isbanned_dept)
|
||||
jobs += "<td width='20%'><a href='?src=\ref[src];jobban3=Strike Team;jobban4=\ref[M]'><font color=red>Strike Team</font></a></td>"
|
||||
else
|
||||
jobs += "<td width='20%'><a href='?src=\ref[src];jobban3=Strike Team;jobban4=\ref[M]'>Strike Team</a></td>"
|
||||
@@ -1418,9 +1418,6 @@
|
||||
else if(href_list["c_mode"])
|
||||
if(!check_rights(R_ADMIN))
|
||||
return
|
||||
|
||||
if(ticker && ticker.mode)
|
||||
return alert(usr, "The game has already started.", null, null, null, null)
|
||||
var/dat = {"<B>What mode do you wish to play?</B><HR>"}
|
||||
for(var/mode in config.modes)
|
||||
dat += {"<A href='?src=\ref[src];c_mode2=[mode]'>[config.mode_names[mode]]</A><br>"}
|
||||
|
||||
Reference in New Issue
Block a user