Honey Nugget Posted March 6, 2015 Share Posted March 6, 2015 Hi Guys!I Need a character coding help!Things Like: -Make Things without science machine (Like Wickebutton ability)-Only eat veggies and Fruits-Make custom weapon! Someone can help? Link to comment https://forums.kleientertainment.com/forums/topic/51806-help-coding/ Share on other sites More sharing options...
Corrosive Posted March 7, 2015 Share Posted March 7, 2015 If you want to make a new item that's craftable you can add the recipe similar to how Wigfrid's battle gear is added:local spear_recipe = Recipe("spear_wathgrithr", {Ingredient("twigs", 2), Ingredient("flint", 2), Ingredient("goldnugget", 2)}, RECIPETABS.WAR, {SCIENCE = 0, MAGIC = 0, ANCIENT = 0}, nil, nil, nil, nil, true){SCIENCE = 0, MAGIC = 0, ANCIENT = 0} makes it so that you don't need to have a research station to make the items. You can make your character vegetarian via:inst.components.eater:SetVegetarian(true)Other than that, please use the search function to find similar questions, as this sort of thing gets asked countless times. Link to comment https://forums.kleientertainment.com/forums/topic/51806-help-coding/#findComment-619783 Share on other sites More sharing options...
Honey Nugget Posted March 7, 2015 Author Share Posted March 7, 2015 Thx! Link to comment https://forums.kleientertainment.com/forums/topic/51806-help-coding/#findComment-619811 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now