snow spider and tarantula is docile by day

This commit is contained in:
TenPlus1 2018-07-02 08:33:23 +01:00
parent cd6b3aadc3
commit aa0124a5b3
1 changed files with 2 additions and 0 deletions

View File

@ -63,11 +63,13 @@ mobs:register_mob("mobs_monster:spider2", {
{"default:snow", "default:snowblock", "default:dirt_with_snow"}) then
self.base_texture = {"mobs_spider_snowy.png"}
self.object:set_properties({textures = self.base_texture})
self.docile_by_day = true
-- tarantula
elseif minetest.find_node_near(pos, 1,
{"default:dirt_with_rainforest_litter", "default:jungletree"}) then
self.base_texture = {"mobs_spider_orange.png"}
self.object:set_properties({textures = self.base_texture})
self.docile_by_day = true
-- grey spider
elseif minetest.find_node_near(pos, 1,
{"default:stone", "default:gravel"}) then