I have come so far:
Code: Select all
game.surfaces['nauvis'].create_entity({
name="poison-cloud",
position=myentity.position,
color = { r = 1, g = 0.1, b = 0.1 },
affected_by_wind = true,
duration = 60 * 40,
fade_away_duration = 2 * 60,
spread_duration = 100
})
Can anybody tell me what I am doing wrong here? How can I create a modified poison cloud?
Thanks in advance for any help...
PS: I was using the values from the poison-cloud entity from base game:
base game entity.lua