From 84a5f5f8c9c1c802972b3d643d4e913f00246acc Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 11 Feb 2017 02:33:36 +0100 Subject: Add rotate_node template text --- API.md | 2 ++ init.lua | 1 + locale/de.txt | 1 + locale/template.txt | 1 + 4 files changed, 5 insertions(+) diff --git a/API.md b/API.md index 4724328..a5bde8b 100644 --- a/API.md +++ b/API.md @@ -143,6 +143,8 @@ to avoid redundancy and to increase consistency for simple things. Read ##### Usage help * `doc.sub.items.temp.eat`: For eatable items using the `on_use=minetest.item_eat(1)` idiom * `doc.sub.items.temp.eat_bad`: Same as above, but eating them is considered a bad idea +* `doc.sub.items.temp.rotate_node`: For nodes with `on_place=minetest.rotate_node`, + explains placement and rotation ### Entry creation By default, an entry for each item is added automatically, except for items diff --git a/init.lua b/init.lua index db8425f..16895fd 100644 --- a/init.lua +++ b/init.lua @@ -16,6 +16,7 @@ doc.sub.items.temp.craftitem = S("This item is primarily used for crafting other doc.sub.items.temp.eat = S("Hold it in your hand, then leftclick to eat it.") doc.sub.items.temp.eat_bad = S("Hold it in your hand, then leftclick to eat it. But why would you want to do this?") +doc.sub.items.temp.rotate_node = S("This block's rotation is affected by the way you place it: Place it on the floor or ceiling for a vertical orientation; place it at the side for a horizontal orientation. Sneaking while placing it leads to a perpendicular orientation instead.") doc.sub.items.settings = {} doc.sub.items.settings.friendly_group_names = false diff --git a/locale/de.txt b/locale/de.txt index 3c6b94a..8bc67ad 100644 --- a/locale/de.txt +++ b/locale/de.txt @@ -137,3 +137,4 @@ Durability: @1 = Haltbarkeit: @1 Mining durability: = Grabehaltbarkeit: • @1, level @2: @3 uses = • @1, Stufe @2: @3 Benutzungen • @1, level @2: Unlimited = • @1, Stufe @2: Unbegrenzt +This block's rotation is affected by the way you place it: Place it on the floor or ceiling for a vertical orientation; place it at the side for a horizontal orientation. Sneaking while placing it leads to a perpendicular orientation instead. = Die Rotation dieses Blocks hängt davon ab, wie sie ihn platzieren: Platzieren Sie ihn auf den Boden oder an die Decke, um ihn vertikal aufzustellen; platzieren Sie in an der Seite für eine horizontale Ausrichtung. Wenn Sie während des Bauens schleichen, wird der Block stattdessen senkrecht zur üblichen Ausrichtung rotiert. diff --git a/locale/template.txt b/locale/template.txt index 0de5c3a..5f71c75 100644 --- a/locale/template.txt +++ b/locale/template.txt @@ -137,3 +137,4 @@ Durability: @1 = Mining durability: = • @1, level @2: @3 uses = • @1, level @2: Unlimited = +This block's rotation is affected by the way you place it: Place it on the floor or ceiling for a vertical orientation; place it at the side for a horizontal orientation. Sneaking while placing it leads to a perpendicular orientation instead. = -- cgit v1.2.3