mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] some more new to init (#10270)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
3444e3e21d
commit
ad0915a957
@@ -28,9 +28,9 @@
|
||||
desc = "The top of this twisted chunk of metal is faintly stamped with a five pointed star. 'Property of US Army, Pascal B - 1957'."
|
||||
catalogue_data = list(/datum/category_item/catalogue/information/objects/pascalb)
|
||||
|
||||
/obj/item/poi/pascalb/New()
|
||||
/obj/item/poi/pascalb/Initialize(mapload)
|
||||
. = ..()
|
||||
START_PROCESSING(SSobj, src)
|
||||
return ..()
|
||||
|
||||
/obj/item/poi/pascalb/process()
|
||||
SSradiation.radiate(src, 5)
|
||||
@@ -75,9 +75,9 @@
|
||||
desc = "This broken hunk of machinery looks extremely dangerous."
|
||||
catalogue_data = list(/datum/category_item/catalogue/information/objects/oldreactor)
|
||||
|
||||
/obj/item/poi/brokenoldreactor/New()
|
||||
/obj/item/poi/brokenoldreactor/Initialize(mapload)
|
||||
. = ..()
|
||||
START_PROCESSING(SSobj, src)
|
||||
return ..()
|
||||
|
||||
/obj/item/poi/brokenoldreactor/process()
|
||||
SSradiation.radiate(src, 25)
|
||||
@@ -134,7 +134,8 @@
|
||||
var/has_paper = FALSE
|
||||
|
||||
|
||||
/obj/item/poi/broken_drone_circuit/New()
|
||||
/obj/item/poi/broken_drone_circuit/Initialize(mapload)
|
||||
. = ..()
|
||||
drone_name = "[pick(list("ADA","DOS","GNU","MAC","WIN","NJS","SKS","DRD","IOS","CRM","IBM","TEX","LVM","BSD",))]-[rand(1000, 9999)]]"
|
||||
var/new_canalyzer = "[drone_name] [examine_canalyzer]" //Only way I could think to dynamically insert drone name here
|
||||
examine_canalyzer = new_canalyzer
|
||||
|
||||
Reference in New Issue
Block a user