Time |
Nick |
Message |
00:44 |
|
ANAND joined #minetest-hub |
00:45 |
|
MinetestSam joined #minetest-hub |
00:46 |
|
rubenwardy joined #minetest-hub |
00:51 |
BillyS |
I'm trying to figure out how to write a mod that does map generation (specifically cave networks). Any documentation on this? |
00:53 |
BillyS |
I understand most of it, except the ordeal with perlin noise |
00:55 |
BillyS |
Hmm, the octaves seem to define how detailed the noise gets |
00:55 |
BillyS |
scale is self-explanatory |
00:56 |
BillyS |
Ah, and persist is how much influence each successive octave has ... I think |
00:57 |
BillyS |
And I guess spread just kinda spreads it out ... |
00:58 |
BillyS |
Hmm, I suppose I just need to mess with it |
01:31 |
rubenwardy |
https://i.rubenwardy.com/BpJZQ.png |
01:49 |
|
longerstaff13-m joined #minetest-hub |
02:27 |
|
behalebabo joined #minetest-hub |
02:29 |
|
garywhite joined #minetest-hub |
03:15 |
|
Miner_48er joined #minetest-hub |
03:34 |
|
NathanS21 joined #minetest-hub |
03:57 |
|
garywhite joined #minetest-hub |
05:28 |
|
jas__ joined #minetest-hub |
05:28 |
jas__ |
it happens when i user set_player_armor too soon, before the player has fully joined for example. |
05:47 |
|
GreenDimond joined #minetest-hub |
06:13 |
|
lumberJ joined #minetest-hub |
06:56 |
|
GreenDimond_ joined #minetest-hub |
07:17 |
|
GreenDimond joined #minetest-hub |
07:30 |
|
FrostRanger joined #minetest-hub |
08:00 |
|
longerstaff13-m joined #minetest-hub |
09:15 |
|
T^4im joined #minetest-hub |
09:17 |
|
ShadowBot` joined #minetest-hub |
09:17 |
|
epod joined #minetest-hub |
09:20 |
|
_0_ joined #minetest-hub |
09:23 |
|
greeter joined #minetest-hub |
09:32 |
|
FrostRanger joined #minetest-hub |
09:34 |
|
longerstaff13-m joined #minetest-hub |
09:36 |
|
longerstaff13-m joined #minetest-hub |
10:35 |
|
red-001 joined #minetest-hub |
10:44 |
|
jluc joined #minetest-hub |
11:59 |
jas__ |
i dedicated my sneak_jump mod to shara. i haven't done an on/off toggle, yet, but am still thinking about it. i know you don't like it, but i appreciate the feedback again. |
11:59 |
jas__ |
https://forum.minetest.net/viewtopic.php?p=336061#p336061 |
12:00 |
Shara |
Hi jas :) |
12:00 |
jas__ |
hi :) |
12:01 |
Shara |
Might not like playing with it as such, but I do like to see alternatives and so on :) |
12:08 |
jas__ |
oh good |
12:09 |
jas__ |
it started an an always-on mod just to re-enable the old movement, but it actually does the food and shows armor :O |
12:09 |
jas__ |
should probably split out the hud stuff if i can lol. oh well |
12:12 |
jas__ |
i have a hunch that the less gravity a player (object) has, the faster is decelerates |
12:48 |
|
jluc joined #minetest-hub |
12:49 |
|
calcul0n joined #minetest-hub |
13:32 |
|
Fuchs joined #minetest-hub |
13:44 |
|
calcul0n joined #minetest-hub |
13:46 |
|
aerozoic joined #minetest-hub |
14:18 |
|
Gael-de-Sailly joined #minetest-hub |
14:26 |
|
jas_ joined #minetest-hub |
14:28 |
|
DI3HARD139 joined #minetest-hub |
15:36 |
|
Fixer joined #minetest-hub |
15:42 |
|
Fixer joined #minetest-hub |
16:13 |
|
MinetestSam joined #minetest-hub |
16:49 |
|
garywhite joined #minetest-hub |
17:07 |
ANAND |
Does minetest.check_player_privs(name, {interact = false}) return true only if the player `name` does not have `interact`? |
17:08 |
jas_ |
i think so yea |
17:08 |
jas_ |
er, i think u do = true tho |
17:08 |
jas_ |
or just check_player_privs(name, "interact") |
17:09 |
ANAND |
That will return true if the player *has* `interact` |
17:09 |
|
Fixer_ joined #minetest-hub |
17:09 |
jas_ |
oh |
17:09 |
ANAND |
I want to ensure that the player *does not* have `interact` :) |
17:10 |
jas_ |
check_player_privs(name, "interact") isn't `false' if interact=false? sorry, so confused... plus double negatives ha |
17:10 |
jas_ |
(/me quietly steps away from the keyboard) |
17:11 |
rubenwardy |
ANAND: it'll always return true |
17:11 |
ANAND |
Oh |
17:11 |
rubenwardy |
minetest.check_player_privs(name, {interact = false}) is the same as minetest.check_player_privs(name, {}) |
17:11 |
rubenwardy |
you want not minetest.check_player_privs(name, {interact = true}) |
17:12 |
ANAND |
Right... thanks |
17:12 |
rubenwardy |
chat commands and privileges are 100% implemented in Lua, btw |
17:12 |
rubenwardy |
https://github.com/minetest/minetest/blob/master/builtin/game/misc.lua#L7 |
17:12 |
rubenwardy |
well wait |
17:12 |
rubenwardy |
hmm |
17:12 |
ANAND |
I was planning on using one check_player_privs for evaluating whether one priv is true and the other priv is false... |
17:12 |
rubenwardy |
the engine does know about privileges actually, but it asks Lua for them |
17:35 |
|
Gael-de-Sailly joined #minetest-hub |
18:01 |
|
Krock joined #minetest-hub |
18:01 |
Krock |
hi tenplus1 who isn't here |
18:11 |
|
Jordach joined #minetest-hub |
18:15 |
|
benrob0329 joined #minetest-hub |
18:15 |
|
_Xenon joined #minetest-hub |
19:04 |
|
GreenDimond joined #minetest-hub |
19:15 |
|
jluc joined #minetest-hub |
19:38 |
|
ANAND joined #minetest-hub |
19:57 |
|
ssieb joined #minetest-hub |
20:30 |
|
garywhite joined #minetest-hub |
21:21 |
|
sys4 joined #minetest-hub |
22:06 |
|
Jordach joined #minetest-hub |
22:12 |
|
garywhite joined #minetest-hub |
22:53 |
|
paramat joined #minetest-hub |