LuaEntityPrototype of type = resource: maximum_resource_amount

Things that already exist in the current mod API
Post Reply
Yehn
Fast Inserter
Fast Inserter
Posts: 111
Joined: Tue Jul 12, 2016 3:45 am
Contact:

LuaEntityPrototype of type = resource: maximum_resource_amount

Post by Yehn »

Currently the API supports the following values for entity prototypes of the type resource:

Code: Select all

minimum_resource_amount :: uint [Read-only]
Minimum amount of this resource. Will be nil when used on a non-resource.

normal_resource_amount :: uint [Read-only]
The normal amount for this resource. nil when not a resource.
I would like to request the addition of:

Code: Select all

maximum_resource_amount :: uint [Read-only]
Maximum amount of this resource. Will be nil when used on a non-resource.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: LuaEntityPrototype of type = resource: maximum_resource_amount

Post by Rseding91 »

There is no such thing as maximum_resource_amount to expose. Only minimum and normal - both of which are exposed.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Already exists”