CaravelGames / drod

The official public repository of Deadly Rooms of Death and DROD RPG
http://caravelgames.com
56 stars 17 forks source link

Add commands to cap image overlay duration #573

Closed Hypexion closed 7 months ago

Hypexion commented 7 months ago

Adds two new image overlay commands, TimeLimit and TurnLimit, that place a restriction on how long an image overlay can live for.

TimeLimit causes the overlay to end after the specified amount of time. Primarily useful for capping the length of dynamic effects where it may be difficult to otherwise set the duration. TurnLimit causes the overlay to end after the specified number of turns pass. Useful for placing a turn limit on an effect that loops forever, in a way that is self-contained.