javierriveracastro / betteroll-swade

A Better Rolls port for SWADE
GNU General Public License v3.0
16 stars 32 forks source link

Select for rank. #572

Closed grendel111111 closed 1 year ago

grendel111111 commented 1 year ago

Not sure if it is detectable, but is it possible to add a select for rank? So you could have a button only turn up if you are rank X

brunocalado commented 1 year ago

Not sure if it is detectable, but is it possible to add a select for rank? So you could have a button only turn up if you are rank X

I was thinking about that. But, there is one special case

The Summons powers from APG have a list of powers you unlock with rank. Be able to unlock then with something like: >=Veteran would be nice image

grendel111111 commented 1 year ago

If it can't detect >=, You can do that with just a select for button. Use "not" at the lower levels and select for at the higher levels. It is at most 1 extra conditional Novice - no change. Seasoned - not Novice. Veteran - Not Novice, Not Seasoned Heroic - Heroic or Legendary Legendary - Legendary

javierriveracastro commented 1 year ago

Rank is actually a string, so no greater or lesser unless you want it alphabetically ordered.

What we need here is somewhere to check an arbitrary value in the actor data structure.

Maybe something like selector: 'actor_value', value: 'system.advances.rank=Novice'

Afterwards we can add support for > and <

SalieriC commented 1 year ago

Haven't read everything but maybe that helps: Rank is a string but system.advances.value is not, that's a number.

javierriveracastro commented 1 year ago

'actor_value' selector added. I'm closing this.