mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-11-22 12:03:28 +01:00
give the example table object spots
This commit is contained in:
parent
83d2cf5f24
commit
d9c670eec8
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
using ExtremelySimpleLogger;
|
using ExtremelySimpleLogger;
|
||||||
using Microsoft.Xna.Framework;
|
using Microsoft.Xna.Framework;
|
||||||
using Microsoft.Xna.Framework.Graphics;
|
using Microsoft.Xna.Framework.Graphics;
|
||||||
|
@ -32,7 +33,9 @@ namespace ExampleMod {
|
||||||
// adding a custom furniture item
|
// adding a custom furniture item
|
||||||
FurnitureType.Register(new FurnitureType.TypeSettings("ExampleMod.CustomTable", new Point(1, 1), ObjectCategory.Table, 150, ColorScheme.SimpleWood) {
|
FurnitureType.Register(new FurnitureType.TypeSettings("ExampleMod.CustomTable", new Point(1, 1), ObjectCategory.Table, 150, ColorScheme.SimpleWood) {
|
||||||
ConstructedType = typeof(CustomTable),
|
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
|
// adding custom clothing
|
||||||
|
|
Loading…
Reference in a new issue