Minetest logo

IRC log for #minetest-mods, 2013-06-01

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

All times shown according to UTC.

Time Nick Message
00:40 Exio joined #minetest-mods
10:57 PilzAdam joined #minetest-mods
13:10 rubenwardy joined #minetest-mods
16:29 rubenwardy joined #minetest-mods
16:30 rubenwardy Kaeza: lua does use end not done :P
16:30 rubenwardy Stupid bloody powercut.
17:11 BrandonReese joined #minetest-mods
18:23 NakedFury joined #minetest-mods
18:27 NakedFury left #minetest-mods
20:06 ecube joined #minetest-mods
23:03 ExcaliburZero joined #minetest-mods
23:09 ExcaliburZero I was wondering, what is the lua code to give the player a craft item?
23:09 PilzAdam player:get_inventory():add_item("main", "whatever:youwant)
23:10 PilzAdam +"
23:19 ExcaliburZero Here is the code that I currently have: http://codepad.org/FDuXds6I
23:19 ExcaliburZero It throws an error when I collide with the entity.
23:21 kaeza ExcaliburZero, line 19
23:21 kaeza should be player:get_inventory():add_item("main", "neoblocks:rupee_green")
23:22 ExcaliburZero Ok, I'll try that.
23:24 ExcaliburZero Yep, that worked. Thanks!
23:24 kaeza np :)

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