Hey everyone! I've been trying to learn how to put in a custom headgear for a while now and to no avail, I hope you can help!
The headgear doesn't show up while equipped, but the item information, spawning the item, collection, item, and drop names are working. Here's what my stuff looks like:
item_db2.conf:
{
Id: 1000228
AegisName: "Luffy_Hat"
Name: "Luffy Hat"
Type: "IT_ARMOR"
Buy: 20
Weight: 100
Loc: "EQP_HEAD_TOP"
Refine: false
ViewSprite: 3000
Script: <" bonus2 bAddRaceTolerance,RC_Plant,10; ">
},
accessoryid.lub:
ACCESSORY_luffy_hat = 2089
accname.lub:
[ACCESSORY_IDs.ACCESSORY_C_Choco_Banana] = "_C_Choco_Banana",
[ACCESSORY_IDs.ACCESSORY_luffy_hat] = "luffy_hat"
itemInfo.lua:
[1000228] = {
unidentifiedDisplayName = "Luffy Hat",
unidentifiedResourceName = "Luffy_Hat",
unidentifiedDescriptionName = { "" },
identifiedDisplayName = "Luffy Hat",
identifiedResourceName = "Luffy_Hat",
identifiedDescriptionName = {
"Can be used by ^009900Throw Shuriken^000000 and ^009900Throw Kunai^000000.",
"________________________",
"^0000CCType:^000000 Kunai",
"^0000CCAttack:^000000 10",
"^0000CCWeight:^000000 1",
"^0000CCElement:^777777 Neutral"
},
slotCount = 0,
ClassNum = 3000,
costume = false
},
[1000228] = {
unidentifiedDisplayName = "Luffy Hat",
unidentifiedResourceName = "luffy_hat",
unidentifiedDescriptionName = { "" },
identifiedDisplayName = "Luffy Hat",
identifiedResourceName = "Luffy_Hat",
identifiedDescriptionName = {
"When equipped with ^990099IDTest Gun^000000:",
"DEX +1",
"________________________",
"^0000CCType:^000000 Ammo",
"^0000CCAttack:^000000 10",
"^0000CCWeight:^000000 1",
"^0000CCElement:^777777 Neutral"
},
slotCount = 0,
ClassNum = 3000,
costume = false
},
}
the headgears placed in:
data/sprite/¾Ç¼¼»ç¸®/³²/³²_luffy_hat.act & ³²_luffy_hat.spr
Thanks for your help!