cataclysmbnteam / Cataclysm-BN

Cataclysm: Bright Nights, A fork/variant of Cataclysm:DDA by CleverRaven.
https://docs.cataclysmbn.org
Other
689 stars 272 forks source link

Nanofabricated firearms do not spawn with magazines #2469

Open FlameStormer2000 opened 1 year ago

FlameStormer2000 commented 1 year ago

Describe the bug

Firearms created using a nanofabricator do not spawn with an appropriate magazine. I noticed this for both the H&K G80 railgun and RM11B scout rifle. I assume it just applies to all guns made this way.

Steps To Reproduce

  1. Find a nanofabricator
  2. Craft a future tech railgun using it
  3. Cry because it didn't include a proprietary magazine

Screenshots

No response

Versions and configuration

Windows 10 BN v. 0.2

Additional context

I don't know what the technical setup behind nanofabbing is but it'd be nice if nanofab'd guns included 2-3 spare mags as well. It's very unlikely for a player to come across these guns let alone their mags.

metalheimer commented 1 year ago

Would be nice and fair, yes. In the meantime don't hesitate to use the debug menu and give yourself an empty mag whenever you make those guns. Could also create a separate nanofab recipe for the mags, if not normal crafting recipe. I think this game needs 3D printers.

FlameStormer2000 commented 1 year ago

Yeah, that's what I ended up doing personally. Though I've also found templates for both G80 mags and it's 12mm ammunition since then. When firearm/mag group spawns are eventually ported over from DDA maybe we could have weapon templates potentially spawn paired with a template for their mag/ammo.