For all you Astrology users out there...

by Unknown

Back to Mechanic's Corner.

Unknown2006-06-15 10:11:29
----Ok, I fixed it, working perfectly, but then I broke it thinking I was making it better, now it's back to how it was, heh---

Yea, I was bored, working with Astrology, so I threw together a quick script to make checking peoples nativity easier to see what afflictions you'd give them.

Later I intend to store this to a database file any time you check someones nativity, and make so it subs out the message you get when you cast a planet at someone, showing instead what it was you afflicted them with. But that's later.

Anyhow, this script cleans up the nativity chart when you check someone's nativity to remove unneeded information and to list the afflictions with colors.

CODE
#ONINPUT {nativity (%w)} {targetsnativity = %1}
#COND {{He|She} is %d years old, having been born on the} {#gag}
#COND {Coming of Estarra.} {#gag} {within|param=1}
#COND {On that date:} {#sub {Astrology afflictions for @targetsnativity:}} {within|param=1}
#COND {Sun was in the sign of the %1.} {#IF (%1 = "Volcano" OR %1 = "Dragon") {#Sub {Sun does %ansi(yellow)Fire %ansi(grey)Damage (%1)}} {#IF (%1 = "Twin Crystals") {#Sub {Sun does %ansi(yellow)Psychic %ansi(grey)Damage (%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion") {#Sub {Sun does %ansi(yellow)Cutting %ansi(grey)Damage (%1)}} {#IF (%1 = "Dolphin" OR %1 = "Glacier") {#Sub {Sun does %ansi(yellow)Cold %ansi(grey)Damage (%1)}} {#IF (%1 = "Crocodile" OR %1 = "Burning Censer") {#Sub {Sun does %ansi(yellow)Asphyxiation %ansi(grey)Damage (%1)}} {#IF (%1 = "Spider" OR %1 = "Bumblebee") {#Sub {Sun does %ansi(yellow)Poison %ansi(grey)Damage (%1)}} {#IF (%1 = "Skull") {#Sub {Sun does %ansi(yellow)Blunt %ansi(grey)Damage (%1)}}}}}}}}} {within|param=1}
#COND {Moon was in the sign of the %1.} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#sub {Moon will afflict them with %ansi(high,green)Hallucinate %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#sub {Moon will afflict them with %ansi(yellow)Dizziness %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#sub {Moon will afflict them with %ansi(red)Dementia %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Eroee was in the sign of the %1{.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#sub {Eroee will afflict them with %ansi(high,green)Sensitivity %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#sub {Eroee will afflict them with %ansi(yellow)Peace %ansi(grey)(%1)}} {#IF (%1 = "Crocodile" OR %1 = "Twin Crystals" OR %1 = "Dragon" OR %1 = "Glacier") {#sub {Eroee will afflict them with %ansi(red)Love %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Sidiak was in the sign of the %1{.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Sidiak will afflict them with %ansi(high,green)Stupidity %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Sidiak will afflict them with %ansi(red)Amnesia %ansi(grey)(%1)}} {#IF (%1 = "Crocodile" OR %1 = "Twin Crystals" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Sidiak will afflict them with %ansi(yellow)Confusion %ansi(grey)(%1)}}}}}
#COND {Tarox was in the sign of the %1{.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Tarox will afflict them with %ansi(yellow)Recklessness %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Tarox will afflict them with %ansi(high,green)Asthma %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Tarox will afflict them with %ansi(red)Freeze %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Papaxi was in the sign of the %1{.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Papaxi will afflict them with %ansi(red)Ego Reduction %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Papaxi will afflict them with %ansi(high,green)Health Reduction %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Papaxi will afflict them with %ansi(yellow)Mana Reduction %ansi(grey)(%1)}}}}} {within|param=1}
#COND {Aapek was in the sign of the %1{.| (retrograde).}} {#IF (%1 = "Volcano" OR %1 = "Dolphin" OR %1 = "Burning Censer" OR %1 = "Skull") {#SUB {Aapek will afflict them with %ansi(high,green)Aeon %ansi(grey)(%1)}} {#IF (%1 = "Antlers" OR %1 = "Lion" OR %1 = "Spider" OR %1 = "Bumblebee") {#SUB {Aapek will afflict them with %ansi(yellow)Anorexia %ansi(grey)(%1)}} {#IF (%1 = "Twin Crystals" OR %1 = "Crocodile" OR %1 = "Dragon" OR %1 = "Glacier") {#SUB {Aapek will afflict them with %ansi(red)Pox %ansi(grey)(%1)}}}}} {within|param=1}



You can see it there, or you can just use the attachment.

Edit: Another minor syntax error.

If you have any questions or comments or problems, feel free to add them or message me. I'm going to finish up the database variable part, the stargazing/spheres part, and the other stuff shortly.

Oh and if you didn't get how to use this script, just import it, and check someone's nativity. Good afflictions were colored green, yellow is the second best affliction in a set, and red are poor choices to use.
Unknown2006-06-15 14:12:32
QUOTE(Anonymous @ Jun 15 2006, 06:11 AM) 298426

Oh and if you didn't get how to use this script, just import it, and check someone's nativity. Good afflictions were colored green, yellow is the second best affliction in a set, and red are poor choices to use.
Wow, nice; this almost makes me want to switch to Astrology. I don't understand how anyone can have the patience to code stuff like this though, I sit down, write three or four lines to do something simple and my mind is already wandering to other things. blush.gif
Laysus2006-06-15 19:49:49
Nice biggrin.gif

I'll stick with mine, though >.>
Unknown2006-06-15 20:29:40
What do you use?

That's not entirely finished, since I'm going to tie it in to the Spheres/Rays as well as Stellium and Stargazing and such, to make it easier to tell what it is you are doing, and what it is you want to do exactly.

I hate seeing it strike someone with aapek, I'd rather it say I strike someone with aeon from my point of view.
Laysus2006-06-15 21:27:32
Here's a picture that shows all the relevant bits, really.

Apologise for the picture quality - blame ms paint and jpeg compression.
Unknown2006-06-15 22:32:04
Ah, I just whipped up something in about 5 minutes, simple and quick for general use, since I'll most likely go back to hexes, and astrology is for temporary use.

I have too many windows already so spitting it all out to windows wouldn't work so well for me.
Polion2006-06-16 04:02:44
Hm, I use a semi-similar system (except minus the database, because a) I'm lazy, cool.gif I'm not much of a coder, and c) I'm lazy), except using windows. Kind of like Laysus' picture (yeah, I did *cough* sort of nick the idea, but the coding is all mine - and my windows don't actually work that well and look nasty...). You use the OFFWIN alias, and it brings up a window displaying current sign ray effects and a full nativity planet ray effect (complete with the alias for using each ray on various targets). That way, you can have a complete list just sitting there.

Likewise, I'm working on building a DEFWIN alias that will list all the spheres and their current attributes - let me just take time to say that retrograde is Not Fun to code. Unfortunately, I've only got Volcano at the moment, so it's a tad limited. I toyed with the idea of having a system that would track sign changes through date/time, but that's enormously complicated. The problem I'm having is that starsigns change so suddenly, and since I'm not in the realms ALL the time, I just can't keep records of which planet is in which sign at which time. Likewise, the scrolls in AB ASTROLOGY only give vague estimates as to the... um... damn, forgotten the word... traversing time?
Laysus2006-06-16 10:34:39
All the signs except moon and sun update from stargazing, those are the only two which update automatically.