1
0
mirror of https://codeberg.org/tenplus1/mobs_animal.git synced 2024-12-23 01:10:25 +01:00

code tidy ' to "

This commit is contained in:
TenPlus1 2019-08-05 09:50:56 +01:00
parent e8709a1d11
commit 901225565c
2 changed files with 13 additions and 13 deletions

24
cow.lua
View File

@ -154,7 +154,7 @@ minetest.register_craftitem(":mobs:bucket_milk", {
description = S("Bucket of Milk"), description = S("Bucket of Milk"),
inventory_image = "mobs_bucket_milk.png", inventory_image = "mobs_bucket_milk.png",
stack_max = 1, stack_max = 1,
on_use = minetest.item_eat(8, 'bucket:bucket_empty'), on_use = minetest.item_eat(8, "bucket:bucket_empty"),
groups = {food_milk = 1, flammable = 3}, groups = {food_milk = 1, flammable = 3},
}) })
@ -162,7 +162,7 @@ minetest.register_craftitem(":mobs:bucket_milk", {
minetest.register_craftitem(":mobs:glass_milk", { minetest.register_craftitem(":mobs:glass_milk", {
description = S("Glass of Milk"), description = S("Glass of Milk"),
inventory_image = "mobs_glass_milk.png", inventory_image = "mobs_glass_milk.png",
on_use = minetest.item_eat(2, 'vessels:drinking_glass'), on_use = minetest.item_eat(2, "vessels:drinking_glass"),
groups = {food_milk_glass = 1, flammable = 3, vessel = 1}, groups = {food_milk_glass = 1, flammable = 3, vessel = 1},
}) })
@ -170,9 +170,9 @@ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "mobs:glass_milk 4", output = "mobs:glass_milk 4",
recipe = { recipe = {
'vessels:drinking_glass', 'vessels:drinking_glass', "vessels:drinking_glass", "vessels:drinking_glass",
'vessels:drinking_glass', 'vessels:drinking_glass', "vessels:drinking_glass", "vessels:drinking_glass",
'mobs:bucket_milk' "mobs:bucket_milk"
}, },
replacements = { {"mobs:bucket_milk", "bucket:bucket_empty"} } replacements = { {"mobs:bucket_milk", "bucket:bucket_empty"} }
}) })
@ -181,9 +181,9 @@ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "mobs:bucket_milk", output = "mobs:bucket_milk",
recipe = { recipe = {
'mobs:glass_milk', 'mobs:glass_milk', "mobs:glass_milk", "mobs:glass_milk",
'mobs:glass_milk', 'mobs:glass_milk', "mobs:glass_milk", "mobs:glass_milk",
'bucket:bucket_empty' "bucket:bucket_empty"
}, },
replacements = { {"mobs:glass_milk", "vessels:drinking_glass 4"} } replacements = { {"mobs:glass_milk", "vessels:drinking_glass 4"} }
}) })
@ -241,15 +241,15 @@ minetest.register_node(":mobs:cheeseblock", {
minetest.register_craft({ minetest.register_craft({
output = "mobs:cheeseblock", output = "mobs:cheeseblock",
recipe = { recipe = {
{'mobs:cheese', 'mobs:cheese', 'mobs:cheese'}, {"mobs:cheese", "mobs:cheese", "mobs:cheese"},
{'mobs:cheese', 'mobs:cheese', 'mobs:cheese'}, {"mobs:cheese", "mobs:cheese", "mobs:cheese"},
{'mobs:cheese', 'mobs:cheese', 'mobs:cheese'}, {"mobs:cheese", "mobs:cheese", "mobs:cheese"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = "mobs:cheese 9", output = "mobs:cheese 9",
recipe = { recipe = {
{'mobs:cheeseblock'}, {"mobs:cheeseblock"},
} }
}) })

View File

@ -21,4 +21,4 @@ dofile(path .. "/panda.lua") -- AspireMint
dofile(path .. "/lucky_block.lua") dofile(path .. "/lucky_block.lua")
print (S("[MOD] Mobs Redo 'Animals' loaded")) print (S("[MOD] Mobs Redo Animals loaded"))