Jump to content

Doesn't support new cupboard after update

Closed 3.4.3 3.4.4

VENIQQ
VENIQQ

Posted

Please update the plugin to support new game update

  • Like 1
Butters

Posted (edited)

I have a semi fix.

Replace;

private void OnEntityBuilt(Planner plan, GameObject go)
        {
            if (plan == null || go?.name == "assets/prefabs/deployable/tool cupboard/cupboard.tool.deployed.prefab") return;
            BuildingPrivlidge priv = plan.GetBuildingPrivilege();
            if (priv != null)
            {

With;

private void OnEntityBuilt(Planner plan, GameObject go)
        {
            if (plan == null ||
            go?.name == "assets/prefabs/deployable/tool cupboard/cupboard.tool.deployed.prefab" ||
            go?.name == "assets/prefabs/deployable/tool cupboard/retro/cupboard.tool.retro.deployed.prefab"
            ) return;
            BuildingPrivlidge priv = plan.GetBuildingPrivilege();
            if (priv != null)
            {

In the RaidProtection.cs file.

This only half fixes it though, it'll allow the new tc they've added to function but the Upkeep and Protection UI buttons will be missing from its inventory for some reason. BUT if you have a plugin like BetterTC which allows you to switch between the vanilla tc and new tc model then you can switch to the vanilla one, add protection then switch back to the new model and your base is safe. The Upkeep and Protection UI buttons only seem to like the vanilla tc for some reason.

(Shoutout to Mabel for helping me get this far, hopefully a proper fix can get implemented soon)

Edited by Butters
  • Like 2
VENIQQ

Posted

Thanks for this @Butters! Hopefully proper fix will be made soon by developer as well...

  • Love 1
Mr01sam

Posted

Should be officially fixed in 3.4.4

  • Like 1
Mr01sam

Posted

Changed Status from Pending to Closed

Changed Fixed In to 3.4.4

  • Like 1
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.6k

Files Sold

Total number of files sold.

2.1m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.