Ideas

StephanLunar's avatar
StephanLunar
Seasoned Novice
5 months ago
Status:
Reviewed

[HSY] Cafeteria station does not display model correctly

 

In Discover University, we got a new object - the cafeteria stall. It has a function to open/close and shows its own model differently depending on the opened/closed states.

High School Years made a new variant of the object fully with the closed versions as expected, but for some reason left it unused, so the stall whenever it's run/not run displays as opened with food being shown. 

It'd be nice if maxis fixed it, here's the code snippet that includes the geometry states fixed for it:

<U>
            <L n="client_states">
              <U>
                <T n="key">132691<!--ObjectStateValue: marketStalls_Open--></T>
                <U n="value">
                  <V n="geometry_state" t="apply_new_value">
                    <V n="apply_new_value" t="set_to_custom_value">
                      <T n="set_to_custom_value">open</T>
                    </V>
                  </V>
                </U>
              </U>
              <U>
                <T n="key">132692<!--ObjectStateValue: marketStalls_Closed--></T>
                <U n="value">
                  <V n="geometry_state" t="apply_new_value">
                    <V n="apply_new_value" t="set_to_custom_value">
                      <T n="set_to_custom_value">closed</T>
                    </V>
                  </V>
                </U>
              </U>
            </L>
            <V n="default_value" t="reference">
              <T n="reference">132692<!--ObjectStateValue: marketStalls_Closed--></T>
            </V>
            <T n="reset_on_load_if_time_passes">True</T>
          </U>