added screenshot
This commit is contained in:
parent
275b596016
commit
50b19fec88
2
igor.lua
2
igor.lua
|
@ -70,7 +70,7 @@ mobs:register_mob("mobs_npc:igor", {
|
||||||
-- feed to heal npc
|
-- feed to heal npc
|
||||||
if mobs:feed_tame(self, clicker, 8, false, true) then return end
|
if mobs:feed_tame(self, clicker, 8, false, true) then return end
|
||||||
if mobs:protect(self, clicker) then return end
|
if mobs:protect(self, clicker) then return end
|
||||||
if mobs:capture_mob(self, clicker, 0, 5, 80, false, nil) then return end
|
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
|
||||||
|
|
||||||
local item = clicker:get_wielded_item()
|
local item = clicker:get_wielded_item()
|
||||||
local name = clicker:get_player_name()
|
local name = clicker:get_player_name()
|
||||||
|
|
2
npc.lua
2
npc.lua
|
@ -67,7 +67,7 @@ mobs:register_mob("mobs_npc:npc", {
|
||||||
if mobs:feed_tame(self, clicker, 8, true, true) then return end
|
if mobs:feed_tame(self, clicker, 8, true, true) then return end
|
||||||
|
|
||||||
-- capture npc with net or lasso
|
-- capture npc with net or lasso
|
||||||
if mobs:capture_mob(self, clicker, 0, 5, 80, false, nil) then return end
|
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
|
||||||
|
|
||||||
-- protect npc with mobs:protector
|
-- protect npc with mobs:protector
|
||||||
if mobs:protect(self, clicker) then return end
|
if mobs:protect(self, clicker) then return end
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 7.8 KiB |
Loading…
Reference in New Issue