Time |
Nick |
Message |
00:05 |
|
vampirefrog joined #minetest |
00:16 |
|
wallabra_ joined #minetest |
00:30 |
|
natewrench joined #minetest |
00:56 |
|
smk joined #minetest |
01:05 |
|
Alias joined #minetest |
01:17 |
|
YuGiOhJCJ joined #minetest |
01:25 |
|
wallabra joined #minetest |
01:27 |
|
bdju joined #minetest |
01:50 |
fluxionary |
is there a way to disable the toolrepair craft mechanic? |
01:50 |
fluxionary |
(via lua API) |
01:51 |
MTDiscord |
<Jonathon> override minetest.register_craft and black hole repair crafts? |
01:53 |
fluxionary |
that's not how it works https://github.com/minetest/minetest/blob/75d88dcae233757d9567c971227b33b0168b5254/doc/lua_api.txt#L8445-L8464 |
01:53 |
fluxionary |
i tried setting the "additional_wear" to 1, but that doesn't work |
01:53 |
fluxionary |
clear_craft({type = "toolrepair"}) doesn't work |
01:54 |
|
Trifton joined #minetest |
01:54 |
fluxionary |
adding the `disable_repair` group to every tool would work, but that's ... not ideal |
01:59 |
fluxionary |
hey, that actually works inside of a `minetest.register_on_mods_loaded` callback, i'll go w/ that unless someone can tell me a better solution |
02:00 |
MTDiscord |
<Jonathon> till you find other mods use that |
02:01 |
MTDiscord |
<Jonathon> you need to override minetest.register_tool there as well to add the group |
02:02 |
MTDiscord |
<Jonathon> basically this https://github.com/mt-mods/sound_api/blob/master/init.lua#L16-L33 but for tools and groups |
02:02 |
|
specing_ joined #minetest |
02:13 |
fluxionary |
Jonathon: overriding the groups after all the mods are loaded means i don't need to override register_tool |
02:14 |
fluxionary |
i wasn't sure that'd work, but it does, and it's relatively simple |
02:14 |
MTDiscord |
<Jonathon> no, it wont |
02:15 |
MTDiscord |
<Jonathon> some other mod can load after yours with that callback and register something in it |
02:15 |
MTDiscord |
<Jonathon> hence why you need to override it to cover those usecases unless you love edgecases breaking your stuff |
02:15 |
fluxionary |
yeah but that's terrible for anything that isn't an integration mod |
02:15 |
MTDiscord |
<Jonathon> still need to override it |
02:16 |
fluxionary |
if something is removing groups after mods have loaded, it's on a swift path to a hard fork |
02:16 |
MTDiscord |
<Jonathon> im not saying removing, im saying register. but thats an option as well |
02:17 |
fluxionary |
nothing should be registering anything new after mods are loaded |
02:17 |
fluxionary |
does that even work? it doesn't for nodes |
02:17 |
MTDiscord |
<Jonathon> that is inccorect |
02:17 |
MTDiscord |
<Jonathon> it does for nodes |
02:18 |
MTDiscord |
<Jonathon> you can even register nodes in minetest.after(0), but stuff like mapgen silently falls, past that you can register, but you have to reload the client to get textures |
02:18 |
fluxionary |
O_O |
02:18 |
MTDiscord |
<Jonathon> and before you say it, you need to use the : override in the node name to get around mod name check |
02:19 |
MTDiscord |
<Jonathon> . s/falls/fails |
02:20 |
fluxionary |
these are dark patterns. i personally choose to consider the fact that they work a bug and not a feature. |
02:20 |
MTDiscord |
<Jonathon> so tldr is assume you are inserting in the middle always, you need to override existing, and wrap the registration with your own code, else you end up with nightmare edgecases |
02:20 |
MTDiscord |
<Jonathon> no, its just mod load order |
02:20 |
MTDiscord |
<Jonathon> the minetest.after(0) is a dark pattern |
02:20 |
fluxionary |
but that's why we have "after_mods_loaded" |
02:21 |
fluxionary |
a place where nothing new can be created, but you can still override certain things, before the game is fully loaded |
02:21 |
MTDiscord |
<Jonathon> except that statement is false |
02:21 |
fluxionary |
(though you point out my assumptions are wrong) |
02:22 |
fluxionary |
i swear i actually tested trying to add a new node at run time once, but i suppose i didn't |
02:22 |
MTDiscord |
<Jonathon> again, you may have forgetten to use : and given up |
02:22 |
MTDiscord |
<Jonathon> as in :modname:nodename |
03:35 |
|
YuGiOhJCJ joined #minetest |
04:00 |
|
MTDiscord joined #minetest |
05:09 |
|
calcul0n joined #minetest |
05:35 |
|
mrkubax10 joined #minetest |
06:30 |
|
omn0mn0m joined #minetest |
06:39 |
|
debiankaios joined #minetest |
07:01 |
|
sagax joined #minetest |
07:14 |
|
lemonzest joined #minetest |
07:38 |
|
MTDiscord joined #minetest |
08:04 |
|
Trifton joined #minetest |
08:32 |
|
est31 joined #minetest |
08:34 |
|
appguru joined #minetest |
09:42 |
|
kilbith joined #minetest |
09:45 |
kilbith |
https://i.imgur.com/SApr9yU.jpg |
09:45 |
kilbith |
"The ones who criticize" / "The ones who propose" / "The ones who act" |
09:45 |
kilbith |
remind you of anything? |
09:49 |
|
olliy joined #minetest |
10:07 |
|
mrkubax10 joined #minetest |
10:12 |
|
Fixer joined #minetest |
10:17 |
MTDiscord |
<luatic> Considering that we have almost a hundred open PRs I would not say that Minetest lacks "the ones who act" Criticizing (filing bug reports) or proposing (filing feature requests) will always be easier than acting though, which is why we have around 1k issues |
10:19 |
|
Flabb joined #minetest |
10:54 |
MTDiscord |
<Crystalwarrior> I did hear the dev speed picked up recently |
10:55 |
MTDiscord |
<ROllerozxa> yeah and then 5.6.0 happened |
11:01 |
MTDiscord |
<luatic> eeh, the monthly pulse is still looking good: https://github.com/minetest/minetest/pulse/monthly |
11:08 |
|
Taoki joined #minetest |
11:20 |
|
YuGiOhJCJ joined #minetest |
11:27 |
MTDiscord |
<Crystalwarrior> Nice! |
12:19 |
|
proller joined #minetest |
12:20 |
|
definitelya joined #minetest |
12:45 |
|
appguru joined #minetest |
13:03 |
|
MTDiscord joined #minetest |
13:20 |
|
jaca122 joined #minetest |
13:39 |
|
definitelya joined #minetest |
13:53 |
kilbith |
Camera API: Client-Side Interpolation -> https://www.youtube.com/watch?v=lZWzF46DH5Y&t=4s |
13:54 |
kilbith |
Camera API: Client-Side Interpolation -> https://www.youtube.com/watch?v=lZWzF46DH5Y&t=4s |
13:54 |
kilbith |
test |
13:55 |
kilbith |
the script: https://gist.github.com/kilbith/09948e2629d058f1ba0e0f2a98d22766 |
13:58 |
kilbith |
ah shit wrong channel |
13:58 |
|
kilbith left #minetest |
14:02 |
|
specing_ joined #minetest |
14:16 |
MTDiscord |
<diceLibrarian> A friendless reminder that Foppies are pink and Fobbies are Borange. |
14:16 |
|
mrkubax10 joined #minetest |
14:19 |
|
Alnotz0 joined #minetest |
14:20 |
|
proller joined #minetest |
14:25 |
|
Noisytoot joined #minetest |
15:21 |
|
orwell96 joined #minetest |
15:28 |
|
debiankaios joined #minetest |
15:36 |
|
specing_ joined #minetest |
15:45 |
|
Desour joined #minetest |
16:29 |
|
mrkubax10 joined #minetest |
16:51 |
|
Flabb joined #minetest |
17:29 |
|
Talkless joined #minetest |
17:56 |
|
garywhite joined #minetest |
17:56 |
|
garywhite joined #minetest |
18:35 |
|
sparky4 joined #minetest |
18:41 |
|
Verticen joined #minetest |
18:59 |
|
jaca122 joined #minetest |
19:10 |
|
sys4 joined #minetest |
19:11 |
|
detrout joined #minetest |
19:22 |
|
flewkey[m] joined #minetest |
19:22 |
|
flewkey[m] left #minetest |
19:27 |
|
appguru joined #minetest |
19:34 |
|
FreeFull joined #minetest |
19:55 |
|
garywhite joined #minetest |
19:55 |
|
Desour joined #minetest |
19:55 |
|
definitelya joined #minetest |
19:55 |
|
MTDiscord joined #minetest |
19:55 |
|
Taoki joined #minetest |
19:55 |
|
izzyb joined #minetest |
19:55 |
|
diceLibrarian joined #minetest |
19:55 |
|
Alnotz joined #minetest |
19:55 |
|
Soni joined #minetest |
19:55 |
|
Cork joined #minetest |
19:55 |
|
reductum joined #minetest |
19:55 |
|
Sokomine joined #minetest |
19:55 |
|
ecraven joined #minetest |
19:55 |
|
mazes_85 joined #minetest |
19:55 |
|
wolfshappen joined #minetest |
19:55 |
|
Rafi59 joined #minetest |
19:55 |
|
Evergreen joined #minetest |
19:55 |
|
Fulgen- joined #minetest |
19:55 |
|
peterz joined #minetest |
19:55 |
|
JerryXiao joined #minetest |
19:55 |
|
dok joined #minetest |
19:55 |
|
mazes_80 joined #minetest |
19:55 |
|
meskarune joined #minetest |
19:55 |
|
Calinou joined #minetest |
19:55 |
|
figboot joined #minetest |
19:55 |
|
ShadowBot joined #minetest |
19:55 |
|
Izaya joined #minetest |
19:55 |
|
amfl joined #minetest |
19:55 |
|
search_social joined #minetest |
19:55 |
|
dzho joined #minetest |
19:55 |
|
Fusl joined #minetest |
19:55 |
|
sofar joined #minetest |
19:55 |
|
Emerald2_ joined #minetest |
19:55 |
|
freshreplicant[m joined #minetest |
19:55 |
|
MisterE[m] joined #minetest |
19:55 |
|
programmerjake joined #minetest |
19:55 |
|
Parnikkapore_m joined #minetest |
19:55 |
|
mugli[m] joined #minetest |
19:55 |
|
Noclip[m] joined #minetest |
19:55 |
|
Kimapr joined #minetest |
19:55 |
|
lebruhgamer[m] joined #minetest |
19:55 |
|
Thomas-S joined #minetest |
19:55 |
|
paradust joined #minetest |
19:55 |
|
captainepoch joined #minetest |
19:55 |
|
book` joined #minetest |
19:55 |
|
Goobax[m]1 joined #minetest |
19:55 |
|
staceee joined #minetest |
19:55 |
|
greeter joined #minetest |
19:55 |
|
Pokey joined #minetest |
19:55 |
|
Megaf joined #minetest |
19:55 |
|
mmuller_ joined #minetest |
19:55 |
|
cheapie joined #minetest |
19:55 |
|
bwarden joined #minetest |
19:55 |
|
johnnyhostile joined #minetest |
19:55 |
|
Ingar joined #minetest |
19:55 |
|
ShadowNinja joined #minetest |
19:55 |
|
Oksanaa joined #minetest |
19:55 |
|
Jovan joined #minetest |
19:55 |
|
stevet joined #minetest |
19:56 |
|
kamdard_ joined #minetest |
19:58 |
|
justache joined #minetest |
19:58 |
|
Noisytoot joined #minetest |
19:58 |
mrkubax10 |
netsplit... |
20:17 |
|
nac[m] joined #minetest |
20:20 |
|
prairiewind[m] joined #minetest |
20:20 |
|
Ofnirarc[m] joined #minetest |
20:20 |
|
wsor40351 joined #minetest |
20:21 |
|
regaliso[m] joined #minetest |
20:25 |
|
settl3r[m] joined #minetest |
20:46 |
|
Pope_Rigby joined #minetest |
20:49 |
|
Arya[verncc][m] joined #minetest |
20:50 |
|
harmathy joined #minetest |
20:54 |
|
varadwillsome[m] joined #minetest |
20:54 |
|
_Zaizen_[m] joined #minetest |
21:11 |
|
Noclip[m] joined #minetest |
21:24 |
|
schwarzwald[m] joined #minetest |
21:24 |
|
Verticen joined #minetest |
21:24 |
|
k327[m] joined #minetest |
21:50 |
|
Tochigi joined #minetest |
21:57 |
|
hedae[m] joined #minetest |
21:59 |
|
pumpkkin[m]1 joined #minetest |
22:03 |
|
mikwee[m]1 joined #minetest |
22:05 |
|
organizedglobals joined #minetest |
22:05 |
|
arielaw[m] joined #minetest |
22:07 |
|
MrDraxs[m] joined #minetest |
22:10 |
|
Lamdarer[m] joined #minetest |
22:13 |
|
proller joined #minetest |
22:15 |
|
kaonashi696[m] joined #minetest |
22:16 |
|
clodimus[m] joined #minetest |
22:18 |
|
MisterE[m] joined #minetest |
22:18 |
|
Parnikkapore_m joined #minetest |
22:20 |
|
Goobax[m]1 joined #minetest |
22:20 |
|
lebruhgamer[m] joined #minetest |
22:20 |
|
programmerjake joined #minetest |
22:26 |
|
freshreplicant[m joined #minetest |
22:29 |
|
mugli[m] joined #minetest |
22:30 |
|
Kimapr joined #minetest |
22:32 |
|
panwolfram joined #minetest |
22:39 |
|
Lesha_Vel joined #minetest |
22:44 |
|
Jovan joined #minetest |
22:47 |
|
FreeFull joined #minetest |