MESE tools

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

MESE tools

by lkjoel » Fri Mar 02, 2012 02:08

Well, here is my first mod for the game, so I hope you enjoy it. It lets you have all of your tools mese (sword, axe, shovel, and pick).
First, add these lines to the default init.lua (datadir/mods/default/init.lua):
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_tool("default:pick_mese", {
    description = "Mese Pickaxe",
    inventory_image = "default_tool_mesepick.png",
    tool_digging_properties = {
        basetime = 0,
        dt_weight = 0,
        dt_crackiness = 0,
        dt_crumbliness = 0,
        dt_cuttability = 0,
        basedurability = 1337,
        dd_weight = 0,
        dd_crackiness = 0,
        dd_crumbliness = 0,
        dd_cuttability = 0,
    },
})
minetest.register_tool("default:shovel_mese", {
    description = "Mese Shovel",
    inventory_image = "default_tool_meseshovel.png",
    tool_digging_properties = {
        basetime = 0,
        dt_weight = 0,
        dt_crackiness = 0,
        dt_crumbliness = 0,
        dt_cuttability = 0.0,
        basedurability = 1337,
        dd_weight = 0,
        dd_crackiness = 0,
        dd_crumbliness = 0,
        dd_cuttability = 0,
    },
})
minetest.register_tool("default:axe_mese", {
    description = "Mese Axe",
    inventory_image = "default_tool_meseaxe.png",
    tool_digging_properties = {
        basetime = 0,
        dt_weight = 0,
        dt_crackiness = 0,
        dt_crumbliness = 0,
        dt_cuttability = 0.0,
        basedurability = 1337,
        dd_weight = 0,
        dd_crackiness = 0,
        dd_crumbliness = 0,
        dd_cuttability = 0,
    },
})
minetest.register_tool("default:sword_mese", {
    description = "Mese Sword",
    inventory_image = "default_tool_mesesword.png",
    tool_digging_properties = {
        basetime = 0,
        dt_weight = 0,
        dt_crackiness = 0,
        dt_crumbliness = 0,
        dt_cuttability = 0.0,
        basedurability = 1337,
        dd_weight = 0,
        dd_crackiness = 0,
        dd_crumbliness = 0,
        dd_cuttability = 0,
    },
})
minetest.register_craft({
    output = 'default:pick_mese',
    recipe = {
        {'default:mese', 'default:mese', 'default:mese'},
        {'', 'default:stick', ''},
        {'', 'default:stick', ''},
    }
})
minetest.register_craft({
    output = 'default:shovel_mese',
    recipe = {
        {'default:mese'},
        {'default:stick'},
        {'default:stick'},
    }
})
minetest.register_craft({
    output = 'default:axe_mese',
    recipe = {
        {'default:mese', 'default:mese'},
        {'default:mese', 'default:stick'},
        {'', 'default:stick'},
    }
})
minetest.register_craft({
    output = 'default:sword_mese',
    recipe = {
        {'default:mese'},
        {'default:mese'},
        {'default:stick'},
    }
})
minetest.add_to_creative_inventory('default:pick_mese')
minetest.add_to_creative_inventory('default:sword_mese')
minetest.add_to_creative_inventory('default:axe_mese')
minetest.add_to_creative_inventory('default:shovel_mese')

Then download and extract this zipfile into the textures directory right beside the default init.lua (the one that you just changed): http://ge.tt/6BAEvSE/v/0.

And for the screenshot:
Image

Please tell me what you think, and if you have any suggestions to improve it :)
Last edited by lkjoel on Fri Mar 02, 2012 04:27, edited 1 time in total.
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46

by Death Dealer » Fri Mar 02, 2012 03:40

swords and picks are already made. this is just picks and shovels(as far as i know) good job tho.
Keep calm and code python^_^
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33

by sdzen » Sat Mar 10, 2012 21:11

there should be a cutting difference between them all
Note: i just love typing onto abandoned topics that are underposted
[h]Zen S.D.[/h] The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Sat Mar 10, 2012 23:17

yeah, I know. I might change the pick's cutting difference so that it's not a "all-powerful" tool lol
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46

by Death Dealer » Sun Mar 11, 2012 00:17

I like bobs mese mod. It's very nice
Keep calm and code python^_^
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Sun Mar 11, 2012 00:32

Yeah, that is really awesome! I do love the textures for his tools too (if only he could make a cool texture pack based on those textures)
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46

by Death Dealer » Sun Mar 11, 2012 02:47

He might be planning something like that and if not, that's the easiest thing to do you might won't to look into it:D
Keep calm and code python^_^
 

User avatar
IPushButton2653
Member
 
Posts: 666
Joined: Wed Nov 16, 2011 22:47

by IPushButton2653 » Sun Mar 11, 2012 04:40

I actually did this to my texture pack (requires the whole data folder) using the data for obsidian tools. Pretty epic.
 

WIESTURS
New member
 
Posts: 8
Joined: Fri Mar 09, 2012 12:36

by WIESTURS » Sun Mar 11, 2012 12:27

hmmm theres a problem ewerything is OK but when i go in my map theres a error just like this: check debug.txt
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Sun Mar 11, 2012 18:37

could you copy/paste debug.txt here?
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 7 guests

cron