From cab6e642b6c5929b9b7630ff855070a978d54480 Mon Sep 17 00:00:00 2001 From: Fate-JH Date: Thu, 22 Aug 2024 23:33:47 -0400 Subject: [PATCH] Yellow Ownership (#1226) * just some tinkering and clean-up * converted DeployItem from AvatarService to LocalService; attempt at resolving missing overwhip yellow ring is complicated; vehicle ownership packet wqorks on deployables that are mountable, but is less successful on normal simple deployables * restoration of yellow ring of ownership around deployables; changes to variant of CommonFieldData transcorder used on certain deployable transcoders; static values are assigned parameter names and public variables are given types for completion * initial packet for GenericObjectAction2Message and tests; repaired transcoders and tests for TRAP and small turrets * force redraw of the whole boomer to assert reassignment of ownership; it's heavy-handed but it works * deployable ownership should be asserted during both re-zoning and revival; refactoring of code in ZoningOperations --- .../net/psforever/packet/game/objectcreate/CharacterData.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/scala/net/psforever/packet/game/objectcreate/CharacterData.scala b/src/main/scala/net/psforever/packet/game/objectcreate/CharacterData.scala index c168e4a46..8c3177afd 100644 --- a/src/main/scala/net/psforever/packet/game/objectcreate/CharacterData.scala +++ b/src/main/scala/net/psforever/packet/game/objectcreate/CharacterData.scala @@ -18,6 +18,7 @@ import shapeless.{::, HNil} object ImplantEffects extends Enumeration { type Type = Value + val SurgeEffects: ImplantEffects.Value = Value(9) val PersonalShieldEffects: ImplantEffects.Value = Value(5) val DarklightEffects: ImplantEffects.Value = Value(3)