You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OldCoder 64273159dd Imported from trollstream "ContentDB" 9 months ago
models Imported from trollstream "ContentDB" 9 months ago
CHANGELOG.md Imported from trollstream "ContentDB" 9 months ago
README.md Imported from trollstream "ContentDB" 9 months ago
init.lua Imported from trollstream "ContentDB" 9 months ago
mod.conf Imported from trollstream "ContentDB" 9 months ago
naturalslopeslib_api.txt Imported from trollstream "ContentDB" 9 months ago
register_slopes.lua Imported from trollstream "ContentDB" 9 months ago
revert.lua Imported from trollstream "ContentDB" 9 months ago
screenshot.png Imported from trollstream "ContentDB" 9 months ago
settingtypes.txt Imported from trollstream "ContentDB" 9 months ago
sloped_stomp.lua Imported from trollstream "ContentDB" 9 months ago
update_shape.lua Imported from trollstream "ContentDB" 9 months ago

README.md

Natural slopes library

  • Version 1.5
  • With thanks to all modders, mainly from the stairs mod for study.

This mod add the ability for nodes to turn into slopes and back to full block shape by themselves according to the surroundings and the material hardness. It creates more natural looking landscapes and smoothes movements by removing some edges.

Slopes can be generated in various ways. Those events can be turned on or off in settings. The shape is updated on generation, with time, by stepping on edges or when digging and placing nodes.

As Minetest main unit is the block, having half-sized blocks can break a lot of things. Thus half-blocks like slopes are still considered as a single block. A single slope can turn back to a full node and vice-versa and half-blocks are not considered buildable upon (they will transform back into full block).

See naturalslopeslib_api.txt for the documentation of the API.

Dependencies

None, this is a standalone library for other mods to build upon. It doesn't have any effect by itself.

Optional dependencies:

  • poschangelib: to enable shape update when walking on nodes
  • twmlib: to enable update from time to time

Source code

  • Written by Karamel
  • Licenced under LGPLv2 or, at your discretion, any later version.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

https://www.gnu.org/licenses/licenses.html#LGPL

Media

  • Models licensed under CC-0.
  • Rough slopes models by DanRPI