예제 #1
0
        public override void PostLoad()
        {
            SimplePlaceableItem i = new SimplePlaceableItem();

            i.placeType = Type;
            mod.AddItem("TransferOutletItem", i);
            i.DisplayName.AddTranslation(LangID.English, "Transfer outlet");
            i.Tooltip.AddTranslation(LangID.English, "Drops item");
            placeItems[0] = i;
        }
예제 #2
0
        public override void PostLoad()
        {
            SimplePlaceableItem i = new SimplePlaceableItem();

            i.placeType = Type;
            mod.AddItem("TransferInjectorItem", i);
            i.DisplayName.AddTranslation(LangID.English, "Transfer Injector");
            i.Tooltip.AddTranslation(LangID.English, "Injects items into adjacent chests");
            placeItems[0] = i;
        }
예제 #3
0
        public override void PostLoad()
        {
            SimplePlaceableItem i = new SimplePlaceableItem();

            i.placeType = Type;
            mod.AddItem("MagicStorageInterfaceItem", i);
            i.DisplayName.AddTranslation(LangID.English, "Magic storage interface");
            i.Tooltip.AddTranslation(LangID.English, "Allows you to inject and extract items from storage systems");
            placeItems[0] = i;
        }
예제 #4
0
        public override void PostLoad()
        {
            SimplePlaceableItem i = new SimplePlaceableItem();

            i.placeType = Type;
            mod.AddItem("TransferGateItem", i);
            i.DisplayName.AddTranslation(LangID.English, "Transfer gate");
            i.Tooltip.AddTranslation(LangID.English, "Place in line with Transfer pipe to toggle the item flow with wire");
            placeItems[0] = i;
        }
예제 #5
0
        public override void PostLoad()
        {
            SimplePlaceableItem i = new SimplePlaceableItem();

            i.placeType = Type;
            mod.AddItem("TransferPipeItem", i);
            i.DisplayName.AddTranslation(LangID.English, "Transfer pipe");
            i.Tooltip.AddTranslation(LangID.English, "Used to connect item transfer devices");
            placeItems[0] = i;
        }
예제 #6
0
        public override void PostLoad()
        {
            SimplePlaceableItem i = new SimplePlaceableItem();

            i.placeType = Type;
            mod.AddItem("TransferRelayItem", i);
            i.DisplayName.AddTranslation(LangID.English, "Transfer relay");
            i.Tooltip.AddTranslation(LangID.English, "Receives items, and sends them out again");
            placeItems[0] = i;
        }
예제 #7
0
        public override void PostLoad()
        {
            SimplePlaceableItem i = new SimplePlaceableItem();

            i.placeType = Type;
            mod.AddItem("PlayerInterfaceItem", i);
            i.value = Item.sellPrice(0, 1, 0, 0);
            i.DisplayName.AddTranslation(LangID.English, "Player interface");
            i.Tooltip.AddTranslation(LangID.English, "Allows you to inject and extract items from a players inventory");
            placeItems[0] = i;
        }
예제 #8
0
        public override void PostLoad()
        {
            SimplePlaceableItem i = new SimplePlaceableItem();

            i.placeType = Type;
            i.value     = Item.sellPrice(0, 1, 0, 0);
            mod.AddItem("StackExtractorItem", i);
            i.DisplayName.AddTranslation(LangID.English, "Stack extractor");
            i.Tooltip.AddTranslation(LangID.English, "Extracts a whole stack at once");
            placeItems[0] = i;
        }
        public override void PostLoad()
        {
            SimplePlaceableItem i = new SimplePlaceableItem();

            i.placeType = Type;
            i.value     = Item.sellPrice(0, 1, 0, 0);
            mod.AddItem("TransferAssemblerItem", i);
            i.DisplayName.AddTranslation(LangID.English, "Transfer assembler");
            i.Tooltip.AddTranslation(LangID.English, "WIP\nCrafts items automatically\nRight click with item in hand to set filter");
            placeItems[0] = i;
        }
예제 #10
0
        public override void PostLoad()
        {
            SimplePlaceableItem i = new SimplePlaceableItem();

            i.placeType = Type;
            i.value     = Item.sellPrice(0, 0, 4, 0);
            mod.AddItem("SmallButtonItem", i);
            i.DisplayName.AddTranslation(LangID.English, "Small button");
            placeItems[0] = i;

            NetRouter.AddHandler(this);
        }
예제 #11
0
        public override void PostLoad()
        {
            placeItems = new ModItem[2];

            //Filter
            SimplePlaceableItem i = new SimplePlaceableItem();

            i.placeType = Type;
            mod.AddItem("TransferFilterItem", i);
            i.DisplayName.AddTranslation(LangID.English, "Transfer filter (whitelist)");
            i.Tooltip.AddTranslation(LangID.English, "Place in line with Transfer pipe\nRight click with item in hand to set filter");
            placeItems[0] = i;

            //InverseFilter
            i           = new SimplePlaceableItem();
            i.placeType = Type;
            i.style     = 1;
            mod.AddItem("InverseTransferFilterItem", i);
            i.DisplayName.AddTranslation(LangID.English, "Transfer filter (blacklist)");
            i.Tooltip.AddTranslation(LangID.English, "Place in line with Transfer pipe\nRight click with item in hand to set filter");
            placeItems[1] = i;

            LoadFilters();
        }
예제 #12
0
        public override void PostLoad()
        {
            placeItems = new ModItem[3];

            //Omni turret
            SimplePlaceableItem i = new SimplePlaceableItem();

            i.placeType = Type;
            i.value     = Item.sellPrice(0, 1, 0, 0);
            mod.AddItem("OmniTurretItem", i);
            i.DisplayName.AddTranslation(LangID.English, "Omni turret");
            i.Tooltip.AddTranslation(LangID.English, "Shoots any standard ammo");
            placeItems[0] = i;

            //Super omni turret
            i           = new SimplePlaceableItem();
            i.placeType = Type;
            i.value     = Item.sellPrice(0, 1, 0, 0);
            i.style     = 1;
            mod.AddItem("SuperOmniTurretItem", i);
            i.DisplayName.AddTranslation(LangID.English, "Super omni turret");
            i.Tooltip.AddTranslation(LangID.English, "Shoots any standard ammo");
            placeItems[1] = i;

            //Matter projector
            i           = new SimplePlaceableItem();
            i.placeType = Type;
            i.value     = Item.sellPrice(0, 1, 0, 0);
            i.style     = 2;
            mod.AddItem("MatterProjectorItem", i);
            i.DisplayName.AddTranslation(LangID.English, "Matter projector");
            i.Tooltip.AddTranslation(LangID.English, "Shoots any standard ammo really, really fast");
            placeItems[2] = i;

            NetRouter.AddHandler(this);
        }