Compare commits

...

5 Commits

Author SHA1 Message Date
Lars Mueller 20443fb02f Merge branch 'master' of https://github.com/appgurueu/disable_build_where_they_stand 2022-05-13 12:31:54 +02:00
Lars Mueller 0628dca4e4 Fix schema 2022-05-13 12:31:44 +02:00
Lars Mueller 360a06a4e3 Regenerate settingtypes & readme 2022-05-13 12:30:30 +02:00
Lars Müller c83e26c8e7
Remove more dead code 2022-05-13 11:18:28 +02:00
Lars Müller f87dc6e2c2
Remove dead code 2022-05-13 11:16:46 +02:00
3 changed files with 39 additions and 11 deletions

View File

@ -17,7 +17,21 @@ Uses the new modlib configuration system.
<!--modlib:conf:2-->
### `entities`
Also check for entities standing there
Check for entities
* Type: boolean
* Default: `true`
### `nodes`
Check for nodes
* Type: boolean
* Default: `true`
### `players`
Check for players
* Type: boolean
* Default: `true`
@ -28,8 +42,8 @@ Search radius for entities & players
* Type: number
* Default: `10`
* &gt; 0
* &lt;= 100
* &gt; `0`
* &lt;= `100`
### `test`

View File

@ -1,19 +1,25 @@
return {
type = "table",
entries = {
players = {
type = "boolean",
description = "Check for players",
default = true
},
entities = {
type = "boolean",
description = "Also check for entities standing there",
description = "Check for entities",
default = true
},
nodes = {
type = "boolean",
description = "Check for nodes",
default = true
},
search_radius = {
type = "number",
description = "Search radius for entities & players",
values = set,
range = {min_exclusive = 0, max = 100},
int = false,
infinity = false,
nan = false,
default = 10
},
test = {
@ -22,4 +28,4 @@ return {
default = false
}
}
}
}

View File

@ -1,6 +1,14 @@
# Also check for entities standing there
# Check for entities
disable_build_where_they_stand.entities (Disable build where they stand Entities) bool true
# Check for nodes
disable_build_where_they_stand.nodes (Disable build where they stand Nodes) bool true
# Check for players
disable_build_where_they_stand.players (Disable build where they stand Players) bool true
# Search radius for entities & players
disable_build_where_they_stand.search_radius (Disable build where they stand Search radius) float 10
disable_build_where_they_stand.search_radius (Disable build where they stand Search radius) float 10 0.000000 100.000000
# Enable debug mode (visualization of boxes)
disable_build_where_they_stand.test (Disable build where they stand Test) bool false