You can now insert a coin into a vending machine. Some (currently only cigarette machine) have special items which you can only get to with a coin. No, hacking will not allow you to get to these items.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2209 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2011-09-17 01:17:36 +00:00
parent bc1af5e099
commit 48e5403e72
4 changed files with 56 additions and 2 deletions
+6
View File
@@ -14,8 +14,11 @@
var/product_slogans = "" //String of slogans separated by semicolons, optional
var/product_hidden = "" //String of products that are hidden unless hacked.
var/product_hideamt = "" //String of hidden product amounts, separated by semicolons. Exact same as amounts. Must be left blank if hidden is.
var/product_coin = ""
var/product_coin_amt = ""
var/list/product_records = list()
var/list/hidden_records = list()
var/list/coin_records = list()
var/list/slogan_list = list()
var/vend_reply //Thank you for shopping!
var/last_reply = 0
@@ -30,6 +33,7 @@
var/extended_inventory = 0 //can we access the hidden inventory?
var/panel_open = 0 //Hacking that vending machine. Gonna get a free candy bar.
var/wires = 15
var/obj/item/weapon/coin/coin
/obj/machinery/vending/boozeomat
name = "Booze-O-Mat"
@@ -90,6 +94,8 @@
vend_delay = 34
product_hidden = "/obj/item/weapon/zippo"
product_hideamt = "4"
product_coin = "/obj/item/clothing/mask/cigarette/cigar/havanian"
product_coin_amt = "2"
/obj/machinery/vending/medical
name = "NanoMed Plus"