Skip to content

Commit

Permalink
spy added
Browse files Browse the repository at this point in the history
  • Loading branch information
Iajret committed Mar 8, 2024
1 parent c1fdd0a commit e74bd6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/modules/admin/topic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
to_chat(usr, "<span class='danger'>Not until the round starts!</span>", confidential = TRUE)
return

var/opt = null
var/opt = 1
switch(href_list["makeAntag"])
if(ROLE_BLOB)
opt = input("Set Blob Resource Gain Rate","Set Resource Rate",1) as num|null
Expand All @@ -78,6 +78,8 @@
opt = input("How Many", ROLE_OPERATIVE, 3) as num|null
if(ROLE_BROTHER)
opt = input("How Many", ROLE_BROTHER, 2) as num|null
if(ROLE_SPY)
opt = input("How Many", ROLE_SPY, 1) as num|null
if(ROLE_DRIFTING_CONTRACTOR)
opt = input("How Many", ROLE_DRIFTING_CONTRACTOR, 2) as num|null
if(src.make_antag(href_list["makeAntag"], opt))
Expand Down
2 changes: 2 additions & 0 deletions modular_nova/modules/oneclickantag/code/oneclickantag.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
switch(antagtype)
if(ROLE_TRAITOR)
src.add_antag_datum(/datum/antagonist/traitor)
if(ROLE_SPY)
src.add_antag_datum(/datum/antagonist/spy)
if(ROLE_CHANGELING)
src.add_antag_datum(/datum/antagonist/changeling)
if(ROLE_REV)
Expand Down

0 comments on commit e74bd6f

Please sign in to comment.