mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Fixes swoopie special clicks, simplemob held ID stuff, and synth metabolism toggle (#7079)
This commit is contained in:
@@ -73,6 +73,11 @@
|
||||
|
||||
//For all those ID-having mobs
|
||||
/mob/living/simple_mob/GetIdCard()
|
||||
if(get_active_hand()) //CHOMPAdd Start
|
||||
var/obj/item/I = get_active_hand()
|
||||
var/id = I.GetID()
|
||||
if(id)
|
||||
return id //CHOMPAdd End
|
||||
if(myid)
|
||||
return myid
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
return
|
||||
if(!affects_dead && M.stat == DEAD)
|
||||
return
|
||||
if(!affects_robots && M.isSynthetic() && M.synth_reag_processing) //CHOMPEdit
|
||||
if(M.isSynthetic() && (!M.synth_reag_processing || !affects_robots)) //CHOMPEdit
|
||||
return
|
||||
if(!istype(location))
|
||||
return
|
||||
|
||||
@@ -163,6 +163,9 @@
|
||||
say_got_target = list("PEST DETECTED!")
|
||||
|
||||
/mob/living/simple_mob/vore/aggressive/corrupthound/swoopie/ClickOn(var/atom/A, var/params)
|
||||
var/list/modifiers = params2list(params)
|
||||
if(modifiers["shift"] || modifiers["ctrl"] || modifiers["middle"] || modifiers["alt"])
|
||||
return ..()
|
||||
if(istype(Vac) && A.Adjacent(src))
|
||||
face_atom(A)
|
||||
if(A == src)
|
||||
|
||||
Reference in New Issue
Block a user