add: break; 
context: function entity_event_prepareorder( evt ){	// This event gives us a chance to veto any order we're given before we execute it.	// Not sure whether this really belongs here like this: the alternative is to override it in	// subtypes - then you wouldn't need to check tags, you could hardcode results.	switch( evt.orderType )	{	case ORDER_GOTO:		if( !this.actions.move )			evt.preventDefault();		break;	case ORDER_PATROL:		if( !this.actions.patrol )			evt.preventDefault();		break;		case ORDER_ATTACK:		// If we can't attack, we're not targeting a unit, or that unit is the same civ as us.		// (Should of course be same /player/ as us - not ready yet.)		if( !this.actions.attack || 		    !evt.target || 		    ( evt.target.traits.id.civ_code.toString() == this.traits.id.civ_code.toString() ) )			evt.preventDefault();		break;	case ORDER_GATHER:		if( !this.actions.gather ||		    !this.actions.gather.valueOf()[evt.target.traits.supply.type] ||		    ( ( evt.target.traits.supply.curr == 0 ) && ( evt.target.traits.supply.max > 0 ) ) )			evt.preventDefault();	default:		evt.preventDefault();	}}
meta: 1070	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1070/8d23eb7ccfc65eda3be7958d730bfc4fd69d2873/template_entity_script.js/buggy/binaries/data/mods/official/entities/template_entity_script.js