Search found 156 matches

by LC Creations
Sat May 09, 2020 18:00
Forum: Modding Discussion
Topic: I want to manually punch an ObjectRef is punch() the right way?
Replies: 3
Views: 83

I want to manually punch an ObjectRef is punch() the right way?

I want to simply punch all objects within a radius (not nodes). But when I use object:punch() it does not work. I have tool capabilities and everything but it isnt working. Why?
by LC Creations
Sat May 09, 2020 05:58
Forum: Modding Discussion
Topic: How to execute a function when a player punches and ObjectRef
Replies: 2
Views: 158

How to execute a function when a player punches and ObjectRef

I know about minetest.register_on_punch_node(). But there is no such thing as minetest.register_on_punch(). I need to know when a player hits something so I can do ObjectRef:punch(). I dont really know what to do. I dont want to do any dirty programming and I definitely do not want to use any patche...
by LC Creations
Sat May 09, 2020 04:27
Forum: Modding Discussion
Topic: Is there a way to temporarily make the players hand stronger?
Replies: 4
Views: 189

Is there a way to temporarily make the players hand stronger?

I'm making a power rangers mod. I have functionality for the ranger to "morph", meaning to change into the power ranger form. There is also a function that allows them to "demorph" to go back to being a regular player. This is all done, but... when the player is morphed, I want t...
by LC Creations
Fri May 08, 2020 08:29
Forum: Modding Discussion
Topic: How to register a function dynamically and add it to a table
Replies: 1
Views: 108

How to register a function dynamically and add it to a table

As everyone knows, minetest has a thing where you register functions. Some of them are like minetest.register_on_dignode() or minetest.register_on_player_recieve_fields(). There are MANY more of these. But, I want to create my own table of functions that can be called when a chat command is executed...
by LC Creations
Fri May 08, 2020 07:17
Forum: Modding Discussion
Topic: How do you create/register a group?
Replies: 2
Views: 110

How do you create/register a group?

Title says it all. I want to create a group called "morpher" and add it to a craft item.
by LC Creations
Wed May 06, 2020 00:05
Forum: WIP Mods
Topic: [Modpack] Power Rangers [2.2.0][powerrangers_modpack]
Replies: 2
Views: 613

Re: [Modpack] Power Rangers [1.0.0][powerrangers_modpack]

Hello everyone, Power Rangers has finally been updated from beta to full release. There has been a major change and some items now have crafts.
by LC Creations
Tue May 05, 2020 18:03
Forum: Modding Discussion
Topic: Get the node positions inside a radius then loop
Replies: 2
Views: 89

Get the node positions inside a radius then loop

I need to get ALL the node positions inside a radius then loop through them. Not sure how though. I have tried using minetest.get_objects_inside_radius but that does not work. Is there a way to get all the node positions with a VoxelManip? I need to loop through the positions so I can check them and...
by LC Creations
Mon May 04, 2020 04:06
Forum: General Discussion
Topic: Help! Can someone test my mod?
Replies: 0
Views: 287

Help! Can someone test my mod?

I created a mod called online_shop and published it here. Someone has opened an issue on github here https://github.com/LandonAConway/online_shop/issues/1 and I ran the same exact code that they are running and there are no issues on my side. I'm not sure if this is something only they are facing or...
by LC Creations
Wed Apr 29, 2020 22:41
Forum: General Discussion
Topic: How do you open formspec over another
Replies: 2
Views: 144

How do you open formspec over another

Hello, I want to know how I can open a formspec while another formspec is open. Let's say formspec A is open. It has another button on it and when you click that button then formspec B shows up. I have already coded this part, but the problem is if you close formspec B then formspec A does not show ...
by LC Creations
Wed Apr 15, 2020 01:57
Forum: General Discussion
Topic: Changing a nodes definition at runtime!?
Replies: 2
Views: 162

Changing a nodes definition at runtime!?

Do you ever think minetest will have the ability to change a nodes, craft items, or tools definition at runtime? Is this already something that is under development? Also... what is your opinion about this? Do you think it would be useful? I do... for example changing a nodes texture (instead of rep...
by LC Creations
Mon Apr 06, 2020 21:26
Forum: WIP Mods
Topic: [Mod]Online Shopping[1.0][online_shop]
Replies: 2
Views: 827

Re: [Mod]Online Shopping[1.0][online_shop]

For anyone who has issues please post it here:
Otherwise I will not answer your question.

https://github.com/LandonAConway/online_shopping/issues

This website is too slow right now.
by LC Creations
Mon Apr 06, 2020 21:01
Forum: General Discussion
Topic: Forums are extremely slow
Replies: 2
Views: 318

Forums are extremely slow

What is up with the forums? I have some of the fasted internet that exists (5g) where I'm at and I cannot even load a single page on this forum in more than a minute. It took me more than a minute just to get to this page after a few attempts and getting a no internet connection error page. Someone ...
by LC Creations
Mon Apr 06, 2020 20:54
Forum: General Discussion
Topic: List of mods that you want
Replies: 3
Views: 454

List of mods that you want

I want people to give me a list of mods that they want.
by LC Creations
Fri Apr 03, 2020 09:13
Forum: WIP Mods
Topic: [Mod]Online Shopping[1.0][online_shop]
Replies: 2
Views: 827

[Mod]Online Shopping[1.0][online_shop]

Online Shopping mod The online shop: https://github.com/LandonAConway/online_shopping/blob/master/screenshot.png?raw=true 'Shop Server' node https://github.com/LandonAConway/online_shopping/blob/master/screenshot2.png?raw=true General Information This mod provides a way for any user to buy and trad...
by LC Creations
Thu Apr 02, 2020 19:05
Forum: General Discussion
Topic: What would you think of an online shop mod?
Replies: 5
Views: 681

Re: What would you think of an online shop mod?

Can each player have their own store though? Mine can. Depends on what do you mean when talk about own 'store'. In basic_shop each player can place several items for sale in general / online store. It's not necessary to have a separate tab for each player. Well, I'll have you know I just completed ...
by LC Creations
Wed Apr 01, 2020 21:54
Forum: General Discussion
Topic: Creating a textlist
Replies: 1
Views: 354

Creating a textlist

In minetest.register_on_player_recieve_fields,
How do I get the selected items text?

Also how to I add and remove items from textlists?
by LC Creations
Wed Apr 01, 2020 21:49
Forum: General Discussion
Topic: What would you think of an online shop mod?
Replies: 5
Views: 681

Re: What would you think of an online shop mod?

Can each player have their own store though? Mine can.
by LC Creations
Wed Apr 01, 2020 09:12
Forum: General Discussion
Topic: What would you think of an online shop mod?
Replies: 5
Views: 681

What would you think of an online shop mod?

So, currently, I'm working on an online shop mod. It's like VanessaE's currency mod's shop feature where you have a locked chest that is placed down and you can sell to other users. The way it really works is the same, except instead of users going to that shop node to shop, they would type /online_...
by LC Creations
Wed Apr 01, 2020 02:28
Forum: Modding Discussion
Topic: How to get node meta string before it is dug
Replies: 2
Views: 209

How to get node meta string before it is dug

How to I get the nodes metadata so I can do "meta:get_string("desiredkey")" before it is dug? I tried doing this with the "oldmetadata" in "after_dig_node" but apparently "oldmetadata:get_string()" is not something that is possible.
by LC Creations
Tue Mar 31, 2020 08:41
Forum: General Discussion
Topic: How to store and get data
Replies: 4
Views: 384

Re: How to store and get data

Modding book chapter: https://rubenwardy.com/minetest_modding_book/en/map/storage.html Rubenwardy I just did everything that you just showed me but when I do set_foo("desiredkey", "desiredstring") , I get an exception and it says "bad argument #1 (string expected, got table...
by LC Creations
Tue Mar 31, 2020 08:22
Forum: General Discussion
Topic: How to store and get data
Replies: 4
Views: 384

Re: How to store and get data

Mod storage can NOT only be accessed during load time. You can only call minetest.get_mod_storage() during load time but the storage object it returns can be used whenever. So do something like this: local storage = minetest.get_mod_storage() [rest of the program] Wherever I use mod_storage:set_str...
by LC Creations
Tue Mar 31, 2020 07:07
Forum: General Discussion
Topic: How to store and get data
Replies: 4
Views: 384

How to store and get data

I'm creating a mod for online shopping. It adds to the currency mod that has shops. I know how I'm gonna do it but I need a place to store data. For example, I have a list of strings that I will set as a single string that is set by a single player then I want to get it in another function on anothe...
by LC Creations
Sat Mar 28, 2020 05:37
Forum: General Discussion
Topic: Controversial Minetest Question
Replies: 9
Views: 765

Controversial Minetest Question

I have a controversial question. Do you think it is bad (on an online server) for another player to see what is in your inventory? Do you think it crosses privacy? How important is this? If so what would draw the line for you? I just thought this would be an interesting topic to being up that's all....
by LC Creations
Wed Mar 25, 2020 01:53
Forum: WIP Mods
Topic: [Modpack] Power Rangers [2.2.0][powerrangers_modpack]
Replies: 2
Views: 613

[Modpack] Power Rangers [2.2.0][powerrangers_modpack]

powerrangers_modpack is no longer in beta. [modpack] Adds Power Rangers to Minetest [mod] Morphing Grid [morphinggrid] Documented API for power rangers. [mod] Power Rangers Villians [pr_villians] Undocumented API for power rangers villians. [mod] Communicator [communicator] Adds functionality for t...
by LC Creations
Wed Mar 25, 2020 00:13
Forum: General Discussion
Topic: What license do I need for using 3D Armor as a depend?
Replies: 2
Views: 491

What license do I need for using 3D Armor as a depend?

What license do I need for my mod if I used 3D armor as a depend? I registered armor using it as a depend. I plan on publishing a beta version of my new power_rangers_modpack today.