Search found 6 matches

by Remtak
Wed Jan 03, 2018 11:29 pm
Forum: Modding help
Topic: Issue while doing lua stuff
Replies: 11
Views: 4023

Re: Issue while doing lua stuff

Yup I delete :

Code: Select all

data.raw.inserter["long-handed-inserter"] = nil
data.raw.item["long-handed-inserter"] = nil
And add @darkfrei 's code.
Thanks a lot guys for the help. :).
by Remtak
Wed Jan 03, 2018 11:21 am
Forum: Modding help
Topic: Issue while doing lua stuff
Replies: 11
Views: 4023

Re: Issue while doing lua stuff

Yeah sure I was about to do that but i was wondering a more automatic way to do that if the mod was active.
Furthermore, if I update the game the issue will be still there :(.
And if i manage to understand how you guys deal with this kind of issue I could fix or create other mini mod that modify the ...
by Remtak
Tue Jan 02, 2018 7:01 pm
Forum: Modding help
Topic: Issue while doing lua stuff
Replies: 11
Views: 4023

Re: Issue while doing lua stuff

Okay, so by this control.lua code.
You check all the inventory change while in game but when there is 1 or more than 1 long inserters you remove it from the inventory.
Thanks to spare some time for my issue :).

Edit :
I tried your code but it returns this error. I think it doesn't work because the ...
by Remtak
Tue Jan 02, 2018 5:33 pm
Forum: Modding help
Topic: Issue while doing lua stuff
Replies: 11
Views: 4023

Re: Issue while doing lua stuff

Thanks a lot for the anwser.
I will watch the links and tell you if it works :).
by Remtak
Tue Jan 02, 2018 12:23 am
Forum: Modding help
Topic: Issue while doing lua stuff
Replies: 11
Views: 4023

Re: Issue while doing lua stuff

Thanks for the answer.
So I would have to set my mod to delete the long hand inserter in the control.dat of the base game ?
by Remtak
Mon Jan 01, 2018 4:35 pm
Forum: Modding help
Topic: Issue while doing lua stuff
Replies: 11
Views: 4023

Issue while doing lua stuff

Hi guys,

I'm new to modding and really happy about how modding is possible in this game.
However, I have create a mod that replace the inserters in game.
All the prototype are done but i want to delete the long inserter from the game since it won't be used anymore.

I have already add those lines ...

Go to advanced search