Search found 4 matches

by ZeroKnight
Mon Nov 11, 2024 1:15 am
Forum: Ideas and Suggestions
Topic: Additional train interrupt conditions
Replies: 12
Views: 2940

Re: Additional train interrupt conditions

Echoing my desire for the ability to query against wagon and locomotive count. I've been experimenting with running different-sized trains on my network and having to duplicate my "Refuel" interrupts to send trains to different stations isn't the end of the world... but being able to selec...
by ZeroKnight
Sun Sep 29, 2019 11:40 am
Forum: Modding help
Topic: Can I create a custom missable achievement?
Replies: 5
Views: 2287

Re: Can I create a custom missable achievement?

Awesome, glad to be of some help! :D
by ZeroKnight
Sun Sep 29, 2019 7:43 am
Forum: Modding help
Topic: Can I create a custom missable achievement?
Replies: 5
Views: 2287

Re: Can I create a custom missable achievement?

You could try LuaPlayer.build_from_cursor , as it has the following note: Note : Anything built will fire normal player-built events. I haven't tested this personally, but I assume this would trigger the achievement miss. Also , since the function uses the current surface, you won't have to worry a...
by ZeroKnight
Sun Sep 29, 2019 3:59 am
Forum: Modding help
Topic: Can I create a custom missable achievement?
Replies: 5
Views: 2287

Re: Can I create a custom missable achievement?

There doesn't appear to be any existing achievement types applicable to what you're trying to accomplish, as I'm sure you've already noticed, so aside from a workaround I don't think it's possible. I believe the hidden entity spawning is working, but spawning through LuaSurface.create_entity doesn't...

Go to advanced search