Also check out EDDI 3.0.0b1.There r lot of new things in logs.My favs is having true false values for VA which helps simplify a lot of command using true/false instead values.
Hi!Just want to ask a fast quiestion.Im currently process to translate EDDI in my own native language and so i got hold on a nice TTS for that purpose also!
however i cant managed to find 2 things for some reasons which i cant figure it out on my own so might someone here who has better view i side EDDI?
First thing i cant find in EDDI to translate is where can i find the system govermant type to change it to read out on TTS in my language and 2nd pretty similar.Also in system report when it is report the population "littel over....etc etc".
So is there anyway around it or not ATM?
And if so what would it be?
{_ Set uselist to "white" or "black", depending on which list you want to use to filter people _}
{_ "white" will only allow notifications from people in this list (e.g. "User1", "User2", & "User3") _}
{_ "black" will allow all notification EXCEPT those on this list (e.g. "User4", "User5", & "User6") _}
{_ to allow all notifications, you may also use an empty blacklist (i.e. "set blacklist to []" _}
{set uselist to "black"}
{set whitelist to ["User1", "User2", "User3"]}
{set blacklist to ["User4", "User5", "User6"]}
{if event.status = Requested:
{event.name} has sent a friends request.
|elif event.status = Declined:
You have declined a friends request from {event.name}.
|elif event.status = Added:
You have added {event.name} to your friends list.
|elif event.status = Lost:
{event.name} has removed you from their friends list.
}
{_ Set temperature preferences _}
{set celsius to 1} {_ Sets temperature reporting to Celsius (if set to 1) or Fahrenheit (if set to 0) _}
{if celsius:
{set tempscale to OneOf("celsius", "centrigrade")}
|elif !celsius:
{set tempscale to "Fahrenheit"}
}
{if reportbody.name:
{_ Atmosphere _}
{_ Convert pressure to earth atmospheres _}
{set press to (reportbody.pressure / 101325)}
{if press < 0.1:
{set pressdesc to OneOf("trace gas", "super thin")}
|elif press < 0.25:
{set pressdesc to "very thin"}
|elif press < 0.5:
{set pressdesc to "thin"}
|elif press < 2:
{set pressdesc to ""}
|elif press < 10:
{set pressdesc to "thick"}
|elif press < 50:
{set pressdesc to OneOf("dense", "very thick")}
|elif press < 100:
{set pressdesc to OneOf("very dense", "super thick")}
|elif press >= 100:
{set pressdesc to OneOf("crushing", "super dense")}
}
{_ Remove "atmosphere" from atmosphere descriptions _}
{set atmo to token(reportbody.atmosphere, "atmosphere", "")}
{if find(reportbody.bodyclass, "giant") >= 0:
{_ Handle giants _}
{if find(reportbody.bodyclass, "Class") >= 0:
{set sudarsky to Occasionally(3, "Sud-dar-ski")}
}
{set planetdesc to OneOf("{sudarsky} Gas giants like this one have", "This {sudarsky} gas giant has")}
{if find(reportbody.bodyclass, "class V") >= 0:
{if celsius:
{set tempmin to 1100}
|else:
{set tempmin to 2100}
}
{planetdesc} temperatures above {Humanise(tempmin)} degrees {tempscale},
{OneOf("and", "with", "forming")} a dense cloud layer of {OneOf("vaporized silicates and iron", "silicate and iron vapors")}.
|elif find(reportbody.bodyclass, "class IV") >= 0:
{if celsius:
{set tempmin to 81}
{set tempmax to 630}
|else:
{set tempmin to 171}
{set tempmax to 1160}
}
{planetdesc} temperatures {OneOf("of", "ranging")} between {Humanise(tempmin)} and {Humanise(tempmax)} degrees {tempscale},
{OneOf("and", "with", "forming")} a dense cloud layer of {OneOf("alkali metals vapors", "vaporized alkali metals")}.
|elif find(reportbody.bodyclass, "class III") >= 0:
{if celsius:
{set tempmin to -22}
{set tempmax to 80}
|else:
{set tempmin to -9}
{set tempmax to 170}
}
{planetdesc} surface temperatures {OneOf("of", "ranging")} between {Humanise(tempmin)} and {Humanise(tempmax)} degrees {tempscale},
a temperature at which {OneOf("no gaseous elements will form any clouds", "suitable chemicals are not present in the atmosphere to form a sustained cloud layer", "the atmosphere cannot sustain a persistent cloud layer")}.
|elif find(reportbody.bodyclass, "class II") >= 0:
{if celsius:
{set tempmin to -119}
{set tempmax to -23}
|else:
{set tempmin to -189}
{set tempmax to -10}
}
{planetdesc} surface temperatures {OneOf("of", "ranging")} between {Humanise(tempmin)} and {Humanise(tempmax)} degrees {tempscale},
{OneOf("and", "with", "forming")} a dense cloud layer of water vapors.
|elif find(reportbody.bodyclass, "class I") >= 0:
{if celsius:
{set tempmax to -120}
|else:
{set tempmax to -190}
}
{planetdesc} surface temperatures of {Humanise(tempmax)} degrees {tempscale}
{Occasionally(2, OneOf(", or less,", ", at most,"))}
{OneOf("and", "with", "forming")} a dense cloud layer of ammonia vapor.
|else:
This is a {reportbody.bodyclass}.
}
|elif (reportbody.pressure <= 10 || len(atmo) = 0 || atmo = "" || !reportbody.atmosphere) && !find(reportbody.bodyclass, "giant"):
{_ Handle bodies with no atmosphere _}
{Occasionally(4, OneOf("There is no atmosphere.", "It is devoid of any atmosphere.", "The years have scoured it clean of any atmosphere."))}
|else:
{_ Handle bodies with atmospheres _}
{if find(atmo, "rich") >= 0:
{set element to token(atmo, "rich", "")}
{set element to token(element, "thick", "")}
{set element to token(element, "hot", "")}
{set desc to OneOf("{reportbody.name} has a ", "I detect a ", "There is a ", "It is a", "Sensors detect a")}
{OneOf("{desc} {pressdesc} {atmo} atmosphere", "The {pressdesc} atmosphere is {element}", "The {pressdesc} atmosphere is rich in {element}", "The {pressdesc} atmosphere contains high levels of {element} vapour")}
|elif find(atmo, "vapour") >= 0:
{set atmo to token(atmo, "vapour ", "vapour")}
{OneOf("The {pressdesc} atmosphere is composed of {atmo}s", "The {pressdesc} atmosphere is rich in {atmo}s", "The {pressdesc} atmosphere contains high levels of {atmo}s")}
|else:
{set mostly to OneOf("primarily", "mainly", "mostly")}
{OneOf("The {pressdesc} atmosphere is composed {mostly} of", "Most prevalent in the {pressdesc} atmosphere is")}
{atmo}
}
with a surface pressure of {Humanise(press)} Earth atmospheres
{if reportbody.temperature:
{if celsius:
{set temp to round(reportbody.temperature - 273, 0)}
|elif !celsius:
{set temp to round((reportbody.temperature - 273)*9/5 + 32, 0)}
}
and an average surface temperature of {Humanise(temp)} degrees {tempscale}.
}
}
}
I'm late to the party on this one, but just in case... try putting quotes around your strings.Been trying to do a little ((Friends Status)) event but I'm having a little trouble.
I just want the script to say something when Requested, Declined, Added, Lost only, not online or offline.
Here's what I've come up with atm but don't think i got it quiet right.
{if event.status = "Requested":
{event.name} has sent a friends request.
|elif event.status = "Declined":
You have declined a friends request from {event.name}.
|elif event.status = "Added":
You have added {event.name} to your friends list.
|elif event.status = "Lost":
{event.name} has removed you from their friends list.
}
I'm late to the party on this one, but just in case... try putting quotes around your strings.
Code:{if event.status = "Requested": {event.name} has sent a friends request. |elif event.status = "Declined": You have declined a friends request from {event.name}. |elif event.status = "Added": You have added {event.name} to your friends list. |elif event.status = "Lost": {event.name} has removed you from their friends list. }
Hi guys!Somehow again cant make Eddi call out ships names in my ship purchased script.
That is my code which is fine in delivery and arrived script.what am i missing here?
{if event.ship:
{if event.ship = "Adder" :
Adderje
|elif event.ship = "Sidewinder MkI" :
...
If you can hang on just a bit longer I will have a much better solution for these localisations using OneSky, that will have EDDI supply the localized names to the script.
I know I've been saying this for a while, but trust me just waiting will save you a huge amount of work.