mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
Modifed faction system to use a list instead. Mobs can belong to multiple factions at once.
This commit is contained in:
@@ -426,7 +426,7 @@
|
||||
icon_living = "mining_drone"
|
||||
status_flags = CANSTUN|CANWEAKEN|CANPUSH
|
||||
mouse_opacity = 1
|
||||
faction = "neutral"
|
||||
faction = list("neutral")
|
||||
a_intent = "harm"
|
||||
min_oxy = 0
|
||||
max_oxy = 0
|
||||
@@ -569,7 +569,7 @@
|
||||
if(istype(target, /mob/living/simple_animal))
|
||||
var/mob/living/simple_animal/M = target
|
||||
if(M.stat == DEAD)
|
||||
M.faction = "lazarus"
|
||||
M.faction = list("lazarus")
|
||||
M.revive()
|
||||
if(istype(target, /mob/living/simple_animal/hostile))
|
||||
var/mob/living/simple_animal/hostile/H = M
|
||||
|
||||
Reference in New Issue
Block a user