Skip to content

Commit

Permalink
Merge branch 'main' into dudantas/improve-eventscheduler-by-json
Browse files Browse the repository at this point in the history
  • Loading branch information
murilo09 authored Dec 7, 2024
2 parents ef78a00 + b54a712 commit 6ec3d68
Show file tree
Hide file tree
Showing 124 changed files with 1,644 additions and 2,724 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@ jobs:
with:
install: true

- name: Cache Docker layers
uses: actions/cache@main
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-x86-${{ github.sha }}
restore-keys: |
${{ runner.os }}-x86-
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
Expand Down Expand Up @@ -109,14 +101,6 @@ jobs:
with:
install: true

- name: Cache Docker layers
uses: actions/cache@main
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-arm-${{ github.sha }}
restore-keys: |
${{ runner.os }}-arm-
- name: Build
uses: docker/[email protected]
with:
Expand Down
2 changes: 2 additions & 0 deletions data-canary/scripts/actions/objects/imbuement_shrine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ function imbuement.onUse(player, item, fromPosition, target, toPosition, isHotke
return true
end

imbuement:position({ x = 1943, y = 1340, z = 7 }, 25061)

imbuement:id(25060, 25061, 25103, 25104, 25202, 25174, 25175, 25182, 25183)
imbuement:register()
72 changes: 0 additions & 72 deletions data-canary/scripts/actions/other/christmas_bundle.lua

This file was deleted.

2 changes: 1 addition & 1 deletion data-canary/scripts/actions/other/destroy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ local setting = {
local destroy = Action()

function destroy.onUse(player, item, fromPosition, target, toPosition, isHotkey)
return ActionsLib.destroyItem(player, target, toPosition)
return destroyItem(player, target, toPosition)
end

for index, value in ipairs(setting) do
Expand Down
17 changes: 0 additions & 17 deletions data-canary/scripts/actions/other/ferumbras_amulet.lua

This file was deleted.

13 changes: 0 additions & 13 deletions data-canary/scripts/actions/other/ferumbras_mana_keg.lua

This file was deleted.

16 changes: 0 additions & 16 deletions data-canary/scripts/actions/other/ferumbras_staff.lua

This file was deleted.

2 changes: 0 additions & 2 deletions data-canary/scripts/actions/other/music.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ local setting = {
[2966] = { effect = CONST_ME_SOUND_RED }, -- war drum
[3103] = { effect = CONST_ME_SOUND_YELLOW, itemId = 3592, itemCount = 10, chance = 80, remove = true }, -- cornucopia
[5786] = { effects = { failure = CONST_ME_SOUND_RED, success = CONST_ME_SOUND_YELLOW }, monster = "war wolf", chance = 60, remove = true }, -- wooden whistle
[6572] = { effect = CONST_ME_SOUND_GREEN, text = "TOOOOOOT", transformId = 6573, decayId = 6572 }, -- party trumpet
[6573] = { effect = CONST_ME_SOUND_GREEN, text = "TOOOOOOT", transformId = 6572, decayId = 6573 }, -- party trumpet
[12602] = { effect = CONST_ME_SOUND_BLUE }, -- small whistle (actual effect is unknown)
[23725] = { effect = CONST_ME_SOUND_WHITE }, -- small crystal bell
}
Expand Down
12 changes: 0 additions & 12 deletions data-canary/scripts/actions/other/sewer.lua

This file was deleted.

62 changes: 0 additions & 62 deletions data-canary/scripts/actions/other/surprise_bag.lua

This file was deleted.

63 changes: 0 additions & 63 deletions data-canary/scripts/creaturescripts/#modal_window_example.lua

This file was deleted.

24 changes: 0 additions & 24 deletions data-canary/scripts/creaturescripts/monster.lua

This file was deleted.

16 changes: 0 additions & 16 deletions data-otservbr-global/lib/others/fragment_gems.lua

This file was deleted.

1 change: 0 additions & 1 deletion data-otservbr-global/lib/others/load.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
dofile(DATA_DIRECTORY .. "/lib/others/dawnport.lua")
dofile(DATA_DIRECTORY .. "/lib/others/fragment_gems.lua")
6 changes: 3 additions & 3 deletions data-otservbr-global/lib/quests/soul_war.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,7 @@ function Player:getSoulWarZoneMonster()
return zoneMonsterName
end

function Player:isInBoatSpot()
function Creature:isInBoatSpot()
-- Get ebb and flow zone and check if player is in zone
local zone = SoulWarQuest.ebbAndFlow.getZone()
local tile = Tile(self:getPosition())
Expand All @@ -1464,11 +1464,11 @@ function Player:isInBoatSpot()
groundId = tile:getGround():getId()
end
if zone and zone:isInZone(self:getPosition()) and tile and groundId == SoulWarQuest.ebbAndFlow.boatId then
logger.trace("Player {} is in boat spot", self:getName())
logger.trace("Creature {} is in boat spot", self:getName())
return true
end

logger.trace("Player {} is not in boat spot", self:getName())
logger.trace("Creature {} is not in boat spot", self:getName())
return false
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ monster.loot = {
{ id = 6558, chance = 10000 }, -- flask of demonic blood
{ id = 6558, chance = 10000 }, -- flask of demonic blood
{ id = 6558, chance = 10000 }, -- flask of demonic blood
{ id = 17838, chance = 1800 }, -- unknown item
{ id = 3019, chance = 1000 }, -- demonbone amulet
{ id = 3026, chance = 12000, maxCount = 8 }, -- white pearl
{ id = 3029, chance = 12000, maxCount = 9 }, -- small sapphire
Expand Down
Loading

0 comments on commit 6ec3d68

Please sign in to comment.