mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
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:
@@ -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"
|
||||
|
||||
|
||||
@@ -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/", ""), "/", "-"),
|
||||
|
||||
@@ -26,7 +26,7 @@ export const Vending = props => {
|
||||
}
|
||||
return (
|
||||
<Fragment>
|
||||
{data.onstation && (
|
||||
{!!data.onstation && (
|
||||
<Section title="User">
|
||||
{data.user && (
|
||||
<Box>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user