Beispiel #1
0
        public override void PostLoad()
        {
            PlaceItems[0]           = SimplePrototypeItem.MakePlaceable(mod, "BigButtonItem", Type, 24, 20);
            PlaceItems[0].item.rare = ItemRarityID.White;

            NetRouter.AddHandler(this);
        }
        public override void PostLoad()
        {
            PlaceItems[0]           = SimplePrototypeItem.MakePlaceable(mod, "SmallButtonItem", Type, 20, 20, 0, Item.sellPrice(0, 0, 4, 0));
            PlaceItems[0].item.rare = ItemRarityID.White;

            NetRouter.AddHandler(this);
        }
Beispiel #3
0
        public override void PostLoad()
        {
            PlaceItems = new ModItem[2];

            //Filter
            PlaceItems[0] = SimplePrototypeItem.MakePlaceable(mod, "TransferFilterItem", Type, 16, 16, 0);

            //InverseFilter
            PlaceItems[1] = SimplePrototypeItem.MakePlaceable(mod, "InverseTransferFilterItem", Type, 16, 16, 1);

            LoadFilters();
        }
Beispiel #4
0
        public override void PostLoad()
        {
            PlaceItems = new ModItem[3];

            int sell = Item.sellPrice(0, 1, 0, 0);

            //Omni turret
            PlaceItems[0]           = SimplePrototypeItem.MakePlaceable(mod, "OmniTurretItem", Type, 32, 32, 0, sell);
            PlaceItems[0].item.rare = ItemRarityID.Green;

            //Super omni turret
            PlaceItems[1]           = SimplePrototypeItem.MakePlaceable(mod, "SuperOmniTurretItem", Type, 32, 32, 1, sell);
            PlaceItems[1].item.rare = ItemRarityID.LightRed;

            //Matter projector
            PlaceItems[2]           = SimplePrototypeItem.MakePlaceable(mod, "MatterProjectorItem", Type, 32, 32, 2, sell);
            PlaceItems[2].item.rare = ItemRarityID.Cyan;

            NetRouter.AddHandler(this);
        }
 public override void PostLoad()
 {
     PlaceItems[0] = SimplePrototypeItem.MakePlaceable(mod, "TransferRelayItem", Type, 32, 16);
 }
Beispiel #6
0
 public override void PostLoad()
 {
     PlaceItems[0] = SimplePrototypeItem.MakePlaceable(mod, "MagicStorageExtraInterfaceItem", Type, 32, 32);
 }
 public override void PostLoad()
 {
     PlaceItems[0]           = SimplePrototypeItem.MakePlaceable(mod, "TransferAssemblerItem", Type, 16, 16, 0, Item.sellPrice(0, 1, 0, 0));
     PlaceItems[0].item.rare = ItemRarityID.LightRed;
 }
Beispiel #8
0
 public override void PostLoad()
 {
     PlaceItems[0]           = SimplePrototypeItem.MakePlaceable(mod, "PlayerInterfaceItem", Type, 26, 26, 0, Item.sellPrice(0, 1, 0, 0));
     PlaceItems[0].item.rare = ItemRarityID.LightRed;
 }
Beispiel #9
0
 public override void PostLoad()
 {
     PlaceItem           = SimplePrototypeItem.MakePlaceable(mod, "LivingHellstoneItem", Type);
     PlaceItem.item.rare = ItemRarityID.Green;
     PlaceItem.item.mech = false;
 }
 public override void PostLoad()
 {
     PlaceItems[0] = SimplePrototypeItem.MakePlaceable(mod, "TransferExtractorItem", Type);
 }