mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +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)
|
if(src.panel_open)
|
||||||
attack_hand(user)
|
attack_hand(user)
|
||||||
return
|
return
|
||||||
else if(istype(W, /obj/item/weapon/coin))
|
else if(istype(W, /obj/item/weapon/coin) && product_coin != "")
|
||||||
user.drop_item()
|
user.drop_item()
|
||||||
W.loc = src
|
W.loc = src
|
||||||
coin = W
|
coin = W
|
||||||
@@ -137,6 +137,7 @@
|
|||||||
|
|
||||||
var/dat = "<TT><b>Select an item:</b><br>"
|
var/dat = "<TT><b>Select an item:</b><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>"
|
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)
|
if (src.product_records.len == 0)
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 31 KiB |
Reference in New Issue
Block a user