Misc¶
-
class Recipe:
Prototype¶ Crafting-recipe prototype used by machines and crafting UIs
-
ticks:
integer¶ Craft time in engine ticks
-
default_locked:
boolean¶ If true, the recipe starts
-
locked:
boolean¶ Currently locked if true
-
productivity:
integer¶ Percentage bonus (e.g. 20 = +20 %)
-
tier:
integer¶ Recipe tier used for speed scaling: every tier above the
-
start_tier:
integer¶ Machine-unlock tier (same for all its recipes); lets you
-
staticmethod reg(name:
string):Recipe¶ Register a new Recipe static object
- Parameters:
name (
string) – The name of the object
-
staticmethod find(name:
string):Recipe¶ Searching for Recipe in db
- Parameters:
name (
string) – The name of the object
-
staticmethod get_class():
Class¶ Return Recipe class object
-
ticks:
-
class StaticTip:
Prototype¶ -
staticmethod reg(name:
string):StaticTip¶ Register a new StaticTip static object
- Parameters:
name (
string) – The name of the object
-
staticmethod find(name:
string):StaticTip¶ Searching for StaticTip in db
- Parameters:
name (
string) – The name of the object
-
staticmethod get_class():
Class¶ Return StaticTip class object
-
staticmethod reg(name:
-
class StaticProp:
StaticObject¶ -
project_to_terrain_power:
number¶ undocumented
-
additive_elevation:
number¶ undocumented
-
cull_begin:
number¶ undocumented
-
cull_end:
number¶ undocumented
-
maximum_height:
number¶ undocumented
-
minimum_height:
number¶ undocumented
-
floating:
boolean¶ undocumented
-
is_big:
boolean¶ undocumented
-
mesh:
StaticMesh¶ undocumented
-
no_collision:
boolean¶ undocumented
-
is_emitting:
boolean¶ undocumented
-
high_detail_shadow:
boolean¶ undocumented
-
on_spawn:
function¶ undocumented
-
hits_to_break:
integer¶ Number of hits to break
-
break_effect:
Class¶ undocumented
-
damage_effect:
Class¶ undocumented
-
actor_class:
Class¶ undocumented
-
project_to_terrain_power:
-
class PropListData:
Struct¶ Structure that stores several StaticProp records (prop variations) with shared spawn chance
-
weight:
integer¶ Spawn weight
-
props:
StaticProp[]¶ List of prop assets (prop variations)
-
weight:
-
class StaticPropList:
Prototype¶ Prototype asset that owns several PropListData records
-
data:
PropListData[]¶ undocumented
-
staticmethod reg(name:
string):StaticPropList¶ Register a new StaticPropList static object
- Parameters:
name (
string) – The name of the object
-
staticmethod find(name:
string):StaticPropList¶ Searching for StaticPropList in db
- Parameters:
name (
string) – The name of the object
-
staticmethod get_class():
Class¶ Return StaticPropList class object
-
staticmethod cast(object:
Object):StaticPropList¶ Trying to cast Object into StaticPropList
- Parameters:
object (
Object) – to cast
-
data:
-
class WorldGenerator:
Prototype¶ -
staticmethod reg(name:
string):WorldGenerator¶ Register a new WorldGenerator static object
- Parameters:
name (
string) – The name of the object
-
staticmethod find(name:
string):WorldGenerator¶ Searching for WorldGenerator in db
- Parameters:
name (
string) – The name of the object
-
staticmethod get_class():
Class¶ Return WorldGenerator class object
-
staticmethod cast(object:
Object):WorldGenerator¶ Trying to cast Object into WorldGenerator
- Parameters:
object (
Object) – to cast
-
staticmethod reg(name:
- class Kto¶
Localization key table object