Lore
Vending Machines
One of the many ways that the player can restore their health
Vending machines are one of the many ways that the player can restore their health. Although vending machines were first seen as early as Grand Theft Auto III and Grand Theft Auto: Vice City, interactive vending machines are found in Grand Theft Auto: San Andreas, Grand Theft Auto IV, Grand Theft Auto V and Grand Theft Auto Online.

Drinks and snacks from a vending machine cost $1 each, similar to a street vendor. Like vendors, vending machines are not marked on the map.
Early depictions
With the advent of fully 3D environments in GTA III and GTA Vice City, vending machines were added as static, non-interactive props that decorate specific interiors in the game.
Vending machines in GTA III were originally designed with a red-and-white frontage and a "SODA" caption; while this clearly indicates it sells beverages, the vending machine also depicts a candy bar on the upper left corner that can be purchased for "50 cents", implying that it also offers snacks. The texture of these vending machines was eventually reused for functional vending machines in GTA San Andreas, with its mention of snacks still intact. GTA Vice City also features a redesigned vending machine bearing the Sprunk design, one of the first in the series to feature an in-universe brand name.
Non-interactive vending machines are further included in Grand Theft Auto: Liberty City Stories and Grand Theft Auto: Vice City Stories.

A third soda vending machine in GTA III can be found inside the south-eastern lobby of the housing projects located to the south of the payphones in Wichita Gardens.
Grand Theft Auto: San Andreas
In GTA San Andreas, the player is able to walk up to any vending machine that sells snacks or drinks to replenish approximately 50% of the player's base health and counts as 0.25% toward the player's fat level. The player may use a vending machine after walking close to one, prompting the game to produce a message that informs if the player wants to buy a snack or drink for $1. Like with street vendors, purchasing and consuming anything from a vending machine will fully satisfy the player character's hunger, allowing Carl to go without food or drinks for another three days. Vending machines in the game come in two forms: snack vending machines and drink vending machines.
After purchasing a snack from a snack machine, the player may see the player character perform an eating animation (although the player cannot see what the player character is eating); for drink vending machines, the player character may be seen drinking from a Sprunk can, before discarding it onto the ground. Snacks and drinks sold in the vending machines are unlimited.


Locations
Snacks
Inside the Alhambra club in Idlewood, Los Santos.
Carniceria El Pueblo, Las Colinas, Los Santos.
Shopping mall in Jefferson, Los Santos.
6th Street Plaza, Willowfield, Los Santos.
Northern terminal building of Los Santos International Airport.
In front of the Las Payasadas Cafe, Las Payasadas.
Next door from El Quebrados Barbers, El Quebrados.
Las Venturas City Planning Department building.
In the back halls of Caligula's Palace.
Inside all the 24/7 stores.
Inside the Easter Basin Naval Station.
Drinks
Inside the Jefferson Motel in Jefferson, Los Santos.
In front of the Ten Green Bottles bar in Ganton.
Inside the Alhambra club in Idlewood, Los Santos (x2).
Public plaza in Downtown Los Santos.
Inside Big Smoke's Crack Palace, East Los Santos.
In front of a liquor store in East Los Santos.
Montgomery, round the road from the burnt building.
Outside the Blueberry Safehouse.
In the train station in Doherty across from the Doherty Garage.
Xoomer gas station in Juniper Hollow, San Fierro.
In front of the Cranberry Station.
In front of the Las Payasadas Cafe, Las Payasadas.
Beside The Smokin' Beef Grill, Las Barrancas.
Inside all the 24/7 stores.
Inside the Easter Basin Naval Station.
Grand Theft Auto IV
In GTA IV, the player can also restore portions of their health by paying $1 into any Sprunk or eCola vending machine. Drinks sold in the vending machines are unlimited. The player character will pick up the can, drink it, and then throw it on the ground. Buying drinks from vending machine while dating Michelle will cause the whole game to hang.
Even though the machines have Sprunk or eCola liveries, the cans dispensed will be Orang-O-Tang.
Players are still able to buy drinks from a damaged vending machine.
Although snack vending machines appear in Grand Theft Auto IV, they are not interactive for the player. Similarly, coffee machines debut in the game, particularly appearing within the interiors of the Schottler Medical Center and Westdyke Memorial Hospital, but once again these are non-interactive and are merely for decorative purposes; unlike in multiplayer, drinks cannot be bought.
Locations
Drinks
Two inside the Sprunk warehouse in Chase Point, Bohan.
Two inside the waiting spot at Windmill Street Station, Chase Point.
Ground level entrances of the Lancet-Hospital Center in Lancet.
The underground car park in Topaz Street, Lancaster.
Golden Pier, close to its Memory Lanes bowling alley.
At both platforms of the Skycar.
Several vending machines inside and around the Golden Pier Swingers Golf Club.
Ouside the Burger Shot on Sacramento Avenue, Westdyke.
In multistorey car parks all around the city.
Grand Theft Auto V and Grand Theft Auto Online
Vending machines also feature in GTA V and GTA Online. The player is able to purchase drinks from eCola and Sprunk vending machines to replenish all the health, while Rainé, The Bean Machine, Candybox and generic snack vending machines are non-interactive. The Bean Machine and Candybox machines are manufactured by Blick. After consuming the drink, the protagonist will often comment on how good the drink is, or belch. Unlike in previous games, the player cannot purchase drinks from damaged vending machines.
Locations
Drinks
Pleasure Pier, Del Perro.
Convenience stores.
Los Santos Transit stations.
The two branches of Ammu-Nation with a shooting range.
Some can appear in mission-only interiors. For an example, some vending machines appear during The Diamond Casino Heist.
They can often be found in player-purchased businesses and other similar properties, such as bunkers, facilities, Arena Workshop, arcade basements, and auto shops. However, players still have to pay to use them.
Sources
Adapted from the original article, under CC BY-SA 3.0.



