Icelizard

This commit is contained in:
NPXcoot 2016-12-01 23:49:17 +01:00
parent ae7516d777
commit 22018d5570
6 changed files with 36904 additions and 4250 deletions

69
mobs/icelizard.lua Normal file
View File

@ -0,0 +1,69 @@
mobs:register_mob("nssm:icelizard", {
type = "monster",
hp_max = 24,
hp_min = 15,
collisionbox = {-0.5, 0, -0.5, 0.5, 0.60, 0.5},
visual = "mesh",
mesh = "icelizard.x",
textures = {{"snow_biter.png"}},
visual_size = {x=6, y=6},
makes_footstep_sound = true,
view_range = 30,
rotate = 270,
mele_number = 2,
fear_height = 4,
reach = 1.5,
walk_velocity = 0.8,
run_velocity = 3.5,
sounds = {
random = "snow_biter",
},
--pathfinding = true,
damage = 4,
jump = true,
drops = {
{name = "nssm:life_energy",
chance = 1,
min = 2,
max = 3},
{name = "nssm:frosted_amphibian_heart",
chance = 2,
min = 1,
max = 1},
{name = "nssm:amphibian_ribs",
chance = 2,
min = 1,
max = 1},
{name = "nssm:little_ice_tooth",
chance = 2,
min = 0,
max = 4},
},
armor = 80,
drawtype = "front",
water_damage = 0,
lava_damage = 30,
light_damage = 0,
group_attack=true,
attack_animals=true,
knock_back=4,
blood_texture="nssm_blood.png",
stepheight=1.1,
on_rightclick = nil,
attack_type = "dogfight",
animation = {
speed_normal = 20,
speed_run = 40,
stand_start = 0,
stand_end = 80,
walk_start = 110,
walk_end = 150,
run_start = 110,
run_end = 150,
punch_start = 160,
punch_end = 170,
},
do_custom = function(self)
putting_ability(self, "default:ice", self.run_velocity)
end,
})

32574
models/icelizard.x Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -265,12 +265,23 @@ minetest.register_node("nssm:venomous_gas", {
diggable = false,
buildable_to = true,
drop = "",
drowning = 1,
drowning = 9,
damage_per_second = 1,
post_effect_color = {a=100, r=1, g=100, b=1},
groups = {flammable = 2},
})
minetest.register_node("nssm:coldest_ice", {
description = "Coldest Ice",
tile_images = {"coldest_ice.png"} ,
paramtype = "light",
drowning = 2,
damage_per_second = 1,
drop = "",
light_source = 3,
groups = {cracky=1, not_in_creative_inventory =1},
})
minetest.register_node("nssm:modders_block", {
description = "Modders Block",
tiles = {"modders_block.png"},

BIN
textures/coldest_ice.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 492 KiB

After

Width:  |  Height:  |  Size: 472 KiB