mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 13:05:36 +01:00
Makes bloodcrawling a trait instead of a var (#49572)
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
forceMove(holder)
|
||||
|
||||
// if we're not pulling anyone, or we can't eat anyone
|
||||
if(!pullee || bloodcrawl != BLOODCRAWL_EAT)
|
||||
if(!pullee || !HAS_TRAIT(src, TRAIT_BLOODCRAWL_EAT))
|
||||
notransform = FALSE
|
||||
return
|
||||
|
||||
|
||||
@@ -59,10 +59,9 @@
|
||||
var/on_fire = 0 ///The "Are we on fire?" var
|
||||
var/fire_stacks = 0 ///Tracks how many stacks of fire we have on, max is usually 20
|
||||
|
||||
var/bloodcrawl = 0 ///0 No blood crawling, [BLOODCRAWL] for bloodcrawling, [BLOODCRAWL_EAT] for crawling+mob devour
|
||||
var/holder = null ///The holder for blood crawling
|
||||
var/ventcrawler = 0 ///0 No vent crawling, 1 vent crawling in the nude, 2 vent crawling always
|
||||
var/limb_destroyer = 0 ///1 Sets AI behavior that allows mobs to target and dismember limbs with their basic attack.
|
||||
var/holder = null //The holder for blood crawling
|
||||
var/ventcrawler = 0 //0 No vent crawling, 1 vent crawling in the nude, 2 vent crawling always
|
||||
var/limb_destroyer = 0 //1 Sets AI behavior that allows mobs to target and dismember limbs with their basic attack.
|
||||
|
||||
var/mob_size = MOB_SIZE_HUMAN
|
||||
var/mob_biotypes = MOB_ORGANIC
|
||||
@@ -128,10 +127,10 @@
|
||||
|
||||
var/list/ownedSoullinks //soullinks we are the owner of
|
||||
var/list/sharedSoullinks //soullinks we are a/the sharer of
|
||||
|
||||
|
||||
/// List of changes to body temperature, used by desease symtoms like fever
|
||||
var/list/body_temp_changes = list()
|
||||
|
||||
|
||||
//this stuff is here to make it simple for admins to mess with custom held sprites
|
||||
var/icon/held_lh = 'icons/mob/pets_held_lh.dmi'//icons for holding mobs
|
||||
var/icon/held_rh = 'icons/mob/pets_held_rh.dmi'
|
||||
|
||||
Reference in New Issue
Block a user