From fe3a119a8bbdf7f9e0d7eb2884fbddda824632f7 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Thu, 17 Jun 2021 19:46:15 +0200 Subject: [PATCH] updated to 0.12.0 --- ExampleMod.cs | 4 +++- ExampleMod.csproj | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ExampleMod.cs b/ExampleMod.cs index 88e4578..28378c5 100644 --- a/ExampleMod.cs +++ b/ExampleMod.cs @@ -41,7 +41,9 @@ namespace ExampleMod { // adding custom clothing var darkShirt = new Clothes("ExampleMod.DarkShirt", ClothesLayer.Shirt, this.customClothes[0, 0], // the top left in-world region (the rest will be auto-gathered from the atlas) - 100, this.Icon, false, ColorScheme.WarmDark); + 100, // the price + ClothesIntention.Everyday | ClothesIntention.Workout, // the clothes item's use cases + this.Icon, false, ColorScheme.WarmDark); Clothes.Register(darkShirt); // adding an event subscription to people diff --git a/ExampleMod.csproj b/ExampleMod.csproj index 70fa27a..8f8b495 100644 --- a/ExampleMod.csproj +++ b/ExampleMod.csproj @@ -5,7 +5,7 @@ - +