31 May 2023 |
Neo | In reply to @appguru:matrix.org what do you need the register_on_mods_loaded for? idk just copied code | 18:19:07 |
Lars | pretty sure that could safely be omitted, just like the permatime.override variable | 18:19:09 |
Neo | so one liner is enough / | 18:19:23 |
Neo | * so one liner is enough ? | 18:19:25 |
Lars | more like a threeliner but yes | 18:19:33 |
Neo | ok | 18:19:37 |
Amanda (ROllerozxa) | please don't cargo cult from my permatime mod... I'm pretty sure you could implement something like this way simpler than this... 😓 | 18:20:32 |
Neo | lol | 18:20:43 |
Amanda (ROllerozxa) | * please don't cargo cult from my permatime mod... I'm pretty sure you could implement something like this way simpler than that... 😓 | 18:21:32 |
Lars | local function update_time() local time = os.date"*t"; minetest.set_timeofday((time.hour + (time.min + time.sec/60) / 60) / 24)
minetest.after(1, update_time) end
update_time() -- assuming set_timeofday can be called at load time
(forced into 3 lines because yes)
| 18:23:08 |
Neo | thx | 18:23:32 |
Neo | works. very thx | 18:24:22 |
Lars | np | 18:24:43 |
Neo | 🙂 | 18:24:56 |
Neo |  Download image.png | 18:24:57 |
Amanda (ROllerozxa) | also wtf hacknorris do you still run everything from root? | 18:27:36 |
Neo | e[ | 18:27:43 |
Neo | * yep | 18:27:47 |
Neo | and werks | 18:27:53 |
| Thil Riposta set a profile picture. | 22:31:01 |
| Thil Riposta changed their profile picture. | 22:31:39 |
| Thil Riposta changed their profile picture. | 22:44:15 |
1 Jun 2023 |
| VnPower set a profile picture. | 02:24:40 |
Blockhead256 | apparently all you have to do to get your mod made now is annoy a programmer until they do it for you :\ | 02:36:12 |
Blockhead256 | iterative application of cunningham's law | 02:36:59 |
| kribreken joined the room. | 07:16:08 |
Zughy | In reply to @blockhead256:tchncs.de apparently all you have to do to get your mod made now is annoy a programmer until they do it for you :\ Which it's also a great approach to learn nothing | 08:39:53 |
Zughy | * Which is also a great approach to learn nothing | 08:40:07 |
noctabrat | Real Sigmas don't make their games
They force other people to make them because they can't lose time with beta stuff like gaming | 08:42:07 |
duc | https://youtu.be/gDjMZvYWUdo | 08:44:48 |