1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-07-16 04:30:22 +02:00

Remove weird constants in default

This commit is contained in:
PilzAdam
2014-12-07 15:17:09 +01:00
committed by Novatux
parent 2c0f716a13
commit c654c9fd11
6 changed files with 28 additions and 20 deletions

View File

@ -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