fix readme
This commit is contained in:
parent
e0c5ea99ed
commit
33f166e121
22
Readme.md
22
Readme.md
@ -3,17 +3,17 @@
|
|||||||
Register a geode:
|
Register a geode:
|
||||||
```lua
|
```lua
|
||||||
geodes_lib:register_geode({
|
geodes_lib:register_geode({
|
||||||
wherein = node in which geodes generate, set to mapgen_stone unless you need it to spawn in a specific place,
|
wherein = -- node in which geodes generate, set to mapgen_stone unless you need it to spawn in a specific place,
|
||||||
y_min = minimum level at which geodes generate,
|
y_min = -- minimum level at which geodes generate,
|
||||||
y_max = maximum level at which geodes generate,
|
y_max = -- maximum level at which geodes generate,
|
||||||
scarcity = rarity of geodes, rarest at 80, lower values not recommended unless you use generation chance,
|
scarcity = -- rarity of geodes, rarest at 80, lower values not recommended unless you use generation chance,
|
||||||
core = node comprising innermost part of geode, usually a crystal such as amethyst,
|
core = -- node comprising innermost part of geode, usually a crystal such as amethyst,
|
||||||
core_alt = replacement for node comprising innermost part of geode, usually a budding node which spawns plantlike drawtype crystal nodes on all sides,
|
core_alt = -- replacement for node comprising innermost part of geode, usually a budding node which spawns plantlike drawtype crystal nodes on all sides,
|
||||||
core_alt_chance = chance of core_alt replacing core,
|
core_alt_chance = -- chance of core_alt replacing core,
|
||||||
shell = array of nodes comprising geode shell, from outermost to innermost,
|
shell = -- array of nodes comprising geode shell, from outermost to innermost,
|
||||||
radius_min = minimum radius of geode cavity,
|
radius_min = -- minimum radius of geode cavity,
|
||||||
radius_max = maximum radius of geode cavity,
|
radius_max = -- maximum radius of geode cavity,
|
||||||
generation_chance = % chance a geode spawns given other conditions, lets geodes be even rarer,
|
generation_chance = -- % chance a geode spawns given other conditions, lets geodes be even rarer,
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
Example:
|
Example:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user