This patch makes the shield configuration for each ship configurable. This means that you can pick one of 5 pre-defined arrangements by setting CF_SHIELD_CONFIG to a number from 0 to 4. Read the source/experiment to find out the arrangements. (Classic 4 shield. Classic 6 shield. Cubic 6 shield. Orange 4 shield. Orange 4 shield rotated 45 degrees). I'll draw a diagram at some point.
To complement this, there are 4 new spacecalls:
|shd_config_name||Name of current shield configuration|
|shd_short_name(shield)||Short name of current shield configuration|
|shd_full_name(shield)||Full name of current shield configuration|
|shd_number||number of shields in the current shield configuration|
This patch also updates the additional ANSI I added in S70921 so that the game should at least compile on TinyMush, though I believe ANSI support is not provided.
NOTE: THE GAME SOFTCODE NEEDS TO BE UPDATED TO COPE WITH MULTIPLE SHIELD ARRANGEMENTS. SEE THE CHANGES FILE AFTER APPLYING THE PATCH
This code is provided as a service to the community using the Portable Space Code. By using this code, you agree that the author is not responsible in any way for any damage caused.