https://lua-api.factorio.com/latest/cla ... s_building
The list does not contain any of the space age building types, but they are buildings and are accepted by https://lua-api.factorio.com/latest/typ ... Flags.html "buildable-type"
Search found 57 matches
- Fri Jun 13, 2025 6:16 pm
- Forum: Documentation Improvement Requests
- Topic: Outdated information in LuaEntityPrototype.is_building
- Replies: 0
- Views: 176
- Mon Jun 09, 2025 2:46 pm
- Forum: Implemented mod requests
- Topic: runtime access to asteroid collector arms
- Replies: 1
- Views: 189
runtime access to asteroid collector arms
I'd like to have access to these properties in runtime stage:
https://lua-api.factorio.com/latest/prototypes/AsteroidCollectorPrototype.html#arm_count_base
https://lua-api.factorio.com/latest/prototypes/AsteroidCollectorPrototype.html#arm_count_quality_scaling
https://lua-api.factorio.com/latest ...
https://lua-api.factorio.com/latest/prototypes/AsteroidCollectorPrototype.html#arm_count_base
https://lua-api.factorio.com/latest/prototypes/AsteroidCollectorPrototype.html#arm_count_quality_scaling
https://lua-api.factorio.com/latest ...
- Sun Jun 08, 2025 7:55 am
- Forum: Documentation Improvement Requests
- Topic: TechnologyModifier missing some types/properties
- Replies: 0
- Views: 339
TechnologyModifier missing some types/properties
Take a look at https://lua-api.factorio.com/latest/concepts/TechnologyModifier.html
It's missing many of the new things that came with SpaceAge.
I noticed the lack of quality if type == "unlock-quality" and the lack of space_location if type == "unlock-space-location".
There might be more missing ...
It's missing many of the new things that came with SpaceAge.
I noticed the lack of quality if type == "unlock-quality" and the lack of space_location if type == "unlock-space-location".
There might be more missing ...
- Fri Jun 06, 2025 3:36 pm
- Forum: Implemented mod requests
- Topic: runtime access to fusion reactor/generator properties
- Replies: 2
- Views: 435
Re: runtime access to fusion reactor/generator properties
I stand corrected, https://lua-api.factorio.com/latest/pro ... ower_input is already available via https://lua-api.factorio.com/latest/cla ... ergy_usage
- Fri Jun 06, 2025 6:21 am
- Forum: Implemented mod requests
- Topic: runtime access to fusion reactor/generator properties
- Replies: 2
- Views: 435
runtime access to fusion reactor/generator properties
I'd like to have access to these properties in runtime stage:
Fusion Reactor:
https://lua-api.factorio.com/latest/prototypes/FusionReactorPrototype.html#neighbour_connectable
https://lua-api.factorio.com/latest/prototypes/FusionReactorPrototype.html#neighbour_bonus (can probably use the existing ...
Fusion Reactor:
https://lua-api.factorio.com/latest/prototypes/FusionReactorPrototype.html#neighbour_connectable
https://lua-api.factorio.com/latest/prototypes/FusionReactorPrototype.html#neighbour_bonus (can probably use the existing ...
- Tue Jun 03, 2025 9:40 pm
- Forum: Modding interface requests
- Topic: Reading (fuel) inventory filter of ghosts
- Replies: 0
- Views: 334
Reading (fuel) inventory filter of ghosts
I must be blind, but I can't find a way to read the fuel filter of ghosts. Would be really handy to know for my planned rate-calculator-like mod.
Please add such a method to LuaEntity or make it return semi-functioning LuaInventory instances
Please add such a method to LuaEntity or make it return semi-functioning LuaInventory instances
- Sat May 31, 2025 10:05 am
- Forum: Implemented mod requests
- Topic: runtime access to asteroid dying effects
- Replies: 1
- Views: 359
runtime access to asteroid dying effects
I'd like to have access to this property in runtime stage:
https://lua-api.factorio.com/latest/prototypes/EntityWithHealthPrototype.html#dying_trigger_effect
This is needed to properly calculate where promethium chunks are coming from, because the chunks are not spawning directly. I guess ...
https://lua-api.factorio.com/latest/prototypes/EntityWithHealthPrototype.html#dying_trigger_effect
This is needed to properly calculate where promethium chunks are coming from, because the chunks are not spawning directly. I guess ...
- Sat May 31, 2025 8:21 am
- Forum: Implemented mod requests
- Topic: runtime access to starter pack surface
- Replies: 1
- Views: 397
runtime access to starter pack surface
I'd like to have access to this property in runtime stage:
https://lua-api.factorio.com/latest/prototypes/SpacePlatformStarterPackPrototype.html#surface
This is needed when calculating the game progression. I can read the surface from an existing space platform, but I can't know which surface ...
https://lua-api.factorio.com/latest/prototypes/SpacePlatformStarterPackPrototype.html#surface
This is needed when calculating the game progression. I can read the surface from an existing space platform, but I can't know which surface ...
- Sat May 31, 2025 3:45 am
- Forum: Implemented mod requests
- Topic: runtime access to UtilityConstants.rocket_lift_weight
- Replies: 4
- Views: 557
Re: runtime access to UtilityConstants.rocket_lift_weight
Please note that my request is not for having per-prototype rocket lift weights, but for having the one rocket lift weight available in runtime stage (without resorting to smuggling arbitrary data from data stage). Related, but still completely different.
- Fri May 30, 2025 9:14 pm
- Forum: Implemented mod requests
- Topic: runtime access to thruster performance
- Replies: 1
- Views: 327
runtime access to thruster performance
I'd like to have access to these properties in runtime stage:
https://lua-api.factorio.com/latest/prototypes/ThrusterPrototype.html#min_performance
https://lua-api.factorio.com/latest/prototypes/ThrusterPrototype.html#max_performance
this is needed to even have a guess about the fuel/oxidizer ...
https://lua-api.factorio.com/latest/prototypes/ThrusterPrototype.html#min_performance
https://lua-api.factorio.com/latest/prototypes/ThrusterPrototype.html#max_performance
this is needed to even have a guess about the fuel/oxidizer ...
- Fri May 30, 2025 5:50 pm
- Forum: Implemented mod requests
- Topic: runtime access to spawner capture mechanics
- Replies: 1
- Views: 291
runtime access to spawner capture mechanics
I'd like to have access to these properties in runtime stage:
https://lua-api.factorio.com/latest/types/AmmoType.html#target_filter
https://lua-api.factorio.com/latest/prototypes/EnemySpawnerPrototype.html#captured_spawner_entity
This is needed to calculate availability of items. Just because an ...
https://lua-api.factorio.com/latest/types/AmmoType.html#target_filter
https://lua-api.factorio.com/latest/prototypes/EnemySpawnerPrototype.html#captured_spawner_entity
This is needed to calculate availability of items. Just because an ...
- Fri May 30, 2025 5:44 pm
- Forum: Implemented mod requests
- Topic: runtime access to UtilityConstants.rocket_lift_weight
- Replies: 4
- Views: 557
runtime access to UtilityConstants.rocket_lift_weight
I'd like to have access to this property in runtime stage:
https://lua-api.factorio.com/latest/prototypes/UtilityConstants.html#rocket_lift_weight
This is needed when calculating availability of items on certain planets. An item that can only be crafted on nauvis and is light enough to send to ...
https://lua-api.factorio.com/latest/prototypes/UtilityConstants.html#rocket_lift_weight
This is needed when calculating availability of items on certain planets. An item that can only be crafted on nauvis and is light enough to send to ...
- Fri May 30, 2025 5:39 pm
- Forum: Implemented mod requests
- Topic: runtime access to ItemPrototype.send_to_orbit_mode
- Replies: 1
- Views: 328
runtime access to ItemPrototype.send_to_orbit_mode
I'd like to have access to this property in runtime stage:
https://lua-api.factorio.com/latest/prototypes/ItemPrototype.html#send_to_orbit_mode
this is not the same as having non-empty rocket_launch_products (in py mods there is a byproduct you can only automatically get rid by launching it to ...
https://lua-api.factorio.com/latest/prototypes/ItemPrototype.html#send_to_orbit_mode
this is not the same as having non-empty rocket_launch_products (in py mods there is a byproduct you can only automatically get rid by launching it to ...
- Sat May 24, 2025 9:02 pm
- Forum: Resolved Problems and Bugs
- Topic: [Genhis][2.0.52] LuaEntityPrototype.get_inventory_size not working as expected
- Replies: 1
- Views: 1181
[Genhis][2.0.52] LuaEntityPrototype.get_inventory_size not working as expected
I'm trying to get the number of stacks I'm able to put into a (modded) rocket silo
however, LuaEntityPrototype.get_inventory_size(defines.inventory.rocket_silo_rocket) returns nil and get_inventory_size on the rocket_entity_prototype returns nil for every argument I have tried, so I'm out of ...
however, LuaEntityPrototype.get_inventory_size(defines.inventory.rocket_silo_rocket) returns nil and get_inventory_size on the rocket_entity_prototype returns nil for every argument I have tried, so I'm out of ...
- Thu May 22, 2025 6:54 pm
- Forum: Resolved Problems and Bugs
- Topic: [Genhis][2.0.50] elem_tooltip for recipe-with-quality doesn't show properly
- Replies: 1
- Views: 1041
[Genhis][2.0.50] elem_tooltip for recipe-with-quality doesn't show properly
I try to use a sprite-button for a quality recipe (using the new LuaGuiElement.quality) and have a corresponding tooltip, but the tooltip doesn't work properly
basically this
{ type = "sprite-button", sprite = "recipe/foo", quality = "bar", elem_tooltip = { type = "recipe-with-quality", name = "foo ...
basically this
{ type = "sprite-button", sprite = "recipe/foo", quality = "bar", elem_tooltip = { type = "recipe-with-quality", name = "foo ...
- Sat May 10, 2025 11:27 am
- Forum: Resolved Requests
- Topic: [2.0.10] API documentation doesn't match data-raw-dump.json from Space Age
- Replies: 8
- Views: 1125
Re: [2.0.10] API documentation doesn't match data-raw-dump.json from Space Age
I couldn't find anywhere that uses WorkingVisualisation directly, and from the code I don't think that format is supported. Are you sure about this one?
I can't check that now. I assume that one of the dummy/unknown prototypes had the "wrong" format, which was then ignored as stated by Bilka ...
- Thu May 08, 2025 4:50 am
- Forum: Resolved Problems and Bugs
- Topic: [2.0.47] copy-pasted offshore-pump ghost is missing fluid information
- Replies: 4
- Views: 1216
Re: [2.0.47] copy-pasted offshore-pump ghost is missing fluid information
Thanks a lot for fixing. Regarding OffshorePumpPrototype.fluid_source_offset, was I just blind or is this really missing from runtime stage API?
- Sat May 03, 2025 3:54 pm
- Forum: Resolved Problems and Bugs
- Topic: [2.0.47] copy-pasted offshore-pump ghost is missing fluid information
- Replies: 4
- Views: 1216
[2.0.47] copy-pasted offshore-pump ghost is missing fluid information
05-03-2025, 17-44-46.png
The left ghost was created using pipette
The right ghost was created using copy&paste (or by undoing a deconstruction)
The issue: In my mod I can't find a way to know which fluid the right ghost will pump
LuaFluidBox.get_locked_fluid(1) returns nil (returns correct fluid ...
The left ghost was created using pipette
The right ghost was created using copy&paste (or by undoing a deconstruction)
The issue: In my mod I can't find a way to know which fluid the right ghost will pump
LuaFluidBox.get_locked_fluid(1) returns nil (returns correct fluid ...
- Thu Oct 31, 2024 5:54 pm
- Forum: Documentation Improvement Requests
- Topic: Add weight calculation documentation
- Replies: 6
- Views: 1236
Add weight calculation documentation
Planning tools that work only on data stage (e.g. YAFC) need a way to replicate the weight calculation, but the little information given is not enough to explain what is going on.
Example that might involve some rounding
electronic-circuit
1x iron plate (1000)
3x copper cable (250 each)
ingredient ...
Example that might involve some rounding
electronic-circuit
1x iron plate (1000)
3x copper cable (250 each)
ingredient ...
- Fri Oct 25, 2024 5:04 am
- Forum: Resolved Requests
- Topic: [2.0.10] API documentation doesn't match data-raw-dump.json from Space Age
- Replies: 8
- Views: 1125
Re: [2.0.10] API documentation doesn't match data-raw-dump.json from Space Age
these types are documented directly in the only place they are used
https://lua-api.factorio.com/latest/pro ... cursor_box
https://lua-api.factorio.com/latest/typ ... l#location
https://lua-api.factorio.com/latest/pro ... cursor_box
https://lua-api.factorio.com/latest/typ ... l#location