From 587b7682e6bf7dd9e616c1d4789a5ed9aa986e6d Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Sun, 17 Feb 2013 13:36:32 +0100 Subject: Monsters no longer load their script files Before monsters loaded their script file on *each* spawn. This is rather wrong since the script state keeps growing for each monster. However all of this was unnessecary since the main.lua can simply require the script file. If you do not want to spam the main.lua (or any other file) with all the requires: I guess we can add script binds to iterate over all monsters and add some custom properties to the monsters.xml (See Mana-Mantis #356) --- example/monsters.xml | 1 - 1 file changed, 1 deletion(-) (limited to 'example') diff --git a/example/monsters.xml b/example/monsters.xml index 86a0c15a..75438c8a 100644 --- a/example/monsters.xml +++ b/example/monsters.xml @@ -89,7 +89,6 @@ exp: Tells how much experience point a monster is giving up range="32" animation="attack" /> - -- cgit v1.2.3-70-g09d2