begin adding sounds and fix typo
5
README.txt
Normal file
@ -0,0 +1,5 @@
|
||||
CC by 3.0 sounds:
|
||||
rottewiler http://freesound.org/people/Tomlija/sounds/102547/
|
||||
terrier http://freesound.org/people/Anton/sounds/157322/
|
||||
pug http://freesound.org/people/bspiller5/sounds/180256/
|
||||
bichonfrise http://freesound.org/people/StephenSaldanha/sounds/121891/
|
0
README.txt~
Normal file
42
debug.txt
Normal file
@ -0,0 +1,42 @@
|
||||
|
||||
|
||||
-------------
|
||||
Separator
|
||||
-------------
|
||||
|
||||
Irrlicht log: Irrlicht Engine version 1.8.1
|
||||
Irrlicht log: Linux 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:45 UTC 2014 i686
|
||||
Irrlicht log: Using renderer: OpenGL 4.4.0
|
||||
Irrlicht log: GeForce GT 610/PCIe/SSE2: NVIDIA Corporation
|
||||
Irrlicht log: OpenGL driver version is 1.2 or better.
|
||||
Irrlicht log: GLSL version: 4.4
|
||||
event handled by: maintab
|
||||
event handled by: maintab
|
||||
event handled by: maintab
|
||||
12:31:35: ACTION[main]: Client: Contacting remote server "http://media.digitalis.ga:2082/"
|
||||
Irrlicht log: Could not load texture:
|
||||
Irrlicht log: Could not load texture:
|
||||
Irrlicht log: Could not load texture:
|
||||
Irrlicht log: Could not load texture:
|
||||
Font size: 8 17
|
||||
12:32:44: ERROR[ConnectionSend]: con(16/243)RunTimeouts(): Peer 1 has timed out. (source=peer->timeout_counter)
|
||||
event handled by: maintab
|
||||
event handled by: maintab
|
||||
event handled by: maintab
|
||||
12:33:02: ERROR[main]: generateImage(): Could not load image "wires_off.png" while building texture
|
||||
12:33:02: ERROR[main]: generateImage(): Creating a dummy image for "wires_off.png"
|
||||
12:33:02: ERROR[main]: generateImage(): Could not load image "wires_vertical_off.png" while building texture
|
||||
12:33:02: ERROR[main]: generateImage(): Creating a dummy image for "wires_vertical_off.png"
|
||||
12:33:02: ERROR[main]: generateImage(): Could not load image "wires_on.png" while building texture
|
||||
12:33:02: ERROR[main]: generateImage(): Creating a dummy image for "wires_on.png"
|
||||
12:33:02: ERROR[main]: generateImage(): Could not load image "wires_vertical_on.png" while building texture
|
||||
12:33:02: ERROR[main]: generateImage(): Creating a dummy image for "wires_vertical_on.png"
|
||||
12:33:02: ERROR[main]: generateImage(): Could not load image "wires_bump_off.png" while building texture
|
||||
12:33:02: ERROR[main]: generateImage(): Creating a dummy image for "wires_bump_off.png"
|
||||
12:33:02: ERROR[main]: generateImage(): Could not load image "wires_bump_on.png" while building texture
|
||||
12:33:02: ERROR[main]: generateImage(): Creating a dummy image for "wires_bump_on.png"
|
||||
Irrlicht log: Could not load texture:
|
||||
Irrlicht log: Could not load texture:
|
||||
Irrlicht log: Could not load texture:
|
||||
Irrlicht log: Could not load texture:
|
||||
Font size: 8 17
|
273
init.lua
@ -3,195 +3,94 @@
|
||||
--Definatios, b=black bw=brown w=white y=yellow o=orange
|
||||
--This is for the fur blocks.
|
||||
|
||||
--Black
|
||||
minetest.register_node("dogblocks:fur_b", {
|
||||
description = "Black Fur Block",
|
||||
tiles = {"dogblocks_fur_b.png"},
|
||||
groups = {oddly_breakable_by_hand=3,snappy=2,choppy=2},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = '"dogblocks:fur_b" 6',
|
||||
recipe = {
|
||||
{'', '', ''},
|
||||
{'wool:black', 'wool:black', 'wool:black'},
|
||||
{'wool:black', 'wool:black', 'wool:black'},
|
||||
}
|
||||
})
|
||||
--Brown
|
||||
minetest.register_node("dogblocks:fur_bw", {
|
||||
description = "Brown Fur Block",
|
||||
tiles = {"dogblocks_fur_bw.png"},
|
||||
groups = {oddly_breakable_by_hand=3,snappy=2,choppy=2},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = '"dogblocks:fur_bw" 6',
|
||||
recipe = {
|
||||
{'', '', ''},
|
||||
{'wool:brown', 'wool:brown', 'wool:brown'},
|
||||
{'wool:brown', 'wool:brown', 'wool:brown'},
|
||||
}
|
||||
})
|
||||
--White
|
||||
minetest.register_node("dogblocks:fur_w", {
|
||||
description = "White Fur Block",
|
||||
tiles = {"dogblocks_fur_w.png"},
|
||||
groups = {oddly_breakable_by_hand=3,snappy=2,choppy=2},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = '"dogblocks:fur_w" 6',
|
||||
recipe = {
|
||||
{'', '', ''},
|
||||
{'wool:white', 'wool:white', 'wool:white'},
|
||||
{'wool:white', 'wool:white', 'wool:white'},
|
||||
}
|
||||
})
|
||||
--Yellow
|
||||
minetest.register_node("dogblocks:fur_y", {
|
||||
description = "Yellow Fur Block",
|
||||
tiles = {"dogblocks_fur_y.png"},
|
||||
groups = {oddly_breakable_by_hand=3,snappy=2,choppy=2},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = '"dogblocks:fur_y" 6',
|
||||
recipe = {
|
||||
{'', '', ''},
|
||||
{'wool:yellow', 'wool:yellow', 'wool:yellow'},
|
||||
{'wool:yellow', 'wool:yellow', 'wool:yellow'},
|
||||
}
|
||||
})
|
||||
--Orange
|
||||
minetest.register_node("dogblocks:fur_o", {
|
||||
description = "Orangw Fur Block",
|
||||
tiles = {"dogblocks_fur_o.png"},
|
||||
groups = {oddly_breakable_by_hand=3,snappy=2,choppy=2},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = '"dogblocks:fur_o" 6',
|
||||
recipe = {
|
||||
{'', '', ''},
|
||||
{'wool:orange', 'wool:orange', 'wool:orange'},
|
||||
{'wool:orange', 'wool:orange', 'wool:orange'},
|
||||
}
|
||||
})
|
||||
local colours = {
|
||||
["b"] = "black",
|
||||
["bw"] = "brown",
|
||||
["w"] = "white",
|
||||
["y"] = "yellow",
|
||||
["o"] = "orange"
|
||||
}
|
||||
|
||||
for s,l in pairs(colours) do
|
||||
local desc = string.upper(string.sub(l, 1, 1))..string.sub(l, 2)
|
||||
local name = "dogblocks:fur_"..s
|
||||
local input = "wool:"..l
|
||||
|
||||
minetest.register_node(name, {
|
||||
description = desc.." Fur Block",
|
||||
tiles = {"dogblocks_fur_"..s..".png"},
|
||||
groups = {oddly_breakable_by_hand=3,snappy=2,choppy=2},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = name.." 6",
|
||||
recipe = {
|
||||
{"", "", ""},
|
||||
{input, input, input},
|
||||
{input, input, input},
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
--This is for the actual Dog blocks.------------------------------------------------------------
|
||||
|
||||
--Pug
|
||||
minetest.register_node("dogblocks:dog_p", {
|
||||
description = "Pug Block",
|
||||
tiles = {"dogblocks_dog_p.png"},
|
||||
light_source = 15,
|
||||
groups = {oddly_breakable_by_hand=3,snappy=2,choppy=2},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = '"dogblocks:dog_p" 6',
|
||||
recipe = {
|
||||
{'','','default:torch'},
|
||||
{'dogblocks:fur_b','dogblocks:fur_b','dogblocks:fur_b'},
|
||||
{'dogblocks:fur_b','','dogblocks:fur_b'},
|
||||
local dogs = {
|
||||
["Pug"] = {"b"},
|
||||
["Beagle"] = {"b", "bw", "bw", "w", "w"},
|
||||
["German Shepherd"] = {"b", "b", "bw", "bw", "bw", name="gs"},
|
||||
["Fox Terrier"] = {"w", "w", "bw", name="ft"},
|
||||
["Bichon Frise"] = {"w", name="bf"},
|
||||
["Labrador Retriever"] = {
|
||||
name = "lb",
|
||||
recipe = {
|
||||
{"", "", "default:torch"},
|
||||
{"dogblocks:fur_b", "dogblocks:fur_b", "wool:black"},
|
||||
{"dogblocks:fur_b", "", "dogblocks:fur_b"},
|
||||
}
|
||||
})
|
||||
--Beagle
|
||||
minetest.register_node("dogblocks:dog_b", {
|
||||
description = "Beagle Block",
|
||||
tiles = {"dogblocks_dog_b.png"},
|
||||
light_source = 15,
|
||||
groups = {oddly_breakable_by_hand=3,snappy=2,choppy=2},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = '"dogblocks:dog_b" 6',
|
||||
recipe = {
|
||||
{'','','default:torch'},
|
||||
{'dogblocks:fur_b','dogblocks:fur_bw','dogblocks:fur_bw'},
|
||||
{'dogblocks:fur_w','','dogblocks:fur_w'},
|
||||
|
||||
},
|
||||
["Rottweiler"] = {"b", "b", "b", "bw", "bw"},
|
||||
["Labradoodle"] = {
|
||||
name = "ld",
|
||||
recipe = {
|
||||
{"", "", "default:torch"},
|
||||
{"dogblocks:fur_w", "dogblocks:fur_w", "wool:white"},
|
||||
{"dogblocks:fur_w", "", "dogblocks:fur_w"},
|
||||
}
|
||||
})
|
||||
--German Shepard
|
||||
minetest.register_node("dogblocks:dog_gs", {
|
||||
description = "German Shepherd Block",
|
||||
tiles = {"dogblocks_dog_gs.png"},
|
||||
light_source = 15,
|
||||
groups = {oddly_breakable_by_hand=3,snappy=2,choppy=2},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = '"dogblocks:dog_gs" 6',
|
||||
recipe = {
|
||||
{'','','default:torch'},
|
||||
{'dogblocks:fur_b','dogblocks:fur_b','dogblocks:fur_bw'},
|
||||
{'dogblocks:fur_bw','','dogblocks:fur_bw'},
|
||||
|
||||
},
|
||||
}
|
||||
|
||||
for dog,data in pairs(dogs) do
|
||||
local s = data.name or string.lower(string.sub(dog, 1, 1))
|
||||
local name = "dogblocks:dog_"..s
|
||||
|
||||
local recipe = data.recipe
|
||||
if not recipe then
|
||||
recipe = {
|
||||
{"", "", "default:torch"},
|
||||
{"dogblocks:fur_", "dogblocks:fur_", "dogblocks:fur_"},
|
||||
{"dogblocks:fur_", "", "dogblocks:fur_"},
|
||||
}
|
||||
})
|
||||
--Fox Terrier
|
||||
minetest.register_node("dogblocks:dog_ft", {
|
||||
description = "Fox Terrier Block",
|
||||
tiles = {"dogblocks_dog_ft.png"},
|
||||
light_source = 15,
|
||||
groups = {oddly_breakable_by_hand=3,snappy=2,choppy=2},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = '"dogblocks:dog_ft" 6',
|
||||
recipe = {
|
||||
{'','','default:torch'},
|
||||
{'dogblocks:fur_w','dogblocks:fur_w','dogblocks:fur_bw'},
|
||||
{'dogblocks:fur_w','','dogblocks:fur_w'},
|
||||
}
|
||||
})
|
||||
--Bichon Frise
|
||||
minetest.register_node("dogblocks:dog_bf", {
|
||||
description = "Bichon Frise Block",
|
||||
tiles = {"dogblocks_dog_bf.png"},
|
||||
light_source = 15,
|
||||
groups = {oddly_breakable_by_hand=3,snappy=2,choppy=2},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = '"dogblocks:dog_bf" 6',
|
||||
recipe = {
|
||||
{'','','default:torch'},
|
||||
{'dogblocks:fur_w','dogblocks:fur_w','dogblocks:fur_w'},
|
||||
{'dogblocks:fur_w','','dogblocks:fur_w'},
|
||||
}
|
||||
})
|
||||
--Labrador Retriever
|
||||
minetest.register_node("dogblocks:dog_lb", {
|
||||
description = "Labrador Retriever Block",
|
||||
tiles = {"dogblocks_dog_lb.png"},
|
||||
light_source = 15,
|
||||
groups = {oddly_breakable_by_hand=3,snappy=2,choppy=2},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = '"dogblocks:dog_lb" 6',
|
||||
recipe = {
|
||||
{'','','default:torch'},
|
||||
{'dogblocks:fur_b','dogblocks:fur_b','wool:black'},
|
||||
{'dogblocks:fur_b','','dogblocks:fur_b'},
|
||||
}
|
||||
})
|
||||
--Rottweiler
|
||||
minetest.register_node("dogblocks:dog_r", {
|
||||
description = "Rottweiler Block",
|
||||
tiles = {"dogblocks_dog_r.png"},
|
||||
light_source = 15,
|
||||
groups = {oddly_breakable_by_hand=3,snappy=2,choppy=2},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = '"dogblocks:dog_r" 6',
|
||||
recipe = {
|
||||
{'','','default:torch'},
|
||||
{'dogblocks:fur_b','dogblocks:fur_b','dogblocks:fur_b'},
|
||||
{'dogblocks:fur_bw','','dogblocks:fur_bw'},
|
||||
}
|
||||
})
|
||||
--Labradoodle
|
||||
minetest.register_node("dogblocks:dog_ld", {
|
||||
description = "Labradoodle Block",
|
||||
tiles = {"dogblocks_dog_ld.png"},
|
||||
light_source = 15,
|
||||
groups = {oddly_breakable_by_hand=3,snappy=2,choppy=2},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = '"dogblocks:dog_ld" 6',
|
||||
recipe = {
|
||||
{'','','default:torch'},
|
||||
{'dogblocks:fur_w','dogblocks:fur_w','wool:white'},
|
||||
{'dogblocks:fur_w','','dogblocks:fur_w'},
|
||||
}
|
||||
})
|
||||
|
||||
local default = data[1]
|
||||
|
||||
for i = 1,3 do
|
||||
recipe[2][i] = recipe[2][i]..(data[i] or default)
|
||||
end
|
||||
for i = 1,3,2 do
|
||||
recipe[3][i] = recipe[3][i]..(data[math.ceil(i/2)+3] or default)
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_node(name, {
|
||||
description = dog.." Block",
|
||||
tiles = {"dogblocks_dog_"..s..".png"},
|
||||
light_source = 15,
|
||||
groups = {oddly_breakable_by_hand=3,snappy=2,choppy=2},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = name.." 6",
|
||||
recipe = recipe
|
||||
})
|
||||
end
|
||||
|
96
init.lua~
Normal file
@ -0,0 +1,96 @@
|
||||
-- These is a mod that puts dog blocks. I give credit to, and not in a particular order, OldCoder, kaeza, babyface1013, jojoa1997
|
||||
|
||||
--Definatios, b=black bw=brown w=white y=yellow o=orange
|
||||
--This is for the fur blocks.
|
||||
|
||||
local colours = {
|
||||
["b"] = "black",
|
||||
["bw"] = "brown",
|
||||
["w"] = "white",
|
||||
["y"] = "yellow",
|
||||
["o"] = "orange"
|
||||
}
|
||||
|
||||
for s,l in pairs(colours) do
|
||||
local desc = string.upper(string.sub(l, 1, 1))..string.sub(l, 2)
|
||||
local name = "dogblocks:fur_"..s
|
||||
local input = "wool:"..l
|
||||
|
||||
minetest.register_node(name, {
|
||||
description = desc.." Fur Block",
|
||||
tiles = {"dogblocks_fur_"..s..".png"},
|
||||
groups = {oddly_breakable_by_hand=3,snappy=2,choppy=2},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = name.." 6",
|
||||
recipe = {
|
||||
{"", "", ""},
|
||||
{input, input, input},
|
||||
{input, input, input},
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
--This is for the actual Dog blocks.------------------------------------------------------------
|
||||
|
||||
local dogs = {
|
||||
["Pug"] = {"b"},
|
||||
["Beagle"] = {"b", "bw", "bw", "w", "w"},
|
||||
["German Shepherd"] = {"b", "b", "bw", "bw", "bw", name="gs"},
|
||||
["Fox Terrier"] = {"w", "w", "bw", name="ft"},
|
||||
["Bichon Frise"] = {"w", name="bf"},
|
||||
["Labrador Retriever"] = {
|
||||
name = "lb",
|
||||
recipe = {
|
||||
{"", "", "default:torch"},
|
||||
{"dogblocks:fur_b", "dogblocks:fur_b", "wool:black"},
|
||||
{"dogblocks:fur_b", "", "dogblocks:fur_b"},
|
||||
}
|
||||
|
||||
},
|
||||
["Rottweiler"] = {"b", "b", "b", "bw", "bw"},
|
||||
["Labradoodle"] = {
|
||||
name = "ld",
|
||||
recipe = {
|
||||
{"", "", "default:torch"},
|
||||
{"dogblocks:fur_w", "dogblocks:fur_w", "wool:white"},
|
||||
{"dogblocks:fur_w", "", "dogblocks:fur_w"},
|
||||
}
|
||||
|
||||
},
|
||||
}
|
||||
|
||||
for dog,data in pairs(dogs) do
|
||||
local s = data.name or string.lower(string.sub(dog, 1, 1))
|
||||
local name = "dogblocks:dog_"..s
|
||||
|
||||
local recipe = data.recipe
|
||||
if not recipe then
|
||||
recipe = {
|
||||
{"", "", "default:torch"},
|
||||
{"dogblocks:fur_", "dogblocks:fur_", "dogblocks:fur_"},
|
||||
{"dogblocks:fur_", "", "dogblocks:fur_"},
|
||||
}
|
||||
|
||||
local default = data[1]
|
||||
|
||||
for i = 1,3 do
|
||||
recipe[2][i] = recipe[2][i]..(data[i] or default)
|
||||
end
|
||||
for i = 1,3,2 do
|
||||
recipe[3][i] = recipe[3][i]..(data[math.ceil(i/2)+3] or default)
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_node(name, {
|
||||
description = dog.." Block",
|
||||
tiles = {"dogblocks_dog_"..s..".png"},
|
||||
light_source = 15,
|
||||
groups = {oddly_breakable_by_hand=3,snappy=2,choppy=2},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = name.." 6",
|
||||
recipe = recipe
|
||||
})
|
||||
end
|
BIN
sounds/beagle.0.ogg
Normal file
BIN
sounds/beagle.1.ogg
Normal file
BIN
sounds/beagle.10.ogg
Normal file
BIN
sounds/beagle.11.ogg
Normal file
BIN
sounds/beagle.12.ogg
Normal file
BIN
sounds/beagle.13.ogg
Normal file
BIN
sounds/beagle.2.ogg
Normal file
BIN
sounds/beagle.3.ogg
Normal file
BIN
sounds/beagle.4.ogg
Normal file
BIN
sounds/beagle.5.ogg
Normal file
BIN
sounds/beagle.6.ogg
Normal file
BIN
sounds/beagle.7.ogg
Normal file
BIN
sounds/beagle.8.ogg
Normal file
BIN
sounds/beagle.9.ogg
Normal file
BIN
sounds/bichonfrise.0.ogg
Normal file
BIN
sounds/bichonfrise.1.ogg
Normal file
BIN
sounds/bichonfrise.2.ogg
Normal file
BIN
sounds/german_shepard.0.ogg
Normal file
BIN
sounds/german_shepard.1.ogg
Normal file
BIN
sounds/german_shepard.10.ogg
Normal file
BIN
sounds/german_shepard.11.ogg
Normal file
BIN
sounds/german_shepard.12.ogg
Normal file
BIN
sounds/german_shepard.13.ogg
Normal file
BIN
sounds/german_shepard.2.ogg
Normal file
BIN
sounds/german_shepard.3.ogg
Normal file
BIN
sounds/german_shepard.4.ogg
Normal file
BIN
sounds/german_shepard.5.ogg
Normal file
BIN
sounds/german_shepard.6.ogg
Normal file
BIN
sounds/german_shepard.7.ogg
Normal file
BIN
sounds/german_shepard.8.ogg
Normal file
BIN
sounds/german_shepard.9.ogg
Normal file
BIN
sounds/labrador_retriever.0.ogg
Normal file
BIN
sounds/labrador_retriever.1.ogg
Normal file
BIN
sounds/labrador_retriever.2.ogg
Normal file
BIN
sounds/labrador_retriever.3.ogg
Normal file
BIN
sounds/pug.0.ogg
Normal file
BIN
sounds/pug.1.ogg
Normal file
BIN
sounds/pug.2.ogg
Normal file
BIN
sounds/pug.3.ogg
Normal file
BIN
sounds/pug.4.ogg
Normal file
BIN
sounds/pug.5.ogg
Normal file
BIN
sounds/rottweiler.0.ogg
Normal file
BIN
sounds/rottweiler.1.ogg
Normal file
BIN
sounds/rottweiler.2.ogg
Normal file
BIN
sounds/rottweiler.3.ogg
Normal file
BIN
sounds/rottweiler.4.ogg
Normal file
BIN
sounds/rottweiler.5.ogg
Normal file
BIN
sounds/rottweiler.6.ogg
Normal file
BIN
sounds/rottweiler.7.ogg
Normal file
BIN
sounds/whine.ogg
Normal file
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
BIN
textures/dogblocks_fur_b_normal.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.5 KiB |
BIN
textures/dogblocks_fur_bw_normal.png
Normal file
After Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.4 KiB |
BIN
textures/dogblocks_fur_o_normal.png
Normal file
After Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 7.8 KiB |
BIN
textures/dogblocks_fur_w_normal.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 8.7 KiB |
BIN
textures/dogblocks_fur_y_normal.png
Normal file
After Width: | Height: | Size: 6.3 KiB |