Converts Reagents to Typepaths and Centralises Reagent Spawning (#9140)

Converts reagents to use typepaths instead of IDs.
    Centralises reagent spawning in a lot of places to use reagents_to_add instead of a variety of custom methods or initialise overrides.
This commit is contained in:
MarinaGryphon
2020-07-05 12:47:48 -05:00
committed by GitHub
parent 0867971810
commit 37c80988ce
177 changed files with 3151 additions and 4767 deletions

View File

@@ -395,8 +395,8 @@ var/list/mineral_can_smooth_with = list(
if(prob(25))
var/datum/reagents/R = new/datum/reagents(20)
R.my_atom = src
R.add_reagent("stone_dust",20)
var/datum/effect/effect/system/smoke_spread/chem/S = new("stone_dust")
R.add_reagent(/datum/reagent/stone_dust,20)
var/datum/effect/effect/system/smoke_spread/chem/S = new /datum/effect/effect/system/smoke_spread/chem(/datum/reagent/stone_dust) // have to explicitly say the type to avoid issues with warnings
S.show_log = 0
S.set_up(R, 10, 0, src, 40)
S.start()