941 Commits

Author SHA1 Message Date
Auke Kok
3eff367968 Light nodes, and a barrier.
4 different basic lights: off, and 3 intensities.
one broken light that will flicker (nodetimer based)
2017-01-27 23:57:38 -08:00
Ekdohibs
cf168c7ab1 Save edited boxes at restart. Make the shutdown of the db a function that is called at the end of the boxes shutdown procedure. 2017-01-27 15:41:02 +01:00
Ekdohibs
5fce0f413c Close boxes at server shutdown as well 2017-01-27 15:21:22 +01:00
Ekdohibs
faf6e47649 Add command to exit existing box 2017-01-27 14:22:08 +01:00
Ekdohibs
e134f3b1d9 Split boxes/init.lua into several files as it is getting quite big. 2017-01-27 13:52:53 +01:00
Ekdohibs
ca9cac3b85 Return players to lobby after leave; add /open chat command. 2017-01-27 13:27:58 +01:00
Ekdohibs
15f90f7e3d Add editing of new boxes. 2017-01-27 11:35:12 +01:00
Ekdohibs
f6594383b5 Put entry & exit lobbies in db, entry box id is hardcoded as 0 and exit as 1 for now. 2017-01-27 10:20:58 +01:00
Auke Kok
424d8172e5 Add some basic textures and more of the tools. 2017-01-27 00:26:28 -08:00
Ekdohibs
ecc9968348 Avoid "loop is executed at most once" warning 2017-01-27 09:25:05 +01:00
Ekdohibs
d630a1392f Remove some dead code 2017-01-27 09:08:52 +01:00
Ekdohibs
ce3b2ac17b Don't fall at spawn 2017-01-27 07:54:40 +01:00
Ekdohibs
0af2fd438a Remove nolight mapgen 2017-01-27 07:36:15 +01:00
Ekdohibs
f7e1ddb425 Fix init 2017-01-27 07:34:07 +01:00
Auke Kok
cde99f4f00 One more nil guard. 2017-01-26 17:04:52 -08:00
Ekdohibs
cd16ec77c3 Rename a few functions and change open_box signature 2017-01-26 23:05:23 +01:00
Ekdohibs
9eaabbf5ae db: fix potential SQL injection 2017-01-26 22:29:29 +01:00
Ekdohibs
19dd37b7ab Delete old code which is no longer needed. 2017-01-26 22:19:56 +01:00
Ekdohibs
5c68ab7b50 More doc for /update_lobby 2017-01-26 22:11:47 +01:00
Ekdohibs
503db23766 Add chatcommand to update lobbies, slightly better lobbies. 2017-01-26 21:28:58 +01:00
Ekdohibs
d5585d20b8 Add load/save box to db, cleanup a bit boxes and add chatcommands 2017-01-26 20:47:09 +01:00
Auke Kok
d131e74b56 Add stair model. 2017-01-26 11:02:30 -08:00
Auke Kok
0d5097ff09 Remove print() statement. 2017-01-26 11:00:18 -08:00
Auke Kok
840f6cddb1 Add luacheck. 2017-01-26 10:58:01 -08:00
Ekdohibs
ac137e1484 Add comments in db about SQL injection needing to be fixed 2017-01-26 19:17:28 +01:00
Ekdohibs
de06958900 Fix the previous commit 2017-01-26 18:57:38 +01:00
Ekdohibs
1a4b209fde Box creation & entry demo, quite hacky for now 2017-01-26 18:54:21 +01:00
Ekdohibs
bc24c621d7 Add admin tool 2017-01-26 17:05:14 +01:00
Ekdohibs
dd7e4b62ad Add boxes.cleanup to delete a whole area, and boxes.extent to know the size of a box. 2017-01-26 16:40:00 +01:00
Ekdohibs
c4c203384c Tabs -> spaces
Add box allocation
2017-01-26 16:12:57 +01:00
Ekdohibs
396886ad28 Add load and save boxes functions. 2017-01-26 15:03:57 +01:00
Ekdohibs
3c0bda80be Make db compatible with mod security 2017-01-26 09:58:37 +01:00
Auke Kok
d66d28e669 We don't ever need crafting stuff. 2017-01-26 00:52:10 -08:00
Auke Kok
d036b2e72b Some minor notes about more nodes that are needed. 2017-01-26 00:50:14 -08:00
Auke Kok
9f63f854f0 Stone bricks texture. 2017-01-26 00:48:27 -08:00
Auke Kok
4658e6f321 Stairs and slabs. 2017-01-26 00:41:39 -08:00
Auke Kok
0217039722 These are not needed. 2017-01-26 00:41:28 -08:00
Auke Kok
0dfda79c59 Fix inventory stuff 2017-01-26 00:20:03 -08:00
Auke Kok
1bcb66cf17 Wieldhand (mtg) and gui textures, as well as some basic player code. 2017-01-25 23:50:41 -08:00
Auke Kok
5cf83a2a81 Add sfinv and creative, giving us a usable inventory. 2017-01-25 23:47:19 -08:00
Auke Kok
475ce277fd Initial checkin. 2017-01-25 23:06:00 -08:00