Revert "Ports the Power Transmission Laser" (#27170)

* Revert "fixes this bloody laser (#27167)"

This reverts commit 1bec4cd8a7.

* Revert "Ports the Power Transmission Laser (#26928)"

This reverts commit 592b7c3ec3.

* this lol

* TGUI
This commit is contained in:
Sean
2024-10-22 19:46:13 +00:00
committed by GitHub
parent 1bec4cd8a7
commit cff934146a
26 changed files with 1026 additions and 3453 deletions
-4
View File
@@ -213,7 +213,3 @@
// Readd to ourselves
attached_to.vis_contents |= src
/// The PTL beam shouldn't affect effects
/obj/effect/ptl_beam_act(obj/machinery/power/transmission_laser/ptl)
return
-7
View File
@@ -296,10 +296,3 @@
return O.return_obj_air()
else
return null
/// Objects take damage equal to the amount of megawatts being output by the beam.
/obj/ptl_beam_act(obj/machinery/power/transmission_laser/ptl)
var/mw_power = (ptl.output_number * ptl.power_format_multi_output) / (1 MW)
take_damage(mw_power)
if(ptl.blocker && (ptl.blocker.UID() == UID())) // If this is the blocker we need to check if it was destroyed
ptl.check_blocker()
-4
View File
@@ -495,10 +495,6 @@
/obj/structure/window/GetExplosionBlock()
return reinf && fulltile ? real_explosion_block : 0
/// The beam goes through windows without damaging them
/obj/structure/window/ptl_beam_act(obj/machinery/power/transmission_laser/ptl)
return
/obj/structure/window/basic
desc = "It looks thin and flimsy. A few knocks with... anything, really should shatter it."