First Upload

master
DonBatman 2016-03-25 07:52:17 -07:00
commit 3e95c4e508
25 changed files with 411 additions and 0 deletions

0
modpack.txt Normal file
View File

7
mypaint_dirt/README.md Normal file
View File

@ -0,0 +1,7 @@
# mypaint_dirt
Paint all the default dirt nodes.
Requires mypaint.
Licence - DWYWPL

2
mypaint_dirt/depends.txt Normal file
View File

@ -0,0 +1,2 @@
default
mypaint

View File

@ -0,0 +1 @@
Allows you to paint dirt.

81
mypaint_dirt/init.lua Normal file
View File

@ -0,0 +1,81 @@
local mypaint_dirt_colors = {
{"black", "Black", "#000000b0",1},
{"blue", "Blue", "#015dbb70",1},
{"brown", "Brown", "#a78c4570",1},
{"cyan", "Cyan", "#01ffd870",1},
{"darkgreen", "Dark Green", "#005b0770",1},
{"darkgrey", "Dark Grey", "#303030b0",1},
{"green", "Green", "#61ff0170",1},
{"grey", "Grey", "#5b5b5bb0",1},
{"magenta", "Magenta", "#ff05bb70",1},
{"orange", "Orange", "#ff840170",1},
{"pink", "Pink", "#ff65b570",1},
{"red", "Red", "#ff000070",1},
{"violet", "Violet", "#2000c970",1},
{"white", "White", "#abababc0",1},
{"yellow", "Yellow", "#e3ff0070",1},
{"clear", "Clear", "#000000:0",1},
}
local paintables = {
"default:dirt","default:dirt_with_grass","default:dirt_with_dry_grass","default:dirt_with_snow"
}
for _, entry in ipairs(mypaint_dirt_colors) do
local color = entry[1]
local desc = entry[2]
local paint = "^[colorize:"..entry[3]
local nici = entry[4]
-- Dirt
minetest.register_alias("default:dirt", "default:dirt_clear")
minetest.register_node(":default:dirt_" .. color, {
description = desc .. " Dirt",
tiles = {"default_dirt.png".. paint},
groups = {crumbly = 3, soil = 1, not_in_creative_inventory = nici},
sounds = default.node_sound_dirt_defaults(),
})
-- Dirt with Grass
minetest.register_alias("default:dirt_with_grass", "default:dirt_with_grass_clear")
minetest.register_node(":default:dirt_with_grass_" .. color, {
description = desc .. " Dirt with Grass",
tiles = {"default_grass.png"..paint, "default_dirt.png"..paint,
{name = "default_dirt.png^default_grass_side.png"..paint,
tileable_vertical = false}},
groups = {crumbly = 3, soil = 1, not_in_creative_inventory = nici},
sounds = default.node_sound_dirt_defaults(),
})
-- Dirt with Dry Grass
minetest.register_alias("default:dirt_with_dry_grass", "default:dirt_with_dry_grass_clear")
minetest.register_node(":default:dirt_with_dry_grass_" .. color, {
description = desc .. " Dirt with Dry Grass",
tiles = {"default_dry_grass.png"..paint, "default_dirt.png"..paint,
{name = "default_dirt.png^default_dry_grass_side.png"..paint,
tileable_vertical = false}},
groups = {crumbly = 3, soil = 1, not_in_creative_inventory = nici},
sounds = default.node_sound_dirt_defaults(),
})
-- Dirt with Snow
minetest.register_alias("default:dirt_with_snow", "default:dirt_with_snow_clear")
minetest.register_node(":default:dirt_with_snow_" .. color, {
description = desc .. " Dirt with Snow",
tiles = {"default_snow.png"..paint, "default_dirt.png"..paint,
{name = "default_dirt.png^default_snow_side.png"..paint,
tileable_vertical = false}},
groups = {crumbly = 3, soil = 1, not_in_creative_inventory = nici},
sounds = default.node_sound_dirt_defaults(),
})
end
local colors = {}
for _, entry in ipairs(mypaint_dirt_colors) do
table.insert(colors, entry[1])
end
mypaint.register(paintables, colors)

13
mypaint_dirt/licence.txt Normal file
View File

@ -0,0 +1,13 @@
DO WHAT YOU WANT TO PUBLIC LICENSE
or abbreviated DWYWPL
December 2nd 2015
License Copyright (C) 2015 Michael Tomaino (PlatinumArts@gmail.com)
www.sandboxgamemaker.com/DWYWPL/
DO WHAT YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1. You are allowed to do whatever you want to with what content is using this license.
2. This content is provided 'as-is', without any express or implied warranty. In no event
will the authors be held liable for any damages arising from the use of this content.

1
mypaint_dirt/mod.conf Normal file
View File

@ -0,0 +1 @@
name = mypaint_dirt

7
mypaint_sample/README.md Normal file
View File

@ -0,0 +1,7 @@
# mypaint
A sample mod for mypaint.
Requires mypaint mod.
Licence - DWYWPL

View File

@ -0,0 +1,2 @@
default
mypaint?

View File

@ -0,0 +1 @@
A sample mod for mypaint.

53
mypaint_sample/init.lua Normal file
View File

@ -0,0 +1,53 @@
mypaint_sample = {}
mypaint_sample.colors = {
{"black", "Black", "#000000b0"},
{"blue", "Blue", "#015dbb70"},
{"brown", "Brown", "#a78c4570"},
{"cyan", "Cyan", "#01ffd870"},
{"darkgreen", "Dark Green", "#005b0770"},
{"darkgrey", "Dark Grey", "#303030b0"},
{"green", "Green", "#61ff0170"},
{"grey", "Grey", "#5b5b5bb0"},
{"magenta", "Magenta", "#ff05bb70"},
{"orange", "Orange", "#ff840170"},
{"pink", "Pink", "#ff65b570"},
{"red", "Red", "#ff000070"},
{"violet", "Violet", "#2000c970"},
{"white", "White", "#abababc0"},
{"yellow", "Yellow", "#e3ff0070"},
}
local paintables = {
"mypaint_sample:sand"
}
for _, entry in ipairs(mypaint_sample.colors) do
local color = entry[1]
local desc = entry[2]
local paint = "^[colorize:"..entry[3]
minetest.register_node("mypaint_sample:sand_" .. color, {
description = desc .. " Sample Block",
tiles = {"default_sand.png".. paint},
is_ground_content = false,
groups = {choppy = 2, oddly_breakable_by_hand = 2,cracky = 2},
sounds = default.node_sound_wood_defaults(),
})
minetest.register_craft({
output = "mypaint_sample:sand_".. color .. " 2",
recipe = {
{"group:sand","group:sand"},
}
})
end
if minetest.get_modpath("mypaint") then
local colors = {}
for _, entry in ipairs(mypaint_sample.colors) do
table.insert(colors, entry[1])
end
mypaint.register(paintables, colors)
end

View File

@ -0,0 +1,13 @@
DO WHAT YOU WANT TO PUBLIC LICENSE
or abbreviated DWYWPL
December 2nd 2015
License Copyright (C) 2015 Michael Tomaino (PlatinumArts@gmail.com)
www.sandboxgamemaker.com/DWYWPL/
DO WHAT YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1. You are allowed to do whatever you want to with what content is using this license.
2. This content is provided 'as-is', without any express or implied warranty. In no event
will the authors be held liable for any damages arising from the use of this content.

1
mypaint_sample/mod.conf Normal file
View File

@ -0,0 +1 @@
name = mypaint_sample

7
mypaint_sand/README.md Normal file
View File

@ -0,0 +1,7 @@
# mypaint_sand
Paint all the default sand nodes.
Requires mypaint.
Licence - DWYWPL

2
mypaint_sand/depends.txt Normal file
View File

@ -0,0 +1,2 @@
default
mypaint

View File

@ -0,0 +1 @@
Allows you to paint sand.

77
mypaint_sand/init.lua Normal file
View File

@ -0,0 +1,77 @@
local mypaint_sand_colors = {
{"black", "Black", "#000000b0",1},
{"blue", "Blue", "#015dbb70",1},
{"brown", "Brown", "#a78c4570",1},
{"cyan", "Cyan", "#01ffd870",1},
{"darkgreen", "Dark Green", "#005b0770",1},
{"darkgrey", "Dark Grey", "#303030b0",1},
{"green", "Green", "#61ff0170",1},
{"grey", "Grey", "#5b5b5bb0",1},
{"magenta", "Magenta", "#ff05bb70",1},
{"orange", "Orange", "#ff840170",1},
{"pink", "Pink", "#ff65b570",1},
{"red", "Red", "#ff000070",1},
{"violet", "Violet", "#2000c970",1},
{"white", "White", "#abababc0",1},
{"yellow", "Yellow", "#e3ff0070",1},
{"clear", "Clear", "#000000:0",1},
}
local paintables = {
"default:sand","default:desert_sand","default:sandstone","default:sandstonebrick"
}
for _, entry in ipairs(mypaint_sand_colors) do
local color = entry[1]
local desc = entry[2]
local paint = "^[colorize:"..entry[3]
local nici = entry[4]
-- Sand
minetest.register_alias("default:sand", "default:sand_clear")
minetest.register_node(":default:sand_" .. color, {
description = desc .. " Sand",
tiles = {"default_sand.png".. paint},
groups = {crumbly = 3, falling_node = 1, sand = 1,cracky = 2, not_in_creative_inventory = nici},
sounds = default.node_sound_sand_defaults(),
})
-- Desert Sand
minetest.register_alias("default:desert_sand", "default:desert_sand_clear")
minetest.register_node(":default:desert_sand_" .. color, {
description = desc .. " Desert Sand",
tiles = {"default_desert_sand.png".. paint},
groups = {crumbly = 3, falling_node = 1, sand = 1, not_in_creative_inventory = nici},
sounds = default.node_sound_sand_defaults(),
})
-- Sandstone
minetest.register_alias("default:sandstone", "default:sandstone_clear")
minetest.register_node(":default:sandstone_" .. color, {
description = desc .. " Sandstone",
tiles = {"default_sandstone.png".. paint},
groups = {crumbly = 2, cracky = 3, not_in_creative_inventory = nici},
sounds = default.node_sound_sand_defaults(),
})
-- Sandstone Brick
minetest.register_alias("default:sandstonebrick", "default:sandstonebrick_clear")
minetest.register_node(":default:sandstonebrick_" .. color, {
description = desc .. " Sandstone Brick",
tiles = {"default_sandstone_brick.png".. paint},
groups = {crumbly = 2, cracky = 3, not_in_creative_inventory = nici},
sounds = default.node_sound_sand_defaults(),
})
end
local colors = {}
for _, entry in ipairs(mypaint_sand_colors) do
table.insert(colors, entry[1])
end
mypaint.register(paintables, colors)

13
mypaint_sand/licence.txt Normal file
View File

@ -0,0 +1,13 @@
DO WHAT YOU WANT TO PUBLIC LICENSE
or abbreviated DWYWPL
December 2nd 2015
License Copyright (C) 2015 Michael Tomaino (PlatinumArts@gmail.com)
www.sandboxgamemaker.com/DWYWPL/
DO WHAT YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1. You are allowed to do whatever you want to with what content is using this license.
2. This content is provided 'as-is', without any express or implied warranty. In no event
will the authors be held liable for any damages arising from the use of this content.

1
mypaint_sand/mod.conf Normal file
View File

@ -0,0 +1 @@
name = mypaint_sand

7
mypaint_stone/README.md Normal file
View File

@ -0,0 +1,7 @@
# mypaint_stone
Paint all the default stone nodes.
Requires mypaint.
Licence - DWYWPL

View File

@ -0,0 +1,2 @@
default
mypaint

View File

@ -0,0 +1 @@
Allows you to paint default stone nodes.

104
mypaint_stone/init.lua Normal file
View File

@ -0,0 +1,104 @@
local mypaint_stone_colors = {
{"black", "Black", "#000000b0",1},
{"blue", "Blue", "#015dbb70",1},
{"brown", "Brown", "#a78c4570",1},
{"cyan", "Cyan", "#01ffd870",1},
{"darkgreen", "Dark Green", "#005b0770",1},
{"darkgrey", "Dark Grey", "#303030b0",1},
{"green", "Green", "#61ff0170",1},
{"grey", "Grey", "#5b5b5bb0",1},
{"magenta", "Magenta", "#ff05bb70",1},
{"orange", "Orange", "#ff840170",1},
{"pink", "Pink", "#ff65b570",1},
{"red", "Red", "#ff000070",1},
{"violet", "Violet", "#2000c970",1},
{"white", "White", "#abababc0",1},
{"yellow", "Yellow", "#e3ff0070",1},
{"clear", "Clear", "#000000:0",1},
}
local paintables = {
"default:cobble","default:desert_cobble","default:mossycobble",
"default:stone","default:desert_stone",
"default:stonebrick","default:desert_stonebrick"
}
for _, entry in ipairs(mypaint_stone_colors) do
local color = entry[1]
local desc = entry[2]
local paint = "^[colorize:"..entry[3]
local nici = entry[4]
-- Cobble
minetest.register_alias("default:cobble", "default:cobble_clear")
minetest.register_node(":default:cobble_" .. color, {
description = desc .. " Cobble",
tiles = {"default_cobble.png".. paint},
groups = {cracky = 3, stone = 2, not_in_creative_inventory = nici},
sounds = default.node_sound_stone_defaults(),
})
-- Desert Cobble
minetest.register_alias("default:desert_cobble", "default:desert_cobble_clear")
minetest.register_node(":default:desert_cobble_" .. color, {
description = desc .. " Desert Cobble",
tiles = {"default_desert_cobble.png".. paint},
groups = {cracky = 3, stone = 2, not_in_creative_inventory = nici},
sounds = default.node_sound_stone_defaults(),
})
-- Mossy Cobble
minetest.register_alias("default:mossycobble", "default:mossycobble_clear")
minetest.register_node(":default:mossycobble_" .. color, {
description = desc .. "Mossy Cobble",
tiles = {"default_mossycobble.png".. paint},
groups = {cracky = 3, stone = 1, not_in_creative_inventory = nici},
sounds = default.node_sound_stone_defaults(),
})
-- Stone
minetest.register_alias("default:stone", "default:stone_clear")
minetest.register_node(":default:stone_" .. color, {
description = desc .. " Stone",
tiles = {"default_stone.png".. paint},
groups = {cracky = 3, stone = 1, not_in_creative_inventory = nici},
sounds = default.node_sound_sand_defaults(),
})
-- Desert Stone
minetest.register_alias("default:desert_stone", "default:desert_stone_clear")
minetest.register_node(":default:desert_stone_" .. color, {
description = desc .. " Desert Stone",
tiles = {"default_desert_stone.png".. paint},
groups = {cracky = 3, stone = 1, not_in_creative_inventory = nici},
sounds = default.node_sound_sand_defaults(),
})
-- Stone Brick
minetest.register_alias("default:stonebrick", "default:stonebrick_clear")
minetest.register_node(":default:stonebrick_" .. color, {
description = desc .. " Stone Brick",
tiles = {"default_stone_brick.png".. paint},
groups = {cracky = 2, stone = 1, not_in_creative_inventory = nici},
sounds = default.node_sound_sand_defaults(),
})
-- Desert Stone Brick
minetest.register_alias("default:desert_stonebrick", "default:desert_stonebrick_clear")
minetest.register_node(":default:desert_stonebrick_" .. color, {
description = desc .. " Desert Stone Brick",
tiles = {"default_desert_stone_brick.png".. paint},
groups = {cracky = 2, stone = 1, not_in_creative_inventory = nici},
sounds = default.node_sound_sand_defaults(),
})
end
local colors = {}
for _, entry in ipairs(mypaint_stone_colors) do
table.insert(colors, entry[1])
end
mypaint.register(paintables, colors)

13
mypaint_stone/licence.txt Normal file
View File

@ -0,0 +1,13 @@
DO WHAT YOU WANT TO PUBLIC LICENSE
or abbreviated DWYWPL
December 2nd 2015
License Copyright (C) 2015 Michael Tomaino (PlatinumArts@gmail.com)
www.sandboxgamemaker.com/DWYWPL/
DO WHAT YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1. You are allowed to do whatever you want to with what content is using this license.
2. This content is provided 'as-is', without any express or implied warranty. In no event
will the authors be held liable for any damages arising from the use of this content.

1
mypaint_stone/mod.conf Normal file
View File

@ -0,0 +1 @@
name = mypaint_stone