mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Fixes some issues with BSH
This commit is contained in:
@@ -79,6 +79,9 @@
|
||||
/area/security/nuke_storage
|
||||
flags = BLUE_SHIELDED
|
||||
|
||||
/area/supply
|
||||
flags = BLUE_SHIELDED
|
||||
|
||||
// Add rad shielding to maintenance and construction sites
|
||||
/area/vacant
|
||||
flags = RAD_SHIELDED
|
||||
|
||||
@@ -33,13 +33,16 @@
|
||||
playsound(user, 'sound/weapons/wave.ogg', 60, 1)
|
||||
return
|
||||
var/turf/T = get_turf(A)
|
||||
if(!T || T.check_density())
|
||||
if(!T || (T.check_density() && mode == 1))
|
||||
to_chat(user,"<span class = 'warning'>That's a little too solid to harpoon into!</span>")
|
||||
return
|
||||
var/turf/ownturf = get_turf(src)
|
||||
if(ownturf.z != T.z || get_dist(T,ownturf) > world.view)
|
||||
to_chat(user, "<span class='warning'>The target is out of range!</span>")
|
||||
return
|
||||
if(get_area(A).flags & BLUE_SHIELDED)
|
||||
to_chat(user, "<span class='warning'>The target area protected by bluespace shielding!</span>")
|
||||
return
|
||||
|
||||
last_fire = current_fire
|
||||
playsound(user, 'sound/weapons/wave.ogg', 60, 1)
|
||||
|
||||
Reference in New Issue
Block a user