This repository has been archived by the owner on May 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: adding custom map (containing training room and npcs shop) (#1299)
* Feat: adding custom maps * Fixed Mazarius position * Add missing npc Zurak Custom area (event room) added, with trainers, npcs shop and respective loading scripts Npc/map/attribute loading functions have been moved to 051-functions Removed npcs shop area from global map and moved to custom map Custom area npcs are created by entering the teleport that leads to the event room (located in thais temple) For disable the custom map, is only set in "data/lib/tables/additional_map.lua" to "enabled = false" All map attribute loading scripts (be it npc/action/unique/item/map) have been moved to startup.lua The custom map is in the folder world/custom/otservbr-custom.otbm The custom scripts in the folder data/scripts/custom (without type separation, action/movement/monster etc)
- Loading branch information
Showing
17 changed files
with
608 additions
and
185 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
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,3 +1,3 @@ | ||
AdditionalMap = { | ||
[1] = {file = "data/world/additional/example.otbm", enabled = false} | ||
CustomMapTable = { | ||
[1] = {file = "data/world/custom/otservbr-custom.otbm", enabled = true} | ||
} |
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,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<npc name="Cassino" script="custom/cassino.lua" walkinterval="2000" speed="0"> | ||
<health now="100" max="100" /> | ||
<look type="331" /> | ||
</npc> |
Oops, something went wrong.