Author Topic: HELP!I want to change CraftingDuration!  (Read 547 times)

adam0101222

  • Newbie
  • *
  • Posts: 6
    • View Profile
HELP!I want to change CraftingDuration!
« on: May 11, 2021, 03:09:48 pm »

I want to change the item and number of weapon building materials, but it is not successful after modifying the file. When I enter my server, the original item and number are still displayed. How can I modify it? thank you!

stations.Add<ObjectWeaponWorkbench>();

            duration = CraftingDuration.Medium;

            inputItems.Add<ItemIngotIron>(count: 99);
            inputItems.Add<ItemPlanks>(count: 99);
            inputItems.Add<ItemComponentsHighTech>(count: 99);

            outputItems.Add<ItemMusket>();

Lurler

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 1320
    • View Profile
Re: HELP!I want to change CraftingDuration!
« Reply #1 on: May 21, 2021, 01:47:14 am »
This need to be created into a client-server mod. And that mod must be applied to both client and server.