Skip to content

Commit

Permalink
Merge branch 'master' into richard_mask
Browse files Browse the repository at this point in the history
  • Loading branch information
Glamyrio authored Sep 23, 2024
2 parents af71dc3 + 99a1c42 commit 2e32ab4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modular_ss220/_defines220/code/gamemode.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
#define SPECIAL_ROLE_VOX_RAIDER "Vox Raider"

#define isvoxcash(W) (istype(W, /obj/item/stack/vox_cash))

#define TARGET_INVALID_SAME_TEAM (-1)
9 changes: 9 additions & 0 deletions modular_ss220/antagonists/code/objectives.dm
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/datum/objective/is_invalid_target(datum/mind/possible_target)
. = ..()
if(.)
return
if(team)
for(var/datum/antagonist/target_datum in possible_target.antag_datums)
if(team == target_datum.get_team())
return TARGET_INVALID_SAME_TEAM

/datum/objective/raider_steal
name = "Raider theft"
needs_target = FALSE
Expand Down

0 comments on commit 2e32ab4

Please sign in to comment.