on_player_crafted_item => on_entity_crafted_item

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

btarrant
Burner Inserter
Burner Inserter
Posts: 12
Joined: Fri Oct 04, 2019 6:13 am
Contact:

on_player_crafted_item => on_entity_crafted_item

Post by btarrant »

could be some interesting possibilities here.
currently for what I do I have to check on each tick check fluid boxes and update temp of fluid.
Not a big thing does impact ups but I'm sure others will fine a way to utilize a more generic event.
not to the detriment of causing an overall decrease in performance though player craft likely to be far less impactfull
Koub
Global Moderator
Global Moderator
Posts: 7955
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: on_player_crafted_item => on_entity_crafted_item

Post by Koub »

I can't imagine how many millions events this would have to fire every second at megabase level. Wouldn't that be terribly resource consuming (for the moderate overall benefits) ?
Koub - Please consider English is not my native language.
btarrant
Burner Inserter
Burner Inserter
Posts: 12
Joined: Fri Oct 04, 2019 6:13 am
Contact:

Re: on_player_crafted_item => on_entity_crafted_item

Post by btarrant »

fair enough that was a concern I had hence the "not to the detriment of causing an overall decrease in performance" that being said I know event filters are a thing and no idea how it has been actually implemented, if it a query then action then yeah no way but if its a like I want to say a bsp tree/table added on recipe changed then maybe.. I know bsp is wrong term, just can't think of best term.
thank you for the response.
Post Reply

Return to “Ideas and Suggestions”