From 79bf7837603e1ec2352d289c1c7fc6f071a9c0a0 Mon Sep 17 00:00:00 2001 From: sys4-fr Date: Sat, 30 Jul 2016 23:00:28 +0200 Subject: [PATCH] Add support for ethereal (orange ingredient) --- depends.txt | 1 + init.lua | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/depends.txt b/depends.txt index 03af5e1..0099c1a 100644 --- a/depends.txt +++ b/depends.txt @@ -4,3 +4,4 @@ farming farming_plus? vessels flowers? +ethereal? diff --git a/init.lua b/init.lua index ad966e9..de5204a 100644 --- a/init.lua +++ b/init.lua @@ -2,8 +2,13 @@ --By: Philipbenr-- --Licence: GPLv3-- +local orange_ing = "farming_plus:orange" +if minetest.get_modpath("ethereal") then + orange_ing = "ethereal:orange" +end + ing = { - orange = "farming_plus:orange", + orange = orange_ing, apple = "default:apple", meat = "mobs:meat", bread = "farming:bread",