Skip to content

Fire (Special Effect)

aubergine10 edited this page Oct 20, 2015 · 2 revisions

##Overview

Fire... does exactly what it says on the tin!

##Modding

The following modding options are available...

###data/materials.txt

BEGIN Object

END

###data/scripts/

-- create fire
local flames = Object.Spawn( 'Fire', this.Pos.x, this.Pos.y )

-- some time later
flames.Delete() -- remove fire

##Notes

Fire is created in the following ways:

This is the same fire as used in base game, so it works exactly the same way:

  • Fire will spread (affected by MadeOf setting of surrounding objects)
  • Entities will avoid the fire, workers won't be able to do jobs near it ('too dangerous')
  • Walls and floors will become [BurntWall](BurntWall (Material)) and [BurntFloor](BurntFloor (Material)) after prolonged exposure to fire
  • Fire can be extinguished with water from Hose, Sprinkler, etc.
    • If not extinguished, Fire eventually burns itself out and spawns [SmokeGenerator](SmokeGenerator (Special Effect)) objects

##See Also

  • [Special Effects](Special Effects):
    • [SmokeGenerator](SmokeGenerator (Special Effect))
  • Statics:
    • [Sprinkler](Sprinkler (Static))
  • Callouts:
    • [FireEngine](FireEngine (Callout))
  • Vehicles:
    • [FireEngine](FireEngine (Vehicle))
  • Entities:
    • [Fireman](Fireman (Entity))
  • Equipments:
    • [Hose](Hose (Equipment))
  • Materials:
    • [BurntFloor](BurntFloor (Material))
    • [BurntWall](BurntWall (Material))
  • materials.txt:

^ Open "Pages" to Search



Scripting:

Object-based:

  • [Fire](Fire (Special Effect))
  • [SmokeGenerator](SmokeGenerator (Special Effect))

Script-based:

Other Finds:

  • [Collectable](Collectable (Special Effect)) ⚠️
Clone this wiki locally