CapsuleAction :: table
Table fields
| type | :: "throw" or "equipment-remote" or "use-on-self" or "artillery-remote" or "destroy-cliffs" |
Other attributes may be specified depending on type:
throw
| attack_parameters | :: AttackParameters | |
| uses_stack | :: boolean | Whether using the capsule consumes an item from the stack. |
Whether using the capsule consumes an item from the stack. | ||
equipment-remote
| equipment | :: string | Name of the LuaEquipmentPrototype. |
Name of the LuaEquipmentPrototype. | ||
use-on-self
| attack_parameters | :: AttackParameters |
artillery-remote
| flare | :: string | Name of the flare prototype. |
Name of the flare prototype. | ||
destroy-cliffs
| attack_parameters | :: AttackParameters | |
| radius | :: float | |
| timeout | :: uint32 |

