npcs dont attack each other, igors dont play nice though :)
This commit is contained in:
parent
30f85bc5dc
commit
381ee5ff44
1
npc.lua
1
npc.lua
|
@ -14,6 +14,7 @@ mobs:register_mob("mobs_npc:npc", {
|
||||||
damage = 3,
|
damage = 3,
|
||||||
attack_type = "dogfight",
|
attack_type = "dogfight",
|
||||||
attacks_monsters = true,
|
attacks_monsters = true,
|
||||||
|
attack_npcs = false,
|
||||||
owner_loyal = true,
|
owner_loyal = true,
|
||||||
pathfinding = true,
|
pathfinding = true,
|
||||||
hp_min = 10,
|
hp_min = 10,
|
||||||
|
|
|
@ -33,6 +33,7 @@ mobs:register_mob("mobs_npc:trader", {
|
||||||
damage = 3,
|
damage = 3,
|
||||||
attack_type = "dogfight",
|
attack_type = "dogfight",
|
||||||
attacks_monsters = true,
|
attacks_monsters = true,
|
||||||
|
attack_npcs = false,
|
||||||
pathfinding = false,
|
pathfinding = false,
|
||||||
hp_min = 10,
|
hp_min = 10,
|
||||||
hp_max = 20,
|
hp_max = 20,
|
||||||
|
|
Loading…
Reference in New Issue