1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-11-19 16:40:38 +01:00
homedecor_modpack/listnodes.sh
Vanessa Ezekowitz 2c8a91c362 Condense shutters into a nice loop, give them wood sounds instead of leaves.
Make shutters and curtains pass sunlight through to avoid ugly shadows
vertical shadows.
2013-08-28 05:31:42 -04:00

14 lines
285 B
Bash

#!/bin/bash
echo "Node listing as of "`date` > nodes.txt
for i in *.lua; do
echo -e "\nIn $i:\n" >> nodes.txt
cat $i | grep "minetest.register_node(" | \
sed "s/minetest.register_node(.homedecor:/homedecor:/; s/., {//" | \
sort >> nodes.txt
done
less nodes.txt
rm -f nodes.txt