@
@Mhalicot
Was lucky to fix other stuffs but this is my current problem, I am having errors when equipping the custom headgear item. but I already properly defined it on:
itemInfo.lua and itemInfo.lub
[29000] = {
unidentifiedDisplayName = "Red_Valkyrie_Helm",
unidentifiedResourceName = "Red_Valkyrie_Helm",
unidentifiedDescriptionName = {
"Unknown Item, can be identified by ^6A5ACDMagnifier^000000."
},
identifiedDisplayName = "Red Valkyrie Helm",
identifiedResourceName = "Red_Valkyrie_Helm",
identifiedDescriptionName = {
"An ornate, winged helmet worn by the warrior maidens that serve Odin.",
"STR +10",
"Class: ^777777Headgear^000000",
"Defense: ^77777710^000000",
"Location: ^777777Upper^000000",
"Weight: ^777777100^000000",
"Jobs: ^777777All Transcendent Classes except Novice^000000"
},
slotCount = 1,
ClassNum = 0
},
--------------------------------------------------------------
idnum2itemresnametable.txt
29000#Red_Valkyrie_Helm#
idnum2destable.txt
29000#
Red Valkyrie Helm
Strenght + 10
Class :^777777 Headgear^000000
Defense :^777777 5^000000
Equipped on :^777777 Upper^000000
Weight :^777777 10^000000
Applicable Job :^777777 Every Job^000000
#
idnum2itemdisplaynametable.txt
29000#Red_Valkyrie_Helm#
itemslotcounttable.txt
29000#1#
accessoryid.lub and accessoryid.lua
ACCESSORY_Red_Valkyrie_Helm = 2167,
accname.lua and accname.lub
[ACCESSORY_IDs.ACCESSORY_Red_Valkyrie_Helm] = "Red_Valkyrie_Helm",
---------------------------------------------------------------
item_db2.conf
{
Id: 29000
AegisName: "Red_Valkyrie_Helm"
Name: "Red Valkyrie Helm"
Type: 5
Buy: 500000
Sell: 100000
Def: 10
Slots: 1
Loc: 256
View:
2167
Script: <"
bonus bStr,10;
">
},
I always try to make it to 216 (baseball cap) or delete it in db in order to get into the game.