Lowers min metal return from autolathe to 500, reverts cost of foam darts to 500,

This commit is contained in:
Citinited
2018-11-09 23:18:54 +00:00
parent 8eb598c38c
commit b07af660ed
3 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -199,8 +199,8 @@
num_ammo++
for(var/M in initial_mats) //In case we have multiple types of materials
var/materials_per = initial_mats[M] / max_ammo
var/value = max(materials_per * num_ammo, 2000) //Enforce a minimum of 2000 units even if empty.
var/value = max(materials_per * num_ammo, 500) //Enforce a minimum of 500 units even if empty.
materials[M] = value
//Behavior for magazines
@@ -118,10 +118,12 @@
icon_state = "foambox"
ammo_type = /obj/item/ammo_casing/caseless/foam_dart
max_ammo = 40
materials = list(MAT_METAL = 500)
/obj/item/ammo_box/foambox/riot
icon_state = "foambox_riot"
ammo_type = /obj/item/ammo_casing/caseless/foam_dart/riot
materials = list(MAT_METAL = 50000)
/obj/item/ammo_box/caps
name = "speed loader (caps)"
@@ -619,7 +619,7 @@
name = "Box of Foam Darts"
id = "foam_dart"
build_type = AUTOLATHE
materials = list(MAT_METAL = 30000)
materials = list(MAT_METAL = 500)
build_path = /obj/item/ammo_box/foambox
category = list("initial", "Miscellaneous")