mirror of
https://github.com/peter-tanner/017-science-transition-mod.git
synced 2024-12-02 20:10:19 +08:00
Add loader speed change support
This commit is contained in:
parent
ea08de1372
commit
2215f90616
|
@ -312,6 +312,11 @@ for _, belt in pairs(data.raw["underground-belt"]) do
|
||||||
belt.speed = belt.speed * 45 / 40;
|
belt.speed = belt.speed * 45 / 40;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
for _, belt in pairs(data.raw["loader"]) do
|
||||||
|
if (belt.speed * 32) % 1 == 0 and belt.speed * 32 < 8 then
|
||||||
|
belt.speed = belt.speed * 45 / 40;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
if settings.startup["017-drill"].value then
|
if settings.startup["017-drill"].value then
|
||||||
--simplify drill stats
|
--simplify drill stats
|
||||||
|
|
Loading…
Reference in New Issue
Block a user