1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-25 02:00:37 +01:00

update mobs mod

fix npc male/female not tamed
reduce volume and convert npc female sound
move .blend in others_thing
chmod 755
This commit is contained in:
crabman77 2015-09-30 03:43:51 +02:00
parent 4664c11f59
commit 2c47322feb
28 changed files with 1190 additions and 1211 deletions

View File

@ -28,6 +28,7 @@ This mod contains the following additions:
Changelog:
1.17- Added 'dogshoot' attack type, shoots when out of reach, melee attack when in reach, also api tweaks and self.reach added
1.16- Mobs follow multiple items now, Npc's can breed
1.15- Added Feeding/Taming/Breeding function, right-click to pick up any sheep with X mark on them and replace with new one to fix compatibility.
1.14- All .self variables saved in staticdata, Fixed self.health bug

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,7 @@ mobs:register_mob("mobs:bunny", {
type = "animal",
-- is it aggressive
passive = true,
reach = 1,
-- health & armor
hp_min = 3, hp_max = 6, armor = 200,
-- textures and model
@ -62,7 +63,6 @@ mobs:register_mob("mobs:bunny", {
textures = {"mobs_bunny_evil.png"},
})
self.type = "monster"
self.state = "attack"
self.object:set_hp(20)
return
end

View File

@ -8,6 +8,7 @@ mobs:register_mob("mobs:cow", {
passive = false,
group_attack = true,
attack_type = "dogfight",
reach = 2,
damage = 4,
-- health & armor
hp_min = 25,

View File

@ -7,6 +7,7 @@ mobs:register_mob("mobs:dirt_monster", {
-- aggressive, deals 6 damage to player when hit
passive = false,
attack_type = "dogfight",
reach = 2,
damage = 5,
-- health & armor
hp_min = 25,

View File

@ -10,7 +10,8 @@ mobs:register_mob("mobs:dungeon_master", {
-- aggressive, shoots fireballs at player, deal 13 damages
passive = false,
damage = 12,
attack_type = "shoot",
attack_type = "dogshoot",
reach = 3,
shoot_interval = 2.5,
arrow = "mobs:fireball",
shoot_offset = 1,
@ -32,7 +33,7 @@ mobs:register_mob("mobs:dungeon_master", {
makes_footstep_sound = true,
sounds = {
random = "mobs_dungeonmaster",
attack = "mobs_fireball",
shoot_attack = "mobs_fireball",
},
-- speed and jump
walk_velocity = 1,

View File

@ -7,6 +7,7 @@ mobs:register_mob("mobs:lava_flan", {
-- aggressive, deals 5 damage to player when hit
passive = false,
attack_type = "dogfight",
reach = 2,
damage = 5,
-- health and armor
hp_min = 20,

0
mods/mobs/models/mobs_shark.b3d Normal file → Executable file
View File

View File

@ -86,6 +86,7 @@ mobs:register_mob("mobs:npc", {
end
if self.diamond_count >= 4 then
self.damages = 3
self.tamed = true
self.owner = clicker:get_player_name()
end
end

View File

@ -90,6 +90,7 @@ mobs:register_mob("mobs:npc_female", {
end
if self.diamond_count >= 4 then
self.damages = 3
self.tamed = true
self.owner = clicker:get_player_name()
end
end

View File

@ -7,6 +7,7 @@ mobs:register_mob("mobs:oerkki", {
-- aggressive, deals 7 damage when player hit
passive = false,
attack_type = "dogfight",
reach = 2,
damage = 6,
-- health & armor
hp_min = 40,
@ -25,7 +26,7 @@ mobs:register_mob("mobs:oerkki", {
makes_footstep_sound = false,
sounds = {
random = "mobs_oerkki",
attack = "mobs_oerkki_attack",
shoot_attack = "mobs_oerkki_attack",
},
-- speed and jump
walk_velocity = 2,

View File

@ -7,6 +7,7 @@ mobs:register_mob("mobs:sand_monster", {
-- aggressive, deals 5 damage to player when hit
passive = false,
attack_type = "dogfight",
reach = 2,
damage = 4,
-- health & armor
hp_min = 15,

0
mods/mobs/shark.lua Normal file → Executable file
View File

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -7,6 +7,7 @@ mobs:register_mob("mobs:spider", {
-- agressive, does 6 damage to player when hit
passive = false,
attack_type = "dogfight",
reach = 2,
damage = 5,
-- health & armor
hp_min = 30,

View File

@ -7,6 +7,7 @@ mobs:register_mob("mobs:stone_monster", {
-- aggressive, deals 8 damage to player when hit
passive = false,
attack_type = "dogfight",
reach = 2,
damage = 7,
-- health & armor
hp_min = 20,

0
mods/mobs/textures/mobs_cow_inv.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

0
mods/mobs/textures/mobs_shark_shark_item.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

0
mods/mobs/textures/shark_first.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

0
mods/mobs/textures/shark_second.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

0
mods/mobs/textures/shark_third.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -7,6 +7,7 @@ mobs:register_mob("mobs:tree_monster", {
-- aggressive, deals 9 damage to player when hit
passive = false,
attack_type = "dogfight",
reach = 2,
damage = 8,
-- health & armor
hp_min = 40,

View File

@ -8,6 +8,7 @@ mobs:register_mob("mobs:pumba", {
passive = false,
group_attack = true,
attack_type = "dogfight",
reach = 2,
damage = 4,
-- health & armor
hp_min = 15,