Resource Sink

Parent

The resource sink, also known a A.W.E.S.O.M.E Sink. Points are saved in multiple different tracks. * 0 = Default (Ressources) * 1 = Exploration (DNA Points)

Properties

numCoupons : Int

The number of available coupons to print.

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Num Coupons

trackDefault : Int

The default track for the resource sink.

Details
Flags ReadOnly RuntimeSync RuntimeParallel StaticProp

Display Name

Track Default

trackExploration : Int

The exploration track for the resource sink.

Details
Flags ReadOnly RuntimeSync RuntimeParallel StaticProp

Display Name

Track Exploration

Functions

getCouponProgress (track : Int) → progress : Float

Get the percentage of the progress for the next coupon for the given track.

Details

Flags

RuntimeSync RuntimeParallel MemberFunc

Display Name

Get Coupon Progress

Parameters
Name Type Description

Track track

Int

The track you want to get the number of points till the next coupon.

Return Values
Name Type Description

Progress progress

Float

The percentage of the progress for the next coupon for the given track.

getNumPoints (track : Int) → numPoints : Int

Get the number of available points for a given track.

Details

Flags

RuntimeSync RuntimeParallel MemberFunc

Display Name

Get Num Points

Parameters
Name Type Description

Track track

Int

The track you want to get the number of points for.

Return Values
Name Type Description

Num Points numPoints

Int

The number of points for the given track.

getNumPointsToNextCoupon (track : Int) → numPoints : Int

Get the number of needed points for the next coupon for a given track.

Details

Flags

RuntimeSync RuntimeParallel MemberFunc

Display Name

Get Num Points To Next Coupon

Parameters
Name Type Description

Track track

Int

The track you want to get the number of points till the next coupon.

Return Values
Name Type Description

Num Points numPoints

Int

The number of points needed for the next coupon for the given track.