Zone Modifier (Lot Trait)

A zone modifier (TDESC name: Zone Modifier) mostly commonly known as Lot Traits allow further customization of venues. Lot Traits can be assigned via the build mode menu. They allow different loots to be applied to the lot they are assigned to or sims that enter the lot. Lot Traits can be hidden or visible.

Purpose
Zone Modifiers are commonly used to apply effects to all Sims on the lot to make them gain skills faster. Another use of zone modifiers is to trigger situations such as the spawning of ghosts on lots with the "Spooky" lot trait assigned.

On Add Loot
Loot that runs when the lot trait is assigned to the lot.

Cleanup Loot
Loot that runs when the lot trait is removed.

Enter Lot Loot
Loot that runs if a Sim enters the lot.

Exit Lot Loot
Loot that runs if a Sim leaves the lot.

Spin Up Loot
This loot gets applied when the player loads up a venue with the lot trait assigned in live mode. The difference between enter lot loots and spin up loots is that enter lot loots run every time a Sim enters the lot while the spin up lot loot only runs once when you load the lot.

Schedule
Setting up a schedule enables the option to trigger actions based on specific days and times of the week. Actions available for this are loots, modify_lot_items, play_sound, quake, service_npc_request and spawn_objects. The addition of a chance and random_start allow randomization of the events.

Restrictions
The zone modifier tuning can be restricted by black- or whitelisting venue types. Additonally the zone modifier can be locked so the player can not remove it. Hide screen slam hides the lot trait icon from getting displayed while loading onto the lot.

Coding
Zone Modifiers need a matching SimData file. Additionally visible lot traits need a ZoneModifierDisplayInfo tuning to show up in the build mode category so they can be assigned by the player.