예제 #1
0
 public override void OnAssignedNPC(NPCBase npc)
 {
     owner        = npc.Colony.Owner;
     _tmpVals     = npc.GetTempValues(true);
     _colony      = npc.Colony;
     _playerState = PlayerState.GetPlayerState(_colony.Owner);
     _stock       = Stockpile.GetStockPile(_colony.Owner);
     base.OnAssignedNPC(npc);
 }
예제 #2
0
 public void OnAssignedNPC(NPCBase npc)
 {
     _usedNPC     = npc;
     _tmpVals     = npc.GetTempValues(true);
     _colony      = npc.Colony;
     _inv         = SettlerInventory.GetSettlerInventory(npc);
     _playerState = PlayerState.GetPlayerState(_colony.Owner);
     _stock       = Stockpile.GetStockPile(_colony.Owner);
 }