Pet scorpions will try to attack NPCs and NPCs will hit them back and scorps get hurt #6248
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
ugh/petz
ugh/QA main
ugh/QA NOK
ugh/QA OK
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#6248
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
whosit reports a bug:
Player position:
Player look:
Player information:
Player meta:
Log identifier
Profiler save:
Status:
Teleport command:
Compass command:
whosit reports: pet scorpions will try to atta ...to whosit reports: pet scorpions will try to attack NPCs and NPCs will hit them back and hurtwhosit reports: pet scorpions will try to attack NPCs and NPCs will hit them back and hurtto Pet scorpions will try to attack NPCs and NPCs will hit them back and scorps get hurtOnly August will hit scorps back, because he's
yl_npc:npc
, Sigrun for example isyl_npc:human
and does not fight back.Pet scorpions shouldn't attack either, they are all of
type = "npc"
and scorpions have no order to attack anything. Yet, they areowner_loyal = true
. May that be the cause?The "fight back" depends on what NPC we'll use for the city services
apparently
attack_npcs=true
is the default?d4a25064ea/api.lua (L193)
the reason NPCs don't target each other is because they also have
passive = true
, the pet scorpion doesn't.we could either fix this by setting
attack_npcs=false
for the pet scorpion, or request Tenplus1 change the default behavior depending on the kind of mob (monster vs. npc vs. animal)Changing upstream may break a lot of stuff.
Let's explicitly change the pet scorpion to attack_npcs=false
Are there other values that hint at a certain direction?
done
1852c49fc6
i don't understand this. what kind of "direction"?
That referred to a sentence I deleted before sending. It was meant to say that apparently mobs_redo takes certain assumptions what one will do with it: make hostile mobs. The questions was whether there are other values geared towards that goal, which in light of a more general usage should have different default values.
i'm pretty sure that the defaults make a bunch of contradictory assumptions.
best buds now?
live.