-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[wieldview] Orientation of Shovels are wrong/strange #154
Comments
Affected mod: There is no suitable digging animation that would fit the shovel. It looks incorrect in the current state and also with a 270° rotated texture. I don't think this can or should be changed without introducing a better animation. If you'd like to compare it by yourself; here's the requested "fix": diff --git a/wieldview/transform.lua b/wieldview/transform.lua
index 4d5133e..f609982 100644
--- a/wieldview/transform.lua
+++ b/wieldview/transform.lua
@@ -22,3 +22,9 @@ wieldview.transform = {
["vessels:steel_bottle"]="R270",
}
+for name, def in pairs(core.registered_tools) do
+ if (def.groups.shovel or 0) > 0 then
+ wieldview.transform[name] = "R270"
+ print("add" ,name)
+ end
+end
|
I disagree with that. I think being consistent with the positioning of the other tools is better than the current solution. Thank you for the fix you posted. Anyway thank you very much for this great mod. Cheers |
I don't know what you mean but |
Hi,
at least the shovels from Minetest_game/default & from Ethereal are orientated wrong,
or at least the orientation is inconsistent with the other tools.
These mods provide a transformed wield-image for shovels,
e.g. :
wield_image = "default_tool_woodshovel.png^[transformR90",,
(in minetest_game/mods/default/tools.lua Line 123).As a result the shovels will be held more like a gun, alligned parallel to the arm, and not held in the hand.
I'd really like to have at least an option to change this behaviour.
Cheers
The text was updated successfully, but these errors were encountered: