public SlotLoadable(SlotLoadableDef xmlDef, Thing newOwner) { //Log.Message("Slot Loaded"); def = xmlDef; slottableThingDefs = xmlDef.slottableThingDefs; owner = newOwner; ThingIDMaker.GiveIDTo(this); slot = new ThingOwner <Thing>(this, false, LookMode.Deep); }
public SlotLoadable(Thing newOwner) { Log.Message("Slot started"); SlotLoadableDef def = this.def as SlotLoadableDef; this.slottableThingDefs = def.slottableThingDefs; owner = newOwner; ThingIDMaker.GiveIDTo(this); slot = new ThingOwner <Thing>(this, false, LookMode.Deep); }