Documentation: ElectricityComponent
Jump to navigation
Jump to search
Name | Type | Initial Value | Example Range | Description |
---|---|---|---|---|
Members | ||||
energy | int | 1000 | [0, 10000] | |
probability_to_heat | float | 0 | ||
speed | int | 32 | [0, 10000] | |
splittings_min | int | 0 | [0, 10000] | |
splittings_max | int | 0 | [0, 10000] | |
splitting_energy_min | int | 0 | [0, 10000] | |
splitting_energy_max | int | 0 | [0, 10000] | |
hack_is_material_crack | bool | false | ||
hack_crack_ice | bool | false | ||
hack_is_set_fire | bool | false | if set will set the thing on fire where this is located at | |
Privates | ||||
mSplittingsLeft | int | 0 | ||
mSplittingEnergy | int | 0 | ||
mAvgDir | vec2 | (0, 0) | ||
mPrevPos | ivec2 | (0, 0) | ||
mPrevMaterial | int | 0 | ||
mShouldPlaySound | bool | true |