public bool TryDrop(Thing item, bool forbid = true) { if (innerContainer.Contains(item)) { Thing outThing; innerContainer.TryDrop(item, ThingPlaceMode.Near, out outThing); ResearchProjectDef tech = ModBaseHumanResources.unlocked.techByStuff[outThing.Stuff]; tech.EjectTech(this); if (forbid) { outThing.SetForbidden(true); } return(true); } return(false); }