Crafting Vehicles?

4 posts in this topic

Can someone tell me how I would add recipes to allow players to craft vehicles? Actually, I figured out the recipe part, I just don't know how to spawn the vehicle in for them.

Also, how would I make the crafted vehicle's persistence lockable (saved through restarts) or temporary (removed on restart)? Some vehicles I would like to be removed on restarts.


What I have so far (no picture in recipe window though)-

class CraftBicycle: Exile_AbstractCraftingRecipe
    name = "Craft Temporary Old Bicycle";
    pictureItem = "Exile_Bike_OldBike";
    requiresFire = 0;
    returnedItems[] = 
        {1, "Exile_Bike_OldBike"}
    components[] = 
        {4, "Exile_Item_JunkMetal"}


Share this post

Link to post
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

  • Recently Browsing   0 members

    No registered users viewing this page.