This commit is contained in:
KuacGraxa 2023-07-19 20:16:50 -03:00
parent de52c6c327
commit 9cd1ddfcf6
5 changed files with 188 additions and 71 deletions

View File

@ -25,6 +25,7 @@ mobs:register_mob("fungs:fungs", {
sounds = {
--attack = "",
--death = "",
random = "monster1",
},
walk_velocity = 5,
run_velocity = 7,
@ -64,6 +65,13 @@ mobs:register_mob("fungs:fungs", {
if mobs:feed_tame(self, clicker, 8, true, true) then
--self.object:set_animation({x=110, y=150},15, 0, true)
--[[
minetest.sound_play("...", {
gain = 0.5,
})
]]
return
end
@ -86,6 +94,25 @@ mobs:register_mob("fungs:fungs", {
end
end
-- Dance , Dance :
if clicker:get_wielded_item():get_name() == "ethereal:orange" then
local inv = clicker:get_inventory()
local tool = clicker:get_wielded_item()
local item = tool:get_name()
inv:remove_item("main", "ethereal:orange")
self.object:set_animation({x=110, y=149},25, 0, true)
minetest.after(0.8, function()
mobs:set_animation(self, "stand")
end)
end
end,
})

109
README.md
View File

@ -1,6 +1,6 @@
# ⚔️ MOBS ETHEREAL BOSSES ⚔️
This modpack adds at the moment 3 bosses and some other mobs, in biomes of the "Ethereal NG" mod of "TenPlus1" ...
### This modpack adds at the moment 3 bosses and some other mobs, in biomes of the "Ethereal NG" mod of "TenPlus1" ...
- BY : DUCKGO
- CREDITS : TenPlus1
@ -11,88 +11,99 @@ This modpack adds at the moment 3 bosses and some other mobs, in biomes of the "
Video : https://youtu.be/bIRtmMeMpLM
#### ==================================================================================================
### MOBS :
## 👾 MOBS : 👾
" PIXIES "
Health : 8
Damage : 0
Drops : No
Spawn : Underground caves
#### " PIXIES "
- Health : 80
- Damage : 2
- Drops : No
- Spawn : Underground caves
- Follow : Green, red or blue flowers (pixie color equivalent)
" FUNGS "
Health : 80
Damage : 5
Drops : mushroom brown
Spawn : Prairie, biome
#### " FUNGS "
- Health : 80
- Damage : 5
- Drops : mushroom brown
- Spawn : Prairie, biome
- Follow : Strawberry
- curiosity: if you give him orange, he might jump for joy..
### GUARDIANS :
#### ==================================================================================================
### 👾 GUARDIANS : 👾
#### " NATURE GUARDIAN "
Health : 80
Damage : 8
Drops : Nature Roots,Stick
Spawn : Mushroom biome
- Health : 80
- Damage : 8
- Drops : Nature Roots,Stick
- Spawn : Mushroom biome
#### " DEPTHS EYE "
Heath : 20
Damage : 3
Drops : EYE
Spawn : Underground caves
- Heath : 20
- Damage : 3
- Drops : EYE
- Spawn : Underground caves
#### " ICE MONSTER "
Heath : 80
Damage : 15
Drops : No
Spawn :summoned by the " Frosty queen "
- Heath : 80
- Damage : 15
- Drops : No
- Spawn :summoned by the " Frosty queen "
### BOSSES :
#### ==================================================================================================
### 👾 BOSSES : 👾
#### " CRAZY MUSHROOM " (Boss 1)
Heath : 1200
Damage : 17
Drops : Trophy,Glove
Spawn : Mushroom biome
- Heath : 1200
- Damage : 17
- Drops : Trophy,Glove
- Spawn : Mushroom biome
#### HEATED (Boss 2)
#### " HEATED " (Boss 2)
Heath : 1400
Damage : 20
Drops : Trophy ,Flaming Sword
Spawn : Fiery biome
- Heath : 1400
- Damage : 20
- Drops : Trophy ,Flaming Sword
- Spawn : Fiery biome
#### FROSTY QUEEN (Boss 3)
#### " FROSTY QUEEN " (Boss 3)
Heath : 1600
Damage : 5
Drops : Trophy ,Crystal gilly staff ,Crystal ingot
Spawn : Frossy biome , Grassy biome
- Heath : 1600
- Damage : 5
- Drops : Trophy ,Crystal gilly staff ,Crystal ingot
- Spawn : Frossy biome , Grassy biome
#### ==================================================================================================
### ITEMS :
### 👾 ITEMS : 👾
#### TROPHY
#### " TROPHY "
Decorative prize to remind you that you defeated a boss
#### MIRACLE HEALING
#### " MIRACLE HEALING "
This healing helps in the battle against very strong monsters, and can be done using these items : "Diamond , 3 Eyes and Glass bottle "
#### ROOTS
#### MUSHROOM TOOLS
#### NATURE TOOLS
#### NATURE ARMOR
#### FLAMING SWORD
#### "ROOTS "
#### " MUSHROOM TOOLS"
#### " NATURE TOOLS"
#### " NATURE ARMOR "
#### "FLAMING SWORD "
#### ==================================================================================================
This is a simple mod, made by those who are still learning to program in "Lua", and likes PVE battles .. I hope this mod provides hours of adrenaline-filled games and challenges in your world...
Have a good time ...
Have a good time ...👍

View File

@ -21,7 +21,7 @@ minetest.register_tool("eamoretools:pick_mushroom", {
minetest.register_tool("eamoretools:shovel_mushroom", {
description = "Mushroom Shovel",
inventory_image = "mushroom_shovel.png",
wield_image = "default_tool_stoneshovel.png^[transformR90",
wield_image = "mushroom_shovel.png",
tool_capabilities = {
full_punch_interval = 1.4,
max_drop_level=0,

View File

@ -3,13 +3,15 @@
-- ============================================= PIXIES BLUE =============================================================
mobs:register_mob("pixies:pixies_blue", {
--nametag = "Pixies" ,
type = "animal",
type = "npc",
passive = true,
attack_type = "dogfight",
owner_loyal = true,
pathfinding = true,
-- reach = 0,
-- damage = 0,
hp_min = 8,
hp_max = 8,
reach = 1,
damage = 3,
hp_min = 80,
hp_max = 80,
armor = 100,
collisionbox = {-0.3, -0.5, -0.3, 0.3, 0.1, 0.3},
visual = "mesh",
@ -42,6 +44,8 @@ mobs:register_mob("pixies:pixies_blue", {
lava_damage = 2,
light_damage = 0,
glow =8,
owner = "", --
order = "follow",
animation = {
speed_normal = 30,
stand_start = 1,
@ -55,13 +59,13 @@ mobs:register_mob("pixies:pixies_blue", {
},
--follow = {
--" ",
follow = {
"flowers:geranium",
--" ",
--},
},
--[[
on_rightclick = function(self, clicker)
if mobs:feed_tame(self, clicker, 8, true, true) then return end
@ -88,8 +92,6 @@ mobs:register_mob("pixies:pixies_blue", {
end
]]
})
@ -123,13 +125,15 @@ mobs:register_egg("pixies:pixies_blue", "Pixies Blue", "pixies_blue_egg.png", 0)
-- ============================================= PIXIES RED =============================================================
mobs:register_mob("pixies:pixies_red", {
--nametag = "Pixies Red" ,
type = "animal",
type = "npc",
passive = true,
attack_type = "dogfight",
owner_loyal = true,
pathfinding = true,
-- reach = 0,
-- damage = 0,
hp_min = 8,
hp_max = 8,
reach = 1,
damage = 2,
hp_min = 80,
hp_max = 80,
armor = 100,
collisionbox = {-0.3, -0.5, -0.3, 0.3, 0.1, 0.3},
visual = "mesh",
@ -153,6 +157,8 @@ mobs:register_mob("pixies:pixies_red", {
floats = 0,
view_range = 35,
glow =5,
owner = "", --
order = "follow",
drops = {
--{name = " ", chance = 3, min = 0, max = 1},
@ -173,6 +179,40 @@ mobs:register_mob("pixies:pixies_red", {
run_end = 8,
},
follow = {
"flowers:rose",
--" ",
},
on_rightclick = function(self, clicker)
if mobs:feed_tame(self, clicker, 8, true, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 50, 50, 90, false, nil) then return end
-- by right-clicking owner can switch between staying and walking
if self.owner and self.owner == clicker:get_player_name() then
if self.order ~= "stand" then
self.order = "stand"
self.state = "stand"
self.object:set_velocity({x = 0, y = 0, z = 0})
mobs:set_animation(self, "stand")
else
self.order = ""
mobs:set_animation(self, "fly")
end
end
if not clicker:is_player() then
return
end
end
@ -207,13 +247,15 @@ mobs:register_egg("pixies:pixies_red", "Pixies Red", "pixies_red_egg.png", 0)
-- ============================================= PIXIES GREEN =============================================================
mobs:register_mob("pixies:pixies_green", {
--nametag = "Pixies Green" ,
type = "animal",
type = "npc",
passive = true,
attack_type = "dogfight",
owner_loyal = true,
pathfinding = true,
-- reach = 0,
-- damage = 0,
hp_min = 8,
hp_max = 8,
reach = 1,
damage = 2,
hp_min = 80,
hp_max = 80,
armor = 100,
collisionbox = {-0.3, -0.5, -0.3, 0.3, 0.1, 0.3},
visual = "mesh",
@ -237,6 +279,8 @@ mobs:register_mob("pixies:pixies_green", {
floats = 0,
view_range = 35,
glow =5,
owner = "", --
order = "follow",
drops = {
--{name = " ", chance = 3, min = 0, max = 1},
@ -257,6 +301,41 @@ mobs:register_mob("pixies:pixies_green", {
run_end = 8,
},
follow = {
"flowers:chrysanthemum_green",
--" ",
},
on_rightclick = function(self, clicker)
if mobs:feed_tame(self, clicker, 8, true, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 50, 50, 90, false, nil) then return end
-- by right-clicking owner can switch between staying and walking
if self.owner and self.owner == clicker:get_player_name() then
if self.order ~= "stand" then
self.order = "stand"
self.state = "stand"
self.object:set_velocity({x = 0, y = 0, z = 0})
mobs:set_animation(self, "stand")
else
self.order = ""
mobs:set_animation(self, "fly")
end
end
if not clicker:is_player() then
return
end
end

BIN
pixies/sounds/pixie_yay.ogg Normal file

Binary file not shown.