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:
Kashargul
2025-03-24 11:18:39 +01:00
committed by GitHub
parent 8a4ac36d15
commit d3b7ba8b43
141 changed files with 529 additions and 601 deletions
+3 -3
View File
@@ -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)
+4 -3
View File
@@ -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