Skip to content
Snippets Groups Projects
Commit 1f21dcd6 authored by Milan's avatar Milan
Browse files

add vipworld modpack

parent 6e35aebc
No related branches found
No related tags found
No related merge requests found
Pipeline #1032 canceled
Showing
with 131 additions and 0 deletions
default
stonage?
sumpf?
-- Bushes Mod by Mossmanikin, Evergreen, & Neuromancer
-- The initial code for this was taken from Mossmanikin's Grasses Mod,
-- then heavilly modified by Neuromancer for this mod.
-- Mossmanikin also greatly helped with providing samples for coding.
-- bush leaf textures are from VannessaE's moretrees mod.
-- (Leaf texture created by RealBadAngel or VanessaE)
-- Branch textures created by Neuromancer.
-- support for i18n
abstract_bushes = {}
minetest.register_node("bushes:youngtree2_bottom", {
description = "Young Tree 2 (bottom)",
drawtype="nodebox",
tiles = {"bushes_youngtree2trunk.png"},
inventory_image = "bushes_youngtree2trunk_inv.png",
wield_image = "bushes_youngtree2trunk_inv.png",
paramtype = "light",
walkable = false,
is_ground_content = true,
node_box = {
type = "fixed",
fixed = {
--{0.375000,-0.500000,-0.500000,0.500000,0.500000,-0.375000}, --NodeBox 1
{-0.0612,-0.500000,-0.500000,0.0612,0.500000,-0.375000}, --NodeBox 1
}
},
groups = {snappy=3,flammable=2},
sounds = default.node_sound_leaves_defaults(),
drop = 'default:stick'
})
local BushBranchCenter = { {1,1}, {3,2} }
for i in pairs(BushBranchCenter) do
local Num = BushBranchCenter[i][1]
local TexNum = BushBranchCenter[i][2]
minetest.register_node("bushes:bushbranches"..Num, {
description = "Bush Branches @1", Num,
drawtype = "nodebox",
tiles = {
"bushes_leaves_"..TexNum..".png",
"bushes_branches_center_"..TexNum..".png"
},
node_box = {
type = "fixed",
fixed = {
{0, -1/2, -1/2, -1/4, 1/2, 1/2},
{0, -1/2, -1/2, 1/4, 1/2, 1/2}
},
},
selection_box = {
type = "fixed",
fixed = {-1/2, -1/2, -1/2, 1/2, 1/2, 1/2},
},
inventory_image = "bushes_branches_center_"..TexNum..".png",
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
groups = {
-- tree=1, -- MM: disabled because some recipes use group:tree for trunks
snappy=3,
flammable=2,
leaves=1
},
sounds = default.node_sound_leaves_defaults(),
drop = 'default:stick 4'
})
end
local BushBranchSide = { {2,1}, {4,2} }
for i in pairs(BushBranchSide) do
local Num = BushBranchSide[i][1]
local TexNum = BushBranchSide[i][2]
minetest.register_node("bushes:bushbranches"..Num, {
description = "Bush Branches @1", Num,
drawtype = "nodebox",
tiles = {
--[[top]] "bushes_leaves_"..TexNum..".png",
--[[bottom]]"bushes_branches_center_"..TexNum..".png",
--[[right]] "bushes_branches_left_"..TexNum..".png",
--[[left]] "bushes_branches_right_"..TexNum..".png", -- MM: We could also mirror the previous here,
--[[back]] "bushes_branches_center_"..TexNum..".png",-- unless U really want 'em 2 B different
--[[front]] "bushes_branches_right_"..TexNum..".png"
},
node_box = {
type = "fixed",
fixed = {
-- { left , bottom , front, right , top , back }
{0.137748,-0.491944, 0.5 ,-0.125000,-0.179444,-0.007790}, --NodeBox 1
{0.262748,-0.185995, 0.5 ,-0.237252, 0.126505,-0.260269}, --NodeBox 2
{0.500000, 0.125000, 0.5 ,-0.500000, 0.500000,-0.500000}, --NodeBox 3
},
},
selection_box = {
type = "fixed",
fixed = {-1/2, -1/2, -1/2, 1/2, 1/2, 1/2},
},
inventory_image = "bushes_branches_right_"..TexNum..".png",
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
groups = {
-- tree=1, -- MM: disabled because some recipes use group:tree for trunks
snappy=3,
flammable=2,
leaves=1
},
sounds = default.node_sound_leaves_defaults(),
drop = 'default:stick 3'
})
end
local BushLeafNode = { {1}, {2}}
for i in pairs(BushLeafNode) do
local Num = BushLeafNode[i][1]
minetest.register_node("bushes:BushLeaves"..Num, {
description = "Bush Leaves @1", Num,
drawtype = "allfaces_optional",
tiles = {"bushes_leaves_"..Num..".png"},
paramtype = "light",
groups = { -- MM: Should we add leafdecay?
snappy=3,
flammable=2,
attached_node=1
},
sounds = default.node_sound_leaves_defaults(),
})
end
mods/vipworld/bushes/textures/bushes_branches_center_1.png

305 B

mods/vipworld/bushes/textures/bushes_branches_center_2.png

305 B

mods/vipworld/bushes/textures/bushes_branches_left_1.png

577 B

mods/vipworld/bushes/textures/bushes_branches_left_2.png

598 B

mods/vipworld/bushes/textures/bushes_branches_right_1.png

592 B

mods/vipworld/bushes/textures/bushes_branches_right_2.png

632 B

mods/vipworld/bushes/textures/bushes_leaves_1.png

205 B

mods/vipworld/bushes/textures/bushes_leaves_2.png

205 B

mods/vipworld/bushes/textures/bushes_youngtree2trunk.png

1.05 KiB

mods/vipworld/bushes/textures/bushes_youngtree2trunk_inv.png

872 B

mods/vipworld/bushes/textures/old & unused/BlockBranch1.png

72.1 KiB

mods/vipworld/bushes/textures/old & unused/BlockBranch1L.png

33.3 KiB

mods/vipworld/bushes/textures/old & unused/BlockBranch1R.png

39.3 KiB

mods/vipworld/bushes/textures/old & unused/BushBranches1.png

51.6 KiB

mods/vipworld/bushes/textures/old & unused/BushBranches1sm.png

609 B

mods/vipworld/bushes/textures/old & unused/BushBranches1sm2.png

620 B

mods/vipworld/bushes/textures/old & unused/BushBranches1sm3.png

396 B

mods/vipworld/bushes/textures/old & unused/BushBranches1sm4.png

540 B

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment