in addition οΌ I can't find a natural one?
surface.find_units({ area = { { -2000, -2000 }, { 2000, 2000 } }, force = "neutral", condition = "all" })
Search found 94 matches
- Sun Jan 05, 2025 10:58 pm
- Forum: Modding interface requests
- Topic: add find_units for Search across the entire surface
- Replies: 1
- Views: 122
- Sun Jan 05, 2025 10:43 pm
- Forum: Modding interface requests
- Topic: add find_units for Search across the entire surface
- Replies: 1
- Views: 122
add find_units for Search across the entire surface
https://lua-api.factorio.com/latest/cla ... find_units
Now I have to pass in area, but I need to search the entire surface, otherwise I will get an error.
value for required field 'area' is missing
Now I have to pass in area, but I need to search the entire surface, otherwise I will get an error.
value for required field 'area' is missing
- Wed Dec 18, 2024 6:32 am
- Forum: Not a bug
- Topic: BUG spoil_to_trigger_result not triggered
- Replies: 1
- Views: 173
BUG spoil_to_trigger_result not triggered
spoil_to_trigger_result not triggered
I wrote a spoil_to_trigger_result for an item.
code
spoil_to_trigger_result ={
items_per_trigger = 1,
trigger = {
type = "direct",
action_delivery = {
type = "instant",
source_effects = {
{
type = "script",
effect_id = "myid",
},
{
type = "insert ...
I wrote a spoil_to_trigger_result for an item.
code
spoil_to_trigger_result ={
items_per_trigger = 1,
trigger = {
type = "direct",
action_delivery = {
type = "instant",
source_effects = {
{
type = "script",
effect_id = "myid",
},
{
type = "insert ...
- Tue Dec 17, 2024 3:37 pm
- Forum: Resolved Problems and Bugs
- Topic: [Genhis] Crash -- Probably the Mini Factorio Mod
- Replies: 3
- Views: 766
Re: [Genhis] Crash -- Probably the Mini Factorio Mod
You didn't fix it, you just moved one problem to another.
- Thu Dec 12, 2024 11:22 pm
- Forum: Won't implement
- Topic: Feature Request: Add Maturity Event/Trigger to PlantPrototype
- Replies: 1
- Views: 208
Feature Request: Add Maturity Event/Trigger to PlantPrototype
I propose adding a maturity event or trigger to the PlantPrototype to allow for actions or notifications when a plant reaches full growth. This feature would enhance gameplay by enabling more dynamic interactions with plant life cycles.
- Tue Dec 10, 2024 9:33 pm
- Forum: Duplicates
- Topic: ThrusterPrototype Crash bug
- Replies: 2
- Views: 116
ThrusterPrototype Crash bug
https://lua-api.factorio.com/latest/pro ... tml#plumes
When making a new ThrusterPrototype
plumes is optional
BUUUUUUUUUUUT
If you don't define it, the game will crash while building it
When making a new ThrusterPrototype
plumes is optional
BUUUUUUUUUUUT
If you don't define it, the game will crash while building it
- Tue Dec 10, 2024 3:44 pm
- Forum: Not a bug
- Topic: bug or furture ? I can build a fleet of spaceships
- Replies: 2
- Views: 212
- Tue Dec 10, 2024 12:25 pm
- Forum: Modding interface requests
- Topic: Feature Request: Add energy_source to ThrusterPrototype
- Replies: 1
- Views: 135
Feature Request: Add energy_source to ThrusterPrototype
I propose adding an energy_source attribute to the ThrusterPrototype to specify the energy source for the thruster. This addition will enhance the accuracy of performance simulations and help define operational limitations more precisely.
- Fri Dec 06, 2024 3:54 pm
- Forum: Technical Help
- Topic: "Error AtlasBuilder.cpp:157: Prepared sprite registrations are empty" on Xe graphics
- Replies: 0
- Views: 93
"Error AtlasBuilder.cpp:157: Prepared sprite registrations are empty" on Xe graphics
https://drive.google.com/file/d/1bb3ZA3 ... drive_link
Error logs have been uploaded to Drive.
It crashes on some people's computers, but most people load it normally. The main mod is https://mods.factorio.com/mod/real-starry-universe
Error logs have been uploaded to Drive.
It crashes on some people's computers, but most people load it normally. The main mod is https://mods.factorio.com/mod/real-starry-universe
- Mon Dec 02, 2024 5:03 pm
- Forum: This Forum
- Topic: Forums Bug
- Replies: 4
- Views: 424
- Mon Dec 02, 2024 5:01 pm
- Forum: This Forum
- Topic: Forums Bug
- Replies: 4
- Views: 424
Forums Bug
My email received dozens of spams within an hour, and there was actually no new information on the forum.
- Fri Nov 29, 2024 12:15 pm
- Forum: Modding interface requests
- Topic: Feature Request: Add Optional Chaining (?.) Operator to Factorio Lua
- Replies: 7
- Views: 415
- Fri Nov 29, 2024 12:01 pm
- Forum: Modding interface requests
- Topic: Feature Request: Add Optional Chaining (?.) Operator to Factorio Lua
- Replies: 7
- Views: 415
Re: Feature Request: Add Optional Chaining (?.) Operator to Factorio Lua
This is indeed optional chaining in LUA . Some extra LUA lib adds this feature to this. So I would be nice to have an option where you can allow for optional chaining to be a thing.
Maybe in 2.1?
Maybe in 2.1?
- Fri Nov 29, 2024 9:15 am
- Forum: Modding interface requests
- Topic: Feature Request: Add Optional Chaining (?.) Operator to Factorio Lua
- Replies: 7
- Views: 415
Feature Request: Add Optional Chaining (?.) Operator to Factorio Lua
I would like to request the addition of the optional chaining (?.) operator in the Lua environment used by Factorio. This feature, allows for safe property access on potentially nil values, helping to simplify and streamline code when dealing with deeply nested objects.
It would be a great addition ...
It would be a great addition ...
- Thu Nov 28, 2024 6:37 pm
- Forum: Won't implement
- Topic: [2.0]Add prototype-level rocket carry capacity
- Replies: 32
- Views: 2825
Re: [2.0]Add prototype-level rocket carry capacity
Will it be implemented in 2.1?
- Thu Nov 28, 2024 11:15 am
- Forum: Documentation Improvement Requests
- Topic: SpaceLocationPrototype::procession_graphic_catalogue - The API documentation does not describe the field in detail.
- Replies: 1
- Views: 232
- Thu Nov 28, 2024 11:13 am
- Forum: Documentation Improvement Requests
- Topic: SpaceLocationPrototype::draw_orbit - API documentation doesn't match
- Replies: 2
- Views: 216
SpaceLocationPrototype::draw_orbit - API documentation doesn't match
https://lua-api.factorio.com/latest/pro ... draw_orbit
please update this
People would think it for a ring of satellite orbits around a planet.
but in fact it is---
"It does not draw the orbit around the Sun if false."
please update this
People would think it for a ring of satellite orbits around a planet.
but in fact it is---
"It does not draw the orbit around the Sun if false."
- Thu Nov 28, 2024 11:11 am
- Forum: Documentation Improvement Requests
- Topic: StyleSpecification docs Improvement Requests
- Replies: 1
- Views: 160
Re: StyleSpecification docs Improvement Requests
any one see this ?
Will it be improved? Give me a definite answer.
Will it be improved? Give me a definite answer.
- Thu Nov 28, 2024 10:44 am
- Forum: Modding interface requests
- Topic: Please add a property to control the scale of the label text in SpaceLocationPrototype.
- Replies: 1
- Views: 129
Re: Please add a property to control the scale of the label text in SpaceLocationPrototype.
eg: In some languages, the text displayed by this mod is too crowded or even overlaps.
https://mods.factorio.com/mod/team-starts
https://mods.factorio.com/mod/team-starts
- Thu Nov 28, 2024 9:37 am
- Forum: Modding interface requests
- Topic: Please add a property to control the scale of the label text in SpaceLocationPrototype.
- Replies: 1
- Views: 129