12 Commits

Author SHA1 Message Date
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
7e24e5b4b9 Prevent admin players from locking/unlocking/taking locked items. 2019-04-16 21:12:13 -07:00
Wuzzy
aa7ab7b0ff Missing or wrong node sounds
A couple of nodes have missing or wrong node sounds:

    nodes:hardened_clay*: Plays no sound (suggested sound: stone sound)
    nodes:chest_with_*: No sound (suggested: wood sound)
    nodes:flowerpot*: Plays wood sound (suggested: stone sound)
    nodes:vine*: Wood sound when climbing (suggested: leaves sound)
    terminal:terminal: No sound (suggested: metal sound)
    nodes:tnt: No sound (suggested: wood sound)
    signs:bg: No sound (suggested: stone sound)
    All doors and fence gates: No sounds for placing/digging
    frame:*: No sound (suggested: wood sound)
    signs:sign_wall: No sound (suggested: wood sound)

Special cases:

    Trampoline: Wood sound
    Waterlily: No change, still no sound (leaves sound would be too odd here)
    Lava: Sound removed
    boxes:nexus: No change, I have no good idea
    Sponge: Dirt sound
    Rope: Sound removed (other sounds just don't fit well)
2019-04-15 21:08:52 -07:00
Auke Kok
88e465dbeb Add reveal info for frame: locked yes|no 2019-04-14 20:57:10 -07:00
Auke Kok
9dbf15df24 Fix frames.
I actually broke most insertions into frames. This is much more
careful, and it now tells the player that something just can not
be put in a frame. Tested with breakable nodes, tools, and torch.

The frames autolock on things like flowers. Attempting to unlock
a frame yields a message explaining why some can not be unlocked.
2019-01-24 21:31:04 -08:00
Auke Kok
a5962a296a Protect against frame leak.
Until now, it was possible for the player to obtain any item if
the frame was left unlocked. The items that are not obtainable
have significant placement liberties that can break many boxes and
potentially allow players to brick their box.

To secure this, we lock all frames automatically and do not allow
them to become unlocked unless they contain obtainable items.
2019-01-23 22:08:09 -08:00
Auke Kok
ed27c52317 Fix crash on inserting a slab or stair in a frame. 2017-09-13 00:21:08 -07:00
Auke Kok
357072ec07 Prevent non-admins from making frames with edit tool items. 2017-09-10 00:20:01 -07:00
Auke Kok
369fe6ba57 Frame: particle effect when an item is in an unlocked frame.
Uses ABM's, but highly visible. The particle effect is "sometimes"
so you might not catch it immediately.

Animated texture cc-by-3.0 by sofar (made from scratch).
2017-09-07 23:45:18 -07:00
Auke Kok
9dec0c5e06 Use a single blank image everywhere. 2017-04-02 00:39:38 -07:00
Auke Kok
aa691f6e13 Frame locking and unlocking.
Frames can be locked by an editor or server priv. Shift-punch
to lock/unlock.
2017-02-19 21:26:44 -08:00
Auke Kok
b61c85d477 Add frame mod: item frames.
Purely deco blocks. Only non-breakable versions.
2017-02-04 12:06:04 -08:00