src/scene/shared/hermes_water_bottle.c
The bottle of Hermes' Water: Mercury Lighthouse's fountain fills the Empty Bottle, and pouring it on Tret in Kolima Forest empties it again.
Included by kolima_forest_tree.c and mercury_lighthouse.c.
Functions
| Name | Description | |
|---|---|---|
static void | scInventoryReplaceItem (Sint32 oldItem, Sint32 newItem) | Replaces the first held oldItem with newItem in the same party member's slot, so the bottle stays where it was in the items. |
Description
The bottle of Hermes' Water: Mercury Lighthouse's fountain fills the Empty Bottle, and pouring it on Tret in Kolima Forest empties it again.
Functions in detail
scInventoryReplaceItem
static void scInventoryReplaceItem(Sint32 oldItem, Sint32 newItem)
Replaces the first held oldItem with newItem in the same party member's slot, so the bottle stays where it was in the items.
References gmInventoryFind(), gmPartyInventoryFindMember(), gmUnitGet() and Sint32.
Referenced by scKolimaForestTreeRestoreTret() and scMercuryLighthouseFillHermesWaterBottle().
Definition at line 6 of file hermes_water_bottle.c.