Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 329a421

Browse files
committed
start
1 parent ecbf6d3 commit 329a421

File tree

12 files changed

+384
-323
lines changed

12 files changed

+384
-323
lines changed

code/__DEFINES/antagonists.dm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,3 +208,4 @@
208208
// Antag resource defines
209209
#define ANTAG_RESOURCE_DARKSPAWN "psi"
210210
#define ANTAG_RESOURCE_VAMPIRE "blood"
211+
#define ANTAG_RESOURCE_BLOODSUCKER "blood" //these having the same name means that if someone gets both antags, they'll consume both resource types, which isn't ideal, but they're both blood so idk

code/modules/antagonists/bloodsuckers/bloodsucker_frenzy.dm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@
4949
var/mob/living/carbon/human/user = owner
5050
bloodsuckerdatum = IS_BLOODSUCKER(user)
5151

52+
if(!bloodsuckerdatum)
53+
return FALSE
54+
5255
// Disable ALL Powers and notify their entry
5356
bloodsuckerdatum.DisableAllPowers(forced = TRUE)
5457
to_chat(owner, span_userdanger("<FONT size = 3>Blood! You need Blood, now! You enter a total Frenzy! Your skin starts sizzling...."))
@@ -60,9 +63,11 @@
6063

6164
// Give the other Frenzy effects
6265
owner.add_traits(list(TRAIT_MUTE, TRAIT_DEAF, TRAIT_IGNOREDAMAGESLOWDOWN, TRAIT_STUNIMMUNE), FRENZY_TRAIT)
66+
6367
if(user.IsAdvancedToolUser())
6468
was_tooluser = TRUE
6569
ADD_TRAIT(owner, TRAIT_MONKEYLIKE, SPECIES_TRAIT)
70+
6671
owner.add_movespeed_modifier(type, update=TRUE, priority=100, multiplicative_slowdown=-0.4, blacklisted_movetypes=(FLYING|FLOATING))
6772
bloodsuckerdatum.frenzygrab.teach(user, TRUE)
6873
owner.add_client_colour(/datum/client_colour/cursed_heart_blood)

0 commit comments

Comments
 (0)