In this mod you
will find a template for purchasing a portal scroll to your dungeon.
You
will need to make a few modifications to make this suit your own mod.
Opening the different files / entries in TorchED will easily show you
what file is linked to what other file.
In this case, the dungeon
is called NeverestCrypt. The name may be edited in the dungeon editor.
The
fast-forward method would be to open the .dat files and replace entries
which read "neverest" to the name of your mod. The link from the portal
to your dungeon-name can be found in
\media\skills\shared\neverestportal\neverestportaluse.dat
To
modify the merchant's inventory, you will need to modify the
neverestmerchantinventory spawnclass in order to add more maps to
different dungeons.
NOTE: For the mod to work
you will need to copy and paste the folders for the crypt chunks in
TorchED\media\layouts\crypt
I have not included these in the mod
folder simply to lower the file size. The only chunk folder in this mod
is the 1x1_single_room for the first dungeon's stratum.
Note
about editing files outside TorchED:
Cloning assets
through copy&paste of a file is not always the best method for
creating file to be modified later. The cloned file maintains a GUID (an
identity - thanks to Runic for the hint) which TorchED somehow
recognizes and stores information about the quality of that asset and if
there are two files with the same GUID this may create all sorts of
conflicts, such as the item's modifications not being implemented.
Opening
the file (be this a .DAT file or a .LAYOUT file or whatnot) and
deleting the line with the GUID usually is enough for TorchED to give a
new identity to that particular asset once TorchED is restarted.
By
this method, despite it works sometimes, other times it does not. IMO
and from the little experience I have, the best method to create new
assets is to clone assets using the clone function which comes within
TorchED.

File Download