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", { minetest.register_craftitem("carts:cart", {
description = "Cart (Sneak+Click to pick up)", description = "Cart (Sneak+Click to pick up)",
inventory_image = "carts_cart_item", inventory_image = "carts_cart_item.png",
wield_image = "carts_cart_item.png", wield_image = "carts_cart_item.png",
on_place = function(itemstack, placer, pointed_thing) on_place = function(itemstack, placer, pointed_thing)
if not pointed_thing.type == "node" then if not pointed_thing.type == "node" then

View File

@ -947,4 +947,4 @@ minetest.register_craft({
type = "fuel", type = "fuel",
recipe = "doors:gate_aspen_wood_closed", recipe = "doors:gate_aspen_wood_closed",
burntime = 5, 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 mobs:register_mob("mobs_loz:deku_scrub", {
-- an edit of mese monster by Zeg9
mobs:register_mob("mobs_loz:deku", {
type = "animal", type = "animal",
passive = true, passive = true,
damage = 0, reach = 1,
attack_type = "shoot", damage = 2,
shoot_interval = 2.5, attack_type = "dogfight",
arrow = "mobs:deku_nut",
shoot_offset = 2, shoot_offset = 2,
hp_min = 10, hp_min = 10,
hp_max = 25, hp_max = 25,
armor = 80, armor = 90,
collisionbox = {-0.4, -0.5, -0.4, 0.4, 0.5, 0.4}, collisionbox = {-0.4, 0, -0.2, 0.2, 0.5, 0.2},
visual = "mesh", visual = "mesh",
mesh = "scrub2.b3d", mesh = "deku_scrub.b3d",
textures = { textures = {
{"mobs_scrub.png"}, {"mobs_deku.png"},
}, },
blood_texture = "default_wood.png", blood_texture = "default_wood.png",
makes_footstep_sound = true,
sounds = {
random = "default_grass_footstep.1",
attack = "default_grass_footstep.2",
},
view_range = 5, view_range = 5,
walk_velocity = 0.5, walk_velocity = 1.5,
run_velocity = 0, run_velocity = 6,
runaway = true,
runaway_timer = 10,
jump = false, jump = false,
jump_height = 0, jump_height = 5,
fall_damage = 0, makes_footstep_sound = true,
fall_speed = -6,
stepheight = 3,
drops = { drops = {
{name = "default:stick", {name = "default:stick",
chance = 9, min = 1, max = 3}, chance = 9, min = 1, max = 2},
{name = "hyruletools:green_rupee",
chance = 1, min = 1, max = 9},
}, },
on_die = function(self) on_die = function(self)
local pos = self.object:getpos() 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") minetest.env:add_entity(pos, "hyruletools:heart_entity")
end end
minetest.env:add_entity(pos, "experience:orb") minetest.env:add_entity(pos, "experience:orb")
end, end,
water_damage = 1, water_damage = 0,
lava_damage = 1, lava_damage = 1,
light_damage = 0, light_damage = 0,
animation = { animation = {
speed_normal = 25, speed_normal = 14,
speed_run = 15, speed_run = 23,
stand_start = 0, stand_start = 1,
stand_end = 55, stand_end = 40,
walk_start = 150, walk_start = 10,
walk_end = 173, walk_end = 30,
run_start = 0, run_start = 40,
run_end = 55, run_end = 60,
punch_start = 60,
punch_end = 88,
}, },
})
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) on_rightclick = function(self, clicker)
local item = clicker:get_wielded_item() local item = clicker:get_wielded_item()
@ -99,10 +94,4 @@ mobs:register_mob("mobs_loz:deku", {
minetest.add_item(pos, {name = "default:dirt"}) minetest.add_item(pos, {name = "default:dirt"})
end end
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) --optional mobs(loz mode)
if minetest.setting_getbool("loz_mode") then 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.."/goron.lua") -- D00Med
dofile(path.."/zora.lua") -- D00Med dofile(path.."/zora.lua") -- D00Med
dofile(path.."/scrub.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