First commit;
done the node defs, just need to finish crafting and textures
22
.gitattributes
vendored
Normal 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
|
163
.gitignore
vendored
Normal file
@ -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
|
186
carpet/init.lua
Normal file
@ -0,0 +1,186 @@
|
|||||||
|
-- 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", "carpet_yellow_cor.png", "carpet_yellow_one.png", "carpet_yellow_cen.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", "carpet_green_cor.png", "carpet_green_one.png", "carpet_green_cen.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", "carpet_cyan_cor.png", "carpet_cyan_one.png", "carpet_cyan_cen.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", "carpet_blue_cor.png", "carpet_blue_one.png", "carpet_blue_cen.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", "carpet_pink_cor.png", "carpet_pink_one.png", "carpet_pink_cen.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:white", {
|
||||||
|
description = "White Carpet",
|
||||||
|
drawtype = "raillike",
|
||||||
|
tiles = {"carpet_white_out.png", "carpet_white_cor.png", "carpet_white_one.png", "carpet_white_cen.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},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("carpet:black", {
|
||||||
|
description = "Black Carpet",
|
||||||
|
drawtype = "raillike",
|
||||||
|
tiles = {"carpet_black_out.png", "carpet_black_cor.png", "carpet_black_one.png", "carpet_black_cen.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", "carpet_magenta_cor.png", "carpet_magenta_one.png", "carpet_magenta_cen.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},
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Crafing
|
BIN
carpet/textures/carpet_orange_cen.png
Normal file
After Width: | Height: | Size: 248 B |
BIN
carpet/textures/carpet_orange_cor.png
Normal file
After Width: | Height: | Size: 254 B |
BIN
carpet/textures/carpet_orange_one.png
Normal file
After Width: | Height: | Size: 259 B |
BIN
carpet/textures/carpet_orange_out.png
Normal file
After Width: | Height: | Size: 236 B |
BIN
carpet/textures/carpet_red_cen.png
Normal file
After Width: | Height: | Size: 180 B |
BIN
carpet/textures/carpet_red_cor.png
Normal file
After Width: | Height: | Size: 211 B |
BIN
carpet/textures/carpet_red_one.png
Normal file
After Width: | Height: | Size: 198 B |
BIN
carpet/textures/carpet_red_out.png
Normal file
After Width: | Height: | Size: 198 B |