Small fixes and tweaks.
parent
78ec56debc
commit
c232633f48
|
@ -74,6 +74,8 @@ if read_setting("castle_masonry_obsidianbrick", false) then
|
||||||
table.insert(castle_masonry.materials, {name="obsidianbrick", desc=S("Obsidian Brick"), tile="default_obsidian_brick.png", craft_material="default:obsidianbrick"})
|
table.insert(castle_masonry.materials, {name="obsidianbrick", desc=S("Obsidian Brick"), tile="default_obsidian_brick.png", craft_material="default:obsidianbrick"})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
table.insert(castle_masonry.materials, {name="obsidianbrick", desc=S("Obsidian Brick"), tile="default_obsidian_brick.png", craft_material="default:obsidianbrick"})
|
||||||
|
|
||||||
castle_masonry.get_material_properties = function(material)
|
castle_masonry.get_material_properties = function(material)
|
||||||
local composition_def
|
local composition_def
|
||||||
local burn_time
|
local burn_time
|
||||||
|
|
|
@ -54,6 +54,7 @@ CROSSBOW_ENTITIES = {
|
||||||
'fantasy_mobs:larva_pet',
|
'fantasy_mobs:larva_pet',
|
||||||
'fantasy_mobs:cavefreak_slash',
|
'fantasy_mobs:cavefreak_slash',
|
||||||
'fantasy_mobs:cavefreak_fire',
|
'fantasy_mobs:cavefreak_fire',
|
||||||
|
'fantasy_mobs:lava_titan',
|
||||||
'desert_life:ostrich',
|
'desert_life:ostrich',
|
||||||
'desert_life:armadillo',
|
'desert_life:armadillo',
|
||||||
'epic:ocean_guardian',
|
'epic:ocean_guardian',
|
||||||
|
|
|
@ -80,6 +80,22 @@ minetest.register_node('epic:stone_with_titanium', {
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node('epic:nether_with_gold', {
|
||||||
|
description = 'Nether rack with gold',
|
||||||
|
tiles = {'nether_rack.png^default_mineral_gold.png'},
|
||||||
|
groups = {cracky = 1, stone = 1},
|
||||||
|
drop = 'default:gold_lump 2',
|
||||||
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node('epic:nether_with_diamond', {
|
||||||
|
description = 'Nether rack with gold',
|
||||||
|
tiles = {'nether_rack.png^default_mineral_diamond.png'},
|
||||||
|
groups = {cracky = 1, stone = 1},
|
||||||
|
drop = 'default:diamond 2',
|
||||||
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_node('epic:tree_ash', {
|
minetest.register_node('epic:tree_ash', {
|
||||||
description = 'Burnt tree',
|
description = 'Burnt tree',
|
||||||
paramtype2 = 'facedir',
|
paramtype2 = 'facedir',
|
||||||
|
|
|
@ -3,5 +3,6 @@ dofile(minetest.get_modpath('fantasy_mobs')..'/goblins.lua')
|
||||||
dofile(minetest.get_modpath('fantasy_mobs')..'/fairy.lua')
|
dofile(minetest.get_modpath('fantasy_mobs')..'/fairy.lua')
|
||||||
dofile(minetest.get_modpath('fantasy_mobs')..'/mummy.lua')
|
dofile(minetest.get_modpath('fantasy_mobs')..'/mummy.lua')
|
||||||
dofile(minetest.get_modpath('fantasy_mobs')..'/larva.lua')
|
dofile(minetest.get_modpath('fantasy_mobs')..'/larva.lua')
|
||||||
|
dofile(minetest.get_modpath('fantasy_mobs')..'/lava_titan.lua')
|
||||||
dofile(minetest.get_modpath('fantasy_mobs')..'/gnomes.lua')
|
dofile(minetest.get_modpath('fantasy_mobs')..'/gnomes.lua')
|
||||||
dofile(minetest.get_modpath('fantasy_mobs')..'/cavefreak.lua')
|
dofile(minetest.get_modpath('fantasy_mobs')..'/cavefreak.lua')
|
||||||
|
|
|
@ -0,0 +1,89 @@
|
||||||
|
mobs:register_mob("fantasy_mobs:lava_titan", {
|
||||||
|
type = "monster",
|
||||||
|
hp_max = 180,
|
||||||
|
hp_min = 100,
|
||||||
|
collisionbox = {-0.45, -0.05, -0.45, 0.45, 1.8, 0.45},
|
||||||
|
visual = "mesh",
|
||||||
|
mesh = "fantasy_lava_titan.b3d",
|
||||||
|
textures = {{"fantasy_lava_titan.png"}},
|
||||||
|
visual_size = {x=2, y=2},
|
||||||
|
makes_footstep_sound = true,
|
||||||
|
view_range = 20,
|
||||||
|
fear_height = 4,
|
||||||
|
lifetimer = 500,
|
||||||
|
walk_velocity = 0.5,
|
||||||
|
run_velocity = 1.3,
|
||||||
|
sounds = {
|
||||||
|
random = "lava_titan",
|
||||||
|
},
|
||||||
|
damage = 8,
|
||||||
|
jump = false,
|
||||||
|
jump_height=0,
|
||||||
|
drops = {
|
||||||
|
{name = "bucket:bucket_lava", chance = 2, min = 1, max = 3,},
|
||||||
|
{name = "epic:slicer", chance = 2, min = 1, max = 2},
|
||||||
|
},
|
||||||
|
armor = 20,
|
||||||
|
drawtype = "front",
|
||||||
|
water_damage = 25,
|
||||||
|
rotate = 270,
|
||||||
|
light_damage = 0,
|
||||||
|
lava_damage = 0,
|
||||||
|
on_rightclick = nil,
|
||||||
|
floats = 0,
|
||||||
|
knock_back=0,
|
||||||
|
attack_type = "dogshoot",
|
||||||
|
dogshoot_switch = true,
|
||||||
|
arrow = "fantasy_mobs:lava_arrow",
|
||||||
|
shoot_interval = 2,
|
||||||
|
shoot_offset = 0,
|
||||||
|
animation = {
|
||||||
|
speed_normal = 25,
|
||||||
|
speed_run = 45,
|
||||||
|
stand_start = 120,
|
||||||
|
stand_end = 300,
|
||||||
|
walk_start = 10,
|
||||||
|
walk_end = 110,
|
||||||
|
run_start = 10,
|
||||||
|
run_end = 110,
|
||||||
|
punch_start = 301,
|
||||||
|
punch_end = 340,
|
||||||
|
shoot_start =340,
|
||||||
|
shoot_end=400,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
mobs:register_arrow("fantasy_mobs:lava_arrow", {
|
||||||
|
visual = "sprite",
|
||||||
|
visual_size = {x = 1, y = 1},
|
||||||
|
textures = {"epic_blank.png"},
|
||||||
|
velocity = 10,
|
||||||
|
-- direct hit
|
||||||
|
hit_player = function(self, player)
|
||||||
|
local pos = self.object:getpos()
|
||||||
|
if minetest.is_protected(pos, "") then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
for dy=-1, 6, 1 do
|
||||||
|
for dx=-1, 1, 2 do
|
||||||
|
for dz=-1, 1, 2 do
|
||||||
|
local p = {x=pos.x+dx, y=pos.y+dy, z=pos.z+dz}
|
||||||
|
local n = minetest.env:get_node(p).name
|
||||||
|
if n~="default:lava_flowing" and not minetest.is_protected(p, "") then
|
||||||
|
minetest.set_node(p, {name="default:lava_flowing"})
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
|
mobs:spawn({
|
||||||
|
name = 'fantasy_mobs:lava_titan',
|
||||||
|
nodes = {'nether:lava_crust'},
|
||||||
|
min_height = -31000,
|
||||||
|
max_height = -25000,
|
||||||
|
interval = 31,
|
||||||
|
chance = 2000,
|
||||||
|
active_object_count = 5,
|
||||||
|
})
|
|
@ -18,3 +18,7 @@ http://creativecommons.org/licenses/by-sa/3.0/
|
||||||
* Sound files by:
|
* Sound files by:
|
||||||
* artisticdude http://opengameart.org/content/goblins-sound-pack CC0-license
|
* artisticdude http://opengameart.org/content/goblins-sound-pack CC0-license
|
||||||
* Ogrebane http://opengameart.org/content/monster-sound-pack-volume-1 CC0-license
|
* Ogrebane http://opengameart.org/content/monster-sound-pack-volume-1 CC0-license
|
||||||
|
|
||||||
|
Lava titan mesh, texture, and sound by NPXcoot licensed CC BY-SA 4.0 https://github.com/NPXcoot/Nssm-models-textures-sounds
|
||||||
|
|
||||||
|
Remaining media by Nathan Salapat licensed CC By-SA 4.0
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 573 KiB |
|
@ -189,6 +189,28 @@ minetest.register_ore({
|
||||||
y_min = NETHER_FLOOR,
|
y_min = NETHER_FLOOR,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_ore({
|
||||||
|
ore_type = "scatter",
|
||||||
|
ore = "epic:nether_with_gold",
|
||||||
|
wherein = {"nether:rack"},
|
||||||
|
clust_scarcity = 16 * 16 * 16,
|
||||||
|
clust_num_ores = 12,
|
||||||
|
clust_size = 4,
|
||||||
|
y_max = NETHER_CEILING,
|
||||||
|
y_min = NETHER_FLOOR,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_ore({
|
||||||
|
ore_type = "scatter",
|
||||||
|
ore = "epic:nether_with_diamond",
|
||||||
|
wherein = {"nether:rack"},
|
||||||
|
clust_scarcity = 17 * 17 * 17,
|
||||||
|
clust_num_ores = 12,
|
||||||
|
clust_size = 4,
|
||||||
|
y_max = NETHER_CEILING,
|
||||||
|
y_min = NETHER_FLOOR,
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
ore_type = "blob",
|
ore_type = "blob",
|
||||||
ore = "nether:sand",
|
ore = "nether:sand",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
local news = {
|
local news = {
|
||||||
'6/22/20',
|
'6/22/20',
|
||||||
'Picnic tables can be crated and sat on.',
|
'Picnic tables can be crafted and sat on.',
|
||||||
'Cloudland portals are working now. Updated Mobs_redo.',
|
'Cloudland portals are working now. Updated Mobs_redo.',
|
||||||
'You can finally sit on benches with friends.',
|
'You can finally sit on benches with friends.',
|
||||||
'',
|
'',
|
||||||
|
|
Loading…
Reference in New Issue