I have noticed that all types of equipment are available for all ship types and sizes. I was thinking if it would be possible to make some equipment compatible with only specific types of ship (according to cargo capacity, for example).
In that sense, there would be ship classes (as there are now, up to a point) and some types of equipment (such as the equipment that makes it possible to process scooped minerals, for instance) would only be available to certain ships (let's say ships that have a cargo capacity of 40 tc and above) and not others. It would make sense, IMHO, because some types of equipment would normally be too bulky for some ships to handle. There is already the possibility of adding equipment that takes up some space, such as the passenger berth. It might be a good idea to expand this concept to other types of ship addition, as well.
Equipment related to ship specifications?
Moderators: winston, another_commander
Equipment related to ship specifications?
Scratchbuilding miniatures:
http://miniaturesandstuff.wordpress.com/
the picture in my avatar is a Dwarf Berserker.
http://miniaturesandstuff.wordpress.com/
the picture in my avatar is a Dwarf Berserker.
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Equipment related to ship specifications?
Should be possible since long, by not defining equipment "available_for_all", and than define in the ship definition that is can carry tat specific equipment. Problem is of cause, that you can not introduce new equipment without redefining all older ship definitions.
Since 1.77 however, you can add a script to the condition field. There it would be possible to add a JS condition about ship weight etc.
Since 1.77 however, you can add a script to the condition field. There it would be possible to add a JS condition about ship weight etc.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Re: Equipment related to ship specifications?
This has always been the case, albeit only very limited. For instance, not all ships are able to mount a [wiki]Military Shield Enhancement[/wiki].ioannis wrote:I was thinking if it would be possible to make some equipment compatible with only specific types of ship (according to cargo capacity, for example).
Yes, and that's exactly what just happened. In Oolite 1.77, equipment can take up cargo space (which was previously only the case for passenger berths, which were handled as a special case by the game). I think that there are already some OXP equipment items available which make use of this new mechanism. Whether it gets applied retroactively for existing OXP equipment as well, is in the hands of the respective OXP authors/maintainers.ioannis wrote:There is already the possibility of adding equipment that takes up some space, such as the passenger berth. It might be a good idea to expand this concept to other types of ship addition, as well.
Re: Equipment related to ship specifications?
Thank you for this info, guys.
I assume that each oxp user could, if he/she chose to do so, apply this in his game. Is it possible to get some information on what needs to be modified in the OXP, in order to do so?I think that there are already some OXP equipment items available which make use of this new mechanism. Whether it gets applied retroactively for existing OXP equipment as well, is in the hands of the respective OXP authors/maintainers.
Scratchbuilding miniatures:
http://miniaturesandstuff.wordpress.com/
the picture in my avatar is a Dwarf Berserker.
http://miniaturesandstuff.wordpress.com/
the picture in my avatar is a Dwarf Berserker.
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Equipment related to ship specifications?
Most stuff should be on the [wiki]Equipment.plist[/wiki] page
UPS-Courier & DeepSpacePirates & others at the box and some older versions
Re: Equipment related to ship specifications?
Large Cargo Bay could also change cargo space.Commander McLane wrote:In Oolite 1.77, equipment can take up cargo space (which was previously only the case for passenger berths, which were handled as a special case by the game).
Re: Equipment related to ship specifications?
Thanks to Eric Walch's advice I managed to succesfully modify the Ore Precessor to take up cargo space:
Thank you, Eric.
This is the new equipment.phlist(
(
11,
35000,
"Ore Processor",
"EQ_ORE_PROCESSOR",
"Connects to the fuel scoops for instant extraction of higher valued materials from mined ore.",
{
"available_to_all" = YES;
"requires_equipment" = "EQ_FUEL_SCOOPS";
"requires_cargo_space" = 5;
}
),
)
Thank you, Eric.
Scratchbuilding miniatures:
http://miniaturesandstuff.wordpress.com/
the picture in my avatar is a Dwarf Berserker.
http://miniaturesandstuff.wordpress.com/
the picture in my avatar is a Dwarf Berserker.