Skip to content

LogicUnderwaterBubbles

Logic typessource

Derived from Logic

Used in LogicList

Fields

droplets_enabled

boolean

Enable/disable spawn of ENT_TYPE.FX_WATER_DROP from ceiling (or ground if liquid gravity is inverse)

source

droplets_spawn_chance

integer

It's inverse chance, so the lower the number the higher the chance, values below 10 may crash the game

source

gravity_direction

number

1.0 = normal, -1.0 = inversed, other values have undefined behavior this value basically have to be the same as return from ThemeInfo:get_liquid_gravity()

source