[Mod] Your Dad's BBQ Mod [bbq]

User avatar
Grizzly Adam
Member
Posts: 252
Joined: Sat Aug 05, 2017 01:28
GitHub: Grizzly-Adam
Location: Lost in America
Contact:

Re: [Mod] Your Dad's BBQ Mod [bbq]

by Grizzly Adam » Post

Drgnrdr-- change the group the food_honey to also support xdecor honey.

Bug fixed in my git.
Check out my Mods: BBQ Mod Crops Plus

User avatar
Grizzly Adam
Member
Posts: 252
Joined: Sat Aug 05, 2017 01:28
GitHub: Grizzly-Adam
Location: Lost in America
Contact:

Re: [Mod] Your Dad's BBQ Mod [bbq]

by Grizzly Adam » Post

Propane Grill renamed Propane Grill Pro, wingless Propane Grill added.
Check out my Mods: BBQ Mod Crops Plus

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

Re: [Mod] Your Dad's BBQ Mod [bbq]

by Drgnrdr » Post

Thanks for the quick fix. Now I'm getting a game crash with the following error

Code: Select all

2018-03-15 00:39:56: WARNING[Server]: Undeclared global variable "crops" accessed at C:\GAMES\MINETEST\bin\..\mods\BBQ/overrides.lua:51
2018-03-15 00:39:56: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'bbq' in callback item_OnPlace(): C:\GAMES\MINETEST\bin\..\mods\BBQ/overrides.lua:51: attempt to index global 'crops' (a nil value)
2018-03-15 00:39:56: ERROR[Main]: stack traceback:
2018-03-15 00:39:56: ERROR[Main]: 	C:\GAMES\MINETEST\bin\..\mods\BBQ/overrides.lua:51: in function <C:\GAMES\MINETEST\bin\..\mods\BBQ/overrides.lua:46>
. This happens ever time I try to plant peppercorn to grow peppers. I use farming-redo.
Last edited by Drgnrdr on Thu Mar 15, 2018 21:13, edited 1 time in total.

User avatar
Grizzly Adam
Member
Posts: 252
Joined: Sat Aug 05, 2017 01:28
GitHub: Grizzly-Adam
Location: Lost in America
Contact:

Re: [Mod] Your Dad's BBQ Mod [bbq]

by Grizzly Adam » Post

Thanks for the report. I will try to get it cleared up for you.
Check out my Mods: BBQ Mod Crops Plus

User avatar
Grizzly Adam
Member
Posts: 252
Joined: Sat Aug 05, 2017 01:28
GitHub: Grizzly-Adam
Location: Lost in America
Contact:

Re: [Mod] Your Dad's BBQ Mod [bbq]

by Grizzly Adam » Post

Removed all crops (garlic, corn, tomato, potato, peppers) from this mod. Either use my Crops Plus mod or the Farming Redo mod to obtain and BBQ these foods. When I originally wrote this I was trying to supply everything needed, but I now realise that most people will have a farming mod as well.
Check out my Mods: BBQ Mod Crops Plus

User avatar
Grizzly Adam
Member
Posts: 252
Joined: Sat Aug 05, 2017 01:28
GitHub: Grizzly-Adam
Location: Lost in America
Contact:

Re: [Mod] Your Dad's BBQ Mod [bbq]

by Grizzly Adam » Post

OK guys--

I made it so ANYTHING can be put in the wood pile, so you are now on the honor system to put ONLY wood in it!

:D
Check out my Mods: BBQ Mod Crops Plus

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

Re: [Mod] Your Dad's BBQ Mod [bbq]

by Drgnrdr » Post

Thank You! Everything works now.

User avatar
Grizzly Adam
Member
Posts: 252
Joined: Sat Aug 05, 2017 01:28
GitHub: Grizzly-Adam
Location: Lost in America
Contact:

Re: [Mod] Your Dad's BBQ Mod [bbq]

by Grizzly Adam » Post

I am glad it is all working for you. Please check out my new thread and vote for what my next mod should be.

viewtopic.php?f=9&t=19824&p=314463#p314463
Check out my Mods: BBQ Mod Crops Plus

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

Re: [Mod] Your Dad's BBQ Mod [bbq]

by Chibi ghost » Post

cool it looks like you've slim-lined this mod having just got my computer from the repair shop I look forward to updating and playing with your mod

User avatar
Grizzly Adam
Member
Posts: 252
Joined: Sat Aug 05, 2017 01:28
GitHub: Grizzly-Adam
Location: Lost in America
Contact:

Re: [Mod] Your Dad's BBQ Mod [bbq]

by Grizzly Adam » Post

Yeah, slimmed it down a little. I need to delete a couple extra textures and it will be as slim as its likely to get.
Check out my Mods: BBQ Mod Crops Plus

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

Re: [Mod] Your Dad's BBQ Mod [bbq]

by Chibi ghost » Post

still cool :D

rgspro
Member
Posts: 97
Joined: Fri Jan 27, 2017 07:13

Re: [Mod] Your Dad's BBQ Mod [bbq]

by rgspro » Post

The grill looks great but the Propane pro does not show up. It is not enabled in the Init.lua After I added the line the Mod works and looks great! I also highlighted the fixes in EP155

I was wondering where my peppercorn went when I read that you removed them. I am using Farming plus so I will look at the farming redo mod and crops plus :)

User avatar
Grizzly Adam
Member
Posts: 252
Joined: Sat Aug 05, 2017 01:28
GitHub: Grizzly-Adam
Location: Lost in America
Contact:

Re: [Mod] Your Dad's BBQ Mod [bbq]

by Grizzly Adam » Post

Thanks, I missed that file on the upload. Just updated.
Check out my Mods: BBQ Mod Crops Plus

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

Re: [Mod] Your Dad's BBQ Mod [bbq]

by Chibi ghost » Post

Code: Select all

--Veggie Packet Craft Recipe
minetest.register_craft( {
	output = "bbq:veggie_packet_raw 2",
	type = "shapeless",
	recipe = {"bbq:pepper_ground", "group:food_tomato", "group:food_potato", "group:food_corn", "bbq:foil"}
})
Image
Attachments
screenshot_20180326_104627.png
(290.29 KiB) Not downloaded yet
Last edited by Chibi ghost on Mon Mar 26, 2018 12:48, edited 3 times in total.

User avatar
Grizzly Adam
Member
Posts: 252
Joined: Sat Aug 05, 2017 01:28
GitHub: Grizzly-Adam
Location: Lost in America
Contact:

Re: [Mod] Your Dad's BBQ Mod [bbq]

by Grizzly Adam » Post

It will be group:food_pepper_ground, but I will get it fixed up after work. Seems like whenever you take something out you miss some references even with replace all. No worries, hopefully this will be the last of them for a while.
Check out my Mods: BBQ Mod Crops Plus

User avatar
Grizzly Adam
Member
Posts: 252
Joined: Sat Aug 05, 2017 01:28
GitHub: Grizzly-Adam
Location: Lost in America
Contact:

Re: [Mod] Your Dad's BBQ Mod [bbq]

by Grizzly Adam » Post

Chibi ghost wrote:

Code: Select all

--Veggie Packet Craft Recipe
minetest.register_craft( {
	output = "bbq:veggie_packet_raw 2",
	type = "shapeless",
	recipe = {"bbq:pepper_ground", "group:food_tomato", "group:food_potato", "group:food_corn", "bbq:foil"}
})
Image
Fixed. Thanks for letting me know and for shopping at Grizzly Adam's.
Check out my Mods: BBQ Mod Crops Plus

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

Re: [Mod] Your Dad's BBQ Mod [bbq]

by Chibi ghost » Post

thank you

User avatar
false_chicken
Member
Posts: 52
Joined: Wed Feb 04, 2015 23:41
GitHub: falsechicken
In-game: false_chicken
Location: Florida, USA

Re: [Mod] Your Dad's BBQ Mod [bbq]

by false_chicken » Post

Dude this is so dope. And your Swanson avatar just makes it that much better xD.
DISCLAIMER: I am probably wrong.

User avatar
Grizzly Adam
Member
Posts: 252
Joined: Sat Aug 05, 2017 01:28
GitHub: Grizzly-Adam
Location: Lost in America
Contact:

Re: [Mod] Your Dad's BBQ Mod [bbq]

by Grizzly Adam » Post

Thanks :)
Check out my Mods: BBQ Mod Crops Plus

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

Re: [Mod] Your Dad's BBQ Mod [bbq]

by Chibi ghost » Post

it's the only cooking mod that makes me feel hungry ''D:

minerdudetest
Member
Posts: 38
Joined: Mon Jul 02, 2018 17:16

Re: [Mod] Your Dad's BBQ Mod [bbq]

by minerdudetest » Post

Hey! Same base version 0.4.17.1 on client (Debian Testing) and on server (nixOS).
When on client user ("andy" below) takes a grill spatula and left click it in hand, server ("userp" below) crashes with:

2018-07-02 17:42:26: ACTION[Server]: andy uses bbq:spatula, pointing at [nothing]
2018-07-02 17:42:26: ACTION[Main]: [fishing] Server shuts down. saving trophies table
2018-07-02 17:42:27: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'bbq' in callback item_OnUse(): Invalid position (expected table got nil).
2018-07-02 17:42:27: ERROR[Main]: stack traceback:
2018-07-02 17:42:27: ERROR[Main]: [C]: in function 'get_node'
2018-07-02 17:42:27: ERROR[Main]: /home/userp/.minetest/mods/BBQ/crafts.lua:826: in function </home/userp/.minetest/mods/BBQ/crafts.lua:823>
2018-07-02 17:42:27: ERROR[Main]: stack traceback:
2018-07-02 17:42:27: ERROR[Main]: [C]: in function 'get_node'
2018-07-02 17:42:27: ERROR[Main]: /home/userp/.minetest/mods/BBQ/crafts.lua:826: in function </home/userp/.minetest/mods/BBQ/crafts.lua:823>

How can I possibly fix it? Thank you!

minerdudetest
Member
Posts: 38
Joined: Mon Jul 02, 2018 17:16

Re: [Mod] Your Dad's BBQ Mod [bbq]

by minerdudetest » Post

false_chicken wrote:...
I am very sorry, I searched for 1 hour on google for this problem, looked at github, tried working out my own solution (I am terrible with lua), - before posting here.

Now just after posting I discover this snippet, and it works!

Basically, one needs (in BBQ/crafts.lua, approx. at line 823):

@@@ on_use = function(itemstack, placer, pointed_thing)
+++
+++ if pointed_thing.under == nil then return end
+++

I am not sure if this should be added to other places that invoke get_node. Could be a good idea.
Thanks!

User avatar
Grizzly Adam
Member
Posts: 252
Joined: Sat Aug 05, 2017 01:28
GitHub: Grizzly-Adam
Location: Lost in America
Contact:

Re: [Mod] Your Dad's BBQ Mod [bbq]

by Grizzly Adam » Post

Thanks, Iwill work on this when I get a chance.
Check out my Mods: BBQ Mod Crops Plus

UlamTheLucky
New member
Posts: 2
Joined: Mon May 29, 2017 23:23

Re: [Mod] Your Dad's BBQ Mod [bbq]

by UlamTheLucky » Post

Chibi ghost wrote:
Sat Mar 10, 2018 19:43
found me a mod clash between farming and BBQ
involving salt the same recipe (boiling water filled buckets) is used for both farming salt and bbq sea salt and farming overrides bbq
one way to fix it is the same way you include a salt group like you included a sugar group
I wish I knew how to do it my self but programming is a skill I do not possess
I thought of a neat way to resolve this. Did some checking and to get 'salt' like table salt, you mix up sea salt with sulfuric acid (not quite the full process), but close. So, thought of this if you have technic: alloy furnace: water + sulfur dust. -> sulfuric acid. Then in the alloy furnace sulferic acid + sea salt = salt.

I was going to make a small mod that did that, but not sure how to get the alloy recipe added outside of the technic mod itself. Here's the code I added:

In the technic mod: alloy_recipes.lua

{"farming:water_bottle", "technic:sulfur_dust", "farming:sulfuric_acid", 3},
{"farming:sulfuric_acid", "bbq:sea_salt", "farming:salt", 3}

And in the farming mod somewhere where other items were getting defined:

--= Sulfuric Acid
minetest.register_node("farming:sulfuric_acid", {
description =("Sulfuric Acid"),
inventory_image = "sulfuric_acid.png",
wield_image = "sulfuric_acid.png",
drawtype = "plantlike",
visual_scale = 0.8,
paramtype = "light",
tiles = {"sulfuric_acid.png"},
groups = {food_salt = 1, vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_defaults(),
selection_box = {
type = "fixed",
fixes = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
},
})

And I made small texture for it with the glass vials.
Probably should have added that the BBQ mod, rather than farming... but not hard to fix up similarly.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests