init GitHub version "Hermes 1.0b"
This commit is contained in:
parent
abc4fb2c21
commit
1e06ba1042
59 changed files with 380125 additions and 0 deletions
1440
js/modules/astrology.js
Normal file
1440
js/modules/astrology.js
Normal file
File diff suppressed because it is too large
Load diff
1602
js/modules/hygromanteia.js
Normal file
1602
js/modules/hygromanteia.js
Normal file
File diff suppressed because it is too large
Load diff
401
js/modules/keyofsolomon.js
Normal file
401
js/modules/keyofsolomon.js
Normal file
|
|
@ -0,0 +1,401 @@
|
|||
/**
|
||||
* @preserve Copyright (c) 2018 T. F. Raaion, www.sublunar.space
|
||||
* License MIT: http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
//Defines Calendar Objects and Methods
|
||||
var module_kos_pday = {
|
||||
|
||||
definitions: {
|
||||
name: "Planetary Day",
|
||||
group: {
|
||||
id: "kos",
|
||||
text: "Key of Solomon",
|
||||
info: "true"
|
||||
},
|
||||
actions: [
|
||||
[
|
||||
{
|
||||
"id": "92",
|
||||
"action": "profit",
|
||||
"tags": "business"
|
||||
},
|
||||
{
|
||||
"id": "215",
|
||||
"action": "increase of one's property",
|
||||
"tags": "success business"
|
||||
},
|
||||
{
|
||||
"id": "116",
|
||||
"action": "success",
|
||||
"tags": "success"
|
||||
},
|
||||
{
|
||||
"id": "202",
|
||||
"action": "luck",
|
||||
"tags": "success"
|
||||
},
|
||||
{
|
||||
"id": "203",
|
||||
"action": "for gain",
|
||||
"tags": "success"
|
||||
},
|
||||
{
|
||||
"id": "246",
|
||||
"action": "gain favor of kings and authorities",
|
||||
"tags": "authority"
|
||||
},
|
||||
{
|
||||
"id": "269",
|
||||
"action": "contracting friendships",
|
||||
"tags": "friendship"
|
||||
},
|
||||
{
|
||||
"id": "278",
|
||||
"action": "preparing any operations whatsoever of love, of kindness, and of invisibility",
|
||||
"tags": "love friendship magic"
|
||||
},
|
||||
{
|
||||
"id": "280",
|
||||
"action": "good for all extraordinary, uncommon, and unknown operations",
|
||||
"tags": "anything magic"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "274",
|
||||
"action": "embassies; voyages; envoys; messages; navigation; reconciliation; love; and the acquisition of merchandise by water",
|
||||
"tags": "love authority friendship business water"
|
||||
},
|
||||
{
|
||||
"id": "275",
|
||||
"action": "communicating and speaking with spirits",
|
||||
"tags": "magic"
|
||||
},
|
||||
{
|
||||
"id": "281",
|
||||
"action": "recover stolen property",
|
||||
"tags": "treasure"
|
||||
},
|
||||
{
|
||||
"id": "265",
|
||||
"action": "have familiar spirits visit in sleep",
|
||||
"tags": "magic dreams"
|
||||
},
|
||||
{
|
||||
"id": "282",
|
||||
"action": "preparing anything relaed to water",
|
||||
"tags": "water"
|
||||
},
|
||||
{
|
||||
"id": "300",
|
||||
"action": "works of necromancy",
|
||||
"tags": "dead magic"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "125",
|
||||
"action": "war and victory",
|
||||
"tags": "war"
|
||||
},
|
||||
{
|
||||
"id": "126",
|
||||
"action": "winning over an opponent",
|
||||
"tags": "war"
|
||||
},
|
||||
{
|
||||
"id": "222",
|
||||
"action": "destroying one's enemies and opponents",
|
||||
"tags": "war"
|
||||
},
|
||||
{
|
||||
"id": "230",
|
||||
"action": "destruction",
|
||||
"tags": "war"
|
||||
},
|
||||
{
|
||||
"id": "257",
|
||||
"action": "scatter your enemies",
|
||||
"tags": "war"
|
||||
},
|
||||
{
|
||||
"id": "267",
|
||||
"action": "to bring destruction and to give death, and to sow hatred and discord.",
|
||||
"tags": "harm war"
|
||||
},
|
||||
{
|
||||
"id": "275",
|
||||
"action": "communicating and speaking with spirits",
|
||||
"tags": "magic"
|
||||
},
|
||||
{
|
||||
"id": "277",
|
||||
"action": "summoning souls from Hades, especially of those slain in battle",
|
||||
"tags": "magic war"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "272",
|
||||
"action": "eloquence and intelligence; promptitude in business; science and divination; wonders; apparitions; and answers regarding the future",
|
||||
"tags": "business magic divination science"
|
||||
},
|
||||
{
|
||||
"id": "273",
|
||||
"action": "thefts; writings; deceit; and merchandise",
|
||||
"tags": "harm business"
|
||||
},
|
||||
{
|
||||
"id": "276",
|
||||
"action": "recovering thefts by the means of spirits",
|
||||
"tags": "magic treasure"
|
||||
},
|
||||
{
|
||||
"id": "279",
|
||||
"action": "undertaking experiments relating to games, raillery, jests, sports, and the like",
|
||||
"tags": "luck gambling games"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "268",
|
||||
"action": "obtain honours, acquire riches",
|
||||
"tags": "treasure business"
|
||||
},
|
||||
{
|
||||
"id": "269",
|
||||
"action": "contracting friendships",
|
||||
"tags": "friendship"
|
||||
},
|
||||
{
|
||||
"id": "270",
|
||||
"action": "preserving health",
|
||||
"tags": "healing"
|
||||
},
|
||||
{
|
||||
"id": "271",
|
||||
"action": "arriving at all you can desire",
|
||||
"tags": "anything"
|
||||
},
|
||||
{
|
||||
"id": "278",
|
||||
"action": "preparing any operations whatsoever of love, of kindness, and of invisibility",
|
||||
"tags": "love friendship magic"
|
||||
},
|
||||
{
|
||||
"id": "280",
|
||||
"action": "good for all extraordinary, uncommon, and unknown operations",
|
||||
"tags": "anything magic"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "269",
|
||||
"action": "contracting friendships",
|
||||
"tags": "friendship"
|
||||
},
|
||||
{
|
||||
"id": "63",
|
||||
"action": "love",
|
||||
"tags": "love"
|
||||
},
|
||||
{
|
||||
"id": "186",
|
||||
"action": "travelling",
|
||||
"tags": "travelling journey"
|
||||
},
|
||||
{
|
||||
"id": "278",
|
||||
"action": "preparing any operations whatsoever of love, of kindness, and of invisibility",
|
||||
"tags": "love friendship magic"
|
||||
},
|
||||
{
|
||||
"id": "280",
|
||||
"action": "good for all extraordinary, uncommon, and unknown operations",
|
||||
"tags": "anything magic"
|
||||
},
|
||||
{
|
||||
"id": "283",
|
||||
"action": "preparing lots, poisons, powders for madness and the like",
|
||||
"tags": "protection animals"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "263",
|
||||
"action": "summon the souls from Hades who died a natural death",
|
||||
"tags": "magic"
|
||||
},
|
||||
{
|
||||
"id": "264",
|
||||
"action": "bring good or bad fortune to buildings",
|
||||
"tags": "protection harm building"
|
||||
},
|
||||
{
|
||||
"id": "265",
|
||||
"action": "have familiar spirits visit in sleep",
|
||||
"tags": "magic dreams"
|
||||
},
|
||||
{
|
||||
"id": "266",
|
||||
"action": "cause good or ill in business, possessions, goods, seeds, fruits, and similar things, in order to acquire learning",
|
||||
"tags": "harm business food agriculture education"
|
||||
},
|
||||
{
|
||||
"id": "267",
|
||||
"action": "to bring destruction and to give death, and to sow hatred and discord.",
|
||||
"tags": "harm war"
|
||||
},
|
||||
{
|
||||
"id": "275",
|
||||
"action": "communicating and speaking with spirits",
|
||||
"tags": "magic"
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
property: function(m) {
|
||||
return m.planetary.day.no;
|
||||
},
|
||||
calculate: function(definitions, property) {
|
||||
return definitions.actions[property];
|
||||
}
|
||||
};
|
||||
|
||||
//Defines Calendar Objects and Methods
|
||||
var module_kos_phour = {
|
||||
|
||||
definitions: {
|
||||
name: "Planetary Hour",
|
||||
group: {
|
||||
id: "kos",
|
||||
text: "Key of Solomon",
|
||||
info: "true"
|
||||
},
|
||||
actions: module_kos_pday.definitions.actions
|
||||
},
|
||||
property: function(m) {
|
||||
return m.planetary.hour.no;
|
||||
},
|
||||
calculate: function(definitions, property) {
|
||||
var hourruler = SL.Astro.Logy.planet.order[((property+1+(property*24) - 1) % 7 ) + 1];
|
||||
return definitions.actions[hourruler-1];
|
||||
}
|
||||
};
|
||||
|
||||
//Defines Calendar Objects and Methods
|
||||
var module_kos_astro = {
|
||||
|
||||
definitions: {
|
||||
name: "Astrological Timing",
|
||||
group: {
|
||||
id: "kos",
|
||||
text: "Key of Solomon",
|
||||
info: "true"
|
||||
},
|
||||
actions: [
|
||||
[
|
||||
{
|
||||
"id" : "301",
|
||||
"action" : "Invocation of Spirits, the Works of Necromancy, and the recovery of stolen property",
|
||||
"tags" : "magic dead treasure"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id" : "302",
|
||||
"action" : "love, grace, and invisibility",
|
||||
"tags" : "love good magic"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id" : "303",
|
||||
"action" : "hatred, discord, and destruction",
|
||||
"tags" : "harm war"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id" : "304",
|
||||
"action" : "experiments of a peculiar nature, which cannot be classed under any certain head",
|
||||
"tags" : "magic anything"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id" : "305",
|
||||
"action" : "commence nothing while the Moon is in conjunction with the Sun",
|
||||
"tags" : "nothing"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id" : "306",
|
||||
"action" : "especially auspicious to converse with spirits",
|
||||
"tags" : "magic"
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
property: function(m) {
|
||||
return m;
|
||||
},
|
||||
calculate: function(definitions, property) {
|
||||
var array = [];
|
||||
var hourruler = SL.Astro.Logy.planet.order[((property.planetary.day.no+1+(property.planetary.day.no*24) - 1) % 7 ) + 1];
|
||||
var chaldean = ["void", "moon", "mercury", "venus", "sun", "mars", "jupiter", "saturn"];
|
||||
var sunsign = SL.Astro.Logy.getZodiac(property.ephemeris.sun.deg).sign;
|
||||
var moonsign = SL.Astro.Logy.getZodiac(property.ephemeris.moon.deg).sign;
|
||||
// Mars + Saturn conjunct Moon
|
||||
var combo = [[1,5],[1,7],[1,4]];
|
||||
var orb = 13.0;
|
||||
combo.forEach(function(c, idx) {
|
||||
var diff = eval("property.ephemeris."+chaldean[c[0]]+".deg") - eval("property.ephemeris."+chaldean[c[1]]+".deg");
|
||||
var angle = Math.min( Math.abs(diff), 360-Math.abs(diff) );
|
||||
if ( ( angle <= orb || Math.abs(angle - 90) <= orb || Math.abs(angle - 180) <= orb ) ) {
|
||||
if ( chaldean[c[1]] == "mars") {
|
||||
module_kos_pday.definitions.actions[2].forEach( function(c) {
|
||||
array.push(c);
|
||||
});
|
||||
}
|
||||
if ( chaldean[c[1]] == "saturn") {
|
||||
module_kos_pday.definitions.actions[6].forEach( function(c) {
|
||||
array.push(c);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// Moon combust
|
||||
var orb = 15.0;
|
||||
if ( angle <= orb && chaldean[c[1]] == "sun" ) {
|
||||
array.push(definitions.actions[4][0]);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
// Moon in Earth sign
|
||||
if ( moonsign == 2 || moonsign == 6 || moonsign == 10 )
|
||||
array.push(array.push(definitions.actions[0][0]));
|
||||
|
||||
// Moon in fiery sign
|
||||
if ( moonsign == 1 || moonsign == 5 || moonsign == 9 )
|
||||
array.push(array.push(definitions.actions[1][0]));
|
||||
|
||||
// Moon in watery sign
|
||||
if ( moonsign == 4 || moonsign == 8 || moonsign == 12 )
|
||||
array.push(array.push(definitions.actions[2][0]));
|
||||
|
||||
// Moon in airy sign
|
||||
if ( moonsign == 3 || moonsign == 7 || moonsign == 11 )
|
||||
array.push(array.push(definitions.actions[3][0]));
|
||||
|
||||
// Moon and Sun in airy sign
|
||||
if ( ( moonsign == 3 || moonsign == 7 || moonsign == 11 ) && ( sunsign == 3 || sunsign == 7 || sunsign == 11) && property.planetary.day.no == 4 && hourruler == 4 ) {
|
||||
array.push(array.push(definitions.actions[5][0]));
|
||||
}
|
||||
|
||||
return array;
|
||||
}
|
||||
};
|
||||
688
js/modules/lunarmansions.js
Normal file
688
js/modules/lunarmansions.js
Normal file
|
|
@ -0,0 +1,688 @@
|
|||
/**
|
||||
* @preserve Copyright (c) 2018 T. F. Raaion, www.sublunar.space
|
||||
* License MIT: http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
var module_lunarmansion = {
|
||||
|
||||
/**
|
||||
* plugin module definitions
|
||||
*/
|
||||
definitions: {
|
||||
name: "Mansion", // how it appears in the navbar menu and info modal
|
||||
group: {
|
||||
id: "lunar", // id of the group
|
||||
text: "Lunar" // label of the group's dropdown menu
|
||||
},
|
||||
actions: [ // array of actions and tags for the filters
|
||||
[0],
|
||||
[
|
||||
{
|
||||
"id": "1",
|
||||
"action": "1 Al-Sharatain / Alnath",
|
||||
"tags": "alsharatain alnath"
|
||||
},
|
||||
{
|
||||
"id": "46",
|
||||
"action": "going on a journey",
|
||||
"tags": "journey"
|
||||
},
|
||||
{
|
||||
"id": "231",
|
||||
"action": "taking medicine",
|
||||
"tags": "healing"
|
||||
},
|
||||
{
|
||||
"id": "232",
|
||||
"action": "making a servant flee",
|
||||
"tags": "harm"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "2",
|
||||
"action": "2 Al-Butain / Albotain",
|
||||
"tags": "albutain albotain"
|
||||
},
|
||||
{
|
||||
"id": "233",
|
||||
"action": "dig streams, wells",
|
||||
"tags": "water"
|
||||
},
|
||||
{
|
||||
"id": "234",
|
||||
"action": "finding lost treasures",
|
||||
"tags": "treasure"
|
||||
},
|
||||
{
|
||||
"id": "235",
|
||||
"action": "have plenty of corn",
|
||||
"tags": "agriculture food business"
|
||||
},
|
||||
{
|
||||
"id": "236",
|
||||
"action": "strengthen prisons",
|
||||
"tags": "protection war building captivity"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "3",
|
||||
"action": "3 Al-Thuraiya / Azoraya",
|
||||
"tags": "althuraiya azoraya"
|
||||
},
|
||||
{
|
||||
"id": "236",
|
||||
"action": "strengthen prisons",
|
||||
"tags": "protection war building captivity"
|
||||
}, {
|
||||
"id": "237",
|
||||
"action": "protect sailors at sea",
|
||||
"tags": "sailing protection"
|
||||
}, {
|
||||
"id": "87",
|
||||
"action": "practicing alchemy",
|
||||
"tags": "alchemy"
|
||||
}, {
|
||||
"id": "144",
|
||||
"action": "doing something that has to do with fires",
|
||||
"tags": "fire"
|
||||
}, {
|
||||
"id": "205",
|
||||
"action": "causing love in a couple",
|
||||
"tags": "love couple"
|
||||
}
|
||||
], // 3
|
||||
[
|
||||
{
|
||||
"id": "4",
|
||||
"action": "4 Al-Dabaran / Aldebaran",
|
||||
"tags": "aldabaran aldebaran"
|
||||
},
|
||||
{
|
||||
"id": "238",
|
||||
"action": "make master shrink back from servant",
|
||||
"tags": "harm"
|
||||
}
|
||||
], // 4
|
||||
[
|
||||
{
|
||||
"id": "5",
|
||||
"action": "5 Al-Haqa / Almices",
|
||||
"tags": "alhaqa almices"
|
||||
},
|
||||
{
|
||||
"id": "205",
|
||||
"action": "causing love in a couple",
|
||||
"tags": "love couple"
|
||||
}, {
|
||||
"id": "239",
|
||||
"action": "set boys to learn skills",
|
||||
"tags": "children education"
|
||||
}, {
|
||||
"id": "240",
|
||||
"action": "safeguarding travellers",
|
||||
"tags": "journey protection"
|
||||
}, {
|
||||
"id": "241",
|
||||
"action": "improve buildings",
|
||||
"tags": "building"
|
||||
}
|
||||
], // 5
|
||||
[
|
||||
{
|
||||
"id": "6",
|
||||
"action": "6 Al-Hana / Athaya",
|
||||
"tags": "alhana athaya"
|
||||
},
|
||||
{
|
||||
"id": "242",
|
||||
"action": "bring friendship",
|
||||
"tags": "love friendship"
|
||||
}
|
||||
], // 6
|
||||
[
|
||||
{
|
||||
"id": "7",
|
||||
"action": "7 Al-Dhira / Aldira",
|
||||
"tags": "aldira aldhira"
|
||||
},
|
||||
{
|
||||
"id": "237",
|
||||
"action": "protect sailors at sea",
|
||||
"tags": "sailing protection"
|
||||
}, {
|
||||
"id": "242",
|
||||
"action": "bring friendship",
|
||||
"tags": "love friendship"
|
||||
}, {
|
||||
"id": "243",
|
||||
"action": "increase trade and profit",
|
||||
"tags": "business"
|
||||
}, {
|
||||
"id": "244",
|
||||
"action": "increase crops",
|
||||
"tags": "food agriculture business"
|
||||
}, {
|
||||
"id": "245",
|
||||
"action": "expel flies",
|
||||
"tags": "protection animals"
|
||||
}, {
|
||||
"id": "246",
|
||||
"action": "gain favor of kings and authorities",
|
||||
"tags": "authority"
|
||||
}
|
||||
], // 7
|
||||
[
|
||||
{
|
||||
"id": "8",
|
||||
"action": "8 Al-Nathrah / Annathra",
|
||||
"tags": "alnathrah annathra"
|
||||
},
|
||||
{
|
||||
"id": "46",
|
||||
"action": "going on a journey",
|
||||
"tags": "journey"
|
||||
},
|
||||
{
|
||||
"id": "236",
|
||||
"action": "strengthen prisons",
|
||||
"tags": "protection war building captivity"
|
||||
}, {
|
||||
"id": "242",
|
||||
"action": "bring friendship",
|
||||
"tags": "love friendship"
|
||||
}, {
|
||||
"id": "247",
|
||||
"action": "expel mice and bugs",
|
||||
"tags": "protection animals"
|
||||
}
|
||||
], // 8
|
||||
[
|
||||
{
|
||||
"id": "9",
|
||||
"action": "9 Al-Tarf / Atarf",
|
||||
"tags": "altarf atarf"
|
||||
},
|
||||
{
|
||||
"id": "248",
|
||||
"action": "protect from another man's claims",
|
||||
"tags": "protection business"
|
||||
}
|
||||
], // 9
|
||||
[
|
||||
{
|
||||
"id": "10",
|
||||
"action": "10 Al-Jabhah / Algebha",
|
||||
"tags": "aljabhah algebha"
|
||||
},
|
||||
{
|
||||
"id": "236",
|
||||
"action": "strengthen prisons",
|
||||
"tags": "protection war building captivity"
|
||||
}, {
|
||||
"id": "241",
|
||||
"action": "improve buildings",
|
||||
"tags": "building"
|
||||
}, {
|
||||
"id": "242",
|
||||
"action": "bring friendship",
|
||||
"tags": "love friendship"
|
||||
}, {
|
||||
"id": "249",
|
||||
"action": "cause love between a man and a woman",
|
||||
"tags": "love"
|
||||
}
|
||||
], // 10
|
||||
[
|
||||
{
|
||||
"id": "11",
|
||||
"action": "11 Al-Zubrah / Azobra",
|
||||
"tags": "alzubrah azobra"
|
||||
},
|
||||
{
|
||||
"id": "241",
|
||||
"action": "improve buildings",
|
||||
"tags": "building"
|
||||
}, {
|
||||
"id": "243",
|
||||
"action": "increase trade and profit",
|
||||
"tags": "business"
|
||||
}, {
|
||||
"id": "250",
|
||||
"action": "release captives",
|
||||
"tags": "captivity"
|
||||
}, {
|
||||
"id": "251",
|
||||
"action": "travel safely in hot places",
|
||||
"tags": "journey protection"
|
||||
}, {
|
||||
"id": "252",
|
||||
"action": "increase wealth of allies",
|
||||
"tags": "business friendship"
|
||||
}
|
||||
], // 11
|
||||
[
|
||||
{
|
||||
"id": "12",
|
||||
"action": "12 Al-Sarfah / Acarfa",
|
||||
"tags": "alsarfah acarfa"
|
||||
},
|
||||
{
|
||||
"id": "244",
|
||||
"action": "increase crops",
|
||||
"tags": "food agriculture business"
|
||||
}, {
|
||||
"id": "253",
|
||||
"action": "help allies, authorities, captives and servants",
|
||||
"tags": "aid friendship authorities captivity"
|
||||
}
|
||||
], // 12
|
||||
[
|
||||
{
|
||||
"id": "13",
|
||||
"action": "13 Al-Awwah / Alahue",
|
||||
"tags": "alawwah / alahue"
|
||||
},
|
||||
{
|
||||
"id": "243",
|
||||
"action": "increase trade and profit",
|
||||
"tags": "business"
|
||||
}, {
|
||||
"id": "244",
|
||||
"action": "increase crops",
|
||||
"tags": "food agriculture business"
|
||||
}, {
|
||||
"id": "246",
|
||||
"action": "gain favor of kings and authorities",
|
||||
"tags": "authority"
|
||||
}, {
|
||||
"id": "250",
|
||||
"action": "release captives",
|
||||
"tags": "captivity"
|
||||
}, {
|
||||
"id": "251",
|
||||
"action": "travel safely in hot places",
|
||||
"tags": "journey protection"
|
||||
}
|
||||
], // 13
|
||||
[
|
||||
{
|
||||
"id": "14",
|
||||
"action": "14 Al-Simak / Azimech",
|
||||
"tags": "alsimak azimech"
|
||||
},
|
||||
{
|
||||
"id": "237",
|
||||
"action": "protect sailors at sea",
|
||||
"tags": "sailing protection"
|
||||
}, {
|
||||
"id": "242",
|
||||
"action": "bring friendship",
|
||||
"tags": "love friendship"
|
||||
}, {
|
||||
"id": "249",
|
||||
"action": "cause love between a man and a woman",
|
||||
"tags": "love"
|
||||
}, {
|
||||
"id": "254",
|
||||
"action": "heal the sick by drugs, medicine",
|
||||
"tags": "healing"
|
||||
}, {
|
||||
"id": "255",
|
||||
"action": "destroy lust",
|
||||
"tags": "harm love"
|
||||
}, {
|
||||
"id": "256",
|
||||
"action": "improve luck of kings",
|
||||
"tags": "authority"
|
||||
}
|
||||
], // 14
|
||||
[
|
||||
{
|
||||
"id": "15",
|
||||
"action": "15 Al-Ghafr / Algarfa",
|
||||
"tags": "alghafr algarfa"
|
||||
},
|
||||
{
|
||||
"id": "234",
|
||||
"action": "finding lost treasures",
|
||||
"tags": "treasure"
|
||||
}, {
|
||||
"id": "233",
|
||||
"action": "dig streams, wells",
|
||||
"tags": "water"
|
||||
}, {
|
||||
"id": "257",
|
||||
"action": "scatter your enemies",
|
||||
"tags": "war"
|
||||
}
|
||||
], // 15
|
||||
[0, {
|
||||
"id": "16",
|
||||
"action": "16 Al-Zubana / Azubene",
|
||||
"tags": "alzubana azubene"
|
||||
}], // 16
|
||||
[
|
||||
{
|
||||
"id": "17",
|
||||
"action": "17 Al-Iklil / Alichil",
|
||||
"tags": "aliklil alichil"
|
||||
},
|
||||
{
|
||||
"id": "237",
|
||||
"action": "protect sailors at sea",
|
||||
"tags": "sailing protection"
|
||||
}, {
|
||||
"id": "205",
|
||||
"action": "causing love in a couple",
|
||||
"tags": "love couple"
|
||||
}, {
|
||||
"id": "241",
|
||||
"action": "improve buildings",
|
||||
"tags": "building"
|
||||
}, {
|
||||
"id": "242",
|
||||
"action": "bring friendship",
|
||||
"tags": "love friendship"
|
||||
}, {
|
||||
"id": "249",
|
||||
"action": "cause love between a man and a woman",
|
||||
"tags": "love"
|
||||
}
|
||||
], // 17
|
||||
[
|
||||
{
|
||||
"id": "18",
|
||||
"action": "18 Al-Qalb / Alcalb",
|
||||
"tags": "alqalb alcalb"
|
||||
},
|
||||
{
|
||||
"id": "241",
|
||||
"action": "improve buildings",
|
||||
"tags": "building"
|
||||
}, {
|
||||
"id": "250",
|
||||
"action": "release captives",
|
||||
"tags": "captivity"
|
||||
}], // 18
|
||||
[
|
||||
{
|
||||
"id": "19",
|
||||
"action": "19 Al-Shaulah / Exaula",
|
||||
"tags": "alshaulah exaula"
|
||||
},
|
||||
{
|
||||
"id": "240",
|
||||
"action": "safeguarding travellers",
|
||||
"tags": "journey protection"
|
||||
}, {
|
||||
"id": "244",
|
||||
"action": "increase crops",
|
||||
"tags": "food agriculture business"
|
||||
}], // 19
|
||||
[
|
||||
{
|
||||
"id": "20",
|
||||
"action": "20 Al-Naaim / Nahaym",
|
||||
"tags": "alnaaim nahaym"
|
||||
},
|
||||
{
|
||||
"id": "236",
|
||||
"action": "strengthen prisons",
|
||||
"tags": "protection war building captivity"
|
||||
}, {
|
||||
"id": "240",
|
||||
"action": "safeguarding travellers",
|
||||
"tags": "journey protection"
|
||||
}, {
|
||||
"id": "241",
|
||||
"action": "improve buildings",
|
||||
"tags": "building"
|
||||
}, {
|
||||
"id": "259",
|
||||
"action": "tame vicious beasts",
|
||||
"tags": "animals"
|
||||
}, {
|
||||
"id": "260",
|
||||
"action": "people you want to come to you",
|
||||
"tags": "people"
|
||||
}, {
|
||||
"id": "261",
|
||||
"action": "for allying good men with each other",
|
||||
"tags": "friendship"
|
||||
}], // 20
|
||||
[
|
||||
{
|
||||
"id": "21",
|
||||
"action": "21 Al-Baldah / Elbelda",
|
||||
"tags": "albaldah elbelda"
|
||||
},
|
||||
{
|
||||
"id": "240",
|
||||
"action": "safeguarding travellers",
|
||||
"tags": "journey protection"
|
||||
}, {
|
||||
"id": "243",
|
||||
"action": "increase trade and profit",
|
||||
"tags": "business"
|
||||
}, {
|
||||
"id": "244",
|
||||
"action": "increase crops",
|
||||
"tags": "food agriculture business"
|
||||
}], // 21
|
||||
[
|
||||
{
|
||||
"id": "22",
|
||||
"action": "22 Sa'd al-Dhabih / Caadaldeba",
|
||||
"tags": "sadaldhabih caadaldeba"
|
||||
},
|
||||
{
|
||||
"id": "254",
|
||||
"action": "heal the sick by drugs, medicine",
|
||||
"tags": "healing"
|
||||
}, {
|
||||
"id": "261",
|
||||
"action": "for allying good men with each other",
|
||||
"tags": "friendship"
|
||||
}], // 22
|
||||
[
|
||||
{
|
||||
"id": "23",
|
||||
"action": "23 Sa'd Bula / Caaddebolach",
|
||||
"tags": "sadbula caaddebolach"
|
||||
},
|
||||
{
|
||||
"id": "242",
|
||||
"action": "bring friendship",
|
||||
"tags": "love friendship"
|
||||
}, {
|
||||
"id": "254",
|
||||
"action": "heal the sick by drugs, medicine",
|
||||
"tags": "healing"
|
||||
}, {
|
||||
"id": "261",
|
||||
"action": "for allying good men with each other",
|
||||
"tags": "friendship"
|
||||
}], // 23
|
||||
[
|
||||
{
|
||||
"id": "24",
|
||||
"action": "24 Sa'd al Suud / Caddacohot",
|
||||
"tags": "sadalsuud caddacohot"
|
||||
},
|
||||
{
|
||||
"id": "205",
|
||||
"action": "causing love in a couple",
|
||||
"tags": "love couple"
|
||||
}, {
|
||||
"id": "243",
|
||||
"action": "increase trade and profit",
|
||||
"tags": "business"
|
||||
}, {
|
||||
"id": "262",
|
||||
"action": "soldiers to report victory",
|
||||
"tags": "war"
|
||||
}], // 24
|
||||
[
|
||||
{
|
||||
"id": "25",
|
||||
"action": "25 Sa'd al-Akhbiyah / Caadalhacbia",
|
||||
"tags": "sadalakhbiyah caadalhacbia"
|
||||
},
|
||||
{
|
||||
"id": "241",
|
||||
"action": "improve buildings",
|
||||
"tags": "building"
|
||||
}], // 25
|
||||
[
|
||||
{
|
||||
"id": "26",
|
||||
"action": "26 Al-Fargh al-Awwal / Almiquedam",
|
||||
"tags": "alfarghalawwal almiquedam"
|
||||
},
|
||||
{
|
||||
"id": "236",
|
||||
"action": "strengthen prisons",
|
||||
"tags": "protection war building captivity"
|
||||
}, {
|
||||
"id": "240",
|
||||
"action": "safeguarding travellers",
|
||||
"tags": "journey protection"
|
||||
}, {
|
||||
"id": "241",
|
||||
"action": "improve buildings",
|
||||
"tags": "building"
|
||||
}, {
|
||||
"id": "242",
|
||||
"action": "bring friendship",
|
||||
"tags": "love friendship"
|
||||
}], // 26
|
||||
[
|
||||
{
|
||||
"id": "27",
|
||||
"action": "27 Al-Fargh al-Thani / Algarf almuehar",
|
||||
"tags": "alfarghalthani algarfalmuehar"
|
||||
},
|
||||
{
|
||||
"id": "243",
|
||||
"action": "increase trade and profit",
|
||||
"tags": "business"
|
||||
}, {
|
||||
"id": "254",
|
||||
"action": "heal the sick by drugs, medicine",
|
||||
"tags": "healing"
|
||||
}, {
|
||||
"id": "261",
|
||||
"action": "for allying good men with each other",
|
||||
"tags": "friendship"
|
||||
}], // 27
|
||||
[
|
||||
{
|
||||
"id": "28",
|
||||
"action": "28 Batn al-Hut / Arrexhe",
|
||||
"tags": "batnalhut arrexhe"
|
||||
},
|
||||
{
|
||||
"id": "236",
|
||||
"action": "strengthen prisons",
|
||||
"tags": "protection war building captivity"
|
||||
}, {
|
||||
"id": "205",
|
||||
"action": "causing love in a couple",
|
||||
"tags": "love couple"
|
||||
}, {
|
||||
"id": "240",
|
||||
"action": "safeguarding travellers",
|
||||
"tags": "journey protection"
|
||||
}, {
|
||||
"id": "243",
|
||||
"action": "increase trade and profit",
|
||||
"tags": "business"
|
||||
}, {
|
||||
"id": "244",
|
||||
"action": "increase crops",
|
||||
"tags": "food agriculture business"
|
||||
}], // 28
|
||||
],
|
||||
mansion : {
|
||||
tropical : [
|
||||
"void",
|
||||
"12 Aries 51",
|
||||
"25 Aries 42",
|
||||
"8 Taurus 34",
|
||||
"21 Taurus 25",
|
||||
"4 Gemini 17",
|
||||
"17 Gemini 8",
|
||||
"0 Cancer 0",
|
||||
"12 Cancer 51",
|
||||
"25 Cancer 42",
|
||||
"8 Leo 34",
|
||||
"21 Leo 25",
|
||||
"4 Virgo 17",
|
||||
"17 Virgo 8",
|
||||
"0 Libra 0",
|
||||
"12 Libra 51",
|
||||
"25 Libra 42",
|
||||
"8 Scorpio 34",
|
||||
"21 Scorpio 25",
|
||||
"4 Sagittarius 17",
|
||||
"17 Sagittarius 8",
|
||||
"0 Capricorn 0",
|
||||
"12 Capricorn 51",
|
||||
"25 Capricorn 42",
|
||||
"8 Aquarius 34",
|
||||
"21 Aquarius 25",
|
||||
"4 Pisces 17",
|
||||
"17 Pisces 8",
|
||||
"360 Aries 0"
|
||||
],
|
||||
constellational : [
|
||||
"void",
|
||||
"3 Taurus 0",
|
||||
"18 Taurus 0",
|
||||
"29 Taurus 0",
|
||||
"10 Gemini 0",
|
||||
"24 Gemini 0",
|
||||
"9 Cancer 0",
|
||||
"20 Cancer 0",
|
||||
"7 Leo 0",
|
||||
"18 Leo 0",
|
||||
"28 Leo 0",
|
||||
"12 Virgo 0",
|
||||
"22 Virgo 0",
|
||||
"27 Virgo 0",
|
||||
"24 Libra 0",
|
||||
"4 Scorpio 0",
|
||||
"15 Scorpio 0",
|
||||
"3 Sagittarius 0",
|
||||
"10 Sagittarius 0",
|
||||
"24 Sagittarius 0",
|
||||
"13 Capricorn 0",
|
||||
"16 Capricorn 0",
|
||||
"4 Aquarius 0",
|
||||
"12 Aquarius 0",
|
||||
"23 Aquarius 0",
|
||||
"4 Pisces 0",
|
||||
"23 Pisces 0",
|
||||
"9 Aries 0",
|
||||
"0 Taurus 0",
|
||||
]
|
||||
}
|
||||
},
|
||||
/**
|
||||
* property defines the main set of the astronomical data of the planetary hour used to calculate a filterable definition of operations and tags
|
||||
*/
|
||||
property: function(m) {
|
||||
return m.ephemeris.moon.deg;
|
||||
},
|
||||
/**
|
||||
* calculate receives the definitions from above and the property from above and calculates a return array of objects with id, operation, and tags
|
||||
*/
|
||||
calculate: function(definitions, property) {
|
||||
var mansions = definitions.mansion.tropical;
|
||||
var mansion = 1;
|
||||
while ( property > SL.Astro.Logy.zodToDeg(mansions[mansion], 0) ) mansion++;
|
||||
return definitions.actions[mansion];
|
||||
}
|
||||
};
|
||||
394
js/modules/moon.js
Normal file
394
js/modules/moon.js
Normal file
|
|
@ -0,0 +1,394 @@
|
|||
/**
|
||||
* @preserve Copyright (c) 2018 T. F. Raaion, www.sublunar.space
|
||||
* License MIT: http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
//Defines Calendar Objects and Methods
|
||||
var module_lunarphase = {
|
||||
|
||||
definitions: {
|
||||
core: true,
|
||||
name: "Phase",
|
||||
group: {
|
||||
id: "lunar",
|
||||
text: "Lunar"
|
||||
},
|
||||
actions: [
|
||||
[0],
|
||||
[
|
||||
{
|
||||
"id": "1",
|
||||
"action": "New Moon",
|
||||
"tags": "waning dark"
|
||||
},
|
||||
{
|
||||
"id": "9",
|
||||
"action": "Waning Moon",
|
||||
"tags": "waning"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "2",
|
||||
"action": "Waxing Crescent Moon",
|
||||
"tags": "waxing crescent"
|
||||
},
|
||||
{
|
||||
"id": "10",
|
||||
"action": "Waxing Moon",
|
||||
"tags": "waxing"
|
||||
},
|
||||
{
|
||||
"id": "11",
|
||||
"action": "Crescent Moon",
|
||||
"tags": "crescent"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "3",
|
||||
"action": "First Quarter Moon",
|
||||
"tags": "waxing quarter half"
|
||||
},
|
||||
{
|
||||
"id": "10",
|
||||
"action": "Waxing Moon",
|
||||
"tags": "waxing"
|
||||
},
|
||||
{
|
||||
"id": "13",
|
||||
"action": "Half Moon",
|
||||
"tags": "half"
|
||||
},
|
||||
{
|
||||
"id": "14",
|
||||
"action": "Quarter Moon",
|
||||
"tags": "quarter"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "4",
|
||||
"action": "Waxing Gibbous Moon",
|
||||
"tags": "waxing gibbous"
|
||||
},
|
||||
{
|
||||
"id": "10",
|
||||
"action": "Waxing Moon",
|
||||
"tags": "waxing"
|
||||
},
|
||||
{
|
||||
"id": "12",
|
||||
"action": "Gibbous Moon",
|
||||
"tags": "gibbous"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "5",
|
||||
"action": "Full Moon",
|
||||
"tags": "waxing full"
|
||||
},
|
||||
{
|
||||
"id": "10",
|
||||
"action": "Waxing Moon",
|
||||
"tags": "waxing"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "6",
|
||||
"action": "Waning Gibbous Moon",
|
||||
"tags": "waning gibbous"
|
||||
},
|
||||
{
|
||||
"id": "9",
|
||||
"action": "Waning Moon",
|
||||
"tags": "waning"
|
||||
},
|
||||
{
|
||||
"id": "12",
|
||||
"action": "Gibbous Moon",
|
||||
"tags": "gibbous"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "7",
|
||||
"action": "Last Quarter Moon",
|
||||
"tags": "waning quarter half"
|
||||
},
|
||||
{
|
||||
"id": "9",
|
||||
"action": "Waning Moon",
|
||||
"tags": "waning"
|
||||
},
|
||||
{
|
||||
"id": "13",
|
||||
"action": "Half Moon",
|
||||
"tags": "half"
|
||||
},
|
||||
{
|
||||
"id": "14",
|
||||
"action": "Quarter Moon",
|
||||
"tags": "quarter"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "8",
|
||||
"action": "Waning Crescent Moon",
|
||||
"tags": "waning crescent"
|
||||
},
|
||||
{
|
||||
"id": "9",
|
||||
"action": "Waning Moon",
|
||||
"tags": "waning"
|
||||
},
|
||||
{
|
||||
"id": "11",
|
||||
"action": "Crescent Moon",
|
||||
"tags": "crescent"
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
property: function(m) {
|
||||
return SL.Astro.Nomy.moonPhase(m.lunar);
|
||||
},
|
||||
calculate: function(definitions, property) {
|
||||
return definitions.actions[property];
|
||||
}
|
||||
};
|
||||
|
||||
//Defines Calendar Objects and Methods
|
||||
var module_lunarday = {
|
||||
|
||||
definitions: {
|
||||
core: true,
|
||||
name: "Day",
|
||||
group: {
|
||||
id: "lunar",
|
||||
text: "Lunar"
|
||||
},
|
||||
actions: [
|
||||
[0],
|
||||
[
|
||||
{
|
||||
"id": "1",
|
||||
"action": "Lunar Day 1",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "2",
|
||||
"action": "Lunar Day 2",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "3",
|
||||
"action": "Lunar Day 3",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "4",
|
||||
"action": "Lunar Day 4",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "5",
|
||||
"action": "Lunar Day 5",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "6",
|
||||
"action": "Lunar Day 6",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "7",
|
||||
"action": "Lunar Day 7",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "8",
|
||||
"action": "Lunar Day 8",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "9",
|
||||
"action": "Lunar Day 9",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "10",
|
||||
"action": "Lunar Day 10",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "11",
|
||||
"action": "Lunar Day 11",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "12",
|
||||
"action": "Lunar Day 12",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "13",
|
||||
"action": "Lunar Day 13",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "14",
|
||||
"action": "Lunar Day 14",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "15",
|
||||
"action": "Lunar Day 15",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "16",
|
||||
"action": "Lunar Day 16",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "17",
|
||||
"action": "Lunar Day 17",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "18",
|
||||
"action": "Lunar Day 18",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "19",
|
||||
"action": "Lunar Day 19",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "20",
|
||||
"action": "Lunar Day 20",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "21",
|
||||
"action": "Lunar Day 21",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "22",
|
||||
"action": "Lunar Day 22",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "23",
|
||||
"action": "Lunar Day 23",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "24",
|
||||
"action": "Lunar Day 24",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "25",
|
||||
"action": "Lunar Day 25",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "26",
|
||||
"action": "Lunar Day 26",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "27",
|
||||
"action": "Lunar Day 27",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "28",
|
||||
"action": "Lunar Day 28",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "29",
|
||||
"action": "Lunar Day 29",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "30",
|
||||
"action": "Lunar Day 30",
|
||||
"tags": ""
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
property: function(m) {
|
||||
return m.lunar.day;
|
||||
},
|
||||
calculate: function(definitions, property) {
|
||||
return definitions.actions[property];
|
||||
}
|
||||
};
|
||||
194
js/modules/pgm.js
Normal file
194
js/modules/pgm.js
Normal file
|
|
@ -0,0 +1,194 @@
|
|||
/**
|
||||
* @preserve Copyright (c) 2018 T. F. Raaion, www.sublunar.space
|
||||
* License MIT: http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
//Defines Calendar Objects and Methods
|
||||
var module_pgm_lsign = {
|
||||
|
||||
definitions: {
|
||||
name: "Lunar Sign",
|
||||
group: {
|
||||
id: "pgm",
|
||||
text: "PGM",
|
||||
info: "true"
|
||||
},
|
||||
actions: [
|
||||
[
|
||||
{
|
||||
"id": "1",
|
||||
"action": "fire divination or love charm (VII.284ff)",
|
||||
"tags": "divination love"
|
||||
},
|
||||
{
|
||||
"id": "21",
|
||||
"action": "Oracle statue of Hermes (V.370ff)",
|
||||
"tags": "divination animation"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "2",
|
||||
"action": "Incantation to a lamp (VII.284ff)",
|
||||
"tags": "divination"
|
||||
},
|
||||
{
|
||||
"id": "22",
|
||||
"action": "Ring for success, favour and victory (animation) (XII.270ff)",
|
||||
"tags": "animation success"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "3",
|
||||
"action": "Spell for winning favour (VII.284ff)",
|
||||
"tags": "luck"
|
||||
},
|
||||
{
|
||||
"id": "13",
|
||||
"action": "Perform spells of binding (III.275ff)",
|
||||
"tags": "binding harm"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "4",
|
||||
"action": "Making Phylacteries (VII.284ff)",
|
||||
"tags": "protection"
|
||||
},
|
||||
{
|
||||
"id": "14",
|
||||
"action": "Perform spells of reconciliation, air divination (III.275ff)",
|
||||
"tags": "divination friendship reconciliation"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "5",
|
||||
"action": "Rings or binding spells (VII.284ff)",
|
||||
"tags": "binding harm protection"
|
||||
},
|
||||
{
|
||||
"id": "15",
|
||||
"action": "Making an amulet against gout (xiv.1003ff)",
|
||||
"tags": "healing"
|
||||
},
|
||||
{
|
||||
"id": "21",
|
||||
"action": "Oracle statue of Hermes (V.370ff)",
|
||||
"tags": "divination animation"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "6",
|
||||
"action": "Everything is rendered obtainable (VII.284ff)",
|
||||
"tags": "anything"
|
||||
},
|
||||
{
|
||||
"id": "16",
|
||||
"action": "Anything is obtainable, bowl divination, as you wish (III.275ff)",
|
||||
"tags": "anything divination"
|
||||
},
|
||||
{
|
||||
"id": "21",
|
||||
"action": "Oracle statue of Hermes (V.370ff)",
|
||||
"tags": "divination animation"
|
||||
},
|
||||
{
|
||||
"id": "22",
|
||||
"action": "Ring for success, favour and victory (animation) (XII.270ff)",
|
||||
"tags": "animation success"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "7",
|
||||
"action": "Necromancy (VII.284ff)",
|
||||
"tags": "necromancy"
|
||||
},
|
||||
{
|
||||
"id": "17",
|
||||
"action": "Perform invocation... spell of release... necromancy (III.275ff)",
|
||||
"tags": "invocation necromancy release"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "8",
|
||||
"action": "Anything inflicting evil (VII.284ff)",
|
||||
"tags": "harm war"
|
||||
},
|
||||
{
|
||||
"id": "22",
|
||||
"action": "Ring for success, favour and victory (animation) (XII.270ff)",
|
||||
"tags": "animation success"
|
||||
},
|
||||
{
|
||||
"id": "23",
|
||||
"action": "send a star ... down (xiv.1180f)",
|
||||
"tags": ""
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "9",
|
||||
"action": "Invocations and incantations to the Sun and the Moon (VII.284ff)",
|
||||
"tags": "prayer invocation"
|
||||
},
|
||||
{
|
||||
"id": "18",
|
||||
"action": "Conduct business (III.275ff)",
|
||||
"tags": "business"
|
||||
},
|
||||
{
|
||||
"id": "21",
|
||||
"action": "Oracle statue of Hermes (V.370ff)",
|
||||
"tags": "divination animation"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "10",
|
||||
"action": "Say whatever you wish for best results (VII.284ff)",
|
||||
"tags": "anything"
|
||||
},
|
||||
{
|
||||
"id": "19",
|
||||
"action": "Do what is appropriate (III.275ff)",
|
||||
"tags": "anything"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "11",
|
||||
"action": "For a love charm (VII.284ff)",
|
||||
"tags": "love"
|
||||
},
|
||||
{
|
||||
"id": "22",
|
||||
"action": "Ring for success, favour and victory (animation) (XII.270ff)",
|
||||
"tags": "animation success"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "12",
|
||||
"action": "For foreknowledge (VII.284ff)",
|
||||
"tags": "divination"
|
||||
},
|
||||
{
|
||||
"id": "20",
|
||||
"action": "OIÔ rite... or love charm (III.275ff)",
|
||||
"tags": "love"
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
property: function(m) {
|
||||
return SL.Astro.Logy.getZodiac(m.ephemeris.moon.deg).sign;
|
||||
},
|
||||
calculate: function(definitions, property) {
|
||||
return definitions.actions[property-1];
|
||||
}
|
||||
};
|
||||
94
js/modules/planetary.js
Normal file
94
js/modules/planetary.js
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
/**
|
||||
* @preserve Copyright (c) 2018 T. F. Raaion, www.sublunar.space
|
||||
* License MIT: http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
//Defines Calendar Objects and Methods
|
||||
var module_planetary_hour_ruler = {
|
||||
|
||||
definitions: {
|
||||
core: true,
|
||||
name: "Hour",
|
||||
group: {
|
||||
id : "planetary",
|
||||
text: "Planetary Time"
|
||||
},
|
||||
actions: [
|
||||
[0],
|
||||
[
|
||||
{
|
||||
"id": "4",
|
||||
"action": "Sun / Sol / Helios / Apollo",
|
||||
"tags": "sun sol helios success promotion fame wealth prosperity music athleticism ego self power pride authority leadership creativity spontaneity health vitality"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "7",
|
||||
"action": "Moon / Luna / Selene / Artemis",
|
||||
"tags": "moon luna selene illusion glamour sleep peace beauty prophesy dreams magic emotions travel fertility insight wisdom tenderness unconscious habit rhythm memory mood nurture home melancholy"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "3",
|
||||
"action": "Mars / Ares",
|
||||
"tags": "mars ares courage victory success strength conviction rebellion defense protection war sex confidence assertiveness aggression energy strength ambition impulsiveness malefic"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "6",
|
||||
"action": "Mercury / Hermes",
|
||||
"tags": "mercury hermes communication art transportation change luck gambling fortune chance creativity travel prudent crafty rationality reasoning adaptability variability"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "2",
|
||||
"action": "Jupiter / Zeus",
|
||||
"tags": "jupiter zeus abundance protection prosperity strength wealth healing charming hunting growth expansion prosperity fortune travel business education religion law freedom exploration gambling"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "5",
|
||||
"action": "Venus / Aphrodite",
|
||||
"tags": "venus aphrodite love birth fertility romance gentleness pregnancy friendship passion sex amorousness harmony resilience beauty refinement solidarity affection equality comfort partnership art fashion"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"id": "1",
|
||||
"action": "Saturn / Kronos",
|
||||
"tags": "saturn kronos banishing protection wisdom spirituality cleansing magic death cursing industrious melancholy tranquility malefic focus precision nobility ethics civility goals career achievements dedication authority hierarchy stability virtues productiveness lessons destiny tradition structure balance karma justice limitations restrictions boundaries anxiety tests practicality reality time duty commitment responsibility endurance hardship planning foresight"
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
property: function(m) {
|
||||
return m.planetary;
|
||||
},
|
||||
calculate: function(definitions, property) {
|
||||
return definitions.actions[SL.Astro.Logy.planet.order[((property.hour.no+1+(property.day.no*24) - 1) % 7 ) + 1]];
|
||||
}
|
||||
};
|
||||
|
||||
var module_planetary_day_ruler = {
|
||||
|
||||
definitions: {
|
||||
core: true,
|
||||
name: "Day",
|
||||
group: {
|
||||
id : "planetary",
|
||||
text: "Planetary Time"
|
||||
},
|
||||
actions: module_planetary_hour_ruler.definitions.actions
|
||||
},
|
||||
property: function(m) {
|
||||
return m.planetary.day.no;
|
||||
},
|
||||
calculate: function(definitions, property) {
|
||||
return definitions.actions[property+1];
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue