Checking a player's skill to preform task

For all talk about quests. Creating, testing, bugs, and development progress.
User avatar
Kamer
Posts: 342
Joined: Mon Mar 05, 2018 9:26 pm

Re: Checking a player's skill to preform task

Post by Kamer » Wed Mar 20, 2019 6:14 am

That would be next update right?

User avatar
Interkarma
Posts: 4833
Joined: Sun Mar 22, 2015 1:51 am

Re: Checking a player's skill to preform task

Post by Interkarma » Wed Mar 20, 2019 6:27 am

Yes. I'm aiming for another release by end of March, and I'll include this as part of that update.

User avatar
Interkarma
Posts: 4833
Joined: Sun Mar 22, 2015 1:51 am

Re: Checking a player's skill to preform task

Post by Interkarma » Wed Mar 27, 2019 10:00 am

I've implemented a minimum attribute trigger with the following signature:

Code: Select all

when attribute attributeName is at least minAttributeValue
Here's an example task that will trigger when character's Strength is 60 or greater:

Code: Select all

_attributeTest_ task:
	when attribute Strength is at least 60
	say 1045
Attribute names are drawn from the DFCareer.Stats enumeration:

Code: Select all

public enum Stats
{
    None = -1,
    Strength = 0,
    Intelligence = 1,
    Willpower = 2,
    Agility = 3,
    Endurance = 4,
    Personality = 5,
    Speed = 6,
    Luck = 7,
}
This will be in next round of builds, which should drop this weekend.

User avatar
Jay_H
Posts: 2714
Joined: Tue Aug 25, 2015 1:54 am

Re: Checking a player's skill to preform task

Post by Jay_H » Wed Mar 27, 2019 1:46 pm

Excellent! Thank you!

User avatar
Kamer
Posts: 342
Joined: Mon Mar 05, 2018 9:26 pm

Re: Checking a player's skill to preform task

Post by Kamer » Wed Mar 27, 2019 5:56 pm

Oh yes, this is going to be fantastic.

Post Reply