Minetest logo

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

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

All times shown according to UTC.

Time Nick Message
01:00 ch98 joined #minetest-mods
03:13 Miner_48er joined #minetest-mods
04:02 Miner_48er i'm looking for the node removal code in Zeg9's itemframes it seems to use a nonstandered removal code could can_dig be used this way? https://github.com/Zeg9/minetest-itemframes/blob/521a9ef5594eff22038f6d8b255d6f47c82ea90f/itemframes/init.lua
04:55 thexyz http://dev.minetest.net/minetest.register_node#can_dig
04:58 Miner_48er so on_dig or minetest.node_dig is not required?
05:07 thexyz in this case it isn't
05:14 Miner_48er ok I need to add code to remove the ownership of the node after it's removed
05:16 Miner_48er can you suggest the best way of adding this?
05:23 thexyz it should work just as you described
05:25 Miner_48er ok which line does that?
05:26 thexyz there's no such line
05:26 thexyz this is default behavior
05:27 Miner_48er the removal of ownership is default?
05:30 Miner_48er is that correct?
05:30 thexyz the removal of metadata on node dig is
05:34 Miner_48er is thier a simple way to add the removal of metadata on dig to this mod to confirm removal?
05:38 thexyz why would you want this?
05:39 Miner_48er default behavior problem
05:39 thexyz ?
05:40 Miner_48er using a daily build
05:41 thexyz and?
05:41 thexyz well, you can call :from_table({}) on meta
05:41 thexyz http://dev.minetest.net/NodeMetaRef
05:43 Miner_48er local meta = minetest.env:get_meta(pos)
05:44 Miner_48er meta:set_string("")
05:44 thexyz please, read docs
05:50 Miner_48er meta:set_string("owner","")
05:51 Miner_48er or does this require all of the example?
06:04 Miner_48er thanks
09:28 rubenwardy joined #minetest-mods
11:02 PilzAdam joined #minetest-mods
11:50 rubenwardy joined #minetest-mods
13:19 rubenwardy joined #minetest-mods
13:26 BrandonReese_ joined #minetest-mods
17:26 nyuszika7h joined #minetest-mods

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