Factorio Prototype DocsVersion 2.0.15

DeliverImpactCombination 'deliver-impact-combination' newExample code

Properties

type :: "deliver-impact-combination"
name :: string

Name of the deliver impact combination.

Name of the deliver impact combination.

impact_category :: string
deliver_category :: string
trigger_effect_item :: TriggerEffectItem

Properties

type :: "deliver-impact-combination"

name :: string

Name of the deliver impact combination.

impact_category :: string

deliver_category :: string

trigger_effect_item :: TriggerEffectItem

Example

{
  type = "deliver-impact-combination",
  name = "bullet-organic",
  deliver_category = "bullet",
  impact_category = "organic",
  trigger_effect_item =
  {
    type = "play-sound",
    sound =
    {
      category = "weapon",
      variations = sound_variations("__base__/sound/bullets/bullet-impact-organic", 5, 0.3),
      aggregation = {max_count = 4, remove = true, count_already_playing = true}
    }
  }
}

Prototypes

Types

Defines