Ideas

LittleSimBe's avatar
LittleSimBe
New Spectator
2 months ago
Status:
Awaiting Additional Reports

[DU] Servo Party Module Hidden Object becomes visible on loading

Tested with NO mods and a freshly repaired game on ver1.118.257.1020

Can someone please confirm this bug in their game?

  • Reach Enhancement Level 4 to unlock 3 behavior modules and the ability to toggle between them.
  • Have the Party Machine module activated.
  • Travel with the Servo or reload the lot while the module is active.
  • Observe inventory behavior.


When the Party Machine module is activated via picker_HumanoidRobot_BehaviorModule_Add_Limited, the following loot action is triggered:
219835 <!--loot_Humanoid_Robots_BehaviorModules_Add_PartyBot-->

This loot is intended to create a MusicProvider object by definition in the Servo’s hidden inventory:
Name: InviseractableModelGEN_PartyBot_MusicProvider
Instance: 00000000000387A8
InstanceDecimal: 231336

The object is correctly added to the hidden inventory, but after loading or changing lots (when the Servo is instanced), the object becomes visible in the inventory UI.

This seems to be the main issue, but it results in another problem:

When the Party Machine module is deselected in the picker UI, a loot action tied to a buff removal is triggered. This action is intended to destroy the MusicProvider object and checks for it in the hidden inventory. Since the object is no longer hidden after instancing, it isn’t found and remains, causing duplicates.

<?xml version="1.0" encoding="utf-8"?>
<I c="LootActions" i="action" m="interactions.utils.loot" n="loot_Humanoid_Robots_BehaviorModules_Remove_PartyBot" s="229782">
  <L n="loot_actions">
    <V t="destroy_objects_from_inventory">
      <U n="destroy_objects_from_inventory">
        <E n="object_source">HIDDEN_STORAGE</E>
        <L n="object_tests">
          <L>
            <V t="object_criteria">
              <U n="object_criteria">
                <V n="identity_test" t="definition_id">
                  <U n="definition_id">
                    <T n="actual_object">231336<!--controlPanel_SliceC_1--></T>
                  </U>
                </V>
                <T n="owned">False</T>
                <V n="subject_specific_tests" t="single_object" />
              </U>
            </V>
          </L>
        </L>
      </U>
    </V>
  </L>
</I>

Ignore the <!--controlPanel_SliceC_1--> comment in the code. TDESC looks for the Instance number, wich in this case is a SuperInteraction from Batuu. The InstanceDecimal relates to the MusicProvider.
Took me quite some time to figure this out...

Edit By crinrict: Added pack tag to title. Adjusted title to be less techy

5 Comments

  • Found the root of the issue:

    The Object Tuning for the MusicProvider is missing an entry:

    Name: humanoid_Robot_PartyBot_MusicProvider
    Instance: 0000000000035AB5
    InstanceDecimal: 219829


    To keep the item hidden the persist_in_hidden_storage should be flagged as "True":

    <I c="GameObject" i="object" m="objects.game_object" n="humanoid_Robot_PartyBot_MusicProvider" s="219829">
    ...
        <V n="inventory_item" t="enabled">
          <U n="enabled">
            <T n="can_place_in_world">False</T>
            <L n="enter_inventory_state_valid_inventory_types">
              <E>HIDDEN</E>
            </L>
            <T n="forward_affordances_to_inventory_owner">True</T>
            <T n="inventory_only">True</T>
    --->>>  <T n="persist_in_hidden_storage">True</T>   <<<---
            <L n="valid_inventory_types">
              <E>SIM</E>
            </L>
          </U>
        </V>
    ...
    </I>

     

  • N379's avatar
    N379
    Seasoned Vanguard
    2 months ago

    I also found this bug and was about to write a post. In fine, after activating the party machine module on servo, an invisible item (no icon) is added in the inventory of servo with the options to "turn on/listen to" when clicked on, very similar to an earphone in the inventory.

Featured Places

Node avatar for The Sims 4 Bug Reports

The Sims 4 Bug Reports

Report bugs for The Sims 4 on PC, Mac, Playstation, and Xbox.Latest Activity: 4 minutes ago
4,091 Posts