Skip to content

Commit

Permalink
Add fixes resource pack (+ CI)
Browse files Browse the repository at this point in the history
  • Loading branch information
jadelily18 committed Nov 28, 2023
1 parent 55475f5 commit 01d525a
Show file tree
Hide file tree
Showing 12 changed files with 54 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[*]
end_of_line = lf
charset = utf-8

[*.{json,mcmeta}]
indent_style = tab
indent_size = 4
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,9 @@ jobs:
tag: 0.2.0-223e662
- name: Checkout Repository Files
uses: actions/checkout@v4
- name: Export fixes resource pack
run: chmod +x ./scripts/export_resource_pack.sh && ./scripts/export_resource_pack.sh
- name: Clean up fixes resource pack
uses: rm -r ./resourcepacks/mission-to-mars-fixes
- name: Create Release
run: peony modpack -dv ${{ github.event.inputs.version }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@

# exclude Affinity Photo lock files
**/*.afphoto~lock~

# ignore resource pack icon
**/icon.png
12 changes: 12 additions & 0 deletions .packwizignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,15 @@ project_files
/.github
.prettierrc
mrpack.toml

# exclude scripts
/scripts

# exclude unzipped resource pack
/resourcepacks/mission-to-mars-fixes

# allow resource packs in /resourcepacks
!/resourcepacks/**.zip

# ignore resource pack icon
**/icon.png
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<!-- markdownlint-disable MD033 -->

<img
src="https://cdn.jsdelivr.net/gh/LilydevMC/assets/MissionToMars/assets/icon_512x.png"
height="180"
src="https://cdn.jsdelivr.net/gh/LilydevMC/assets/MissionToMars/assets/icon/small_512x.png"
height="128"
alt="Mission to Mars icon"
title="Mission to Mars icon"
/>
Expand All @@ -14,4 +14,4 @@ and [Create](https://modrinth.com/mod/ad-astra), focused on getting to Mars and

## License

Mission to Mars is licensed under the [MIT License](/LICENSE)
Mission to Mars and [its assets](https://github.com/LilydevMC/assets/tree/main/MissionToMars) are licensed under the [MIT License](/LICENSE).
2 changes: 1 addition & 1 deletion config/yosbr/options.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version:3465

quilt_available_resource_packs:["axolotlbuckets/axolotl-buckets-small","black_icons","classic_icons","continuity/default","continuity/glass_pane_culling_fix","create/legacy_copper","enchancement/alternate_dash","file/cubic-sun-moon-v1-6-1.zip","high_contrast","itemswapper/classic","itemswapper/default","lambdabettergrass/default","programmer_art","vanilla","white_icons"]
resourcePacks:["vanilla","itemswapper/default","lambdabettergrass/default","axolotlbuckets/axolotl-buckets-small","continuity/default","continuity/glass_pane_culling_fix","file/cubic-sun-moon-v1-6-1.zip"]
resourcePacks:["vanilla","itemswapper/default","lambdabettergrass/default","axolotlbuckets/axolotl-buckets-small","continuity/default","continuity/glass_pane_culling_fix","file/cubic-sun-moon-v1-7a.zip","file/mission-to-mars-fixes.zip"]

enableVsync:false
fullscreen:true
Expand Down
10 changes: 9 additions & 1 deletion index.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
hash-format = "sha256"

[[files]]
file = ".editorconfig"
hash = "fa3a6169d0b4d64d6cb11e906d0c26c344d2167cded44768ccfe9ed4e9dde47d"

[[files]]
file = "LICENSE"
hash = "ad2c7b9c8586565885e1df2f484d7c9e1f99a734aaa432183856551900448474"
Expand Down Expand Up @@ -38,7 +42,7 @@ hash = "a04078f51bde9c60ffc8b4c3c1f1828849ab473df58b40d0de825ff8371fd345"

[[files]]
file = "config/yosbr/options.txt"
hash = "ecdc91e802c3f648478660fba08111a8ec24205c81f6f47760ca2d8450d40a3f"
hash = "3ec674a51608aebddfb35ceb816fab5f0d80d98ca86d88c1a22e789069a1d80c"

[[files]]
file = "config/yosbr/shaderpacks/ComplementaryUnbound_r5.0.1.zip.txt"
Expand Down Expand Up @@ -624,6 +628,10 @@ file = "resourcepacks/cubic-sun-moon.pw.toml"
hash = "35119a0dd84806ea5baa5adcdf4c3e61351e6c8b21bae0055024fad3b439f4f6"
metafile = true

[[files]]
file = "resourcepacks/mission-to-mars-fixes.zip"
hash = "ad517fb10c55bae7288558c8111c0d74b061350fdc813a59a6761e605d189ea8"

[[files]]
file = "shaderpacks/complementary-unbound.pw.toml"
hash = "5b488fd021ad1d6195dfdb63ca361be0d7a0941d0ffc6b31f31c53eccd623554"
Expand Down
2 changes: 1 addition & 1 deletion pack.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0"
[index]
file = "index.toml"
hash-format = "sha256"
hash = "01d92cb4860e808f0e725b5c4e3f7125f2c50177ce1be3ad28d868c133c292df"
hash = "524a37f9356d67807dc6356c8388afa66228472f6ec349fcf975d8d5c909fd33"

[versions]
minecraft = "1.20.1"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"enchantment.yigd.soulbound": "Soulbound"
}
6 changes: 6 additions & 0 deletions resourcepacks/mission-to-mars-fixes/pack.mcmeta
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"pack": {
"pack_format": 15,
"description": "Fixes for the Mission to Mars modpack!"
}
}
Binary file added resourcepacks/mission-to-mars-fixes/pack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions scripts/export_resource_pack.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

wget https://cdn.jsdelivr.net/gh/LilydevMC/assets/MissionToMars/assets/icon/small.png -O resourcepacks/mission-to-mars-fixes/pack.png
cd resourcepacks/mission-to-mars-fixes
zip -r ../mission-to-mars-fixes.zip ./

0 comments on commit 01d525a

Please sign in to comment.