Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/base/ship.h')
-rw-r--r--src/game/base/ship.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/base/ship.h b/src/game/base/ship.h
index fa6e60d..e8a6505 100644
--- a/src/game/base/ship.h
+++ b/src/game/base/ship.h
@@ -214,6 +214,13 @@ public:
void launch();
void set_spawn(core::Entity *spawn);
+
+ /**
+ * @brief eject an item from inventory
+ * Ejecting an item while the ship is docked will destroy it,
+ * otherwise it will create a cargo pod
+ * */
+ void eject(core::Item *item, const long eject_amount, const bool eject_message);
protected:
/**