From 6d99e7b2544216c450e5796c6082f16324dd5671 Mon Sep 17 00:00:00 2001 From: copygirl Date: Sat, 14 Oct 2023 13:51:51 +0200 Subject: [PATCH] Add README --- README.md | 15 +++++++++++++++ mod.conf | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..9f4ff73 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# NodeCore Extended Rotating + +This mod follows in the footsteps of the useful [Extended Placement] mod for +[Minetest] and adds the ability to rotate certain nodes from [NodeCore] such +as optics and doors easily, without having to cycle through all possible +rotations every time. + +Rotating a node can be done in two ways, either by clicking the center or the +edge of a face. By interacting with the center, the node rotates around that +face. When interacting with the edge, the node is "pushed" that way, rotating +away from you. Sneaking inverts the direction of the rotation. + +At this time, nodes that can be rotated are hardcoded into the mod, since +their valid orientations can't be easily extracted. A function mimicking +NodeCore's own rotation logic has to be provided. diff --git a/mod.conf b/mod.conf index 29e4153..114557e 100755 --- a/mod.conf +++ b/mod.conf @@ -1,5 +1,5 @@ name = nc_extended_rotating title = NodeCore Extended Rotating author = copygirl -description = Improves rotating of doors and optics in NodeCore. +description = Rotate optics and doors from NodeCore with ease. depends = nc_api_all