| Inherits from TriggerEffectItem |
| type |
:: "insert-item"
|
|
| item | :: ItemID |
Name of the ItemPrototype that should be created. |
|
Name of the ItemPrototype that should be created. |
||
| count optional | :: uint32 |
|
| repeat_count optional | :: uint16 |
|
| repeat_count_deviation optional | :: uint16 |
|
| probability optional | :: float |
Must be greater than |
|
Must be greater than |
||
| affects_target optional | :: bool |
|
| show_in_tooltip optional | :: bool |
|
| damage_type_filters optional | :: DamageTypeFilters |
Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. |
|
Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. |
||
| item | :: ItemID |
Name of the ItemPrototype that should be created. |
|
Name of the ItemPrototype that should be created. |
||
| type |
:: "insert-item"
|
|
| count optional | :: uint32 |
|
| affects_target optional | :: bool |
|
| damage_type_filters optional | :: DamageTypeFilters |
Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. |
|
Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. |
||
| probability optional | :: float |
Must be greater than |
|
Must be greater than |
||
| repeat_count optional | :: uint16 |
|
| repeat_count_deviation optional | :: uint16 |
|
| show_in_tooltip optional | :: bool |
|
Name of the ItemPrototype that should be created.
Default: 1
Prototypes
Types