Lethal Company
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
594
Size
46KB

HaloScrap

Adds 10 rare, Halo-inspired scrap items to every moon (vanilla and modded). Each one sells for 40-200 credits (as shown by the scanner). Models are simple original shapes generated in code at runtime, with glowing Halo-style colours. No ripped models, textures, sounds or logos are included. Sounds, the inventory icon and the base HDRP material are borrowed from vanilla scrap so the items feel native.

Everyone in the lobby needs this mod (it adds networked objects).

Items

Item Value (credits) Default rarity Looks like
Energy Sword 120-200 3 Dark grip, silver guard, two forked glowing cyan-blue plasma blades
Forerunner Artifact 130-200 3 Angular silver slab, glowing teal seams, floating teal crystal
Spartan Helmet (MJOLNIR) 100-180 4 Olive-green helmet, big reflective gold visor, grey jaw/neck plates
Oddball Skull 80-150 5 Bone-white stylised skull with dark sockets and teeth
Cortana Data Chip 90-160 5 Thin silver card with glowing blue core, gold contacts
Covenant Fuel Rod 70-140 5 Glowing green hexagonal rod with purple-grey hex end caps
Needler 60-130 6 Glossy purple alien pistol with glowing pink crystal needles
Plasma Grenade 50-100 7 Glowing blue orb held by four dark-purple prongs
Frag Grenade 40-80 8 Olive-drab egg grenade with grey fuze, lever and pin ring
Assault Rifle Magazine 40-70 8 Curved gunmetal magazine with brass rounds poking out

How rare?

Rarity is a spawn weight compared against every other scrap on the moon. Common vanilla scrap uses weights around 40-100 on its home moons (e.g. Large axle is 90 on Experimentation, where all scrap weights add up to roughly 640); rare vanilla scrap like the gold bar or cash register uses 1-3. With the defaults, all 10 Halo items together are roughly 7-8% of scrap rolls on Experimentation (an Energy Sword is ~0.4% per roll, a Frag Grenade ~1.2%), so you will typically find about one Halo item per trip, and a specific top-tier item only every ~20 trips or so. Bigger moons have larger scrap pools, so each item is proportionally rarer per roll there.

Configuration

BepInEx/config/com.kaleheadley.haloscrap.cfg (created on first launch, editable in the mod manager's Config editor):

  • [General] GlobalMinValue / GlobalMaxValue (default 40 / 200): credit range every item is clamped into.
  • [General] AssumedScrapValueMultiplier (default 0.4): the game's scrap value multiplier.
  • [General] CompensateForLiveMultiplier (default false): recompute values from the live multiplier (host) so the credit ranges hold even if another mod changes it.
  • [Visuals] EmissiveIntensity (default 1.0): glow strength.
  • [Item.<Name>] Enabled / Rarity / MinValue / MaxValue: per-item settings. Disabled items get weight 0 (they stay registered so saves and multiplayer item lists stay consistent).

Values only matter on the host. Restart the game after changing rarity.

Value math

The game rolls Random.Next(minValue, maxValue) (max exclusive) and multiplies by RoundManager.scrapValueMultiplier (0.4). HaloScrap converts the configured credits for you, so 40-200 credits becomes raw minValue = 100, maxValue = 503 (rolls 100..502, i.e. 40..200 credits after truncation).

Notes

  • Requires LethalLib. Fan-made; not affiliated with or endorsed by Microsoft or Halo Studios. "Halo" and related names are trademarks of Microsoft.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.