forked from opentibiabr/canary
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: organizing libraries and function locations (opentibiabr#2191)
Organized the libs in the core folder and moved some functions to their correct files. --------- Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com> Co-authored-by: Elson Costa <[email protected]>
- Loading branch information
1 parent
d237b8e
commit 1a7a67b
Showing
41 changed files
with
429 additions
and
473 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 |
---|---|---|
@@ -1,3 +1,2 @@ | ||
dofile(DATA_DIRECTORY .. "/lib/core/storages.lua") | ||
dofile(DATA_DIRECTORY .. "/lib/core/constants.lua") | ||
dofile(DATA_DIRECTORY .. "/lib/core/quests.lua") |
15 changes: 0 additions & 15 deletions
15
data-canary/lib/core/constants.lua → data-otservbr-global/lib/core/constants.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
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
dofile(DATA_DIRECTORY .. "/lib/core/storages.lua") | ||
dofile(DATA_DIRECTORY .. "/lib/core/constants.lua") | ||
dofile(DATA_DIRECTORY .. "/lib/core/quests.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 |
---|---|---|
@@ -1,15 +1,11 @@ | ||
-- Core API functions implemented in Lua | ||
-- Load storages first | ||
dofile(DATA_DIRECTORY .. "/lib/core/load.lua") | ||
|
||
-- Tables library | ||
dofile(DATA_DIRECTORY .. "/lib/tables/load.lua") | ||
|
||
-- Others library | ||
dofile(DATA_DIRECTORY .. "/lib/others/load.lua") | ||
|
||
-- Quests library | ||
dofile(DATA_DIRECTORY .. "/lib/quests/quest.lua") | ||
|
||
-- Vip System library | ||
dofile(DATA_DIRECTORY .. "/lib/vip/vip_system.lua") | ||
-- Tables library | ||
dofile(DATA_DIRECTORY .. "/lib/tables/load.lua") |
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...servbr-global/lib/others/dawnport_lib.lua → data-otservbr-global/lib/others/dawnport.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
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
dofile(DATA_DIRECTORY .. "/lib/others/dawnport_lib.lua") | ||
dofile(DATA_DIRECTORY .. "/lib/others/bath_tube.lua") | ||
dofile(DATA_DIRECTORY .. "/lib/others/dawnport.lua") | ||
dofile(DATA_DIRECTORY .. "/lib/others/vip_system.lua") |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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
File renamed without changes.
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
Oops, something went wrong.