Custom assets problem
Posted: Sun Apr 28, 2013 2:46 pm
So, while i was making my dungeon, i realized i need more rogue dagger - style weapons.
i opened items.lua in scripts folder of my dungeon and writed there:
But when i updated the dungeon in the editor it said:
mod assets/scripts/items.lua:7: `}` expected (to close `{ ` at line 5) near baseObject
what am i doing wrong?
Oh, and,
1. how do you set the portrait of a character
2. how do you check if the party has a sort of character in it (mage, warrior, rogue)
Thanks for reading this far!
i opened items.lua in scripts folder of my dungeon and writed there:
Code: Select all
cloneObject{
name = “butterknife”
baseObject = “knife”
uiName = “butter knife
attackPower = 3
description = “This knife can barely cut butter”
accuracy = -5
coolDownTime = 1
}
mod assets/scripts/items.lua:7: `}` expected (to close `{ ` at line 5) near baseObject
what am i doing wrong?
Oh, and,
1. how do you set the portrait of a character
2. how do you check if the party has a sort of character in it (mage, warrior, rogue)
Thanks for reading this far!