Page MenuHomeFeedback Tracker

Attachments on Barrel crashes 1.27 EXP (server and client)
New, NormalPublic

Description

We have a dyeing in DUG and use the following config for that:

	class Barrel_ColorBase: Container_Base
	{
		attachments[]=
		{
			"Lime",
			"Material_Nails",
			"OakBark",
			"BirchBark",
			"Disinfectant",
			"BerryR",
			"Plant",
			"BerryB",
			"Guts"
		};
		class GUIInventoryAttachmentsProps
		{
			class ColorLeatherClothes
			{
				name = "Leather Tanning & Dyeing";
				description = "";
				attachmentSlots[] = {"Lime","Material_Nails","BirchBark","OakBark"};
				icon = "cat_color_leather";
			};

			class BleachCotton
			{
				name = "Leather & Clothes Bleaching";
				description = "";
				attachmentSlots[] = {"Disinfectant"};
				icon = "cat_bleach_cotton";
			};

			class ColorCottonClothes
			{
				name = "Clothes Dyeing & Fertilizer Crafting";
				description = "";
				attachmentSlots[] = {"BerryR","Plant","BerryB", "Guts"};
				icon = "cat_color_cotton";
			};
		};
	};

Adding this will crash 1.27 EXP after loading. I even tried adding the props for cooking like the barrelcolorbase has. but that crashes as well.

We would really like to retain the dyeing, so we kinda need this functionality.

Details

Severity
Crash
Resolution
Open
Reproducibility
Always
Operating System
Windows 11 x64
Category
General
Steps To Reproduce

Add the config from the description to a mod and it will crash, server or client with offline, does not matter.

Minimal reproduction for testing that will also crash:

	class Barrel_ColorBase: Container_Base
	{
		attachments[]=
		{
			"Lights"
		};
	};

Event Timeline

sileed added a subscriber: sileed.Fri, Jan 17, 4:22 PM
wouter.commandeur edited Steps To Reproduce. (Show Details)
wouter.commandeur updated the task description. (Show Details)
wouter.commandeur renamed this task from GUIInventoryAttachmentProps on Barrel crashes 1.27 EXP (server and client) to Attachments on Barrel crashes 1.27 EXP (server and client).Fri, Jan 17, 4:47 PM