Added Adamantine to mining. Currently set to not spawn naturally, as it has no purpose yet. Can be mined, smelted, made into coins, and added to the protolathe. Also changed one icon name for consistency.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1689 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
Durandanss13@gmail.com
2011-06-13 15:47:23 +00:00
parent 36e4f5c55c
commit 81e133e045
3 changed files with 146 additions and 17 deletions

View File

@@ -21,6 +21,7 @@ Note: Must be placed west/left of and R&D console to function.
uranium_amount = 0.0
diamond_amount = 0.0
clown_amount = 0.0
adamantine_amount = 0.0
New()
@@ -104,6 +105,9 @@ Note: Must be placed west/left of and R&D console to function.
if(clown_amount >= 3750)
var/obj/item/stack/sheet/clown/G = new /obj/item/stack/sheet/clown(src.loc)
G.amount = round(clown_amount / 3750)
if(adamantine_amount >= 3750)
var/obj/item/stack/sheet/adamantine/G = new /obj/item/stack/sheet/adamantine(src.loc)
G.amount = round(adamantine_amount / 3750)
del(src)
return 1
else
@@ -165,6 +169,8 @@ Note: Must be placed west/left of and R&D console to function.
diamond_amount += amount * 3750
else if(istype(stack, /obj/item/stack/sheet/clown))
clown_amount += amount * 3750
else if(istype(stack, /obj/item/stack/sheet/adamantine))
adamantine_amount += amount * 3750
stack.use(amount)
busy = 0
src.updateUsrDialog()