Page 1 of 1

Cloned Loincloth Problem

Posted: Thu Sep 27, 2012 5:03 am
by ScroLL
I was able to clone a cudgel and set accuracy = 0 to take away the accuracy penalty and so that it doesn't display any accuracy stats on the item tooltip.

However when I clone a loincloth and set willpower = 0 and attackPower = 0, it displays willpower: 0 and attackPower: 0, then below it also shows attackPower: +1

So my question is, why aren't my modifications overwriting the original loincloth stats, or is it just a display problem?

Re: Cloned Loincloth Problem

Posted: Thu Sep 27, 2012 6:05 am
by SpacialKatana
I'd do this to circumvent the problem, and add my own stats as required. Put in your items.lua o/c.

Code: Select all

defineObject{
		name = "my_new_loincloth",
		class = "Item",
		uiName = "Loincloth",
		model = "assets/models/items/blue_clothes.fbx",
		description = "Ragged old piece of modesty cloth.",
		slot = "Legs",
		gfxIndex = 32,
}
Hope this helps.

Re: Cloned Loincloth Problem

Posted: Thu Sep 27, 2012 6:13 am
by ScroLL
Thank you.