@Override
	public boolean valid() {
		if (makeSword == null) {
			script.log.severe("SmithAnvil.makeSword is null!");
			return false;
		}
		if (super.valid() && ctx.widgets.component(WIDGET_INSTRUCTION, WIDGET_INSTRUCTION_CHILD).valid()) {
			if (!ctx.backpack.select().id(options.getIngotId()).isEmpty()) {
				if (ctx.skillingInterface.opened() || !options.isSmithing
						|| !options.currentlyMaking.equals(ctx.widgets.component(WIDGET_INSTRUCTION, WIDGET_INSTRUCTION_CHILD).text())
						|| AnimationMonitor.timeSinceAnimation(LogArtisanWorkshop.ANIMATION_SMITHING) > animationTimelimit) {
					return true;
				}
				//}
			}
		}
		return false;
	}