-
-
Notifications
You must be signed in to change notification settings - Fork 658
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit 2e9fe27.
- Loading branch information
Showing
6 changed files
with
65 additions
and
155 deletions.
There are no files selected for viewing
37 changes: 0 additions & 37 deletions
37
data-otservbr-global/scripts/quests/the_paradox_tower/move_let_the _quest.lua
This file was deleted.
Oops, something went wrong.
32 changes: 32 additions & 0 deletions
32
data-otservbr-global/scripts/quests/the_paradox_tower/movement-poison.lua
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 @@ | ||
local positions = { | ||
{ x = 32497, y = 31889, z = 7 }, | ||
{ x = 32497, y = 31890, z = 7 }, | ||
{ x = 32498, y = 31890, z = 7 }, | ||
{ x = 32499, y = 31890, z = 7 }, | ||
{ x = 32502, y = 31890, z = 7 }, | ||
{ x = 32494, y = 31888, z = 7 }, | ||
} | ||
|
||
local poison = MoveEvent() | ||
|
||
function poison.onStepOut(creature, item, position, fromPosition) | ||
local player = creature:getPlayer() | ||
if not player then | ||
return true | ||
end | ||
|
||
local removeHealth = Tile({ x = 32497, y = 31889, z = 7 }):getFieldItem() | ||
if not removeHealth then | ||
player:addHealth(-200, COMBAT_EARTHDAMAGE) | ||
for i = 1, #positions do | ||
local tile = Tile(positions[i]):getFieldItem() | ||
if not tile then | ||
Game.createItem(105, 1, Position(positions[i])) | ||
end | ||
end | ||
end | ||
return true | ||
end | ||
|
||
poison:uid(25011) | ||
poison:register() |
63 changes: 31 additions & 32 deletions
63
data-otservbr-global/scripts/quests/the_paradox_tower/movement-sacrifice_skulls.lua
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
35 changes: 0 additions & 35 deletions
35
...r-global/scripts/quests/the_paradox_tower/movement_strange_carvings_in _the_southeast.lua
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
data-otservbr-global/scripts/quests/the_paradox_tower/trap_in_the_tree.lua
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