mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 11:05:50 +01:00
next new to init (#17400)
* next new to init * . * this needs thorough testing * . * needs an istype * also vnotice * mvoe to defines
This commit is contained in:
@@ -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