which one i mean it an everlasting bandage and the script for the key just says bandageYou would need an check to see if it is a normal bandage or not
ya i mean what am i checking i can send u a screen shot of the script for they key or the script itself cause not sure why its doing itIt is added correctlyy? But just the name is wrong? Then you need to change the name for it,
If it adds the everlasting bandage to the normal bandages then you need the check to make sure its added properly
no thats not what I said at all, it checks for Bandage. EverlastingBandage is probably a child of Bandage, therefor it counts there too since it is not an explicit check but just that it is assignable from BandagePretty sure that he is saying to change the name of everlasting bandage you could call it med kit or anything else and see what happens or it looks like you could comment out line 28 so that the key will no longer take bandages of any kind.
ok so what can i do so it will only take a reg bandage and not the everlastingYou found the code, since you took a screenshot of it
when you post it, in that little window you will see a symbol that looks like </> this will place a code tag where you can place the code inside.
no thats not what I said at all, it checks for Bandage. EverlastingBandage is probably a child of Bandage, therefor it counts there too since it is not an explicit check but just that it is assignable from Bandage
ok not sure how to do that im kinda just starting outYou would need to look at the check if the item is found and then make sure that make an exception for bandages to check if it is an everlasting one.
Then attach the AdventuresKey and the BaseStorageKey, if I have those I can take a peek
Yes that can work, but it can also make things you want to store, be unstorable. It depends on the usecaseit looks like it is a blessed item, would it be easier to make it so that the key excludes blessed items?
Yes that can work, but it can also make things you want to store, be unstorable. It depends on the usecase
@Spike ok there should be an ItemStore class as well, need that one too since the code for adding items to the storage is inside that class
ok thank you ill try it outThere, its added on line 644. Not sure about the class name for the EverlastingBandage, if it is wrong you would need to change it there
We use essential cookies to make this site work, and optional cookies to enhance your experience.