Page 53 of 82

Re: Post your mod requests/ideas here

PostPosted: Sun Nov 29, 2015 13:52
by Dragonop
Sorry, wrong word, not sure how to explain with my english skills; fixing the camera angle to be in 3rd person view and point from a high spot (10-20 blocks) to the player (in diagonal, that why I posted "isometric view"), but making the player model point in a fixed direction, and making it rotate with some keys (you can't move the camera). This is not something thet "enables" building (not in a conventional way, unless you work in some method for it), but for making little games or other stuff like that.

Teleport to the bed if you slept on it

PostPosted: Wed Dec 02, 2015 17:34
by amadin
I need mod which teleport player to the bed (to this bed viewtopic.php?f=18&t=11304&hilit=beds and/or to this viewtopic.php?f=11&t=2625) if player slept on it. To teleport you can use chat command, for example "/home" or button in inventory (inventory_plus and unified_inventory mods). If player never slept on bed he will be teleported to the static spawnpoint.

Instead, I will place under all my posts a link to your mod.

Re: Post your mod requests/ideas here

PostPosted: Thu Dec 03, 2015 11:31
by sact
Would adding a support for compressed mods be possible, .zip, .tar.gz? That would smoothen the end user-experience.

Re: Post your mod requests/ideas here

PostPosted: Thu Dec 03, 2015 11:59
by bark
I want to make/see created a mod that adds a "treasure-chest" that can only be emptied once per player.

When placed, the chest must be configured with which items it is to contain. Once configured, the chest can be opened and emptied by any player, but only once per player.

Can someone can point me in a direction as to how I can achieve this?

Re: Post your mod requests/ideas here

PostPosted: Fri Dec 04, 2015 01:12
by kaeza
One way is modifying the default locked chests, removing the owner checks for inventory withdrawals, effectively making it take-only for everyone except the owner who can put/take items at leisure.

The `bones` mod also has code to "remove" the inventory formspec once the "chest" is empty. Take a look at it.

Re: Post your mod requests/ideas here

PostPosted: Fri Dec 04, 2015 11:37
by bark
Thanks, that is great advice! Will post back here when I have something.

Re: Post your mod requests/ideas here

PostPosted: Fri Dec 04, 2015 16:26
by Glorfindel
bark wrote:I want to make/see created a mod that adds a "treasure-chest" that can only be emptied once per player.

When placed, the chest must be configured with which items it is to contain. Once configured, the chest can be opened and emptied by any player, but only once per player.

Can someone can point me in a direction as to how I can achieve this?

+1 for this idea, then you could have a long journey, following clues, to a chest that can't be emptied by the first player to find it :D

Re: Post your mod requests/ideas here

PostPosted: Fri Dec 04, 2015 17:34
by Don
bark wrote:I want to make/see created a mod that adds a "treasure-chest" that can only be emptied once per player.

When placed, the chest must be configured with which items it is to contain. Once configured, the chest can be opened and emptied by any player, but only once per player.

Can someone can point me in a direction as to how I can achieve this?

Not sure if this helps but you could modify myitemchest to work the way you want it to.
viewtopic.php?f=9&t=13375

Re: Post your mod requests/ideas here

PostPosted: Sun Dec 06, 2015 09:30
by Girl123
I don't know if this was said before, but could it be able to make a duplication chest? Like the Chicken Chest in MC. You put an item in and it clones it.

Re: Post your mod requests/ideas here

PostPosted: Sun Dec 06, 2015 10:12
by Hybrid Dog
Girl123 wrote:I don't know if this was said before, but could it be able to make a duplication chest? Like the Chicken Chest in MC. You put an item in and it clones it.

you can already clone every node using that green clone block which you can find at nyanland

Re: Post your mod requests/ideas here

PostPosted: Tue Dec 08, 2015 17:33
by thefamilygrog66
bark wrote:I want to make/see created a mod that adds a "treasure-chest" that can only be emptied once per player.

When placed, the chest must be configured with which items it is to contain. Once configured, the chest can be opened and emptied by any player, but only once per player.

Can someone can point me in a direction as to how I can achieve this?


Done!
I'll be uploading the code to github shortly...


Image

Re: Post your mod requests/ideas here

PostPosted: Wed Dec 09, 2015 21:37
by Nathan.S
Sorry wrong topic
Is it possible to create a craft that yields something that already has damage. I'm trying to add boiling water to the thirsty mod and want the canteen to loose water when it gets cooked, I know I can spawn things with damage, and initial_give can do damaged objects, but I can't seem to find a way to make a craft recipe that makes something with damage. I'll be cooking if it makes any difference.

Re: Post your mod requests/ideas here

PostPosted: Thu Dec 10, 2015 00:36
by Amaz
Nathan.S wrote:Is it possible to create a craft that yields something that already has damage. I'm trying to add boiling water to the thirsty mod and want the canteen to loose water when it gets cooked, I know I can spawn things with damage, and initial_give can do damaged objects, but I can't seem to find a way to make a craft recipe that makes something with damage. I'll be cooking if it makes any difference.


You could try using register_on_craft with set_wear. https://github.com/minetest/minetest/bl ... 1881-L1886 & https://github.com/minetest/minetest/bl ... .txt#L2724

(I presume this is what you mean by damage...)

Re: Post your mod requests/ideas here

PostPosted: Thu Dec 10, 2015 03:55
by Nathan.S
Amaz, I'll have to try that out, thanks.

Re: Post your mod requests/ideas here

PostPosted: Thu Dec 10, 2015 09:50
by Amaz
I don't know if you got anywhere with it, but I quickly threw this together this morning and it seems to work!
Code: Select all
minetest.register_on_craft(function(itemstack)
    if itemstack:get_name() == "default:pick_mese" then
        itemstack:set_wear(25000)
        return itemstack
    end
end)

Re: Post your mod requests/ideas here

PostPosted: Thu Dec 10, 2015 13:44
by Nathan.S
My last post I made shortly before going to bed, and I just got up, so I didn't have a chance to try anything out, but I certainly will now. :)

Update:
Well it works as expected when crafting, but cooking things doesn't seem to trigger this. >.<

Re: Post your mod requests/ideas here

PostPosted: Thu Dec 10, 2015 14:27
by thefamilygrog66
Nathan.S wrote:My last post I made shortly before going to bed, and I just got up, so I didn't have a chance to try anything out, but I certainly will now. :)

Update:
Well it works as expected when crafting, but cooking things doesn't seem to trigger this. >.<


From the minetest.register_on_craft page (http://dev.minetest.net/minetest.register_on_craft):

IT DOESN'T WORK FOR FURNACE COOKING RECIPES!

Re: Post your mod requests/ideas here

PostPosted: Thu Dec 10, 2015 14:29
by Nathan.S
Hmm, somehow I missed that page. :S

I guess I could always make a new machine that would be used for purifying water, as I can easily set wear on the canteens with such a system.

Re: Post your mod requests/ideas here

PostPosted: Thu Dec 10, 2015 21:13
by bark
Idea: Landscaping tool / brush tool
The tool creates a sphere (of chosen node) at the center of the node the tool-holding player is pointing at while clicking.

The size of the spheres should be adjustable in size. The nodes should be easy to change (perhaps a GUI?).

Imagine the possibilities!

Image

Re: Post your mod requests/ideas here

PostPosted: Fri Dec 11, 2015 14:32
by Glorfindel
awesome idea

Re: Post your mod requests/ideas here

PostPosted: Fri Dec 11, 2015 17:16
by Hybrid Dog
try my rocket launcher
https://github.com/HybridDog/nuke

l use it for building, recently l switched to perlin noise holes.
Take care, it's fullautomatic, i.e. if you hold left click, you shoot a volley of rockets.

Re: Post your mod requests/ideas here

PostPosted: Fri Dec 11, 2015 20:04
by bark
That sounds like a nice approach! But your mod seems to have old and broken / unavailable dependencies. I can't get it to work.

Re: Post your mod requests/ideas here

PostPosted: Fri Dec 11, 2015 20:32
by Hybrid Dog
bark wrote:That sounds like a nice approach! But your mod seems to have old and broken / unavailable dependencies. I can't get it to work.

The dependencies aren't old and broken, you can get them there:
https://github.com/HybridDog/moss
https://github.com/HybridDog/vector_extras

Please tell me if they don't work.
l need to fix the forum topics when l have time.

Re: Post your mod requests/ideas here

PostPosted: Sat Dec 12, 2015 11:01
by bark
Ah, there they are! It works like a charm, and functionality is very close to my suggestion above. I will definitely use this for now.

I didn't find the dependencies because of the links in the readme-files, and didn't bother to look further because of the commentaries in the forum threads.

Thanks, Hybrid Dog!

Re: Post your mod requests/ideas here

PostPosted: Sat Dec 12, 2015 11:55
by Hybrid Dog
l btw also edited Sokomine's replacer mod, you can replace a "field of nodes" at once.
https://github.com/HybridDog/replacer
it's unfinished, e.g. no protection tests yet