Skip to content

Commit

Permalink
Update transit.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Helg2 committed Jul 14, 2024
1 parent aea5f06 commit d351551
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/game/turfs/space/transit.dm
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
. = ..()
if(!CHECK_BITFIELD(resistance_flags, INDESTRUCTIBLE) && prob(30)) // throwing objects from the air is not always a good idea
visible_message(span_danger("[src] falls out of the sky and mangles into the uselessness by the impact!"))
playsound(src, 'sound/effects/metal_crash.ogg', 35, 1)
deconstruct(FALSE)

/obj/structure/closet/handle_airdrop(turf/target_turf) // good idea but no
Expand All @@ -106,13 +107,15 @@
return
if(!CHECK_BITFIELD(resistance_flags, INDESTRUCTIBLE) && w_class < WEIGHT_CLASS_NORMAL) //tiny and small items will be lost, good riddance
visible_message(span_danger("[src] falls out of the sky and mangles into the uselessness by the impact!"))
playsound(src, 'sound/effects/metal_crash.ogg', 35, 1)
deconstruct(FALSE)
return
if(locate(/mob/living) in target_turf)
var/mob/living/victim = locate(/mob/living) in target_turf
throw_impact(victim, 20)
return
explosion_throw(200) // give it a bit of a kick
playsound(loc, 'sound/weapons/smash.ogg', 35, 1)

/mob/living/handle_airdrop(turf/target_turf)
. = ..()
Expand Down

0 comments on commit d351551

Please sign in to comment.