RE-vigorate

2010/12/12

Function Implementations #1

Filed under: Crusaders of Khazan, Tunnels & Trolls — denormative @ 00:42

Implemented partyShareMoney and partyGatherMoney.

The gather implementation works identically to the original game, but the share in the original game works strangely. My implementation just gathers all the money in the party, divides it by the party members and gives them a share each, with the remainder given to the currently selected person. The original game however seems to just shave off the current party member’s stack of money, giving it to the other characters until a transaction would leave him with less money then the other characters post transaction, in which case the transaction doesn’t occur. This seems unduly fiddly.

Implemented partyShareFood.

Works identical to original.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: