Time |
Nick |
Message |
12:33 |
|
Jordach joined #minetest-mods |
12:33 |
Jordach |
sup |
12:34 |
VanessaE |
hey |
12:34 |
Jordach |
decided to use a REAL client now |
12:34 |
Jordach |
adiIRC |
12:55 |
|
PilzAdam joined #minetest-mods |
13:40 |
Jordach |
hello PilzAdam |
13:40 |
PilzAdam |
hi |
13:40 |
Jordach |
im trying to come up with a real quick lua interface with lua |
13:40 |
Jordach |
and functions are handy |
13:51 |
Jordach |
VanessaE, i am going to work on a simple mod that allows quick and simple mods to be made |
13:51 |
Jordach |
s/simple mod/difficult mod/ |
13:52 |
VanessaE |
cool |
13:58 |
Jordach |
for now it will be fences, signs, chests, basic nodes (like sand) and basic drawtypes |
13:58 |
Jordach |
then i might start with a little more complicated |
14:02 |
Jordach |
https://github.com/Jordach/Simplistic_Minetest_Modding located here |
14:02 |
Jordach |
i lgpl'ed it |
14:21 |
Jordach |
rubenwardy updated my post a little |
14:21 |
Jordach |
http://minetest.net/forum/viewtopic.php?id=2861 |
14:45 |
Jordach |
VanessaE; can you quickly check this? https://github.com/Jordach/Simplistic_Minetest_Modding/blob/master/init.lua |
14:46 |
Jordach |
and no, ive comma'd correctly ;) |
14:49 |
VanessaE |
your sounds line needs brackets around it |
14:49 |
VanessaE |
you need to load the concatenated string as a variable name |
14:50 |
VanessaE |
I don't remember how it's done, something like ["default.node_sound_"..sound.."_defaults()"] |
14:54 |
Jordach |
http://stackoverflow.com/questions/1405583/concatenation-of-strings-in-lua |
14:54 |
Jordach |
filename = filename .. ".tmp" |
14:55 |
Jordach |
which should work |
14:55 |
VanessaE |
these aren't strings |
14:55 |
VanessaE |
per se |
14:55 |
VanessaE |
you're concatenating variables too |
14:56 |
Jordach |
damn it |
14:56 |
VanessaE |
so at the very least, do the above without the brackets |
14:56 |
VanessaE |
"default.node_sound_"..sound.."_defaults()" |
14:56 |
Jordach |
they went grey |
14:56 |
Jordach |
(n++) |
14:57 |
Jordach |
ill push it to git |
14:57 |
Jordach |
(faster) |
14:57 |
VanessaE |
have you seen my latest nodebox abuses? :-) |
14:58 |
Jordach |
nope |
14:58 |
VanessaE |
https://github.com/VanessaE/pipeworks |
14:58 |
VanessaE |
download and play around for a bit :-) |
14:59 |
Jordach |
im trying to make mods quickly and efficiently |
14:59 |
Jordach |
without copy and pasting |
14:59 |
Jordach |
think of it as http://scratch.mit.edu/ for minetest |
15:01 |
Jordach |
"this is the same for variables I think" |
15:04 |
Jordach |
yes it shoukld |
15:05 |
* Jordach |
sneezes |
15:05 |
Jordach |
i think its thundering |
15:06 |
Jordach |
PilzAdam, could you take a look at this: https://github.com/Jordach/Simplistic_Minetest_Modding/blob/master/init.lua |
15:07 |
* PilzAdam |
looks |
15:07 |
Jordach |
thanks |
15:07 |
PilzAdam |
minetest.register_node(MASTER_MODNAME..":"..nodename, { |
15:08 |
PilzAdam |
function un_natural_node(groups, texture, description, nodename, drawtype, sound) |
15:09 |
PilzAdam |
these two lines had errors (1st: the ".." have to be outside the " 2nd: there was a . instead of ,) |
15:10 |
PilzAdam |
is_ground_content has no effect |
15:10 |
Jordach |
its there because its for something |
15:10 |
PilzAdam |
https://github.com/celeron55/minetest/blob/master/doc/lua_api.txt#L1325 |
15:11 |
Jordach |
ill leave it nthere |
15:11 |
PilzAdam |
thats all (i think) |
15:12 |
Jordach |
re-pushing |
15:14 |
PilzAdam |
minetest.register_node(MASTER_MODNAME..":"..nodename, { |
15:15 |
PilzAdam |
only the : have to be in " |
15:15 |
Jordach |
minetest.register_node("MASTER_MODNAME"..:.."nodename", { is this legit? |
15:16 |
PilzAdam |
you put the names of the variables in "" ; thats wrong |
15:16 |
PilzAdam |
the : have to be in "" |
15:17 |
Jordach |
right |
15:17 |
Jordach |
repushing |
15:19 |
VanessaE |
minetest.register_node(MASTER_MODNAME..":"..nodename, { |
15:19 |
VanessaE |
that's what you shoulda used |
15:20 |
* Jordach |
slaps VanessaE with Windows Update |
15:20 |
* VanessaE |
falls over, dead |
15:20 |
PilzAdam |
yay |
15:20 |
* Jordach |
makes PilzAdam unstable with a 2.5 kernel |
15:21 |
PilzAdam |
:-( |
15:21 |
* Jordach |
runs loggingbot trough Autoconf version 2.13 |
15:22 |
Jordach |
might disconnect my hard wired tower (this pc) |
15:22 |
Jordach |
i dont want to blow it up from the thunder |
15:26 |
Jordach |
my repos cleaned |
15:29 |
Jordach |
PilzAdam; for some reason, n++ does this: http://i.imgur.com/OD9RN.png |
15:30 |
PilzAdam |
put an "end" after the )} |
15:30 |
PilzAdam |
(i dont know if you realy need it) |
15:30 |
Jordach |
thanks |
15:50 |
Jordach |
more stuff incoming |
16:00 |
Jordach |
VanessaE; what the fu-0- is happening with redcrab 0.4 |
16:01 |
VanessaE |
mapgen is bugging out all over the place |
16:01 |
VanessaE |
combine that with a griefer named "noize" apparently |
16:01 |
Jordach |
lemme se |
16:01 |
VanessaE |
it's dying :( |
16:05 |
Jordach |
really is going weird |
16:05 |
VanessaE |
yeah |
16:44 |
|
NakedFury joined #minetest-mods |
18:33 |
Jordach |
'nessae hows redcrab |
18:34 |
VanessaE |
I haven't been back on since earlier |
18:34 |
VanessaE |
but it was....disintegrating. |
18:34 |
Jordach |
its now empty |
18:34 |
Jordach |
dead |
18:40 |
Jordach |
VanessaE; can you help me bug hunt in my simplistic modding API? |
18:41 |
Jordach |
eg; make test mods |
18:41 |
VanessaE |
possibly :-) |
18:42 |
Jordach |
i might re-write thanks |
18:42 |
Jordach |
i might re-do wol |
18:42 |
VanessaE |
meh, wool is old hat. do something unique |
18:42 |
Jordach |
et hum |
18:42 |
Jordach |
everyone uses it |
18:43 |
VanessaE |
exactly - it's already done enough :-) |
18:43 |
* Jordach |
hands VanessaE a microsoft book |
18:44 |
Jordach |
heck, im running windows; but using foss stuff - im a box of contradictions |
18:44 |
VanessaE |
heh |
18:58 |
Jordach |
tell me; i cant even get decent speed for games on linux, 200fps in windows xp\ |
18:59 |
Jordach |
VanessaE; then i might work on some more decorative nodes |
18:59 |
Jordach |
like regal carpets |
19:00 |
VanessaE |
that would work |
19:00 |
VanessaE |
then I can drop the crappy ones from homedecor :D |
19:24 |
Jordach |
VanessaE, ill use my modding api |
19:24 |
Jordach |
im off to the pub |
19:25 |
Jordach |
see ya |
21:52 |
|
PilzAdam joined #minetest-mods |