Need on_entity_click
Need on_entity_click
Similar to how the repair pack can apply an effect to damaged buildings (entities) (I am unsure how this is done), I would like an item that I can use on entities which will apply an effect of my creation. Yet I can not seem to be able to do this with the 0.13.17 defined events. My only other option is to make my item an entity so I can use on_built_entity. Am I missing something or should I just make the entity?
-
- Filter Inserter
- Posts: 841
- Joined: Mon Sep 14, 2015 7:40 am
- Contact:
Re: Need on_entity_click
You can use on_put_item.osldgoth wrote:Similar to how the repair pack can apply an effect to damaged buildings (entities) (I am unsure how this is done), I would like an item that I can use on entities which will apply an effect of my creation. Yet I can not seem to be able to do this with the 0.13.17 defined events. My only other option is to make my item an entity so I can use on_built_entity. Am I missing something or should I just make the entity?
For example: https://github.com/Suprcheese/Orbital-I ... #L390-L403
Re: Need on_entity_click
oh, yes that is a way to do it. I don't know how I didn't see that. I should be able to do something similar for my needs. thanks
- aubergine18
- Smart Inserter
- Posts: 1264
- Joined: Fri Jul 22, 2016 8:51 pm
- Contact:
Re: Need on_entity_click
You've just solved a road block I was having in one of my in-development mods. Thanks Supercheese!
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.
-
- Filter Inserter
- Posts: 841
- Joined: Mon Sep 14, 2015 7:40 am
- Contact:
Re: Need on_entity_click
You're most welcome.aubergine18 wrote:You've just solved a road block I was having in one of my in-development mods. Thanks Supercheese!
