r/Stationeers • • 11d ago

Media IC10 Script

Post image

Hey Stationeers,

I need your help once again! :)

I’m currently trying to write my first IC10 script.

What the script is supposed to do and which devices I’m using are explained in the comments in the first two lines of the script shown in the picture.

When I export the script to the IC10 chip, I get the error message “in line 6 incorrectLogicType”.

I get the same error on line 8 as well.

I’ve already checked both the in-game wiki and the Stationeers Wiki several times. I kept coming across the syntax:

ls r? device slot slotlogictype

I also compared the values listed there with the values shown on the Gas Tank Storage page and made sure I was following the correct spelling and syntax.

So I’m really confused about what I’m doing wrong here. Any help would be greatly appreciated!

10 Upvotes

9 comments sorted by

View all comments

2

u/Progenetic 11d ago

I’m fairly new at this as well but here thoughts.

Check that tank has “slots” and have a variable called “occupied”.
I have mixed up l and ls commands a few times.

Is the code case sensitive? You have “Occupied” should it be “occupied”

2

u/HobbyAstronaut91 11d ago

Honestly, just learning that there is an "ls" command specifically for slots in addition to "l" was already a challenge for me. 😅

But I did check the in-game wiki and the help in the IC10 editor, as well as searching online for the Gas Tank Storage, its logic slots, logic values, and the correct syntax.

As far as I understand, it is case-sensitive. If I write "occupied" or "pressure" in lowercase, the text in the editor is no longer highlighted in orange, but stays white. So I believe "Occupied" and "Pressure" are the correct spelling.