Luanti logo

IRC log for #minetest-mods, 2014-04-29

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

All times shown according to UTC.

Enable nick filtering
Time Nick Message
00:00 WindHero trap chests that, if mesecons is installed, send mesecons signals upon being broken into
00:06 WindHero I have one more question
00:07 WindHero when you modify a single, complicated mod with just a few lines....
00:07 WindHero is it preferable to copy the whole mod into a new one and overwrite the old one, or to merely package the edited mod with the one being created as a modpack?
00:08 WindHero for example, [doors]
00:10 ShadowNinja I'm not sure what you're saying, but you can usually override a mod's functions if you depend on it and provide it unmodified.
00:10 ShadowNinja If your changes are general you should have the original mod changed.
00:11 ShadowNinja You never provide two copies of one mod, one modified.
00:13 WindHero Well, in my case, I edited the can_dig() function of the doors mod
00:15 WindHero so in that case, I should provide my own copy of doors?
01:27 ShadowNinja WindHero: No.  Add a mod that overrides that function.
01:28 ShadowNinja WindHero: Unless your modification can be generalized to be usefull to other mods.
01:28 WindHero if it's a local function
01:28 WindHero can you override it from another mod though?
01:31 ShadowNinja WindHero: No, not local functions.  But you can override minetest.registeres_nodes[<name of each registered node>].can_dig.
01:32 ShadowNinja minetest.override_item might be better though.
01:32 WindHero alright
01:32 WindHero I was merely trying to take a shortcut with doors
01:32 WindHero with chests, I've been overriding the nodes
01:33 WindHero but doors, are split into four nodes, so I was trying to override the general function that handles digging
01:33 WindHero guess I'll have to do the four individual nodes, lol
8 more elements. Show/hide.
12:06 Taoki Hi. I have a question about set_sky: Is it possible to use 6 textures for cubemap, but without bgcolor? I want to use 6 transparent textures, but still have the sun / moon / stars / etc show behind them. Is this possible so far?
8 more elements. Show/hide.

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