Uploading resin & membrane sprites for Urist.

Only vending machines which accept coins have a coin slot.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2294 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
petethegoat@gmail.com
2011-09-29 15:07:10 +00:00
parent 3f5d755272
commit bcdc8d259d
2 changed files with 3 additions and 2 deletions

View File

@@ -111,7 +111,7 @@
if(src.panel_open)
attack_hand(user)
return
else if(istype(W, /obj/item/weapon/coin))
else if(istype(W, /obj/item/weapon/coin) && product_coin != "")
user.drop_item()
W.loc = src
coin = W
@@ -137,7 +137,8 @@
var/dat = "<TT><b>Select an item:</b><br>"
dat += "<b>Coin slot:</b> [coin ? coin : "No coin inserted"] (<a href='byond://?src=\ref[src];remove_coin=1'>Remove</A>)<br><br>"
if (product_coin != "")
dat += "<b>Coin slot:</b> [coin ? coin : "No coin inserted"] (<a href='byond://?src=\ref[src];remove_coin=1'>Remove</A>)<br><br>"
if (src.product_records.len == 0)
dat += "<font color = 'red'>No product loaded!</font>"