Page 1 of 1
defines.events.on_player_trash_slots_changed
Posted: Mon Apr 09, 2018 8:16 am
by LuziferSenpai
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
Re: defines.events.on_player_trash_slots_changed
Posted: Mon Apr 09, 2018 10:49 pm
by lovely_santa
LuziferSenpai wrote:If you want more Information why, ask.
Why?
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
Re: defines.events.on_player_trash_slots_changed
Posted: Tue Apr 10, 2018 3:12 am
by LuziferSenpai
lovely_santa wrote:LuziferSenpai wrote:If you want more Information why, ask.
Why?
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
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.
Re: defines.events.on_player_trash_slots_changed
Posted: Sun Apr 15, 2018 4:38 pm
by lovely_santa
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)..