Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def get_strength(self, obj):
- # Starting sentence about the planet's position
- dignities = f"The {obj.planet} in {obj.sign} "
- # List to hold different status parts, easier to join later.
- status_parts = []
- # Check each condition and add to the list
- if essential.ruler(obj.sign):
- status_parts.append(f"rules {obj.sign}, indicating a strong alignment with its natural qualities")
- if essential.exalt(obj.sign):
- status_parts.append(f"is exalted, enhancing its positive attributes")
- if essential.fall(obj.sign):
- status_parts.append(f"is in fall, which may challenge its expression and weaken its effects")
- if essential.detriment(obj.sign):
- status_parts.append(f"is in detriment, facing difficulties in fully manifesting its characteristics")
- if essential.dayTrip(obj.sign):
- status_parts.append("is strong in day triplicity, favoring its energies during the day")
- elif essential.nightTrip(obj.sign):
- status_parts.append("is strong in night triplicity, favoring its energies during the night")
- if essential.term(obj.sign, obj.lon):
- status_parts.append(f"is in its term, gaining some specific strengths in certain degrees of {obj.sign}")
- if essential.face(obj.sign, obj.lon):
- status_parts.append(f"is in its face, which provides a minor dignity at these degrees")
- if essential.isPeregrine(obj.planet, obj.sign, obj.lon):
- status_parts.append("is peregrine, lacking any essential dignity and thus may feel out of place or ineffective")
- # Joining all the status parts with proper punctuation
- if status_parts:
- dignities += "demonstrates that " + "; ".join(status_parts)
- else:
- dignities += "does not have any strong essential dignities, which might indicate a lack of significant influence or a neutral position"
- # Finish with a period to complete the sentence
- return dignities + "."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement