How can I multiply only ingredient amount and not crashing the mod (Coding Problem)

A place to talk about the official Factorio mod portal (https://mods.factorio.com)
nattanang
Burner Inserter
Burner Inserter
Posts: 11
Joined: Tue Nov 12, 2024 9:57 am
Contact:

How can I multiply only ingredient amount and not crashing the mod (Coding Problem)

Post by nattanang »

This mod crash because all 3 types of ingredient input is multiply by local cost multiplier, causing crash in line 42 of the code.
My question is how can I multiply only "Ingredient Amount" input by local cost multiplier without crashing the mod
Thanks in advanced
Attachments
Wretlaw-Beacon-Rebalance.zip
(1.84 MiB) Downloaded 17 times
ภาพหน้าจอ (269).png
ภาพหน้าจอ (269).png (44.42 KiB) Viewed 149 times
ภาพหน้าจอ (271).png
ภาพหน้าจอ (271).png (277.08 KiB) Viewed 149 times
nattanang
Burner Inserter
Burner Inserter
Posts: 11
Joined: Tue Nov 12, 2024 9:57 am
Contact:

Re: How can I multiply only ingredient amount and not crashing the mod (Coding Problem)

Post by nattanang »

Sorry for posting in the wrong forum. How can I delete this?
Amarula
Filter Inserter
Filter Inserter
Posts: 605
Joined: Fri Apr 27, 2018 1:29 pm
Contact:

Re: How can I multiply only ingredient amount and not crashing the mod (Coding Problem)

Post by Amarula »

nattanang wrote: Tue Apr 15, 2025 12:52 pm Sorry for posting in the wrong forum. How can I delete this?
Up in the top of the post there are icons to edit (little pencil) and delete (X) posts.
My own personal Factorio super-power - running out of power.
Post Reply

Return to “Mod portal Discussion”