From d9c670eec8a95e9dbf60161b63c22ee6036546b2 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sat, 22 May 2021 18:14:05 +0200 Subject: [PATCH] give the example table object spots --- ExampleMod.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ExampleMod.cs b/ExampleMod.cs index 06cabe1..069a70e 100644 --- a/ExampleMod.cs +++ b/ExampleMod.cs @@ -1,4 +1,5 @@ using System.Collections.Generic; +using System.Linq; using ExtremelySimpleLogger; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; @@ -32,7 +33,9 @@ namespace ExampleMod { // adding a custom furniture item FurnitureType.Register(new FurnitureType.TypeSettings("ExampleMod.CustomTable", new Point(1, 1), ObjectCategory.Table, 150, ColorScheme.SimpleWood) { ConstructedType = typeof(CustomTable), - Icon = this.Icon + Icon = this.Icon, + // allow chairs and plates to be slotted into and onto the table + ObjectSpots = ObjectSpot.TableSpots(new Point(1,1)).ToArray() }); // adding custom clothing