CrystalMUSH

Disclaimer

Samira makes no garantees about the contents of this guide. She has endeavored to catalogue the heavily soft-coded CrystalMush to allow players, either dinos or newbies, to utilize the elegant code efficiently.

Areas

Building


A Green Crystal

Claims - Crystal Ranges


Parents and their uses

sunset
Parent Room #100
This generic parent has the attributes for vision as well as the code for time_of_day.
JPF Parent #577
If your room/area is within the confines of the Joslin Plateau Facility it must be parented to the JPF parent. It has, not only vision and time_of_day, but season, weather and storm descriptions. Additionally, you must have the attribute &exposure set on the room so the proper messages are rec'd during the ever changing Ballybran weather.

Master Claim Object #354
Essential for building a claim. In the claim nexus, you @clone/pearent this object and rename it for your claim. The basic_desc is the overall desc of the claim. The local_desc is the room-specific description and can include the time_of_day code. Other claim-specific code is accessible.

Tide parent #3527
This is used for beach or coastal areas on Ballybran. Really, all you have to do is access the attributes, #3527/tide_level and #3527/tide_direc to get the current status of the tide.
Global Device #462
This is Samira's personal parent. It has the code for vision, wearing, and medical state. You can use it if you want and then customize the individual attributes to have more detail.

Code explanations

Normal vs. Enhanced Vision

elock(#318, %#)
Returns 1 if the object is a guild member, 0 if not.
[switch(elock(#318, %#), 0, [s(v(desc_normal))],[s(v(desc_enhance))])]
This code in any @desc will look at the guild member lock. All adapted folks will see your enhanced description and non-members will see your normal description. You can use it in other ways if you wish.
As you are probably aware, the enhanced description is generally more detailed and vivid than the normal one to reflect the symbionts' effects on a humanoid. Specific attributes are:

Wearing - Clothes

[switch(elock(#318,%#),0,[v(wearing_normal)],[v(wearing_enhance)])]
Shows the clothes your wearing in either normal or enhanced mode.

Medical state

[v(medical_state)]
This is essential for your character. Injuries are a way of life for guild members, specially singers. This state may be set by you at first. Afterwards, several hazards will automatically set this attribute on you. Meditechs can heal you.

Time of Day

[v(time_of_day)]
Returns the time of day on Ballybran. This code bit requires that the object/player be somewhere down the line parented to the computer #4. Most parents are set appropriately.
[s(v(desc_[v(time_of_day)]))]
It's specific attributes can be:
  • &desc_morning
  • &desc_afternoon
  • &desc_evening
  • &desc_night

Season

[season(ballybran)]
Returns the season on Ballybran.
[v([season(ballybran)]_desc)]
Wow, if you're really gung-ho and want to include this in the claim areas or other outside locations, feel free. The other use I can think of is for holos (pictures) that people use to personalize their quarters.
  • &summer_desc
  • &fall_desc
  • &winter_desc
  • &spring_desc

Weather/Storms

Satellite view of a mach storm on the surface of Ballybran.

[v(storm_desc)]
This actual code is set just about everywhere and you probably don't have to set it yourself. If you have the attribute set, when a storm is triggered, it'll automatically play this attribute for the duration.

Tide Code

[u(#3527/tide_level)]
Returns the state of the tide.
[u(desc_[u(#3527/tide_level)])] (succ,osucc,drop) for an EXIT Then you have to put in your own attributes like on the room or exit that is evaluating the tide status.

Credit goes to Lequoal for the truly remarkable calculations of Ballybran's three moons and the subsequent weather patterns (like passover).


CrystalMush Homepage
Credit: Samira@CrystalMush
CrystalMUSH: crystal.tinymush.org 6886
Comments to: Gyles@CrystalMush
gyles19@nospam.visi.com
This page was last updated Saturday, 14-Mar-1998 10:15:25 CST.