Load attached minimal mod for reproduction. It merely prints out the name of the research in any on_research_reversed and on_research_finished events and adds a simple research chain.
Start a new game and go into editor mode.
Force research 'technology-name.out-of-order 5' by shift clicking on ...
Search found 2 matches
- Sat Sep 30, 2023 3:38 pm
- Forum: Not a bug
- Topic: [1.1.91] on_research_reversed triggers in wrong order when Unresearching multiple researches
- Replies: 1
- Views: 593
- Thu Jan 20, 2022 7:53 pm
- Forum: Resolved Problems and Bugs
- Topic: [1.1.50] Crash When Setting Locomotive(/Wagon/Fluid Wagon) Weight to 0.0001
- Replies: 2
- Views: 2846
[1.1.50] Crash When Setting Locomotive(/Wagon/Fluid Wagon) Weight to 0.0001
I have a simple mod that sets locomotive, wagon, and fluid wagon weight and max hp to 0.0001:
data.lua
local locomotive = data.raw["locomotive"]["locomotive"]
locomotive.max_health = 0.0001
locomotive.weight = 0.0001
local cargo = data.raw["cargo-wagon"]["cargo-wagon"]
cargo.max_health = 0.0001 ...
data.lua
local locomotive = data.raw["locomotive"]["locomotive"]
locomotive.max_health = 0.0001
locomotive.weight = 0.0001
local cargo = data.raw["cargo-wagon"]["cargo-wagon"]
cargo.max_health = 0.0001 ...