mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
TG: Adds a option to config.txt called PROTECT_ROLES_FROM_ANTAGONIST.
If PROTECT_ROLES_FROM_ANTAGONIST is set, sec/hos/captain/AI cannot be antagonists in most modes If it is not set, only jobs that are mutually exclusive to the role (sec/head during rev, etc) are immune from being antagonist Revision: r3225 Author: VivianFoxfoot
This commit is contained in:
@@ -27,10 +27,10 @@
|
||||
var/vote_period = 60 // length of voting period (seconds, default 1 minute)
|
||||
var/vote_no_default = 0 // vote does not default to nochange/norestart (tbi)
|
||||
var/vote_no_dead = 0 // dead people can't vote (tbi)
|
||||
var/enable_authentication = 0 // goon authentication
|
||||
// var/enable_authentication = 0 // goon authentication
|
||||
var/del_new_on_log = 1 // del's new players if they log before they spawn in
|
||||
var/feature_object_spell_system = 0 //spawns a spellbook which gives object-type spells instead of verb-type spells for the wizard
|
||||
var/traitor_scaling = 0 //if amount of traitors scales based on amount of players
|
||||
var/traitor_scaling = 0 //if amount of traitors scales based on amount of players
|
||||
var/protect_roles_from_antagonist = 0// If security and such can be tratior/cult/other
|
||||
var/Tensioner_Active = 0 // If the tensioner is running.
|
||||
var/popup_admin_pm = 0 //adminPMs to non-admins show in a pop-up 'reply' window when set to 1.
|
||||
@@ -198,8 +198,8 @@
|
||||
if ("allow_ai")
|
||||
config.allow_ai = 1
|
||||
|
||||
if ("authentication")
|
||||
config.enable_authentication = 1
|
||||
// if ("authentication")
|
||||
// config.enable_authentication = 1
|
||||
|
||||
if ("norespawn")
|
||||
config.respawn = 0
|
||||
|
||||
@@ -2,11 +2,10 @@
|
||||
name = "traitor+changeling"
|
||||
config_tag = "traitorchan"
|
||||
traitors_possible = 3 //hard limit on traitors if scaling is turned off
|
||||
restricted_jobs = list("AI", "Cyborg")
|
||||
required_players = 20
|
||||
required_enemies = 2
|
||||
|
||||
uplink_welcome = "Syndicate Uplink Console:"
|
||||
uplink_uses = 10
|
||||
|
||||
/datum/game_mode/traitor/changeling/announce()
|
||||
world << "<B>The current game mode is - Traitor+Changeling!</B>"
|
||||
@@ -14,6 +13,9 @@
|
||||
|
||||
|
||||
/datum/game_mode/traitor/changeling/pre_setup()
|
||||
if(config.protect_roles_from_antagonist)
|
||||
restricted_jobs += protected_jobs
|
||||
|
||||
var/list/datum/mind/possible_changelings = get_players_for_role(BE_CHANGELING)
|
||||
|
||||
for(var/datum/mind/player in possible_changelings)
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
name = "cult"
|
||||
config_tag = "cult"
|
||||
restricted_jobs = list("AI", "Cyborg")
|
||||
// protected_jobs = list("Security Officer", "Warden", "Detective", "Captain", "Head of Security")
|
||||
protected_jobs = list("Security Officer", "Warden", "Detective", "Captain", "Head of Security")
|
||||
required_players = 3
|
||||
required_enemies = 3
|
||||
recommended_enemies = 4
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
name = "traitor"
|
||||
config_tag = "traitor"
|
||||
restricted_jobs = list("Cyborg", "AI")//Approved by headmins for a week test, if you see this it would be nice if you didn't spread it everywhere
|
||||
// protected_jobs = list("Security Officer", "Warden", "Detective", "Head of Security", "Captain")
|
||||
protected_jobs = list("Security Officer", "Warden", "Detective", "Head of Security", "Captain")
|
||||
required_players = 0
|
||||
required_enemies = 1
|
||||
recommended_enemies = 4
|
||||
|
||||
+3
-2
@@ -75,6 +75,9 @@ ALLOW_RANDOM_EVENTS
|
||||
## if amount of traitors scales or not
|
||||
TRAITOR_SCALING
|
||||
|
||||
## If security is prohibited from being most antagonists
|
||||
#PROTECT_ROLES_FROM_ANTAGONIST
|
||||
|
||||
## allow players to initiate a restart vote
|
||||
ALLOW_VOTE_RESTART
|
||||
|
||||
@@ -96,8 +99,6 @@ DEFAULT_NO_VOTE
|
||||
## allow AI job
|
||||
ALLOW_AI
|
||||
|
||||
## goon authentication
|
||||
#AUTHENTICATION
|
||||
|
||||
## disable abandon mob
|
||||
NORESPAWN
|
||||
|
||||
Reference in New Issue
Block a user