Minetest logo

IRC log for #minetest-mods, 2013-12-29

| Channels | #minetest-mods index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
01:09 Miner_48er joined #minetest-mods
02:32 kaeza joined #minetest-mods
03:13 Miner_48er joined #minetest-mods
09:26 blaaaaargh joined #minetest-mods
09:47 jinhang_ang joined #minetest-mods
09:48 jinhang_ang hi. can anyone tell me how to make my own mod?
12:23 kaeza joined #minetest-mods
13:21 PilzAdam joined #minetest-mods
16:46 blaaaaargh joined #minetest-mods
17:04 blaaaaargh joined #minetest-mods
17:11 rubenwardy joined #minetest-mods
17:19 bas080 joined #minetest-mods
17:20 OWNSyouAll Is there anyway to put some randomness into a crafting recipe? Like sometimes you get 2 items sometimes you get 1?
17:22 PilzAdam no
17:22 PilzAdam (only if you make your own workbench)
17:29 OWNSyouAll Yeah i know just want to see if there was a way in the lua api i wasn't seeing
19:01 Exio4 joined #minetest-mods
19:03 nyuszika7h joined #minetest-mods
19:09 w_laenger joined #minetest-mods
19:10 w_laenger Hi, how can I get the seed of a map? Minetest.setting_get("seed") doesn't work.
19:10 PilzAdam in minetest.register_on_mapgeninit()
19:10 PilzAdam see lua-api.txt
19:11 w_laenger can I somehow use it for an abm?
19:11 PilzAdam store it in a variable
19:11 w_laenger ok
19:12 w_laenger it's called minetest.register_on_mapgen_init()
19:12 PilzAdam yes, I shouldnt type while eating
19:24 w_laenger How exactly do I need to use minetest.register_on_mapgen_init()?
19:24 w_laenger If I write minetest.register_on_mapgen_init(function(_, seed) ac_seed = seed end)
19:24 w_laenger ac_seed is nil
19:26 ShadowNinja minetest.register_on_mapge‚Äčn_init(function(mgparams) ac_seed = mgparams.seed end)
19:26 w_laenger thanks
19:37 Exio4 joined #minetest-mods

| Channels | #minetest-mods index | Today | | Google Search | Plaintext