[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4866: Undefined array key "database_gc"
FOSS gamedev and creative worlds • View topic - {MODS} Random Beatles related mods
Page 1 of 1

{MODS} Random Beatles related mods

PostPosted: Thu Dec 29, 2011 19:35
by IPushButton2653
So, I started work on different mods associated with the legendary band, The Beatles. And now, I plan to share them with you.

--Maxwell's Silver Hammer (weapon) http://www.mediafire.com/?pc7hip41bvokcv4
Crafting
x o o i = stick
x i x o=silver ingot (requires "moreores" mod {credit to Calinou} http://ompldr.org/vYnkyeg/moreores.zip)
x i x x=nothing

PostPosted: Thu Dec 29, 2011 19:37
by sdzen
isnt an ingot a craft item? might wanna fix that

PostPosted: Thu Dec 29, 2011 19:43
by IPushButton2653
I know where I went wrong, on line three, incorrect end stuff or whatnot.

PostPosted: Thu Dec 29, 2011 19:52
by IPushButton2653
I still get the error "invalid crafting recipe" in the debug >~<

PostPosted: Thu Dec 29, 2011 19:55
by IPushButton2653
am i missing anything? this is the WHOLE init.lua


-- Crafting

minetest.register_craft({
output = 'tool "maxwellsilverhammer:silver_hammer"',
recipe = {
{'craft "moreores:silver_ingot"', 'craft "moreores:silver_ingot"'},
{'craft "default:stick"'},
{'craft "default:stick"'},
}
})

-- tools
minetest.register_tool("maxwellsilverhammer:silver_hammer", {
image = "silverhammer.png",
basetime = 0,
dt_weight = 3,
dt_crackiness = 0,
dt_crumbliness = 1,
dt_cuttability = -10,
basedurability = 1000,
dd_weight = 0,
dd_crackiness = 0,
dd_crumbliness = 0,
dd_cuttability = 0,
})

-- end
-- return false
-- end,
--

PostPosted: Thu Dec 29, 2011 20:00
by dannydark
Your recipe is wrong, each row should always have the same amount of columns.

So in yours you have 2 columns on the top row meaning the next two rows should also have 2 columns

Like:
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
        {'craft "moreores:silver_ingot"', 'craft "moreores:silver_ingot"'},
        {'craft "default:stick"', ''},
        {'craft "default:stick"', ''},

PostPosted: Thu Dec 29, 2011 20:09
by IPushButton2653
Thanks, it works. Now, I must fix the texture for it, it kinda sucks :/

PostPosted: Thu Dec 29, 2011 20:17
by dannydark
Haha no worries, glad I could help ^_^

PostPosted: Thu Dec 29, 2011 20:56
by IPushButton2653
The mods shall pour from here soon

PostPosted: Fri Dec 30, 2011 07:25
by IPushButton2653
Would anyone like to see a mod implementing sound (when it is possible) that lets you play music via a guitar or drums?

PostPosted: Fri Dec 30, 2011 08:09
by sfan5
IPushButton2653 wrote:Would anyone like to see a mod implementing sound (when it is possible) that lets you play music via a guitar or drums?

It's not possible to add Sound

PostPosted: Fri Dec 30, 2011 08:22
by IPushButton2653
It will be, some day, even if I have to go completely computer-geek, I will make it work, somehow.......

PostPosted: Fri Dec 30, 2011 09:28
by dannydark
Last I heard Cisoun was working on audio support sometime this week, check this thread for updates: http://c55.me/minetest/forum/viewtopic.php?id=642

Cisoun said that they would post an update in that thread when the audio support is done/nearly done ^_^

PostPosted: Fri Dec 30, 2011 21:52
by IPushButton2653
I can't wait to see some sound actually :D