Jump to content

how to add new item in game?


 Share

Recommended Posts

i want to add a farmplot,with cutgrass and rot(item name spoiled_food)something likeRecipe("farmplot", {Ingredient("cutgrass", 6),Ingredient("poop", 2)}, RECIPETABS.FARM, 0, 0, "farmplot_placer")change to Recipe("farmplot_b", {Ingredient("cutgrass", 6),Ingredient("spoiled_food", 10)}, RECIPETABS.FARM, 0, 0, "farmplot_placer")i add item in prefabs.xml,and some lua file and tex file(simplely copy farmplot)still got wrong result,when spawn,game crashes.so how can i add a new item in game,and add it correct to the menu?

Link to comment
Share on other sites

Hard to say whether adding new items is currently possible.....not sure if something has to be done on the simulator side which we do not have access to.What is the error message in the log.txt file in the bin folder? (after the game crashes using your changes)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...