I'm trying to create some new pieces of equipment that exist as dependencies upon which to install other items.
e.g.
Code: Select all
(
100, 1, "Medium Sized Hull",
"EQ_MEDIUM_HULL",
"Enables fitting of medium sized equipment.",
{
condition_script = "oolite-conditions.js";
available_to_all = true;
visibile = false;
damage_probability = 0;
}
),
Code: Select all
"asp-player" =
{
"standard_equipment" =
{
extras =
(
"EQ_MEDIUM_HULL"
);
};
};
If I change visible to "true" and lower the tech level, then they appear for sale (and behave as expected) but never as standard, pre-installed equipment.
I even tried writing a script to add them (new territory for me, so it was almost certainly broken in some way) with player.ship.awardEquipment
but right now it's just not happening.
Any ideas?