Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
mesavitae

Crafting Prototype Project

Recommended Posts

no, I've not been active on this project since the last posts. I lost interest in the project and crowfall, so i am well out of date on the crafting scene. 

If you want I might be able to find the front end we were working on and let you take over it from there.

Share this post


Link to post
Share on other sites

I wrote a python tool for my own use that does some of this. Here's a snip of the output on the console.

DTgB3Uy.png

This is not web-enabled in any way, and depends on a hand-written json data file. And probably has some bugs, and doens't do everything I'd want it to do. I also haven't worked on it in a few weeks now.

Share this post


Link to post
Share on other sites

The data my tool depends on is in this format:

  ...
  "Great Mace": {
    "properties": { "produces": 1, "experiment": true, "profession": "Blacksmithing"},
    "components": {
      "Weapon Hilt: Great": { "number": 1, "required": true, "alternates": []},
      "Weapon Head: Great Mace": { "number": 1, "required": true, "alternates": []},
      "Weapon Shaft: Medium": { "number": 1, "required": true, "alternates": []},
      "Hunger Shard": { "number": 1, "required": false, "alternates": []},
      "Etherial Dust": { "number": 10, "required": true, "alternates": []}
    }
  },
  "Weapon Hilt: Great": {
    "properties": { "produces": 1, "experiment": true, "profession": "Blacksmithing"},
    "components": {
      "Weapon Grip": { "number": 2, "required": true, "alternates": []},
      "Great Weapon Pommel": { "number": 1, "required": true, "alternates": []},
      "Great Weapon Crossguard": { "number": 1, "required": true, "alternates": []}
    }
  },
  "Weapon Grip": {
    "properties": { "produces": 1, "experiment": true, "profession": "Blacksmithing"},
    "components": {
      "Stitched Leather": { "number": 1, "required": true, "alternates": []}
    }
  },
  "Stitched Leather": {
    "properties": { "produces": 1, "experiment": true, "profession": "Leatherworking"},
    "components": {
      "Hide": { "number": 3, "required": true, "alternates": []}
    }
  },
  ...

The tool recursively traverses the components tree from the specified starting item, looking for components by name, and keeping lists of what is produced by which professions, and the total numbers of leaf components required to summarize at the end. It's less than 150 lines of python.

I only have data for a few weapons and a few metal armors to play with for myself and a few friends/guildies.

Share this post


Link to post
Share on other sites
Posted (edited)

Ah okay. I've choosen another domain model structure.

What I've done so far. Everything is written in C# with .NET Core 2.2

  • Basic project setup and structure is done
  • Domain models setup, should be done :P
  • EF-Core Db access is done 
  • Basic IdentityServer4 setup is done
  • github repository is up and running (currently private) if someone is interested in helping let me know, comments are in denglish (german and english mixed)

Next steps

  • Get auth with IdentityServer4 working correctly
  • Setup basic Angular 5, 6 or 7 app (will took the most time for me)
  • Implement rest-api controller to get/insert receipes

 

Edited by Tkon

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.

×
×
  • Create New...