From ee6be0821aa2a46b202c168cc733638a108e063c Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sun, 25 Jun 2023 15:43:59 +0200 Subject: [PATCH] 0.34.0 --- ExampleMod.cs | 9 ++++++--- ExampleMod.csproj | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ExampleMod.cs b/ExampleMod.cs index 67ab788..fae7e0c 100644 --- a/ExampleMod.cs +++ b/ExampleMod.cs @@ -77,15 +77,18 @@ public class ExampleMod : Mod { 100, // the clothes item's use cases ClothesIntention.Everyday | ClothesIntention.Workout, + // the clothes item's style preferences, which influence randomly generated tinies slightly + // neutral style preferences have the same chance to be picked for all tinies, others have a 25% chance for mismatched preferences + StylePreference.Neutral, // the clothes item's color scheme // if the item should have multiple layers, multiple color schemes can be supplied here (see docs above) ColorScheme.WarmDark ) {Icon = this.Icon}; Clothes.Register(darkShirt); // adding some more custom clothing - Clothes.Register(new Clothes("ExampleMod.PastelPants", ClothesLayer.Pants, this.customBottoms, new Point(4, 0), 100, ClothesIntention.Everyday, ColorScheme.Pastel) {Icon = this.Icon}); - Clothes.Register(new Clothes("ExampleMod.PastelShoes", ClothesLayer.Shoes, this.customBottoms, new Point(0, 0), 100, ClothesIntention.Everyday, ColorScheme.Pastel) {Icon = this.Icon}); - Clothes.Register(new Clothes("ExampleMod.WeirdHair", ClothesLayer.Hair, this.customHairs, new Point(0, 0), 0, ClothesIntention.None, ColorScheme.Modern) {Icon = this.Icon}); + Clothes.Register(new Clothes("ExampleMod.PastelPants", ClothesLayer.Pants, this.customBottoms, new Point(4, 0), 100, ClothesIntention.Everyday, StylePreference.Neutral, ColorScheme.Pastel) {Icon = this.Icon}); + Clothes.Register(new Clothes("ExampleMod.PastelShoes", ClothesLayer.Shoes, this.customBottoms, new Point(0, 0), 100, ClothesIntention.Everyday, StylePreference.Neutral, ColorScheme.Pastel) {Icon = this.Icon}); + Clothes.Register(new Clothes("ExampleMod.WeirdHair", ClothesLayer.Hair, this.customHairs, new Point(0, 0), 0, ClothesIntention.None, StylePreference.Neutral, ColorScheme.Modern) {Icon = this.Icon}); // adding an event subscription to people MapObject.OnEventsAttachable += o => { diff --git a/ExampleMod.csproj b/ExampleMod.csproj index 5acc075..18dcba4 100644 --- a/ExampleMod.csproj +++ b/ExampleMod.csproj @@ -5,7 +5,7 @@ - +