rem: if( !this.actions.move ) 
add: if( !this.actions.move ) 
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( !this.actions.attack || 		    !evt.target )			evt.preventDefault();		break;	case ORDER_GATHER:		if( !this.actions.gather ||		    !( this.actions.gather[evt.target.traits.supply.type] ) ||		    ( ( evt.target.traits.supply.curr == 0 ) && ( evt.target.traits.supply.max > 0 ) ) )			evt.preventDefault();		break;	default:		evt.preventDefault();	}}
meta: 1070	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1070/6549566210fbf85779d56406dfb3e8f9733b7b61/template_entity_script.js/clean/binaries/data/mods/official/entities/template_entity_script.js