You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: code/scripting/global_hooks.cpp
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -165,6 +165,23 @@ const std::shared_ptr<OverridableHook<CollisionConditions>> OnShipCollision = Ov
165
165
{"Asteroid", "object", "The asteroid object with which the ship collided (only set for asteroid collisions)"},
166
166
{"ShipB", "ship", "For ship-on-ship collisions, the same as \"Object\" (only set for ship-on-ship collisions)"},
167
167
{"ShipBSubmodel", "submodel", "For ship-on-ship collisions, the submodel of \"ShipB\" involved in the collision, if \"ShipB\" was the heavier object"},
168
+
{"Prop", "prop", "The prop object with which the ship collided (only set for prop collisions)."},
169
+
{"PropSubmodel", "submodel", "The submodel of \"Prop\" involved in the collision."},
170
+
{"Weapon", "weapon", "The weapon object with which the ship collided (only set for weapon collisions)"},
171
+
{"Beam", "weapon", "The beam object with which the ship collided (only set for beam collisions)"}});
0 commit comments