[Mod] Angled Walls [1.5] [angledwalls]

CalebJ
Member
Posts: 407
Joined: Sat Dec 29, 2018 19:21
GitHub: KaylebJay
IRC: KaylebJay
In-game: CalebJ
Location: Tunnelers' Abyss

Re: [Mod] Angled Walls [1.5] [angledwalls]

by CalebJ » Post

This is a really big advancement for an already well developed mod. +1 for the clean sloped walls! You are slowly nearing your goal of harassing servers with 2ManyNodes. :)

User avatar
TumeniNodes
Member
Posts: 2943
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: [Mod] Angled Walls [1.5] [angledwalls]

by TumeniNodes » Post

CalebJ wrote:This is a really big advancement for an already well developed mod. +1 for the clean sloped walls! You are slowly nearing your goal of harassing servers with 2ManyNodes. :)
Thank you, I'm glad you like it.
It was, and still is fun to work on this mod, and the help and ideas which has come from others has been great.
What makes it even nicer, is that it can support many other mods with some simple code (or vice versa).
A Wonderful World

User avatar
TumeniNodes
Member
Posts: 2943
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: [Mod] Angled Walls [1.5] [angledwalls]

by TumeniNodes » Post

Latest update: Models for angled doors have been fixed, as they were off a bit (Thank you Nathan S)
A Wonderful World

xnickx
New member
Posts: 1
Joined: Thu Mar 26, 2020 14:31

Re: [Mod] Angled Walls [1.5] [angledwalls]

by xnickx » Post

Last post was a while ago.. however I love this mod and think it's got a bit more potential if there were crafting recipes. I have come up with some simple ones that give a good idea to how they could be setup. Just a thought. in the attatchment, i made a mistake, the angledwall should have the middle missing from the diamond pattern. Otherwise it would be pretty costly in gae to craft these for big builds.
Untitled.png
Untitled.png (113.21 KiB) Viewed 601 times

User avatar
TumeniNodes
Member
Posts: 2943
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: [Mod] Angled Walls [1.5] [angledwalls]

by TumeniNodes » Post

Thank you.
I will look these over but, I have been planning to move a few of my mods over to minetest mods due to my inability to really stay on top of issues and PRs from others on a steady basis... and feel horrible some end up sitting a while before I even actually look at them.

The only things I have been trying to do lately, is to do some minor clean up and add some changes from MT/MTG as best I can to update them as best I can before trying to send them over.

I am very happy when I see people are using and liking my mods, and I don't like to have people feel they are being ignored.
A Wonderful World

otterwise
New member
Posts: 9
Joined: Mon Dec 07, 2020 11:54

Re: [Mod] Angled Walls [1.5] [angledwalls]

by otterwise » Post

I wrote recipes, but if I append them to angledwalls.lua, it does nothing. Does someone know how to make this work? I'm not very experienced with LUA.

Code: Select all

--Recipes by otterwise

angledwalls.register_recipes = function(angwa_mat)
    minetest.register_craft({
        output = 'angledwalls:angled_wall_' .. angwa_mat .. " 10",
        recipe = {
            {'', 'default:' .. angwa_mat, 'default:' .. angwa_mat},
            {'default:' .. angwa_mat, 'default:' .. angwa_mat, 'default:' .. angwa_mat},
            {'default:' .. angwa_mat, 'default:' .. angwa_mat, ''},
        }
    })

    minetest.register_craft({
        output = 'angledwalls:low_angled_wall_' .. angwa_mat .. " 10",
        recipe = {
            {'', 'default:slab_' .. angwa_mat, 'default:slab_' .. angwa_mat},
            {'default:slab_' .. angwa_mat, 'default:slab_' .. angwa_mat, 'default:slab_' .. angwa_mat},
            {'default:slab_' .. angwa_mat, 'default:slab_' .. angwa_mat, ''},
        }
    })
end

angledwalls.register_recipes("acacia_wood")
angledwalls.register_recipes("aspen_wood")
angledwalls.register_recipes("junglewood")
angledwalls.register_recipes("pine_wood")
angledwalls.register_recipes("wood")
angledwalls.register_recipes("brick")
angledwalls.register_recipes("clay")
angledwalls.register_recipes("coalblock")
angledwalls.register_recipes("cobble")
angledwalls.register_recipes("mossycobble")
angledwalls.register_recipes("desertcobble")
angledwalls.register_recipes("desertstone")
angledwalls.register_recipes("desert_stone_block")
angledwalls.register_recipes("desert_stonebrick")
angledwalls.register_recipes("desert_sandstone")
angledwalls.register_recipes("desert_sandstone_block")
angledwalls.register_recipes("desert_sandstone_brick")
angledwalls.register_recipes("sandstone")
angledwalls.register_recipes("sandstone_block")
angledwalls.register_recipes("sandstonebrick")
angledwalls.register_recipes("silver_sandstone")
angledwalls.register_recipes("silver_sandstone_block")
angledwalls.register_recipes("silver_sandstone_brick")
angledwalls.register_recipes("stone")
angledwalls.register_recipes("stone_block")
angledwalls.register_recipes("stonebrick")
angledwalls.register_recipes("obsidian")
angledwalls.register_recipes("obsidian_block")
angledwalls.register_recipes("obsidian_brick")
angledwalls.register_recipes("obsidian_glass")
angledwalls.register_recipes("bronzeblock")
angledwalls.register_recipes("copperblock")
angledwalls.register_recipes("diamondblock")
angledwalls.register_recipes("goldblock")
angledwalls.register_recipes("meseblock")
angledwalls.register_recipes("steelblock")
angledwalls.register_recipes("tinblock")
angledwalls.register_recipes("glass")
angledwalls.register_recipes("ice")
angledwalls.register_recipes("snow")

waggles09
New member
Posts: 2
Joined: Fri Nov 05, 2021 14:44

Re: [Mod] Angled Walls [1.5] [angledwalls]

by waggles09 » Post

Please forgive the noob-like question: how does one get this to work in the game? I have added the angledwalls mod from the mod browser in the content tab in the game. I can see the modded angled walls in the recipe book, but there are no recipes for them. I have added the circular saw that comes in moreblocks mod, but the angled walls blocks are not showing up on the circular saw crafting table.

Should I have another mod installed to access these blocks?

Config:
Minetest 5.4.1 singleplayer mode on Debian 10 flatpack installation.

thank you!

User avatar
Blockhead
Member
Posts: 1681
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: [Mod] Angled Walls [1.5] [angledwalls]

by Blockhead » Post

otterwise wrote:
Sun Dec 13, 2020 17:46
I wrote recipes, but if I append them to angledwalls.lua, it does nothing. Does someone know how to make this work? I'm not very experienced with LUA.
The issue is a typo. You see, the comment in init.lua lied. The node names for the mod are *actually* angledwalls:angled_wall<subname> i.e. without the second underscore. I figured this out from Unified Inventory and double checking the actual source code.
waggles09 wrote:
Tue Nov 09, 2021 02:29
Please forgive the noob-like question: how does one get this to work in the game? I have added the angledwalls mod from the mod browser in the content tab in the game. I can see the modded angled walls in the recipe book, but there are no recipes for them. I have added the circular saw that comes in moreblocks mod, but the angled walls blocks are not showing up on the circular saw crafting table.

Should I have another mod installed to access these blocks?

Config:
Minetest 5.4.1 singleplayer mode on Debian 10 flatpack installation.

thank you!
Hi waggles,

There are no recipes built into this mod as-is. If you want the recipes written by otterwise above, I have fixed the typo and added them at a fork over on GitHub. This only adds recipes for the full height and half height walls and not the corners, walls, doors and any materials that aren't part of vanilla minetest_game. For anything else you would need to use creative mode or /giveme.

If you need more recipes feed me your ideas and I can implement them for you. Adding more shapes to the circular saw I don't think is feasible if I recall correctly from what I have read of the source of moreblocks (someone please correct me if I'm wrong). So my ideas would be: 1) we could go with standard crafting grid recipes or 2) a specialised copy of the circular saw for just this mod. Let me know what you think.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

waggles09
New member
Posts: 2
Joined: Fri Nov 05, 2021 14:44

Re: [Mod] Angled Walls [1.5] [angledwalls]

by waggles09 » Post

Thank you for the response! I am only trying to activate the angled walls nodes in the game. They are showing up in the 'catalog' but I cannot find any reference on how to create those nodes/blocks in a singleplayer game. I do not know the first thing about creating mods for minetest and don't know the level of effort required for recipes vs. circular saw idea, although I tend to like the saw/workbench concept for angled walls blocks idea better than more recipes. Don't want to reinvent the wheel, if there is an already established simpler way to get those blocks in the singleplayer game then I will gladly go that route. I really appreciate the offer for assistance, though.

Tried the /giveme route, but probably had the syntax incorrect - did not work. Will try in creative mode to see if they are accessible there.

[update] - works in creative mode, but apparently not in singleplayer. I'm cool with that since I was mainly doing creative stuff anyway, with only animal mobs. Trying to do semi-gameplay where I have to 'earn' the raw materials without having to deal with hostile mobs [with the exception of rattlesnakes]

Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests