SmokeGenerator (Special Effect) - originalfoo/Prison-Architect-API GitHub Wiki
##Overview
Yes, you can now generate smoke with the aptly named SmokeGenerator object.
##Modding
The following modding options are available...
It's not defined anywhere, it's some sort of internal object.
-- create smoke generator
local smoke = Object.Spawn( 'SmokeGenerator', this.Pos.x, this.Pos.y )
-- some time later
smoke.Delete() -- remove smoke generator##Notes
Note that Fire special effect automatically generates smoke as the fire starts to burn out.
##See Also
- [Special Effects](Special Effects):
- [
Fire](Fire (Special Effect))
- [