| Back to Index | Page generated: Oct 27, 2025, 5:37:21 AM | 
 Expansion Ebortsa's lucky charm
 Expansion Ebortsa's lucky charm| from Expansion Manager's OXP list | from Expansion Manifest | |
|---|---|---|
| Description | A tiny statue of Ebortsa, the tionislan goddess of nomads. | A tiny statue of Ebortsa, the tionislan goddess of nomads. | 
| Identifier | oolite.oxp.Astrobe.luckycharm | oolite.oxp.Astrobe.luckycharm | 
| Title | Ebortsa's lucky charm | Ebortsa's lucky charm | 
| Category | Equipment | Equipment | 
| Author | Astrobe | Astrobe | 
| Version | 1.2.0 | 1.2.0 | 
| Tags | ||
| Required Oolite Version | ||
| Maximum Oolite Version | ||
| Required Expansions | ||
| Optional Expansions | ||
| Conflict Expansions | ||
| Information URL | http://www.aegidian.org/bb/viewtopic.php?f=4&t=19027 | n/a | 
| Download URL | https://wiki.alioth.net/img_auth.php/0/0e/Oolite.oxp.Astrobe.luckycharm.oxz | http://wiki.alioth.net/img_auth.php/0/0e/Oolite.oxp.Astrobe.luckycharm.oxz | 
| License | CC-BY-NC-SA 3.0 | CC-BY-NC-SA 3.0 | 
| File Size | n/a | |
| Upload date | 1610873229 | 
Also read http://wiki.alioth.net/index.php/Ebortsa's%20lucky%20charm
| Name | Visible | Cost [deci-credits] | Tech-Level | 
|---|---|---|---|
| Ebortsa's lucky charm | yes | 190 | 2+ | 
| Path | |
|---|---|
| Config/script.js | "use strict";
this.name        = "luckyCharm"; 
this.author      = "Astrobe"; 
this.copyright   = "2017 Creative Commons: attribution, non-commercial, sharealike."; 
this.description = "A tiny statue of Ebortsa, a goddess worshipped by a nomad people of Tionesla."; 
this.version     = "1.2.0";
this.shipSpawned = function(ship) {
	//if(player.score!=0) return;
	if(player.ship.equipmentStatus("EQ_LUCKYCHARM")!="EQUIPMENT_OK") return;
	if(Math.random()<=1/(2+player.score)) ship.removeEquipment("EQ_FUEL_INJECTION");
}
 |