Skip to content

Commit

Permalink
[MIRROR] Removes server-crashing TC option
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNightingale authored and SuhEugene committed Oct 26, 2023
1 parent bf2f0dd commit d45dbf9
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions code/datums/uplink/badassery.dm
Original file line number Diff line number Diff line change
Expand Up @@ -57,26 +57,6 @@
/datum/uplink_item/item/badassery/random_one/can_buy(obj/item/device/uplink/U)
return U.uses

/datum/uplink_item/item/badassery/random_many
name = "Random Items"
desc = "Buys you as many random items as you can afford. Convenient packaging NOT included!"

/datum/uplink_item/item/badassery/random_many/cost(telecrystals, obj/item/device/uplink/U)
return max(1, telecrystals)

/datum/uplink_item/item/badassery/random_many/get_goods(obj/item/device/uplink/U, loc)
var/list/bought_items = list()
for(var/datum/uplink_item/UI in get_random_uplink_items(U, U.uses, loc))
UI.purchase_log(U)
var/obj/item/I = UI.get_goods(U, loc)
if(istype(I))
bought_items += I

return bought_items

/datum/uplink_item/item/badassery/random_many/purchase_log(obj/item/device/uplink/U)
log_and_message_admins("used \the [U.loc] to buy \a [src]")

/****************
* Surplus Crate *
****************/
Expand Down

0 comments on commit d45dbf9

Please sign in to comment.