texture changes, deku scrub

master
D00Med 2017-01-03 13:35:19 +10:00
parent a35b80725f
commit f544e58996
17 changed files with 37 additions and 48 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 B

After

Width:  |  Height:  |  Size: 653 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 349 B

After

Width:  |  Height:  |  Size: 873 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 193 B

After

Width:  |  Height:  |  Size: 718 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 B

After

Width:  |  Height:  |  Size: 499 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

After

Width:  |  Height:  |  Size: 737 B

View File

@ -359,7 +359,7 @@ minetest.register_entity("carts:cart", cart_entity)
minetest.register_craftitem("carts:cart", {
description = "Cart (Sneak+Click to pick up)",
inventory_image = "carts_cart_item",
inventory_image = "carts_cart_item.png",
wield_image = "carts_cart_item.png",
on_place = function(itemstack, placer, pointed_thing)
if not pointed_thing.type == "node" then

View File

@ -947,4 +947,4 @@ minetest.register_craft({
type = "fuel",
recipe = "doors:gate_aspen_wood_closed",
burntime = 5,
})
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 316 B

After

Width:  |  Height:  |  Size: 404 B

View File

@ -1,66 +1,61 @@
-- deku by D00Med
-- an edit of mese monster by Zeg9
mobs:register_mob("mobs_loz:deku", {
mobs:register_mob("mobs_loz:deku_scrub", {
type = "animal",
passive = true,
damage = 0,
attack_type = "shoot",
shoot_interval = 2.5,
arrow = "mobs:deku_nut",
reach = 1,
damage = 2,
attack_type = "dogfight",
shoot_offset = 2,
hp_min = 10,
hp_max = 25,
armor = 80,
collisionbox = {-0.4, -0.5, -0.4, 0.4, 0.5, 0.4},
armor = 90,
collisionbox = {-0.4, 0, -0.2, 0.2, 0.5, 0.2},
visual = "mesh",
mesh = "scrub2.b3d",
mesh = "deku_scrub.b3d",
textures = {
{"mobs_scrub.png"},
{"mobs_deku.png"},
},
blood_texture = "default_wood.png",
makes_footstep_sound = true,
sounds = {
random = "default_grass_footstep.1",
attack = "default_grass_footstep.2",
},
view_range = 5,
walk_velocity = 0.5,
run_velocity = 0,
walk_velocity = 1.5,
run_velocity = 6,
runaway = true,
runaway_timer = 10,
jump = false,
jump_height = 0,
fall_damage = 0,
fall_speed = -6,
stepheight = 3,
jump_height = 5,
makes_footstep_sound = true,
drops = {
{name = "default:stick",
chance = 9, min = 1, max = 3},
{name = "hyruletools:green_rupee",
chance = 1, min = 1, max = 9},
chance = 9, min = 1, max = 2},
},
on_die = function(self)
local pos = self.object:getpos()
if math.random(1,2) == 2 then
if math.random(1,5) == 2 then
minetest.env:add_entity(pos, "hyruletools:heart_entity")
end
minetest.env:add_entity(pos, "experience:orb")
end,
water_damage = 1,
water_damage = 0,
lava_damage = 1,
light_damage = 0,
animation = {
speed_normal = 25,
speed_run = 15,
stand_start = 0,
stand_end = 55,
walk_start = 150,
walk_end = 173,
run_start = 0,
run_end = 55,
punch_start = 60,
punch_end = 88,
speed_normal = 14,
speed_run = 23,
stand_start = 1,
stand_end = 40,
walk_start = 10,
walk_end = 30,
run_start = 40,
run_end = 60,
},
})
mobs:register_spawn("mobs_loz:deku_scrub", {"default:dirt_with_grass", "default:dirt_with_grass2"}, 20, 10, 15000, 2, 31000)
mobs:register_egg("mobs_loz:deku_scrub", "Deku Scrub", "default_leaves.png", 1)
--[[
on_rightclick = function(self, clicker)
local item = clicker:get_wielded_item()
@ -99,10 +94,4 @@ mobs:register_mob("mobs_loz:deku", {
minetest.add_item(pos, {name = "default:dirt"})
end
end,
})
mobs:register_spawn("mobs_loz:deku", {"default:dirt_with_grass", "default:dirt_with_grass2"}, 20, 10, 15000, 2, 31000)
mobs:register_egg("mobs_loz:deku", "deku(passive)", "default_leaves.png", 1)
]]

View File

@ -2,7 +2,7 @@ local path = minetest.get_modpath("mobs_loz")
--optional mobs(loz mode)
if minetest.setting_getbool("loz_mode") then
dofile(path.."/deku.lua") -- D00Med
dofile(path.."/deku_scrub.lua") -- D00Med
dofile(path.."/goron.lua") -- D00Med
dofile(path.."/zora.lua") -- D00Med
dofile(path.."/scrub.lua") -- D00Med

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 966 B

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 731 B

After

Width:  |  Height:  |  Size: 774 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 B