mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
More reviews
The bat faction needs to use \ref, since the faction check system uses that too.
This commit is contained in:
@@ -33,27 +33,16 @@
|
||||
// break_stuff_probability = 2
|
||||
|
||||
faction = list("scarybat")
|
||||
var/mob/living/owner
|
||||
gold_core_spawnable = HOSTILE_SPAWN
|
||||
|
||||
/mob/living/simple_animal/hostile/scarybat/New(loc, mob/living/L as mob)
|
||||
..()
|
||||
/mob/living/simple_animal/hostile/scarybat/Initialize(mapload, mob/living/L)
|
||||
. = ..()
|
||||
if(istype(L))
|
||||
owner = L
|
||||
faction += "\ref[L]"
|
||||
|
||||
/mob/living/simple_animal/hostile/scarybat/Process_Spacemove(check_drift = 0)
|
||||
return ..() //No drifting in space for space carp! //original comments do not steal
|
||||
|
||||
/mob/living/simple_animal/hostile/scarybat/Found(atom/A)//This is here as a potential override to pick a specific target if available
|
||||
if(istype(A) && A == owner)
|
||||
return 0
|
||||
return ..()
|
||||
|
||||
/mob/living/simple_animal/hostile/scarybat/CanAttack(atom/the_target)//This is here as a potential override to pick a specific target if available
|
||||
if(istype(the_target) && the_target == owner)
|
||||
return 0
|
||||
return ..()
|
||||
|
||||
/mob/living/simple_animal/hostile/scarybat/AttackingTarget()
|
||||
. =..()
|
||||
var/mob/living/L = .
|
||||
|
||||
Reference in New Issue
Block a user