ethancdavenport / DriveThru

The Drive-Thru at the End of the Universe: A Fan-Sequel
1 stars 1 forks source link

HoG description #1

Closed ethancdavenport closed 5 years ago

ethancdavenport commented 6 years ago

successfully coded an exception to the description of the ship being printed while the player is in The Ramp, but the lack of a clear positive rule for printing the description has left it mute. probably need to restructure the rule.

ethancdavenport commented 5 years ago

Got this one with the following code:

The Heart of Gold is a backdrop. The Heart of Gold is in The Ramp, The Surface of Magrathea, and The Whale Crater. The description of the Heart of Gold is "[if the player is in The Ramp] You're standing much too close to get a good look at the ship. [otherwise] The Heart of Gold is the absolute cutting edge of starship techology, powered by the Infinite Improbability Drive, created by the best and brightest minds produced by the finest scientific institutions from around the Milky Way. It took these pioneer scientists the better part of a Galactic deca-cycle to even begin to understand the math required to build such an incredible device.

It was stolen by Zaphod and Trillian while Zaphod was President of the Galaxy. [end if]"