AtomicTorch Studio Forums

CryoFall => Help section => Topic started by: leein on July 07, 2019, 11:06:08 AM

Title: After modification, he did not produce ash.
Post by: leein on July 07, 2019, 11:06:08 AM
namespace AtomicTorch.CBND.CoreMod.Systems.Crafting
{
    using System;

    public static class CraftingDuration
    {
        /// <summary>
        /// 0.5 seconds
        /// </summary>
        public static readonly TimeSpan Instant = TimeSpan.FromSeconds(0.1);

        /// <summary>
        /// 1.5 minutes
        /// </summary>
        public static readonly TimeSpan Long = TimeSpan.FromSeconds(0.1); // 1.5 minutes

        /// <summary>
        /// 30 seconds
        /// </summary>
        public static readonly TimeSpan Medium = TimeSpan.FromSeconds(0.1);

        /// <summary>
        /// 1 second
        /// </summary>
        public static readonly TimeSpan Second = TimeSpan.FromSeconds(0.1);

        /// <summary>
        /// 10 seconds
        /// </summary>
        public static readonly TimeSpan Short = TimeSpan.FromSeconds(0.1);

        /// <summary>
        /// 5 minutes
        /// </summary>
        public static readonly TimeSpan VeryLong = TimeSpan.FromSeconds(0.1); // 5 minutes

        /// <summary>
        /// 5 seconds
        /// </summary>
        public static readonly TimeSpan VeryShort = TimeSpan.FromSeconds(0.1);
    }
}


Title: Re: After modification, he did not produce ash.
Post by: ai_enabled on July 07, 2019, 12:55:15 PM
Hello!

You need to modify the recipe duration for byproducts of burning logs, planks, and twigs.
Please edit the C# files in this folder: Core.cpk\Scripts\CraftRecipes\Manufacturing\Byproducts\

Regards!
Title: Re: After modification, he did not produce ash.
Post by: leein on July 07, 2019, 11:13:05 PM
Thanks :)
Title: Re: After modification, he did not produce ash.
Post by: leein on July 07, 2019, 11:44:44 PM
How to modify the size of backpack?
Title: Re: After modification, he did not produce ash.
Post by: ai_enabled on July 08, 2019, 02:37:04 AM
Hello!
To expand the size of the inventory you need to edit this file: Core.cpk\Scripts\Characters\State\PlayerCharacterPrivateState.cs
find the line with "slotsCount: 40" and change it as you want. The change will be applied to new characters on this server (this is only a server-side mod, client-side changes will have no effect).

Please note that the inventory after this change will have a scrollbar and it's not as convenient to use.

Regards!
Title: Re: After modification, he did not produce ash.
Post by: leein on July 08, 2019, 07:54:39 PM
Thank