![]() |
|
|
#1 | |
|
Архивный участник
Join Date: May 2005
Posts: 117
|
I found some functions, that we can use for create manor system. But how?...
Castle_SetCropDrop( item_id , drop_rate , some_level ); - add any items into some drop with some rate and some level! Castle_SetCropPrice( item_id , price ); - set price for item, that was added before with Castle_SetCropDrop(). Castle_DeleteCropDrop( item_id ); - delete item from crop drop. Castle_PostCropPurchase( c0 , item_id , item_count ); - what it does... It seems to be does nothing... i0=Castle_GetCropRate( item_id ); - get rate of drop (???) for item from crop drop. i0=Castle_GetCropPrice( item_id ); - get price for item from crop drop. i0=Castle_GetCropIncome(); - always returns 0... Hope that only for me... ) And in castledata we have: Quote:
But buyed crop items must appear in castle vault, how make it... Somebody have ideas?
|
|
|
|
|
|