Radiation from contaminated objects no longer produces power in rad collectors (#18471)

* someone fucking broke tails again thanks guys

* Radiation from contamination no longer produces power

* oops teehee
This commit is contained in:
Theos
2023-04-12 05:54:39 -04:00
committed by GitHub
parent f04c992186
commit 10d4ec7210
10 changed files with 25 additions and 23 deletions

View File

@@ -700,8 +700,8 @@
*
* Default behaviour is to send COMSIG_ATOM_RAD_ACT and return
*/
/atom/proc/rad_act(strength)
SEND_SIGNAL(src, COMSIG_ATOM_RAD_ACT, strength)
/atom/proc/rad_act(strength, collectable_radiation)
SEND_SIGNAL(src, COMSIG_ATOM_RAD_ACT, strength, collectable_radiation)
/**
* Respond to narsie eating our atom
@@ -842,19 +842,19 @@
var/new_x = pixel_x
var/new_y = pixel_y
if (dir & NORTH)
new_y++
if (dir & EAST)
new_x++
if (dir & SOUTH)
new_y--
if (dir & WEST)
new_x--
pixel_x = clamp(new_x, -16, 16)
pixel_y = clamp(new_y, -16, 16)