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); }
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); }