Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crafts not using up materials - Infinite crafts #40620

Open
DillonSimeone opened this issue May 16, 2020 · 4 comments
Open

Crafts not using up materials - Infinite crafts #40620

DillonSimeone opened this issue May 16, 2020 · 4 comments
Labels
<Bug> This needs to be fixed Crafting / Construction / Recipes Includes: Uncrafting / Disassembling

Comments

@DillonSimeone
Copy link
Contributor

DillonSimeone commented May 16, 2020

Describe the bug

EDIT: This bug seems to be affecting more than just the matchbook recipes mentioned in this summary! See comments below for another recipe affected this bug.

It appears that if you craft this recipe with matchbooks that have some of its charge spent, the whole book doesn't get used up. In the screenshots below, I started crafting with all of the matchheads I had (100 charges).

After that, I could craft using 80 charges of matchheads again and again forever without using up any charges.

I suspected that the 20 charges that disappeared was from a full matchbook, but after looking around in my vehicle, I discovered a bunch of full matchbooks. Maybe it's the only partially spent ones getting used up? 🤔

Might be related to #38909. I get that error message when crafting with the matchheads, but ignoring the message doesn't stop the crafting or break the game.

 DEBUG    : Item 'in progress match head powder (4) (0%)' with zero volume

 FUNCTION : int item::charges_per_volume(const volume&) const
 FILE     : src/item.cpp
 LINE     : 865

Steps To Reproduce

  1. Collect a bunch of matchhead books
  2. Use up some of the matchhead books halfway
  3. Start crafting matchhead powder for long as possible

Expected behavior

The matchbooks gets used up!

Screenshots

image
image
image
image

This shows that I still have 80 charges left (After spamming the recraft last item a bunch of times above)
image
image

Versions and configuration

  • OS: Windows
    • OS Version: 10.0 1903
  • Game Version: 0.E-2191-g152f402 [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Aftershock [aftershock],
    C.R.I.T Expansion Mod [crt_expansion],
    Magiclysm [magiclysm],
    XEAS [XEAS],
    DinoMod [DinoMod],
    Crazy Cataclysm [crazy_cataclysm],
    No Rail Stations [No_Rail_Stations],
    sees-player icon, retrodays [sees_player_retro],
    Stats Through Kills [stats_through_kills],
    SpeedyDex [speedydex],
    Arcana and Magic Items [Arcana],
    Graphical Overmap [Graphical_Overmap],
    Advanced Gear [adv_gear],
    Blaze Industries [blazeindustries],
    <color_light_red>Secronom [secronom]
    ]

Additional context

Palmer Heights.zip
mods.zip

@DillonSimeone DillonSimeone changed the title Able to craft infinite matchhead powder from a few books of matchheads. Able to craft infinite matchhead powder from a few matchbooks May 16, 2020
@DillonSimeone
Copy link
Contributor Author

DillonSimeone commented May 16, 2020

I just noticed, it appears that I'm not using up any tainted flesh when crafting mutagens.

image

Start crafting... Finish, pour mutagens into gallon jugs. Start crafting another batch...

image

And look! 366 meat still!

Edit:

Just made another batch, none of the materials are getting used up!

image

@DillonSimeone DillonSimeone changed the title Able to craft infinite matchhead powder from a few matchbooks Crafts not using up materials May 16, 2020
@DillonSimeone DillonSimeone changed the title Crafts not using up materials Crafts not using up materials - Infinite crafts May 16, 2020
@DillonSimeone
Copy link
Contributor Author

DillonSimeone commented May 16, 2020

Good lord. Now that I'm watching the numbers carefully... A lot of recipes seems to be affected! Possibly all of them! Zipping up my savefile and attaching it to this issue in case it's somehow just me.

@DillonSimeone
Copy link
Contributor Author

Something seems strange here.

Mutagen is saying there's 366 chucks of tainted meat nearly.
image

But this recipe says there's 462 chucks of tainted meat nearly.

image

🤔 Maybe there's so much stuff around that it's making my recipes to go wonky? Crafting more stuff to see what happens.

@DillonSimeone
Copy link
Contributor Author

No idea why things isn't getting used up for SOME recipes. A bunch of recipes, like armor, weapons, electricians, etc seems to be using up materials. Most food recipes uses up materials, but I noticed that some didn't, like meat pie.

This is confusing.

@Night-Pryanik Night-Pryanik added <Bug> This needs to be fixed Crafting / Construction / Recipes Includes: Uncrafting / Disassembling labels May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bug> This needs to be fixed Crafting / Construction / Recipes Includes: Uncrafting / Disassembling
Projects
None yet
Development

No branches or pull requests

2 participants