Added new crocodile model.
parent
6369cc4395
commit
e1bcbf575c
|
@ -6,19 +6,19 @@ end
|
|||
|
||||
-- local variables
|
||||
local l_skins = {
|
||||
{"croco.png"},
|
||||
{"croco2.png"}
|
||||
{"mobs_water_crocodile_1.png"},
|
||||
{"mobs_water_crocodile_2.png"}
|
||||
}
|
||||
|
||||
local l_anims = {
|
||||
speed_normal = 24, speed_run = 24,
|
||||
stand_start = 0, stand_end = 80,
|
||||
walk_start = 81, walk_end = 170,
|
||||
run_start = 81, run_end = 170,
|
||||
punch_start = 205, punch_end = 220
|
||||
walk_start = 85, walk_end = 110,
|
||||
run_start = 85, run_end = 110,
|
||||
punch_start = 115, punch_end = 145
|
||||
}
|
||||
|
||||
local l_model = "crocodile.x"
|
||||
local l_model = "mobs_water_crocodile.b3d"
|
||||
local l_sounds = {random = "croco"}
|
||||
local l_egg_texture = "default_grass.png"
|
||||
local l_spawn_chance = 60000
|
||||
|
@ -50,8 +50,8 @@ if ENABLE_WALKERS then
|
|||
reach = 3,
|
||||
hp_min = 20,
|
||||
hp_max = 25,
|
||||
armor = 200,
|
||||
collisionbox = {-0.85, -0.30, -0.85, 0.85, .5, 0.85},
|
||||
armor = 50,
|
||||
collisionbox = {-0.85, 0, -0.85, 0.85, .5, 0.85},
|
||||
drawtype = "front",
|
||||
visual = "mesh",
|
||||
mesh = l_model,
|
||||
|
@ -103,7 +103,7 @@ if ENABLE_FLOATERS then
|
|||
reach = 2,
|
||||
hp_min = 20,
|
||||
hp_max = 25,
|
||||
armor = 200,
|
||||
armor = 50,
|
||||
collisionbox = {-0.638, -0.23, -0.638, 0.638, .5, 0.638},
|
||||
drawtype = "front",
|
||||
visual = "mesh",
|
||||
|
@ -154,7 +154,7 @@ if ENABLE_SWIMMERS then
|
|||
reach = 1,
|
||||
hp_min = 20,
|
||||
hp_max = 25,
|
||||
armor = 200,
|
||||
armor = 50,
|
||||
collisionbox = {-0.425, -0.15, -0.425, 0.425, 0.5, 0.425},
|
||||
drawtype = "front",
|
||||
visual = "mesh",
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 9.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 8.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
|
@ -67,6 +67,9 @@ sethome.go = function(name)
|
|||
local player = minetest.get_player_by_name(name)
|
||||
if player and pos then
|
||||
player:set_pos(pos)
|
||||
default.player_attached[player] = false
|
||||
default.player_set_animation(player, "stand", 30)
|
||||
armor:set_player_armor(player)
|
||||
return true
|
||||
end
|
||||
return false
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
name = sethome
|
||||
description = Minetest Game mod: sethome
|
||||
depends = default
|
||||
|
|
|
@ -11,6 +11,9 @@ minetest.register_chatcommand('spawn', {
|
|||
func = function (name)
|
||||
local player = minetest.get_player_by_name(name)
|
||||
player:setpos({x=1473, y=2486, z=2970})
|
||||
default.player_attached[player] = false
|
||||
default.player_set_animation(player, "stand", 30)
|
||||
armor:set_player_armor(player)
|
||||
end,
|
||||
})
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
local news = {
|
||||
'11/16/20',
|
||||
'Using teleport commands while sitting should no longer cause issues.',
|
||||
'',
|
||||
'11/13/20',
|
||||
'Meseboxes are now compatible with hoppers.',
|
||||
'',
|
||||
|
|
|
@ -188,6 +188,9 @@ function unified_inventory.go_home(player)
|
|||
local pos = unified_inventory.home_pos[player:get_player_name()]
|
||||
if pos then
|
||||
player:set_pos(pos)
|
||||
default.player_attached[player] = false
|
||||
default.player_set_animation(player, "stand", 30)
|
||||
armor:set_player_armor(player)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue