indentations fixed and added cheapie's smoker fix
This commit is contained in:
parent
a790135274
commit
17bc553538
23
init.lua
23
init.lua
@ -461,7 +461,7 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_abm({ --spawning bees around bee hive
|
minetest.register_abm({ --spawning bees around bee hive
|
||||||
nodenames = {'bees:hive_wild', 'bees:hive_artificial'},
|
nodenames = {'bees:hive_wild', 'bees:hive_artificial', 'bees:hive_industrial'},
|
||||||
neighbors = {'group:flowers', 'group:leaves'},
|
neighbors = {'group:flowers', 'group:leaves'},
|
||||||
interval = 30,
|
interval = 30,
|
||||||
chance = 4,
|
chance = 4,
|
||||||
@ -577,7 +577,9 @@
|
|||||||
damage_groups = {fleshy=2},
|
damage_groups = {fleshy=2},
|
||||||
},
|
},
|
||||||
on_use = function(tool, user, node)
|
on_use = function(tool, user, node)
|
||||||
|
if node then
|
||||||
local pos = node.under
|
local pos = node.under
|
||||||
|
if pos then
|
||||||
for i=1,6 do
|
for i=1,6 do
|
||||||
minetest.add_particle({
|
minetest.add_particle({
|
||||||
pos = {x=pos.x+math.random()-0.5, y=pos.y, z=pos.z+math.random()-0.5},
|
pos = {x=pos.x+math.random()-0.5, y=pos.y, z=pos.z+math.random()-0.5},
|
||||||
@ -593,6 +595,8 @@
|
|||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
meta:set_int('agressive', 0)
|
meta:set_int('agressive', 0)
|
||||||
return nil
|
return nil
|
||||||
|
end
|
||||||
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -637,23 +641,10 @@
|
|||||||
if minetest.get_modpath("pipeworks") then
|
if minetest.get_modpath("pipeworks") then
|
||||||
minetest.register_node('bees:hive_industrial', {
|
minetest.register_node('bees:hive_industrial', {
|
||||||
description = 'industrial bee hive',
|
description = 'industrial bee hive',
|
||||||
tiles = {'default_wood.png','default_wood.png','default_wood.png', 'default_wood.png','default_wood.png','bees_hive_industrial.png'},
|
tiles = { 'bees_hive_industrial.png'},
|
||||||
drawtype = 'nodebox',
|
|
||||||
paramtype = 'light',
|
|
||||||
paramtype2 = 'facedir',
|
paramtype2 = 'facedir',
|
||||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1,tubedevice=1,tubedevice_receiver=1},
|
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,tubedevice=1,tubedevice_receiver=1},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
node_box = {
|
|
||||||
type = 'fixed',
|
|
||||||
fixed = {
|
|
||||||
{-4/8, 2/8, -4/8, 4/8, 3/8, 4/8},
|
|
||||||
{-3/8, -4/8, -2/8, 3/8, 2/8, 3/8},
|
|
||||||
{-3/8, 0/8, -3/8, 3/8, 2/8, -2/8},
|
|
||||||
{-3/8, -4/8, -3/8, 3/8, -1/8, -2/8},
|
|
||||||
{-3/8, -1/8, -3/8, -1/8, 0/8, -2/8},
|
|
||||||
{1/8, -1/8, -3/8, 3/8, 0/8, -2/8},
|
|
||||||
}
|
|
||||||
},
|
|
||||||
tube = {
|
tube = {
|
||||||
insert_object = function(pos, node, stack, direction)
|
insert_object = function(pos, node, stack, direction)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
|
10
readme.txt
10
readme.txt
@ -1,12 +1,12 @@
|
|||||||
BEES MOD V2.2
|
BEES MOD V2.2
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
DEPENDS
|
|
||||||
-------
|
|
||||||
https://github.com/VanessaE/minetest-steel
|
|
||||||
|
|
||||||
FEATURES
|
FEATURES
|
||||||
--------
|
--------
|
||||||
|
3.0
|
||||||
|
- Pipeworks compatibility (Industrial beehive)
|
||||||
|
- Get honey comb from full frame
|
||||||
|
|
||||||
2.2.1
|
2.2.1
|
||||||
- removed steel dependency temporarily
|
- removed steel dependency temporarily
|
||||||
- fixed the craft for the extractor (and added alias for)
|
- fixed the craft for the extractor (and added alias for)
|
||||||
@ -35,13 +35,13 @@ FEATURES
|
|||||||
FUTURE
|
FUTURE
|
||||||
------
|
------
|
||||||
- more realistic spawning of wild bee hives
|
- more realistic spawning of wild bee hives
|
||||||
- pipeworks compatibility (Industrial beehive)
|
|
||||||
|
|
||||||
CONTRIBUTORS
|
CONTRIBUTORS
|
||||||
------------
|
------------
|
||||||
- bas080
|
- bas080
|
||||||
- VanessaE (wild bee hive nodebox)
|
- VanessaE (wild bee hive nodebox)
|
||||||
- Neuromancer (textures for wild bee hive and inspiration for other textures)
|
- Neuromancer (textures for wild bee hive and inspiration for other textures)
|
||||||
|
- Novatux (enabled pipeworks compatibility)
|
||||||
|
|
||||||
FORUM
|
FORUM
|
||||||
-----
|
-----
|
||||||
|
Loading…
x
Reference in New Issue
Block a user