768 Commits

Author SHA1 Message Date
Auke Kok
af3f8c1b1f License additions, clarifications.
Overly cautiously list all files explicitly that need covering,
so that it's clear that textures were overwritten with Isabella-II
textures everywhere except a few rare cases (screwdriver etc).

Everything made by me is either listed as derivative of the
origin or CC-BY-SA-4.0 by me.
2018-10-27 23:22:50 -07:00
Auke Kok
a26353501a Add sound licenses for mech mod. 2018-06-21 23:24:08 -07:00
Auke Kok
80cbd6d34a Add license headers to all lua files.
Some of these are copies from the respective origins from mtg,
to make sure we have headers everywhere listing the proper code.

I've relicensed spectator_mode from WT*PL to LGPL-2.1. No other
licenses were changed.
2018-06-21 22:56:48 -07:00
Auke Kok
2670782cfb Bugfix: Don't just *save* num_items after erase.
We also need to set the current box meta in memory to 0 num_items,
because otherwise it retains the old (non-0) value, and re-saves that
value when the box is saved.
2018-06-10 14:42:34 -07:00
Auke Kok
de0485e8cc Announce new boxes in IRC. 2018-04-01 12:10:04 -07:00
Auke Kok
d38ab250b7 Add some extra logging. 2018-04-01 12:07:49 -07:00
Auke Kok
1a5801b0ea Fix a potential server crash. 2018-04-01 11:47:06 -07:00
Auke Kok
370e54acae Fix help text. 2018-03-24 22:18:26 -07:00
Ekdohibs
6c68227b22 Hopefully fix double-rightclick making items disappear 2018-03-04 18:40:20 +01:00
Auke Kok
c78f2e5a8c Guard against door removal crash? 2018-02-22 11:41:53 -08:00
Auke Kok
d910804149 Guard against possible field mishap. 2018-02-22 11:40:12 -08:00
Auke Kok
877d057cda Up the spawn position just a little bit to prevent more falls. 2018-02-17 11:46:42 -08:00
Auke Kok
22f77237bd Piston: don't allow breaking nodes with the unconnected piston. 2018-01-04 21:38:53 -08:00
Auke Kok
63e0d6e261 Don't reveal snow ledges, there's just too many. 2017-12-29 00:13:26 -08:00
Auke Kok
ce3f009b75 Fsc: fix crash in series progress dialog.
The callback was passed `{id = id}` instead of `id` directly,
leading to a concatenate crash.
2017-12-28 14:24:56 -08:00
Auke Kok
44e0ef1647 fsc: secure formspec code.
Implemented for terminal, and signs, rules, inspector and creator interface code.

Also, fix a bazillion usability bugs in here.
2017-12-27 17:46:00 -08:00
Auke Kok
43bebe3a7f Assure node meta is still present and usable.
Prevents a possible crash when a node creator trigger is
deferred while the node creator is removed.
2017-12-23 12:16:27 -08:00
Auke Kok
827ce89e27 Fix glass step/place sounds.
Just fall back to stone sounds for these.
2017-12-22 22:57:54 -08:00
Auke Kok
bcbfe20bc2 Make sure to erase signs, if creator removes them.
This works without needing to depend on `signs` here since
we call the embedded on_destruct. We leave other on_destruct
calls alone for now since we may want to retain the current
behavior where no triggers happen if you use this method of
replacing nodes in a puzzle, which is needed for several
puzzles I've made so far.
2017-12-22 22:23:10 -08:00
Auke Kok
a62dded02d Allow node creators to retain meta.
This allows creating signs with text.
2017-12-22 22:15:34 -08:00
Auke Kok
90570ee340 Light emitting blocks (cube shape).
These add 3 more 8/11/14 brightness blocks that can be switched
with mech, and a 13 brightness glow block that is always on.
2017-12-22 21:33:34 -08:00
Ekdohibs
7a57d6167f Make series_enter_choice linear complexity instead of quadratic. 2017-12-12 09:31:24 +01:00
Auke Kok
fec7f4a25b Color boxes in the random order selection formspec.
white/gray: not yet completed boxes
green: completed boxes

Display the box numbers, since the order numbers may be confusing.
2017-12-11 22:16:37 -08:00
Auke Kok
0b106b1a34 Idle kick: 3600sec.
I'm seeing some players idle forever on the server, and this just
consumes resources that cost money, so, remove them.

This also combines 2 globalstep registrations into one, and reduces
player loops from 2 to 1 as well. The added cost is an extra array
and os.time() call and some basic math.
2017-12-11 21:48:20 -08:00
Auke Kok
5943079b6a Slightly make this more pleasant to the eye.
A bit longer, wider, centered, more space in the size and
centered button with "Play" for consistency (creator ui
has this wording as well).
2017-12-10 23:13:22 -08:00
Ekdohibs
2d02f44d07 Teleports: on_teleport method, add return value saying whether player should be moved off the teleport 2017-12-07 22:46:55 +01:00
Ekdohibs
699e4e0bba Add random access series type, which shows a formspec to player to choose box to enter. 2017-12-07 22:22:03 +01:00
Ekdohibs
39bc577db7 Add irc to .luacheckrc 2017-12-07 12:02:33 +01:00
Auke Kok
6a778d8ba6 Allow placement anywhere, just adjust pos on the fly to fit.
- removed 2 prints.
- prevents making signs outside the +x side of the box.
2017-12-06 23:14:13 -08:00
Ekdohibs
99b27daa94 Make set door tool able to move digits in a box 2017-12-06 23:52:01 +01:00
Ekdohibs
1018573b44 Add "conf" and "log" to .luacheckrc 2017-12-06 23:11:01 +01:00
Ekdohibs
c73678a4fb Boxes creation: make top row barrier instead of marble. 2017-12-05 20:44:23 +01:00
Ekdohibs
86c3e6b4e7 Update TODO.md: item done by previous commit. 2017-12-05 16:00:50 +01:00
Ekdohibs
9300eec10a Empty admin inventory while playing boxes and restore it after. 2017-12-05 15:58:19 +01:00
Auke Kok
194b7ad0d2 Limit water bubbles only to surface nodes.
These will overflow the network buffer and cause dropped packets,
making levels unplayable.
2017-12-04 10:04:52 -08:00
Auke Kok
90beb0f61c Better fix escape key usage in sign formspec. 2017-12-03 11:42:56 -08:00
Auke Kok
acc057f054 Do not allow pedestals in node creators. 2017-12-02 13:55:47 -08:00
Auke Kok
1315c0b40e Don't erase sign when pressing escape. 2017-12-01 23:30:53 -08:00
Auke Kok
0ba1f81a64 Lower water particle bubble count. 2017-11-30 00:36:07 -08:00
Auke Kok
6762a0bd15 Some new ideas. 2017-11-27 23:18:41 -08:00
Auke Kok
2058d63117 Allow item frames with content to fit in a detector node. 2017-11-25 17:05:31 -08:00
Auke Kok
6c05073103 Mark a bunch of node meta private.
These are all the bulky ones that the client never needs.
2017-11-25 15:04:14 -08:00
Auke Kok
c3cfd3f8ce Add stone placement sounds. 2017-11-25 12:49:45 -08:00
Auke Kok
eabb2a40a2 Update TODO. 2017-11-25 12:28:18 -08:00
Auke Kok
7f48acf045 Fix flass breaking sounds. We had some, all along, but no license info. 2017-11-25 12:27:51 -08:00
Auke Kok
6755a45f91 Add creator rules. 2017-11-25 00:07:19 -08:00
Auke Kok
c1947cb5f9 Rules: Dynamic 'rules' file. Easier editing. API. 2017-11-24 22:59:09 -08:00
Auke Kok
4da5592e2f Listring for landscape menu, use torches for omitting instead of tools.
Tools still work, too, but torches stack.
2017-11-22 23:23:45 -08:00
Auke Kok
080a247553 Verbose logging for possible csm abuse. 2017-11-19 17:54:03 -08:00
Auke Kok
a292bb7ffa Don't hardcode help lists. 2017-11-19 17:48:32 -08:00