- Added a 'random coloured' wire type, which gets it's color assigned only once created.

- Added the tool vending machine to code. Sprites by... I forgot... http://i.imgur.com/yedWM.png

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3472 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz@gmail.com
2012-04-16 19:32:47 +00:00
parent f1c3c494a2
commit 59c2b806e9
3 changed files with 19 additions and 0 deletions
+13
View File
@@ -242,3 +242,16 @@
product_hidden = "/obj/item/weapon/reagent_containers/food/drinks/drinkingglass/cola"
product_hideamt = "20"
product_ads = "For Tsar and Country.;Have you fulfilled your nutrition quota today?;Very nice!;We are simple people, for this is all we eat.;If there is a person, there is a problem. If there is no person, then there is no problem."
/obj/machinery/vending/tool
name = "YouTool"
desc = "Tools for tools."
icon_state = "tool"
icon_deny = "tool-deny"
req_access_txt = "12" //Maintenance access
product_paths = "/obj/item/weapon/cable_coil/random;/obj/item/weapon/crowbar;/obj/item/weapon/weldingtool;/obj/item/weapon/wirecutters;/obj/item/weapon/wrench;/obj/item/device/analyzer;/obj/item/device/t_scanner"
product_amounts = "10;5;3;5;5;5;5"
product_hidden = "/obj/item/weapon/weldingtool/largetank;/obj/item/device/multitool"
product_hideamt = "2;2"
product_coin = "/obj/item/clothing/gloves/yellow"
product_coin_amt = "1"
+6
View File
@@ -564,6 +564,12 @@
color = "green"
icon_state = "coil_green"
/obj/item/weapon/cable_coil/random/New()
color = pick("red","yellow","green","blue")
icon_state = "coil_[color]"
..()
/obj/item/weapon/crowbar
name = "crowbar"
desc = "Used to hit floors"
Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 48 KiB