Skip to content

Commit d2c6dd2

Browse files
Merge pull request NebulaSS13#5223 from out-of-phaze/removal/provocateur
Remove provocateur/semi-antagonist role
2 parents 637d181 + a2e3556 commit d2c6dd2

File tree

7 files changed

+14
-31
lines changed

7 files changed

+14
-31
lines changed

code/game/antagonist/station/provocateur.dm

Lines changed: 0 additions & 12 deletions
This file was deleted.

code/game/jobs/job/_job.dm

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
var/minimum_character_age // List of species = age, if species is not here, it's auto-pass
2424
var/ideal_character_age = 30 // Preferred character age when populate job at roundstart.
2525
var/create_record = 1 // Do we announce/make records for people who spawn on this job?
26-
var/is_semi_antagonist = FALSE // Whether or not this job is given semi-antagonist status.
2726
var/account_allowed = 1 // Does this job type come with a station account?
2827
var/economic_power = 2 // With how much does this job modify the initial account amount?
2928
var/is_holy = FALSE // Can this role perform blessings?
@@ -401,8 +400,6 @@
401400
var/list/reasons = list()
402401
if(jobban_isbanned(calling_client, title))
403402
reasons["You are jobbanned."] = TRUE
404-
if(is_semi_antagonist && jobban_isbanned(calling_client, /decl/special_role/provocateur))
405-
reasons["You are semi-antagonist banned."] = TRUE
406403
if(!player_old_enough(calling_client))
407404
reasons["Your player age is too low."] = TRUE
408405
if(!is_position_available())
@@ -434,8 +431,6 @@
434431
return FALSE
435432
if(jobban_isbanned(calling_client, title))
436433
return FALSE
437-
if(is_semi_antagonist && jobban_isbanned(calling_client, /decl/special_role/provocateur))
438-
return FALSE
439434
if(!player_old_enough(calling_client))
440435
return FALSE
441436
return TRUE
@@ -482,10 +477,9 @@
482477
break
483478
return spawnpos
484479

480+
/// Used for applying "finishing touches" to characters, like additional role text or applying a /decl/special_role.
485481
/datum/job/proc/post_equip_job_title(var/mob/person, var/alt_title, var/rank)
486-
if(is_semi_antagonist && person.mind)
487-
var/decl/special_role/provocateur/provocateurs = GET_DECL(/decl/special_role/provocateur)
488-
provocateurs.add_antagonist(person.mind)
482+
return
489483

490484
/datum/job/proc/get_alt_title_for(var/client/C)
491485
return C.prefs.GetPlayerAltTitle(src)

code/modules/admin/topic.dm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#define MAX_JOBBAN_CELLS 5
2+
var/global/list/misc_jobban_roles = list("Botany Roles", "Graffiti")
23

34
/datum/admins/Topic(href, href_list)
45
..()
@@ -385,11 +386,10 @@
385386
jobs += "</tr></table>"
386387
#undef ANTAG_COLUMNS
387388

388-
var/list/misc_roles = list("Botany Roles", "Graffiti")
389389
//Other roles (BLUE, because I have no idea what other color to make this)
390390
jobs += "<table cellpadding='1' cellspacing='0' width='100%'>"
391-
jobs += "<tr bgcolor='ccccff'><th colspan='[LAZYLEN(misc_roles)]'>Other Roles</th></tr><tr align='center'>"
392-
for(var/entry in misc_roles)
391+
jobs += "<tr bgcolor='ccccff'><th colspan='[LAZYLEN(misc_jobban_roles)]'>Other Roles</th></tr><tr align='center'>"
392+
for(var/entry in misc_jobban_roles)
393393
if(jobban_isbanned(M, entry))
394394
jobs += "<td width='20%'><a href='byond://?src=\ref[src];jobban_category=[entry];jobban_mob_target=\ref[M]'><font color=red>[entry]</font></a></td>"
395395
else

code/modules/submaps/submap_join.dm

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@
2929
to_chat(joining, SPAN_WARNING("You are banned from playing offstation roles."))
3030
return FALSE
3131

32-
if(job.is_semi_antagonist && jobban_isbanned(joining, /decl/special_role/provocateur))
33-
to_chat(joining, SPAN_WARNING("You are banned from playing semi-antagonist roles."))
34-
return FALSE
35-
3632
if(job.is_restricted(joining.client.prefs, joining))
3733
return FALSE
3834

mods/species/ascent/ascent.dm

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
#define BODY_EQUIP_FLAG_ALATE BITFLAG(4)
55
#define BODY_EQUIP_FLAG_GYNE BITFLAG(5)
66

7-
#define BP_SYSTEM_CONTROLLER "system controller"
8-
#define BP_EGG "egg sac"
7+
#define BP_SYSTEM_CONTROLLER "system controller"
8+
#define BP_EGG "egg sac"
9+
10+
#define MANTID_NYMPH_BAN "Mantid Nymph"
911

1012
#define MANTIDIFY(_thing, _name, _desc) \
1113
##_thing/ascent/name = _name; \
@@ -14,3 +16,7 @@
1416

1517
/decl/modpack/ascent
1618
name = "The Ascent"
19+
20+
/decl/modpack/ascent/pre_initialize()
21+
global.misc_jobban_roles += MANTID_NYMPH_BAN
22+
. = ..()

mods/species/ascent/mobs/insectoid_egg.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var/global/default_gyne
22

33
/decl/ghosttrap/kharmaani_egg
44
name = "mantid nymph"
5-
ban_checks = list(/decl/special_role/provocateur)
5+
ban_checks = list(MANTID_NYMPH_BAN)
66
ghost_trap_message = "They are hatching from a kharmaan egg now."
77

88
/decl/ghosttrap/kharmaani_egg/forced(var/mob/user)

nebula.dme

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,6 @@
776776
#include "code\game\antagonist\antagonist_print.dm"
777777
#include "code\game\antagonist\antagonist_update.dm"
778778
#include "code\game\antagonist\outsider\ert.dm"
779-
#include "code\game\antagonist\station\provocateur.dm"
780779
#include "code\game\area\area_abstract.dm"
781780
#include "code\game\area\area_access.dm"
782781
#include "code\game\area\area_fishing.dm"

0 commit comments

Comments
 (0)