Custom action type

Place to get help with not working mods / modding interface.
Post Reply
apriori
Filter Inserter
Filter Inserter
Posts: 259
Joined: Thu Feb 18, 2016 8:13 pm
Contact:

Custom action type

Post by apriori »

Code: Select all

  {
    type = "capsule",
    ...
    capsule_action =
    {
      type = "equipment-remote", -- wanna make my own action to use here
      equipment = "discharge-defense-equipment" --- without additional rows. Just raise an event
    },
    ...
    stack_size = 1
  },
Is it possible?
Any code or mods posted by me are WTFPL, unless otherwise copyrights are specified.

Post Reply

Return to “Modding help”