Author Topic: Ruleset - How to add new items?  (Read 5852 times)

Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Ruleset - How to add new items?
« on: May 24, 2013, 12:12:36 pm »
Is there any tutorial how to add new things using ruleset? Especially I would like to edit research tree. For example medikit without researching. Appreciate for any help :-)
« Last Edit: May 24, 2013, 01:53:16 pm by Amiga »

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: Ruleset - How to add new items?
« Reply #1 on: May 24, 2013, 06:31:41 pm »
well, to remove the research requirement for medikits, you can delete the "requires:" section from manufacture and ufopedia, and delete the research entry.

a guide would be nice though.

Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Re: Ruleset - How to add new items?
« Reply #2 on: May 24, 2013, 06:35:47 pm »
All in ruleset file?

Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Re: Ruleset - How to add new items?
« Reply #3 on: May 24, 2013, 09:45:42 pm »
Ok I done with medikit:))) I can manufacture it stright away without research. Now Im trying to find out how to add more requariments for heavy Plasma

Offline AndO3131

  • Colonel
  • ****
  • Posts: 137
    • View Profile
Re: Ruleset - How to add new items?
« Reply #4 on: May 24, 2013, 10:18:56 pm »
Try replacing in rulesets
Code: [Select]
- name: STR_HEAVY_PLASMA
  cost: 800
  needItem: true
  dependencys:
    []
  unlock:
    []
with something like this:
Code: [Select]
- name: STR_HEAVY_PLASMA
  cost: 800
  needItem: true
  dependencys:
    - STR_HEAVY_LASER
  unlock:
    []

Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Re: Ruleset - How to add new items?
« Reply #5 on: May 24, 2013, 10:46:00 pm »
Working BRILIANT:) Now I can modify whole Tech tree  8)
« Last Edit: May 24, 2013, 10:52:06 pm by Amiga »