Skip to content

Commit

Permalink
Removing black market from UPP req circuit
Browse files Browse the repository at this point in the history
  • Loading branch information
SerheyKr committed Aug 20, 2024
1 parent 93ccb24 commit 1cac616
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions code/game/objects/items/circuitboards/computer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,6 @@
/obj/item/circuitboard/computer/supplycomp/upp
name = "Circuit board (General Supply Storage console)"
build_path = /obj/structure/machinery/computer/supplycomp/upp
//No black market under communism
black_market_lock = TRUE

/obj/item/circuitboard/computer/supplycomp
name = "Circuit board (ASRS console)"
Expand All @@ -178,6 +176,12 @@
SC.toggle_contraband(contraband_enabled)
SC.lock_black_market(black_market_lock)

//No black market under communism
/obj/item/circuitboard/computer/supplycomp/upp/attackby(obj/item/tool, mob/user)
if(HAS_TRAIT(tool, TRAIT_TOOL_MULTITOOL))
to_chat(user, SPAN_WARNING("You try to pulse the circuit board, but nothing happens. Maybe you need something more specialized?"))
return

/obj/item/circuitboard/computer/supplycomp/attackby(obj/item/tool, mob/user)
if(HAS_TRAIT(tool, TRAIT_TOOL_MULTITOOL))
to_chat(user, SPAN_WARNING("You try to pulse the circuit board, but nothing happens. Maybe you need something more specialized?"))
Expand Down

0 comments on commit 1cac616

Please sign in to comment.