Change namespace minetest. -> core..
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
local ObjectProperties = {
|
||||
--- Defines the maximum and default HP of the entity
|
||||
--- For Lua entities the maximum is not enforced.
|
||||
--- For players this defaults to `minetest.PLAYER_MAX_HP_DEFAULT`.
|
||||
--- For players this defaults to `core.PLAYER_MAX_HP_DEFAULT`.
|
||||
--- @type number
|
||||
hp_max = 10,
|
||||
|
||||
--- For players only. Defaults to `minetest.PLAYER_MAX_BREATH_DEFAULT`.
|
||||
--- For players only. Defaults to `core.PLAYER_MAX_BREATH_DEFAULT`.
|
||||
--- @type number
|
||||
breath_max = 0,
|
||||
|
||||
@@ -73,7 +73,7 @@ local ObjectProperties = {
|
||||
--- Otherwise for non-node items, the object will be an extrusion of
|
||||
--- 'inventory_image'.
|
||||
--- If 'itemname' contains a ColorString or palette index (e.g. from
|
||||
--- `minetest.itemstring_with_palette()`), the entity will inherit the color.
|
||||
--- `core.itemstring_with_palette()`), the entity will inherit the color.
|
||||
--- Wielditems are scaled a bit. If you want a wielditem to appear
|
||||
--- to be as large as a node, use `0.667` in `visual_size`
|
||||
--- "item" is similar to "wielditem" but ignores the 'wield_image' parameter.
|
||||
|
||||
Reference in New Issue
Block a user