CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.65k stars 4.18k forks source link

Infinite cannabis #43453

Open eilaattwood opened 4 years ago

eilaattwood commented 4 years ago

Describe the bug

High quality distillate (heads) recipe yields 10 times more high quality distillate (tails) as byproduct than it should yield. In some variant it yuilds more tails than it consumes as an ingredient.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Learn all the recipes.
  2. Observe high quality distillate (heads) recipes in the crafting window.
  3. Wish it was real.

Expected behavior

Well, actually I quite like it the way it is now, but that's definitely an error in the Universe.

Screenshots

image image image

Versions and configuration

Additional context

The recipes seems okay.

 {
    "type": "recipe",
    "activity_level": "fake",
    "result": "hi_q_distillate_heads",
    "category": "CC_CHEM",
    "subcategory": "CSC_CHEM_DRUGS",
    "skill_used": "chemistry",
    "difficulty": 4,
    "charges": 600,
    "time": "180 m",
    "byproducts": [ [ "hi_q_distillate_tails", 300 ] ],
    "batch_time_factors": [ 90, 1 ],
    "book_learn": [ [ "textbook_extraction", 4 ] ],
    "qualities": [ { "id": "FINE_DISTILL", "level": 1 } ],
    "tools": [ [ [ "vac_pump_on", -1 ] ] ],
    "components": [ [ [ "hi_q_crude_oil_filtered", 100 ] ] ]
  },
  {
    "type": "recipe",
    "activity_level": "fake",
    "result": "hi_q_distillate_heads",
    "id_suffix": "using lo_q_crude",
    "category": "CC_CHEM",
    "subcategory": "CSC_CHEM_DRUGS",
    "skill_used": "chemistry",
    "difficulty": 4,
    "charges": 533,
    "time": "180 m",
    "byproducts": [ [ "hi_q_distillate_tails", 267 ] ],
    "batch_time_factors": [ 90, 1 ],
    "book_learn": [ [ "textbook_extraction", 4 ] ],
    "qualities": [ { "id": "FINE_DISTILL", "level": 1 } ],
    "tools": [ [ [ "vac_pump_on", -1 ] ] ],
    "components": [ [ [ "lo_q_crude_oil_filtered", 100 ] ] ]
  },
  {
    "type": "recipe",
    "activity_level": "fake",
    "result": "hi_q_distillate_heads",
    "id_suffix": "using_tails",
    "category": "CC_CHEM",
    "subcategory": "CSC_CHEM_DRUGS",
    "skill_used": "chemistry",
    "difficulty": 4,
    "charges": 633,
    "time": "180 m",
    "byproducts": [ [ "hi_q_distillate_tails", 317 ] ],
    "batch_time_factors": [ 90, 1 ],
    "book_learn": [ [ "textbook_extraction", 4 ] ],
    "qualities": [ { "id": "FINE_DISTILL", "level": 1 } ],
    "tools": [ [ [ "vac_pump_on", -1 ] ] ],
    "components": [ [ [ "hi_q_distillate_tails", 1000 ] ] ]
  }
Rjtheperson commented 3 years ago

Can confirm that this recipe still violates the law of conservation of mass in version 0.E-8638-g8e4e267 (tiles) image Crafting High Quality Distillate out of the heads also creates a ridiculous amount of tails image