"explode" all modpacks into their individual components
(you can't have a modpack buried inside a modpack)
This commit is contained in:
13
homedecor/listnodes.sh
Normal file
13
homedecor/listnodes.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/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
|
Reference in New Issue
Block a user