public void SetAction(Villager.Actions NewAction, Building Location, Items Item, float ActionTime_ = 0) { Timer = true; CurrentActionTime = 0; ActionTime = ActionTime_; // for pick up and put down Is instant if (NewAction == Actions.Pickup) if (Location.PickUp(Item)) Inventory = Item; else if (NewAction == Actions.Putdown) { Location.DropOff(Item); Inventory = Items.Empty; } //blacksmith production if(Item == Items.Axe) { } else if (Item == Items.Cart) { } else if (Item == Items.Rifle) { } }