Remove weird constants in default
This commit is contained in:
parent
2c0f716a13
commit
c654c9fd11
6 changed files with 28 additions and 20 deletions
|
@ -83,7 +83,7 @@ farming.register_plant(name, Plant definition)
|
|||
steps = 8, -- How many steps the plant has to grow, until it can be harvested
|
||||
^ Always provide a plant texture for ech step, format: modname_plantname_i.png (i = stepnumber)
|
||||
minlight = 13, -- Minimum light to grow
|
||||
maxlight = LIGHT_MAX -- Maximum light to grow
|
||||
maxlight = default.LIGHT_MAX -- Maximum light to grow
|
||||
}
|
||||
|
||||
Stairs API
|
||||
|
@ -148,6 +148,11 @@ default.node_sound_wood_defaults()
|
|||
default.node_sound_leaves_defaults()
|
||||
default.node_sound_glass_defaults()
|
||||
|
||||
Default constants
|
||||
-----------------
|
||||
default.LIGHT_MAX
|
||||
^ The maximum light level (see [Node definition] light_source)
|
||||
|
||||
Player API
|
||||
----------
|
||||
The player API can register player models and update the player's appearence
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue