One-Way Materials Market (#5137)

## About The Pull Request

Re-enables purchase of the GMM, however the GMM can only be used to
purchase materials not sell them.

## Why It's Good For The Game

Let the station buy materials if they're desperate/lowpop. If people
were selling insane amounts of material inflating the budget, just
remove the ability to sell. Don't remove the entire machine.

## Changelog

🆑 LT3
add: Galactic materials market can be used by cargo for purchasing
materials only
/🆑
This commit is contained in:
LT3
2026-01-24 14:37:51 -08:00
committed by GitHub
parent 8a05c0f266
commit 6c5fa75ecd
8 changed files with 35 additions and 12 deletions
+9
View File
@@ -50,6 +50,13 @@
if(!isstack(exportable))
return
// BUBBER EDIT ADDITION BEGIN - GMM can't sell materials
balloon_alert(user, "export not available!")
return ITEM_INTERACT_FAILURE
// BUBBER EDIT ADDITION END - GMM can't sell materials
// BUBBER EDIT REMOVAL BEGIN - GMM can't sell materials
/*
if(!is_operational)
balloon_alert(user, "no power!")
return ITEM_INTERACT_FAILURE
@@ -76,6 +83,8 @@
qdel(exportable)
use_energy(active_power_usage)
return ITEM_INTERACT_SUCCESS
*/
// BUBBER EDIT REMOVAL END - GMM can't sell materials
/obj/machinery/materials_market/power_change()
. = ..()
+2 -2
View File
@@ -315,8 +315,9 @@
order_flags = ORDER_CONTRABAND
contains = list(/obj/item/weaponcrafting/giant_wrench)
crate_name = "unknown parts crate"
Removal End */
/datum/supply_pack/imports/materials_market - RENABLE IF FIXED UPSTREAM
/datum/supply_pack/imports/materials_market
name = "Galactic Materials Market Crate"
desc = "A circuit board to build your own materials market for use by certified market traders. Warning: Losses are not covered by insurance."
cost = CARGO_CRATE_VALUE * 3
@@ -329,7 +330,6 @@
)
crate_name = "materials market crate"
crate_type = /obj/structure/closet/crate/cargo
Removal End */
/datum/supply_pack/imports/floortilecamo
name = "Floor-tile Camouflage Uniform"