mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 00:21:11 +01:00
Fixes a whole bunch of bugs. (#7984)
This commit is contained in:
@@ -53,11 +53,11 @@
|
||||
/datum/species/monkey/handle_npc(var/mob/living/carbon/human/H)
|
||||
if(H.stat != CONSCIOUS)
|
||||
return
|
||||
if(prob(33) && isturf(H.loc) && !H.pulledby) //won't move if being pulled
|
||||
if(prob(33) && isturf(H.loc) && !H.pulledby && !ismob(H.loc)) //won't move if being pulled
|
||||
step(H, pick(cardinal))
|
||||
|
||||
var/obj/held = H.get_active_hand()
|
||||
if(held && prob(1))
|
||||
if(held && prob(1) && !ismob(H.loc))
|
||||
var/turf/T = get_random_turf_in_range(H, 7, 2)
|
||||
if(T)
|
||||
if(istype(held, /obj/item/gun) && prob(80))
|
||||
@@ -67,7 +67,7 @@
|
||||
H.throw_item(T)
|
||||
else
|
||||
H.drop_item()
|
||||
if(!held && !H.restrained() && prob(5))
|
||||
if(!held && !H.restrained() && prob(5) && !ismob(H.loc))
|
||||
var/list/touchables = list()
|
||||
for(var/obj/O in range(1,get_turf(H)))
|
||||
if(O.simulated && O.Adjacent(H) && !is_type_in_list(O, no_touchie))
|
||||
|
||||
Reference in New Issue
Block a user