Merge remote-tracking branch 'origin/master'
3
.gitignore
vendored
@ -59,4 +59,7 @@ CPackSourceConfig.cmake
|
||||
Makefile
|
||||
cmake_install.cmake
|
||||
locale/
|
||||
*.cbp
|
||||
*.layout
|
||||
*.o
|
||||
|
||||
|
@ -12,7 +12,7 @@ set(VERSION_EXTRA "" CACHE STRING "Stuff to append to version string")
|
||||
# Also remember to set PROTOCOL_VERSION in clientserver.h when releasing
|
||||
set(VERSION_MAJOR 0)
|
||||
set(VERSION_MINOR 4)
|
||||
set(VERSION_PATCH 6)
|
||||
set(VERSION_PATCH 7)
|
||||
if(VERSION_EXTRA)
|
||||
set(VERSION_PATCH ${VERSION_PATCH}-${VERSION_EXTRA})
|
||||
endif()
|
||||
@ -28,6 +28,13 @@ else()
|
||||
set(RUN_IN_PLACE 0 CACHE BOOL "Run directly in source directory structure")
|
||||
endif()
|
||||
|
||||
# RUN_IN_PLACE is exported as a #define value, ensure it's 1/0 instead of ON/OFF
|
||||
if(RUN_IN_PLACE)
|
||||
set(RUN_IN_PLACE 1)
|
||||
else()
|
||||
set(RUN_IN_PLACE 0)
|
||||
endif()
|
||||
|
||||
set(BUILD_CLIENT 1 CACHE BOOL "Build client")
|
||||
if(WIN32)
|
||||
set(BUILD_SERVER 0 CACHE BOOL "Build server")
|
||||
|
@ -57,7 +57,7 @@ function dump(o, dumped)
|
||||
dumped[o] = true
|
||||
local t = {}
|
||||
for k,v in pairs(o) do
|
||||
t[#t+1] = "" .. k .. " = " .. dump(v, dumped)
|
||||
t[#t+1] = "[" .. dump(k, dumped) .. "] = " .. dump(v, dumped)
|
||||
end
|
||||
return "{" .. table.concat(t, ", ") .. "}"
|
||||
elseif type(o) == "boolean" then
|
||||
|
@ -1,6 +1,7 @@
|
||||
Minetest Lua Modding API Reference 0.4.6
|
||||
Minetest Lua Modding API Reference 0.4.7
|
||||
========================================
|
||||
More information at http://c55.me/minetest/
|
||||
More information at http://www.minetest.net/
|
||||
Developer Wiki: http://dev.minetest.net/
|
||||
|
||||
Introduction
|
||||
-------------
|
||||
@ -409,6 +410,18 @@ Currently supported flags: absheight
|
||||
Also produce this same ore between the height range of -height_max and -height_min.
|
||||
Useful for having ore in sky realms without having to duplicate ore entries.
|
||||
|
||||
Decoration types
|
||||
-------------------
|
||||
The varying types of decorations that can be placed.
|
||||
The default value is simple, and is currently the only type supported.
|
||||
|
||||
- simple
|
||||
Creates a 1xHx1 column of a specified node (or a random node from a list, if a decoration
|
||||
list is specified). Can specify a certain node it must spawn next to, such as water or lava,
|
||||
for example. Can also generate a decoration of random height between a specified lower and
|
||||
upper bound. This type of decoration is intended for placement of grass, flowers, cacti,
|
||||
papyrus, and so on.
|
||||
|
||||
HUD element types
|
||||
-------------------
|
||||
The position field is used for all element types.
|
||||
@ -945,6 +958,7 @@ minetest.register_craftitem(name, item definition)
|
||||
minetest.register_alias(name, convert_to)
|
||||
minetest.register_craft(recipe)
|
||||
minetest.register_ore(ore definition)
|
||||
minetest.register_decoration(decoration definition)
|
||||
|
||||
Global callback registration functions: (Call these only at load time)
|
||||
minetest.register_globalstep(func(dtime))
|
||||
@ -1004,7 +1018,6 @@ minetest.setting_get(name) -> string or nil
|
||||
minetest.setting_getbool(name) -> boolean value or nil
|
||||
minetest.setting_get_pos(name) -> position or nil
|
||||
minetest.setting_save() -> nil, save all settings to config file
|
||||
minetest.add_to_creative_inventory(itemstring)
|
||||
|
||||
Authentication:
|
||||
minetest.notify_authentication_modified(name)
|
||||
@ -1279,15 +1292,6 @@ minetest.object_refs
|
||||
minetest.luaentities
|
||||
^ List of lua entities, indexed by active object id
|
||||
|
||||
Deprecated but defined for backwards compatibility:
|
||||
minetest.digprop_constanttime(time)
|
||||
minetest.digprop_stonelike(toughness)
|
||||
minetest.digprop_dirtlike(toughness)
|
||||
minetest.digprop_gravellike(toughness)
|
||||
minetest.digprop_woodlike(toughness)
|
||||
minetest.digprop_leaveslike(toughness)
|
||||
minetest.digprop_glasslike(toughness)
|
||||
|
||||
Class reference
|
||||
----------------
|
||||
NodeMetaRef: Node metadata - reference extra data and functionality stored
|
||||
@ -1696,6 +1700,7 @@ Node definition (register_node)
|
||||
liquid_alternative_source = "", -- Source version of flowing liquid
|
||||
liquid_viscosity = 0, -- Higher viscosity = slower flow (max. 7)
|
||||
liquid_renewable = true, -- Can new liquid source be created by placing
|
||||
drowning = true, -- Player will drown in these
|
||||
two or more sources nearly?
|
||||
light_source = 0, -- Amount of light emitted by node
|
||||
damage_per_second = 0, -- If player is inside node, this damage is caused
|
||||
@ -1834,7 +1839,7 @@ Recipe for register_craft (furnace fuel)
|
||||
|
||||
Ore definition (register_ore)
|
||||
{
|
||||
ore_type = "scatter" -- See "Ore types"
|
||||
ore_type = "scatter", -- See "Ore types"
|
||||
ore = "default:stone_with_coal",
|
||||
wherein = "default:stone",
|
||||
clust_scarcity = 8*8*8,
|
||||
@ -1856,6 +1861,41 @@ Ore definition (register_ore)
|
||||
^ Needed for sheet ore_type. Omit from scatter ore_type for a uniform ore distribution
|
||||
}
|
||||
|
||||
Decoration definition (register_decoration)
|
||||
{
|
||||
deco_type = "simple", -- See "Decoration types"
|
||||
place_on = "default:dirt_with_grass",
|
||||
^ Node that decoration can be placed on
|
||||
sidelen = 8,
|
||||
^ Size of divisions made in the chunk being generated.
|
||||
^ If the chunk size is not evenly divisible by sidelen, sidelen is made equal to the chunk size.
|
||||
fill_ratio = 0.02,
|
||||
^ Ratio of the area to be uniformly filled by the decoration.
|
||||
^ Used only if noise_params is not specified.
|
||||
noise_params = {offset=0, scale=.45, spread={x=100, y=100, z=100}, seed=354, octaves=3, persist=0.7},
|
||||
^ NoiseParams structure describing the perlin noise used for decoration distribution.
|
||||
^ The result of this is multiplied by the 2d area of the division being decorated.
|
||||
biomes = {"Oceanside", "Hills", "Plains"},
|
||||
^ List of biomes in which this decoration occurs. Occurs in all biomes if this is omitted,
|
||||
^ and ignored if the Mapgen being used does not support biomes.
|
||||
|
||||
----- Simple-type parameters
|
||||
decoration = "default:grass",
|
||||
^ The node name used as the decoration.
|
||||
^ If instead a list of strings, a randomly selected node from the list is placed as the decoration.
|
||||
height = 1,
|
||||
^ Number of nodes high the decoration is made.
|
||||
^ If height_max is not 0, this is the lower bound of the randomly selected height.
|
||||
height_max = 0,
|
||||
^ Number of nodes the decoration can be at maximum.
|
||||
^ If absent, the parameter 'height' is used as a constant.
|
||||
spawn_by = "default:water",
|
||||
^ Node that the decoration only spawns next to, in a 1-node square radius.
|
||||
num_spawn_by = 1,
|
||||
^ Number of spawn_by nodes that must be surrounding the decoration position to occur.
|
||||
^ If absent or -1, decorations occur next to any nodes.
|
||||
}
|
||||
|
||||
Chatcommand definition (register_chatcommand)
|
||||
{
|
||||
params = "<name> <privilege>", -- short parameter description
|
||||
|
@ -88,7 +88,7 @@ This man page was originally written by
|
||||
Juhani Numminen <juhaninumminen0@gmail.com>.
|
||||
|
||||
.SH WWW
|
||||
http://c55.me/minetest/
|
||||
http://www.minetest.net/
|
||||
|
||||
.SH "SEE ALSO"
|
||||
.BR minetestserver(6)
|
||||
|
@ -64,7 +64,7 @@ This man page was originally written by
|
||||
Juhani Numminen <juhaninumminen0@gmail.com>.
|
||||
|
||||
.SH WWW
|
||||
http://c55.me/minetest/
|
||||
http://www.minetest.net/
|
||||
|
||||
.SH "SEE ALSO"
|
||||
.BR minetest(6)
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 392 B |
Before Width: | Height: | Size: 397 B After Width: | Height: | Size: 218 B |
Before Width: | Height: | Size: 329 B After Width: | Height: | Size: 182 B |
Before Width: | Height: | Size: 363 B After Width: | Height: | Size: 183 B |
Before Width: | Height: | Size: 369 B After Width: | Height: | Size: 180 B |
BIN
games/minimal/mods/default/textures/bubble.png
Normal file
After Width: | Height: | Size: 273 B |
Before Width: | Height: | Size: 367 B After Width: | Height: | Size: 255 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 109 B |
Before Width: | Height: | Size: 292 B After Width: | Height: | Size: 157 B |
Before Width: | Height: | Size: 597 B After Width: | Height: | Size: 515 B |
Before Width: | Height: | Size: 604 B After Width: | Height: | Size: 457 B |
Before Width: | Height: | Size: 279 B After Width: | Height: | Size: 144 B |
Before Width: | Height: | Size: 236 B After Width: | Height: | Size: 121 B |
Before Width: | Height: | Size: 167 B After Width: | Height: | Size: 114 B |
Before Width: | Height: | Size: 224 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 151 B After Width: | Height: | Size: 98 B |
Before Width: | Height: | Size: 142 B After Width: | Height: | Size: 93 B |
Before Width: | Height: | Size: 613 B After Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 173 B |
Before Width: | Height: | Size: 210 B After Width: | Height: | Size: 140 B |
Before Width: | Height: | Size: 118 B After Width: | Height: | Size: 83 B |
Before Width: | Height: | Size: 933 B After Width: | Height: | Size: 138 B |
Before Width: | Height: | Size: 830 B After Width: | Height: | Size: 374 B |
Before Width: | Height: | Size: 539 B After Width: | Height: | Size: 480 B |
Before Width: | Height: | Size: 313 B After Width: | Height: | Size: 220 B |
Before Width: | Height: | Size: 865 B After Width: | Height: | Size: 719 B |
Before Width: | Height: | Size: 246 B After Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 376 B After Width: | Height: | Size: 283 B |
Before Width: | Height: | Size: 236 B After Width: | Height: | Size: 125 B |
Before Width: | Height: | Size: 978 B After Width: | Height: | Size: 210 B |
Before Width: | Height: | Size: 874 B After Width: | Height: | Size: 782 B |
Before Width: | Height: | Size: 856 B After Width: | Height: | Size: 771 B |
Before Width: | Height: | Size: 591 B After Width: | Height: | Size: 172 B |
Before Width: | Height: | Size: 936 B After Width: | Height: | Size: 140 B |
Before Width: | Height: | Size: 672 B After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 502 B After Width: | Height: | Size: 210 B |
Before Width: | Height: | Size: 507 B After Width: | Height: | Size: 205 B |
Before Width: | Height: | Size: 395 B After Width: | Height: | Size: 368 B |
Before Width: | Height: | Size: 357 B After Width: | Height: | Size: 172 B |
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 952 B After Width: | Height: | Size: 142 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 922 B |
Before Width: | Height: | Size: 965 B After Width: | Height: | Size: 603 B |
Before Width: | Height: | Size: 317 B After Width: | Height: | Size: 186 B |
Before Width: | Height: | Size: 378 B After Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 206 B After Width: | Height: | Size: 137 B |
Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 148 B |
Before Width: | Height: | Size: 242 B After Width: | Height: | Size: 139 B |
Before Width: | Height: | Size: 366 B After Width: | Height: | Size: 165 B |
Before Width: | Height: | Size: 507 B After Width: | Height: | Size: 437 B |
Before Width: | Height: | Size: 555 B After Width: | Height: | Size: 388 B |
Before Width: | Height: | Size: 545 B After Width: | Height: | Size: 375 B |
Before Width: | Height: | Size: 542 B After Width: | Height: | Size: 374 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 762 B |
Before Width: | Height: | Size: 772 B After Width: | Height: | Size: 744 B |
Before Width: | Height: | Size: 502 B After Width: | Height: | Size: 328 B |
Before Width: | Height: | Size: 233 B After Width: | Height: | Size: 164 B |
Before Width: | Height: | Size: 489 B After Width: | Height: | Size: 416 B |
Before Width: | Height: | Size: 219 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 144 B |
Before Width: | Height: | Size: 182 B After Width: | Height: | Size: 120 B |
Before Width: | Height: | Size: 806 B After Width: | Height: | Size: 389 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 98 B |
Before Width: | Height: | Size: 186 B After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 264 B After Width: | Height: | Size: 146 B |
Before Width: | Height: | Size: 252 B After Width: | Height: | Size: 155 B |
Before Width: | Height: | Size: 927 B After Width: | Height: | Size: 140 B |
Before Width: | Height: | Size: 271 B After Width: | Height: | Size: 163 B |
Before Width: | Height: | Size: 216 B After Width: | Height: | Size: 144 B |
Before Width: | Height: | Size: 291 B After Width: | Height: | Size: 169 B |
Before Width: | Height: | Size: 931 B After Width: | Height: | Size: 141 B |
Before Width: | Height: | Size: 262 B After Width: | Height: | Size: 155 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 144 B |
Before Width: | Height: | Size: 301 B After Width: | Height: | Size: 168 B |
Before Width: | Height: | Size: 927 B After Width: | Height: | Size: 134 B |
Before Width: | Height: | Size: 245 B After Width: | Height: | Size: 149 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 135 B |
Before Width: | Height: | Size: 255 B After Width: | Height: | Size: 147 B |
Before Width: | Height: | Size: 925 B After Width: | Height: | Size: 146 B |
Before Width: | Height: | Size: 913 B After Width: | Height: | Size: 137 B |
Before Width: | Height: | Size: 917 B After Width: | Height: | Size: 138 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 177 B |
Before Width: | Height: | Size: 518 B After Width: | Height: | Size: 302 B |
Before Width: | Height: | Size: 308 B After Width: | Height: | Size: 248 B |
Before Width: | Height: | Size: 212 B After Width: | Height: | Size: 157 B |
Before Width: | Height: | Size: 201 B After Width: | Height: | Size: 149 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 757 B |
Before Width: | Height: | Size: 384 B After Width: | Height: | Size: 212 B |
Before Width: | Height: | Size: 838 B After Width: | Height: | Size: 399 B |
Before Width: | Height: | Size: 209 B After Width: | Height: | Size: 160 B |
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 119 B |