Template talk:Trait: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
(→‎PREREQS2: new section)
(→‎'flags': new section)
Line 8: Line 8:


In the json files there can be multiple prereqs. For the preconditions to be valid, it needs one out of each category. I ran into a mutation that had a secondary prereq list. So I added PREREQS2 to the template. --[[User:Soyweiser|Soyweiser]] ([[User talk:Soyweiser|talk]]) 06:20, 14 July 2015 (PDT)
In the json files there can be multiple prereqs. For the preconditions to be valid, it needs one out of each category. I ran into a mutation that had a secondary prereq list. So I added PREREQS2 to the template. --[[User:Soyweiser|Soyweiser]] ([[User talk:Soyweiser|talk]]) 06:20, 14 July 2015 (PDT)
== 'flags' ==
The trait system allows for certain flags to show which mutation path they belong to. Like shown here [[Full_Night_Vision]], there are some issues with it. For one, they are not documented right now, and some are a bit unexpected. Like "bionic={name of bionic}" and mutation=1. These are not set in a lot of different mutations. My suggestion is to remove the 'mutation' one and add a 'trait' one. As traits seem to be less common that mutations. However this runs into the problem that some starting traits are profession and challenge dependant.
Also isn't a tag that shows if a trait is a threshold mutation. This will need to be added. --[[User:Soyweiser|Soyweiser]] ([[User talk:Soyweiser|talk]]) 13:13, 14 July 2015 (PDT)

Revision as of 20:13, 14 July 2015

Template rewrite

Like Kenoxite said, this template needs a major rewrite. Unfortunately this is way beyond my capabilities to pull off, or at least at the moment anyway. I did some experimenting and am just glad I didn't break it completely. It should be fine for now though since it no longer displays "Trait" for everything at least.JayJayForce (talk) 03:10, 7 February 2015 (PST)

I'm not at all familiar with 'em and appreciate you putting in the effort to bring us up to spec. No worries on my end--I'd be inclined to pin a forum title on you if you spent more time there. KA101 (talk) 11:15, 7 February 2015 (PST)

PREREQS2

In the json files there can be multiple prereqs. For the preconditions to be valid, it needs one out of each category. I ran into a mutation that had a secondary prereq list. So I added PREREQS2 to the template. --Soyweiser (talk) 06:20, 14 July 2015 (PDT)

'flags'

The trait system allows for certain flags to show which mutation path they belong to. Like shown here Full_Night_Vision, there are some issues with it. For one, they are not documented right now, and some are a bit unexpected. Like "bionic={name of bionic}" and mutation=1. These are not set in a lot of different mutations. My suggestion is to remove the 'mutation' one and add a 'trait' one. As traits seem to be less common that mutations. However this runs into the problem that some starting traits are profession and challenge dependant.

Also isn't a tag that shows if a trait is a threshold mutation. This will need to be added. --Soyweiser (talk) 13:13, 14 July 2015 (PDT)