Oncrafted event

Things that we aren't going to implement
User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

Oncrafted event

Post by Dysoch »

I know, its a duplicate post, sort of. But this is a bit different.

Currently we have onplayercrafteditem. Which works when something is crafted by the player and inserted in the inventory.

But i want to extend it: by making it 3 events. (A master and 2 slaves)
The master:

Oncrafteditem:
This is a master event of crafting. This counts items crafted by the player, both result and intermediates, and the items and fluids crafted by machines

Onplayercrafteditem:
The same as it was, but it also counts intermediates.

Onmachinecrafteditem:
The same as player crafted, but it only checks items crafted by machines.

This allows my dynamic system to be more accurate, and free of dupe bugs
(Currently, you can craft the intermediates yourslef, and then craft the result. It will then count the intermediates twice.)
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6
Post Reply

Return to “Won't implement”