Quest to Learn a Recipe
Is there anyway that you could have an Item (say a book) add a Recipe to a player, either when its read or as a click effect or even simply when you pick it up?
Looked through the forums and it seems to be possible, but I can't find any examples as to how. |
Wrong forum. Should be in Quest:Q & A, just fyi.
Code:
sub EVENT_ITEM_CLICK { Ensure the item has a script number which coincides with whatever you put in place of xxxx (for script_xxxx.pl). Not quite sure if it will work on books, have yet to try it, though at the moment I cannot think of why it wouldn't. |
I wondered where this thread had gone, must have posted it prior to drinking my first cup of tea of the morning.
Tried the script, doesn't seem to do anything. The modified it to: Code:
sub EVENT_ITEM_CLICK { |
Missing a .. "=" in the if statement.
|
Good catch, but I still do not think it's firing.
Is now: Code:
sub EVENT_ITEM_CLICK { |
Ok, make a statless item, non-book (as I assume you made it a book before) and try:
Code:
sub EVENT_ITEM_CLICK { |
Quote:
|
All times are GMT -4. The time now is 03:08 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.