pyanodon / pybugreports

Central bug-report repository for pymods
The Unlicense
6 stars 1 forks source link

pypetroleumhandling: Titanium tetrachloride plastic bar recipe never unlocked without hightech #746

Open jdi9 opened 5 hours ago

jdi9 commented 5 hours ago

Mod source

Factorio Mod Portal

Operating system

=Windows 10

What kind of issue is this?

What is the problem?

If using petroleum and raw ores without hightech, the plastic bar recipe using ticl4 is never unlocked.

Steps to reproduce

No response

Additional context

No response

Log file

No response

jdi9 commented 5 hours ago
Author: jdi9 <jdi@jdesktop>
Date:   Sat Nov 23 09:02:12 2024 -0800

    Unlock ticl4 plastic bar recipe at alloys-mk02 since there is no plastics-mk02 without hightech

diff --git a/prototypes/updates/pyrawores-updates.lua b/prototypes/updates/pyrawores-updates.lua
index afc8e9e..a234aed 100644
--- a/prototypes/updates/pyrawores-updates.lua
+++ b/prototypes/updates/pyrawores-updates.lua
@@ -363,7 +363,7 @@ RECIPE {
 if mods["pyhightech"] then
     RECIPE("plastic-bar-02"):add_unlock("plastics-mk03")
 else
-    RECIPE("plastic-bar-02"):add_unlock("plastics-mk02")
+    RECIPE("plastic-bar-02"):add_unlock("alloys-mk02")
 end

 RECIPE {