CreatePollutionTriggerEffectItem :: struct new
| Inherits from TriggerEffectItem |
| typechanged | :: "create-pollution" | |
| amountnew | :: double | This may be negative which will reduce pollution when run. |
This may be negative which will reduce pollution when run. | ||
| entitynew optional | :: EntityID | If not defined, and use_entity_from_trigger is false, the pollution does not show in statistics. |
If not defined, and use_entity_from_trigger is false, the pollution does not show in statistics. | ||
| use_entity_from_triggernew optional | :: boolean | If not set, and entity is not set, the pollution does not show in statistics. |
If not set, and entity is not set, the pollution does not show in statistics. | ||
| repeat_count optional | :: uint16 | |
| repeat_count_deviation optional | :: uint16 | |
| probability optional | :: float | Must be greater than |
Must be greater than | ||
| affects_target optional | :: boolean | |
| show_in_tooltip optional | :: boolean | |
| 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. [...] | ||


