vampire
Vars | |
drained_humans | list of the peoples UIDs that we have drained, and how much blood from each one |
---|---|
draining | who the vampire is draining of blood |
iscloaking | handles the vampire cloak toggle |
nullified | Nullrods and holywater make their abilities cost more |
powers | list of available powers and passives |
subclass | what vampire subclass the vampire is. |
upgrade_tiers | a list of powers that all vampires unlock and at what blood level they unlock them, the rest of their powers are found in the vampire_subclass datum |
Procs | |
adjust_blood | Handles unique drain ID checks and increases vampire's total and usable blood by blood_amount. Checks for ability upgrades. |
change_subclass | Remove the vampire's current subclass and add the specified one. |
clear_subclass | Remove and delete the vampire's current subclass and all associated abilities. |
remove_all_powers | Removes all of the vampire's current powers. |
subtract_usable_blood | Safely subtract vampire's bloodusable. Clamped between 0 and bloodtotal. |
Var Details
drained_humans
list of the peoples UIDs that we have drained, and how much blood from each one
draining
who the vampire is draining of blood
iscloaking
handles the vampire cloak toggle
nullified
Nullrods and holywater make their abilities cost more
powers
list of available powers and passives
subclass
what vampire subclass the vampire is.
upgrade_tiers
a list of powers that all vampires unlock and at what blood level they unlock them, the rest of their powers are found in the vampire_subclass datum
Proc Details
adjust_blood
Handles unique drain ID checks and increases vampire's total and usable blood by blood_amount. Checks for ability upgrades.
Arguments:
- C: victim /mob/living/carbon that is being drained form.
- blood_amount: amount of blood to add to vampire's usable and total pools.
change_subclass
Remove the vampire's current subclass and add the specified one.
Arguments:
- new_subclass_type - a /datum/vampire_subclass typepath
clear_subclass
Remove and delete the vampire's current subclass and all associated abilities.
Arguments:
- give_specialize_power - if the specialize power should be given back or not
remove_all_powers
Removes all of the vampire's current powers.
subtract_usable_blood
Safely subtract vampire's bloodusable. Clamped between 0 and bloodtotal.
Arguments:
- blood_amount: amount of blood to subtract.