Home

KillAchievementPrototype

This prototype is used for receiving an achievement when the player destroys a certain amount of an entity, with a specific damage type.

Parent

Properties

to_kill

This defines which entity needs to be destroyed in order to receive the achievement.

type_to_kill

This defines what entity type needs to be destroyed in order to receive the achievement.

Examples

type_to_kill = "inserter"

damage_type

This defines how the player needs to destroy the specific entity.

Examples

damage_type = "impact"

damage_dealer

The killer of the entity must be one of these entities.

Examples

damage_dealer = "artillery-turret"
damage_dealer = {"artillery-turret", "artillery-wagon"}

amount

This is the amount of entity of the specified type the player needs to destroy to receive the achievement.

Examples

amount = 100

in_vehicle

This defines if the player needs to be in a vehicle.

Examples

in_vehicle = true

personally

This defines to make sure you are the one driving, for instance, in a tank rather than an automated train.

Examples

personally = true