| Time |
Nick |
Message |
| 10:41 |
|
PilzAdam joined #minetest-mods |
| 10:45 |
|
berome joined #minetest-mods |
| 13:58 |
|
berome joined #minetest-mods |
| 16:06 |
|
Jordach joined #minetest-mods |
| 16:06 |
|
Jordach joined #minetest-mods |
| 16:27 |
|
Traxie21 joined #minetest-mods |
| 16:27 |
Traxie21 |
Quick question |
| 16:28 |
Traxie21 |
Are all default lua functions written in the C++ engine? |
| 16:28 |
Traxie21 |
Or is it possible to copy/modify a default function |
| 16:28 |
Traxie21 |
with lua |
| 16:28 |
PilzAdam |
depends on the functions |
| 16:28 |
PilzAdam |
some are defined in builtin/ (Lua), others are defined in scriptapi.cpp |
| 16:29 |
Traxie21 |
ok. |
| 16:29 |
Traxie21 |
Let me go check |
| 16:31 |
Traxie21 |
minetest.setting.set |
| 16:32 |
Traxie21 |
It would be nice to right configuration values to files other than minetest.conf |
| 16:32 |
Traxie21 |
*write |
| 16:32 |
PilzAdam |
the API doesnt have functions for that, but you can use the io functions of Lua |
| 16:33 |
Traxie21 |
Right |
| 16:33 |
Traxie21 |
Have you ever administered a Bukkit server? |
| 16:34 |
PilzAdam |
no |
| 16:34 |
Traxie21 |
I want to do something like the YAML files that can be edited both by hand and by commands |
| 16:34 |
Traxie21 |
the problem with what I know about file.io is that it's hard to read in english |
| 16:34 |
Traxie21 |
I obviously don't know much |
| 16:34 |
PilzAdam |
ummm |
| 16:35 |
PilzAdam |
you can write everything into files |
| 16:35 |
PilzAdam |
you can make it readable |
| 16:38 |
Traxie21 |
Alright. It's time for me to be a big girl and not ask for code, gonna go look it up |
| 16:44 |
Traxie21 |
Ahh |
| 16:44 |
Traxie21 |
Feels great to have minetest start without errors when I wrote a piece of code without copying it :3 |
| 16:50 |
Traxie21 |
PilzAdam: Thanks a heap for all your help, I know I have trouble understanding instructions, your patience means a lot ot me. Sorry if I seem like pest, I talk too much. |
| 17:09 |
|
rubenwardy joined #minetest-mods |
| 17:16 |
|
rubenwardy left #minetest-mods |
| 17:28 |
|
rubenwardy joined #minetest-mods |
| 17:35 |
|
berome joined #minetest-mods |
| 18:04 |
|
Octupus joined #minetest-mods |
| 18:49 |
|
Jordach joined #minetest-mods |
| 18:49 |
|
Jordach joined #minetest-mods |
| 20:14 |
Traxie21 |
quick question |
| 20:15 |
Traxie21 |
how does one find the current modpath if the file they are using is not init.lua? |
| 20:15 |
Jordach |
minetest.get_modpath |
| 20:15 |
Traxie21 |
returns nil |
| 20:16 |
Traxie21 |
im running it inside here though: /mods/minetest/[modname]/[folder]/lua.lua |
| 20:19 |
Traxie21 |
nvm |
| 20:46 |
|
berome joined #minetest-mods |
| 21:27 |
|
NakedFury joined #minetest-mods |