ivyclarice
3rd Feb 2012, 12:32 PM
My experience: I've successfully done some XML tuning. I've read over other tutorials, including localized coding, object modding, and pure scripting, but have never actually done any of them.
My goal: I would like to replace all the default meal names in my game with vegetarian names, and also flag each dish as 'vegetarian'. This is so a dish like Frogs Legs would not just be renamed, but actually consumable by a vegetarian Sim without making her ill.
Current status: I've written out an STBL, but realized that since I'm seeking to override, not add, I'm not sure how to proceed. I know how to use s3pe to import the STBL. Using this post (http://www.modthesims.info/showthread.php?t=458983&highlight=vegetarian) about another vegetarian mod, and the localized coding tutorial (http://www.modthesims.info/wiki.php?title=Tutorial:Sims_3_Localized_Coding), here's an example of what I wrote:
<TEXT>
<KEY>Gameplay/Excel/RecipeMasterList/Data:SeitanSteak</KEY>
<STR>Seitan Steak</STR>
</TEXT>
What I want to do is use that to overwrite Tri Tip Steak (and then so forth, down the master receipe list), but I'm not 100% sure how to do that, or if it's even advisable.
Again, the overall goal is to make all food vegetarian by default, both named and flagged, so if there's a better way to accomplish that, I'm open! I'm also willing to read other tutorials, if that would help...any suggestions are welcome! :)
My goal: I would like to replace all the default meal names in my game with vegetarian names, and also flag each dish as 'vegetarian'. This is so a dish like Frogs Legs would not just be renamed, but actually consumable by a vegetarian Sim without making her ill.
Current status: I've written out an STBL, but realized that since I'm seeking to override, not add, I'm not sure how to proceed. I know how to use s3pe to import the STBL. Using this post (http://www.modthesims.info/showthread.php?t=458983&highlight=vegetarian) about another vegetarian mod, and the localized coding tutorial (http://www.modthesims.info/wiki.php?title=Tutorial:Sims_3_Localized_Coding), here's an example of what I wrote:
<TEXT>
<KEY>Gameplay/Excel/RecipeMasterList/Data:SeitanSteak</KEY>
<STR>Seitan Steak</STR>
</TEXT>
What I want to do is use that to overwrite Tri Tip Steak (and then so forth, down the master receipe list), but I'm not 100% sure how to do that, or if it's even advisable.
Again, the overall goal is to make all food vegetarian by default, both named and flagged, so if there's a better way to accomplish that, I'm open! I'm also willing to read other tutorials, if that would help...any suggestions are welcome! :)