ArcanePariah / Night-of-the-Dead

9 stars 14 forks source link

Modifying how stats changing behaves. #210

Closed NiktosNOTD closed 6 years ago

NiktosNOTD commented 6 years ago

It's a result of community gdoc. Shape of it also got stamped by Kith why

How it looks: new_looks

Additions. 1.When marine has unspent stats visual indication in form of "!" on both sides of 'Stats' button appears. 2.Stats now no longer lock at 5min into game, now it's start of chapter 2, and for survival wave 11. 3.After stats get locked, ui element dislaying them gets visible information about them being locked.

Changelog: 1.Modified trigger 'StatsUpdateAvailableStatsText' to achieve additions pt.1 - simple ifelse to modify dialog text. 2.Removed timed trigger responsible for previously locking stats. 3.Created new function for locking stats on demand, it also achieves additions pt.3 4.Added calls for newly created 'StatsModifyLock' function as per additions pt.2 5.Changed height of one label in layout to allow displaying message about stats being locked.