mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-20 04:34:32 +01:00
[MIRROR] next new to init (#10524)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
9156a08bf0
commit
55d696e503
@@ -36,15 +36,15 @@
|
||||
to_chat(user, span_notice("You scoop \the [S] into \the [src]."))
|
||||
|
||||
//Splice research sample containers into the list of valid items for these belts *without* overriding the lists entirely
|
||||
/obj/item/storage/belt/explorer/New()
|
||||
/obj/item/storage/belt/explorer/Initialize(mapload)
|
||||
. = ..()
|
||||
can_hold.Add(/obj/item/storage/sample_container)
|
||||
|
||||
/obj/item/storage/belt/miner/New()
|
||||
/obj/item/storage/belt/miner/Initialize(mapload)
|
||||
. = ..()
|
||||
can_hold.Add(/obj/item/storage/sample_container)
|
||||
|
||||
/obj/item/storage/belt/archaeology/New()
|
||||
/obj/item/storage/belt/archaeology/Initialize(mapload)
|
||||
. = ..()
|
||||
can_hold.Add(/obj/item/storage/sample_container)
|
||||
|
||||
|
||||
@@ -24,7 +24,8 @@
|
||||
var/max_ore = 5
|
||||
var/list/resource_list = list(/obj/item/ore/glass,/obj/item/ore/coal,/obj/item/ore/iron,/obj/item/ore/lead,/obj/item/ore/marble,/obj/item/ore/phoron,/obj/item/ore/silver,/obj/item/ore/gold)
|
||||
|
||||
/obj/item/research_sample/New()
|
||||
/obj/item/research_sample/Initialize(mapload)
|
||||
. = ..()
|
||||
var/tech_mod = rand(0,rand_level)
|
||||
var/tech_value = tech_level+tech_mod
|
||||
if(fixed_tech)
|
||||
@@ -261,8 +262,8 @@
|
||||
max_ore = 1
|
||||
resource_list = list(/obj/item/bluespace_crystal)
|
||||
|
||||
/obj/item/research_sample/bluespace/New()
|
||||
..()
|
||||
/obj/item/research_sample/bluespace/Initialize(mapload)
|
||||
. = ..()
|
||||
set_light(1, 3, lightcolor)
|
||||
|
||||
//catalogue data
|
||||
|
||||
Reference in New Issue
Block a user