From d6963fb1ee29de809f5b6281bf2d2506a5fb8ca4 Mon Sep 17 00:00:00 2001 From: crazyginger72 Date: Tue, 24 Jun 2014 20:31:12 -0400 Subject: first commit --- .gitattributes | 22 ++++++++++++++++++++++ .gitignore | 36 ++++++++++++++++++++++++++++++++++++ README.md | 15 +++++++++++++++ init.lua | 21 +++++++++++++++++++++ textures/bb.png | Bin 0 -> 8768 bytes 5 files changed, 94 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 README.md create mode 100644 init.lua create mode 100644 textures/bb.png 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 new file mode 100644 index 0000000..1560de1 Binary files /dev/null and b/textures/bb.png differ -- cgit v1.2.3