Commit 57f40cf4 authored by tenplus1's avatar tenplus1
Browse files

make cave spider tiny

parent 22308b4c
...@@ -30,7 +30,8 @@ local spider_types = { ...@@ -30,7 +30,8 @@ local spider_types = {
{ nodes = {"default:stone", "default:gravel"}, { nodes = {"default:stone", "default:gravel"},
skins = {"mobs_spider_grey.png"}, skins = {"mobs_spider_grey.png"},
docile = nil, docile = nil,
drops = nil drops = nil,
small = true
}, },
{ nodes = {"default:mese", "default:stone_with_mese"}, { nodes = {"default:mese", "default:stone_with_mese"},
...@@ -134,6 +135,13 @@ mobs:register_mob("mobs_monster:spider", { ...@@ -134,6 +135,13 @@ mobs:register_mob("mobs_monster:spider", {
self.shoot_offset = 2 self.shoot_offset = 2
end end
if tmp.small then
self.object:set_properties({
collisionbox = {-0.2, -0.2, -0.2, 0.2, 0, 0.2},
visual_size = {x = 0.25, y = 0.25}
})
end
return true return true
end end
end end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment