commit 66726fe98e9b52be4445ff172684b9d97cf0dc54 Author: Jordan Snelling Date: Sat Sep 15 22:38:19 2012 +0100 add the stuff do i really need to explain this? no. i dont. diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..412eeda --- /dev/null +++ b/.gitattributes @@ -0,0 +1,22 @@ +# Auto detect text files and perform LF normalization +* text=auto + +# Custom for Visual Studio +*.cs diff=csharp +*.sln merge=union +*.csproj merge=union +*.vbproj merge=union +*.fsproj merge=union +*.dbproj merge=union + +# Standard to msysgit +*.doc diff=astextplain +*.DOC diff=astextplain +*.docx diff=astextplain +*.DOCX diff=astextplain +*.dot diff=astextplain +*.DOT diff=astextplain +*.pdf diff=astextplain +*.PDF diff=astextplain +*.rtf diff=astextplain +*.RTF diff=astextplain diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ebd21a --- /dev/null +++ b/.gitignore @@ -0,0 +1,163 @@ +################# +## Eclipse +################# + +*.pydevproject +.project +.metadata +bin/ +tmp/ +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath + +# External tool builders +.externalToolBuilders/ + +# Locally stored "Eclipse launch configurations" +*.launch + +# CDT-specific +.cproject + +# PDT-specific +.buildpath + + +################# +## Visual Studio +################# + +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.sln.docstates + +# Build results +[Dd]ebug/ +[Rr]elease/ +*_i.c +*_p.c +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.vspscc +.builds +*.dotCover + +## TODO: If you have NuGet Package Restore enabled, uncomment this +#packages/ + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf + +# Visual Studio profiler +*.psess +*.vsp + +# ReSharper is a .NET coding add-in +_ReSharper* + +# Installshield output folder +[Ee]xpress + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish + +# Others +[Bb]in +[Oo]bj +sql +TestResults +*.Cache +ClientBin +stylecop.* +~$* +*.dbmdl +Generated_Code #added for RIA/Silverlight projects + +# Backup & report files from converting an old project file to a newer +# Visual Studio version. Backup files are not needed, because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML + + + +############ +## Windows +############ + +# Windows image file caches +Thumbs.db + +# Folder config file +Desktop.ini + + +############# +## Python +############# + +*.py[co] + +# Packages +*.egg +*.egg-info +dist +build +eggs +parts +bin +var +sdist +develop-eggs +.installed.cfg + +# Installer logs +pip-log.txt + +# Unit test / coverage reports +.coverage +.tox + +#Translations +*.mo + +#Mr Developer +.mr.developer.cfg + +# Mac crap +.DS_Store diff --git a/woolcraft/depends.txt b/woolcraft/depends.txt new file mode 100644 index 0000000..753a314 --- /dev/null +++ b/woolcraft/depends.txt @@ -0,0 +1,2 @@ +wool +default \ No newline at end of file diff --git a/woolcraft/init.lua b/woolcraft/init.lua new file mode 100644 index 0000000..45c3fca --- /dev/null +++ b/woolcraft/init.lua @@ -0,0 +1,109 @@ +-- Wool crafting, for Minetest 0.4.2-rc1 and 0.4.3 +-- By Jordach, Jordan Snelling. + +minetest.register_craft({ + output = 'wool:red 16', + recipe = { + {'default:apple', 'wool:white'}, + } +}) + +minetest.register_craft({ + output = 'wool:yellow 16', + recipe = { + {'default:sand', 'wool:white'}, + } +}) + +minetest.register_craft({ + output = 'wool:white 16', + recipe = { + {'default:coal_lump', 'default:sand'}, + } +}) + + +minetest.register_craft({ + output = 'wool:black 16', + recipe = { + {'default:coal_lump', 'wool:grey'}, + } +}) + +minetest.register_craft({ + output = 'wool:grey 16', + recipe = { + {'default:coal_lump', 'wool:white'}, + } +}) + +minetest.register_craft({ + output = 'wool:green 16', + recipe = { + {'default:leaves', 'wool:white'}, + } +}) + + +minetest.register_craft({ + output = 'wool:brown 16', + recipe = { + {'default:dirt', 'wool:white'}, + } +}) + +minetest.register_craft({ + output = 'wool:cyan 16', + recipe = { + {'default:jungletree', 'wool:white'}, + } +}) + +minetest.register_craft({ + output = 'wool:violet 16', + recipe = { + {'wool:cyan', 'wool:red'}, + } +}) + +minetest.register_craft({ + output = 'wool:blue 16', + recipe = { + {'wool:cyan', 'wool:magenta'}, + } +}) + +minetest.register_craft({ + output = 'wool:blue 16', + recipe = { + {'wool:white', 'default:mese'}, + } +}) + +minetest.register_craft({ + output = 'wool:orange 16', + recipe = { + {'wool:yellow', 'wool:red'}, + } +}) + +minetest.register_craft({ + output = 'wool:magenta 16', + recipe = { + {'wool:blue', 'wool:violet'}, + } +}) + +minetest.register_craft({ + output = 'wool:dark_grey 16', + recipe = { + {'wool:grey', 'wool:white'}, + } +}) + +minetest.register_craft({ + output = 'wool:orange 16', + recipe = { + {'wool:green', 'default:coal_lump'}, + } +})