diff --git a/binaries/data/mods/official/entities/template_entity_full.xml b/binaries/data/mods/official/entities/template_entity_full.xml
index b3fcbb8fc6..2986f1515b 100644
--- a/binaries/data/mods/official/entities/template_entity_full.xml
+++ b/binaries/data/mods/official/entities/template_entity_full.xml
@@ -19,5 +19,6 @@
+
\ No newline at end of file
diff --git a/binaries/data/mods/official/entities/template_entity_script.js b/binaries/data/mods/official/entities/template_entity_script.js
index aceb97a07a..9d83bc845b 100644
--- a/binaries/data/mods/official/entities/template_entity_script.js
+++ b/binaries/data/mods/official/entities/template_entity_script.js
@@ -512,7 +512,23 @@ function entityEventGeneric( evt )
console.write( "Unknown generic action: " + evt.action );
}
}
-
+function entityEventNotification( evt )
+{
+ switch( evt.type )
+ {
+ case NOTIFY_GOTO:
+ this.Order( ORDER_GENERIC, evt.location.x, evt.location.y );
+ case NOTIFY_ATTACK:
+ case NOTIFY_DAMAGE:
+ this.Order( ORDER_GENERIC, evt.target, ACTION_ATTACK);
+ this.Order( ORDER_GENERIC, evt.target, ACTION_ATTACK);
+ case NOTIFY_HEAL:
+ this.Order( ORDER_GENERIC, evt.target, ACTION_HEAL);
+ case NOTIFY_GATHER:
+ this.Order( ORDER_GENERIC, evt.target, ACTION_GATHER);
+
+ }
+}
// ====================================================================
function entityEventTargetChanged( evt )