Files
red-valley/resources/[framework]/[addons]/qs-smartphone-pro/server/custom/missions.lua

154 lines
4.8 KiB
Lua
Raw Normal View History

2026-03-29 21:41:17 +03:00
function CreateQuests(source)
if GetResourceState('qs-inventory') ~= 'started' then
Debug('qs-inventory not started, skipping phone quest creation.')
return
end
local quest1 = exports['qs-inventory']:createQuest(source, {
name = 'hack_catcord',
title = 'Catcord Hacker',
description = 'Hack your smartphone to unlock hidden Catcord rooms.',
reward = 150,
requiredLevel = 1
})
local quest2 = exports['qs-inventory']:createQuest(source, {
name = 'use_taxi_app',
title = 'Call Me a Cab',
description = 'Take a ride using the Taxi app.',
reward = 100,
requiredLevel = 0
})
local quest3 = exports['qs-inventory']:createQuest(source, {
name = 'download_apps',
title = 'App Collector',
description = 'Download 5 different apps on your phone.',
reward = 200,
requiredLevel = 1
})
local quest4 = exports['qs-inventory']:createQuest(source, {
name = 'create_tweet',
title = 'First Tweet',
description = 'Post your first tweet using the Twitter app on your phone.',
reward = 150,
requiredLevel = 0
})
local quest5 = exports['qs-inventory']:createQuest(source, {
name = 'buy_crypto',
title = 'Crypto Curious',
description = 'Buy your first cryptocurrency.',
reward = 250,
requiredLevel = 2
})
local quest6 = exports['qs-inventory']:createQuest(source, {
name = 'take_photo',
title = 'Say Cheese!',
description = 'Take a photo using your smartphone camera.',
reward = 100,
requiredLevel = 0
})
local quest7 = exports['qs-inventory']:createQuest(source, {
name = 'make_call',
title = 'Can You Hear Me?',
description = 'Make a phone call using your smartphone.',
reward = 100,
requiredLevel = 0
})
local quest8 = exports['qs-inventory']:createQuest(source, {
name = 'create_contact',
title = 'Stay Connected',
description = 'Add a new contact to your smartphone.',
reward = 100,
requiredLevel = 0
})
local quest9 = exports['qs-inventory']:createQuest(source, {
name = 'send_email',
title = 'Inbox Outbox',
description = 'Send an email using your smartphone.',
reward = 150,
requiredLevel = 0
})
local quest10 = exports['qs-inventory']:createQuest(source, {
name = 'send_money_bank_app',
title = 'Mobile Transfer',
description = 'Send money to another player using the banking app.',
reward = 200,
requiredLevel = 1
})
local quest11 = exports['qs-inventory']:createQuest(source, {
name = 'register_social_network',
title = 'Social Starter',
description = 'Register an account on a social media app.',
reward = 150,
requiredLevel = 0
})
local quest12 = exports['qs-inventory']:createQuest(source, {
name = 'post_instagraph',
title = 'Insta Moment',
description = 'Create a post and upload a photo using Instagraph.',
reward = 200,
requiredLevel = 1
})
local quest13 = exports['qs-inventory']:createQuest(source, {
name = 'post_ticktock',
title = 'TickTock Star',
description = 'Post a video on the TickTock app.',
reward = 200,
requiredLevel = 1
})
local quest14 = exports['qs-inventory']:createQuest(source, {
name = 'post_yellow_pages',
title = 'Business Blast',
description = 'Create a public post using Yellow Pages.',
reward = 150,
requiredLevel = 0
})
local quest15 = exports['qs-inventory']:createQuest(source, {
name = 'get_job_jobcenter',
title = 'Career Kickstart',
description = 'Get a job using the Job Center app on your smartphone.',
reward = 200,
requiredLevel = 0
})
local quest16 = exports['qs-inventory']:createQuest(source, {
name = 'rent_vehicle_aventon',
title = 'Ready to Ride',
description = 'Rent a vehicle using the Aventon app on your smartphone.',
reward = 200,
requiredLevel = 0
})
Debug('Phone quests assigned to player:', source, {
hack_catcord = quest1,
use_taxi_app = quest2,
download_apps = quest3,
create_tweet = quest4,
buy_crypto = quest5,
take_photo = quest6,
make_call = quest7,
create_contact = quest8,
send_email = quest9,
send_money_bank_app = quest10,
register_social_network = quest11,
post_instagraph = quest12,
post_ticktock = quest13,
post_yellow_pages = quest14,
get_job_jobcenter = quest15,
rent_vehicle_aventon = quest16
})
end