Cover emits low-level radiation

This commit is contained in:
Cerebulon
2018-01-21 06:53:15 +00:00
parent 53e546c526
commit cd80242b81
4 changed files with 41 additions and 6 deletions

View File

@@ -1,9 +1,20 @@
/obj/item/poi/pascalb
/obj/item/poi
icon = 'icons/obj/objects.dmi'
desc = "This is definitely something cool."
/obj/item/poi/pascalb
icon_state = "pascalb"
name = "Charred Manhole Cover"
desc = "The top of this twisted chunk of metal is faintly stamped with a five pointed star. 'Property of US Army, Pascal B 1957'."
name = "Misshapen Manhole Cover"
desc = "The top of this twisted chunk of metal is faintly stamped with a five pointed star. 'Property of US Army, Pascal B - 1957'."
object/item/poi/pascalb/process()
/obj/item/poi/pascalb/New()
processing_objects += src
return ..()
radiation_repository.radiate(src, 5)
/obj/item/poi/pascalb/process()
radiation_repository.radiate(src, 5)
/obj/item/poi/pascalb/Destroy()
processing_objects -= src
return ..()

View File

@@ -0,0 +1,15 @@
"a" = (/turf/template_noop,/area/template_noop)
"b" = (/turf/template_noop,/area/submap/PascalB)
"c" = (/turf/simulated/floor/outdoors/dirt,/area/submap/PascalB)
"d" = (/turf/simulated/floor/outdoors/rocks,/area/submap/PascalB)
"e" = (/obj/item/poi/pascalb,/turf/simulated/floor/outdoors/rocks,/area/submap/PascalB)
(1,1,1) = {"
aaaaaaa
abbcbca
accdcca
acdedca
accdcca
abccbca
aaaaaaa
"}

View File

@@ -8,6 +8,7 @@
#include "house1.dmm"
#include "beacons.dmm"
#include "Epod.dmm"
#include "PascalB.dmm"
#endif
// The 'plains' is the area outside the immediate perimeter of the big outpost.
@@ -61,3 +62,9 @@
mappath = 'maps/submaps/surface_submaps/wilderness/Rocky2.dmm'
allow_duplicates = TRUE
cost = 5
/datum/map_template/surface/plains/PascalB
name = "Irradiated Manhole Cover"
desc = "How did this old thing get all the way out here?"
mappath = 'maps/submaps/surface_submaps/plains/PascalB.dmm'
cost = 5

View File

@@ -20,4 +20,6 @@
name = "Rocky2"
/area/submap/Peninsula
name = "Peninsula"
name = "Peninsula"
/area/submap/PascalB