Regenerate settingtypes & readme
parent
189e796219
commit
42a9eb9ee8
|
@ -83,6 +83,8 @@ Decrease in chance of ghost spawning per night
|
|||
|
||||
* Type: number
|
||||
* Default: `0.5`
|
||||
* >= `0`
|
||||
* <= `1`
|
||||
|
||||
### `fallback_resolution`
|
||||
|
||||
|
@ -121,6 +123,8 @@ Particles per one metre (= node size)
|
|||
|
||||
* Type: number
|
||||
* Default: `10`
|
||||
* >= `1`
|
||||
* <= `100`
|
||||
|
||||
### `spawn_chance`
|
||||
|
||||
|
@ -128,6 +132,8 @@ Chance of a ghost spawning the first night
|
|||
|
||||
* Type: number
|
||||
* Default: `1`
|
||||
* >= `0`
|
||||
* <= `1`
|
||||
<!--modlib:conf-->
|
||||
|
||||
## API
|
||||
|
|
|
@ -4,22 +4,19 @@ return {
|
|||
particles_per_metre = {
|
||||
type = "number",
|
||||
description = "Particles per one metre (= node size)",
|
||||
min = 1,
|
||||
max = 100,
|
||||
range = {min = 1, max = 100},
|
||||
default = 10
|
||||
},
|
||||
spawn_chance = {
|
||||
type = "number",
|
||||
description = "Chance of a ghost spawning the first night",
|
||||
min = 0,
|
||||
max = 1,
|
||||
range = {min = 0, max = 1},
|
||||
default = 1
|
||||
},
|
||||
chance_reduction_per_night = {
|
||||
type = "number",
|
||||
description = "Decrease in chance of ghost spawning per night",
|
||||
min = 0,
|
||||
max = 1,
|
||||
range = {min = 0, max = 1},
|
||||
default = 0.5
|
||||
},
|
||||
forget_duration_nights = {
|
||||
|
|
|
@ -1,15 +1,22 @@
|
|||
# Decrease in chance of ghost spawning per night
|
||||
ghosts.chance_reduction_per_night (Ghosts Chance reduction per night) float 0.5 0.000000 1.000000
|
||||
[*ghosts.fallback_resolution]
|
||||
# Fallback resolution width
|
||||
ghosts.fallback_resolution.1 (Ghosts Fallback resolution 1) float 64
|
||||
# Fallback resolution height
|
||||
ghosts.fallback_resolution.2 (Ghosts Fallback resolution 2) float 64
|
||||
|
||||
# Whether to always resize textures to the given fallback dimensions. Guarantees support for arbitrary resolution texture packs. If this is not set, texture packs with a resolution lower than the server texture resolution won't work at all; texture packs with a multiple of said resolution will work well, however. A resolution of 64x64 or lower is usually acceptable performance-wise.
|
||||
ghosts.force_fallback_resolution (Ghosts Force fallback resolution) bool false
|
||||
|
||||
# How many nights it takes for a ghost to forget their victim
|
||||
ghosts.forget_duration_nights (Ghosts Forget duration nights) float 10
|
||||
|
||||
# Particles per one metre (= node size)
|
||||
ghosts.particles_per_metre (Ghosts Particles per metre) float 10 1.000000 100.000000
|
||||
|
||||
# Chance of a ghost spawning the first night
|
||||
ghosts.spawn_chance (Ghosts Spawn chance) float 1 0.000000 1.000000
|
||||
ghosts.spawn_chance (Ghosts Spawn chance) float 1 0.000000 1.000000
|
||||
|
||||
[ghosts.fallback_resolution]
|
||||
|
||||
# Fallback resolution width
|
||||
ghosts.fallback_resolution.1 (Ghosts Fallback resolution 1) float 64
|
||||
|
||||
# Fallback resolution height
|
||||
ghosts.fallback_resolution.2 (Ghosts Fallback resolution 2) float 64
|
Loading…
Reference in New Issue