Page 1 of 3

[Mod] Roof [0.5] [roof]

PostPosted: Wed Mar 14, 2012 11:18
by Nemo08
ROOF MOD

Description:
This mod add roof tiles )
  • 0.5 fixed, but not tested with MT >=0.4.dev-20120318 (flowers mod not updated yet?)
  • new rail based
  • there is same strange things as in rails
  • different materials are not connected to each other
  • obsidian mod needed if you want craft obsidian-like tile

License of code and textures:
WTFPL

Dependences:
Links:
Roof mod 0.5 zip. MT >= 0.4dev-20120311
Roof mod 0.4 zip. MT = 0.4dev-20120311
[url=git@github.com:Nemo08/Other_mods.git]Github[/url]

Craft:
Clay_lump X
Clay_lump Clay_lump


Where X: dandelion yellow flower( -> 4 yellow tile), rose flower( -> 4 red tile),
cactus ( -> 4 green tile), tulip flower (-> 4 blue tile), viola flower( -> 4 viola tile)
sand ( -> 4 glass tile), gravel ( -> 4 grey tile), coal ( -> 4 black tile)
dandelion white flower( -> 4 white tile), obsidian block ( -> 4 obsidian like tile)

Jungle_grass Jungle_grass Jungle_grass
Jungle_grass Jungle_grass Jungle_grass
Jungle_grass Jungle_grass Jungle_grass


- 9 straw


Screens:
Image
Image

PostPosted: Wed Mar 14, 2012 11:29
by Hackeridze
+1

PostPosted: Wed Mar 14, 2012 12:35
by Utilisatrice
Thank you.

Hmm, what font you use to display the text of the server and how you have changed?

PostPosted: Wed Mar 14, 2012 12:44
by Hackeridze
Utilisatrice wrote:Thank you.

Hmm, what font you use to display the text of the server and how you have changed?

We don't know =( Maybe it... Monospace?

PostPosted: Wed Mar 14, 2012 13:39
by Sartan
where it is possible to download 0.4dev-20120311

PostPosted: Wed Mar 14, 2012 14:54
by sfan5
You must compile from Source

PostPosted: Wed Mar 14, 2012 16:00
by Sartan
D'oh

PostPosted: Wed Mar 14, 2012 16:21
by Death Dealer
VERY NICE. like the half block

PostPosted: Wed Mar 14, 2012 16:43
by Jordach
Death Dealer wrote:VERY NICE. like the half block

what half blocks?!?

PostPosted: Wed Mar 14, 2012 17:31
by Death Dealer
Jordach wrote:
Death Dealer wrote:VERY NICE. like the half block

what half blocks?!?

the diagonally halfed blocks on the first pic

PostPosted: Wed Mar 14, 2012 17:36
by Nemo08
Death Dealer wrote:the diagonally halfed blocks on the first pic

its same thing as on second pic

PostPosted: Wed Mar 14, 2012 17:36
by RabbiBob
+1 very nice

PostPosted: Wed Mar 14, 2012 17:57
by Death Dealer
Nemo08 wrote:
Death Dealer wrote:the diagonally halfed blocks on the first pic

its same thing as on second pic

thats not what i was reffering to tho. even if i does.

PostPosted: Wed Mar 14, 2012 18:21
by Nemo08
I remove first pic))
Also add glass tile

PostPosted: Wed Mar 14, 2012 19:45
by Death Dealer
Nemo08 wrote:I remove first pic))
Also add glass tile

can you screenshot glass tile?

PostPosted: Wed Mar 14, 2012 19:55
by Nemo08
Death Dealer wrote:can you screenshot glass tile?

done.

PostPosted: Wed Mar 14, 2012 20:08
by Death Dealer
NICE

PostPosted: Wed Mar 14, 2012 20:53
by Lunarhiro
...So does this mean STAIRS ARE POSSIBLE?!

PostPosted: Wed Mar 14, 2012 20:54
by sfan5
You can't do the Collision In Lua!

Edit:
800th Post! :)

PostPosted: Wed Mar 14, 2012 20:57
by Nemo08
Lunarhiro wrote:...So does this mean STAIRS ARE POSSIBLE?!

half-working stairs patch by Kahrl

PostPosted: Wed Mar 14, 2012 20:59
by Nemo08
sfan5 wrote:Edit:
800th Post! :)

Gratz!!))

PostPosted: Wed Mar 14, 2012 21:40
by Jordach
sfan5 wrote:You can't do the Collision In Lua!

Edit:
800th Post! :)

>:(

PostPosted: Wed Mar 14, 2012 21:43
by Death Dealer
Jordach wrote:
sfan5 wrote:You can't do the Collision In Lua!

Edit:
800th Post! :)

>:(

LOL just know you made a ton more usefull comments
i always see him go into post and say nothing about it , just a weird face. :~P

PostPosted: Wed Mar 14, 2012 23:09
by bgsmithjr
One of the best mods!!

PostPosted: Thu Mar 15, 2012 00:01
by IPushButton2653
It isn't something I really want, but I like that someone did it. Congrats

PostPosted: Thu Mar 15, 2012 00:07
by bgsmithjr
How do you get black, gravel?

PostPosted: Thu Mar 15, 2012 05:32
by Nemo08
updated, added black and gray

PostPosted: Thu Mar 15, 2012 05:39
by IPushButton2653
Downloading now. I had a brainstorm ^^

PostPosted: Thu Mar 15, 2012 05:54
by IPushButton2653
Here was my idea
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
--
--
--         Author: Nemo08
--
--         

local COLORS = {   
    rose     =    'flowers:flower_rose',
    yellow    =    'flowers:flower_dandelion_yellow',
    tulip    =    'flowers:flower_tulip',
    viola    =    'flowers:flower_viola',
    green    =    'default:cactus',
    glass    =    'default:sand',
    gray    =    'default:gravel',
    black    =    'default:coal_lump',
    obsidian=    'obsidian:obsidian_block',
}

for color, src in pairs(COLORS) do

    minetest.register_craft({
        output = 'roof:tile_' .. color .. ' 4',
        recipe = {
            {'default:clay_lump', src},
            {'default:clay_lump', 'default:clay_lump'},
        }
    })

    local png = 'roof_tile_' .. color .. '.png'
   
    minetest.register_node('roof:tile_' .. color, {
        description = color .. ' tile',
        drawtype = 'raillike',
        tile_images = {png,png,png,png},
        inventory_image = png,
        wield_image = png,
        paramtype = 'light',
        is_ground_content = true,
        walkable = true,
        selection_box = {
            type = 'fixed',
        },
        material = minetest.digprop_glasslike(1.0),
    })
end

    minetest.register_craft({
        output = 'roof:straw 4',
        recipe = {
            {'default:junglegrass', 'default:junglegrass'},
            {'default:junglegrass', 'default:junglegrass'},
        }
    })

    local png = 'roof_straw.png'
    minetest.register_node('roof:straw', {
        description = 'Straw',
        drawtype = 'raillike',
        tile_images = {png,png,png,png},
        inventory_image = png,
        wield_image = png,
        paramtype = 'light',
        is_ground_content = true,
        walkable = true,
        selection_box = {
            type = 'fixed',
        },
        material = minetest.digprop_dirtlike(0.75),
    })


And the corresponding obsidian tile :D Image

PostPosted: Thu Mar 15, 2012 06:35
by Nemo08
updated, added white and obsidian-like tile. Thx to IPushButton2653!)
Obsidian mod needed if you want craft obsidian-like tile