naturalslopeslib/settingtypes.txt

64 lines
3.6 KiB
Plaintext

## Update shape ABM
# Enable or disable the automatic update of the shape of nodes at the surface (requires twmlib mod).
naturalslopeslib_enable_surface_update (Timed surface update) bool true
## Update shape on walk
# Enable or disable shape update when walking on blocks (requires poschangelib mod).
naturalslopeslib_enable_shape_on_walk (Enable shaping by walking on edges) bool true
## Update shape on world generation
# Enable or disable shape update when the world is generated.
# This will probably put a lot of pressure on the server. Hopefully it doesn't happen that frequently.
naturalslopeslib_enable_shape_on_generate (Shape update on generation) bool true
# Define which method is used when generating a new area.
# - VoxelManip (default) is the most efficient one, but the area will be available only once it is completely updated and may be resource intensive. This is the preferred method as map generation is optimized not to impact the game.
# - Progressive is way much slower, but the area is available directly in it's untransformed shape. The nodes will be updated one after the other while the game is rather idle. This method is preferred on old single core CPU that cannot benefit from map generation optimization, if the areas are too long to emerge or if you like to see mountains smoothing themselves progressively.
naturalslopeslib_generation_method (Generation method) enum VoxelManip VoxelManip,Progressive
# Inverted chance factor on generation. The lesser, the more likely the node will be
# generated in their updated shape. 0.1 means 10 times more likely.
naturalslopeslib_update_shape_generate_factor (Generation factor) float 0.05 0
# Inverted chance factor when stomping. The lesser, the more likely the node will be
# updated when walking on it. 0.1 means 10 times more likely.
naturalslopeslib_update_shape_stomp_factor (Stomp factor) float 1.0 0
# Inverted chance factor on digging/placing. The lesser, the more likely the
# nodes will be updated when the neighbour nodes change. 0.1 means 10 times
# more likely.
naturalslopeslib_update_shape_dig_place_factor (Dig/place factor) float 1.0 0
# Inverted chance factor on time. The lesser, the more likely the node will be
# updated with time. 0.1 means 10 times more likely.
naturalslopeslib_update_shape_time_factor (Time factor) float 1.0 0
# Skip n nodes when generating an area. The higher, the less nodes can be updated but it dramatically saves server resources.
naturalslopeslib_update_shape_generate_skip (Generation skip nodes) int 0 0
## Update shape on dig and place
# Enable or disable shape update of neighbor nodes when one is placed or updated.
naturalslopeslib_enable_shape_on_dig_place (Shape update on dig and place) bool true
## Revert changes
# Prevent new updates and revert slopes to their original block shape when they are loaded.
# Activate this function if you would like to deactivate natural slopes in existing worlds, but leave all the slopes mods loaded to prevent unknown nodes to appearing until all revert is done.
# Revert cannot be undone once blocks are loaded.
naturalslopeslib_revert (Revert) bool false
## Rendering
# Rendering mode for slopes. It only affects the visuals. The collision boxes are always matching the cubic style.
# Anything different from Cubic will shows sharp discontinuities between slopes and non-sloped nodes, and will mislead players because the bottom part of a slope is in fact half a node higher than it looks like.
# - Cubic (default) divides blocs in 8 and give stair-like look
# - Smooth uses smooth triangles.
# - Rough shows more accidented slopes.
naturalslopeslib_rendering_mode (Rendering mode) enum Cubic Cubic,Smooth,Rough