add vipworld modpack
This commit is contained in:
parent
6e35aebc06
commit
1f21dcd616
252 changed files with 3892 additions and 0 deletions
43
mods/vipworld/molehills/init.lua
Normal file
43
mods/vipworld/molehills/init.lua
Normal file
|
@ -0,0 +1,43 @@
|
|||
-----------------------------------------------------------------------------------------------
|
||||
local title = "Mole Hills"
|
||||
local version = "0.0.3"
|
||||
local mname = "molehills"
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- Idea by Sokomine
|
||||
-- Code & textures by Mossmanikin
|
||||
|
||||
abstract_molehills = {}
|
||||
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- NoDe
|
||||
-----------------------------------------------------------------------------------------------
|
||||
|
||||
local mh_cbox = {
|
||||
type = "fixed",
|
||||
fixed = { -0.5, -0.5, -0.5, 0.5, -0.125, 0.5}
|
||||
}
|
||||
|
||||
minetest.register_node("molehills:molehill",{
|
||||
drawtype = "mesh",
|
||||
mesh = "molehill_molehill.obj",
|
||||
description = "Mole Hill",
|
||||
inventory_image = "molehills_side.png",
|
||||
tiles = { "molehills_dirt.png" },
|
||||
paramtype = "light",
|
||||
selection_box = mh_cbox,
|
||||
collision_box = mh_cbox,
|
||||
groups = {crumbly=3},
|
||||
sounds = default.node_sound_dirt_defaults(),
|
||||
})
|
||||
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- CRaFTiNG
|
||||
-----------------------------------------------------------------------------------------------
|
||||
minetest.register_craft({ -- molehills --> dirt
|
||||
output = "default:dirt",
|
||||
recipe = {
|
||||
{"molehills:molehill","molehills:molehill"},
|
||||
{"molehills:molehill","molehills:molehill"},
|
||||
}
|
||||
})
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue