-
-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
52 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
local function onUseCrowbar(player, item, fromPosition, target, toPosition, isHotkey) | ||
for actionName, actionFunction in pairs(crowbarActions) do | ||
if actionFunction(player, item, target, toPosition) then | ||
return true | ||
end | ||
end | ||
return true | ||
end | ||
|
||
local crowbar = Action() | ||
|
||
function crowbar.onUse(player, item, fromPosition, target, toPosition, isHotkey) | ||
return onUseCrowbar(player, item, fromPosition, target, toPosition, isHotkey) | ||
end | ||
|
||
crowbar:id(3304) | ||
crowbar:register() |
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,11 @@ | ||
local lockPick = Action() | ||
|
||
function lockPick.onUse(player, item, fromPosition, target, toPosition, isHotkey) | ||
if target.actionid ~= 12503 then | ||
return false | ||
end | ||
return true | ||
end | ||
|
||
lockPick:id(7889) | ||
lockPick:register() |
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,8 @@ | ||
local present = Action() | ||
|
||
function present.onUse(cid, item, fromPosition, itemEx, toPosition) | ||
return true | ||
end | ||
|
||
present:id(12171) | ||
present:register() |
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,8 @@ | ||
local rake = Action() | ||
|
||
function rake.onUse(player, item, fromPosition, target, toPosition, isHotkey) | ||
return true | ||
end | ||
|
||
rake:id(3452) | ||
rake:register() |
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,8 @@ | ||
local spikedSquelcher = Action() | ||
|
||
function spikedSquelcher.onUse(player, item, fromPosition, target, toPosition, isHotkey) | ||
return onUseSpikedSquelcher(player, item, fromPosition, target, toPosition, isHotkey) | ||
end | ||
|
||
spikedSquelcher:id(7452) | ||
spikedSquelcher:register() |
This file was deleted.
Oops, something went wrong.