[Description]
Kaito recently alerted me, about not being able to give his pokemon a coin capsule. I myself verified his statement using escape ropes. Testing script was this:
function onPathAction()
giveItemToPokemon("Escape Rope", 1)
end
[Test: Behaviour | Comment]
item = "Escape Rope" via GameClient: successful | so it is indeed possible
item = "Escape Rope": no action took place: | but no exception either = item recognized
[11:20:36] Script "" by "" successfully loaded
[11:20:36] Bot stopped
item = "EscapeRope": exception | tried some name variations
[11:21:02] Bot started
[11:21:02] error: giveItemToPokemon: tried to give the non-existing item 'EscapeRope'.
item = "Leppa Berry": successful
... (more common items)
[Ideas]
Incorrect spelling in proShine?
Exceptions both have a space - might that cause an issue?
Missing items on a HoldableItemsList or something? Giving a pkm an escape rope never crossed my mind before. So maybe others might not thought about it as well.
Just checked, it sais Escape Rope's ScopeID is 8. Seems unlisted in the method you posted. (Wouldn't enums help make the code more readable? Maybe a future feature? :D)
As for Cain Capsule - I can't provide that information
[Problem] giveItemToPokemon() not working for:
[Description] Kaito recently alerted me, about not being able to give his pokemon a coin capsule. I myself verified his statement using escape ropes. Testing script was this:
[Test: Behaviour | Comment]
item = "Escape Rope" via GameClient: successful | so it is indeed possible
item = "Escape Rope": no action took place: | but no exception either = item recognized
item = "EscapeRope": exception | tried some name variations
item = "Leppa Berry": successful ... (more common items)
[Ideas]