Minetest logo

IRC log for #minetest-dev, 2012-11-13

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

All times shown according to UTC.

Time Nick Message
00:51 hmmmm joined #minetest-dev
08:15 ecube joined #minetest-dev
10:15 nyuszika7h joined #minetest-dev
10:15 celeron55 joined #minetest-dev
10:24 VanessaE joined #minetest-dev
10:25 nyuszika7h joined #minetest-dev
10:30 darkrose joined #minetest-dev
12:58 SpeedProg joined #minetest-dev
14:27 PilzAdam joined #minetest-dev
14:54 doserj joined #minetest-dev
15:24 PilzAdam joined #minetest-dev
16:04 Calinou joined #minetest-dev
16:19 hmmmm joined #minetest-dev
17:09 thexyz anything against this one? https://github.com/celeron55/minetest/pull/285
17:09 PilzAdam colors should be configurable
17:11 celeron55 eeeeeeehm
17:11 celeron55 wtf is going on in the merge commit
17:15 celeron55 that can't be right
17:18 thexyz why? the diff seems to be fine https://github.com/celeron55/minetest/pull/285/files
17:19 celeron55 actually, i guess it is right
17:19 celeron55 i'd prefer a rebase for that though
17:22 celeron55 this'd look better https://github.com/celeron55/minetest/commits/anaglyph_rebase1
17:42 PilzAdam I suggest to replace the current doors mod with this one: https://github.com/PilzAdam/minetest_game/tree/doors/mods/doors
17:43 PilzAdam It is 3D; it is still easy to texture; it has auto flip if placed at the right side of another door; it adds a simple function to create new doors
17:43 PilzAdam oh, and it adds steel doors
17:43 Calinou can these steel doors be opened by everyone?
17:44 PilzAdam yes
17:44 Calinou imo: they should only be openable by owner
17:44 thexyz PilzAdam: too many code
17:44 Calinou like chests :)
17:45 thexyz and it's not really clean
17:45 PilzAdam its old code from me
17:45 thexyz for example, do you really need "type"? https://github.com/PilzAdam/minetest_game/blob/doors/mods/doors/init.lua#L83
17:45 PilzAdam maybe i have to rework it a bit
17:45 thexyz you should also learn to use ORs ^^ https://github.com/PilzAdam/minetest_game/blob/doors/mods/doors/init.lua#L70
17:46 thexyz oh, old code..
17:46 PilzAdam ORs would make the line too long
17:47 celeron55 it does look like on_punch and after_dig_node could be defined once and then just set to all of those (or wrapped with some extra arguments)
17:47 thexyz uh.. you know, you can split line into several
17:47 thexyz i still prefer xdoors2 (except you can't define your own doors) https://github.com/xyzz/minetest-mods/blob/master/xdoors2/init.lua
17:48 PilzAdam and its a pain to texture them (according to VanessaE)
17:48 thexyz probably
17:48 celeron55 http://paste.dy.fi/2lL
17:48 thexyz still, feel free to take some code from it
17:48 celeron55 you can code long ifs like that
17:54 Calinou PilzAdam: use xdoors2, modify nodebox to be one nodebox
17:54 Calinou ;)
17:58 doserj joined #minetest-dev
18:31 PilzAdam where are all the special commands for the tile string documented? (like "[combine:")
18:32 doserj joined #minetest-dev
19:32 rubenwardy joined #minetest-dev
19:56 PilzAdam Ive reworked the doors mod: https://github.com/PilzAdam/minetest_game/tree/doors
19:57 PilzAdam it has less code; it flips the textures now with the ^[transform command; locked doors are possible (steel door is now locked)
20:01 rubenwardy left #minetest-dev
22:47 SpeedProg1 joined #minetest-dev

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