|
@ -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
|
|
@ -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
|
|
@ -0,0 +1,28 @@
|
|||
Carpets Mod for Minetest.
|
||||
|
||||
By Jordan Snelling, 2012
|
||||
|
||||
License, LGPL.
|
||||
|
||||
WARNING:
|
||||
|
||||
This mod utilizes the Wool Mod found in minetest_games as of 0.4.2rc-1.
|
||||
|
||||
If you are ruuning 0.4.1 / 0.4.0 / 0.4-dev;
|
||||
|
||||
please download my other mod;
|
||||
|
||||
http://minetest.net/forum/viewtopic.php?pid=23855#p23855
|
||||
|
||||
16 colours; or;
|
||||
|
||||
http://minetest.net/forum/viewtopic.php?pid=24066#p24066
|
||||
|
||||
32 colours with spawning flowers.
|
||||
|
||||
-----------------------
|
||||
|
||||
Notes: There is a reason why the mod is in a folder, it is far easier than to rename a zipball than it is to just have a mod folder, which is extracted with the SAME name.
|
||||
|
||||
-----------------------
|
||||
|
|
@ -0,0 +1,267 @@
|
|||
-- Carpet Mod!
|
||||
-- By Jordan Snelling 2012
|
||||
-- License LGPL
|
||||
-- This mod adds carpets into Minetest.
|
||||
|
||||
minetest.register_node("carpet:red", {
|
||||
description = "Red Carpet",
|
||||
drawtype = "raillike",
|
||||
tiles = {"carpet_red_out.png", "carpet_red_cor.png", "carpet_red_one.png", "carpet_red_cen.png"},
|
||||
inventory_image = "carpet_red_out.png",
|
||||
wield_image = "carpet_red_out.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||
},
|
||||
groups = {dig_immediate=2},
|
||||
})
|
||||
|
||||
minetest.register_node("carpet:orange", {
|
||||
description = "Orange Carpet",
|
||||
drawtype = "raillike",
|
||||
tiles = {"carpet_orange_out.png", "carpet_orange_cor.png", "carpet_orange_one.png", "carpet_orange_cen.png"},
|
||||
inventory_image = "carpet_orange_out.png",
|
||||
wield_image = "carpet_orange_out.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||
},
|
||||
groups = {dig_immediate=2},
|
||||
})
|
||||
|
||||
minetest.register_node("carpet:yellow", {
|
||||
description = "Yellow Carpet",
|
||||
drawtype = "raillike",
|
||||
tiles = {"carpet_yellow_out.png"},
|
||||
inventory_image = "carpet_yellow_out.png",
|
||||
wield_image = "carpet_yellow_out.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||
},
|
||||
groups = {dig_immediate=2},
|
||||
})
|
||||
|
||||
minetest.register_node("carpet:green", {
|
||||
description = "Green Carpet",
|
||||
drawtype = "raillike",
|
||||
tiles = {"carpet_green_out.png"},
|
||||
inventory_image = "carpet_green_out.png",
|
||||
wield_image = "carpet_green_out.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||
},
|
||||
groups = {dig_immediate=2},
|
||||
})
|
||||
|
||||
minetest.register_node("carpet:cyan", {
|
||||
description = "Cyan Carpet",
|
||||
drawtype = "raillike",
|
||||
tiles = {"carpet_cyan_out.png"},
|
||||
inventory_image = "carpet_cyan_out.png",
|
||||
wield_image = "carpet_cyan_out.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||
},
|
||||
groups = {dig_immediate=2},
|
||||
})
|
||||
|
||||
minetest.register_node("carpet:blue", {
|
||||
description = "Blue Carpet",
|
||||
drawtype = "raillike",
|
||||
tiles = {"carpet_blue_out.png"},
|
||||
inventory_image = "carpet_blue_out.png",
|
||||
wield_image = "carpet_blue_out.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||
},
|
||||
groups = {dig_immediate=2},
|
||||
})
|
||||
|
||||
minetest.register_node("carpet:pink", {
|
||||
description = "Pink Carpet",
|
||||
drawtype = "raillike",
|
||||
tiles = {"carpet_pink_out.png"},
|
||||
inventory_image = "carpet_pink_out.png",
|
||||
wield_image = "carpet_pink_out.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||
},
|
||||
groups = {dig_immediate=2},
|
||||
})
|
||||
|
||||
|
||||
minetest.register_node("carpet:black", {
|
||||
description = "Black Carpet",
|
||||
drawtype = "raillike",
|
||||
tiles = {"carpet_black_out.png"},
|
||||
inventory_image = "carpet_black_out.png",
|
||||
wield_image = "carpet_black_out.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||
},
|
||||
groups = {dig_immediate=2},
|
||||
})
|
||||
|
||||
minetest.register_node("carpet:magenta", {
|
||||
description = "Magenta Carpet",
|
||||
drawtype = "raillike",
|
||||
tiles = {"carpet_magenta_out.png"},
|
||||
inventory_image = "carpet_magenta_out.png",
|
||||
wield_image = "carpet_magenta_out.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||
},
|
||||
groups = {dig_immediate=2},
|
||||
})
|
||||
|
||||
minetest.register_node("carpet:white", {
|
||||
description = "White Carpet",
|
||||
drawtype = "raillike",
|
||||
tiles = {"carpet_white_out.png"},
|
||||
inventory_image = "carpet_white_out.png",
|
||||
wield_image = "carpet_white_out.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||
},
|
||||
groups = {dig_immediate=2},
|
||||
})
|
||||
|
||||
-- Crafing
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'carpet:red 64',
|
||||
recipe = {
|
||||
{'wool:red', 'wool:red', 'wool:red'},
|
||||
{'wool:red', 'wool:red', 'wool:red'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'carpet:orange 64',
|
||||
recipe = {
|
||||
{'wool:orange', 'wool:orange', 'wool:orange'},
|
||||
{'wool:orange', 'wool:orange', 'wool:orange'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'carpetyellow 64',
|
||||
recipe = {
|
||||
{'wool:yellow', 'wool:yellow', 'wool:yellow'},
|
||||
{'wool:yellow', 'wool:yellow', 'wool:yellow'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'carpet:green 64',
|
||||
recipe = {
|
||||
{'wool:green', 'wool:green', 'wool:green'},
|
||||
{'wool:green', 'wool:green', 'wool:green'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'carpet:cyan 64',
|
||||
recipe = {
|
||||
{'wool:cyan', 'wool:cyan', 'wool:cyan'},
|
||||
{'wool:cyan', 'wool:cyan', 'wool:cyan'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'carpet:blue 64',
|
||||
recipe = {
|
||||
{'wool:blue', 'wool:blue', 'wool:blue'},
|
||||
{'wool:blue', 'wool:blue', 'wool:blue'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'carpet:pink 64',
|
||||
recipe = {
|
||||
{'wool:pink', 'wool:pink', 'wool:pink'},
|
||||
{'wool:pink', 'wool:pink', 'wool:pink'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'carpet:magenta 64',
|
||||
recipe = {
|
||||
{'wool:magenta', 'wool:megenta', 'wool:magenta'},
|
||||
{'wool:magenta', 'wool:magenta', 'wool:magenta'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'carpet:white 64',
|
||||
recipe = {
|
||||
{'wool:white', 'wool:white', 'wool:white'},
|
||||
{'wool:white', 'wool:white', 'wool:white'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'carpet:black 64',
|
||||
recipe = {
|
||||
{'wool:black', 'wool:black', 'wool:black'},
|
||||
{'wool:black', 'wool:black', 'wool:black'},
|
||||
}
|
||||
})
|
After Width: | Height: | Size: 518 B |
After Width: | Height: | Size: 537 B |
After Width: | Height: | Size: 488 B |
After Width: | Height: | Size: 560 B |
After Width: | Height: | Size: 455 B |
After Width: | Height: | Size: 248 B |
After Width: | Height: | Size: 254 B |
After Width: | Height: | Size: 259 B |
After Width: | Height: | Size: 236 B |
After Width: | Height: | Size: 446 B |
After Width: | Height: | Size: 180 B |
After Width: | Height: | Size: 211 B |
After Width: | Height: | Size: 198 B |
After Width: | Height: | Size: 198 B |
After Width: | Height: | Size: 207 B |
After Width: | Height: | Size: 492 B |