Page 1 of 1

Cloning monster what gaves 0 exp

Posted: Tue Oct 09, 2012 7:17 pm
by Arde
Hello,

is there way to spawn monster ie. snail, which gives 0 exp...

Re: Cloning monster what gaves 0 exp

Posted: Tue Oct 09, 2012 7:27 pm
by Edsploration
You can set the exp of a monster, such as:

Code: Select all

cloneObject{
	name = "worthless_snail",
	baseObject = "snail",
	exp = 0,
}
Cheers!

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.

Re: Cloning monster what gaves 0 exp

Posted: Tue Oct 09, 2012 9:02 pm
by Arde
Edsploration wrote:You can set the exp of a monster, such as:

Code: Select all

cloneObject{
	name = "worthless_snail",
	baseObject = "snail",
	exp = 0,
}
Cheers!

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.
Few second after I read your edit I managed get it to work, cheers!!