- Joined
- Feb 22, 2018
- Messages
- 4
- Reaction score
- 3
I was doing some work with these display modules, building a cockpit, when I stumbled on the [docked] variable. The thing is that this variable shows if the ship is docked or undocked. It is nice tough, but it would be better if the variable was called "isdocked" instead.
Also, it would be nice to have a "docks" variables to show how many ships/turrets/drones can dock at the same time (counted by rails endpoints, load and unload rails or just the count of pickup points) on the entire entity or the number of linked rails. With that in mind the "docked" variable should inform how many of those rails are in use (with a entity/ship/turret on it).
This all would allow to display something like this:
Drones: [docked]/[docks]/8
Witch means the ship have [docked] amount of drones in their rails, with room for a total of [docks] drones docked at the same time from a total of 8 rails built with the entity.
Note that I put the number 8 there because the variable [docks] can change if the ship take enough damage to lose some of its rails.
Also, it would be nice to have a "docks" variables to show how many ships/turrets/drones can dock at the same time (counted by rails endpoints, load and unload rails or just the count of pickup points) on the entire entity or the number of linked rails. With that in mind the "docked" variable should inform how many of those rails are in use (with a entity/ship/turret on it).
This all would allow to display something like this:
Drones: [docked]/[docks]/8
Witch means the ship have [docked] amount of drones in their rails, with room for a total of [docks] drones docked at the same time from a total of 8 rails built with the entity.
Note that I put the number 8 there because the variable [docks] can change if the ship take enough damage to lose some of its rails.