Neighbouring Wall Mailboxes have interactions they shouldn't
Back in 2016, when City Living launched, maxis had added this feature for ownerships of mailboxes. This feature would enable a nameplate mesh to show strictly on the current active unit's closest wall mailbox and only let you interact with that one. These mailboxes also function the same with For Rent units!
Also please iron out the tagging for the boxes as they're not the same and should at this point be brought into the normal catalog :)However, it seems later interactions added to mailboxes would not get the required ownership tests added! Not sure why, but it's a neat feature and I'd like this fixed as I was able to fix this myself and attached the solutions as well as all IDs of the objects needing to be added to the world.mailbox_owner_helper module as well as every affordance (interaction) ID that need a test to test if a mailbox has ownership features and some extra fallback tests to avoid issues incase a player doesn't use wall mailboxes and uses multiple normal boxes, which cause issues with interactions showing, lol.
The nameplates have been made accurately to this day even with the new expansion - Businesses & Hobbies
It's hard to see the nameplate, but the other type (City Living) design has a whole tag disappear, incase this ends up being tested out.Thank you <3 Attached are the module xml code + a snippet including all the affordances needing the tests as well as the test itself
<?xml version="1.0" encoding="utf-8"?>
<M n="world.mailbox_owner_helper" s="15254325742064345739">
<C n="MailboxOwnerHelper">
<L n="MAILBOX_TAGS">
<E>Func_MailboxWall</E>
</L>
<L n="OWNER_STATES">
<U>
<T n="active_state_value">147347<!--ObjectStateValue: MailboxWall_Nameplate_1_Yes--></T>
<T n="default_state_value">147346<!--ObjectStateValue: MailboxWall_Nameplate_0_No--></T>
<L n="definitions">
<T>120225<!--mailboxWall_EP03GEN1unit_set1 (Apartment Mailbox)--></T>
<T>125313<!--mailboxWall_EP03GEN1unit_set2 (Apartment Mailbox)--></T>
<T>125314<!--mailboxWall_EP03GEN1unit_set3 (Apartment Mailbox)--></T>
<T>125315<!--mailboxWall_EP03GEN1unit_set4 (Apartment Mailbox)--></T>
<T>125316<!--mailboxWall_EP03GEN1unit_set5 (Apartment Mailbox)--></T>
<T>125317<!--mailboxWall_EP03GEN1unit_set6 (Apartment Mailbox)--></T>
<T>125318<!--mailboxWall_EP03GEN1unit_set7 (Apartment Mailbox)--></T>
<T>125319<!--mailboxWall_EP03GEN1unit_set8 (Apartment Mailbox)--></T>
<T>125320<!--mailboxWall_EP03GEN1unit_set9 (Apartment Mailbox)--></T>
<!--Mailboxes that need to be added-->
<T>217615<!--mailboxWall_EP08GEN_set1--></T>
<T>232177<!--mailboxWall_EP08GEN_set2--></T>
<T>232178<!--mailboxWall_EP08GEN_set3--></T>
<T>232179<!--mailboxWall_EP08GEN_set4--></T>
<T>232180<!--mailboxWall_EP08GEN_set5--></T>
<T>232181<!--mailboxWall_EP08GEN_set6--></T>
<T>232182<!--mailboxWall_EP08GEN_set7--></T>
<T>232183<!--mailboxWall_EP08GEN_set8--></T>
<T>232184<!--mailboxWall_EP08GEN_set9--></T>
<T>249558<!--mailboxWall_GEN_set1--></T>
<T>249559<!--mailboxWall_GEN_set2--></T>
<T>249560<!--mailboxWall_GEN_set3--></T>
<T>249561<!--mailboxWall_GEN_set4--></T>
<T>249562<!--mailboxWall_GEN_set5--></T>
<T>249563<!--mailboxWall_GEN_set6--></T>
<T>251932<!--mailboxWall_EP10GENsquare_set1--></T>
<T>251933<!--mailboxWall_EP10GENsquare_set2--></T>
<T>251934<!--mailboxWall_EP10GENsquare_set3--></T>
<T>251935<!--mailboxWall_EP10GENsquare_set4--></T>
<T>251936<!--mailboxWall_EP10GENsquare_set5--></T>
<T>251937<!--mailboxWall_EP10GENsquare_set6--></T>
<T>251938<!--mailboxWall_EP10GENsquare_set7--></T>
<T>251939<!--mailboxWall_EP10GENsquare_set8--></T>
<T>251940<!--mailboxWall_EP10GENsquare_set9--></T>
<T>399568<!--mailBoxWall_EP16GEN_set1--></T>
<T>408544<!--mailBoxWall_EP16GEN_set2--></T>
<T>408545<!--mailBoxWall_EP16GEN_set3--></T>
<T>408546<!--mailBoxWall_EP16GEN_set4--></T>
<T>408547<!--mailBoxWall_EP16GEN_set5--></T>
<T>408548<!--mailBoxWall_EP16GEN_set6--></T>
<T>464685<!--mailboxWall_EP18GEN_set1--></T>
<T>464686<!--mailboxWall_EP18GEN_set2--></T>
<T>464687<!--mailboxWall_EP18GEN_set3--></T>
<T>464688<!--mailboxWall_EP18GEN_set4--></T>
<T>464689<!--mailboxWall_EP18GEN_set5--></T>
<T>464690<!--mailboxWall_EP18GEN_set6--></T>
<T>464691<!--mailboxWall_EP18GEN_set7--></T>
<T>464692<!--mailboxWall_EP18GEN_set8--></T>
<T>464693<!--mailboxWall_EP18GEN_set9--></T>
</L>
</U>
</L>
</C>
</M>
<L n="affordances">
<T>134809<!--mailboxWall_GetMail--></T>
<T>133182<!--mailboxWall_BrowseMail--></T>
<T>134811<!--mailboxWall_PayBills--></T>
<T>151335<!--licenseSong_Guitar_mailboxWall--></T>
<T>151333<!--licenseSong_Piano_mailboxWall--></T>
<T>151337<!--licenseSong_Violin_mailboxWall--></T>
<T>126119<!--licenseSong_DJMix--></T>
<T>34081<!--writing_SelfPublish--></T>
<T>35135<!--writing_SellToPublisher--></T>
<T>35290<!--writing_SellCopy--></T>
<T>151344<!--licenseLyrics_Microphone_mailboxWall--></T>
<T>151360<!--licenseSong_PortableKeyboard_mailboxWall--></T>
<T>167682<!--mailboxWall_IgnoreBills--></T>
<T>181522<!--si_HolidayTradition_FatherWinter_Exit--></T>
<T>184781<!--simPicker_Mailbox_SendThankYouCard--></T>
<T>209747<!--objectInInventoryPicker_OddJob_Woodworking--></T>
<T>151355<!--licenseSong_PipeOrgan--></T>
<T>209968<!--objectInInventoryPicker_OddJob_Coconut--></T>
<T>209965<!--objectInInventoryPicker_OddJob_KaluaPork--></T>
<T>209964<!--objectInInventoryPicker_OddJob_Kava--></T>
<T>209969<!--objectInInventoryPicker_OddJob_MahiMahi--></T>
<T>187182<!--objectPicker_Mailbox_DonateCraftedItemToCharity--></T>
<T>187282<!--simPicker_Mailbox_SendForgedBreakupLetter--></T>
<T>209971<!--objectInInventoryPicker_OddJob_Treasure--></T>
<T>210810<!--objectInInventoryPicker_OddJob_Seashells--></T>
<T>222243<!--mailbox_UniversityEnrollment_Apply--></T>
<T>222244<!--mailbox_UniversityEnrollment_Enroll--></T>
<T>228782<!--mailbox_UniversityScholarships_Apply_Init--></T>
<T>228343<!--mailbox_PayLoans--></T>
<T>234233<!--civilDesigner_Concept_PickConceptToSubmit--></T>
<T>233538<!--community_Vote_Policy_StopRepealProcess--></T>
<T>226468<!--mailbox_GoToVote_EnactablePolicies--></T>
<T>226508<!--mailbox_GoToVote_RepealablePolicies--></T>
<T>242399<!--immediate_CheckPolicies_Mailbox--></T>
<T>236393<!--objectPicker_Mailbox_JuiceFizzing_SendForEvaluation--></T>
<T>236502<!--mailbox_JuiceFizzing_SendForEvaluation--></T>
<T>226037<!--mailbox_VoteByMail--></T>
<T>237568<!--Mailbox_DisplayBillsDialog--></T>
<T>201528<!--mailbox_GetMail_Influencer_Child--></T>
<T>279966<!--immediate_Story_Progression_CheckRecentWorldEvents--></T>
<T>343353<!--mailboxWall_PayBillsUnit_Rent--></T>
<T>344955<!--mailboxWall_PayBillsUnit_Other--></T>
<T>345779<!--Mailbox_landlordTenant_SortJunkMail_Wall--></T>
<T>345840<!--mailboxWall_APM_PostDonation_Charity--></T>
<T>347110<!--mailboxWall_APM_PostConciliatoryLetter--></T>
<T>351309<!--rentArrears_APM_PostRentDemandPicker--></T>
<T>355011<!--mailboxWall_APM_PostDonation_PetDay--></T>
<T>399295<!--mailbox_Thanatology_Donate--></T>
<T>201923<!--mailboxWall_GetMail_Influencer_Child--></T>
<T>359941<!--landlordTenant_GiveNoticeInWriting_Wall--></T>
<T>373378<!--SuperInteraction: mailboxWall_PayBills_FakeBillPayment--></T>
</L>
<L n="tests">
<V t="object_ownership">
<U n="object_ownership" />
</V>
<V t="state">
<U n="state">
<V n="fallback_behavior" t="always_pass" />
<T n="value">147347<!--MailboxWall_Nameplate_1_Yes--></T>
<E n="who">Object</E>
</U>
</V>
</L>
Edit By Crinrict: Removed multi-pack tag. If it's > 3 packs, just leave them off. Also adjusted title a bit. Please also only choose either Never mods or mods removed. Never means nothing in your mods folder for a very long time.