Skip to content

Commit 6e30d47

Browse files
committedMay 1, 2015
Update colors.txt
1 parent a361e4d commit 6e30d47

File tree

2 files changed

+3224
-1690
lines changed

2 files changed

+3224
-1690
lines changed
 

Diff for: ‎autogenerating-colors.txt

+2
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,12 @@ while read -r p; do
8787
shift
8888
if [[ ! $1 == "#" && ! $1 == "" ]]; then
8989
echo $1 `python /path/to/avgcolor.py $(find /path/to/minetest/directory/ -type f -name $2)`
90+
echo $1 1>&2
9091
fi
9192
done < nodes.txt > colors.txt
9293
# Use nicer colors for water and lava
9394
sed -re 's/^default:water_([a-z]+) [0-9 ]+$/default:water_\1 39 66 106 128 224/' < colors.txt > tmp$$ && mv tmp$$ colors.txt
95+
sed -re 's/^default:river_water_([a-z]+) [0-9 ]+$/default:water_\1 39 66 106 128 224/' < colors.txt > tmp$$ && mv tmp$$ colors.txt
9496
sed -re 's/^default:lava_([a-z]+) [0-9 ]+$/default:lava_\1 255 100 0/' < colors.txt > tmp$$ && mv tmp$$ colors.txt
9597
sed -re 's/^default:([a-z_]*)glass ([0-9 ]+)$/default:\1glass \2 64 16/' < colors.txt > tmp$$ && mv tmp$$ colors.txt
9698
==INSTRUCTIONS==

Diff for: ‎colors.txt

+3,222-1,690
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.