mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 06:58:30 +01:00
Blind port of Bay Radiation Subsystem
This commit is contained in:
@@ -610,12 +610,12 @@
|
||||
return 1
|
||||
|
||||
/obj/item/weapon/shockpaddles/standalone/checked_use(var/charge_amt)
|
||||
radiation_repository.radiate(src, charge_amt/12) //just a little bit of radiation. It's the price you pay for being powered by magic I guess
|
||||
SSradiation.radiate(src, charge_amt/12) //just a little bit of radiation. It's the price you pay for being powered by magic I guess
|
||||
return 1
|
||||
|
||||
/obj/item/weapon/shockpaddles/standalone/process()
|
||||
if(fail_counter > 0)
|
||||
radiation_repository.radiate(src, fail_counter--)
|
||||
SSradiation.radiate(src, fail_counter--)
|
||||
else
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
/obj/item/device/geiger/proc/get_radiation()
|
||||
if(!scanning)
|
||||
return
|
||||
radiation_count = radiation_repository.get_rads_at_turf(get_turf(src))
|
||||
radiation_count = SSradiation.get_rads_at_turf(get_turf(src))
|
||||
update_icon()
|
||||
update_sound()
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
return ..()
|
||||
|
||||
/obj/item/poi/pascalb/process()
|
||||
radiation_repository.radiate(src, 5)
|
||||
SSradiation.radiate(src, 5)
|
||||
|
||||
/obj/item/poi/pascalb/Destroy()
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
@@ -41,7 +41,7 @@
|
||||
return ..()
|
||||
|
||||
/obj/item/poi/brokenoldreactor/process()
|
||||
radiation_repository.radiate(src, 25)
|
||||
SSradiation.radiate(src, 25)
|
||||
|
||||
/obj/item/poi/brokenoldreactor/Destroy()
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
/obj/item/weapon/tool/crowbar/hybrid/is_crowbar()
|
||||
if(prob(10))
|
||||
var/turf/T = get_turf(src)
|
||||
radiation_repository.radiate(get_turf(src), 5)
|
||||
SSradiation.radiate(get_turf(src), 5)
|
||||
T.visible_message("<span class='alien'>\The [src] shudders!</span>")
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
/obj/item/weapon/tool/screwdriver/hybrid/is_screwdriver()
|
||||
if(prob(10))
|
||||
var/turf/T = get_turf(src)
|
||||
radiation_repository.radiate(get_turf(src), 5)
|
||||
SSradiation.radiate(get_turf(src), 5)
|
||||
T.visible_message("<span class='alien'>\The [src] shudders!</span>")
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
/obj/item/weapon/tool/wirecutters/hybrid/is_wirecutter()
|
||||
if(prob(10))
|
||||
var/turf/T = get_turf(src)
|
||||
radiation_repository.radiate(get_turf(src), 5)
|
||||
SSradiation.radiate(get_turf(src), 5)
|
||||
T.visible_message("<span class='alien'>\The [src] shudders!</span>")
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
/obj/item/weapon/tool/wrench/hybrid/is_wrench()
|
||||
if(prob(10))
|
||||
var/turf/T = get_turf(src)
|
||||
radiation_repository.radiate(get_turf(src), 5)
|
||||
SSradiation.radiate(get_turf(src), 5)
|
||||
T.visible_message("<span class='alien'>\The [src] shudders!</span>")
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user