Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tidy scripts #170

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/readable-data-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- name: Parse asset changes to be more readable
id: readable-assets
run: python readableAssets.py
run: python scripts/readableAssets.py
env:
REPO: ${{ github.repository }}
REPO_PATH: ${{ github.workspace }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/renumber-objects-and-sprites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
id="${fn//[^0-9]/}"
(( id > nextID && id < start_number )) && start_number=$id
done
node RenumberObjects.js $start_number
node scripts/RenumberObjects.js $start_number
maxID=$(ls -v objects/[0-9]*.txt | tail -1 | sed 's/objects\///' | sed 's/.txt//')
echo -n $((maxID + 1)) > objects/nextObjectNumber.txt

Expand All @@ -60,7 +60,7 @@ jobs:
id="${fn//[^0-9]/}"
(( id > nextID && id < start_number )) && start_number=$id
done
node RenumberSprites.js $start_number
node scripts/RenumberSprites.js $start_number
maxID=$(ls -v sprites/[0-9]*.txt | tail -1 | sed 's/sprites\///' | sed 's/.txt//')
echo -n $((maxID + 1)) > sprites/nextSpriteNumber.txt

Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# OneLifeData7 (for Two Hours One Life)
All content *(data)* changes for Two Hours One Life. Including, art, objects and recipes.

This data is manipulated with a purpose built client known as The Editor.

- [Server, client and editor](https://github.com/twohoursonelife/OneLife)
- [Engine](https://github.com/twohoursonelife/minorGems)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading