make soil slightly smaller than dirt

master
jordan4ibanez 2016-02-15 22:42:37 -05:00
parent 50a87d3ea8
commit 4d151ad4fc
3 changed files with 23 additions and 3 deletions

View File

@ -28,6 +28,12 @@ GOALS:
# Make jungle plants drop green dye as well as cotton seed
# Make drinking drinks replenish stamina
# Make drinking drinks replenish stamina with a drinking effect like eating except it flows out of the players mouth like spit
# make junglegrass drop cotton as well as self
# find if unified inventory is not loading in all items
]]--

View File

@ -3,7 +3,7 @@ berries_func = {}
berries_func.octaves = 3
berries_func.scale = 0.001
berries_func.common_offset = 0
berries_func.common_spread = 100
berries_func.common_spread = 1000
berries_func.common_persist= 0.0
berries_func.growth_delay = 200

View File

@ -5,6 +5,13 @@ minetest.register_node("farming:soil", {
drop = "default:dirt",
groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 2},
sounds = default.node_sound_dirt_defaults(),
paramtype = "light",
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, 0.4, 0.5},
},
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.4, 0.5},
})
-- wet soil
@ -13,7 +20,14 @@ minetest.register_node("farming:soil_wet", {
tiles = {"default_dirt.png^farming_soil_wet.png", "default_dirt.png^farming_soil_wet_side.png"},
drop = "default:dirt",
groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 3},
drawtype = "nodebox",
sounds = default.node_sound_dirt_defaults(),
paramtype = "light",
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, 0.4, 0.5},
},
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.4, 0.5},
})
-- sand is not soil, change existing sand-soil to use normal soil
@ -61,4 +75,4 @@ minetest.register_abm({
minetest.set_node(pos, {name = "default:dirt"})
end
end,
})
})