# Implement the logic for the feel food baby interaction Sim_info.add_interaction(self.feel_food_baby_interaction())Ĭlass FeelFoodBabyInteraction(super_interaction.SuperInteraction): # Add the interaction to feel the food baby Sim_info.walk_style = 'pregnant' # Change the walk style to pregnant 'feel_food_baby_interaction': TunableReference(description='Interaction to feel the Food Baby.'), # Command to add the Food Baby buff to the active simĪctive_sim_info = services.active_sim_info()Īctive_sim_buff(FoodBabyBuff.TunableFactory().default) ('sims.add_food_baby_buff')ĭef add_food_baby_buff(_connection=None): # Clean up any necessary actions when the buff is removed # Apply the Food Baby buff and dazed moodlet to the sim 'treadmill_interaction': TunableReference(description='Interaction to remove the Food Baby buff when sim uses the remove_food_baby_buff(sim_info): 'swimming_interaction': TunableReference(description='Interaction to remove the Food Baby buff when sim swims.'), 'moodlet': TunableReference(description='Moodlet applied when sim has the Food Baby buff.'), įrom import HasTunableSingletonFactory, AutoFactoryInit, TunableReference, TunableĬlass FoodBabyBuff(AutoFactoryInit, HasTunableSingletonFactory): Since I can't figure out how to get my mods working I figure I'll post the code I created for my Food Baby mod hopefully someone can get them working or if need be rebuild it from the ground up, here it is.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |