mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-04-23 04:45:22 +00:00
Implant Terminals:
Implant terminals (mech) are now properly mountable and implant terminals (interface) are also properly interactive. Player can select to equip or to remove implants properly. Mountable: Vehicles and implant terminal mechs now use common Mountable logic. home3 Hart C: All doors, save for those to the shuttle, and all implant terminals in this building are now rigged to operate.
This commit is contained in:
parent
47a0aa3e0c
commit
f9beb47073
27 changed files with 1134 additions and 176 deletions
|
|
@ -44,6 +44,24 @@ class ZoneTest extends Specification {
|
|||
map.DoorToLock(3, 4)
|
||||
map.DoorToLock mustEqual Map(1 -> 2, 3 -> 4)
|
||||
}
|
||||
|
||||
"associates terminals to spawn pads (doesn't check numbers)" in {
|
||||
val map = new ZoneMap("map13")
|
||||
map.TerminalToSpawnPad mustEqual Map.empty
|
||||
map.TerminalToSpawnPad(1, 2)
|
||||
map.TerminalToSpawnPad mustEqual Map(1 -> 2)
|
||||
map.TerminalToSpawnPad(3, 4)
|
||||
map.TerminalToSpawnPad mustEqual Map(1 -> 2, 3 -> 4)
|
||||
}
|
||||
|
||||
"associates mechanical components to implant terminals (doesn't check numbers)" in {
|
||||
val map = new ZoneMap("map13")
|
||||
map.TerminalToInterface mustEqual Map.empty
|
||||
map.TerminalToInterface(1, 2)
|
||||
map.TerminalToInterface mustEqual Map(1 -> 2)
|
||||
map.TerminalToInterface(3, 4)
|
||||
map.TerminalToInterface mustEqual Map(1 -> 2, 3 -> 4)
|
||||
}
|
||||
}
|
||||
|
||||
val map13 = new ZoneMap("map13")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue