Search found 15 matches
- Wed Jul 31, 2019 20:46
- Forum: Mod Releases
- Topic: [Mod] Pipeworks [git] [pipeworks]
- Replies: 694
- Views: 243580
Re: [Mod] Pipeworks [git] [pipeworks]
I have an issue with how this mod works - specifically flow control. Maybe someone can help me out. I have 1 auto-crafter that receives Cobblestone and makes Gravel (the server has a recipe for that). My supply of cobblestone is automated. Now I have connected a Blinking Plant to an Injector that ta...
- Sun Apr 08, 2018 16:40
- Forum: Modding Discussion
- Topic: Entity pitch?
- Replies: 9
- Views: 835
Re: Entity pitch?
That makes sense, at least there's kind of a work around. I haven't found a case where I absolutely needed to make pitch but I was changing how some frames worked to allow rotation and various attachment of the displayed object in it - and wanted to make a tiled/upside-down entity. Doesn't quite see...
- Sun Apr 08, 2018 14:22
- Forum: Modding Discussion
- Topic: Entity pitch?
- Replies: 9
- Views: 835
Entity pitch?
Hi guys, I was experimenting with entities in the past and was left with the impression that we can't set an enetity's pitch angle. However, just recently when doing some other mods i suddenly realized that the mine-carts actually change angle when ascending/descending slopes. I made sure - and sure...
- Thu Oct 19, 2017 07:25
- Forum: WIP Mods
- Topic: [mod] scitest - Reservoirs
- Replies: 3
- Views: 579
Re: [mod] scitest - Reservoirs
Is there an API for taking/adding liquid to/from a reservoir? No, there isn't. Right now it's designed to handle bucket input/output only, but this can be generalised by performing a lookup in the bucket liquid registration table. It's something I thought about too since I eventually wanted these t...
- Wed Oct 18, 2017 18:43
- Forum: WIP Mods
- Topic: [mod] scitest - Reservoirs
- Replies: 3
- Views: 579
[mod] scitest - Reservoirs
The name is a bit misleading. Scitest is meant to be a machinery/useful items mod, with quite a big scope. But as I'm busy, the progress going to be slow. Until then, I wanted to release the functional Reservoirs: Reservoir: Reservoirs can store liquid of any type that a bucket can. They keep their ...
- Mon Sep 25, 2017 18:29
- Forum: WIP Mods
- Topic: [Mod] Treasure Chest
- Replies: 4
- Views: 816
Re: [Mod] Treasure Chest
Another alterable treasure chest mod. Good job! Heh, thanks. I didn't see the other mod until after I had started mine, and I wanted my mod for my server. Also it was a good small project to learn the minetest api, to get more into modding. Any features you think would be useful? The two I was thin...
- Sun Sep 24, 2017 19:50
- Forum: WIP Mods
- Topic: [Mod] Treasure Chest
- Replies: 4
- Views: 816
[Mod] Treasure Chest
The mod adds a single non-craftable node called a Treasure Chest, which is basically a per-individual, semi-randomized reward chest, intended to be used for challenge/puzzle rewards. https://i.imgur.com/Lh0sZ6J.png?1 Features: Can give up to 6 stacks as reward, with optional probability factor for e...
- Sun Sep 24, 2017 16:18
- Forum: Modding Discussion
- Topic: Post your modding questions here
- Replies: 4208
- Views: 398686
Re: Post your modding questions here
Note that meta data is also usually sent to the client, so make sure you mark any such secret fields as private: https://rubenwardy.com/minetest_modding_book/lua_api.html#mark_as_privatenameorname1name2 Hah, I *just* realised that you're the author of that site. Thanks - didn't know about private m...
- Sun Sep 24, 2017 13:55
- Forum: Modding Discussion
- Topic: Post your modding questions here
- Replies: 4208
- Views: 398686
Re: Post your modding questions here
That's hacky and a bad idea. I suggest reading about contexts Remember that a malicious client can modify anything that you send to it, so don't give it the ability to choose a position unless you check that the position is in range in the callback, and always check for permissions in the callback ...
- Sun Sep 24, 2017 09:47
- Forum: Modding Discussion
- Topic: Post your modding questions here
- Replies: 4208
- Views: 398686
Re: Post your modding questions here
You can do more than just show the formspec in on_rightclick. [snipped] Ah ok, I see. I wasn't sure about using a mod-global list of names cause I wasn't sure of the access order - e.g. if I store the pos in a table, my form shows, but then another of my form's right click is process before mine, u...
- Sun Sep 24, 2017 04:01
- Forum: Modding Discussion
- Topic: Post your modding questions here
- Replies: 4208
- Views: 398686
Re: Post your modding questions here
Maybe edit features/buttons of formspec only visible to players with privileges or have 2 formspecs...priv check determines which one to show. That makes sense, but it doesn't solve my problem. I can use privileges as you suggested, if I use minetest.show_formspec - but then I don't get the positio...
- Sun Sep 24, 2017 01:33
- Forum: Modding Discussion
- Topic: Post your modding questions here
- Replies: 4208
- Views: 398686
Re: Post your modding questions here
Maybe you could have a mod like Advanced Ranks in the depends.txt and have your mod verify "rank" to determine who sees what. or create your own privs for people you want to have full access to formspecs I think using privs might be good, but how would I go about to stop the formspec stor...
- Sun Sep 24, 2017 00:55
- Forum: Modding Discussion
- Topic: Post your modding questions here
- Replies: 4208
- Views: 398686
Re: Post your modding questions here
Hi, I'm trying to create a formspec to display some meta-data for a node, and let the user edit that meta-data. Except the catch is, the formspec only displays for certain users (e.g. admins/moderators), while it actually has a completely different functionality for normal users. That seems to be a ...
- Mon Sep 18, 2017 19:46
- Forum: Servers
- Topic: [Server] Zen-Craft
- Replies: 3
- Views: 398
Re: [Server] Zen-Craft
I've removed the custom heart graphic used for the hp bar. Doesn't seem to load right on phones for some reason.PurpleOne wrote:Here's the picture. Hope it's fixable.
- Mon Sep 18, 2017 19:28
- Forum: Servers
- Topic: [Server] Zen-Craft
- Replies: 3
- Views: 398
[Server] Zen-Craft
I can't delete my own post since people replied, so I'm editing it instead. If anyone sees this, I've started the rework of the server, it's now under the name of Zen World. I'm going to do some work on this server to try and improve it, until then I would rather not advertise it l, as it is nowhere...