gargantuan

master
archfan 2020-04-10 15:41:04 -04:00
parent 9b53b8873b
commit f4f3da2f7f
6 changed files with 60 additions and 2 deletions

View File

@ -67,6 +67,63 @@ mobs:register_mob("shadowrealm:asp", {
max_speed = 2,
jump_height = 1,
view_range = 10,
attack = {range = 2, damage_groups = {fleshy = 4}},
armor_groups = {fleshy = 5},
})
-- Gargantuan
mobs:register_mob("shadowrealm:gargantuan", {
physical = true,
collisionbox = {0.5, 1, 0.5, -0.5, -2, -0.5},
visual = "mesh",
mesh = "shadowrealm_gargantuan.b3d",
textures = {"shadowrealm_gargantuan.png"},
visual_size = {x=6,y=6,z=6},
type = "monster",
hp_min = 200,
hp_max = 300,
walk_velocity = 6,
run_velocity = 8,
stand_chance = 50,
walk_chance = 50,
jump = true,
jump_height = 2,
runaway = false,
pushable = true,
view_range = 10,
damage = 8,
rotate = 270,
knock_back = true,
fear_height = 10,
fall_damage = true,
water_damage = 1,
lava_damage = 5,
light_damage = 0,
suffocation = true,
floats = 0,
docile_by_day = false,
attack_chance = 100,
attack_monsters = false,
attack_animals = true,
attack_npcs = true,
attack_players = true,
attack_type = "dogfight",
animation = {
stand_start = 1,
stand_end = 6,
stand_speed = 24,
walk_start = 1,
walk_end = 6,
walk_speed = 24,
punch_start = 7,
punch_end = 10,
punch_speed = 24,
},
sounds = {
attack = "shadowrealm_growl_01.ogg",
damage = "shadowrealm_growl_02.ogg",
},
drops = {},
max_speed = 10,
jump_height = 1,
view_range = 10,
on_die = realm.on_gargantuan_death
})

BIN
models/gargantuan.blend Normal file

Binary file not shown.

BIN
models/gargantuan.blend1 Normal file

Binary file not shown.

Binary file not shown.

View File

@ -7,6 +7,7 @@ local modstorage = minetest.get_mod_storage()
realm.is_gargantuan_defeated = modstorage:get_int("dead") == 1
realm.on_gargantuan_death = function()
minetest.chat_send_all("A Gargantuan, one of the servants of Cerdon, has been slain!")
realm.is_gargantuan_defeated = true
modstorage:set_int("dead", 1)
end

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB