Help to understand the logic on this interrupt

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
heggart
Burner Inserter
Burner Inserter
Posts: 9
Joined: Fri Oct 25, 2024 7:40 pm
Contact:

Help to understand the logic on this interrupt

Post by heggart »

11-11-2024, 21-43-02.png
11-11-2024, 21-43-02.png (35.55 KiB) Viewed 337 times
In this image the logic seems to be

bullets less than 400
or
Oxidizer less than 20k
or
Red fuel less thank 20K and gleba = 3

This is not what I need, I need:

if On Gleba AND
(
bullets less than 400
or
Oxidizer less than 20k
or
Red fuel less thank 20K
)

But if I put the planet first also doesn't trigger
11-11-2024, 21-46-54.png
11-11-2024, 21-46-54.png (25.68 KiB) Viewed 337 times

I even tried This
11-11-2024, 21-48-33.png
11-11-2024, 21-48-33.png (31.84 KiB) Viewed 337 times
But it is also not working.

I am not sure if this is a bug or I am actually doing something wrong.

thanks
mmmPI
Smart Inserter
Smart Inserter
Posts: 3673
Joined: Mon Jun 20, 2016 6:10 pm
Contact:

Re: Help to understand the logic on this interrupt

Post by mmmPI »

What are you trying to achieve with this interrupt ?
heggart
Burner Inserter
Burner Inserter
Posts: 9
Joined: Fri Oct 25, 2024 7:40 pm
Contact:

Re: Help to understand the logic on this interrupt

Post by heggart »

Ok it seems this should be doing what I expect, but is not
11-11-2024, 22-00-31.png
11-11-2024, 22-00-31.png (17.89 KiB) Viewed 325 times
Is weird looking in the UI
Last edited by heggart on Mon Nov 11, 2024 9:11 pm, edited 1 time in total.
heggart
Burner Inserter
Burner Inserter
Posts: 9
Joined: Fri Oct 25, 2024 7:40 pm
Contact:

Re: Help to understand the logic on this interrupt

Post by heggart »

I am trying to make the ship recharge resources before any other mission on this planet.

so for example this send it to gleba to get cience
11-11-2024, 22-03-52.png
11-11-2024, 22-03-52.png (41.79 KiB) Viewed 314 times
But if get the science to fast then leave the planet with no bullets or get lost BCS of not fuel
11-11-2024, 22-04-43.png
11-11-2024, 22-04-43.png (62.87 KiB) Viewed 314 times
So this makes sure it get resources. I mean I can technically add the request to the first one but I want a generic interrupt that works for all the ships with different proposes without need to add always the add bullets add fuel constrain
mmmPI
Smart Inserter
Smart Inserter
Posts: 3673
Joined: Mon Jun 20, 2016 6:10 pm
Contact:

Re: Help to understand the logic on this interrupt

Post by mmmPI »

If you want the ship to leave when all the request are fulfilled, you can make it in the schedule or as a condition for interrupt, it is the first option. that doesn't work for you ?
heggart
Burner Inserter
Burner Inserter
Posts: 9
Joined: Fri Oct 25, 2024 7:40 pm
Contact:

Re: Help to understand the logic on this interrupt

Post by heggart »

Ok, it seems I got some insights into the logic. Let's put it this way signals based on the current trip go this way

🌏 = 1 When you travel from this planet
🌏 = 2 When you travel to this planet
🌏 = 3 When you are stationary

so if you send the ship by clicking the button on the route planner with no other mission after
11-11-2024, 23-23-19.png
11-11-2024, 23-23-19.png (6.53 KiB) Viewed 262 times
The ship will stay stationary on this planet which would send signal of 🌏 = 3. In this case my logic would work and trigger the interrupt once it arrives.

If the ship was sent to the planet by another interrupt the nested interrupt checking the circuit condition will trigger after the waiting condition finishes, I really thought this would trigger during the interrupt if you have on the option can interrupt nested interruptions. But still, this behavior is a bit weird in my experience.

When a ship is already traveling to another planet the interrupt will not trigger so things like checking for 🌏 = 1 or even 🌏 = 2 will have no effect.

Additionally, the game behaves differently if you click the X on the mission or in the logic checker
11-11-2024, 23-47-24.png
11-11-2024, 23-47-24.png (26.97 KiB) Viewed 262 times
If you click on the X of the mission the mission will be skipped and the game will not check for more interrupts and it will go directly to next mission.
If you click on the logic checker it will behave as if the logic checker would be passed and still look for more interrupts.

So basically my testing method was inconsistent leading to not accurate results. Hope this help ppl wanting to automate stations and interrupts.

for now, just checking when the ship is on a planet kind of works (maybe tomorrow I find I was totally wrong). since the objective is to have x amount of the objects, the extra condition I was checking there was not necessary even so, technically should work
11-11-2024, 23-55-00.png
11-11-2024, 23-55-00.png (42.8 KiB) Viewed 262 times
Have a nice one
heggart
Burner Inserter
Burner Inserter
Posts: 9
Joined: Fri Oct 25, 2024 7:40 pm
Contact:

Re: Help to understand the logic on this interrupt

Post by heggart »

mmmPI wrote: ↑Mon Nov 11, 2024 10:08 pm If you want the ship to leave when all the request are fulfilled, you can make it in the schedule or as a condition for interrupt, it is the first option. that doesn't work for you ?
I don't really want to put it on schedule since this will require me to put it every time I add a new station. I want to use the system of interrupts but the logic was not really well understood. I still have the feeling may be one weird bug there especially since my interrupt is not triggering an older interrupt but I guess is ok for now, as I explained on the last post.

thanks for the answer
Post Reply

Return to β€œGameplay Help”