143 Commits

Author SHA1 Message Date
Ekdohibs
ecfcebe18e Doors to enter boxes 2017-02-02 15:16:03 +01:00
Ekdohibs
69b77a749b Boxes: compute number of items needed. 2017-02-02 14:06:35 +01:00
Auke Kok
077fd084f1 Nodebox light fix. 2017-02-02 00:00:33 -08:00
Auke Kok
f55397968f Large version for the main lobby. 2017-02-01 17:28:26 -08:00
Ekdohibs
cafaddcb30 Add working series 2017-02-01 22:40:44 +01:00
Ekdohibs
177eb19b38 Add box series (can't be created yet) 2017-02-01 21:06:20 +01:00
Auke Kok
e2b531fa9d Finish nexus block and pedestal.
The full receiver node is now gone. The pedestal itself
is a connecting nodebox and adds 4 little "holders" if the
nexus block is above. Right-click accepting code is now
really simple. We should probably handle punch/left click
of the node on the pedestal as well to make it simple for
all users.
2017-02-01 11:17:30 -08:00
Auke Kok
abbae20f83 Selection/collision boxes, and param2 option.
As well as some hints for placement code later.
2017-02-01 11:17:30 -08:00
Ekdohibs
842ebcc987 Disable expo demo so we don't ruin part of the server by being careless 2017-02-01 00:14:21 +01:00
Auke Kok
0d14179db0 Prep this for the mesh node parts. 2017-01-31 14:44:31 -08:00
Ekdohibs
16bdd8a9c1 Add proof-of-concept /expo command.
The goal of box expositions is to show the content of boxes to players,
to incite them to try these boxes. There will be a few boxes that are
exposed quite close to the main lobby to that end.
2017-01-31 17:29:11 +01:00
Ekdohibs
dad9f7b95a Add code to handle collected items by the player. All nodes and textures are still placeholders. 2017-01-30 13:07:29 +01:00
Ekdohibs
3072fce05f Add particles to teleports 2017-01-30 11:00:38 +01:00
Ekdohibs
f0c019bbe9 Clear entities on box cleanup 2017-01-30 10:37:16 +01:00
Ekdohibs
828808c6eb Teleports should no longer belong in group node; update exit box. 2017-01-30 08:20:50 +01:00
Auke Kok
42ce7d1bbc Portals: diamond block look (for now).
Since I made pressure plates out of iron block textures, this
would be somewhat consistent look-and-feel for now. Maybe I'll
add some particles later to make them stand out.
2017-01-29 16:26:15 -08:00
Ekdohibs
2debc3510e Add teleports to enter boxes from the main lobby as well 2017-01-29 14:37:50 +01:00
Ekdohibs
2d4bb9dd71 Add exit teleport that returns player to lobby 2017-01-29 14:09:26 +01:00
Ekdohibs
df41994ba7 At barrier at the top of new boxes 2017-01-29 12:10:52 +01:00
Ekdohibs
eba1c6550a Add possibility to import or export boxes to file; update builtin boxes to use new format. 2017-01-29 11:56:21 +01:00
Ekdohibs
8a691628bf Revert part of "Add teleport to exit lobby". 2017-01-28 23:32:17 +01:00
Ekdohibs
d9354a25b7 Add teleport to exit lobby. 2017-01-28 22:50:19 +01:00
Ekdohibs
5942d407e4 A few changes in boxes 2017-01-28 21:41:50 +01: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
Ekdohibs
d630a1392f Remove some dead code 2017-01-27 09:08:52 +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
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
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
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