68 lines
3.1 KiB
Lua
68 lines
3.1 KiB
Lua
return {
|
|
id = 'mack',
|
|
displayName = 'Mack',
|
|
phone = { number = '555-6842' },
|
|
ped = {
|
|
model = 's_m_y_xmech_01',
|
|
coords = { x = 2366.60, y = 3154.91, z = 48.21, w = 17.84 },
|
|
spawnZOffset = -1.0,
|
|
scenario = 'WORLD_HUMAN_CLIPBOARD',
|
|
invincible = true, frozen = true, blockNonTemporaryEvents = true,
|
|
},
|
|
world = {
|
|
alwaysPresent = true,
|
|
vehicles = {
|
|
{
|
|
id = 'festival_bus', model = 'pbus2',
|
|
coords = { x = 2349.54, y = 3133.84, z = 48.21, w = 77.73 },
|
|
localEntity = true, locked = 2, missionEntity = true,
|
|
invincible = true, frozen = true,
|
|
},
|
|
{
|
|
id = 'junk_emperor', model = 'emperor',
|
|
coords = { x = 2343.67, y = 3141.72, z = 48.21, w = 211.39 },
|
|
localEntity = true, locked = 2, missionEntity = true,
|
|
invincible = true, frozen = true,
|
|
damage = {
|
|
engineHealth = 100.0, bodyHealth = 300.0,
|
|
smashedWindows = { 0, 1, 2, 3 }, brokenDoors = { 0 },
|
|
burstTyres = { 0, 4 },
|
|
},
|
|
},
|
|
{
|
|
id = 'forklift', model = 'forklift',
|
|
coords = { x = 2350.42, y = 3142.49, z = 48.21, w = 231.27 },
|
|
localEntity = true, locked = 2, missionEntity = true,
|
|
invincible = true, frozen = true,
|
|
},
|
|
},
|
|
ambientPeds = {
|
|
{ model = 's_m_y_xmech_02', coords = { x = 2355.0, y = 3148.0, z = 48.21, w = 180.0 }, wanderRadius = 12.0 },
|
|
{ model = 's_m_m_autoshop_01', coords = { x = 2345.0, y = 3150.0, z = 48.21, w = 90.0 }, wanderRadius = 12.0 },
|
|
{ model = 's_m_y_construct_01', coords = { x = 2360.0, y = 3143.0, z = 48.21, w = 270.0 }, wanderRadius = 15.0 },
|
|
{ model = 's_m_y_construct_02', coords = { x = 2341.0, y = 3130.0, z = 48.21, w = 0.0 }, wanderRadius = 10.0 },
|
|
{ model = 's_m_m_dockwork_01', coords = { x = 2334.0, y = 3125.0, z = 48.21, w = 180.0 }, wanderRadius = 15.0 },
|
|
{ model = 's_m_m_gardener_01', coords = { x = 2368.0, y = 3130.0, z = 48.21, w = 90.0 }, wanderRadius = 22.0 },
|
|
},
|
|
ambientPedBehavior = {
|
|
spawnZOffset = -1.0, missionEntity = true, invincible = true,
|
|
blockNonTemporaryEvents = true, canRagdoll = false,
|
|
fleeAttributes = 0, wanderMinLength = 2.0, wanderTimeBetweenWalks = 10.0,
|
|
},
|
|
},
|
|
blip = {
|
|
label = 'Mack', sprite = 280, scale = 0.75, shortRange = false,
|
|
requires = { column = 'mack_stage', min = 1 },
|
|
createdDuring = 'crowbar:4',
|
|
},
|
|
interaction = {
|
|
name = 'how_progression_mack_talk', icon = 'fa-solid fa-comment',
|
|
label = 'Talk to Mack', distance = 2.0,
|
|
gateCallback = 'how_progression:server:canTalkToMack',
|
|
gateAllowsWhen = true,
|
|
missionStateCallback = 'how_progression:server:getMackMission1State',
|
|
},
|
|
progression = { stageColumn = 'mack_stage', repColumn = 'mack_rep' },
|
|
missions = { 'mack:1' },
|
|
}
|