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 |
01:35 |
|
psedlak joined #minetest-mods |
04:34 |
|
kaeza joined #minetest-mods |
04:35 |
|
diemartin joined #minetest-mods |
04:39 |
|
Exio4 joined #minetest-mods |
05:18 |
|
BrandonReese joined #minetest-mods |
05:43 |
|
ShadowNinja joined #minetest-mods |
07:06 |
|
restcoser joined #minetest-mods |
11:57 |
|
Taoki joined #minetest-mods |
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? |
12:46 |
|
Wuzzy joined #minetest-mods |
12:56 |
|
restcoser joined #minetest-mods |
13:11 |
|
phantombeta joined #minetest-mods |
16:10 |
|
PilzAdam joined #minetest-mods |
16:35 |
|
diemartin joined #minetest-mods |
18:34 |
|
Miner_48er joined #minetest-mods |
18:50 |
|
Amaz_ joined #minetest-mods |
20:20 |
|
Exio4 joined #minetest-mods |