add to git

master
ray litchfield 2013-06-22 14:16:17 -04:00
commit dbda1955eb
16 changed files with 405 additions and 0 deletions

22
.gitattributes vendored Normal file
View File

@ -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

215
.gitignore vendored Normal file
View File

@ -0,0 +1,215 @@
#################
## 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/
x64/
build/
[Bb]in/
[Oo]bj/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile
# Visual Studio profiler
*.psess
*.vsp
*.vspx
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# NCrunch
*.ncrunch*
.*crunch*.local.xml
# 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/
# Publish Web Output
*.Publish.xml
*.pubxml
# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/
# Windows Azure Build Output
csx
*.build.csdef
# Windows Store app package directory
AppPackages/
# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings
# RIA/Silverlight projects
Generated_Code/
# 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
UpgradeLog*.htm
# SQL Server files
App_Data/*.mdf
App_Data/*.ldf
#############
## Windows detritus
#############
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Mac crap
.DS_Store
#############
## Python
#############
*.py[co]
# Packages
*.egg
*.egg-info
dist/
build/
eggs/
parts/
var/
sdist/
develop-eggs/
.installed.cfg
# Installer logs
pip-log.txt
# Unit test / coverage reports
.coverage
.tox
#Translations
*.mo
#Mr Developer
.mr.developer.cfg

168
chainsaw/init.lua Normal file
View File

@ -0,0 +1,168 @@
minetest.register_tool("chainsaw:35cc", {
description = "chainsaw 35cc",
inventory_image = "chainsaw_35cc.png",
tool_capabilities = {
max_drop_level=0,
groupcaps={
choppy={times={[2]=1.40, [3]=0.80}, uses=5, maxlevel=1},
fleshy={times={[2]=1.50, [3]=0.80}, uses=5, maxlevel=1}
}
},
})
minetest.register_tool("chainsaw:40cc", {
description = "chainsaw 40cc",
inventory_image = "chainsaw_40cc.png",
tool_capabilities = {
max_drop_level=0,
groupcaps={
choppy={times={[2]=1.00, [3]=0.40}, uses=30, maxlevel=2},
fleshy={times={[2]=1.00, [3]=0.30}, uses=30, maxlevel=1},
}
},
})
minetest.register_tool("chainsaw:100cc", {
description = "chainsaw 100cc",
inventory_image = "chainsaw_100cc.png",
tool_capabilities = {
max_drop_level=0,
groupcaps={
choppy={times={[2]=0.00, [3]=0.00}, uses=20000, maxlevel=3},
fleshy={times={[2]=0.00, [3]=0.00}, uses=20000, maxlevel=3},
}
},
})
minetest.register_tool("chainsaw:chain", {
description = "chainsaw chain",
inventory_image = "chainsaw_chain.png",
tool_capabilities = {
max_drop_level=0,
groupcaps={
choppy={times={[2]=5, [3]=7}, uses=5, maxlevel=1},
fleshy={times={[2]=4, [3]=3}, uses=5, maxlevel=1}
}
},
})
minetest.register_tool("chainsaw:powerhead3", {
description = "chainsaw power head 100cc",
inventory_image = "chainsaw_power.png",
tool_capabilities = {
max_drop_level=0,
groupcaps={
choppy={times={[2]=50, [3]=70}, uses=1, maxlevel=1},
fleshy={times={[2]=50, [3]=50}, uses=1, maxlevel=1}
}
},
})
minetest.register_tool("chainsaw:bar", {
description = "chainsaw bar",
inventory_image = "chainsaw_bar.png",
tool_capabilities = {
max_drop_level=0,
groupcaps={
choppy={times={[2]=50, [3]=70}, uses=1, maxlevel=1},
fleshy={times={[2]=50, [3]=50}, uses=1, maxlevel=1}
}
},
})
minetest.register_tool("chainsaw:barandchain", {
description = "chainsaw bar and chain",
inventory_image = "chainsaw_barchain.png",
tool_capabilities = {
max_drop_level=0,
groupcaps={
choppy={times={[2]=50, [3]=70}, uses=1, maxlevel=1},
fleshy={times={[2]=50, [3]=50}, uses=1, maxlevel=1}
}
},
})
minetest.register_tool("chainsaw:powerhead2", {
description = "chainsaw power head 40cc",
inventory_image = "chainsaw_power.png",
tool_capabilities = {
max_drop_level=0,
groupcaps={
choppy={times={[2]=50, [3]=70}, uses=1, maxlevel=1},
fleshy={times={[2]=50, [3]=50}, uses=1, maxlevel=1}
}
},
})
minetest.register_tool("chainsaw:powerhead1", {
description = "chainsaw power head 35cc",
inventory_image = "chainsaw_power.png",
tool_capabilities = {
max_drop_level=0,
groupcaps={
choppy={times={[2]=50, [3]=70}, uses=1, maxlevel=1},
fleshy={times={[2]=50, [3]=50}, uses=1, maxlevel=1}
}
},
})
minetest.register_craft({
output = 'chainsaw:35cc',
recipe = {
{'chainsaw:barandchain', 'chainsaw:barandchain', 'chainsaw:barandchain'},
{'', 'chainsaw:powerhead1', ''},
{'', 'chainsaw:powerhead1', ''},
}
})
minetest.register_craft({
output = 'chainsaw:40cc',
recipe = {
{'chainsaw:barandchain', 'chainsaw:barandchain', 'chainsaw:barandchain'},
{'', 'chainsaw:powerhead2', ''},
{'', 'chainsaw:powerhead2', ''},
}
})
minetest.register_craft({
output = 'chainsaw:100cc',
recipe = {
{'chainsaw:barandchain', 'chainsaw:barandchain', 'chainsaw:barandchain'},
{'', 'chainsaw:powerhead3', ''},
{'', 'chainsaw:powerhead3', ''},
}
})
minetest.register_craft({
output = 'chainsaw:chain',
recipe = {
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
}
})
minetest.register_craft({
output = 'chainsaw:bar',
recipe = {
{'default:mese', 'default:mese', 'default:mese'},
}
})
minetest.register_craft({
output = 'chainsaw:barandchain',
recipe = {
{'chainsaw:chain', 'chainsaw:bar', 'chainsaw:chain'},
}
})
minetest.register_craft({
output = 'chainsaw:powerhead3',
recipe = {
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
{'', 'default:mese', ''},
{'', 'default:mese', ''},
}
})
minetest.register_craft({
output = 'chainsaw:powerhead2',
recipe = {
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
{'', 'default:stone', ''},
{'', 'default:mese', ''},
}
})
minetest.register_craft({
output = 'chainsaw:powerhead1',
recipe = {
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
{'', 'default:cobble', ''},
{'', 'default:mese', ''},
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 B

BIN
chainsaw/textures/Untit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B