mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
[MIRROR] Adds explorer drones / adventures. (#4424)
* Adds explorer drones / adventures. * Update persistence.dm * Update asset_list_items.dm * MAP RESET Co-authored-by: AnturK <AnturK@users.noreply.github.com> Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
co-authored by
AnturK
Gandalf
parent
3a8d59e815
commit
49836e4fac
@@ -0,0 +1,4 @@
|
||||
/datum/export/antique
|
||||
cost = CARGO_CRATE_VALUE*10
|
||||
unit_name = "antique"
|
||||
export_types = list(/obj/item/antique)
|
||||
@@ -43,6 +43,14 @@
|
||||
QDEL_NULL(radio)
|
||||
return ..()
|
||||
|
||||
/obj/machinery/computer/cargo/attacked_by(obj/item/I, mob/living/user)
|
||||
if(istype(I,/obj/item/trade_chip))
|
||||
var/obj/item/trade_chip/contract = I
|
||||
contract.try_to_unlock_contract(user)
|
||||
return TRUE
|
||||
else
|
||||
return ..()
|
||||
|
||||
/obj/machinery/computer/cargo/proc/get_export_categories()
|
||||
. = EXPORT_CARGO
|
||||
if(contraband)
|
||||
|
||||
@@ -2480,6 +2480,13 @@
|
||||
/obj/item/book/random)
|
||||
crate_type = /obj/structure/closet/crate/wooden
|
||||
|
||||
/datum/supply_pack/misc/exploration_drone
|
||||
name = "Exploration Drone"
|
||||
desc = "A replacement long-range exploration drone."
|
||||
cost = CARGO_CRATE_VALUE * 5
|
||||
contains = list(/obj/item/exodrone)
|
||||
crate_name = "exodrone crate"
|
||||
|
||||
/datum/supply_pack/misc/paper
|
||||
name = "Bureaucracy Crate"
|
||||
desc = "High stacks of papers on your desk Are a big problem - make it Pea-sized with these bureaucratic supplies! Contains six pens, some camera film, hand labeler supplies, a paper bin, a carbon paper bin, three folders, a laser pointer, two clipboards and two stamps."//that was too forced
|
||||
@@ -2825,4 +2832,53 @@
|
||||
/obj/item/vending_refill/wardrobe/det_wardrobe,
|
||||
/obj/item/vending_refill/wardrobe/law_wardrobe)
|
||||
crate_name = "security department supply crate"
|
||||
<<<<<<< HEAD
|
||||
*/
|
||||
=======
|
||||
|
||||
|
||||
/// 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,
|
||||
/obj/item/food/sandwich,
|
||||
/obj/item/food/sandwich,
|
||||
/obj/item/food/sandwich,
|
||||
/obj/item/food/sandwich)
|
||||
crate_name = "outsourced food crate"
|
||||
|
||||
/datum/supply_pack/exploration/catering/fill(obj/structure/closet/crate/C)
|
||||
. = ..()
|
||||
if(prob(30))
|
||||
for(var/obj/item/food/F in C)
|
||||
F.name = "spoiled [F.name]"
|
||||
F.foodtypes |= GROSS
|
||||
F.MakeEdible()
|
||||
|
||||
/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)
|
||||
>>>>>>> 8b1ffd1e49a (Adds explorer drones / adventures. (#57851))
|
||||
|
||||
Reference in New Issue
Block a user