mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-27 10:29:34 +01:00
Lightning no longer turns villagers to witches
Because witches are incomplete. Also add villager TODOs.
This commit is contained in:
parent
a804144ed4
commit
e051eae5bc
3 changed files with 13 additions and 1 deletions
|
@ -10,6 +10,14 @@
|
|||
|
||||
-- TODO: Particles
|
||||
-- TODO: 4s Regeneration I after trade unlock
|
||||
-- TODO: Breeding
|
||||
-- TODO: Baby villagers
|
||||
-- TODO: Spawning in villages
|
||||
-- TODO: Behaviour:
|
||||
-- TODO: Walk around village, but do not leave it intentionally
|
||||
-- TODO: Run into house on rain or danger, open doors
|
||||
-- TODO: Internal inventory, pick up items, trade with other villagers
|
||||
-- TODO: Farm stuff
|
||||
|
||||
-- intllib
|
||||
local MP = minetest.get_modpath(minetest.get_current_modname())
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
local MP = minetest.get_modpath(minetest.get_current_modname())
|
||||
local S, NS = dofile(MP.."/intllib.lua")
|
||||
|
||||
--dofile(minetest.get_modpath("mobs").."/api.lua")
|
||||
-- TODO: Turn villagers to zombie villager
|
||||
|
||||
--###################
|
||||
--################### ZOMBIE VILLAGER
|
||||
|
|
|
@ -191,10 +191,14 @@ lightning.strike = function(pos)
|
|||
obj:set_yaw(rot)
|
||||
-- villager → witch
|
||||
elseif lua.name == "mobs_mc:villager" then
|
||||
-- Witches are incomplete, this code is unused
|
||||
-- TODO: Enable this code when witches are working.
|
||||
--[[
|
||||
local rot = obj:get_yaw()
|
||||
obj:remove()
|
||||
obj = minetest.add_entity(pos2, "mobs_mc:witch")
|
||||
obj:set_yaw(rot)
|
||||
]]
|
||||
-- TODO: creeper → charged creeper
|
||||
elseif lua.name == "mobs_mc:creeper" then
|
||||
|
||||
|
|
Loading…
Reference in a new issue