Post by katabug on Nov 4, 2021 8:32:19 GMT -5
I'm trying to make a small QoL mod.
I want to add a Sell Interaction to Herbal Remedies. For example, when you make a Flower Arrangement, when you click on the Arrangement there is an option to sell it without having to put it in your Inventory.
So I'm trying to do the same for Herbal Remedies.
Anyway, I've edited one of the Herbal Remedy Object Tunings: (S4_B61DE6B4_00000002_0000000000019519_object_drink_HerbalismPotion_InsectRepellent) and I've added 'SuperInteraction: generic_SellObject_NoCarry' to the list of Super Affordances.
But that's obviously not right, because the option to sell the item when I click on it doesn't appear. Is there something else I need to do?
I want to add a Sell Interaction to Herbal Remedies. For example, when you make a Flower Arrangement, when you click on the Arrangement there is an option to sell it without having to put it in your Inventory.
So I'm trying to do the same for Herbal Remedies.
Anyway, I've edited one of the Herbal Remedy Object Tunings: (S4_B61DE6B4_00000002_0000000000019519_object_drink_HerbalismPotion_InsectRepellent) and I've added 'SuperInteraction: generic_SellObject_NoCarry' to the list of Super Affordances.
<L n="_super_affordances">
<T>13161<!--AggregateSuperInteraction: cleanup_Dishes_Aggregate--></T>
<T>13162<!--AggregateSuperInteraction: cleanup_Dishes_As_Trash_Aggregate--></T>
<T>36152<!--AggregateSuperInteraction: cleanup_Dishes_From_Object_Aggregate--></T>
<T>36155<!--AggregateSuperInteraction: cleanup_Dishes_As_Trash_From_Object_Aggregate--></T>
<T>13173<!--CollectManyInteraction: Collect_Clean_Dish--></T>
<T>13174<!--CollectManyInteraction: Collect_Clean_Dish_As_Trash--></T>
<T>36181<!--CollectManyInteraction: Empty_Clean_Microwave_As_Dish--></T>
<T>36182<!--CollectManyInteraction: Empty_Clean_Microwave_As_Trash--></T>
<T>74901<!--AggregateSuperInteraction: cleanup_Dishes_After_Eating_Aggregate--></T>
<T>75242<!--SuperInteraction: eat_to_clean_from_sit--></T>
<T>98386<!--CollectManyInteraction: Dish_Collection_From_SimInventory_As_Dish--></T>
<T>98388<!--CollectManyInteraction: Dish_Collection_From_SimInventory_As_Trash--></T>
<T>13328<!--ImmediateSuperInteraction: debug_Reset--></T>
<T>13326<!--ImmediateSuperInteraction: debug_ObjectDestroy--></T>
<T>103888<!--ImmediateSuperInteraction: cheat_set_as_head--></T>
<T>106859<!--SuperInteraction: simRay_Transform_Object--></T>
<T>29763<!--PutAwayInteraction: maid_PutAwayItem--></T>
<T>10028<!--ImmediateSuperInteraction: Cheat_MakeSpoiled--></T>
<T>99066<!--ImmediateSuperInteraction: Cheat_RefillConsumable--></T>
<T>99067<!--ImmediateSuperInteraction: Cheat_EmptyConsumable--></T>
<T>99068<!--ImmediateSuperInteraction: Cheat_MakeFresh--></T>
<T>190633<!--SuperInteraction: generic_SellObject_NoCarry--></T>
</L>
But that's obviously not right, because the option to sell the item when I click on it doesn't appear. Is there something else I need to do?