moved default texture and mesh to init.lua
This commit is contained in:
parent
28bbed66e4
commit
706fe6a84e
@ -1,16 +1,6 @@
|
||||
-- based on my mobf_trader mod - but does not require any other mods
|
||||
|
||||
|
||||
-- find out the right mesh; if the wrong one is used, the traders become invisible
|
||||
npc_talk.talking_npc_mesh = "character.b3d";
|
||||
-- 3darmor/wieldview is great
|
||||
if( minetest.get_modpath( '3d_armor' )) then
|
||||
npc_talk.talking_npc_mesh = "3d_armor_character.b3d";
|
||||
end
|
||||
npc_talk.talking_npc_texture = "character.png"
|
||||
npc_talk.talking_npc_inventory_image = "character.png"
|
||||
|
||||
|
||||
-- look at the player
|
||||
npc_talk.look_at_player = function(self, player)
|
||||
if(not(player) or not(self)) then
|
||||
|
Loading…
Reference in New Issue
Block a user