-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vampires #141
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
сам код не проверял
//MASSMETA EDIT ADDITION START (vampires) | ||
/datum/action/cooldown/spell/proc/consume_resource() | ||
if(!bypass_cost && owner.mind && LAZYLEN(resource_costs)) | ||
SEND_SIGNAL(owner.mind, COMSIG_MIND_SPEND_ANTAG_RESOURCE, resource_costs) | ||
//MASSMETA EDIT ADDITION END(vampires) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
тоже в модуль можно
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
нельзя, выше в файле используется
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ну хотя.. прок можно, наверное, посмотрю потом
@@ -17,6 +17,7 @@ | |||
#define ROLE_TRAITOR "Traitor" | |||
#define ROLE_WIZARD "Wizard" | |||
#define ROLE_SPY "Spy" | |||
#define ROLE_VAMPIRE "Vampire" // MASSMETA EDIT ADDITION (vampires) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Возможно ли это вынести в модульные дефайны?
Co-authored-by: Artemchik542 <[email protected]>
Позаимствовано (нагло спизженно) у YogStation.