Tactics Ogre Crafting Shop

This script provides a shop scene for the Tactics Ogre PSP Crafting system written by Mr. Bubble. It allows you to set up crafting shops.

The shop scene allows you to choose what recipe books will be available for the player without having to worry about coming up with an organized category system for filtering. It also allows you to craft items without owning a recipe book.

Download

Script: download here
Required: Shop Manager, Tactics Ogre PSP Crafting system

Place this script below the required scripts.

Usage

I provide a brief overview of how to set up the shop. For detailed instructions on recipes and ingredients refer to the crafting script’s instructions.

First you create a recipe book

This determines what you can craft when you select the item in the craft list.
Then, for the actual items/weapons/armors, set up their ingredients.

Now create an event and make a script call

@shop_type = "TOCraftingShop"

Followed by a shop processing command. You will choose a list of recipes that will be available to choose from.

You should be able to see the list of recipes and open the crafting window when you select one

You may also like...

36 Responses

  1. joshua says:

    i have a problem.. line 64 error,
    uniniatialized constant objek::windows_TOCraftingRecipeList
    can any body help me…
    thank you, 🙂

  2. Kent says:

    The link is broken…

  3. L1412 says:

    What’s Shop Manager?

  4. alex magnie says:

    Hi,
    Can you help me?
    I am getting, line 61: NameError occurred.
    uninitialized constant Object::Game_Shop
    Sincerely,
    Alex Magnie

  5. Dugald says:

    Not sure if it's a problem with your script here or with the original, but for some reason, I keep getting an error on line 812 of the required Tactics Ogre PSP Crafting System when trying to run the crafting shop from a Continued game – if I start a New Game, all of the crafting seems to run just fine, but I get the following error that crashes the game:

    Script 'Tactics Ogre PSP Crafting System' line 812: NoMethodError occurred.

    undefined method 'empty?' for nil:NilClass

    Not sure if you'd be able to troubleshoot this. I have all of the required other scripts installed in the required order, and everything works just fine until I save a game, shut it down, re-launch and then continue it.

    • Hime says:

      Check if it occurs without my script.

      • Dugald says:

        Looks like it still seems to (had to use the base TO PSP crafting script call that references the books in your inventory rather than pulling it straight up as a shop). I'll see if that script's writer has any fixes.

  6. Maxcalagon says:

    The script runs wonderfully, but I’m having one problem.
    See, I want to have a shop where I can either shop normally, or trade with ingredients.
    Problem is, once I start shop processing, the event becomes locked into that type of shop,
    that is, if I run a normal shop command, it’s always a normal shop, and if I run a crafting shop command then it’s always a crafting shop.
    If it can’t be solved then I can use two separate events(I tried using a proxy event via a “call event” script, but it seems to use and change parameters for the calling event, not the called one), but it’d be nice to have an NPC that does both.

  7. Rodjie says:

    Still not running when i try to call the @shop_type….
    its on the line 1203 of Tactics Ogre PSP Crafting System

  8. Rodjie says:

    got some error “#”

  9. Tsukihime says:

    You’ll have to ask Mr Bubbles for that. My script is only to provide the crafting system as a shop, and so it doesn’t check whether you are crafting in a shop, or crafting from your own recipe book.

  10. ashtrail says:

    Yes indeed. So I wasn’t clear enough then… What I would like if it was possible, is a difference between the price of an item in a store and the price of an item when you’re crafting it with a recipebook (no shop involved). It’s the same object but not the same price. Let’s take an example. I want to craft a potion for that I need “water” and ‘herbal powder”. In the store the seller is allowing me to craft it so he charges me 30 dollars. But if I had bought a recipe book I don’t need to give anybody money to be allowed to craft my potion. So the price in a store to craft my potion would be 30 $ and the price to craft a potion wher ever I want with a recipe book would be 0 $. I was thinking maybe a notetag :

    Whereas the one of Mr. Bubble ‘s script would only be …
    With the exemple of the potion the item potion would have two notetag :

    item: (id of “water”), (id of “herbal powder”)
    tool: (id of whatever tool)
    gold: 0

    item: (id of “water”), (id of “herbal powder”)
    tool: (id of whatever tool)
    gold: 30

    I hope I was clearer this tim (sorry english is not my first language). But maybe I’m the one who is not understanding you?

  11. ashtrail says:

    This script is just perfect! Thank you very much!

    • ashtrail says:

      Excuse me, but would there be a way that the price of a craftable item in a store would be different than the one you have when you have a recipe book. I’m saying that because it seems awkward that you should throw money away when your crafting something with a recipe. For example if I bake a cake I won’t give money to my table but if I buy a cake I’ll give money to the baker. (I don’t know if I’m being clear.) I thought maybe a notetag could do it. It’s as you wish, it’s just a question, no obligation what so ever. Anyway thanks again because the script is already very nice.

      • Tsukihime says:

        You should read the information in the crafting system script because this script only provides it as a stand-alone shop. I believe there is a note-tag to set the price to craft an item.

  12. William says:

    never mind got it working perfect 🙂 best script i ever found you can set shop to an item to make a portable alchamey set and instead of makeing weapons make potions and stuff

    • Tsukihime says:

      What was the issue? And I believe you can make items using the crafting script alone. I don’t provide any new functionality in particular besides allowing you to create stuff without having the book in your inventory.

      • William says:

        oh the issue was i didnt have the other scripts that are needed i just had the main one but i got it working perfect 🙂

  13. William says:

    i keep getting an error ” shop name” line 125 what does this mean ?

Leave a Reply

Your email address will not be published. Required fields are marked *