Gold, gold, gold!

April 3, 2009

I put in an easy bit of fun, new code today.

I was inspired because a) Verity was back and running around a few days ago, and b) Josh came back and was getting Deya and I all nostalgic yesterday.

Anyway, Verity’s trail of running showed me something behind the scenes that I forgot to finish. That made me think that there should be a default instead of – nothing – in its place. Hence, the coding.

The hole: In some circumstances, I set up good things to happen to people who are being karmically shit on. Don’t ask questions. Just note that sometimes some good things will happen to balance out the bad stuff. Anyway, I left a lot of the “good thing happens here” slots with an annotation of said good thing, but didn’t bother to write the code for a lot of those slots. Basically, if you hit slots 1 through 10 or so, the effect happened, but higher slots just said, sorry, you’re taking a raincheck; forever!

Since it was completely obfuscated from a player’s perspective, they wouldn’t know they were missing out on a good thing that was supposed to happen – but I would see it behind the scenes.

To fill in the this gap, I put together a tidy little bit of code called “gold_storm.” It makes gold fall from the heavens and gives a message and creates some piles of gold. Basically, when you hit a good karma effect and the actual effect is missing, I stuck in this one. Everyone loves gold, right? Yay, doing something easy to avoid doing a bunch of things that are hard!

Additionally, this effect seemed fun enough that I set it up as a powers’ command, also. :)

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 )

Connecting to %s

  • Admin Tools

  • Follow

    Get every new post delivered to your Inbox.