I'm not holding my breath, but I have to ask since I'm aware how great I am at missing obvious stuff. So here goes : is there a way to figure through scripts whether a recipe was acquired/learned by the player, or not ? The items with the "crafting recipe" basetype are apparently treated completely apart from the others (and don't even trigger a EVENT_TYPE_CAMPAIGN_ITEM_ACQUIRED event, and yep I didn't forgot my ITEM_SEND_ACQUIRED_EVENT) so I'm not sure by which end I should hold the stick.
I've got a trick in my sleeve (already alive & kicking, actually) in case that's impossible to test whether recipes are already known, but still, my code would be much cleaner if some direct way existed. So I'm just asking.
Modifié par Phaenan, 09 décembre 2009 - 12:05 .





Retour en haut






