Vendor fix when they are hacked and have no contraband items (#49626)

* vendor fix when hacked and no contraban

* Captain Pirate Hat Name, 0 on off station vendors

* contraband items pricing fix

* Fixed up

* Rebuild Tgui
This commit is contained in:
nightred
2020-03-03 02:06:46 -06:00
committed by GitHub
parent a38f94312e
commit 6544145fc1
4 changed files with 4 additions and 2 deletions
+1
View File
@@ -146,6 +146,7 @@
to_chat(user, "<span class='boldnotice'>You can no longer speak like a pirate.</span>")
/obj/item/clothing/head/pirate/captain
name = "pirate captain"
icon_state = "hgpiratecap"
item_state = "hgpiratecap"
+1
View File
@@ -684,6 +684,7 @@ GLOBAL_LIST_EMPTY(vending_products)
premium = TRUE
)
.["coin_records"] += list(data)
.["hidden_records"] = list()
for (var/datum/data/vending_product/R in hidden_records)
var/list/data = list(
path = replacetext(replacetext("[R.product_path]", "/obj/item/", ""), "/", "-"),