Further work on autolathe.

This commit is contained in:
Zuhayr
2014-06-11 15:39:14 +09:30
parent 9aafac8ade
commit 06154d4d8d
2 changed files with 8 additions and 8 deletions

View File

@@ -78,7 +78,7 @@
//Build list of multipliers for sheets.
if(R.is_stack)
if(max_sheets && max_sheets > 0)
multiplier_string += "<br>
multiplier_string += "<br>"
for(var/i = 5;i<max_sheets;i*=2) //5,10,20,40...
multiplier_string += "<a href='?src=\ref[src];make=[index];multiplier=[i]'>\[x[i]\]</a>"
multiplier_string += "<a href='?src=\ref[src];make=[index];multiplier=[max_sheets]'>\[x[max_sheets]\]</a>"

View File

@@ -185,17 +185,17 @@
category = "Medical"
/datum/autolathe/recipe/shotgun_blanks
name = "blanks"
name = "ammunition (shotgun, blanks)"
path = /obj/item/ammo_casing/shotgun/blank
category = "Arms and Ammunition"
/datum/autolathe/recipe/shotgun_beanbag
name = "beanbag rounds"
name = "ammunition (shotgun, beanbag)"
path = /obj/item/ammo_casing/shotgun/beanbag
category = "Arms and Ammunition"
/datum/autolathe/recipe/magazine_rubber
name = "magazine (.45 rubber)"
name = "ammunition (rubber)"
path = /obj/item/ammo_magazine/c45r
category = "Arms and Ammunition"
@@ -256,25 +256,25 @@
category = "Arms and Ammunition"
/datum/autolathe/recipe/magazine_revolver_1
name = ""
name = "ammunition (.357)"
path = /obj/item/ammo_magazine/a357
hidden = 1
category = "Arms and Ammunition"
/datum/autolathe/recipe/magazine_revolver_2
name = "magazine (.45)"
name = "ammunition (.45)"
path = /obj/item/ammo_magazine/c45m
hidden = 1
category = "Arms and Ammunition"
/datum/autolathe/recipe/shotgun
name = "shotgun"
name = "ammunition (shell, shotgun)"
path = /obj/item/ammo_casing/shotgun
hidden = 1
category = "Arms and Ammunition"
/datum/autolathe/recipe/shotgun_dart
name = "shotgun dart"
name = "ammunition (dart, shotgun)"
path = /obj/item/ammo_casing/shotgun/dart
hidden = 1
category = "Arms and Ammunition"