1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-06-29 12:20:18 +02:00
homedecor_modpack/homedecor/listnodes.sh
Vanessa Ezekowitz e057d357c8 split signs_lib from homedecor, put them into their own separate mods
package the two together as a modpack so that regular homedecor users don't
see a functional change, but others can take signs_lib and use it as a
standalone mod.

also get rid of some *~ files
2014-01-25 12:57:05 -05: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