From e74bd6ffc3a9b9e51f7fa81ee25627870e9f8302 Mon Sep 17 00:00:00 2001 From: Iajret Date: Fri, 8 Mar 2024 21:44:17 +0300 Subject: [PATCH] spy added --- code/modules/admin/topic.dm | 4 +++- modular_nova/modules/oneclickantag/code/oneclickantag.dm | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index 6ffd3a39d4d..604893aeaae 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -60,7 +60,7 @@ to_chat(usr, "Not until the round starts!", 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 @@ -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)) diff --git a/modular_nova/modules/oneclickantag/code/oneclickantag.dm b/modular_nova/modules/oneclickantag/code/oneclickantag.dm index 16ac432c095..2f0068e19c6 100644 --- a/modular_nova/modules/oneclickantag/code/oneclickantag.dm +++ b/modular_nova/modules/oneclickantag/code/oneclickantag.dm @@ -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)