Cloning monster what gaves 0 exp
Posted: Tue Oct 09, 2012 7:17 pm
Hello,
is there way to spawn monster ie. snail, which gives 0 exp...
is there way to spawn monster ie. snail, which gives 0 exp...
Official Legend of Grimrock Forums
http://mail.grimrock.net/forum/
Code: Select all
cloneObject{
name = "worthless_snail",
baseObject = "snail",
exp = 0,
}
Few second after I read your edit I managed get it to work, cheers!!Edsploration wrote:You can set the exp of a monster, such as:Cheers!Code: Select all
cloneObject{ name = "worthless_snail", baseObject = "snail", exp = 0, }
Edit:
I realize it's worth a mention that custom monster definitions should be pasted into monsters.lua found in your dungeon's subdirectory: mod_assets\scripts\monsters.lua
Once that file is saved with the change in place, reload your dungeon in the Dungeon Editor. You can now place worthless_snails as opposed to normal snails.