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

User avatar
blargh2015
Inserter
Inserter
Posts: 37
Joined: Sun Jun 03, 2018 3:47 pm
Contact:

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

Post 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.
User avatar
LCStark
Fast Inserter
Fast Inserter
Posts: 197
Joined: Thu Jan 28, 2021 5:04 pm
Contact:

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

Post 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.
User avatar
blargh2015
Inserter
Inserter
Posts: 37
Joined: Sun Jun 03, 2018 3:47 pm
Contact:

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

Post by blargh2015 »

Yep, saw that today. Now I just need the get_flow replacement :)
Post Reply

Return to “Implemented mod requests”