Search found 94 matches

by plexpt
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

Re: add find_units for Search across the entire surface

in addition , I can't find a natural one?

surface.find_units({ area = { { -2000, -2000 }, { 2000, 2000 } }, force = "neutral", condition = "all" })
by plexpt
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
by plexpt
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 ...
by plexpt
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.
by plexpt
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.
by plexpt
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
by plexpt
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.
by plexpt
Mon Dec 02, 2024 5:03 pm
Forum: This Forum
Topic: Forums Bug
Replies: 4
Views: 424

Re: Forums Bug

Image
by plexpt
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.
by plexpt
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?
by plexpt
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 ...
by plexpt
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?
by plexpt
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."
by plexpt
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.

Go to advanced search