[Mod] Drinks [1.0][drinks]

User avatar
Nathan.S
Member
Posts: 1186
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
Contact:

Re: Drinks[drinks]

by Nathan.S » Post

For everybody else with OCD that was irked with some of the drinks saying fruit_item juice, you can put your OCD to rest, I fixed that problem, so now everything displays how we'd expect it too.
I record Luanti videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
Nathan.S
Member
Posts: 1186
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
Contact:

Re: Drinks[drinks]

by Nathan.S » Post

I fixed a small bug with the silos and discovered that somebody already made a mod review video on this :D
If interested you can find it here: https://www.youtube.com/watch?v=7AeFKKf475c
I record Luanti videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

Sokomine
Member
Posts: 4317
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: Drinks[drinks]

by Sokomine » Post

The models are very nice. It's good to have a press around instead of just crafting the juices from the fruits directly. Still, most drinks will only be decorative and seldom needed (unless the thirst mod is installed). Perhaps we could sell juice to mobs. Some more interaction there would be fine. Perhaps all that poor Dungeon Master's longing for is a nice glass of tomato juice :-)
A list of my mods can be found here.

User avatar
Nathan.S
Member
Posts: 1186
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
Contact:

Re: Drinks[drinks]

by Nathan.S » Post

The juices do add a bit of food if you have the hunger mod.
They aren't placeable so they can't really be used for decoration.
I did add the ability to add extra health, or less health to make potion like drinks.
I record Luanti videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
Nathan.S
Member
Posts: 1186
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
Contact:

Re: Drinks[drinks]

by Nathan.S » Post

Update, I've added support for tenplus1's farming_redo mod.
I record Luanti videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

Heraclitus
Member
Posts: 25
Joined: Tue Oct 11, 2016 17:14

Re: Drinks[drinks]

by Heraclitus » Post

This is a fun mod. I love the concept of presses and storage barrels. My kid and I are beginning to work on our own "drinks cellar" slightly underground with barrels and casks of different things. Quite fun.

But I did notice a few (mostly minor) things that might use a little "polish."

(1) The press and barrel don't handle stacks of containers (empty or full) in an intuitive way. If you make the mistake of putting multiple glasses or bottles in, for example, they will just "eat" the extras and just return one glass or whatever to you. Since I assume your goal here was to allow a "one at a time" type of filling, etc., rather than some sort of "machine," I don't know if it's possible to limit input to one glass or whatever. Or perhaps whether at least a warning could be produced rather than just making the extra containers disappear.

(2) Using the mod with "farming redo," some odd things happen. The melon doesn't seem to juice (either in the form of slices or whole ones); not sure why. And some of the names of juices display incorrectly when in barrels: they say "storing grapeS juice" or "storing raspberrIES" juice for fruit that is naturally stacked in bunches in inventory. The naming is correct for a glass, though: "Glass of Grape Juice" or whatever.

(3) This isn't actually a "bug," but just a thought -- it would really be nice if the warning "need more fruit" showed up somewhere in the formspec. Once you figure out how the recipes work and how much fruit you need, it's not a big deal. But at first I didn't think anything worked, because I tried five different kinds of fruit, and nothing was juicing -- turns out I was only using 1 of the fruit and that wasn't enough for a glass. But while inside the formspec, there's no way to know what's going wrong.

User avatar
Nathan.S
Member
Posts: 1186
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
Contact:

Re: Drinks[drinks]

by Nathan.S » Post

Thanks for the input, as an user you bring things to light that I hadn't thought of as the modder, because I know how the mod works.

(1) I didn't intentionally make the machines eat any extra items that are inputted, I just didn't do the extra work to make it so only one item can be placed. I can change that around, I've used the code in other places so I know how to do it. It was intentional that you had to press each container individually, well unless you're juicing directly into a barrel, that is automatic.

(2) I'll have to take a look at that code and see what I can do about getting the naming correct, I'm surprised that the drinks in bottles would be displayed right, but not in the barrels, hopefully an easy fix.

(3) Fixed, I added an extra formspec to the machine, which basically just tells you if you don't have enough fruit, and all three states the formspec can be in now list the amount of fruit needed for the different containers.

I'll get some changes pushed yet tonight, and hopefully the rest in the morning. The naming on farming_redo might take a while longer, as I'll have to figure out what is causing that.

Edit: I added information to the formspec, you need four fruits for a glass, eight for a bottle and sixteen for a bucket. The press, barrel, and silo will now only accept a single container as input or output, so it's unlikely you should loose any of them. You can still put multiple containers in a slot, if you place one, and then place another on top, it will let the second place, but you're just asking for trouble if you do that. I'll look at the naming in the morning, and see if I can figure that out.

Edit #2: Alright, the melons work, in both full and sliced form, and will yield one glass for four of either, so it is in your best interests to slice them before juicing. I've discovered why I have the naming problem. unfortunately I can't easily do much about it. The way I coded the mod it grabs part of the itemstring to create the juice names, and those strings come from the original fruit. It's not a problem with the glasses, bottles, and buckets, as I can set a description text on those, which is the singular form of the fruit. When putting the juices into a barrel or silo it gets the fruit name from the item string. I possibly could add an extra field to the juices registration that would have the name of the fruit in singular form, and then grab that when filling the silos and barrels, but that would break backward compatibility with any partially filled barrels with effected names. I'll look into it this weekend though, if it's not too difficult I'll make the change, otherwise we might just have to live with it.
I record Luanti videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
Nathan.S
Member
Posts: 1186
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
Contact:

Re: Drinks[drinks]

by Nathan.S » Post

Well I was able to get the barrels and silos to display the juice names in singular, but that broke taking drinks out. I might still be able to fix this by adding an extra bit of meta to the barrel or silo that is only used as a display word, and the drinks will continue to use the plural values. It should work but I'm not making any promises. Also please don't pull latest changes, as I broke things, and didn't test as well as I should have before pushing the changes. I'm going to bed, so it will be broken for the night, I know, I'm a horrible person, I should fix this before I rest...
I record Luanti videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
Nathan.S
Member
Posts: 1186
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
Contact:

Re: Drinks[drinks]

by Nathan.S » Post

Alright, it's fixed, well sorta. Using buckets, bottles, and glasses all uses the right word, however when using a press it still will use plural forms of words. Unfortunately the way I have it coded that is nearly impossible to fix. I have no idea how to do it, so it's going to stay wrong, HOWEVER if that bugs you, there is a simple solution. Once the press has filled the barrel use a cup, bottle, or bucket and remove liquid and then add it back, and the name will be corrected.
I record Luanti videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

todada
New member
Posts: 5
Joined: Sat Mar 18, 2017 18:49
GitHub: todada

Re: [Mod] Drinks [1.0][drinks]

by todada » Post

Great mod.
I was missing the ability to place the bottles in the world, like it is possible for the empty ones.
So, I added node definitions for glasses and bottles. Now you can place them in your little bar:
screenshot_20170320_203734.png
screenshot_20170320_203734.png (372.98 KiB) Viewed 1797 times
Vessels shelves are supported and steel bottles added (for completeness).
I've submitted a PR (my first one :-)

Have fun!
Hmmmm.....

User avatar
Nathan.S
Member
Posts: 1186
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
Contact:

Re: [Mod] Drinks [1.0][drinks]

by Nathan.S » Post

I had purposefully not made them able to be placed, but as there is obviously interest I'll see about merging your changes.

Update: Changes merged, you can now place your bottles and glasses of drinks in the world.
I record Luanti videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

dawgdoc
Member
Posts: 260
Joined: Mon Feb 27, 2017 01:10
GitHub: dawgdoc

Re: [Mod] Drinks [1.0][drinks]

by dawgdoc » Post

Is it possible some of your recent fixes to the stand alone mod did not make it into the Survival sub-game?

1) I installed the Survival sub-game about a week ago and experienced the above mentioned error of the press eating vessels when more than one is placed into it.

I have been able to fill cups and bottles from the press and subsequently drink from them when used from the HUD.
2) When I place any of the filled containers in the barrels input slot, it does not take the juice.

3) I have not been able to juice all fruits encountered during play of the sub-game. Unfortunately, I don't know the originating mod of the offending fruits. I do recall I could juice gooseberry and one variety of raspberry (large berry from round bush) but not a second variety of raspberry (small berry from staked plant grown from starters).

I don't know if any of this is applicable to the non-filling of the barrel I am experiencing, but here is a portion of the .txt. I deleted the debug text and then started the game and placed a filled container into the input slot of the barrel. After that I exited the game.
Spoiler
2017-03-26 02:18:23: WARNING[Server]: ServerEnv: Trying to store id = 50 statically but block (13,-2,3) already contains 64 objects. Forcing delete.
2017-03-26 02:18:24: WARNING[Server]: active block modifiers took 403ms (longer than 200ms)
2017-03-26 02:18:26: WARNING[Server]: ServerEnv: Trying to store id = 48 statically but block (13,-2,3) already contains 64 objects. Forcing delete.
2017-03-26 02:18:28: WARNING[Server]: active block modifiers took 351ms (longer than 200ms)
2017-03-26 02:18:31: WARNING[Server]: Deprecated usage of get_node_group, use get_item_group instead
2017-03-26 02:18:33: WARNING[Server]: active block modifiers took 366ms (longer than 200ms)
2017-03-26 02:18:36: WARNING[Server]: active block modifiers took 326ms (longer than 200ms)
2017-03-26 02:18:40: WARNING[Server]: active block modifiers took 250ms (longer than 200ms)
2017-03-26 02:18:43: WARNING[Server]: active block modifiers took 206ms (longer than 200ms)
2017-03-26 02:18:52: WARNING[Server]: active block modifiers took 351ms (longer than 200ms)
2017-03-26 02:18:55: WARNING[Server]: active block modifiers took 303ms (longer than 200ms)
2017-03-26 02:18:56: WARNING[Server]: ServerEnv: Trying to store id = 68 statically but block (7,-2,1) already contains 64 objects. Forcing delete.
2017-03-26 02:18:56: WARNING[Server]: ServerEnv: Trying to store id = 85 statically but block (7,-2,5) already contains 64 objects. Forcing delete.
2017-03-26 02:19:00: WARNING[Server]: active block modifiers took 283ms (longer than 200ms)
2017-03-26 02:19:03: WARNING[Server]: active block modifiers took 390ms (longer than 200ms)
2017-03-26 02:19:07: WARNING[Server]: active block modifiers took 240ms (longer than 200ms)
2017-03-26 02:19:17: WARNING[Server]: active block modifiers took 306ms (longer than 200ms)
2017-03-26 02:19:18: WARNING[Server]: ServerEnv: Trying to store id = 91 statically but block (13,-2,3) already contains 64 objects. Forcing delete.
2017-03-26 02:19:20: WARNING[Server]: active block modifiers took 234ms (longer than 200ms)
2017-03-26 02:19:25: WARNING[Server]: active block modifiers took 266ms (longer than 200ms)
2017-03-26 02:19:28: ACTION[Server]: singleplayer takes stuff from chest at (172,38,45)
2017-03-26 02:19:30: WARNING[Server]: active block modifiers took 280ms (longer than 200ms)
2017-03-26 02:19:40: WARNING[Server]: active block modifiers took 338ms (longer than 200ms)
2017-03-26 02:19:43: WARNING[Server]: active block modifiers took 274ms (longer than 200ms)
2017-03-26 02:19:48: WARNING[Server]: active block modifiers took 248ms (longer than 200ms)
2017-03-26 02:19:51: WARNING[Server]: active block modifiers took 382ms (longer than 200ms)
2017-03-26 02:19:55: WARNING[Server]: active block modifiers took 211ms (longer than 200ms)
2017-03-26 02:20:00: WARNING[Server]: Deprecated usage of get_node_group, use get_item_group instead
2017-03-26 02:20:05: WARNING[Server]: active block modifiers took 266ms (longer than 200ms)
2017-03-26 02:20:08: WARNING[Server]: active block modifiers took 325ms (longer than 200ms)
2017-03-26 02:20:13: WARNING[Server]: active block modifiers took 341ms (longer than 200ms)
2017-03-26 02:20:15: WARNING[Server]: active block modifiers took 211ms (longer than 200ms)
2017-03-26 02:20:19: WARNING[Server]: active block modifiers took 208ms (longer than 200ms)
2017-03-26 02:20:25: WARNING[Server]: active block modifiers took 246ms (longer than 200ms)
2017-03-26 02:20:32: WARNING[Server]: active block modifiers took 247ms (longer than 200ms)
2017-03-26 02:20:35: WARNING[Server]: active block modifiers took 277ms (longer than 200ms)
Before doing this the barrel gui reports as being empty. In previous attempts I have attempted to purge the barrel after removing the full cup/bottle and then repeated placing the cup/bottle. No matter the action I take the barrel always reports as being empty.


EDIT: As a check on myself, I restarted the game, crafted a new barrel, and tried to fill it using both the cup and the glass bottle. No joy with either. I guess it could be that I am expecting the action to happen much more rapidly than it does. But, in my attempts after placing the filled vessel I have both waited for action with the barrel gui open, and I have closed the barrel gui and then come back to it.
Spoiler
2017-03-26 02:58:54: WARNING[Server]: core.env:[...] is deprecated and should be replaced with core.[...]
2017-03-26 02:58:54: WARNING[Main]: Map::getNodeMetadata(): Block not found
2017-03-26 02:58:54: WARNING[Main]: Map::removeNodeMetadata(): Block not found
2017-03-26 02:59:03: WARNING[Server]: active block modifiers took 664ms (longer than 200ms)
2017-03-26 02:59:08: WARNING[Server]: active block modifiers took 257ms (longer than 200ms)
2017-03-26 02:59:12: WARNING[Server]: active block modifiers took 243ms (longer than 200ms)
2017-03-26 02:59:13: WARNING[Server]: ServerEnv: Trying to store id = 63 statically but block (7,-2,1) already contains 64 objects. Forcing delete.
2017-03-26 02:59:13: WARNING[Server]: ServerEnv: Trying to store id = 76 statically but block (7,-2,5) already contains 64 objects. Forcing delete.
2017-03-26 02:59:18: WARNING[Server]: active block modifiers took 666ms (longer than 200ms)
2017-03-26 02:59:25: WARNING[Server]: ServerEnv: Trying to store id = 43 statically but block (13,-2,3) already contains 64 objects. Forcing delete.
2017-03-26 02:59:25: WARNING[Server]: ServerEnv: Trying to store id = 45 statically but block (13,-2,3) already contains 64 objects. Forcing delete.
2017-03-26 02:59:26: WARNING[Server]: active block modifiers took 265ms (longer than 200ms)
2017-03-26 02:59:30: WARNING[Server]: active block modifiers took 334ms (longer than 200ms)
2017-03-26 02:59:36: WARNING[Server]: active block modifiers took 340ms (longer than 200ms)
2017-03-26 02:59:40: WARNING[Server]: active block modifiers took 204ms (longer than 200ms)
2017-03-26 02:59:42: ACTION[Server]: singleplayer takes stuff from chest at (172,37,45)
2017-03-26 02:59:45: WARNING[Server]: active block modifiers took 632ms (longer than 200ms)
2017-03-26 02:59:49: ACTION[Server]: singleplayer takes stuff from chest at (172,37,45)
2017-03-26 02:59:51: ACTION[Server]: singleplayer takes stuff from chest at (172,37,45)
2017-03-26 02:59:54: WARNING[Server]: active block modifiers took 209ms (longer than 200ms)
2017-03-26 02:59:55: ACTION[Server]: singleplayer moves stuff to chest at (172,37,45)
2017-03-26 02:59:56: ACTION[Server]: singleplayer takes stuff from chest at (172,37,45)
2017-03-26 02:59:57: WARNING[Server]: active block modifiers took 275ms (longer than 200ms)
2017-03-26 03:00:02: WARNING[Server]: active block modifiers took 220ms (longer than 200ms)
2017-03-26 03:00:08: WARNING[Server]: active block modifiers took 225ms (longer than 200ms)
2017-03-26 03:00:10: ACTION[Server]: player singleplayer crafts food:liquid_barrel
2017-03-26 03:00:11: WARNING[Server]: active block modifiers took 449ms (longer than 200ms)
2017-03-26 03:00:21: WARNING[Server]: active block modifiers took 446ms (longer than 200ms)
2017-03-26 03:00:28: WARNING[Server]: active block modifiers took 221ms (longer than 200ms)
2017-03-26 03:00:35: WARNING[Server]: active block modifiers took 625ms (longer than 200ms)
2017-03-26 03:00:45: WARNING[Server]: active block modifiers took 292ms (longer than 200ms)
2017-03-26 03:00:45: ACTION[Server]: singleplayer places node food:liquid_barrel at (177,33,48)
2017-03-26 03:00:45: ACTION[Server]: facedir: 0
2017-03-26 03:00:48: WARNING[Server]: active block modifiers took 264ms (longer than 200ms)
2017-03-26 03:00:52: WARNING[Server]: active block modifiers took 265ms (longer than 200ms)
2017-03-26 03:01:00: WARNING[Server]: active block modifiers took 579ms (longer than 200ms)
2017-03-26 03:01:03: WARNING[Server]: active block modifiers took 227ms (longer than 200ms)
2017-03-26 03:01:11: WARNING[Server]: active block modifiers took 355ms (longer than 200ms)
2017-03-26 03:01:15: WARNING[Server]: active block modifiers took 243ms (longer than 200ms)
2017-03-26 03:01:19: WARNING[Server]: active block modifiers took 360ms (longer than 200ms)
2017-03-26 03:01:28: WARNING[Server]: active block modifiers took 614ms (longer than 200ms)
2017-03-26 03:01:34: WARNING[Server]: active block modifiers took 249ms (longer than 200ms)
2017-03-26 03:01:41: WARNING[Server]: active block modifiers took 276ms (longer than 200ms)
2017-03-26 03:01:46: WARNING[Server]: active block modifiers took 291ms (longer than 200ms)
Give a man a fish, feed him for a day. Give a kid a fish, it's going to die.

User avatar
Nathan.S
Member
Posts: 1186
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
Contact:

Re: [Mod] Drinks [1.0][drinks]

by Nathan.S » Post

Dawgdoc that is not only possible, but completely the case. I've actually stopped working, for the most part on that subgame, but I'll try and get these bugs fixed. I've pushed changes, which brings the subgames version of the mod to closely the same point as the standalone mode, though the drinks can't be placed in the subgame, as that introduced a new problem that I haven't solved yet.

Unfortunately that debug doesn't tell me much, but that's my fault. All I can see is that there are too many ABMs executing and taking too long, which I've seen locally, which is my big reason for starting a completely fresh subgame.

Hopefully it will work for you now, try pulling the changes and see if it doesn't work correctly.
I record Luanti videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

dawgdoc
Member
Posts: 260
Joined: Mon Feb 27, 2017 01:10
GitHub: dawgdoc

Re: [Mod] Drinks [1.0][drinks]

by dawgdoc » Post

Nathan.S wrote:Dawgdoc that is not only possible, but completely the case. I've actually stopped working, for the most part on that subgame, but I'll try and get these bugs fixed. I've pushed changes, which brings the subgames version of the mod to closely the same point as the standalone mode, though the drinks can't be placed in the subgame, as that introduced a new problem that I haven't solved yet.

Unfortunately that debug doesn't tell me much, but that's my fault. All I can see is that there are too many ABMs executing and taking too long, which I've seen locally, which is my big reason for starting a completely fresh subgame.

Hopefully it will work for you now, try pulling the changes and see if it doesn't work correctly.
Thank you,

I wasn't sure if you were still working on the sub-game or not, I thought I had seen recent LP videos. BTW, I added this mod, Drinks, to a MT sub-game with farming_redo and was able to load a barrel with bottles and cups, but only the cups from this mod, not the cups that were present from a different mod. I don't recall which mod the bottles were from. I think it was carrots and raspberries that I was able to press. The apples didn't press, IIRC.

I guess I will need to learn to pull git repos / files instead of simply downloading an archive. :-]}


EDIT: I just added in the changes to the sub-game and can now fill the barrel with bottles. I was able to pull juices from the barrel with a canteen. Again, Thank you.
Give a man a fish, feed him for a day. Give a kid a fish, it's going to die.

User avatar
Nathan.S
Member
Posts: 1186
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
Contact:

Re: [Mod] Drinks [1.0][drinks]

by Nathan.S » Post

Cups and things that hold liquids from other mods will not work with my barrels and silos, as only use a naming scheme to determine whether or not they should be able to fill the barrel/silo.

If you normally download the archive, you can still do that, and get a fresh copy that way, it won't make any difference. I just say pull the changes as force of habit, as the code is on github and that is what I always do to update mods.
I record Luanti videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

Chibi ghost
Member
Posts: 845
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: [Mod] Drinks [1.0][drinks]

by Chibi ghost » Post

nice mod ta
edited because my issue righted it's self

LouisCyfer
Member
Posts: 46
Joined: Sun Jun 25, 2017 02:24
GitHub: LouisCyfer

Re: [Mod] Drinks [1.0][drinks]

by LouisCyfer » Post

I wrote a patch for moreblocks/technic_worldgen because i was not able to create wooden slabs

code license CC0/WTFPL

add/edit this at your drink_machines.lua at the top

Code: Select all

-- mod support (moreblocks/technic_worldgen)
local slab_str = "stairs:slab_wood"

function applyModSupport()
	local moreblocks_found = false
	local technic_worldgen = false

	local modnames = minetest.get_modnames()
	
	for i, name in ipairs(modnames) do
		-- minetest.log("[Mod] " .. name)
		if name == "moreblocks" then
			moreblocks_found = true
		end

		if name == "technic_worldgen" then
			technic_worldgen = true
		end
	end

	if moreblocks_found == true and technic_worldgen == true then
		minetest.log("applying patch to mod " .. minetest.get_current_modname())
		minetest.log("converting '" .. slab_str .. "' to 'moreblocks:slab_wood'")
		slab_str = "moreblocks:slab_wood"
	end
end
applyModSupport()

--Craft Recipes

-- added mod-support
minetest.register_craft({
      output = 'drinks:juice_press',
      recipe = {
         {'default:stick', 'default:steel_ingot', 'default:stick'},
         {'default:stick', 'bucket:bucket_empty', 'default:stick'},
         {slab_str, slab_str, 'vessels:drinking_glass'},
         }
})

-- added mod-support
minetest.register_craft({
      output = 'drinks:liquid_barrel',
      recipe = {
         {'group:wood', 'group:wood', 'group:wood'},
         {'group:wood', 'group:wood', 'group:wood'},
         {slab_str, '', slab_str},
         }
})

User avatar
Nathan.S
Member
Posts: 1186
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
Contact:

Re: [Mod] Drinks [1.0][drinks]

by Nathan.S » Post

Odd, I just tried the mod on my machine with moreblocks and technic_worldgen and it works just fine. I did notice that the depends.txt file didn't have the stairs mod listed. I expect that your world doesn't have the stairs mod installed for some reason. If you could check and see if you have the stairs mod installed and report back I'd appreciate it. If you do have the stairs mod installed and still can't make the press and barrel I'll add your code into the mod.

Edit:
Nevermind, I saw your post on the compost mod. I'll go ahead and merge in your changes. Thanks for taking the time to find and fix a problem.
I record Luanti videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

LouisCyfer
Member
Posts: 46
Joined: Sun Jun 25, 2017 02:24
GitHub: LouisCyfer

Re: [Mod] Drinks [1.0][drinks]

by LouisCyfer » Post

I'm using MT latest stable 0.4.16 .. stairs should be included anyways and are ..and yes i posted on the other thread aswell because those 2 were having the mod incompatiblities.

I did not want to steal off anything, just suggesting something that is possibly missing tho hehe.

I'm thankful you took your time reading and replying to it :)

Drgnrdr
Member
Posts: 34
Joined: Tue Jul 11, 2017 08:57

Re: [Mod] Drinks [1.0][drinks]

by Drgnrdr » Post

Had your mod for a few days and used it today. Built a press, barrel and silo. When press is on barrel and juicing, there is no text saying its juicing. Checking the barrel shows it working though filling with juice.
When I was done and was going to go tunneling. I right clicked mapp(mod) to get the resolution I prefer. Then left clicked and game crashed with error

Code: Select all

2017-07-19 01:20:01: ACTION[Server]: singleplayer uses mapp:map, pointing at [nothing]
2017-07-19 01:20:01: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'mapp' in callback item_OnUse(): ...MINETEST\minetest-0.4.16-win64\bin\..\mods\mapp\init.lua:128: attempt to concatenate field 'im' (a nil value)
2017-07-19 01:20:01: ERROR[Main]: stack traceback:
2017-07-19 01:20:01: ERROR[Main]: 	...MINETEST\minetest-0.4.16-win64\bin\..\mods\mapp\init.lua:128: in function 'map_handler'
2017-07-19 01:20:01: ERROR[Main]: 	...MINETEST\minetest-0.4.16-win64\bin\..\mods\mapp\init.lua:23: in function <...MINETEST\minetest-0.4.16-win64\bin\..\mods\mapp\init.lua:22>
destroying the press, barrel and silo got mapp to work again without error. Don't know what caused it. But looks like both mods aren't compatible together, Mapp has no problem with drinks enabled just when using it.

User avatar
Nathan.S
Member
Posts: 1186
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
Contact:

Re: [Mod] Drinks [1.0][drinks]

by Nathan.S » Post

I will look into the press not saying it's juicing when on a barrel, that would be a problem with my mod. The error that you included here doesn't mention anything about the drinks mod. I'd report this on the mapp forum topic, as it looks to be a problem with that mod.

Edit:
Maybe check that you have the latest version of the drinks mod. I just tested it, and the press said juicing.. when it was juicing and had the barrel under it, and papyrus in the container slot.
I record Luanti videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

LouisCyfer
Member
Posts: 46
Joined: Sun Jun 25, 2017 02:24
GitHub: LouisCyfer

Re: [Mod] Drinks [1.0][drinks]

by LouisCyfer » Post

Nathan.S wrote:I will look into the press not saying it's juicing when on a barrel, that would be a problem with my mod. The error that you included here doesn't mention anything about the drinks mod. I'd report this on the mapp forum topic, as it looks to be a problem with that mod.

Edit:
Maybe check that you have the latest version of the drinks mod. I just tested it, and the press said juicing.. when it was juicing and had the barrel under it, and papyrus in the container slot.
mind I ask out of curiousity: is it yet possible to press some juice and let some barrel or silo under or next to it auto-fill?

just in case if not: what you think of such feature?

dawgdoc
Member
Posts: 260
Joined: Mon Feb 27, 2017 01:10
GitHub: dawgdoc

Re: [Mod] Drinks [1.0][drinks]

by dawgdoc » Post

LouisCyfer wrote:
Nathan.S wrote:Maybe check that you have the latest version of the drinks mod. I just tested it, and the press said juicing.. when it was juicing and had the barrel under it, and papyrus in the container slot.
mind I ask out of curiousity: is it yet possible to press some juice and let some barrel or silo under or next to it auto-fill?

just in case if not: what you think of such feature?
You can auto-fill a barrel by doing as Nathan described in his reply. Place a barrel, place a press on top of the barrel. Right click the press and put a papyrus in the lower slot, put a berry or other juice-able item in the top slot and start the process. As far as I know you must transfer juice to a silo with a container; cup, jar, or bucket.
Give a man a fish, feed him for a day. Give a kid a fish, it's going to die.

LouisCyfer
Member
Posts: 46
Joined: Sun Jun 25, 2017 02:24
GitHub: LouisCyfer

Re: [Mod] Drinks [1.0][drinks]

by LouisCyfer » Post

dawgdoc wrote:
LouisCyfer wrote:
Nathan.S wrote:Maybe check that you have the latest version of the drinks mod. I just tested it, and the press said juicing.. when it was juicing and had the barrel under it, and papyrus in the container slot.
mind I ask out of curiousity: is it yet possible to press some juice and let some barrel or silo under or next to it auto-fill?

just in case if not: what you think of such feature?
You can auto-fill a barrel by doing as Nathan described in his reply. Place a barrel, place a press on top of the barrel. Right click the press and put a papyrus in the lower slot, put a berry or other juice-able item in the top slot and start the process. As far as I know you must transfer juice to a silo with a container; cup, jar, or bucket.
thanks!

Would be cool to have some sort of silo-filling aswell, its not a must tho thatfor I asked for opinion(s).
I will try out once I find some papyrus :)

dawgdoc
Member
Posts: 260
Joined: Mon Feb 27, 2017 01:10
GitHub: dawgdoc

Re: [Mod] Drinks [1.0][drinks]

by dawgdoc » Post

LouisCyfer wrote:
dawgdoc wrote:
LouisCyfer wrote: You can auto-fill a barrel by doing as Nathan described in his reply. Place a barrel, place a press on top of the barrel. Right click the press and put a papyrus in the lower slot, put a berry or other juice-able item in the top slot and start the process. As far as I know you must transfer juice to a silo with a container; cup, jar, or bucket.
thanks!

Would be cool to have some sort of silo-filling aswell, its not a must tho thatfor I asked for opinion(s).
I will try out once I find some papyrus :)
I agree. Maybe Nathan will find a way to connect the barrel to the silo using the Pipeworks mod.
Give a man a fish, feed him for a day. Give a kid a fish, it's going to die.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest