Page 1 of 2

[Mod] Home Mod [home_mod] (missing license)

PostPosted: Sun Dec 11, 2011 11:39
by lmtea
Hello all!

Finally, I have started the mod creation. This mod will be big, already it gives ability to craft flowers to petals, craft it to paint and colour different blocks. It depends on "Flowers" mod. I will continue work on it, so keep an eye on this).


You can also use chisel to clean mossle stone from moss and make it mossle again, or to remove paint from blocks (except wallpaper)!

Now I have a fireplace, that makes a light, it's very cosy!

Say no to junk! Use my dustbin and clean it forever with scoop!

There is glass pane, like in Minecraft!)

Try it, it's fun!

https://github.com/lmtea/home_mod

Image

Image

Image

Image

Crafting petal-

X -> O

X - flower, O - petal

can

X.X
X.X
XXX

X - steel ingot

paint

O
X

O - petal, X - can

crafting fireplace

XXX
XOX
XXX

X - cobble, O - torch

crafting dustbin

XXX
X.X
XXX

X - cactus

chisel

XXX
.X.
.O.

X - steel ingot, O - stick

scoop

XXX
XXX
.O.

X - steel ingot, O - stick

glass pane
...
XXX
XXX

X - glass

Maybe change glass panel if will cause conflicts

tarball https://github.com/lmtea/home_mod/raw/master/home_mod.tar.gz

zipball https://github.com/lmtea/home_mod/raw/master/home_mod.zip

But I may forget to update archives, so use this (bigger) https://github.com/lmtea/home_mod/zipball/master

Some kind of wiki coming soon!

// Sorry for my English, I am from Russia.

PostPosted: Sun Dec 11, 2011 12:08
by Staffs
Looks fun !

PostPosted: Sun Dec 11, 2011 12:11
by lmtea
Thanks)

PostPosted: Sun Dec 11, 2011 14:02
by lmtea
Update!

Added chisel, that can clean cobble from moss, and added moss, which is from cobble.

Also, you can make mossle stone again.

PostPosted: Sun Dec 11, 2011 14:18
by ironzorg
Looks promising !

However, your main thread could use some more crafts recipes ;)

PostPosted: Sun Dec 11, 2011 14:35
by Hackeridze
Пусть мох растет сам, но дооолго.

PostPosted: Sun Dec 11, 2011 14:52
by lmtea
There already a mod called moss, for groving moss)

PostPosted: Sun Dec 11, 2011 14:53
by lmtea
I will add coluring blocks

PostPosted: Sun Dec 11, 2011 16:47
by Hackeridze
http://minetest.ru/blog/16.html
Цемент!!! Охеренно же!
Доработка: мб чегонить покрутить или разнообразить: при добавлении красителя в ведро с цементом, цемент меняет цвет и затвердевает.
may I speak Russian? Or somebody wanna see English translation?

PostPosted: Sun Dec 11, 2011 16:52
by sfan5
Please use English

PostPosted: Sun Dec 11, 2011 16:55
by Jordach
And, BTW, this is ENGLISH only.

PostPosted: Sun Dec 11, 2011 17:14
by Hackeridze
Okay.

PostPosted: Sun Dec 11, 2011 18:10
by MarkTraceur
Awesome mod!

Would you be interested in moving it over to gitorious, where minetest modders are starting to gather?

https://gitorious.org/+minetest-modders

Let me know if you'd like to join the group!

PostPosted: Mon Dec 12, 2011 05:59
by lmtea
I am hosting on github, but it will be good idea, maybe clone project where needed. But I'm not so cool with git, so tell me how, please.

PostPosted: Mon Dec 12, 2011 06:31
by MarkTraceur
The only step required, once you made the project on gitorious, would be to add another remote.

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
git remote add <repository name> <repository url>


Then, you can push to that remote with

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
git push <repository name> master

PostPosted: Mon Dec 12, 2011 17:49
by randomproof
Small change that would allow wallpaper to stay on the wall when you paint it and be able to change already painted wallpaper to another color:

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
minetest.register_craftitem("home_mod:rose_can", {
    image = "rose_can.png",
    on_place_on_ground = minetest.craftitem_place_item,
    on_use = function(item, player, pointed_thing)
        if pointed_thing.type == "node" then
            n = minetest.env:get_node(pointed_thing.under)
            if string.match(n.name, "home_mod:%a-_wallpaper") ~= nil then
                minetest.env:remove_node(pointed_thing)
                minetest.env:add_node(pointed_thing.under, {name="home_mod:red_wallpaper", param2=n.param2})
                player:add_to_inventory_later('craft "home_mod:can" 1')
                return true
            end
        end
        return false
    end,
})


Setting param2 for the new node to the old node's param2 is key.

PostPosted: Tue Dec 13, 2011 09:03
by lmtea
Thanks, I'm using your patch now! It's awesome!

PostPosted: Tue Dec 13, 2011 09:05
by lmtea
Update!

Added fireplace

Added dustbin with scoop

Added glass pane

Rewritten can, adding empty can, now cans works more like buckets!

Wiki and clouring blocks soon!

PostPosted: Sun Dec 18, 2011 10:53
by lordawe
Cool mod!

I've made my mod that depends on yours. I can make colored signs and glowing colored signs.

PostPosted: Sun Dec 18, 2011 13:40
by bwog
How do you make paint, fireplaces, dustbins, and glass panes?

PostPosted: Sun Dec 18, 2011 14:38
by lmtea
Update!

Added blocks colouring!

Now chisel may remove paint from blocks (except wallpaper)

PostPosted: Sun Dec 18, 2011 14:45
by lmtea
Crafting petal-

X -> O

X - flower, O - petal

can

X.X
X.X
XXX

X - steel ingot

paint

O
X

O - petal, X - can

crafting fireplace

XXX
XOX
XXX

X - cobble, O - torch

crafting dustbin

XXX
X.X
XXX

X - cactus

chisel

XXX
.X.
.O.

X - steel ingot, O - stick

scoop

XXX
XXX
.O.

X - steel ingot, O - stick

glass pane
...
XXX
XXX

X - glass

Maybe change glass panel if will cause conflicts

PostPosted: Sun Dec 18, 2011 17:04
by Hackeridze
My sugestion:
XXX
.X.
.O.

X - steel ingot, O - stick
IS NEED TO BE MINIMUM 3 or, maybe, 4 chisels! Because it's f*cking 4 iron ingots!

PostPosted: Mon Dec 19, 2011 00:30
by Menche
When I paint a jungle tree trunk then chisel the paint off, it turns into a regular tree trunk.

PostPosted: Mon Dec 19, 2011 05:59
by lmtea
Hackeridze, chisel not disappears

Menche, will fix

PostPosted: Mon Dec 19, 2011 06:08
by lmtea
Fixed! But for now you are still not able to paint jungletree, will add this later.

PostPosted: Mon Dec 19, 2011 08:40
by Hackeridze
lmtea... I saw your code... please, USE "FOR" CYCLE! You may see example of this in flowers mod or in my variant of cement mod. Thats will make your life more simple) and i Think that is bad idea to use color names like "orange", "violet" and "red", etc.! IMHO, "tulip", "viola" and "rose" is more simle, because the flowers mo in your depends =3 see the colored cement mod for example ;)

Sorry for my bad english, если надо могу переписать по русски) с сотки пишу)

PostPosted: Mon Dec 19, 2011 10:03
by lmtea
Will try it... I am not cool at programming and when I will learn lua better I will rewrite the code.

I know that code is awful, but it's easy for my mind now. I will rewrite it.

PostPosted: Tue Dec 20, 2011 15:41
by MarkTraceur
Imtea, while you're at it, it might do to use an ABM to empty the dustbin periodically, instead of using a complicated way of removing one node at a time.....see the experimental mod, luafurnace's ABM.

PostPosted: Sat Dec 24, 2011 10:27
by Hackeridze
Make VERSION.