Translations:Modding:Content Tutorial Simple Recipe/47/en

From Vintage Story Wiki

When it comes to creating recipes, you do not want to have to create 9 seperate recipes where each one accepts a different hammer, so you can use a wildcard. A wildcard allows a modder to group all these objects together using an asterisk ( * ) in its code property. By using "hammer-*", the game allows any object who's code begins with "hammer-" to be valid for this recipe. Note that you should still include the hyphen in the code, as using "hammer*" will result in being able to use any hammer and also any hammerhead items.