diff --git a/code/__HELPERS/game.dm b/code/__HELPERS/game.dm
index 7a40bfcd597..17cb3e0cb91 100644
--- a/code/__HELPERS/game.dm
+++ b/code/__HELPERS/game.dm
@@ -56,7 +56,7 @@
/proc/circlerange(center=usr,radius=3)
var/turf/centerturf = get_turf(center)
- var/list/turfs = new/list()
+ var/list/turfs = list()
var/rsq = radius * (radius+0.5)
for(var/atom/T in range(radius, centerturf))
@@ -71,7 +71,7 @@
/proc/circleview(center=usr,radius=3)
var/turf/centerturf = get_turf(center)
- var/list/atoms = new/list()
+ var/list/atoms = list()
var/rsq = radius * (radius+0.5)
for(var/atom/A in view(radius, centerturf))
@@ -107,7 +107,7 @@
/proc/circle_edge_turfs(center = usr, radius = 3) // Get the turfs on the edge of a circle. Currently only works for radius 3
var/turf/centerturf = get_turf(center)
- var/list/turfs = new/list()
+ var/list/turfs = list()
var/rsq = radius * (radius+0.5)
for(var/turf/T in range(radius, centerturf))
@@ -122,7 +122,7 @@
/proc/circleviewturfs(center = usr, radius = 3) // All the turfs in a circle of the radius
var/turf/centerturf = get_turf(center)
- var/list/turfs = new/list()
+ var/list/turfs = list()
var/rsq = radius * (radius+0.5)
for(var/turf/T in view(radius, centerturf))
@@ -135,7 +135,7 @@
/proc/circlerangeturfs(center = usr, radius = 3)
var/turf/centerturf = get_turf(center)
- var/list/turfs = new/list()
+ var/list/turfs = list()
var/rsq = radius * (radius + 0.5)
for(var/turf/T in range(radius, centerturf))
diff --git a/code/__HELPERS/lists.dm b/code/__HELPERS/lists.dm
index 217e92edae1..a7811800b54 100644
--- a/code/__HELPERS/lists.dm
+++ b/code/__HELPERS/lists.dm
@@ -173,7 +173,7 @@
/proc/difflist(list/first, list/second, skiprep=0)
if(!islist(first) || !islist(second))
return
- var/list/result = new
+ var/list/result = list()
if(skiprep)
for(var/e in first)
if(!(e in result) && !(e in second))
@@ -191,7 +191,7 @@
/proc/uniquemergelist(list/first, list/second, skiprep=0)
if(!islist(first) || !islist(second))
return
- var/list/result = new
+ var/list/result = list()
if(skiprep)
result = difflist(first, second, skiprep)+difflist(second, first, skiprep)
else
@@ -297,7 +297,7 @@
/proc/mergeKey(list/client/L, list/client/R, order = 1)
var/Li=1
var/Ri=1
- var/list/result = new()
+ var/list/result = list()
while(Li <= length(L) && Ri <= length(R))
var/client/rL = L[Li]
var/client/rR = R[Ri]
@@ -323,7 +323,7 @@
if(!L || !R) return 0
var/Li=1
var/Ri=1
- var/list/result = new()
+ var/list/result = list()
while(Li <= length(L) && Ri <= length(R))
var/atom/rL = L[Li]
var/atom/rR = R[Ri]
@@ -352,7 +352,7 @@
/proc/mergeRecordLists(list/datum/data/record/L, list/datum/data/record/R, field = "name", order = 1)
var/Li=1
var/Ri=1
- var/list/result = new()
+ var/list/result = list()
if(!isnull(L) && !isnull(R))
while(Li <= length(L) && Ri <= length(R))
var/datum/data/record/rL = L[Li]
@@ -385,7 +385,7 @@
/proc/mergeLists(list/L, list/R)
var/Li=1
var/Ri=1
- var/list/result = new()
+ var/list/result = list()
while(Li <= length(L) && Ri <= length(R))
if(sorttext(L[Li], R[Ri]) < 1)
result += R[Ri++]
@@ -407,7 +407,7 @@
/proc/mergeKeyedLists(list/L, list/R, key)
var/Li=1
var/Ri=1
- var/list/result = new()
+ var/list/result = list()
while(Li <= length(L) && Ri <= length(R))
if(sorttext(L[Li][key], R[Ri][key]) < 1)
// Works around list += list2 merging lists; it's not pretty but it works
@@ -432,7 +432,7 @@
/proc/mergeAssoc(list/L, list/R)
var/Li=1
var/Ri=1
- var/list/result = new()
+ var/list/result = list()
while(Li <= length(L) && Ri <= length(R))
if(sorttext(L[Li], R[Ri]) < 1)
result += R&R[Ri++]
@@ -519,7 +519,7 @@
/proc/dd_mergeObjectList(list/L, list/R, list/cache)
var/Li=1
var/Ri=1
- var/list/result = new()
+ var/list/result = list()
while(Li <= length(L) && Ri <= length(R))
var/LLi = L[Li]
var/RRi = R[Ri]
@@ -569,7 +569,7 @@
// This works by going to the half-point of the list, seeing if the node in question is higher or lower cost,
// then going halfway up or down the list and checking again.
// This is a very fast way to sort an item into a list.
- var/list/sorted_text = new()
+ var/list/sorted_text = list()
var/low_index
var/high_index
var/insert_index
diff --git a/code/_onclick/hud/parallax.dm b/code/_onclick/hud/parallax.dm
index aec2360eded..07818fb67fc 100644
--- a/code/_onclick/hud/parallax.dm
+++ b/code/_onclick/hud/parallax.dm
@@ -265,7 +265,7 @@
var/list/viewscales = getviewsize(view)
var/countx = CEILING((viewscales[1] / 2) * parallax_scaler, 1) + 1
var/county = CEILING((viewscales[2] / 2) * parallax_scaler, 1) + 1
- var/list/new_overlays = new
+ var/list/new_overlays = list()
for(var/x in -countx to countx)
for(var/y in -county to county)
if(x == 0 && y == 0)
diff --git a/code/controllers/configuration/sections/gamemode_configuration.dm b/code/controllers/configuration/sections/gamemode_configuration.dm
index 1fc39b62217..ef8bfc3c84d 100644
--- a/code/controllers/configuration/sections/gamemode_configuration.dm
+++ b/code/controllers/configuration/sections/gamemode_configuration.dm
@@ -78,7 +78,7 @@
return new /datum/game_mode/extended()
/datum/configuration_section/gamemode_configuration/proc/get_runnable_modes()
- var/list/datum/game_mode/runnable_modes = new
+ var/list/datum/game_mode/runnable_modes = list()
for(var/T in subtypesof(/datum/game_mode))
var/datum/game_mode/M = new T()
diff --git a/code/controllers/subsystem/SSticker.dm b/code/controllers/subsystem/SSticker.dm
index 273bc5b2238..4733a5b1cea 100644
--- a/code/controllers/subsystem/SSticker.dm
+++ b/code/controllers/subsystem/SSticker.dm
@@ -251,7 +251,7 @@ SUBSYSTEM_DEF(ticker)
SSjobs.DivideOccupations() //Distribute jobs
if(hide_mode)
- var/list/modes = new
+ var/list/modes = list()
for(var/datum/game_mode/M in runnable_modes)
modes += M.name
modes = sortList(modes)
diff --git a/code/datums/ai_laws_datums.dm b/code/datums/ai_laws_datums.dm
index dd9e29fbb93..a86f29ff416 100644
--- a/code/datums/ai_laws_datums.dm
+++ b/code/datums/ai_laws_datums.dm
@@ -45,7 +45,7 @@
/datum/ai_laws/proc/laws_to_state()
sort_laws()
- var/list/statements = new()
+ var/list/statements = list()
for(var/datum/ai_law/law in sorted_laws)
if(get_state_law(law))
statements += law
diff --git a/code/datums/diseases/wizarditis.dm b/code/datums/diseases/wizarditis.dm
index 2bbb33bf4d4..30c18428030 100644
--- a/code/datums/diseases/wizarditis.dm
+++ b/code/datums/diseases/wizarditis.dm
@@ -11,7 +11,7 @@
permeability_mod = 0.75
severity = MINOR
/// A mapping of `num2text(SLOT_HUD_XYZ)` -> item path
- var/list/magic_fashion = new
+ var/list/magic_fashion = list()
/datum/disease/wizarditis/New()
@@ -62,7 +62,7 @@
return // Woe, wizard xeno upon ye
// Which slots can we replace?
- var/list/eligible_slot_IDs = new
+ var/list/eligible_slot_IDs = list()
for(var/slot in magic_fashion)
var/slot_ID = text2num(slot) // Convert back to numeric defines
diff --git a/code/datums/mind.dm b/code/datums/mind.dm
index d27f48c459b..2a9ba598943 100644
--- a/code/datums/mind.dm
+++ b/code/datums/mind.dm
@@ -1707,8 +1707,8 @@
S.team = team
- var/list/obj/effect/landmark/abductor/agent_landmarks = new
- var/list/obj/effect/landmark/abductor/scientist_landmarks = new
+ var/list/obj/effect/landmark/abductor/agent_landmarks = list()
+ var/list/obj/effect/landmark/abductor/scientist_landmarks = list()
agent_landmarks.len = 4
scientist_landmarks.len = 4
for(var/obj/effect/landmark/abductor/A in GLOB.landmarks_list)
diff --git a/code/datums/recipe.dm b/code/datums/recipe.dm
index f10e70ed027..bd684231f9b 100644
--- a/code/datums/recipe.dm
+++ b/code/datums/recipe.dm
@@ -143,7 +143,7 @@
/proc/select_recipe(list/datum/recipe/available_recipes, obj/obj, exact = INGREDIENT_CHECK_EXACT, list/ignored_items = null)
if(!exact)
exact = -1
- var/list/datum/recipe/possible_recipes = new
+ var/list/datum/recipe/possible_recipes = list()
for(var/datum/recipe/recipe in available_recipes)
if(recipe.check_reagents(obj.reagents) == exact && recipe.check_items(obj, ignored_items) == exact)
possible_recipes += recipe
diff --git a/code/datums/spells/turf_teleport.dm b/code/datums/spells/turf_teleport.dm
index ac20dea2ae8..9c8e50c51c3 100644
--- a/code/datums/spells/turf_teleport.dm
+++ b/code/datums/spells/turf_teleport.dm
@@ -22,7 +22,7 @@
playsound(get_turf(user), sound1, 50, TRUE)
for(var/mob/living/target in targets)
- var/list/turfs = new/list()
+ var/list/turfs = list()
for(var/turf/T in range(target,outer_tele_radius))
if(T in range(target,inner_tele_radius)) continue
if(isspaceturf(T) && !include_space) continue
diff --git a/code/game/mecha/equipment/tools/medical_tools.dm b/code/game/mecha/equipment/tools/medical_tools.dm
index 979e78469ea..f090c33faf0 100644
--- a/code/game/mecha/equipment/tools/medical_tools.dm
+++ b/code/game/mecha/equipment/tools/medical_tools.dm
@@ -318,7 +318,7 @@
if(!step_towards(mechsyringe,trg))
break
- var/list/mobs = new
+ var/list/mobs = list()
for(var/mob/living/carbon/M in mechsyringe.loc)
mobs += M
var/mob/living/carbon/M = safepick(mobs)
diff --git a/code/game/mecha/mecha.dm b/code/game/mecha/mecha.dm
index f482f564ee2..d398cc1c870 100644
--- a/code/game/mecha/mecha.dm
+++ b/code/game/mecha/mecha.dm
@@ -63,7 +63,7 @@
var/obj/structure/mecha_wreckage/wreckage = null // type that the mecha becomes when destroyed
- var/list/equipment = new
+ var/list/equipment = list()
var/obj/item/mecha_parts/mecha_equipment/selected
var/max_equip = 3
var/turf/crashing = null
diff --git a/code/game/mecha/working/ripley.dm b/code/game/mecha/working/ripley.dm
index 6323c2096f5..c805da7586d 100644
--- a/code/game/mecha/working/ripley.dm
+++ b/code/game/mecha/working/ripley.dm
@@ -14,7 +14,7 @@
armor = list(MELEE = 40, BULLET = 20, LASER = 10, ENERGY = 20, BOMB = 40, RAD = 0, FIRE = 100, ACID = 100)
max_equip = 6
wreckage = /obj/structure/mecha_wreckage/ripley
- var/list/cargo = new
+ var/list/cargo = list()
var/cargo_capacity = 15
/// How many goliath hides does the Ripley have? Does not stack with other armor
diff --git a/code/game/objects/items/blueprints.dm b/code/game/objects/items/blueprints.dm
index 66258630f48..1a71c1d73cc 100644
--- a/code/game/objects/items/blueprints.dm
+++ b/code/game/objects/items/blueprints.dm
@@ -291,7 +291,7 @@
/obj/item/areaeditor/proc/detect_room(turf/first)
- var/list/turf/found = new
+ var/list/turf/found = list()
var/list/turf/pending = list(first)
while(length(pending))
if(found.len+length(pending) > 300)
diff --git a/code/game/objects/items/devices/radio/radio_objects.dm b/code/game/objects/items/devices/radio/radio_objects.dm
index f201488678b..259dca4e9ca 100644
--- a/code/game/objects/items/devices/radio/radio_objects.dm
+++ b/code/game/objects/items/devices/radio/radio_objects.dm
@@ -77,7 +77,7 @@ GLOBAL_LIST_EMPTY(deadsay_radio_systems)
var/list/internal_channels
var/datum/radio_frequency/radio_connection
- var/list/datum/radio_frequency/secure_radio_connections = new
+ var/list/datum/radio_frequency/secure_radio_connections = list()
var/requires_tcomms = FALSE // Does this device require tcomms to work.If TRUE it wont function at all without tcomms. If FALSE, it will work without tcomms, just slowly
var/instant = FALSE // Should this device instantly communicate if there isnt tcomms
diff --git a/code/game/objects/items/devices/traitordevices.dm b/code/game/objects/items/devices/traitordevices.dm
index 464886db05e..ca8e1e93b05 100644
--- a/code/game/objects/items/devices/traitordevices.dm
+++ b/code/game/objects/items/devices/traitordevices.dm
@@ -111,7 +111,7 @@
var/mob/living/M = user
var/turf/mobloc = get_turf(M)
- var/list/turfs = new/list()
+ var/list/turfs = list()
var/found_turf = FALSE
var/list/bagholding = user.search_contents_for(/obj/item/storage/backpack/holding)
for(var/turf/T in range(user, tp_range))
diff --git a/code/game/objects/items/mixing_bowl.dm b/code/game/objects/items/mixing_bowl.dm
index 59898eec3f1..0beed2a583a 100644
--- a/code/game/objects/items/mixing_bowl.dm
+++ b/code/game/objects/items/mixing_bowl.dm
@@ -63,9 +63,9 @@
if(dirty)
dat = {"This [src] is dirty!
Please clean it before use!"}
else
- var/list/items_counts = new
- var/list/items_measures = new
- var/list/items_measures_p = new
+ var/list/items_counts = list()
+ var/list/items_measures = list()
+ var/list/items_measures_p = list()
for(var/obj/O in contents)
var/display_name = O.name
if(istype(O,/obj/item/food/snacks/egg))
diff --git a/code/game/turfs/turf.dm b/code/game/turfs/turf.dm
index e7febcbd53e..14a953bb0ed 100644
--- a/code/game/turfs/turf.dm
+++ b/code/game/turfs/turf.dm
@@ -428,7 +428,7 @@
/// Returns the adjacent turfs. Can check for density or cardinal directions only instead of all 8, or just dense turfs entirely. dense_only takes precedence over open_only.
/turf/proc/AdjacentTurfs(open_only = FALSE, cardinal_only = FALSE, dense_only = FALSE)
- var/list/L = new()
+ var/list/L = list()
var/turf/T
var/list/directions = cardinal_only ? GLOB.cardinal : GLOB.alldirs
for(var/dir in directions)
diff --git a/code/modules/admin/misc_admin_procs.dm b/code/modules/admin/misc_admin_procs.dm
index 4360db3a8f1..42463d22628 100644
--- a/code/modules/admin/misc_admin_procs.dm
+++ b/code/modules/admin/misc_admin_procs.dm
@@ -716,7 +716,7 @@ GLOBAL_VAR_INIT(nologevent, 0)
return
var/list/types = typesof(/atom)
- var/list/matches = new()
+ var/list/matches = list()
var/include_subtypes = TRUE
if(copytext(object, -1) == ".")
diff --git a/code/modules/atmospherics/machinery/other/area_atmos_computer.dm b/code/modules/atmospherics/machinery/other/area_atmos_computer.dm
index df28f79e02f..e9d8e8966ea 100644
--- a/code/modules/atmospherics/machinery/other/area_atmos_computer.dm
+++ b/code/modules/atmospherics/machinery/other/area_atmos_computer.dm
@@ -5,7 +5,7 @@
icon_keyboard = "atmos_key"
circuit = /obj/item/circuitboard/area_atmos
- var/list/connectedscrubbers = new()
+ var/list/connectedscrubbers = list()
var/status = ""
var/range = 25
diff --git a/code/modules/client/preference/character.dm b/code/modules/client/preference/character.dm
index 6cd3d61f9e9..f5392bd3ae2 100644
--- a/code/modules/client/preference/character.dm
+++ b/code/modules/client/preference/character.dm
@@ -72,7 +72,7 @@
var/list/organ_data = list()
var/list/rlimb_data = list()
- var/list/player_alt_titles = new() // the default name of a job like "Medical Doctor"
+ var/list/player_alt_titles = list() // the default name of a job like "Medical Doctor"
var/flavor_text = ""
var/med_record = ""
var/sec_record = ""
diff --git a/code/modules/mob/living/carbon/human/appearance.dm b/code/modules/mob/living/carbon/human/appearance.dm
index 0d27033de48..39760db276e 100644
--- a/code/modules/mob/living/carbon/human/appearance.dm
+++ b/code/modules/mob/living/carbon/human/appearance.dm
@@ -348,7 +348,7 @@
SEND_SIGNAL(src, COMSIG_HUMAN_UPDATE_DNA)
/mob/living/carbon/human/proc/generate_valid_species(check_whitelist = TRUE, list/whitelist = list(), list/blacklist = list())
- var/list/valid_species = new()
+ var/list/valid_species = list()
for(var/current_species_name in GLOB.all_species)
if(check_whitelist && !check_rights(R_ADMIN, FALSE, src)) //If we're using the whitelist, make sure to check it!
if(length(whitelist) && !(current_species_name in whitelist))
@@ -363,7 +363,7 @@
return sortTim(valid_species, GLOBAL_PROC_REF(cmp_text_asc))
/mob/living/carbon/human/proc/generate_valid_hairstyles()
- var/list/valid_hairstyles = new()
+ var/list/valid_hairstyles = list()
var/obj/item/organ/external/head/H = get_organ("head")
if(!H)
return //No head, no hair.
@@ -389,7 +389,7 @@
return sortTim(valid_hairstyles, GLOBAL_PROC_REF(cmp_text_asc))
/mob/living/carbon/human/proc/generate_valid_facial_hairstyles()
- var/list/valid_facial_hairstyles = new()
+ var/list/valid_facial_hairstyles = list()
var/obj/item/organ/external/head/H = get_organ("head")
if(!H)
return //No head, no hair.
@@ -416,7 +416,7 @@
return sortTim(valid_facial_hairstyles, GLOBAL_PROC_REF(cmp_text_asc))
/mob/living/carbon/human/proc/generate_valid_head_accessories()
- var/list/valid_head_accessories = new()
+ var/list/valid_head_accessories = list()
var/obj/item/organ/external/head/H = get_organ("head")
if(!H)
return //No head, no head accessory.
@@ -431,7 +431,7 @@
return sortTim(valid_head_accessories, GLOBAL_PROC_REF(cmp_text_asc))
/mob/living/carbon/human/proc/generate_valid_markings(location = "body")
- var/list/valid_markings = new()
+ var/list/valid_markings = list()
var/obj/item/organ/external/head/H = get_organ("head")
if(!H && location == "head")
return //No head, no head markings.
diff --git a/code/modules/mob/living/carbon/human/human_update_icons.dm b/code/modules/mob/living/carbon/human/human_update_icons.dm
index 99edc8d9be8..8dcfb3ee449 100644
--- a/code/modules/mob/living/carbon/human/human_update_icons.dm
+++ b/code/modules/mob/living/carbon/human/human_update_icons.dm
@@ -1492,7 +1492,7 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)
update_body()
/mob/living/carbon/human/proc/get_overlays_copy(list/unwantedLayers)
- var/list/out = new
+ var/list/out = list()
for(var/i=1;i<=TOTAL_LAYERS;i++)
if(overlays_standing[i])
if(i in unwantedLayers)
diff --git a/code/modules/mob/living/carbon/human/species/golem.dm b/code/modules/mob/living/carbon/human/species/golem.dm
index 416a9f2b73d..169d9bcc28b 100644
--- a/code/modules/mob/living/carbon/human/species/golem.dm
+++ b/code/modules/mob/living/carbon/human/species/golem.dm
@@ -439,7 +439,7 @@
/datum/species/golem/bluespace/proc/reactive_teleport(mob/living/carbon/human/H)
H.visible_message("[H] teleports!", "You destabilize and teleport!")
- var/list/turfs = new/list()
+ var/list/turfs = list()
for(var/turf/T in orange(tele_range, H))
if(T.density)
continue
@@ -521,7 +521,7 @@
/datum/action/innate/unstable_teleport/proc/teleport(mob/living/carbon/human/H)
activated = FALSE
H.visible_message("[H] teleports!", "You teleport!")
- var/list/turfs = new/list()
+ var/list/turfs = list()
for(var/turf/T in orange(tele_range, H))
if(isspaceturf(T))
continue
diff --git a/code/modules/mob/living/silicon/robot/robot_damage.dm b/code/modules/mob/living/silicon/robot/robot_damage.dm
index 9b67e2ce052..60dbb398218 100644
--- a/code/modules/mob/living/silicon/robot/robot_damage.dm
+++ b/code/modules/mob/living/silicon/robot/robot_damage.dm
@@ -49,7 +49,7 @@
return parts
/mob/living/silicon/robot/proc/get_damageable_components()
- var/list/rval = new
+ var/list/rval = list()
for(var/V in components)
var/datum/robot_component/C = components[V]
if(C.installed)
diff --git a/code/modules/mob/living/silicon/silicon_laws.dm b/code/modules/mob/living/silicon/silicon_laws.dm
index 77c2ac5b210..b989fa2988e 100644
--- a/code/modules/mob/living/silicon/silicon_laws.dm
+++ b/code/modules/mob/living/silicon/silicon_laws.dm
@@ -112,7 +112,7 @@
return 0
/mob/living/silicon/proc/law_channels()
- var/list/channels = new()
+ var/list/channels = list()
channels += MAIN_CHANNEL
var/obj/item/radio/radio = get_radio()
channels += radio.channels
diff --git a/code/modules/mob/living/simple_animal/bot/ed209bot.dm b/code/modules/mob/living/simple_animal/bot/ed209bot.dm
index c9d4feb15aa..a2ced0fd902 100644
--- a/code/modules/mob/living/simple_animal/bot/ed209bot.dm
+++ b/code/modules/mob/living/simple_animal/bot/ed209bot.dm
@@ -476,7 +476,7 @@
pulse2.anchored = TRUE
pulse2.dir = pick(GLOB.cardinal)
QDEL_IN(pulse2, 1 SECONDS)
- var/list/mob/living/carbon/targets = new
+ var/list/mob/living/carbon/targets = list()
for(var/mob/living/carbon/C in view(12,src))
if(C.stat==2)
continue
diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm
index 489d8edacaf..4edd7f84929 100644
--- a/code/modules/mob/mob.dm
+++ b/code/modules/mob/mob.dm
@@ -190,7 +190,7 @@
// based on say code
var/omsg = replacetext(message, "[src] ", "")
- var/list/listening_obj = new
+ var/list/listening_obj = list()
for(var/atom/movable/A in view(range, src))
if(ismob(A))
var/mob/M = A
@@ -545,7 +545,7 @@ GLOBAL_LIST_INIT(slot_equipment_priority, list( \
* Mobs out of view but in range will be listed as unknown. Else they will have their visible name
*/
/mob/proc/get_telepathic_targets()
- var/list/validtargets = new /list()
+ var/list/validtargets = list() /list()
var/turf/T = get_turf(src)
var/list/mobs_in_view = get_visible_mobs()
diff --git a/code/modules/projectiles/guns/grenade_launcher.dm b/code/modules/projectiles/guns/grenade_launcher.dm
index 0f581dd75d3..2ba796623d9 100644
--- a/code/modules/projectiles/guns/grenade_launcher.dm
+++ b/code/modules/projectiles/guns/grenade_launcher.dm
@@ -8,7 +8,7 @@
throw_speed = 2
throw_range = 10
force = 5
- var/list/grenades = new/list()
+ var/list/grenades = list()
var/max_grenades = 3
materials = list(MAT_METAL=2000)
diff --git a/code/modules/reagents/chemistry/reagents_holder.dm b/code/modules/reagents/chemistry/reagents_holder.dm
index 657e285ba4a..2e108970e3c 100644
--- a/code/modules/reagents/chemistry/reagents_holder.dm
+++ b/code/modules/reagents/chemistry/reagents_holder.dm
@@ -21,7 +21,7 @@
*/
/datum/reagents
/// All contained reagents. More specifically, references to the reagent datums.
- var/list/datum/reagent/reagent_list = new/list()
+ var/list/datum/reagent/reagent_list = list()
/// The total volume of all reagents in this holder.
var/total_volume = 0
/// This is the maximum volume of the holder.
@@ -31,8 +31,8 @@
var/chem_temp = T20C
var/temperature_min = 0
var/temperature_max = 10000
- var/list/datum/reagent/addiction_list = new/list()
- var/list/addiction_threshold_accumulated = new/list()
+ var/list/datum/reagent/addiction_list = list()
+ var/list/addiction_threshold_accumulated = list()
var/flags
/datum/reagents/New(maximum = 100, temperature_minimum, temperature_maximum)
@@ -463,7 +463,7 @@
var/total_matching_catalysts = 0
var/matching_container = FALSE
var/matching_other = FALSE
- var/list/multipliers = new/list()
+ var/list/multipliers = list()
var/min_temp = C.min_temp //Minimum temperature required for the reaction to occur (heat to/above this)
var/max_temp = C.max_temp //Maximum temperature allowed for the reaction to occur (cool to/below this)
for(var/B in C.required_reagents)
@@ -819,7 +819,7 @@
if(R.id == id)
return R
- return
+ return
/datum/reagents/proc/remove_all_type(reagent_type, amount, strict = FALSE, safety = TRUE) // Removes all reagent of X type. @strict set to 1 determines whether the childs of the type are included.
if(!isnum(amount))