diff options
author | Sokomine <wegwerf@anarres.dyndns.org> | 2015-07-31 23:59:06 +0200 |
---|---|---|
committer | Sokomine <wegwerf@anarres.dyndns.org> | 2015-07-31 23:59:06 +0200 |
commit | 235364c4a537ffb575a23345f5dc71db1e6ca2d4 (patch) | |
tree | 94c7f549d968abf0c1468e6daab9ab6bfe7b37d4 | |
parent | e0167dcc4fe70b0cb1a5066add5e19d8e0b75a90 (diff) |
forgot the straw mat
-rw-r--r-- | nodes_straw.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nodes_straw.lua b/nodes_straw.lua index 44fcf0f..ef1df47 100644 --- a/nodes_straw.lua +++ b/nodes_straw.lua @@ -46,6 +46,9 @@ minetest.register_node("cottages:straw_mat", { } }, is_ground_content = false, + on_rightclick = function(pos, node, clicker, itemstack, pointed_thing) + return cottages.sleep_in_bed( pos, node, clicker, itemstack, pointed_thing ); + end }) -- straw bales are a must for farming environments; if you for some reason do not have the darkage mod installed, this here gets you a straw bale |