Skip to content

Commit

Permalink
Reworks some trader pools. (ParadiseSS13#22969)
Browse files Browse the repository at this point in the history
* oh boy let us have some heads roll

* le comma au chocolate

* perhaps we we want them to be able to build it

* mmm ice cream sandwich cereal

* Update code/game/objects/items/weapons/storage/boxes.dm

Co-authored-by: Henri215 <[email protected]>

* Update code/game/objects/items/weapons/storage/boxes.dm

Co-authored-by: Burzah <[email protected]>

* lablled

* Apply suggestions from code review

Co-authored-by: Henri215 <[email protected]>

* solcase

---------

Co-authored-by: Henri215 <[email protected]>
Co-authored-by: Burzah <[email protected]>
  • Loading branch information
3 people authored Oct 29, 2023
1 parent 7474cf1 commit 3dc52b9
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 29 deletions.
60 changes: 33 additions & 27 deletions code/game/objects/effects/spawners/lootdrop.dm
Original file line number Diff line number Diff line change
Expand Up @@ -202,19 +202,18 @@
name = "1. civilian gear"
loot = list(
// General utility gear
/obj/item/storage/belt/utility/full/multitool = 150,
/obj/item/clothing/gloves/combat = 100,
/obj/item/clothing/glasses/welding = 50,
/obj/item/reagent_containers/spray/cleaner/advanced = 100,
/obj/item/clothing/shoes/magboots = 50,
/obj/item/soap = 50,
/obj/item/clothing/under/syndicate/combat = 50,
/obj/item/soap/syndie = 50,
/obj/item/lighter/zippo/gonzofist = 50,
/obj/item/stack/nanopaste = 50,
/obj/item/clothing/under/costume/psyjump = 50,
/obj/item/immortality_talisman = 50,
/obj/item/clothing/mask/holo_cigar = 50
/obj/item/clothing/mask/holo_cigar = 100,
/obj/item/storage/box/syndie_kit/chameleon = 50, //costumes!
/obj/item/storage/backpack/satchel_flat = 50,
/obj/item/book_of_babel = 50
)

/obj/effect/spawner/lootdrop/trade_sol/minerals
Expand Down Expand Up @@ -243,6 +242,7 @@
/obj/effect/spawner/lootdrop/trade_sol/minerals/Initialize(mapload)
while(lootcount)
var/lootspawn = pickweight(loot)
loot -= lootspawn //We do this as the minerals will merge, and if duplicates roll they add one to the stack, instead of doubling.
var/obj/item/stack/sheet/S = new lootspawn(get_turf(src))
S.amount = 25
lootcount--
Expand All @@ -267,19 +267,22 @@
name = "4. science gear"
loot = list(
// Robotics
/obj/item/mmi/robotic_brain = 50, // Low-value, but we want to encourage getting more players back in the round.
/obj/item/assembly/signaler/anomaly/random = 50, // anomaly core
/obj/item/mecha_parts/mecha_equipment/weapon/energy/xray = 25, // mecha x-ray laser
/obj/item/mecha_parts/mecha_equipment/teleporter/precise = 25, // upgraded mecha teleporter
/obj/item/autosurgeon/organ = 50,
/obj/item/mod/construction/plating/research = 25,

// Research / Experimentor
/obj/item/paper/researchnotes = 150, // papers that give random R&D levels
/obj/item/paper/researchnotes = 125, // papers that give random R&D levels
/obj/item/storage/box/telescience = 25, // Code green or blue. Probably not antags. People haven't touched it in ages. Let us see what happens.

// Xenobio
/obj/item/slimepotion/sentience = 50, // Low-value, but we want to encourage getting more players back in the round.
/obj/item/slimepotion/transference = 50
/obj/item/slimepotion/transference = 50,

// Might as well let AI be interested
/obj/item/surveillance_upgrade = 25
)

/obj/effect/spawner/lootdrop/trade_sol/med
Expand All @@ -288,10 +291,8 @@
// Medchem
/obj/item/storage/pill_bottle/random_meds/labelled = 100, // random medical and other chems
/obj/item/reagent_containers/glass/bottle/reagent/omnizine = 50,
/obj/item/reagent_containers/glass/bottle/reagent/lazarus_reagent = 50,

// Surgery
/obj/item/scalpel/laser/manager = 100,
/obj/item/organ/internal/heart/gland/ventcrawling = 50,
/obj/item/organ/internal/heart/gland/heals = 50,

Expand All @@ -300,12 +301,11 @@
/obj/item/dnainjector/nobreath = 50,
/obj/item/dnainjector/telemut = 50,

// Virology
/obj/item/reagent_containers/glass/bottle/regeneration = 50,
/obj/item/reagent_containers/glass/bottle/sensory_restoration = 50,

// Medical in general
/obj/item/mod/construction/plating/rescue = 25
/obj/item/mod/construction/plating/rescue = 25,
/obj/item/gun/medbeam = 25, //Antags can see this to remove it if a threat, unlikely to happen with another midround
/obj/item/bodyanalyzer = 25,
/obj/item/circuitboard/sleeper/syndicate = 25
)

/obj/effect/spawner/lootdrop/trade_sol/sec
Expand All @@ -321,19 +321,18 @@
/obj/item/clothing/glasses/thermal = 50, // see heat-source mobs through walls. Less powerful than already-available xray.
/obj/item/mod/construction/plating/safeguard = 25,
/obj/item/mod/module/power_kick = 50,
/obj/item/storage/box/syndie_kit/camera_bug = 25, //Camera viewing on the go, planting cameras with detective work? Could be interesting!

// Ranged weapons
/obj/item/storage/box/enforcer_rubber = 50,
/obj/item/storage/box/enforcer_lethal = 50,
/obj/item/gun/projectile/shotgun/automatic/combat = 50, // combat shotgun, between riot and bulldog in robustness. Not illegal, can be obtained from cargo.
/obj/item/gun/projectile/shotgun/automatic/dual_tube = 50, // cycler shotgun, not normally available to crew
/obj/item/storage/box/enforcer_rubber = 50, //Lethal ammo can be printed at an autolathe, so no need for the lethal subtype
/obj/item/gun/projectile/shotgun/automatic/dual_tube = 100, // cycler shotgun, not normally available to crew
/obj/item/weaponcrafting/gunkit/universal_gun_kit/sol_gov = 50, //Weapon crafting, lets officers experiment however lets not have it be C class

// Cluster grenades
/obj/item/grenade/clusterbuster = 50, // cluster flashbang
)

/obj/effect/spawner/lootdrop/trade_sol/eng
name = "7. eng gear"
lootcount = 8 //increased due to this pool being a bit more... niche?
loot = list(
/obj/item/storage/belt/utility/chief/full = 25,
/obj/item/rcd/combat = 25,
Expand All @@ -342,8 +341,10 @@
/obj/item/storage/backpack/holding = 25,
/obj/item/clothing/glasses/meson/night = 25, // NV mesons
/obj/item/clothing/glasses/material = 25, // shows objects, but not mobs, through walls
/obj/item/grenade/clusterbuster/metalfoam = 25, // cluster metal foam grenade
/obj/item/mod/construction/plating/advanced = 13
/obj/item/mod/construction/plating/advanced = 25,
/obj/item/mod/module/jetpack/advanced = 25,
/obj/item/slimepotion/oil_slick = 25, //Suggested by discord, moderately common but not as common as most rnd things
/obj/item/holosign_creator/atmos = 25
)

/obj/effect/spawner/lootdrop/trade_sol/largeitem
Expand All @@ -352,7 +353,9 @@
loot = list(
/obj/machinery/disco = 20,
/obj/structure/spirit_board = 20,
/obj/mecha/combat/durand/old = 20
/obj/mecha/combat/durand/old = 20,
/obj/machinery/snow_machine = 20,
/obj/machinery/cooker/cerealmaker = 20
)

/obj/effect/spawner/lootdrop/trade_sol/vehicle
Expand All @@ -378,13 +381,12 @@
name = "10. service gear"
loot = list(
// Mining
/obj/item/mining_voucher = 100,
/obj/item/pickaxe/drill/jackhammer = 100,
/obj/item/gun/energy/kinetic_accelerator/experimental = 100,
/obj/item/borg/upgrade/modkit/aoe/turfs/andmobs = 100,

// Botanist
/obj/item/seeds/random/labelled = 100,
/obj/item/storage/box/botany_labelled_seeds = 100,

// Clown
/obj/item/grenade/clusterbuster/honk = 100,
Expand All @@ -395,8 +397,12 @@
/obj/item/storage/box/bartender_rare_ingredients_kit = 100,

// Chef
/obj/item/storage/box/chef_rare_ingredients_kit = 100
/obj/item/storage/box/chef_rare_ingredients_kit = 100,
/obj/item/mod/module/dispenser = 50, // Prints burgers. When you want to be space mcdonalds.
// It would be nice to also have items for other service jobs: Mime, Librarian, Chaplain, etc

// Chaplain
/obj/structure/constructshell = 50 //Fuck it we ball what could go wrong
)


Expand Down
4 changes: 2 additions & 2 deletions code/game/objects/items/devices/scanners.dm
Original file line number Diff line number Diff line change
Expand Up @@ -614,8 +614,8 @@ REAGENT SCANNER
var/printing = FALSE
var/time_to_use = 0 // How much time remaining before next scan is available.
var/usecharge = 750
var/scan_time = 10 SECONDS //how long does it take to scan
var/scan_cd = 60 SECONDS //how long before we can scan again
var/scan_time = 5 SECONDS //how long does it take to scan
var/scan_cd = 30 SECONDS //how long before we can scan again

/obj/item/bodyanalyzer/get_cell()
return cell
Expand Down
16 changes: 16 additions & 0 deletions code/game/objects/items/weapons/storage/boxes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,22 @@
B.reagents.add_reagent(reag, 30)
B.name = "[reag] bottle"

/obj/item/storage/box/botany_labelled_seeds
name = "botanist labelled random seeds kit"
desc = "A box intended for experienced botanists."

/obj/item/storage/box/botany_labelled_seeds/populate_contents()
for(var/I in 1 to 7)
new /obj/item/seeds/random/labelled(src)

/obj/item/storage/box/telescience
name = "babies first telescience kit"
desc = "A now restricted kit for those who want to learn about telescience!"

/obj/item/storage/box/telescience/populate_contents()
new /obj/item/circuitboard/telesci_pad(src)
new /obj/item/circuitboard/telesci_console(src)

/obj/item/storage/box/mousetraps
name = "box of Pest-B-Gon mousetraps"
desc = "<B><FONT color='red'>WARNING:</FONT></B> <I>Keep out of reach of children</I>."
Expand Down
4 changes: 4 additions & 0 deletions code/modules/crafting/guncrafting.dm
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@
desc = "A suitcase containing the necessary gun parts to build a full gun, when combined with a gun kit. Use it directly on a gunkit to rapidly assemble it."
icon_state = "syndicase"

/obj/item/weaponcrafting/gunkit/universal_gun_kit/sol_gov
name = "\improper sol gov universal self assembling gun parts kit"
icon_state = "solcase" //Ikea reference pending.

/obj/item/weaponcrafting/gunkit/universal_gun_kit/afterattack(obj/item/weaponcrafting/gunkit/gunkit_to_use, mob/user, flag)
if(!istype(gunkit_to_use))
return
Expand Down
Binary file modified icons/obj/improvised.dmi
Binary file not shown.

0 comments on commit 3dc52b9

Please sign in to comment.