From ae6dd6415911b6c44c12a7f6dd35b407613ec0b7 Mon Sep 17 00:00:00 2001 From: zevo Date: Mon, 1 Jan 2024 02:41:06 -0500 Subject: [PATCH] remove point cards and access cards --- .../syndicate/syndicate_gorlex_hyena.dmm | 1 - .../structures/icemoon/cave_entrance.dm | 1 - code/game/objects/structures/spawner.dm | 1 - code/modules/mining/machine_vending.dm | 40 ------------------- 4 files changed, 43 deletions(-) diff --git a/_maps/shuttles/syndicate/syndicate_gorlex_hyena.dmm b/_maps/shuttles/syndicate/syndicate_gorlex_hyena.dmm index 3a97d9913950..3224cf0919c7 100644 --- a/_maps/shuttles/syndicate/syndicate_gorlex_hyena.dmm +++ b/_maps/shuttles/syndicate/syndicate_gorlex_hyena.dmm @@ -1677,7 +1677,6 @@ /obj/item/gun/ballistic/automatic/pistol, /obj/item/clothing/accessory/holster, /obj/item/grenade/chem_grenade/metalfoam, -/obj/item/card/mining_access_card, /obj/machinery/airalarm/directional/west, /obj/item/tank/jetpack/suit, /turf/open/floor/carpet/red, diff --git a/code/game/objects/structures/icemoon/cave_entrance.dm b/code/game/objects/structures/icemoon/cave_entrance.dm index 50cadf2f8801..6d299d28a3d4 100644 --- a/code/game/objects/structures/icemoon/cave_entrance.dm +++ b/code/game/objects/structures/icemoon/cave_entrance.dm @@ -19,7 +19,6 @@ GLOBAL_LIST_INIT(ore_probability, list( /obj/item/tank/jetpack/suit = 10, /obj/item/survivalcapsule = 15, /obj/item/reagent_containers/hypospray/medipen/survival = 15, - /obj/item/card/mining_point_card = 15, /obj/item/gps/mining = 10, /obj/item/extraction_pack = 10, /obj/item/reagent_containers/food/drinks/beer = 15, diff --git a/code/game/objects/structures/spawner.dm b/code/game/objects/structures/spawner.dm index 572e150815c6..620f1cb6126d 100644 --- a/code/game/objects/structures/spawner.dm +++ b/code/game/objects/structures/spawner.dm @@ -19,7 +19,6 @@ GLOBAL_LIST_INIT(astroloot, list( /obj/item/tank/jetpack/suit = 10, /obj/item/survivalcapsule = 15, /obj/item/reagent_containers/hypospray/medipen/survival = 15, - /obj/item/card/mining_point_card = 15, /obj/item/gps/mining = 10, /obj/item/extraction_pack = 10, /obj/item/reagent_containers/food/drinks/beer = 15, diff --git a/code/modules/mining/machine_vending.dm b/code/modules/mining/machine_vending.dm index 4fb124147b7a..8cb06bbf6ade 100644 --- a/code/modules/mining/machine_vending.dm +++ b/code/modules/mining/machine_vending.dm @@ -108,47 +108,8 @@ icon_state = "mining_voucher" w_class = WEIGHT_CLASS_TINY -/**********************Mining Point Card**********************/ - -/obj/item/card/mining_point_card - name = "mining points card" - desc = "A small card preloaded with mining points. Swipe your ID card over it to transfer the points, then discard." - icon_state = "data_1" - custom_price = 500 - var/points = 500 - -/obj/item/card/mining_point_card/attackby(obj/item/I, mob/user, params) - if(istype(I, /obj/item/card/id)) - if(points) - var/obj/item/card/id/C = I - C.mining_points += points - to_chat(user, "You transfer [points] points to [C].") - points = 0 - else - to_chat(user, "There's no points left on [src].") - ..() - -/obj/item/card/mining_point_card/examine(mob/user) - . = ..() - . += "There's [points] point\s on the card." ///Conscript kit -/obj/item/card/mining_access_card - name = "mining access card" - desc = "A small card, that when used on any ID, will add mining access." - icon_state = "data_1" - -/obj/item/card/mining_access_card/afterattack(atom/movable/AM, mob/user, proximity) - . = ..() - if(istype(AM, /obj/item/card/id) && proximity) - var/obj/item/card/id/I = AM - I.access |= ACCESS_MINING - I.access |= ACCESS_MINING_STATION - I.access |= ACCESS_MECH_MINING - I.access |= ACCESS_MINERAL_STOREROOM - I.access |= ACCESS_CARGO - to_chat(user, "You upgrade [I] with mining access.") - qdel(src) /obj/item/storage/backpack/duffelbag/mining_conscript name = "EXOCOM rapid deployment kit" @@ -161,7 +122,6 @@ new /obj/item/storage/bag/ore(src) new /obj/item/clothing/suit/hooded/explorer(src) new /obj/item/clothing/mask/gas/explorer(src) - new /obj/item/card/mining_access_card(src) new /obj/item/gun/energy/kinetic_accelerator(src) new /obj/item/kitchen/knife/combat/survival(src) new /obj/item/flashlight/seclite(src)