mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Cover emits low-level radiation
This commit is contained in:
@@ -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 ..()
|
||||
|
||||
/obj/item/poi/pascalb/process()
|
||||
radiation_repository.radiate(src, 5)
|
||||
|
||||
/obj/item/poi/pascalb/Destroy()
|
||||
processing_objects -= src
|
||||
return ..()
|
||||
|
||||
15
maps/submaps/surface_submaps/plains/PascalB.dmm
Normal file
15
maps/submaps/surface_submaps/plains/PascalB.dmm
Normal 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
|
||||
"}
|
||||
@@ -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
|
||||
@@ -21,3 +21,5 @@
|
||||
|
||||
/area/submap/Peninsula
|
||||
name = "Peninsula"
|
||||
|
||||
/area/submap/PascalB
|
||||
Reference in New Issue
Block a user