Skip to content

Commit

Permalink
Add Simon's new icons
Browse files Browse the repository at this point in the history
  • Loading branch information
cayb0rg committed Nov 29, 2023
1 parent cacba24 commit e3f2ff7
Show file tree
Hide file tree
Showing 20 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions load_icons.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/bash
# Creates JS file containing an array of icon data (icon name and url)
# Used to bypass writing out 100 objects in the initIcons function in creator-assets/controllers.coffee
# Used to bypass writing out 100 objects in the initIcons function in creator-assets/controllers.coffee
# ------------------------------------------------

# Outputs list of file names into lsoutput.log
Expand All @@ -19,7 +19,7 @@ printf 'icons = [' > $output
while read -r CURRENT_LINE
current_line_number=$(($current_line_number + 1))
do
if [[ $current_line_number -ne $last_line ]]; then
if [[ $current_line_number -ne $last_line ]]; then
if [[ $CURRENT_LINE == *".png" ]]; then
printf "$FMT" "$CURRENT_LINE" "assets/icons/$CURRENT_LINE" >> $output
fi
Expand All @@ -32,3 +32,5 @@ done < lsoutput.log
printf "]" >> $output

rm lsoutput.log

# Go to src/assets/icons.js and copy paste it into the initIcons function in creator-assets/controllers.coffee
2 changes: 1 addition & 1 deletion src/assets/icons.js

Large diffs are not rendered by default.

Binary file added src/assets/icons/.DS_Store
Binary file not shown.
Binary file added src/assets/icons/Bass64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/icons/Card75.png
Binary file not shown.
Binary file added src/assets/icons/Chick64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/Chicken64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/Dog64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/Duck64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/Fern64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/OldKey64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/Orange64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/PickleJar64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/RedBerries64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/Rose64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/Seeds64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/Star64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/Sunflower64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/Sword64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/src-assets/creator-assets/controllers.coffee

Large diffs are not rendered by default.

0 comments on commit e3f2ff7

Please sign in to comment.