blob: a04b084384474eeca95cf6f3dcda8a4a9fbcce6b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// ------------------------------------------------------------
// Variables passed to this script:
// @slotId The slot in which the item would have been equipped in. This is passed automagically when called in an equip script.
// ------------------------------------------------------------
function|script|UnreleasedItem
{
// If the server allows equipping unreleased items or if the active character is staff, do nothing.
if (debug || getgmlevel())
goto L_Return;
message strcharinfo(0), "You have difficulties equipping this item, as if it is not yet fully in this world.";
callfunc "UnequipLater";
goto L_Return;
L_Return:
return;
}
function|script|UnreleasedScroll
{
message strcharinfo(0), "You have difficulties using this item, as if it is not yet fully in this world.";
set Zeny, Zeny + 1000; // Force the sell
goto L_Return;
L_Return:
return;
}
|