Paste #38068: Untitled Paste

Date: 2016/11/30 15:27:50 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14


"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<&uuml>cht] Es finden K<&auml>mpfe auf einer Milit<&auml>rbasis statt."
      }