Hi, guys.
I have a problem with combining my hammer and chipper. First, let me tell you how the player gets them since that may be the problem. So in one of the map he takes the hammer(named hammer_1) from a desk and then uses it to destroy some wooden boards. Then he enters the door to the other map. There he finds the chipper(named stone_chipper_1) but then when I try to combine them it says "combination doesn't work".
Here is my inventory.hps script
void OnGameStart()
{
AddCombineCallback("hammer_chipper", "hammer_1", "stone_chipper_1", "HammerChipperFunc", false);
}
void HammerChipperFunc(string &in asItemA, string &in asItemB)
{
PlayGuiSound("15_make_hammer", 1.0f);
RemoveItem(asItemA);
RemoveItem(asItemB);
GiveItem("stone_hammer_chipper", "stone_hammer_chipper", "", "stone_hammer_chipper.tga", 1);
}
Thanks in advance