From c73684db342a5cef28f5be1e9ab46fb727e3c024 Mon Sep 17 00:00:00 2001
From: Darius <5933805+LeDrascol@users.noreply.github.com>
Date: Thu, 19 Jan 2023 12:44:27 -0500
Subject: [PATCH] Adds the surplus condom box
Adds a box of ten condoms to the kinkmate vendor, priced at half the cost of buying all ten individually.
---
.../code/game/objects/items/storage/boxes.dm | 25 +++++++++++++++++++
.../code/modules/vending/kinkmate.dm | 1 +
2 files changed, 26 insertions(+)
diff --git a/modular_splurt/code/game/objects/items/storage/boxes.dm b/modular_splurt/code/game/objects/items/storage/boxes.dm
index 29fe86ebcc..34d085605d 100644
--- a/modular_splurt/code/game/objects/items/storage/boxes.dm
+++ b/modular_splurt/code/game/objects/items/storage/boxes.dm
@@ -51,3 +51,28 @@
/obj/item/paper/fluff/shipment_plushmium
name = "plushmium backer note"
info = "
Plushmium Instructions
Dear esteemed customer,
Thank for backing the Stuffing For Spessmen© crowd funding initiative. We at Donk Co. pride ourselves on making a wide variety of engaging toys for our loyal customers to enjoy. Now, we're bringing the toy making process directly to your home or workplace! Included in this box is:- A spray bottle of Love to Life™ solution
- A carefully packaged plushie
To begin enjoying your new friend, start by unpacking the included plushie. Our selection process goes through rigorous quality testing to ensure you'll always get the best toy for the job. With so many choices, you'll want to get the whole family in on the action.
Once you have everything ready, it's time to make the patented Donk Co. magic happen! Spray your new best friend with Love to Life™ solution, included in the complimentary spray bottle, and watch the stunning transformation!
But don't leave your new best friend hanging! Give them a big warm hug to celebrate the long and intimate friendship you'll be sharing.
Donk Co. is not responsible for any injury or loss of life that may occur while using the Love to Life™ solution. Do not allow access to children or adults without supervision by a chemist.
Do not drink, splash, inject, or otherwise handle the solution. Do not come into direct physical contact with the solution, or any object the solution has been applied to, under any circumstances."
+
+// Kinkmate listing for condom box
+/obj/item/storage/box/bulk_condoms
+ name = "surplus condom box"
+ desc = "A large collection of condoms, suitable for the safest of sluts!"
+ icon = 'modular_sand/icons/obj/fleshlight.dmi'
+ icon_state = "box"
+ custom_price = PRICE_ALMOST_EXPENSIVE // Half the price of buying individually
+
+/obj/item/storage/box/bulk_condoms/ComponentInitialize()
+ . = ..()
+
+ // Define storage component
+ var/datum/component/storage/str = GetComponent(/datum/component/storage)
+
+ // Set max items to 10
+ str.max_items = 10
+
+ // Restrict contents to only condoms
+ str.can_hold = typecacheof(list(/obj/item/genital_equipment/condom))
+
+/obj/item/storage/box/bulk_condoms/PopulateContents()
+ // Add maximum amount
+ for(var/i in 1 to 10)
+ new /obj/item/genital_equipment/condom(src)
diff --git a/modular_splurt/code/modules/vending/kinkmate.dm b/modular_splurt/code/modules/vending/kinkmate.dm
index c8a626b0c5..1d2f3c5a94 100644
--- a/modular_splurt/code/modules/vending/kinkmate.dm
+++ b/modular_splurt/code/modules/vending/kinkmate.dm
@@ -24,6 +24,7 @@
/obj/item/clothing/neck/syntech/collar = 4,
/obj/item/storage/fancy/jellybean_pack = 5,
/obj/item/storage/box/aphrodisiac_pump = 5,
+ /obj/item/storage/box/bulk_condoms = 10,
/obj/item/strapon_strap = 5,
/obj/item/restraints/bondage_rope = 5,
/obj/item/clothing/under/domina = 5,