Date: 2016/11/30 15:27:50 UTC-08:00
Type: Denizen Script
"TheOneAndOnlyNPCDeathEvent":
type: world
debug: false
events:
On npc dies:
- announce "died ID <npc.id>"
- if <npc.has_flag[Soldat]> {
- if <npc.has_flag[Angreifer]> {
- yaml id:<player[<npc.flag[Angreifer]>]> set Stats.NPCSoldatKills:+:1
- yaml savefile:/Spieler/<player[<npc.flag[Angreifer]>]>.yml id:<player[<npc.flag[Angreifer]>]>
}
- determine passively no_drops
- determine "<gray>[Ger<ü>cht] Es finden K<ä>mpfe auf einer Milit<ä>rbasis statt."
}