-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#133] Added Header.md documentation
- Loading branch information
1 parent
deaa8f0
commit aa948da
Showing
23 changed files
with
147 additions
and
20 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
nav: | ||
- index.md | ||
- HowToUse.md | ||
- ... |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
nav: | ||
- Header.md | ||
- Signal.md | ||
- ComplexSignal.md | ||
- Asset.md | ||
- Sign.md | ||
- Signalbox.md | ||
- Lever.md | ||
- ... |
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
--- | ||
hide: | ||
- toc | ||
--- | ||
|
||
# Header (landofsignals.json) | ||
|
||
## Description | ||
|
||
The first thing you'll need to create a contentpack is the `landofsignals.json`.<br /> | ||
It contains all the vitale information needed for LandOfSignals to add your content to the game.<br /> | ||
It contains the name, author, packversion and addonversion of your pack as well as the links to the blocks. | ||
|
||
!!! info "The first entries in your ZIP file should be `/landofsignals.json` (file) and `/assets/` (directory).<br />There can't be a folder above." | ||
|
||
## Structure | ||
|
||
``` json linenums="1" title="landofsignals.json" | ||
{ | ||
"name": "My contentpack (1)", // (1)! | ||
"packversion": "1.0", // (2)! | ||
"author" : "John Doe", // (3)! | ||
"addonversion": "2", // (4)! | ||
"content": { // (5)! | ||
"assets/landofsignals/folder1/complexsignal.json": "BLOCKCOMPLEXSIGNAL", // (6)! | ||
"assets/landofsignals/folder2/signal.json": "BLOCKSIGNAL", | ||
"assets/landofsignals/folder3/deco.json": "BLOCKDECO", | ||
"assets/landofsignals/folder4/sign.json": "BLOCKSIGN", | ||
"assets/landofsignals/folder5/signalbox.json": "BLOCKSIGNALBOX", | ||
"assets/landofsignals/folder6/lever.json": "BLOCKLEVER" | ||
} | ||
} | ||
``` | ||
|
||
1. | ||
|
||
!!! info "The name you want your contentpack to have.<br />Preferably something meaningful and descriptive." | ||
|
||
!!! warning "Needs to be unique!<br />If more than one pack has the same name, only one will be loaded." | ||
|
||
!!! danger "Should not be changed!<br />Changing the name will break existing blocks." | ||
|
||
2. | ||
|
||
!!! info "The version of your pack.<br />Choose a format of your liking.<br />There is no validation." | ||
|
||
3. | ||
|
||
!!! info "The author(s) of the pack. You?<br />No validation as well." | ||
|
||
4. | ||
|
||
!!! info "The addon-version used.<br />Should be "2" (latest)" | ||
|
||
5. | ||
|
||
!!! info "This contains all yours blocks. Can be 1+ entries." | ||
|
||
!!! note "The first folders always have to be `assets/landofsignals/`<br />After that you can choose folders and filenames freely." | ||
|
||
6. | ||
|
||
!!! info "Each entry (block) consists of the file path and type of block." | ||
|
||
!!! abstract "Available types:<br />BLOCKCOMPLEXSIGNAL, BLOCKSIGNAL, BLOCKDECO, BLOCKSIGN, BLOCKSIGNALBOX and BLOCKLEVER<br /><br />Overview and further information<br / >[:octicons-arrow-right-24: ContentPacksV2](../ContentPacksV2.md)" | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
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
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
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