Page 1 of 1

[2.0.30] No quality get_* function for pumping_speed in entity prototypes

Posted: Sun Jan 12, 2025 9:26 pm
by blargh2015
This has existed since 2.0 I believe.

LuaEntityPrototype includes a pumping_speed value, however pumps have different values based on quality which doesn't appear to be obtainable through the API.

Re: [2.0.30] No quality get_* function for pumping_speed in entity prototypes

Posted: Tue Jan 28, 2025 7:36 pm
by LCStark
Looks like this has been added in 2.0.33:
Added LuaEntityPrototype::get_pumping_speed. LuaEntityPrototype::pumping_speed is deprecated and should not be used.

Re: [2.0.30] No quality get_* function for pumping_speed in entity prototypes

Posted: Wed Jan 29, 2025 1:12 am
by blargh2015
Yep, saw that today. Now I just need the get_flow replacement :)