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.
[2.0.30] No quality get_* function for pumping_speed in entity prototypes
- blargh2015
- 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
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.
- blargh2015
- 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
Yep, saw that today. Now I just need the get_flow replacement ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)