Exemplo n.º 1
0
        public void Register()
        {
            combatChip.OnUse += Action;
            combatChip.Register(KeyName);
            MoreCombatChips.Log($"Registered Chip: {combatChip.Name} with ID {combatChip.GetID()}");

            ModdedChip thisChip = new ModdedChip(combatChip);

            StoreExtraDetails(ref thisChip);
            MoreCombatChips.ModdedChipsList.Add(thisChip);

            AddRequiredResources();
        }
 protected override void StoreExtraDetails(ref ModdedChip moddedChip)
 {
     base.StoreExtraDetails(ref moddedChip);
     ApplyMoreAdvancedChipData(ref moddedChip);
 }
Exemplo n.º 3
0
 protected void ApplyMoreAdvancedChipData(ref ModdedChip moddedChip)
 {
     moddedChip.SetCost(11, 16);
     moddedChip.isAdvanced = true;
 }
Exemplo n.º 4
0
 protected virtual void StoreExtraDetails(ref ModdedChip moddedChip)
 {
 }