1
0
mirror of https://github.com/Sokomine/cottages.git synced 2026-01-11 19:45:42 +01:00

added pitchfork and hay

This commit is contained in:
Sokomine
2019-02-17 14:05:40 +01:00
parent 6c0a48c7ad
commit bd257ee16e
6 changed files with 265 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ minetest.register_node("cottages:straw_mat", {
paramtype = 'light',
paramtype2 = "facedir",
walkable = false,
groups = { snappy = 3 },
groups = { hay = 3, snappy = 2, oddly_breakable_by_hand = 2, flammable=3 },
sounds = default.node_sound_leaves_defaults,
node_box = {
type = "fixed",
@@ -45,7 +45,7 @@ minetest.register_node("cottages:straw_bale", {
description = S("straw bale"),
tiles = {"cottages_darkage_straw_bale.png"},
paramtype = "light",
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3},
groups = { hay = 3, snappy = 2, oddly_breakable_by_hand = 2, flammable=3 },
sounds = default.node_sound_wood_defaults,
-- the bale is slightly smaller than a full node
node_box = {
@@ -68,7 +68,7 @@ minetest.register_node("cottages:straw", {
drawtype = "normal",
description = S("straw"),
tiles = {"cottages_darkage_straw.png"},
groups = {snappy=3,choppy=3,oddly_breakable_by_hand=3,flammable=3},
groups = { hay = 3, snappy = 2, oddly_breakable_by_hand = 2, flammable=3 },
sounds = default.node_sound_wood_defaults,
-- the bale is slightly smaller than a full node
is_ground_content = false,