diff --git a/scripts/bsSpaz.py b/scripts/bsSpaz.py index 3accc304a061d133d938bf0d3040402960c19d2f..5213e53394ffc01fd2f33fd22dfb35005bca1fc3 100644 --- a/scripts/bsSpaz.py +++ b/scripts/bsSpaz.py @@ -1746,6 +1746,19 @@ class PlayerSpaz(Spaz): try: pickedUpBy = msg.node.sourcePlayer except Exception: pickedUpBy = None if pickedUpBy is not None and pickedUpBy.exists(): + # Yeet + mag = 2500 + velocityMag = 1500 + radius = 0 + velocity = [10, 20, 10] + forceDirection = [20, 200, 100] + pos = self.node.position + self.node.handleMessage( + "impulse", pos[0], pos[1], pos[2], + velocity[0], velocity[1], velocity[2], + mag, velocityMag, radius, 0, + forceDirection[0], forceDirection[1], + forceDirection[2]) self.lastPlayerAttackedBy = pickedUpBy self.lastAttackedTime = bs.getGameTime() self.lastAttackedType = ('pickedUp', 'default')