mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-03-04 04:30:21 +00:00
added silos and air pads on z6 and on home3; undid temp lattice benefits and temp vehicle damage
This commit is contained in:
parent
e9aac5514a
commit
e368c8b5be
4 changed files with 39 additions and 4 deletions
|
|
@ -524,6 +524,8 @@ object GlobalDefinitions {
|
|||
|
||||
val medical_terminal = new MedicalTerminalDefinition(529)
|
||||
|
||||
val pad_landing = new RepairRearmSiloDefinition(719)
|
||||
|
||||
val repair_silo = new RepairRearmSiloDefinition(729)
|
||||
|
||||
val spawn_pad = new VehicleSpawnPadDefinition
|
||||
|
|
|
|||
|
|
@ -12,7 +12,15 @@ import net.psforever.packet.game.ItemTransactionMessage
|
|||
* Has both proximity-based operation and direct access purchasing power.
|
||||
*/
|
||||
class RepairRearmSiloDefinition(objectId : Int) extends EquipmentTerminalDefinition(objectId) with ProximityDefinition {
|
||||
Name = "repair_silo"
|
||||
Name = if(objectId == 719) {
|
||||
"pad_landing"
|
||||
}
|
||||
else if(objectId == 729) {
|
||||
"repair_silo"
|
||||
}
|
||||
else {
|
||||
throw new IllegalArgumentException("repair re-arm terminal must be either object id 719 or 729")
|
||||
}
|
||||
|
||||
private val buyFunc : (Player, ItemTransactionMessage)=>Terminal.Exchange = EquipmentTerminalDefinition.Buy(Map.empty, Map.empty, Map.empty)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue