mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-01 13:02:02 +00:00
The lifeless live again. Or in this case, what never actually lived here. Ports Baystation12/Baystation12#17460 probably for real this time. What this allows us to do is create shuttles on runtime and make shuttles easier by just making landmarks and a shuttle instead of areas and shuttles. Also allows runtime landmark creation via flares or whatever AND allows shuttles to use different landmarks at will. I removed most of the overmap stuff, I think. It shouldn't be hard to slam it in whenever we need to. Changes: "Shuttle code has been completely reworked." "Shuttles can now be modified to have more than one destination." "Shuttles now have a takeoff sound." "You can now throw mobs against walls to damage them. A lot." "You now need a neckgrab to throw mobs." "BEING UNBUCKLED DURING SHUTTLE LAUNCH IS DANGEROUS! Don't do it." "Adminghosts can now interact with all shuttles."
66 lines
2.0 KiB
Cheetah
66 lines
2.0 KiB
Cheetah
<h3>Shuttle Status</h3>
|
|
<div class="item" style="padding-top: 10px">
|
|
<div class="item">
|
|
{{:data.shuttle_status}}
|
|
</div>
|
|
</div>
|
|
<div class="item" style="padding-top: 10px">
|
|
<div class="item">
|
|
<div class="itemLabel">
|
|
Engines:
|
|
</div>
|
|
<div class="itemContent">
|
|
{{if data.shuttle_state == "idle"}}
|
|
<span class="idle">IDLE</span>
|
|
{{else data.shuttle_state == "warmup"}}
|
|
<span style="font-weight: bold;color: #336699">STARTING IGNITION</span>
|
|
{{else data.shuttle_state == "in_transit"}}
|
|
<span style="font-weight: bold;color: #336699">ENGAGED</span>
|
|
{{else}}
|
|
<span class="bad">ERROR</span>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{if data.has_docking}}
|
|
<div class="item" style="padding-top: 10px">
|
|
<div class="item">
|
|
<div class="itemLabel">
|
|
Docking Status:
|
|
</div>
|
|
<div class="itemContent">
|
|
{{if data.docking_status == "docked"}}
|
|
<span class="good">DOCKED</span>
|
|
{{else data.docking_status == "docking"}}
|
|
{{if !data.docking_override}}
|
|
<span class="average">DOCKING</span>
|
|
{{else}}
|
|
<span class="average">DOCKING-MANUAL</span>
|
|
{{/if}}
|
|
{{else data.docking_status == "undocking"}}
|
|
{{if !data.docking_override}}
|
|
<span class="average">UNDOCKING</span>
|
|
{{else}}
|
|
<span class="average">UNDOCKING-MANUAL</span>
|
|
{{/if}}
|
|
{{else data.docking_status == "undocked"}}
|
|
<span class="idle">UNDOCKED</span>
|
|
{{else}}
|
|
<span class="bad">ERROR</span>
|
|
{{/if}}
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
|
|
<h3>Shuttle Control</h3>
|
|
<div class="item" style="padding-top: 10px">
|
|
<div class="item">
|
|
<div class="itemContent" style="padding-top: 2px; width: 100%">
|
|
{{:helper.link('Launch Shuttle', 'arrowthickstop-1-e', {'move' : '1'}, data.can_launch? null : 'disabled' , null)}}
|
|
{{:helper.link('Cancel Launch', 'cancel', {'cancel' : '1'}, data.can_cancel ? null : 'disabled' , null)}}
|
|
{{:helper.link('Force Launch', 'alert', {'force' : '1'}, data.can_force? null : 'disabled' , data.can_force ? 'redButton' : null)}}
|
|
</div>
|
|
</div>
|
|
</div> |