give the example table object spots

This commit is contained in:
Ell 2021-05-22 18:14:05 +02:00
parent 83d2cf5f24
commit d9c670eec8

View file

@ -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