@@ -211,7 +211,7 @@ Advanced texture modifiers:
211
211
[combine:<w>x<h>:<x1>,<y1>=<file1>:<x2>,<y2>=<file2>
212
212
w = width, h = height, x1/x2 = x position, y1/y1 = y position,
213
213
file1/file2 = texture to combine
214
- Create a textue of size <w> x <h> and blit <file1> to (<x1>,<y1>)
214
+ Create a texture of size <w> x <h> and blit <file1> to (<x1>,<y1>)
215
215
and blit <file2> to (<x2>,<y2>).
216
216
Example: [combine:16x32:0,0=default_cobble.png:0,16=default_wood.png
217
217
@@ -220,7 +220,7 @@ Advanced texture modifiers:
220
220
Example: tnt_tnt_side.png^[brighten
221
221
222
222
[noalpha
223
- Makes the texture completly opaque.
223
+ Makes the texture completely opaque.
224
224
Example: default_leaves.png^[noalpha
225
225
226
226
[makealpha:<r>,<g>,<b>
@@ -466,13 +466,13 @@ All default ores are of the uniformly-distributed scatter type.
466
466
- scatter
467
467
Randomly chooses a location and generates a cluster of ore.
468
468
If noise_params is specified, the ore will be placed if the 3d perlin noise at
469
- that point is greater than the noise_threshhold , giving the ability to create a non-equal
469
+ that point is greater than the noise_threshold , giving the ability to create a non-equal
470
470
distribution of ore.
471
471
- sheet
472
472
Creates a sheet of ore in a blob shape according to the 2d perlin noise described by noise_params.
473
473
The relative height of the sheet can be controlled by the same perlin noise as well, by specifying
474
474
a non-zero 'scale' parameter in noise_params. IMPORTANT: The noise is not transformed by offset or
475
- scale when comparing against the noise threshhold , but scale is used to determine relative height.
475
+ scale when comparing against the noise threshold , but scale is used to determine relative height.
476
476
The height of the blob is randomly scattered, with a maximum height of clust_size.
477
477
clust_scarcity and clust_num_ores are ignored.
478
478
This is essentially an improved version of the so-called "stratus" ore seen in some unofficial mods.
@@ -841,7 +841,7 @@ tool_capabilities = {
841
841
damage_groups = {fleshy=2},
842
842
}
843
843
844
- This makes the tool be able to dig nodes that fulfill both of these:
844
+ This makes the tool be able to dig nodes that fulfil both of these:
845
845
- Have the **crumbly** group
846
846
- Have a **level** group less or equal to 2
847
847
@@ -1119,7 +1119,7 @@ textlist[<X>,<Y>;<W>,<H>;<name>;<listelem 1>,<listelem 2>,...,<listelem n>;<sele
1119
1119
tabheader[<X>,<Y>;<name>;<caption 1>,<caption 2>,...,<caption n>;<current_tab>;<transparent>;<draw_border>]
1120
1120
^ show a tabHEADER at specific position (ignores formsize)
1121
1121
^ x and y position the itemlist relative to the top left of the menu
1122
- ^ name fieldname data is transfered to Lua
1122
+ ^ name fieldname data is transferred to Lua
1123
1123
^ caption 1... name shown on top of tab
1124
1124
^ current_tab index of selected tab 1...
1125
1125
^ transparent (optional) show transparent
@@ -1138,14 +1138,14 @@ dropdown[<X>,<Y>;<W>;<name>;<item 1>,<item 2>, ...,<item n>;<selected idx>]
1138
1138
^ 2) read the value on pressing a button (all dropdown values are available)
1139
1139
^ x and y position of dropdown
1140
1140
^ width of dropdown
1141
- ^ fieldname data is transfered to Lua
1141
+ ^ fieldname data is transferred to Lua
1142
1142
^ items to be shown in dropdown
1143
1143
^ index of currently selected dropdown item
1144
1144
1145
1145
checkbox[<X>,<Y>;<name>;<label>;<selected>;<tooltip>]
1146
1146
^ show a checkbox
1147
1147
^ x and y position of checkbox
1148
- ^ name fieldname data is transfered to Lua
1148
+ ^ name fieldname data is transferred to Lua
1149
1149
^ label to be shown left of checkbox
1150
1150
^ selected (optional) true/false
1151
1151
^ tooltip (optional)
@@ -1158,7 +1158,7 @@ scrollbar[<X>,<Y>;<W>,<H>;<orientation>;<name>;<value>]
1158
1158
^ x and y position of trackbar
1159
1159
^ width and height
1160
1160
^ orientation vertical/horizontal
1161
- ^ fieldname data is transfered to lua
1161
+ ^ fieldname data is transferred to lua
1162
1162
^ value this trackbar is set to (0-1000)
1163
1163
^ see also minetest.explode_scrollbar_event (main menu: engine.explode_scrollbar_event)
1164
1164
@@ -1742,7 +1742,7 @@ minetest.parse_json(string[, nullvalue]) -> something
1742
1742
minetest.write_json(data[, styled]) -> string or nil and error message
1743
1743
^ Convert a Lua table into a JSON string
1744
1744
^ styled: Outputs in a human-readable format if this is set, defaults to false
1745
- ^ Un-serializable things like functions and userdata are saved as null.
1745
+ ^ Unserializable things like functions and userdata are saved as null.
1746
1746
^ Warning: JSON is more strict than the Lua table format.
1747
1747
1. You can only use strings and positive integers of at least one as keys.
1748
1748
2. You can not mix string and integer keys.
@@ -2084,7 +2084,7 @@ methods:
2084
2084
^ To be used only by a VoxelManip object from minetest.get_mapgen_object
2085
2085
^ (p1, p2) is the area in which lighting is set; defaults to the whole area if left out
2086
2086
- get_light_data(): Gets the light data read into the VoxelManip object
2087
- ^ Returns an array (indicies 1 to volume) of integers ranging from 0 to 255
2087
+ ^ Returns an array (indices 1 to volume) of integers ranging from 0 to 255
2088
2088
^ Each value is the bitwise combination of day and night light values (0..15 each)
2089
2089
^ light = day + (night * 16)
2090
2090
- set_light_data(light_data): Sets the param1 (light) contents of each node in the VoxelManip
@@ -2566,7 +2566,7 @@ Ore definition (register_ore)
2566
2566
flags = "",
2567
2567
^ Attributes for this ore generation
2568
2568
noise_threshhold = 0.5,
2569
- ^ If noise is above this threshhold , ore is placed. Not needed for a uniform distribution
2569
+ ^ If noise is above this threshold , ore is placed. Not needed for a uniform distribution
2570
2570
noise_params = {offset=0, scale=1, spread={x=100, y=100, z=100}, seed=23, octaves=3, persist=0.70}
2571
2571
^ NoiseParams structure describing the perlin noise used for ore distribution.
2572
2572
^ Needed for sheet ore_type. Omit from scatter ore_type for a uniform ore distribution
0 commit comments