Removes mod disks from loot pool, and makes them orderable from cargo. Also adds a KA crate. (#17739)

* fug

* no more disks
This commit is contained in:
Manatee
2023-02-11 03:18:18 -06:00
committed by GitHub
parent f6cd327077
commit ed09aa658d
3 changed files with 33 additions and 76 deletions

View File

@@ -16,18 +16,18 @@
reward = 5000 reward = 5000
required_count = 20 required_count = 20
wanted_types = list(/obj/item/stack/sheet/mineral/silver,/obj/item/stack/sheet/mineral/gold,/obj/item/stack/sheet/mineral/uranium) wanted_types = list(/obj/item/stack/sheet/mineral/silver,/obj/item/stack/sheet/mineral/gold,/obj/item/stack/sheet/mineral/uranium)
unlocked_crates = list(/datum/supply_pack/clearance/ka_damage,/datum/supply_pack/clearance/ka_cooldown,/datum/supply_pack/clearance/ka_range) unlocked_crates = list(/datum/supply_pack/clearance/ka_damage,/datum/supply_pack/clearance/ka_cooldown,/datum/supply_pack/clearance/ka_range, /datum/supply_pack/clearance/kacrate)
/datum/bounty/item/progression/mining_basic/reward_string() /datum/bounty/item/progression/mining_basic/reward_string()
return "[reward] Credits and clearance to order basic kinetic accelerator modification crates" return "[reward] Credits and clearance to order basic kinetic accelerator modification crates"
/datum/bounty/item/progression/mining_plasma /datum/bounty/item/progression/mining_plasma
name = "Plasma Extraction" name = "Plasma Extraction"
description = "The reason you're here: plasma. Ship us 20 sheets of it and we can certify your mining program as \"profitable\", allowing access to plasma-based mining equipment." description = "The reason you're here: plasma. Ship us 20 sheets of it and we can certify your mining program as \"profitable\", allowing access to plasma-based mining equipment and special kinetic accelerator mods."
reward = 4000 reward = 4000
wanted_types = list(/obj/item/stack/sheet/mineral/plasma) wanted_types = list(/obj/item/stack/sheet/mineral/plasma)
required_count = 20 required_count = 20
unlocked_crates = list(/datum/supply_pack/clearance/plasmacutter) unlocked_crates = list(/datum/supply_pack/clearance/plasmacutter, /datum/supply_pack/clearance/special_mods)
/datum/bounty/item/progression/mining_plasma/reward_string() /datum/bounty/item/progression/mining_plasma/reward_string()
return "[reward] Credits and clearance to order plasmacutters" return "[reward] Credits and clearance to order plasmacutters"

View File

@@ -1938,6 +1938,18 @@
cost = 350 cost = 350
contains = list(/obj/item/borg/upgrade/modkit/range,/obj/item/borg/upgrade/modkit/range,/obj/item/borg/upgrade/modkit/range) contains = list(/obj/item/borg/upgrade/modkit/range,/obj/item/borg/upgrade/modkit/range,/obj/item/borg/upgrade/modkit/range)
/datum/supply_pack/clearance/special_mods
name = "KA Special Mods"
desc = "Modifiers for a kinetic accelerator that significantly change its properties. Comes in four different forms."
cost = 750
contains = list(/obj/item/borg/upgrade/modkit/aoe/turfs/andmobs, /obj/item/borg/upgrade/modkit/cooldown/repeater, /obj/item/borg/upgrade/modkit/resonator_blasts, /obj/item/borg/upgrade/modkit/bounty)
/datum/supply_pack/clearance/kacrate
name = "Kinetic Accelerator Crate"
desc = "Two Kinetic Accelerators, self recharging, ranged mining tools that do increased damage in low pressure."
cost = 900
contains = list(/obj/item/gun/energy/kinetic_accelerator, /obj/item/gun/energy/kinetic_accelerator)
/datum/supply_pack/clearance/plasmacutter /datum/supply_pack/clearance/plasmacutter
name = "Plasmacutter Crate" name = "Plasmacutter Crate"
desc = "Two plasmacutters, experimental mining equipment that uses heated plasma as fuel." desc = "Two plasmacutters, experimental mining equipment that uses heated plasma as fuel."

View File

@@ -13,7 +13,7 @@ GLOBAL_LIST_EMPTY(aide_list)
desc = "It's watching you suspiciously." desc = "It's watching you suspiciously."
/obj/structure/closet/crate/necropolis/tendril/PopulateContents() /obj/structure/closet/crate/necropolis/tendril/PopulateContents()
var/loot = rand(1,25) var/loot = rand(1,23)
switch(loot) switch(loot)
if(1) if(1)
new /obj/item/shared_storage/red(src) new /obj/item/shared_storage/red(src)
@@ -27,54 +27,44 @@ GLOBAL_LIST_EMPTY(aide_list)
if(5) if(5)
new /obj/item/stack/sheet/mineral/mythril(src) new /obj/item/stack/sheet/mineral/mythril(src)
if(6) if(6)
if(prob(50))
new /obj/item/disk/design_disk/modkit_disc/resonator_blast(src)
else
new /obj/item/disk/design_disk/modkit_disc/rapid_repeater(src)
if(7)
new /obj/item/rod_of_asclepius(src) new /obj/item/rod_of_asclepius(src)
if(8) if(7)
new /obj/item/organ/heart/cursed/wizard(src) new /obj/item/organ/heart/cursed/wizard(src)
if(9) if(8)
new /obj/item/ship_in_a_bottle(src) new /obj/item/ship_in_a_bottle(src)
if(10) if(9)
new /obj/item/clothing/glasses/telepathy(src) new /obj/item/clothing/glasses/telepathy(src)
if(11) if(10)
new /obj/item/jacobs_ladder(src) new /obj/item/jacobs_ladder(src)
if(12) if(11)
new /obj/item/nullrod/scythe/talking(src) new /obj/item/nullrod/scythe/talking(src)
if(13) if(12)
new /obj/item/nullrod/armblade(src) new /obj/item/nullrod/armblade(src)
if(14) if(13)
if(prob(50))
new /obj/item/disk/design_disk/modkit_disc/mob_and_turf_aoe(src)
else
new /obj/item/disk/design_disk/modkit_disc/bounty(src)
if(15)
new /obj/item/warp_cube/red(src) new /obj/item/warp_cube/red(src)
if(16) if(14)
new /obj/item/organ/heart/gland/heals(src) new /obj/item/organ/heart/gland/heals(src)
if(17) if(15)
new /obj/item/eflowers(src) new /obj/item/eflowers(src)
if(18) if(16)
new /obj/item/voodoo(src) new /obj/item/voodoo(src)
if(19) if(17)
new /obj/item/clothing/suit/space/hardsuit/powerarmor_advanced(src) new /obj/item/clothing/suit/space/hardsuit/powerarmor_advanced(src)
if(20) if(18)
new /obj/item/book_of_babel(src) new /obj/item/book_of_babel(src)
if(21) if(19)
new /obj/item/borg/upgrade/modkit/lifesteal(src) new /obj/item/borg/upgrade/modkit/lifesteal(src)
new /obj/item/bedsheet/cult(src) new /obj/item/bedsheet/cult(src)
if(22) if(20)
new /obj/item/clothing/neck/necklace/memento_mori(src) new /obj/item/clothing/neck/necklace/memento_mori(src)
if(23) if(21)
new /obj/item/rune_scimmy(src) new /obj/item/rune_scimmy(src)
if(24) if(22)
new /obj/item/dnainjector/dwarf(src) new /obj/item/dnainjector/dwarf(src)
new /obj/item/grenade/plastic/miningcharge/mega(src) new /obj/item/grenade/plastic/miningcharge/mega(src)
new /obj/item/grenade/plastic/miningcharge/mega(src) new /obj/item/grenade/plastic/miningcharge/mega(src)
new /obj/item/grenade/plastic/miningcharge/mega(src) new /obj/item/grenade/plastic/miningcharge/mega(src)
if(25) if(23)
new /obj/item/clothing/gloves/gauntlets(src) new /obj/item/clothing/gloves/gauntlets(src)
//KA modkit design discs //KA modkit design discs
@@ -88,56 +78,11 @@ GLOBAL_LIST_EMPTY(aide_list)
. = ..() . = ..()
blueprints[1] = new modkit_design blueprints[1] = new modkit_design
/obj/item/disk/design_disk/modkit_disc/mob_and_turf_aoe
name = "Offensive Mining Explosion Mod Disk"
modkit_design = /datum/design/unique_modkit/offensive_turf_aoe
/obj/item/disk/design_disk/modkit_disc/rapid_repeater
name = "Rapid Repeater Mod Disk"
modkit_design = /datum/design/unique_modkit/rapid_repeater
/obj/item/disk/design_disk/modkit_disc/resonator_blast
name = "Resonator Blast Mod Disk"
modkit_design = /datum/design/unique_modkit/resonator_blast
/obj/item/disk/design_disk/modkit_disc/bounty
name = "Death Syphon Mod Disk"
modkit_design = /datum/design/unique_modkit/bounty
/datum/design/unique_modkit /datum/design/unique_modkit
category = list("Mining Designs", "Cyborg Upgrade Modules") //can't be normally obtained category = list("Mining Designs", "Cyborg Upgrade Modules") //can't be normally obtained
build_type = PROTOLATHE | MECHFAB build_type = PROTOLATHE | MECHFAB
departmental_flags = DEPARTMENTAL_FLAG_CARGO departmental_flags = DEPARTMENTAL_FLAG_CARGO
/datum/design/unique_modkit/offensive_turf_aoe
name = "Kinetic Accelerator Offensive Mining Explosion Mod"
desc = "A device which causes kinetic accelerators to fire AoE blasts that destroy rock and damage creatures."
id = "hyperaoemod"
materials = list(/datum/material/iron = 7000, /datum/material/glass = 3000, /datum/material/silver = 3000, /datum/material/gold = 3000, /datum/material/diamond = 4000)
build_path = /obj/item/borg/upgrade/modkit/aoe/turfs/andmobs
/datum/design/unique_modkit/rapid_repeater
name = "Kinetic Accelerator Rapid Repeater Mod"
desc = "A device which greatly reduces a kinetic accelerator's cooldown on striking a living target or rock, but greatly increases its base cooldown."
id = "repeatermod"
materials = list(/datum/material/iron = 5000, /datum/material/glass = 5000, /datum/material/uranium = 8000, /datum/material/bluespace = 2000)
build_path = /obj/item/borg/upgrade/modkit/cooldown/repeater
/datum/design/unique_modkit/resonator_blast
name = "Kinetic Accelerator Resonator Blast Mod"
desc = "A device which causes kinetic accelerators to fire shots that leave and detonate resonator blasts."
id = "resonatormod"
materials = list(/datum/material/iron = 5000, /datum/material/glass = 5000, /datum/material/silver = 5000, /datum/material/uranium = 5000)
build_path = /obj/item/borg/upgrade/modkit/resonator_blasts
/datum/design/unique_modkit/bounty
name = "Kinetic Accelerator Death Syphon Mod"
desc = "A device which causes kinetic accelerators to permanently gain damage against creature types killed with it."
id = "bountymod"
materials = list(/datum/material/iron = 4000, /datum/material/silver = 4000, /datum/material/gold = 4000, /datum/material/bluespace = 4000)
reagents_list = list(/datum/reagent/blood = 40)
build_path = /obj/item/borg/upgrade/modkit/bounty
//Spooky special loot //Spooky special loot
//Rod of Asclepius //Rod of Asclepius