Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Kaishaku
Beginner


Joined: 01 May 2003
Posts: 20

PostPosted: Sat May 10, 2003 11:01 pm   

%GSL( A) and %GSL( B) codes for GS
 
I spent the afternoon finding out the various values for the GSL A/B codes.

The %GSL(A) codes are listed below. The %GSL(B) codes mirror them. %GSL(A) is for wounds, %GSL(B) are for scars. If you have say a rank 1 head wound and rank 2 neck wound, the GSL(A) value will be the sum of both, IE: %GSL(A)=10. Now someone smarter then I find a way to mimic the wound/scar window in the wizard. :>

Value - Location - Severity


1 head 1
2 head 2
3 head 3
-------
4 neck 1
8 neck 2
12 neck 3
-------
16 right arm 1
32 right arm 2
48 right arm 3
-------
64 left arm 1
128 left arm 2
192 left arm 3
-------
256 Right Leg 1
512 Right Leg 2
768 Right Leg 3
-------
1024 Left Leg 1
2048 Left Leg 2
3072 Left Leg 3
--------
4096 right hand 1
8192 right hand 2
12288 right hand 3
--------
16384 left hand 1
32768 left hand 2
49152 left hand 3
--------
65536 chest 1
131072 chest 2
196608 chest 3
--------
262144 stomach 1
524288 stomach 2
786432 stomach 3
--------
1048576 back 1
2097152 back 2
3145728 back 3
--------
4194304 right eye 1
8388608 right eye 2
12582912 right eye 3
--------
16777216 left eye 1
33554432 left eye 2
50331648 left eye 3
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sun May 11, 2003 2:33 am   
 
These are all 2 bit indicators. You can convert the codes to seperate variables with %mod and %eval. You will have to explain how you want that displayed though.

Proto Code:
#VAR Position %mod(%eval(%gsl(Type)/Base),%eval(Base*3))
Example:
#VAR RightArmWound %mod(%eval(%gsl(A)/16),%eval(16*3))

This could also be done by creating a record variable containing each position and its base.
#LOOPDB @RecordVar {#VAR {%key} %mod(%eval(%gsl(A)/%val),%eval(%val*3))}
Reply with quote
Kaishaku
Beginner


Joined: 01 May 2003
Posts: 20

PostPosted: Sun May 11, 2003 10:58 pm   
 
I almost forgot about nervous system.



67108864 nerves rank 1
134217728 nerves rank 2
201326592 nerves rank 3
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net