Author Topic: Craft Weapon for particular craft?  (Read 2901 times)

Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Craft Weapon for particular craft?
« on: March 10, 2018, 12:32:25 am »
Just wondering if it's even possible to create condition when we can use particular craft weapon with one type of craft ect...It would be nice to see this functionality.

Online Yankes

  • Commander
  • *****
  • Posts: 3209
    • View Profile
Re: Craft Weapon for particular craft?
« Reply #1 on: March 10, 2018, 12:57:40 am »
Already done in OXCE and OXCE+, you can define custom weapons types and in each slot in craft what types are available.

Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Re: Craft Weapon for particular craft?
« Reply #2 on: March 10, 2018, 01:20:44 am »
Already done in OXCE and OXCE+, you can define custom weapons types and in each slot in craft what types are available.

Thats intertesting. I couldn't find it on wiki ruleset reference....
« Last Edit: March 10, 2018, 01:23:37 am by Amiga »

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1510
    • View Profile
Re: Craft Weapon for particular craft?
« Reply #3 on: March 10, 2018, 02:12:49 am »
You can use the various mods as a ruleset reference. If they are using the feature you want, just check out their code and see how they did it. X-Pirates is said to use nearly every OXCE+ function, so that one is probably a great reference to sift through to find new tricks you might want to use.

Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Re: Craft Weapon for particular craft?
« Reply #4 on: March 10, 2018, 11:03:06 am »
Aa right.  Oxc+ has own documentation. I have to dbl check it again.  Thanks for advice

UPDATE
INDEED!


Quote
crafts:
    weaponTypes:        #definition of allowed weapon types in craft. Max 4 different types per slot.
      - 0               #slot 1 accepts weapons with type 0. This is default.
      - 0               #slot 2 accepts weapons with type 0.
      - [0, 4, 13]      #slot 3 accepts weapons with type 0, 4 and 13.
      - 1               #slot 4 accepts weapons with type 1.


craftWeapons:
    weaponType: 1 #default value 0.

..and working flawless!
« Last Edit: March 10, 2018, 02:16:11 pm by Amiga »