Files
Bubberstation/code/modules/cargo/packs/exploration.dm
SkyratBot 9e9b09d90b [MIRROR] Chefs can now kiss food they make to make it with love. (And a lot of cooking refactoring) [MDB IGNORE] (#17334)
* Chefs can now kiss food they make to make it with love. (And a lot of cooking refactoring)

* update from master and fix conflicts

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-11-09 17:49:35 +00:00

43 lines
1.2 KiB
Plaintext

/// Exploration drone unlockables ///
/datum/supply_pack/exploration
special = TRUE
group = "Outsourced"
/datum/supply_pack/exploration/scrapyard
name = "Scrapyard Crate"
desc = "Outsourced crate containing various junk."
cost = CARGO_CRATE_VALUE * 5
contains = list(/obj/item/relic,
/obj/item/broken_bottle,
/obj/item/pickaxe/rusted)
crate_name = "scrapyard crate"
/datum/supply_pack/exploration/catering
name = "Catering Crate"
desc = "No cook? No problem! Food quality may vary depending on provider."
cost = CARGO_CRATE_VALUE * 5
contains = list(/obj/item/food/sandwich = 5)
crate_name = "outsourced food crate"
/datum/supply_pack/exploration/catering/fill(obj/structure/closet/crate/crate)
. = ..()
if(!prob(30))
return
for(var/obj/item/food/food_item in crate)
// makes all of our items GROSS
food_item.name = "spoiled [food_item.name]"
food_item.AddComponent(/datum/component/edible, foodtypes = GROSS)
/datum/supply_pack/exploration/shrubbery
name = "Shrubbery Crate"
desc = "Crate full of hedge shrubs."
cost = CARGO_CRATE_VALUE * 5
crate_name = "shrubbery crate"
var/shrub_amount = 8
/datum/supply_pack/exploration/shrubbery/fill(obj/structure/closet/crate/C)
for(var/i in 1 to shrub_amount)
new /obj/item/grown/shrub(C)