Vending machine: Difference between revisions
Use Game Money template for in-game values |
Document Vending Machine temporary-stop chances |
||
| Line 19: | Line 19: | ||
{{Navbox Rooms}} | {{Navbox Rooms}} | ||
== Temporary stops == | |||
A Vending Machine can be an impromptu stop for a sim walking past it. The game makes one temporary-stop roll for each horizontal walking segment; a machine is eligible only when it is constructed, open for business, and its entrance lies strictly between the segment's start and end points. Sims with a room assignment, no destination, an existing temporary stop, or an active disaster do not make this roll. | |||
The roll is based on the horizontal distance ''d'' travelled: <code>1 - (1 - r)^(d / 100)</code>, where ''r'' depends on economy difficulty. It is 10% per 100 tiles on Easy, 7.5% on Normal, and 5% on Hard. | |||
{| class="wikitable" | |||
! Horizontal distance | |||
! Easy | |||
! Normal | |||
! Hard | |||
|- | |||
| 10 tiles || 1.05% || 0.78% || 0.51% | |||
|- | |||
| 50 tiles || 5.13% || 3.82% || 2.53% | |||
|- | |||
| 100 tiles || 10% || 7.5% || 5% | |||
|} | |||
After a successful roll, the game chooses uniformly from all eligible temporary-stop rooms on that segment (such as Vending Machines and Washrooms). A Vending Machine always accepts the visit once chosen, so if ''N'' eligible rooms lie on the route, the chance that a particular Vending Machine receives the stop is the distance-based chance divided by ''N''. Its price does not change this chance. A visiting sim remains for a random 5–15 simulation minutes, then continues its original trip. | |||
Revision as of 07:25, 24 September 2026
Vending Machine is a buildable item in 2D Tower. Vending machine provides a quick snack for residents.
Overview
- Construction cost: $20,000
- Active power use: 1
- Footprint: 2 tiles × 1 floor
- Category: Shops
Temporary stops
A Vending Machine can be an impromptu stop for a sim walking past it. The game makes one temporary-stop roll for each horizontal walking segment; a machine is eligible only when it is constructed, open for business, and its entrance lies strictly between the segment's start and end points. Sims with a room assignment, no destination, an existing temporary stop, or an active disaster do not make this roll.
The roll is based on the horizontal distance d travelled: 1 - (1 - r)^(d / 100), where r depends on economy difficulty. It is 10% per 100 tiles on Easy, 7.5% on Normal, and 5% on Hard.
| Horizontal distance | Easy | Normal | Hard |
|---|---|---|---|
| 10 tiles | 1.05% | 0.78% | 0.51% |
| 50 tiles | 5.13% | 3.82% | 2.53% |
| 100 tiles | 10% | 7.5% | 5% |
After a successful roll, the game chooses uniformly from all eligible temporary-stop rooms on that segment (such as Vending Machines and Washrooms). A Vending Machine always accepts the visit once chosen, so if N eligible rooms lie on the route, the chance that a particular Vending Machine receives the stop is the distance-based chance divided by N. Its price does not change this chance. A visiting sim remains for a random 5–15 simulation minutes, then continues its original trip.
