Compare commits
3 Commits
light-them
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 2c265545cb | |||
|
|
ba7d604dfa | ||
|
|
ebb5efdd99 |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
FlatLogicWorld_v*.zip
|
||||
@@ -1,5 +1,5 @@
|
||||
ID: FlatLogicWorld
|
||||
Name: Flat Logic World
|
||||
Author: ChrisP
|
||||
Version: 0.1.0
|
||||
Version: !VERSION!
|
||||
Priority: 0
|
||||
@@ -9,8 +9,8 @@
|
||||
# WARNING: On hovered settings boxes, "Primary" is mixing with "Accent" (slightly
|
||||
# transparent "Accent" is added)!
|
||||
Primary : 263238
|
||||
PrimaryHovered : 4f5b62
|
||||
PrimaryPressed : 000a12
|
||||
PrimaryHovered : 37474f
|
||||
PrimaryPressed : 212121
|
||||
|
||||
# Used for:
|
||||
# - Panels
|
||||
@@ -18,8 +18,8 @@ PrimaryPressed : 000a12
|
||||
# - Scroll bar (in settings menu)
|
||||
# NOTE: "SecondaryHovered" and "SecondaryPressed" only used on active tab item header
|
||||
Secondary : 212121
|
||||
SecondaryHovered : 484848
|
||||
SecondaryPressed : 181818
|
||||
SecondaryHovered : 3a3a3a
|
||||
SecondaryPressed : 1b1b1b
|
||||
|
||||
# Used for:
|
||||
# - Borders
|
||||
@@ -29,8 +29,8 @@ SecondaryPressed : 181818
|
||||
# - Hotbar item border (not selected)
|
||||
# NOTE: "TertiaryHovered" on "TertiaryPressed" never used
|
||||
Tertiary : 263238
|
||||
TertiaryHovered : 4f5b62
|
||||
TertiaryPressed : 000a12
|
||||
TertiaryHovered : 37474f
|
||||
TertiaryPressed : 212121
|
||||
|
||||
# Used for:
|
||||
# - Deactivated switch background and handle
|
||||
@@ -9,8 +9,8 @@
|
||||
# WARNING: On hovered settings boxes, "Primary" is mixing with "Accent" (slightly
|
||||
# transparent "Accent" is added)!
|
||||
Primary : 263238
|
||||
PrimaryHovered : 4f5b62
|
||||
PrimaryPressed : 000a12
|
||||
PrimaryHovered : 37474f
|
||||
PrimaryPressed : 212121
|
||||
|
||||
# Used for:
|
||||
# - Panels
|
||||
@@ -18,8 +18,8 @@ PrimaryPressed : 000a12
|
||||
# - Scroll bar (in settings menu)
|
||||
# NOTE: "SecondaryHovered" and "SecondaryPressed" only used on active tab item header
|
||||
Secondary : 212121
|
||||
SecondaryHovered : 484848
|
||||
SecondaryPressed : 181818
|
||||
SecondaryHovered : 3a3a3a
|
||||
SecondaryPressed : 1b1b1b
|
||||
|
||||
# Used for:
|
||||
# - Borders
|
||||
@@ -29,8 +29,8 @@ SecondaryPressed : 181818
|
||||
# - Hotbar item border (not selected)
|
||||
# NOTE: "TertiaryHovered" on "TertiaryPressed" never used
|
||||
Tertiary : 263238
|
||||
TertiaryHovered : 4f5b62
|
||||
TertiaryPressed : 000a12
|
||||
TertiaryHovered : 37474f
|
||||
TertiaryPressed : 212121
|
||||
|
||||
# Used for:
|
||||
# - Deactivated switch background and handle
|
||||
@@ -9,8 +9,8 @@
|
||||
# WARNING: On hovered settings boxes, "Primary" is mixing with "Accent" (slightly
|
||||
# transparent "Accent" is added)!
|
||||
Primary : 263238
|
||||
PrimaryHovered : 4f5b62
|
||||
PrimaryPressed : 000a12
|
||||
PrimaryHovered : 37474f
|
||||
PrimaryPressed : 212121
|
||||
|
||||
# Used for:
|
||||
# - Panels
|
||||
@@ -18,8 +18,8 @@ PrimaryPressed : 000a12
|
||||
# - Scroll bar (in settings menu)
|
||||
# NOTE: "SecondaryHovered" and "SecondaryPressed" only used on active tab item header
|
||||
Secondary : 212121
|
||||
SecondaryHovered : 484848
|
||||
SecondaryPressed : 181818
|
||||
SecondaryHovered : 3a3a3a
|
||||
SecondaryPressed : 1b1b1b
|
||||
|
||||
# Used for:
|
||||
# - Borders
|
||||
@@ -29,8 +29,8 @@ SecondaryPressed : 181818
|
||||
# - Hotbar item border (not selected)
|
||||
# NOTE: "TertiaryHovered" on "TertiaryPressed" never used
|
||||
Tertiary : 263238
|
||||
TertiaryHovered : 4f5b62
|
||||
TertiaryPressed : 000a12
|
||||
TertiaryHovered : 37474f
|
||||
TertiaryPressed : 212121
|
||||
|
||||
# Used for:
|
||||
# - Deactivated switch background and handle
|
||||
@@ -9,8 +9,8 @@
|
||||
# WARNING: On hovered settings boxes, "Primary" is mixing with "Accent" (slightly
|
||||
# transparent "Accent" is added)!
|
||||
Primary : 263238
|
||||
PrimaryHovered : 4f5b62
|
||||
PrimaryPressed : 000a12
|
||||
PrimaryHovered : 37474f
|
||||
PrimaryPressed : 212121
|
||||
|
||||
# Used for:
|
||||
# - Panels
|
||||
@@ -18,8 +18,8 @@ PrimaryPressed : 000a12
|
||||
# - Scroll bar (in settings menu)
|
||||
# NOTE: "SecondaryHovered" and "SecondaryPressed" only used on active tab item header
|
||||
Secondary : 212121
|
||||
SecondaryHovered : 484848
|
||||
SecondaryPressed : 181818
|
||||
SecondaryHovered : 3a3a3a
|
||||
SecondaryPressed : 1b1b1b
|
||||
|
||||
# Used for:
|
||||
# - Borders
|
||||
@@ -29,8 +29,8 @@ SecondaryPressed : 181818
|
||||
# - Hotbar item border (not selected)
|
||||
# NOTE: "TertiaryHovered" on "TertiaryPressed" never used
|
||||
Tertiary : 263238
|
||||
TertiaryHovered : 4f5b62
|
||||
TertiaryPressed : 000a12
|
||||
TertiaryHovered : 37474f
|
||||
TertiaryPressed : 212121
|
||||
|
||||
# Used for:
|
||||
# - Deactivated switch background and handle
|
||||
@@ -9,8 +9,8 @@
|
||||
# WARNING: On hovered settings boxes, "Primary" is mixing with "Accent" (slightly
|
||||
# transparent "Accent" is added)!
|
||||
Primary : 263238
|
||||
PrimaryHovered : 4f5b62
|
||||
PrimaryPressed : 000a12
|
||||
PrimaryHovered : 37474f
|
||||
PrimaryPressed : 212121
|
||||
|
||||
# Used for:
|
||||
# - Panels
|
||||
@@ -18,8 +18,8 @@ PrimaryPressed : 000a12
|
||||
# - Scroll bar (in settings menu)
|
||||
# NOTE: "SecondaryHovered" and "SecondaryPressed" only used on active tab item header
|
||||
Secondary : 212121
|
||||
SecondaryHovered : 484848
|
||||
SecondaryPressed : 181818
|
||||
SecondaryHovered : 3a3a3a
|
||||
SecondaryPressed : 1b1b1b
|
||||
|
||||
# Used for:
|
||||
# - Borders
|
||||
@@ -29,8 +29,8 @@ SecondaryPressed : 181818
|
||||
# - Hotbar item border (not selected)
|
||||
# NOTE: "TertiaryHovered" on "TertiaryPressed" never used
|
||||
Tertiary : 263238
|
||||
TertiaryHovered : 4f5b62
|
||||
TertiaryPressed : 000a12
|
||||
TertiaryHovered : 37474f
|
||||
TertiaryPressed : 212121
|
||||
|
||||
# Used for:
|
||||
# - Deactivated switch background and handle
|
||||
@@ -9,8 +9,8 @@
|
||||
# WARNING: On hovered settings boxes, "Primary" is mixing with "Accent" (slightly
|
||||
# transparent "Accent" is added)!
|
||||
Primary : 263238
|
||||
PrimaryHovered : 4f5b62
|
||||
PrimaryPressed : 000a12
|
||||
PrimaryHovered : 37474f
|
||||
PrimaryPressed : 212121
|
||||
|
||||
# Used for:
|
||||
# - Panels
|
||||
@@ -18,8 +18,8 @@ PrimaryPressed : 000a12
|
||||
# - Scroll bar (in settings menu)
|
||||
# NOTE: "SecondaryHovered" and "SecondaryPressed" only used on active tab item header
|
||||
Secondary : 212121
|
||||
SecondaryHovered : 484848
|
||||
SecondaryPressed : 181818
|
||||
SecondaryHovered : 3a3a3a
|
||||
SecondaryPressed : 1b1b1b
|
||||
|
||||
# Used for:
|
||||
# - Borders
|
||||
@@ -29,8 +29,8 @@ SecondaryPressed : 181818
|
||||
# - Hotbar item border (not selected)
|
||||
# NOTE: "TertiaryHovered" on "TertiaryPressed" never used
|
||||
Tertiary : 263238
|
||||
TertiaryHovered : 4f5b62
|
||||
TertiaryPressed : 000a12
|
||||
TertiaryHovered : 37474f
|
||||
TertiaryPressed : 212121
|
||||
|
||||
# Used for:
|
||||
# - Deactivated switch background and handle
|
||||
@@ -9,8 +9,8 @@
|
||||
# WARNING: On hovered settings boxes, "Primary" is mixing with "Accent" (slightly
|
||||
# transparent "Accent" is added)!
|
||||
Primary : 263238
|
||||
PrimaryHovered : 4f5b62
|
||||
PrimaryPressed : 000a12
|
||||
PrimaryHovered : 37474f
|
||||
PrimaryPressed : 212121
|
||||
|
||||
# Used for:
|
||||
# - Panels
|
||||
@@ -18,8 +18,8 @@ PrimaryPressed : 000a12
|
||||
# - Scroll bar (in settings menu)
|
||||
# NOTE: "SecondaryHovered" and "SecondaryPressed" only used on active tab item header
|
||||
Secondary : 212121
|
||||
SecondaryHovered : 484848
|
||||
SecondaryPressed : 181818
|
||||
SecondaryHovered : 3a3a3a
|
||||
SecondaryPressed : 1b1b1b
|
||||
|
||||
# Used for:
|
||||
# - Borders
|
||||
@@ -29,8 +29,8 @@ SecondaryPressed : 181818
|
||||
# - Hotbar item border (not selected)
|
||||
# NOTE: "TertiaryHovered" on "TertiaryPressed" never used
|
||||
Tertiary : 263238
|
||||
TertiaryHovered : 4f5b62
|
||||
TertiaryPressed : 000a12
|
||||
TertiaryHovered : 37474f
|
||||
TertiaryPressed : 212121
|
||||
|
||||
# Used for:
|
||||
# - Deactivated switch background and handle
|
||||
@@ -2,7 +2,7 @@
|
||||
<a href="https://github.com/mastercaution/FlatLogicWorld/releases">
|
||||
<img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/mastercaution/FlatLogicWorld?logo=github&style=flat-square" /></a>
|
||||
<a href="https://logicworld.net/" >
|
||||
<img alt="Logic World Version" src="https://img.shields.io/badge/Logic%20World-v0.90-informational?style=flat-square" /></a>
|
||||
<img alt="Logic World Version" src="https://img.shields.io/badge/Logic%20World-v0.90.1-informational?style=flat-square" /></a>
|
||||
</p>
|
||||
|
||||
|
||||
@@ -41,6 +41,13 @@ Mod support in Logic World is not finished yet but the mod directory can already
|
||||
<img alt="Component Selection Presentation" src="https://user-images.githubusercontent.com/16451370/138568439-1233439a-7b93-4853-a55a-af2e60d1d299.gif" />
|
||||
</p>
|
||||
|
||||
## "Build" it Yourself
|
||||
You can create the release ZIP file yourself by simply executing the `release.sh` script (Linux only, needs `sed` and `zip` (default on most distros)):
|
||||
```
|
||||
utils/release.sh
|
||||
```
|
||||
This script will automatically cut out all unnecessary comments and create a ZIP file. The content can be placed directly into the mod folder of Logic World.
|
||||
> :warning: The version number is taken from the latest git tag.
|
||||
|
||||
## Acknowledgements
|
||||
Huge thanks to Mouse Hat Games (especially Jimmy) for the great game and the modularity making it super easy to create custom themes and other mods!
|
||||
|
||||
31
utils/release.sh
Executable file
31
utils/release.sh
Executable file
@@ -0,0 +1,31 @@
|
||||
#!/bin/sh
|
||||
dirname $(readlink -f "$0")
|
||||
|
||||
if git rev-parse --git-dir > /dev/null 2>&1; then
|
||||
VERSION=$(git describe --tag)
|
||||
else
|
||||
VERSION="vUNKNOWN"
|
||||
fi
|
||||
|
||||
PREFIX="v"
|
||||
VERSION_NR=${VERSION#$PREFIX}
|
||||
|
||||
mkdir -p build
|
||||
cp -ru FlatLogicWorld build
|
||||
|
||||
IFS_BACKUP=$IFS
|
||||
IFS=$'\n'
|
||||
FILES=build/FlatLogicWorld/palettes/*.succ
|
||||
for palette in $FILES ; do
|
||||
sed -i '1,2p; /^[[:blank:]]*#/d;s/#.*//' $palette
|
||||
sed -i 's/[ \t]*$//' $palette
|
||||
done
|
||||
IFS=$IFS_BACKUP
|
||||
|
||||
sed -i "s/!VERSION!/$VERSION_NR/" build/FlatLogicWorld/manifest.succ
|
||||
|
||||
cd build
|
||||
zip -FSr ../FlatLogicWorld_$VERSION.zip FlatLogicWorld
|
||||
cd ..
|
||||
|
||||
rm -rf build
|
||||
Reference in New Issue
Block a user