mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Revert "Ports the Power Transmission Laser" (#27170)
* Revert "fixes this bloody laser (#27167)" This reverts commit1bec4cd8a7. * Revert "Ports the Power Transmission Laser (#26928)" This reverts commit592b7c3ec3. * this lol * TGUI
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user