forked from UOX3DevTeam/UOX3
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into restrict-travel
- Loading branch information
Showing
18 changed files
with
455 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
data/dfndata/spawn/ilishenar/spawn_ilishenar_treasure_wyrms_lair.dfn
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
function onUseChecked( pUser, iUsed ) | ||
{ | ||
var socket = pUser.socket; | ||
var itemOwner = GetPackOwner( iUsed, 0 ); | ||
|
||
if( socket && iUsed && iUsed.isItem ) | ||
{ | ||
if( itemOwner == null || itemOwner.serial != pUser.serial ) | ||
{ | ||
socket.SysMessage( GetDictionaryEntry( 1763, socket.language )); // That item must be in your backpack before it can be used. | ||
} | ||
else if( pUser.skills[45] < 1000 ) | ||
{ | ||
socket.SysMessage( GetDictionaryEntry( 9408, socket.language )); // Only a Grandmaster Miner can learn from this book. | ||
} | ||
else if( pUser.GetTag( "GatheringSand" ) == 1 ) | ||
{ | ||
socket.SysMessage( GetDictionaryEntry( 9409, socket.language )); // You have already learned this information. | ||
} | ||
else if( iUsed.movable == 2 || iUsed.movable == 3 ) | ||
{ | ||
socket.SysMessage( GetDictionaryEntry( 774, socket.Language )); //That is locked down and you cannot use it | ||
} | ||
else | ||
{ | ||
pUser.SetTag( "GatheringSand", 1 ); | ||
socket.SysMessage( GetDictionaryEntry( 9410, socket.language )); // You have learned how to mine fine sand. Target sand areas when mining to look for fine sand. | ||
iUsed.Delete(); | ||
} | ||
} | ||
return false; | ||
} |
Oops, something went wrong.