v4.24.0 - More Power! Objective Progress Expressions & more
- [+] New progress system: dynamic required progress (uses expressions now)
- [^] Performance & stability improvements for string replacements in translations
- [^] Add ActiveObjective as possible argument for objective task descriptions (can break API)
- [^] Greatly improve expression suggestions for the arguments with number expressions
Examples for progress expressions:
/qa edit questname objectives add BreakBlocks dirt RandomNumberBetweenRange(min:1,max:50)
This makes it so, when you start the quest, you have to break between 1 and 50 dirt blocks. It basically randomizes the number of blocks you have to break for this objective (it gets randomized only once when you take the quest).
/qa edit questname objectives add BreakBlocks grass_block TagInteger(TagName:housestarkreputation)+1
This makes it so the amount of grass blocks you have to break is equal to what's currently saved in the player's housestarkreputation tag (more on that in the tutorials section of the docs) + 1. Yes, you can even do maths in these expressions 😄