mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 19:22:56 +00:00
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:
@@ -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>"
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 31 KiB |
Reference in New Issue
Block a user