Auke Kok
dd78de6412
Move perks
code out to separate mod.
...
This moves the perk code so it can handle offline players
easily. Granted perks are immediate if the player is online
and otherwise granted at login. This avoids any of the issues
with offline players.
2019-12-15 21:43:31 -08:00
Auke Kok
a82776cd81
Can't assign attributes to offline players like this.
...
Assign them only when online instead. This needs a rewrite.
2019-12-14 21:07:50 -08:00
Auke Kok
22a4490ffc
Allow stacking of player tools.
2019-12-09 19:58:32 -08:00
Auke Kok
66b27bd711
Revert "Prevent filling up the inventory with tools."
...
This reverts commit a819b41782de9960acec6728a6235ee7c8450a8c.
Replaced with stackable player tools.
2019-12-09 19:57:55 -08:00
Auke Kok
a819b41782
Prevent filling up the inventory with tools.
...
nexus blocks can still be stacked. Tested.
2019-12-06 22:17:03 -08:00
Auke Kok
b38334d484
"more boxes" perk.
...
Obtained at 3 accepted boxes.
Grants 5 boxes as build max, up from 3.
2019-12-05 22:20:54 -08:00
Auke Kok
6a311f930b
MT serializes an empty table as null
- account for that.
...
Serialize the empty table to `{}` instead.
2019-11-10 22:23:29 -08:00
Auke Kok
16e0fc714f
Also label wall torch, for the reveal tool.
2019-11-08 21:18:29 -08:00
Auke Kok
2cdbe4a38a
Make sure to put placeholder particles on torches.
2019-11-08 21:18:03 -08:00
Auke Kok
162e8d11c1
Fix torches breaking placeholders.
...
These need to be treated in the same way as other "breakable" nodes
here, so, retain meta on removal.
2019-11-08 21:17:16 -08:00
Auke Kok
d9b5622049
Fix reveal node for placeholders.
...
We were accidentally shadowing `nodes` which broke the texture
retrieval call, but worse, we never searched for placeholder
nodes in the search filter.
2019-11-08 20:21:35 -08:00
Auke Kok
3be634fa58
Force testing requirement on all boxes.
...
Boxes need to be tested. Untested boxes can not be submitted.
For small edits, re-testing isn't required (<150sec). Lots of
messaging to the builder as well to make sure it doesn't go
unnoticed.
2019-11-05 21:07:40 -08:00
Auke Kok
d5aebb5e9d
Add queue
mod. /queue command.
...
The queue is periodically scanned and output as `queue.json` such
that the website can ingest it and display it.
2019-11-04 20:23:38 -08:00
Auke Kok
2a87ac818d
Replace :[gs]etpos with :[gs]et_pos globally.
2019-10-07 09:08:08 -07:00
ANAND
a7403d6600
Nullify velocity and acceleration if player is below y < 50
2019-10-07 09:04:53 -07:00
Auke Kok
3099dd6228
Attempt to allow empty lines in telex/files.
...
These were previously filtered out. Unfortunately now there's some
awkward emtpy lines in various places, but, I prefer having empty
lines show since that makes typing much simpler.
2019-10-04 22:15:06 -07:00
Auke Kok
27448a62ea
Don't kill players that are already dead.
2019-09-18 21:31:31 -07:00
Emerald2
661e7ebe5c
Added builder name to irc_whereis
2019-09-17 19:59:21 -07:00
Auke Kok
5a0cbbc844
Fix unit of these (os.clock returns 's').
2019-09-15 21:07:48 -07:00
Auke Kok
1f493f4ad3
Translations broke this, too.
...
Unbreak reveal tool.
2019-09-14 23:10:18 -07:00
Auke Kok
71009b5764
Bug made by Wuzzy.
2019-09-14 22:38:19 -07:00
Auke Kok
c2e278898d
Don't translate IRC announcements and messages. This doesn't work.
2019-09-14 22:24:36 -07:00
Auke Kok
bf4724938a
Can't do this anymore either.
...
The detector node used to print the description. But this is
broken now. Instead, print the technical name instead, without
translating it.
2019-09-12 22:38:21 -07:00
Auke Kok
ca7c77c895
Undo translation of technical items.
...
This really breaks badly. Too many untranslatable characters that
completely break things. These are meant to be technical and postion
strings are not translatable either. Revert.
2019-09-12 22:27:45 -07:00
Auke Kok
0dbff53e74
Undo translating some really dangerous stuff that crashes the server.
...
Tooltips likely need formspec escapes or something else. Revert this
to try and avoid crashing the server.
2019-09-12 15:49:23 -07:00
Auke Kok
7ed72218e0
Don't translate the number. It is parsed by the form code.
2019-09-12 11:04:34 -07:00
Auke Kok
dd2b25a379
Avoid crash in skybox.set
.
...
For some reason, `number` was invalid. It was likely passed from
a formspec. Avoid this part of the crash entirely.
2019-09-12 10:59:59 -07:00
Auke Kok
6f82f9a8b8
Announce messages are like logs: Server language, not localized.
...
These were malforming IRC and log output messages, so I'm reverting
this.
`(T@boxes)Flerker100E completed box F27E!E`
2019-09-12 08:47:34 -07:00
Auke Kok
6d538955fd
Kurtzmusch's experiment skipping nodes without meta.
2019-09-11 21:50:44 -07:00
Auke Kok
3d090e5940
Add timing for boxes.save()
2019-09-11 21:50:44 -07:00
Wuzzy
207de4dc2c
Add I18N support
...
This adds I18N support for ITB by using Minetest 5.0.0's locale system.
2019-09-11 21:06:59 -07:00
Auke Kok
ea80c7658b
Fix debug printing.
2019-09-06 22:43:29 -07:00
Auke Kok
0a5cefdb21
Add some timing data here.
2019-09-06 22:41:19 -07:00
Auke Kok
faff22dd8b
Bring down jump to normal. Problems hitting ceilings.
2019-08-31 23:37:34 -07:00
Auke Kok
04dc57066e
Actually preserve custom physics parameters.
...
Using the inspector, I found that the teleport-into-box code
overwrites and deletes the gravity and speed values for each
player. This was never intentional.
This fixes that problem. However, that means that my physics estimates
are completely off and I will need to redo the custom physics
values to match the expectations on the server and to make
sure this doesn't massively nerf those values.
oops :(
2019-08-30 17:29:20 -07:00
Auke Kok
c93f8402e5
Allow inspection of players/objects.
...
At minimum, base properties and phsyics settings. Others need
adding as well.
2019-08-30 17:29:20 -07:00
Auke Kok
b5eca5eb52
Update inspector
mod to current.
2019-08-30 16:34:28 -07:00
Auke Kok
f957f1cab9
Fix incorrect usage of msg.content.
2019-08-29 09:06:03 -07:00
Auke Kok
047ef1b578
Also show builder name in the inventory game tab.
2019-08-28 21:23:10 -07:00
Auke Kok
eb32e3dc0f
Make sure not to concatenate nil
if no
wasn't passed.
2019-08-28 11:32:40 -07:00
Auke Kok
b800889b7b
Notify player of old but unread messages.
2019-08-25 22:32:37 -07:00
Auke Kok
0956803e46
Make this code handling spool identical to the other section.
2019-08-25 22:32:15 -07:00
Auke Kok
01e31f4288
Simplify message notifications a bit.
2019-08-25 22:31:54 -07:00
Auke Kok
29f14abc54
Log spool size.
2019-08-25 22:22:18 -07:00
Auke Kok
639b497e36
Explicitly log msgid's to better track issues.
2019-08-25 22:04:28 -07:00
Auke Kok
c753a53f0e
Fix off-by-one error in spool handling.
2019-08-25 21:55:58 -07:00
Auke Kok
d5db7412f5
Perks!
...
These are granted to people who have gotten 2 (zoom) or 5 (lobby
sprint) boxes accepted. A telex is sent to inform them, since, they
are likely not on the server when this is done.
2019-08-24 23:26:08 -07:00
Auke Kok
2ccee549b6
Fix logging in case of error.
2019-08-24 22:22:44 -07:00
Auke Kok
cf460a95bd
Add some more logging in telex.
2019-08-24 22:15:18 -07:00
Auke Kok
190f12412e
Perks.
...
`zoom` and `sprint` perks. These are not yet obtainable by playing,
but I intend to roll that out soon.
2019-08-23 23:41:38 -07:00