Sealed supply crate is a loot box #17557
W-at-L
started this conversation in
Ideas and suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I propose giving the player a choice: sell the crate or try their luck and deconstruct it? Selling it will yield decent money, but deconstructing it can yield essential resources. And if the "residualwaste" perk, which doubles the resources when deconstructed, is triggered, it could be quite a profit.
It's best to do this in groups of items: separate medicine, separate resources, and so on. Since it's impossible to create multiple separate
<Deconstruct>constructs in a single item (they merge), which is a shame, we'll explore this idea using multiplesealedsupplycrateclones (this isn't the best option, as then, when you press the Alt key, items will stack by ID rather than by name, making them distinguishable, which would ruin the randomness).Duplicate items are used to create the chance of getting either more or less items.
We'll also slightly reduce the
priceandspawnprobability.It is also advisable to increase the number of slots in the deconstructor to reduce the likelihood of dropping large stacks of items.
This is just an example, not the final version:
<Item name="" identifier="sealedsupplycrate" tags="crate" scale="0.5" linkable="true" pickdistance="150" showcontentsintooltip="true" impactsoundtag="impact_metal_heavy" hideinmenus="true"><PreferredContainer secondary="wreckstoragecab" spawnprobability="0.01" /><Price baseprice="1000" sold="false" canbespecial="false" /><!-- Eggs --><Deconstruct time="1" chooserandom="true" amount="2"><Item identifier="huskeggsbasic" amount="2" commonness="0.4" /><Item identifier="huskeggsbasic" amount="1" commonness="0.4" /><Item identifier="smallmudraptoregg" amount="1" commonness="0.3" /><Item identifier="smallmudraptoregg" amount="1" commonness="0.3" /><Item identifier="mediummudraptoregg" amount="1" commonness="0.01" /><Item identifier="largemudraptoregg" amount="1" commonness="0.01" /><Item identifier="peanutegg" amount="1" commonness="0.1" /><Item identifier="psilotoadegg" amount="1" commonness="0.1" /><Item identifier="orangeboyegg" amount="1" commonness="0.1" /><Item identifier="balloonegg" amount="1" commonness="0.1" /></Deconstruct><Sprite texture="Content/Items/Containers/containers.png" depth="0.54" sourcerect="562,563,147,86" origin="0.5,0.5" /><Body width="150" height="75" density="25" /><Holdable slots="RightHand+LeftHand" holdpos="0,-80" handle1="-30,14" handle2="30,14" aimable="false" msg="ItemMsgPickUpSelect" /></Item><Item name="" identifier="sealedsupplycrate2" nameidentifier="sealedsupplycrate" variantof="sealedsupplycrate"><!-- Ammo --><Deconstruct time="1" chooserandom="true" amount="3"><Item identifier="stungundart" amount="12" commonness="0.1" /><Item identifier="stungundart" amount="8" commonness="0.1" /><Item identifier="stungundartfulgurium" amount="3" commonness="0.01" /><Item identifier="stungundartfulgurium" amount="2" commonness="0.01" /><Item identifier="revolverround" amount="32" commonness="0.5" /><Item identifier="revolverround" amount="24" commonness="0.5" /><Item identifier="handcannonround" amount="8" commonness="0.1" /><Item identifier="handcannonround" amount="6" commonness="0.1" /><Item identifier="shotgunshell" amount="12" commonness="0.3" /><Item identifier="shotgunshell" amount="8" commonness="0.3" /><Item identifier="shotgunshellblunt" amount="24" commonness="0.1" /><Item identifier="shotgunshellblunt" amount="16" commonness="0.1" /><Item identifier="riflebullet" amount="12" commonness="0.3" /><Item identifier="riflebullet" amount="8" commonness="0.3" /><Item identifier="smgmagazine" amount="4" commonness="0.4" /><Item identifier="smgmagazine" amount="3" commonness="0.4" /><Item identifier="hmgmagazine" amount="1" commonness="0.1" /><Item identifier="hmgmagazine" amount="1" commonness="0.1" /><Item identifier="assaultriflemagazine" amount="1" commonness="0.2" /><Item identifier="assaultriflemagazine" amount="1" commonness="0.2" /><Item identifier="stungrenade" amount="3" commonness="0.01" /><Item identifier="stungrenade" amount="2" commonness="0.01" /><Item identifier="empgrenade" amount="2" commonness="0.01" /><Item identifier="empgrenade" amount="1" commonness="0.01" /><Item identifier="fraggrenade" amount="2" commonness="0.1" /><Item identifier="fraggrenade" amount="1" commonness="0.1" /><Item identifier="incendiumgrenade" amount="2" commonness="0.01" /><Item identifier="incendiumgrenade" amount="1" commonness="0.01" /><Item identifier="40mmgrenade" amount="4" commonness="0.1" /><Item identifier="40mmgrenade" amount="3" commonness="0.1" /><Item identifier="40mmstungrenade" amount="3" commonness="0.01" /><Item identifier="40mmstungrenade" amount="2" commonness="0.01" /></Deconstruct></Item><Item name="" identifier="sealedsupplycrate3" nameidentifier="sealedsupplycrate" variantof="sealedsupplycrate"><!-- Other --><Deconstruct time="1" chooserandom="true" amount="3"><Item identifier="food" amount="4" commonness="0.3" /><Item identifier="food" amount="3" commonness="0.3" /><Item identifier="energydrink" amount="8" commonness="0.4" /><Item identifier="energydrink" amount="6" commonness="0.4" /><Item identifier="proteinbar" amount="8" commonness="0.4" /><Item identifier="proteinbar" amount="6" commonness="0.4" /><Item identifier="beerbottle1" amount="6" commonness="0.5" /><Item identifier="beerbottle1" amount="4" commonness="0.5" /><Item identifier="beerbottle2" amount="6" commonness="0.5" /><Item identifier="beerbottle2" amount="4" commonness="0.5" /><Item identifier="rum" amount="3" commonness="0.1" /><Item identifier="rum" amount="2" commonness="0.1" /><Item identifier="cigar" amount="3" commonness="0.1" /><Item identifier="cigar" amount="2" commonness="0.1" /><Item identifier="pipetobacco" amount="3" commonness="0.3" /><Item identifier="pipetobacco" amount="2" commonness="0.3" /></Deconstruct></Item><Item name="" identifier="sealedsupplycrate4" nameidentifier="sealedsupplycrate" variantof="sealedsupplycrate"><!-- Medicine --><Deconstruct time="1" chooserandom="true" amount="3"><Item identifier="mindsense" amount="2" commonness="0.1" /><Item identifier="mindsense" amount="1" commonness="0.1" /><Item identifier="mindwipe" amount="1" commonness="0.01" /><Item identifier="combatstimulantsyringe" amount="1" commonness="0.1" /><Item identifier="combatstimulantsyringe" amount="1" commonness="0.1" /><Item identifier="pressurestabilizer" amount="2" commonness="0.2" /><Item identifier="pressurestabilizer" amount="1" commonness="0.2" /><Item identifier="endocrinebooster" amount="1" commonness="0.01" /><Item identifier="meth" amount="8" commonness="0.3" /><Item identifier="meth" amount="6" commonness="0.3" /><Item identifier="steroids" amount="1" commonness="0.2" /><Item identifier="steroids" amount="1" commonness="0.2" /><Item identifier="hyperzine" amount="1" commonness="0.1" /><Item identifier="ethanol" amount="6" commonness="0.4" /><Item identifier="ethanol" amount="4" commonness="0.4" /><Item identifier="antibleeding1" amount="12" commonness="0.6" /><Item identifier="antibleeding1" amount="8" commonness="0.6" /><Item identifier="antibleeding2" amount="8" commonness="0.4" /><Item identifier="antibleeding2" amount="6" commonness="0.4" /><Item identifier="antibleeding3" amount="2" commonness="0.3" /><Item identifier="antibleeding3" amount="1" commonness="0.3" /><Item identifier="opium" amount="10" commonness="0.5" /><Item identifier="opium" amount="8" commonness="0.5" /><Item identifier="antidama1" amount="4" commonness="0.4" /><Item identifier="antidama1" amount="3" commonness="0.4" /><Item identifier="antidama2" amount="2" commonness="0.3" /><Item identifier="antidama2" amount="1" commonness="0.3" /><Item identifier="pomegrenadeextract" amount="5" commonness="0.5" /><Item identifier="pomegrenadeextract" amount="3" commonness="0.5" /><Item identifier="alienblood" amount="4" commonness="0.3" /><Item identifier="alienblood" amount="3" commonness="0.3" /><Item identifier="antibloodloss1" amount="8" commonness="0.6" /><Item identifier="antibloodloss1" amount="6" commonness="0.6" /><Item identifier="antibloodloss2" amount="2" commonness="0.2" /><Item identifier="antibloodloss2" amount="1" commonness="0.2" /><Item identifier="deusizine" amount="1" commonness="0.1" /><Item identifier="liquidoxygenite" amount="5" commonness="0.4" /><Item identifier="liquidoxygenite" amount="3" commonness="0.4" /><Item identifier="calyxanide" amount="1" commonness="0.1" /><Item identifier="antipsychosis" amount="3" commonness="0.1" /><Item identifier="antipsychosis" amount="2" commonness="0.1" /><Item identifier="antinarc" amount="4" commonness="0.3" /><Item identifier="antinarc" amount="3" commonness="0.3" /><Item identifier="morbusineantidote" amount="2" commonness="0.1" /><Item identifier="morbusineantidote" amount="1" commonness="0.1" /><Item identifier="cyanideantidote" amount="2" commonness="0.1" /><Item identifier="cyanideantidote" amount="1" commonness="0.1" /><Item identifier="sufforinantidote" amount="3" commonness="0.1" /><Item identifier="sufforinantidote" amount="2" commonness="0.1" /><Item identifier="deliriumineantidote" amount="3" commonness="0.1" /><Item identifier="deliriumineantidote" amount="2" commonness="0.1" /><Item identifier="antirad" amount="3" commonness="0.1" /><Item identifier="antirad" amount="2" commonness="0.1" /><Item identifier="antiparalysis" amount="2" commonness="0.1" /><Item identifier="antiparalysis" amount="1" commonness="0.1" /><Item identifier="antibiotics" amount="6" commonness="0.4" /><Item identifier="antibiotics" amount="4" commonness="0.4" /><Item identifier="stabilozine" amount="8" commonness="0.4" /><Item identifier="stabilozine" amount="6" commonness="0.4" /><Item identifier="adrenaline" amount="6" commonness="0.3" /><Item identifier="adrenaline" amount="4" commonness="0.3" /><Item identifier="elastin" amount="8" commonness="0.3" /><Item identifier="elastin" amount="6" commonness="0.3" /><Item identifier="tonicliquid" amount="5" commonness="0.3" /><Item identifier="tonicliquid" amount="3" commonness="0.3" /><Item identifier="europabrew" amount="2" commonness="0.1" /><Item identifier="europabrew" amount="1" commonness="0.1" /></Deconstruct></Item><Item name="" identifier="sealedsupplycrate5" nameidentifier="sealedsupplycrate" variantof="sealedsupplycrate"><!-- Plants --><Deconstruct time="1" chooserandom="true" amount="3"><Item identifier="fertilizer" amount="3" commonness="0.1" /><Item identifier="fertilizer" amount="2" commonness="0.1" /><Item identifier="creepingorange" amount="18" commonness="0.5" /><Item identifier="creepingorange" amount="14" commonness="0.5" /><Item identifier="tobaccobud" amount="10" commonness="0.4" /><Item identifier="tobaccobud" amount="8" commonness="0.4" /><Item identifier="saltbulb" amount="6" commonness="0.3" /><Item identifier="saltbulb" amount="4" commonness="0.3" /><Item identifier="raptorbane" amount="10" commonness="0.4" /><Item identifier="raptorbane" amount="8" commonness="0.4" /><Item identifier="banana" amount="8" commonness="0.2" /><Item identifier="banana" amount="6" commonness="0.2" /></Deconstruct></Item><Item name="" identifier="sealedsupplycrate6" nameidentifier="sealedsupplycrate" variantof="sealedsupplycrate"><!-- Resourses --><Deconstruct time="1" chooserandom="true" amount="3"><Item identifier="carbon" amount="32" commonness="0.6" /><Item identifier="carbon" amount="24" commonness="0.6" /><Item identifier="iron" amount="32" commonness="0.6" /><Item identifier="iron" amount="24" commonness="0.6" /><Item identifier="tin" amount="32" commonness="0.6" /><Item identifier="tin" amount="24" commonness="0.6" /><Item identifier="lead" amount="20" commonness="0.5" /><Item identifier="lead" amount="16" commonness="0.5" /><Item identifier="copper" amount="16" commonness="0.4" /><Item identifier="copper" amount="12" commonness="0.4" /><Item identifier="zinc" amount="14" commonness="0.4" /><Item identifier="zinc" amount="10" commonness="0.4" /><Item identifier="silicon" amount="22" commonness="0.5" /><Item identifier="silicon" amount="16" commonness="0.5" /><Item identifier="aluminium" amount="8" commonness="0.3" /><Item identifier="aluminium" amount="6" commonness="0.3" /><Item identifier="titanium" amount="6" commonness="0.2" /><Item identifier="titanium" amount="4" commonness="0.2" /><Item identifier="uranium" amount="8" commonness="0.3" /><Item identifier="uranium" amount="6" commonness="0.3" /><Item identifier="thorium" amount="3" commonness="0.1" /><Item identifier="thorium" amount="2" commonness="0.1" /><Item identifier="phosphorus" amount="16" commonness="0.4" /><Item identifier="phosphorus" amount="12" commonness="0.4" /><Item identifier="sodium" amount="12" commonness="0.4" /><Item identifier="sodium" amount="8" commonness="0.4" /><Item identifier="calcium" amount="12" commonness="0.4" /><Item identifier="calcium" amount="8" commonness="0.4" /><Item identifier="potassium" amount="32" commonness="0.5" /><Item identifier="potassium" amount="24" commonness="0.5" /><Item identifier="magnesium" amount="6" commonness="0.2" /><Item identifier="magnesium" amount="4" commonness="0.2" /><Item identifier="lithium" amount="5" commonness="0.2" /><Item identifier="lithium" amount="3" commonness="0.2" /><Item identifier="chlorine" amount="32" commonness="0.01" /><Item identifier="chlorine" amount="24" commonness="0.01" /><Item identifier="steel" amount="14" commonness="0.4" /><Item identifier="steel" amount="10" commonness="0.4" /><Item identifier="titaniumaluminiumalloy" amount="3" commonness="0.1" /><Item identifier="titaniumaluminiumalloy" amount="2" commonness="0.1" /><Item identifier="plastic" amount="8" commonness="0.2" /><Item identifier="plastic" amount="6" commonness="0.2" /><Item identifier="ballisticfiber" amount="2" commonness="0.1" /><Item identifier="ballisticfiber" amount="1" commonness="0.1" /><Item identifier="organicfiber" amount="12" commonness="0.3" /><Item identifier="organicfiber" amount="8" commonness="0.3" /><Item identifier="rubber" amount="18" commonness="0.3" /><Item identifier="rubber" amount="14" commonness="0.3" /><Item identifier="flashpowder" amount="4" commonness="0.1" /><Item identifier="flashpowder" amount="3" commonness="0.1" /><Item identifier="incendium" amount="2" commonness="0.01" /><Item identifier="incendium" amount="1" commonness="0.01" /><Item identifier="fulgurium" amount="2" commonness="0.01" /><Item identifier="fulgurium" amount="1" commonness="0.01" /><Item identifier="physicorium" amount="2" commonness="0.01" /><Item identifier="physicorium" amount="1" commonness="0.01" /><Item identifier="dementonite" amount="2" commonness="0.01" /><Item identifier="dementonite" amount="1" commonness="0.01" /><Item identifier="oxygeniteshard" amount="2" commonness="0.01" /><Item identifier="oxygeniteshard" amount="1" commonness="0.01" /><Item identifier="sulphuriteshard" amount="2" commonness="0.01" /><Item identifier="sulphuriteshard" amount="1" commonness="0.01" /></Deconstruct></Item>Beta Was this translation helpful? Give feedback.
All reactions