Everything else through the door (#19358)

This commit is contained in:
Vi3trice
2022-10-13 15:56:58 -04:00
committed by GitHub
parent 2410930b2b
commit 59dfdba201
134 changed files with 200 additions and 200 deletions
+1 -1
View File
@@ -96,7 +96,7 @@
if(ammo_type.len > 1)
select_fire(user)
update_icon()
if(istype(user,/mob/living/carbon/human)) //This has to be here or else if you toggle modes by clicking the gun in hand
if(ishuman(user)) //This has to be here or else if you toggle modes by clicking the gun in hand
var/mob/living/carbon/human/H = user //Otherwise the mob icon doesn't update, blame shitty human update_icons() code
H.update_inv_l_hand()
H.update_inv_r_hand()
@@ -674,7 +674,7 @@
item_state = "tempgun_0"
icon_state = item_state
if(istype(loc,/mob/living/carbon))
if(iscarbon(loc))
var/mob/living/carbon/M = loc
M.update_inv_back()
M.update_inv_l_hand()
+1 -1
View File
@@ -63,7 +63,7 @@
light_color = LIGHT_COLOR_DARKBLUE
/obj/item/projectile/beam/pulse/on_hit(atom/target, blocked = 0)
if(istype(target,/turf/)||istype(target,/obj/structure/))
if(istype(target,/turf/) || isstructure(target))
target.ex_act(2)
..()
+1 -1
View File
@@ -297,7 +297,7 @@
/obj/item/projectile/magic/animate/Bump(atom/change)
..()
if(isitem(change) || istype(change, /obj/structure) && !is_type_in_list(change, GLOB.protected_objects))
if(isitem(change) || isstructure(change) && !is_type_in_list(change, GLOB.protected_objects))
if(istype(change, /obj/structure/closet/statue))
for(var/mob/living/carbon/human/H in change.contents)
var/mob/living/simple_animal/hostile/statue/S = new /mob/living/simple_animal/hostile/statue(change.loc, firer)