diff options
-rw-r--r-- | .gitattributes | 22 | ||||
-rw-r--r-- | .gitignore | 36 | ||||
-rw-r--r-- | README.md | 15 | ||||
-rw-r--r-- | init.lua | 21 | ||||
-rw-r--r-- | textures/bb.png | bin | 0 -> 8768 bytes |
5 files changed, 94 insertions, 0 deletions
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..6dae747 --- /dev/null +++ b/.gitignore @@ -0,0 +1,36 @@ +# Windows image file caches
+Thumbs.db
+ehthumbs.db
+
+# Folder config file
+Desktop.ini
+
+# Recycle Bin used on file shares
+$RECYCLE.BIN/
+
+# Windows Installer files
+*.cab
+*.msi
+*.msm
+*.msp
+
+# =========================
+# Operating System Files
+# =========================
+
+# OSX
+# =========================
+
+.DS_Store +.AppleDouble +.LSOverride + +# Icon must ends with two \r. +Icon
+ +# Thumbnails +._* + +# Files that might appear on external disk +.Spotlight-V100 +.Trashes diff --git a/README.md b/README.md new file mode 100644 index 0000000..e302813 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +bilboard mod +====================== + +by crazyginger72 + +requested by crazyR + +adds a 4x6 node signlike bilboard + + +use the bb.png texture as a size guide for your new bilboards. + +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!WARNING DO NOT USE THE TRANSPARENT AREAS ON THE TEXTURE OR YOU WILL RUIN THE SIGN!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..6988781 --- /dev/null +++ b/init.lua @@ -0,0 +1,21 @@ +minetest.register_node("bilboard:4x6", { + description = "4x6 Bilboard", + drawtype = "signlike", + visual_scale = 5, + tiles = {"bb.png"}, + inventory_image = "bb.png", + wield_image = "bb.png", + wield_scale = {x=1, y=1, z=1}, + paramtype = "light", + paramtype2 = "wallmounted", + sunlight_propagates = true, + walkable = false, + light_source = 1, -- reflecting a bit of light might be expected + selection_box = { + type = "wallmounted", + wall_side = {-0.45, -1.5, -2.5, -.4, 1.5, 2.5}, -- NodeBox + }, + groups = {choppy=2,dig_immediate=3,attached_node=1}, + legacy_wallmounted = true, + +}) diff --git a/textures/bb.png b/textures/bb.png Binary files differnew file mode 100644 index 0000000..1560de1 --- /dev/null +++ b/textures/bb.png |