Made it into a mod, not a mod pack
|
@ -1,4 +0,0 @@
|
|||
default
|
||||
bucket
|
||||
animalmaterials
|
||||
farming
|
|
@ -1,3 +0,0 @@
|
|||
minetest.register_alias("rubenfood:milk", "animalmaterials:milk")
|
||||
|
||||
minetest.register_alias("rubenfood:egg", "animalmaterials:egg")
|
|
@ -1,4 +0,0 @@
|
|||
default
|
||||
bucket
|
||||
animalmaterials
|
||||
farming
|
|
@ -1,18 +0,0 @@
|
|||
-- RUBENFOOD MOD
|
||||
-- A mod written by rubenwardy that adds
|
||||
-- food to the minetest game
|
||||
-- =====================================
|
||||
-- >> rubenfood_farming/init.lua
|
||||
-- adds support for farming by pilzadam
|
||||
-- =====================================
|
||||
-- [exten] Farming Mod
|
||||
-- =====================================
|
||||
|
||||
print("RubenFood [Extension] - Adding Farming Extension")
|
||||
|
||||
--convert nameholders to relevant farming items
|
||||
minetest.register_alias("rubenfood:flour", "farming:flour")
|
||||
|
||||
--convert farming stuff to updated rubenfood stuff
|
||||
minetest.register_alias("farming:cake_mix", "rubenfood:dough")
|
||||
minetest.register_alias("farming:bread", "rubenfood:bread")
|
53
support.lua
Normal file
|
@ -0,0 +1,53 @@
|
|||
-- RUBENFOOD MOD
|
||||
-- A mod written by rubenwardy that adds
|
||||
-- food to the minetest game
|
||||
-- ======================================
|
||||
-- >> rubenfood/support.lua
|
||||
-- adds support for other modss
|
||||
-- adds items and aliases that are needed
|
||||
-- ======================================
|
||||
-- [regis-item] Flour
|
||||
-- [regis-item] Milk
|
||||
-- [regis-item] Egg
|
||||
-- [regis-food] Cheese
|
||||
-- [craft] Cheese
|
||||
-- [regis-item] Butter
|
||||
-- [craft] Butter
|
||||
-- ======================================
|
||||
|
||||
|
||||
|
||||
|
||||
------------------------------------aliases------------------------------------
|
||||
|
||||
minetest.register_alias("farming:flour","rubenfood:flour")
|
||||
minetest.register_alias("farming:cake_mix", "rubenfood:dough")
|
||||
minetest.register_alias("farming:bread", "rubenfood:bread")
|
||||
|
||||
minetest.register_alias("animalmaterials:milk","rubenfood:milk")
|
||||
minetest.register_alias("animalmaterials:egg","rubenfood:egg")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
------------------------------------farming------------------------------------
|
||||
minetest.register_craftitem("rubenfood:flour", {
|
||||
description = "Flour",
|
||||
inventory_image = "farming_flour.png",
|
||||
})
|
||||
|
||||
------------------------------------animals------------------------------------
|
||||
minetest.register_craftitem("rubenfood:milk", {
|
||||
description = "Milk",
|
||||
image = "animalmaterials_milk.png",
|
||||
on_use = minetest.item_eat(1),
|
||||
groups = { eatable=1 },
|
||||
stack_max=10
|
||||
})
|
||||
|
||||
minetest.register_craftitem("rubenfood:egg", {
|
||||
description = "Egg",
|
||||
image = "animalmaterials_egg.png",
|
||||
stack_max=10
|
||||
})
|
Before Width: | Height: | Size: 918 B After Width: | Height: | Size: 918 B |
Before Width: | Height: | Size: 908 B After Width: | Height: | Size: 908 B |
Before Width: | Height: | Size: 942 B After Width: | Height: | Size: 942 B |
Before Width: | Height: | Size: 696 B After Width: | Height: | Size: 696 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 895 B After Width: | Height: | Size: 895 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 807 B After Width: | Height: | Size: 807 B |
Before Width: | Height: | Size: 854 B After Width: | Height: | Size: 854 B |