Documentation: TorchComponent

From Noita Wiki
Jump to navigation Jump to search
Name Type Initial Value Example Range Description
Members
probability_of_ignition_attempt int 15 [0, 100] how likely are we to ignite colliding cells
suffocation_check_offset_y float -2 [-10, 10] check offset in world coordinates from our position
frames_suffocated_to_extinguish int 5 [0, 30] how many frames the torch needs to be suffocated before it stops emitting fire
extinguishable bool true if 1, the torch needs to be re-ignited in case it is turned off
fire_audio_weight float 0 [0, 2] how loud is the sound of our fire? 0 = no sound
Privates
mFlickerOffset float 0
mFramesSuffocated int 0
mIsOn bool true
mFireIsBurningPrev bool false