fix error

master
runs 2019-04-09 00:15:29 +02:00
parent b9e563f8ae
commit edaced8226
7 changed files with 3 additions and 6 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,8 +1,6 @@
local modpath, S = ...
--Pet Hairbrush
if petz.settings.tamagochi_mode then
minetest.register_craftitem("petz:hairbrush", {
description = S("Hairbrush"),
inventory_image = "petz_hairbrush.png",
@ -18,7 +16,6 @@ if petz.settings.tamagochi_mode then
{"default:stick", "", ""},
}
})
end
--Pet Bowl
minetest.register_node("petz:pet_bowl", {

View File

@ -7,7 +7,7 @@ petz.settings.tamagochi_mode = settings:get_bool("tamagochi_mode", true)
petz.settings.tamagochi_check_time = tonumber(settings:get("tamagochi_check_time"))
petz.settings.tamagochi_hunger_damage = tonumber(settings:get("tamagochi_hunger_damage"))
--Create a table with safe nodes
function string:split(inSplitPattern, outResults)
function petz:split(inSplitPattern, outResults)
if not outResults then
outResults = { }
end

View File

@ -68,6 +68,6 @@ under license “Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
--------------------------------------------
filename: petz_calf_moaning.ogg
Author: Alexander
http://www.orangefreesounds.com/cow-mooing-sound/
http://www.orangefreesounds.com/moo-sound/
License: The sound effect is permitted for non-commercial use
under license “Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
under license “Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 337 B

After

Width:  |  Height:  |  Size: 336 B