mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-28 02:52:28 +00:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user