cntSteelWallCabinetSecure (craftable Steel Wall Cabinet) is missing TEFeatureLockable

Version
3.0.1 stable
Platform
Linux

TFP BUG REPORT​




Summary: cntSteelWallCabinetSecure (craftable Steel Wall Cabinet) is missing TEFeatureLockable — the block named "Secure" has no lock option at all
Game Version: V 3.0.1 (b4) stable — also present in V3.0.0 b259
OS/Platform: Windows client, Linux dedicated server (also reproduces in single player)
Game mode: Any (SP, MP host, dedicated)
Did you wipe old saves? Yes
Did you start a new game? Yes
Did you validate your files? Yes
Are you using any mods? Reproduces on pure vanilla — see the vanilla blocks.xml evidence below. No mod is required.
EAC on/off: ON
Status: Always — 100% reproducible

Bug Description​

Craft a Steel Wall Cabinet (cntSteelWallCabinetSecure), place it, and hold the interact button.

There is no lock option. Not a failed lock — the option does not appear in the interact menu at all. The container cannot be secured by any means.
The block is literally named ...Secure and is the craftable variant, so this is clearly not the intended behavior.
(Confirmed as "Not intended" by schwanz9000 on the forums — filing here so it gets tracked.)

Root cause (from vanilla​

The block is missing the TEFeatureLockable feature.

cntSteelWallCabinetSecure (broken):
<block name="cntSteelWallCabinetSecure">
<property name="Extends" value="cntSteelWallCabinetInsecure" />
<property name="Class" value="CompositeTileEntity" />
<property class="CompositeFeatures">
<property class="TEFeatureStorage">
<property name="LootList" value="playerDrawer" />
</property>
</property> <-- TEFeatureStorage only. No lock feature.
...
</block>

cntSteelWritableCrate (works — locks fine):
<property name="Class" value="CompositeTileEntity" />
<property class="TEFeatureStorage">
<property name="LootList" value="playerSteelWritableStorage" />
<property class="TEFeatureLockable" /> <-- THE MISSING LINE
<property class="TEFeatureSignable">



This is likely not isolated — please check the whole container migration​

V3.0 rebuilt containers as CompositeTileEntity + features. After that migration, only THREE containers in the entire game have TEFeatureLockable:
  • cntWoodWritableCrate
  • cntIronWritableCrate
  • cntSteelWritableCrate

Every other player-placeable storage container appears to have lost the lock feature, including the one explicitly named "Secure".
(Note: TEFeatureLockPickable is a different feature — it governs whether someone else can pick the lock. Several containers have that but not TEFeatureLockable, which is why they still can't be locked in the first place.)

Worth auditing every container that had a secure/insecure pair before 3.0.

Steps to reproduce​

  1. Start any V3.0.1 game (vanilla, no mods).
  2. Craft a Steel Wall Cabinet at the workbench (5 Forged Steel, 2 Spring, 3 Mechanical Parts).
  3. Place it.
  4. Hold the interact button.
  5. No lock option appears.

Compare with a Steel Writable Crate, which shows the lock option normally.

Actual result​

The container named "Secure" cannot be locked. There is no lock option in its interact menu.

Expected result​

The Steel Wall Cabinet can be locked with a password, like other player-placeable secure storage.

Suggested fix​

Add TEFeatureLockable to the block's CompositeFeatures:
property class="CompositeFeatures">
<property class="TEFeatureStorage">
<property name="LootList" value="playerDrawer" />
</property>
<property class="TEFeatureLockable" />
</property>

Impact​

Significant on PvP and multiplayer servers, where these cabinets are used heavily for base storage. Anyone can currently open another player's Steel Wall Cabinet — there is no way to secure it.
 
Reproduction Steps

Steps to reproduce​

  1. Start any V3.0.1 game (vanilla, no mods).
  2. Craft a Steel Wall Cabinet at the workbench (5 Forged Steel, 2 Spring, 3 Mechanical Parts).
  3. Place it.
  4. Hold the interact button.
  5. No lock option appears.
Link to Logs
https://discord.gg/ZfcsJU9TQC
Link to Screenshot/Video
https://discord.gg/ZfcsJU9TQC
Hey there,

Thank you for the report.

We have confirmed the issue internally and have taken steps to correct this oversight. The fix should be seen in an upcoming patch.

Best,
Dollie
 
Back
Top