Hey,
I want to request a new Event.
Like in the title I want to request a Event that gets called, when the trash_slots are getting changed.
If you want more Information why, ask.
Greetz,
Luzifer
defines.events.on_player_trash_slots_changed
- LuziferSenpai
- Filter Inserter
- Posts: 383
- Joined: Tue Jul 08, 2014 10:06 am
- Contact:
- lovely_santa
- Filter Inserter
- Posts: 502
- Joined: Sat Feb 18, 2017 9:41 pm
- Contact:
Re: defines.events.on_player_trash_slots_changed
Why?LuziferSenpai wrote:If you want more Information why, ask.
I'm curious? The only thing i could think of is adding more stuff to the trash slots, but you got auto trash slots for that?
Controling robots? Is that even possible? (never looked into that)
...
It caught my attention...
lovely_santa
- LuziferSenpai
- Filter Inserter
- Posts: 383
- Joined: Tue Jul 08, 2014 10:06 am
- Contact:
Re: defines.events.on_player_trash_slots_changed
Its for my new MOD. I want it so I know when Player put Stuff in there or Stuff gets moved out. So they dont start cheating around and keep Stuff like Locomotives in there Trash Slots.lovely_santa wrote:Why?LuziferSenpai wrote:If you want more Information why, ask.
I'm curious? The only thing i could think of is adding more stuff to the trash slots, but you got auto trash slots for that?
Controling robots? Is that even possible? (never looked into that)
...
It caught my attention...
lovely_santa
- lovely_santa
- Filter Inserter
- Posts: 502
- Joined: Sat Feb 18, 2017 9:41 pm
- Contact:
Re: defines.events.on_player_trash_slots_changed
As quick fix:
you can keep track of the main inventory and the quickbar to see if items get removed...
If they get removed, check the trash slots for items and keep checking them till they are empty...
That way you know the items in the trash slot (and so you can calculate the weight)..
you can keep track of the main inventory and the quickbar to see if items get removed...
If they get removed, check the trash slots for items and keep checking them till they are empty...
That way you know the items in the trash slot (and so you can calculate the weight)..