diff --git a/resources/[standalone]/am_hackgame/README.md b/resources/[standalone]/am_hackgame/README.md new file mode 100644 index 0000000..70718a9 --- /dev/null +++ b/resources/[standalone]/am_hackgame/README.md @@ -0,0 +1,38 @@ + + +### Comments + +American script presents an Echo Script in the most unique and fun way, that is an immersion into Roleplay. + +### Install Am_HackGame + +1) Drag & drop `Am_HackGame` Remember to always leave it inside FOLDER /Resources +2) Go to your CFG server and copy this from here : `start am_hackgame` and proceed to paste it inside your CFG +3) Restart your server and test it, inside our folder you will find Hack.lua, there you can check some things and modify. + +### HOW TO USE + +To add it to your Trust Script, you must copy this from below and then restart the script. + +```lua + exports['am_hackgame']:StartGame(function(success) + if success then + -- do something + else + -- do something + end + end, 3, 60) -- Here below is the amount you want, example : - (3) is the TOTAL number of figures you want the User to find. (60) - Here you must set the number of seconds the user will have to complete the hacking. +``` + +### PREVIEW +We have Robos where we integrate this and more in our store. + +https://american-script.tebex.io/ + +### SUPPORT + +https://discord.gg/VZK3zHScD8 diff --git a/resources/[standalone]/am_hackgame/client/hack.lua b/resources/[standalone]/am_hackgame/client/hack.lua new file mode 100644 index 0000000..6ddb68d --- /dev/null +++ b/resources/[standalone]/am_hackgame/client/hack.lua @@ -0,0 +1,57 @@ +--<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- + +--<+>-- --<+>-- --<+>-- --<+>-- ☾ AMERICAN SCRIPT ☾ --<+>-- --<+>-- --<+>-- --<+>-- + +--<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- + + +local QBCore = exports['qb-core']:GetCoreObject() + +--<+>-- --<+>-- --<+>-- --<+>-- COUNTER CALLBACK --<+>-- --<+>-- --<+>-- --<+>-- + +RegisterNUICallback('CounterCallback', function(data, cb) + SetNuiFocus(false, false) + Callback(data.success) + SendNUIMessage({open = false}) + cb('ok') +end) + + +--<+>-- --<+>-- --<+>-- --<+>-- START GAME --<+>-- --<+>-- --<+>-- --<+>-- + +local function StartGame(callback, piezas, timer) + Callback = callback + SendNUIMessage({ + open = true, + piezasencontradas = piezas, + timer = timer, + }) + SetNuiFocus(true, true) +end + + + +--<+>-- --<+>-- --<+>-- --<+>-- CLOSE GAME --<+>-- --<+>-- --<+>-- --<+>-- + +RegisterNUICallback('CloseGame', function(data, cb) + SetNuiFocus(false, false) + Callback(data.success) + SendNUIMessage({open = false}) + cb('ok') +end) + +--<+>-- --<+>-- --<+>-- --<+>-- EXPORT --<+>-- --<+>-- --<+>-- --<+>-- + +exports('StartGame', StartGame) + +--<+>-- --<+>-- --<+>-- --<+>-- TEST EVENTS/COMMANDS THESE CAN BE DELETED ---- ---- ---- ---- + +RegisterCommand('TESTHACKam', function() + exports['am_hackgame']:StartGame(function(success) + if success then + QBCore.Functions.Notify('GENNEMFØRT') + else + QBCore.Functions.Notify('Fejlet! Har du glemt hvordan man gør?!') + end + end, 9, 60) +end) diff --git a/resources/[standalone]/am_hackgame/fxmanifest.lua b/resources/[standalone]/am_hackgame/fxmanifest.lua new file mode 100644 index 0000000..136f5b4 --- /dev/null +++ b/resources/[standalone]/am_hackgame/fxmanifest.lua @@ -0,0 +1,30 @@ +----<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- + +--<+>-- --<+>-- --<+>-- --<+>-- ☾ AMERICAN SCRIPT ☾ --<+>-- --<+>-- --<+>-- --<+>-- + +--<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- +fx_version 'cerulean' + +game 'gta5' + +author 'FelipeKLFH#5810' + +description 'DeSiGnEr AmErIcAn ScRiPtS' + +version '1.0.2' + +lua54 'yes' + +ui_page 'html/index.html' + +files { + 'html/**/*', + 'html/*.png', + 'html/bankgothic.ttf' +} +client_scripts { + 'client/*' +} +escrow_ignore { + 'client/*' +} diff --git a/resources/[standalone]/am_hackgame/html/LGO.png b/resources/[standalone]/am_hackgame/html/LGO.png new file mode 100644 index 0000000..eb5d871 Binary files /dev/null and b/resources/[standalone]/am_hackgame/html/LGO.png differ diff --git a/resources/[standalone]/am_hackgame/html/bankgothic.ttf b/resources/[standalone]/am_hackgame/html/bankgothic.ttf new file mode 100644 index 0000000..07b327b Binary files /dev/null and b/resources/[standalone]/am_hackgame/html/bankgothic.ttf differ diff --git a/resources/[standalone]/am_hackgame/html/css/main.css b/resources/[standalone]/am_hackgame/html/css/main.css new file mode 100644 index 0000000..2d64452 --- /dev/null +++ b/resources/[standalone]/am_hackgame/html/css/main.css @@ -0,0 +1,318 @@ +/*--<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- + +--<+>-- --<+>-- --<+>-- --<+>-- ☾ AMERICAN SCRIPT ☾ --<+>-- --<+>-- --<+>-- --<+>-- + +--<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- */ + + +@font-face { + font-family: bankgothic; + src: url('../bankgothic.ttf'); +} + +body { + background-color: none !important; + margin: auto; + font-family: 'Aldrich'; +} + +.hidden { + display: none !important; +} + +/* COMPUTER Container */ +.pc-frame { + position: absolute; + top: -10vh; + left: -12vw; + height: 82.5vh; + width: 132vh; +/* width: 31.3vh; + bottom: -37vh; + height: 63.7vh; + left: -155.9%; */ + margin: 5vh; + z-index: 150; + pointer-events: none; + animation: scaleUp 1.10s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards; +} + +/* Phone Container */ +.phone-frame { + position: absolute; + width: 31.3vh; + bottom: -7vh; + height: 64.1vh; + left: -19.9%; +/* width: 31.3vh; + bottom: -37vh; + height: 63.7vh; + left: -155.9%; */ + margin: 5vh; + z-index: 150; + pointer-events: none; + animation: scaleUp 1.10s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards; +} + +/* LOGO */ +.logo-frame { + position: absolute; + width: 40vh; + bottom: 30vh; + height: 24.1vh; + left: -32%; +/* width: 31.3vh; + bottom: -37vh; + height: 63.7vh; + left: -155.9%; */ + margin: 5vh; + z-index: 150; + pointer-events: none; + animation: scaleUp 2.10s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards; +} + + +#start-container { + position: absolute; + top: 19vh; + left: 10vw; + height: 60vh; + width: 29.5vh; + border: 5px solid rgba(31, 30, 30, 1); + background: rgba(255, 255, 255, 0.7); + box-shadow: 0px 9px 13px 0px rgba(0, 0, 0, 0.4); + border-radius: 2.5vh; + text-align: center; + color: rgba(0,0,0,0.7); + text-shadow: + 0px 4px 3px rgba(0,0,0,0.6), + 0px 8px 13px rgba(0,0,0,0.3), + 0px 18px 23px rgba(0,0,0,0.3); + + background-image: url("https://assets.codepen.io/285131/paintbg.jpg"); + background-size: cover; + background-repeat: no-repeat; + + animation: roadRunnerIn .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards; +} + + +.text { + font-weight: 100; + font-size: 28px; + color: #fafafa; +} +.dud { + color: #757575; +} + + +.tituleone { + font-family: bankgothic; + position: absolute; + right: 0vh; + + bottom: 34.5vh; + color: #000000; + height: 3vh; + width: 30vh; + background: rgba(255, 255, 255, 0.7); + box-shadow: 0px 9px 13px 0px rgba(0, 0, 0, 0.4); + border-radius: 0.5vh; + + font-size: 20px; + line-height: 30px; + letter-spacing: 1.7px; + text-align: center; + +} + +.titulesecond { + font-family: bankgothic; + position: absolute; + right: 0vh; + + bottom: 20.5vh; + color: #000000; + height: 3vh; + width: 30vh; + background: rgba(255, 255, 255, 0.7); + box-shadow: 0px 9px 13px 0px rgba(0, 0, 0, 0.4); + border-radius: 0.5vh; + + font-size: 20px; + line-height: 30px; + letter-spacing: 1.7px; + text-align: center; + +} + +.chipmuestra { + font-size: 3rem; + position: absolute; + bottom: 12.5vh; + right: 12vh; + + border: transparent !important; + background-color: transparent !important; + color: #000000 +} + +.progress-container .progress { + position: absolute; + left: 2.5vh; + top: 30vh; + height: 2.5vh; + width: 0; + border-radius: 25px; + background: rgba(0, 0, 0, 0.8); + transition: width 0.4s ease; +} + +#game-container { + position: absolute; + top: 16vh; + left: 22vw; + height: 65vh; + width: 100vh; + border: 5px solid rgba(31, 30, 30, 1); + border-radius: 25px; + background-color: black; + text-align: center; + box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; + background-image: url("https://assets.codepen.io/285131/paintbg.jpg"); + background-size: cover; + background-repeat: no-repeat; + + animation: scaleUp 1.10s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards; +} + +#game-area { + position: fixed; + margin: 3vh; + border: transparent; + border-radius: 25px; + padding: 20px; + top: 17vh; + height: 43vh; + width: 90vh; + pointer-events: auto; +} + +.wrapper { + position: relative; + height: 65vh; + width: 100vh; + background-color: transparent !important; + overflow: hidden; + pointer-events: none; + border-radius: 25px; +} + +.shadow { + position: absolute; + width: 200vw; + height: 200vh; + left: 52.5%; + top: 52%; + transform: translateX(-50%) translateY(-50%); + background-image: radial-gradient(circle at center, transparent, #000 3%); + background-color: rgba(255, 255, 255, 0.2) +} + +#chip { + font-size: 2rem; + overflow: visible; + position: absolute; + top: 0; + left: 0; + margin: 0; + padding: 0; + border: transparent !important; + background-color: transparent !important; + color: #000000 +} + +#info-container { + font-family: bankgothic; + position: absolute; + top: 54.6vh; + left: 41vh; + height: 10vh; + width: 20vh; + background-color: rgba(31, 30, 30, 1); + border-top-left-radius: 25px; + border-top-right-radius: 85px; + color: rgba(255,255,255,0.8); + text-shadow: + 0px 4px 3px rgba(0,0,0,0.6), + 0px 8px 13px rgba(0,0,0,0.3), + 0px 18px 23px rgba(0,0,0,0.3); + text-align: center; + padding: 0.2vh; + font-size: 0.75rem; + letter-spacing: 2px; +} + +#countdown-container { + font-family: bankgothic; + position: absolute; + top: 61.7vh; + left: 41vh; + height: 1.8vh; + width: 14vw; + background-color: rgba(31, 30, 30, 1); + border-top-left-radius: 25px; + border-top-right-radius: 25px; + text-align: center; + color: rgba(255,255,255,0.8); + text-shadow: + 0px 4px 3px rgba(0,0,0,0.6), + 0px 8px 13px rgba(0,0,0,0.3), + 0px 18px 23px rgba(0,0,0,0.3); + padding: 1vh; + font-size: 0.75rem; + letter-spacing: 2px; +} + +#countdown { + position: absolute; + top: -0.9vh; +} + + + +@keyframes roadRunnerIn { + 0% { + transform:translateX(-1500px) skewX(30deg) scaleX(1.3); + } + 70% { + transform:translateX(30px) skewX(0deg) scaleX(.9); + } + 100% { + transform:translateX(0px) skewX(0deg) scaleX(1); + } +} + + + +@keyframes scaleUp { + 0% { + transform:scale(.8) translateY(-50px); + opacity:0; + } + 100% { + transform:scale(1) translateY(0px); + opacity:1; + } +} +@keyframes blowUpContentTwo { + 0% { + transform:scale(2); + opacity:0; + } + 100% { + transform:scale(1); + opacity:1; + } +} \ No newline at end of file diff --git a/resources/[standalone]/am_hackgame/html/index.html b/resources/[standalone]/am_hackgame/html/index.html new file mode 100644 index 0000000..a21aa70 --- /dev/null +++ b/resources/[standalone]/am_hackgame/html/index.html @@ -0,0 +1,66 @@ + + + + + + + + + Hack GAMES + AMERICAN SCRIPT + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/[standalone]/am_hackgame/html/laptop-png-6759.png b/resources/[standalone]/am_hackgame/html/laptop-png-6759.png new file mode 100644 index 0000000..09477ba Binary files /dev/null and b/resources/[standalone]/am_hackgame/html/laptop-png-6759.png differ diff --git a/resources/[standalone]/am_hackgame/html/phone-case.png b/resources/[standalone]/am_hackgame/html/phone-case.png new file mode 100644 index 0000000..e5c4484 Binary files /dev/null and b/resources/[standalone]/am_hackgame/html/phone-case.png differ diff --git a/resources/[standalone]/am_hackgame/html/scripts/script.js b/resources/[standalone]/am_hackgame/html/scripts/script.js new file mode 100644 index 0000000..e83258b --- /dev/null +++ b/resources/[standalone]/am_hackgame/html/scripts/script.js @@ -0,0 +1,193 @@ +//--<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- + +//--<+>-- --<+>-- --<+>-- --<+>-- ☾ AMERICAN SCRIPT ☾ --<+>-- --<+>-- --<+>-- --<+>-- + +//--<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- --<+>-- + +const shadow = document.querySelector('.shadow'); +const counterInc = document.getElementById('chip'); +const curCount = document.getElementById('current-count'); +const progressbar = document.querySelector('.progress'); +const gameArea = document.getElementById('game-area'); +const chip = document.getElementById('chip'); +var counter = 0; +var piezasencontradas = null; +var timeleft = null; +let countertext = 0; + +$(document).ready(function(){ + window.addEventListener('message', function(event) { + var data = event.data; + if (data.open == true) { + piezasencontradas = data.piezasencontradas + timeleft = data.timer + $('#start-container').removeClass('hidden'); + const changeProgress = (progress) => { + progressbar.style.width = `${progress}%`; + if (progress >= 90) { + setTimeout(StartGame(piezasencontradas, timeleft), 1000); + } + }; + setTimeout(() => changeProgress(15), 1000); + setTimeout(() => changeProgress(32), 2000); + setTimeout(() => changeProgress(65), 3600); + setTimeout(() => changeProgress(78), 4266); + setTimeout(() => changeProgress(90), 6000); + } else if (data.open == false) { + $('#start-container').addClass('hidden'); + $('#game-container').addClass('hidden'); + location.reload(); + } + $(document).keyup(function (exit) { + if (exit.keyCode === 27) { + CloseGame(); + } + }) + }) +}) + +// starts game +function StartGame() { + $('#start-container').addClass('hidden'); + $('#game-container').removeClass('hidden'); + document.addEventListener('mousemove', (e) => { + let x = e.clientX - (document.documentElement.clientWidth * 1.5); + let y = e.clientY - (document.documentElement.clientHeight * 1.5); + shadow.style.transform = 'translate(' + x + 'px, ' + y + 'px)'; + }) + var w = gameArea.offsetWidth || gameArea.style.width + var h = gameArea.offsetHeight || gameArea.style.height + $('#chip').click(function(){ + this.style.top = Math.round(Math.random() * h) + "px"; + this.style.left = Math.round(Math.random() * w) + "px"; + AddCounter() + }) + StartCountdown() +} + +// starts countdown timer +function StartCountdown() { + var htmlResult = '

CHIPS FOUND

'+ + '

'+counter+'/'+piezasencontradas+'

' + $('#info-container').html(htmlResult); +} + +// countdown timer +const countdown = setInterval(function() { + if (timeleft === 0) { + if (counter <= piezasencontradas) { + clearInterval(countdown); + setTimeout(CloseGame(), 1000); + } + } else { + document.getElementById("countdown").innerHTML = '

'+timeleft+ 's REMAINING

'; + } + timeleft -= 1; +}, 1000); + +// adds counter when chip found +function AddCounter() { + var htmlResult = '

CHIPS FOUND

'+ + '

'+counter+'/'+piezasencontradas+'

' + $('#info-container').html(htmlResult); + if (counter == piezasencontradas) { + $('#game-container').addClass('hidden'); + clearInterval(countdown); + $.post(`https://am_hackgame/CounterCallback`, JSON.stringify({'success': true})); + } +} + +// closes game +function CloseGame() { + $.post(`https://am_hackgame/CloseGame`, JSON.stringify({'success': false})); +} + +// increments counter +const handleIncrement = () => { + counter++; + curCount.innerHTML = counter; +}; +counterInc.addEventListener("click", handleIncrement); + + + + +/* +class TextScramble { + constructor(el) { + this.el = el; + this.chars = "!<>-_\\/[]{}—=+*^?#________"; + this.update = this.update.bind(this); + } + setText(newText) { + const oldText = this.el.innerText; + const length = Math.max(oldText.length, newText.length); + const promise = new Promise((resolve) => (this.resolve = resolve)); + this.queue = []; + for (let i = 0; i < length; i++) { + const from = oldText[i] || ""; + const to = newText[i] || ""; + const start = Math.floor(Math.random() * 40); + const end = start + Math.floor(Math.random() * 40); + this.queue.push({ from, to, start, end }); + } + cancelAnimationFrame(this.frameRequest); + this.frame = 0; + this.update(); + return promise; + } + update() { + let output = ""; + let complete = 0; + for (let i = 0, n = this.queue.length; i < n; i++) { + let { from, to, start, end, char } = this.queue[i]; + if (this.frame >= end) { + complete++; + output += to; + } else if (this.frame >= start) { + if (!char || Math.random() < 0.28) { + char = this.randomChar(); + this.queue[i].char = char; + } + output += `${char}`; + } else { + output += from; + } + } + this.el.innerHTML = output; + if (complete === this.queue.length) { + this.resolve(); + } else { + this.frameRequest = requestAnimationFrame(this.update); + this.frame++; + } + } + randomChar() { + return this.chars[Math.floor(Math.random() * this.chars.length)]; + } +} + +const phrases = [ + "Hey,", + "put here all the sentences", + "that you want to cycle", + "they will all be automatically displayed.", + "Just", + "Like", + "This.", + "Have fun :)" +]; + +const el = document.querySelector(".text"); +const fx = new TextScramble(el); + + +const next = () => { + fx.setText(phrases[countertext]).then(() => { + setTimeout(next, 800); + }); + countertext = (countertext + 1) % phrases.length; +}; + +next(); */ + diff --git a/resources/[standalone]/bob74_ipl/README.md b/resources/[standalone]/bob74_ipl/README.md new file mode 100644 index 0000000..c99d765 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/README.md @@ -0,0 +1,152 @@ +# Fix holes and customize the map (Updated to The Criminal Enterprises DLC) + +The purpose of this script is to fix the holes in the map by loading zones that aren’t loaded by default. I’ve added quite a lot of places to load, based on [Mikeeh’s script](https://forum.fivem.net/t/release-load-unloaded-ipls/5911). If you just want to fix the holes in the map, then use this resource as provided. + +This resource has been completely rewritten from scratch since v2.0. You can customize almost every storymode and online purchasable interiors from your own resources. + +## Download +- Latest version: https://github.com/Bob74/bob74_ipl/releases/latest + +- Source code: https://github.com/Bob74/bob74_ipl + +## [Wiki](https://github.com/Bob74/bob74_ipl/wiki) +- The Wiki has been created to help you customize your interiors as you wish. It contains every function you can use for each interior. +- Each Wiki page has an example at the bottom of the page to show how you can use it in your own resource. +- Also at the bottom of the Wiki will show you the default values set by `IPL_NAME.LoadDefault()`. + +## Install +1. Download the [latest version](https://github.com/Bob74/bob74_ipl/releases/latest). +2. Extract `bob74_ipl.zip` and copy the `bob74_ipl` into your `resources` folder. +3. Add `start bob74_ipl` to your your `server.cfg` file. + +## Screenshots +- [After Hours Album](https://imgur.com/a/Qg96l0D) +- [Misc. Album](https://imgur.com/a/cs9Ip4d) +- [IPL Fix Album](https://imgur.com/a/1Sfl4) + +## Changelog + +
Click to view +(DD/MM/YYYY) + +--- +03/08/2022 - 2.1.0 +- Added "The Criminal Enterprises" support + +02/05/2022 - 2.0.15 +- Reformatted code +- Removed unused .gitignore +- Bumped version in fxmanifest.lua +- Improved performance + +21/04/2022 - 2.0.14 +- Fix casino penthouse carpet patterns colors + +12/02/2022 - 2.0.13a +- Fix Music Roof + +12/02/2022 - 2.0.13 +- Added Contract IPLs: Garage, Studio, Offices, Music Roof, Billboards + +10/02/2022 - 2.0.12 +- Fix FIB roof + +07/02/2022 - 2.0.11 +- Added Tuners IPLs: Garage, Meth Lab, Meetup + +18/01/2022 - 2.0.10b +- Change water in yachts to be non-networked. + +01/08/2021 - 2.0.10a +- Improved performance +- Fixed hole in the FIB fountain +- Fixed error appearing if casino IPL is loaded, but the game build is not sufficient +- Fixed a few typos in the README file + +19/07/2021 - 2.0.10 +- Added Diamond Casino IPLs: Casino, Garage, VIP garage, Penthouse +- Import: Forced refresh of CEO Garages +- Updated fxmanifest fx_version to cerulean +- Updated IPL list link in fxmanifest nad removed outdated Props list and Interior ID list +- Fixed export typo in `michael.lua` +- Removed unnecessary space in north_yankton IPL + +27/05/2020 - 2.0.9a +- Fixed disabling Pillbox Hospital +- Fixed `ResetInteriorVariables` + +23/04/2020 - 2.0.9 +- Replaced deprecated __resource.lua with fxmanifest.lua +- Added ferris wheel on the Del Perro Pier +- Reformatted client.lua + +20/10/2019 - 2.0.8 +- Nightclubs: Added dry ice emitters +- Heist & Gunrunning: Added water to the yachts hot tubs (to enable/disable) +- Offices: Added a way to open and close the safes +- Facility: Added privacy glass +- Moved Bahama Mamas and PillBox Hospital in their own files +- Fixed error `ReleaseNamedRendertarget` +- Cleaned and optimized the code + +22/03/2019 - 2.0.7c +- CEO Offices: Changed the default loaded garage to ImportCEOGarage4.Part.Garage2 in order to avoid Office glitches + +15/01/2019 - 2.0.7b +- Nightclubs: Fixed a typo for the fake lights + +15/01/2019 - 2.0.7a +- Nightclubs: Added the ability to set no podium (using `AfterHoursNightclubs.Interior.Podium.none`) + +14/01/2019 - 2.0.7 +- Changed the way Trevor’s trailer is handled and added a Wiki entry. +- Added a way to open or close Zancudo’s gates with a Wiki entry. + +12/01/2019 - 2.0.6 +- Added nightclubs interior and exteriors +- Removed Zancudo gates by default (file bob74_ipl/gtav/base.lua: RequestIpl("CS3_07_MPGates") is now commented) + +29/12/2018 - 2.0.5a +- Fixed the name of the BikerClubhouse1 export + +19/12/2018 - 2.0.5 +- Fixed a typo that prevents the printers, security stuff, and cash piles to spawn in the counterfeit cash factory + +10/11/2018 - 2.0.4 +- Fixed an issue where the clubhouse2 lower walls wouldn’t be colored on the first resource start +- Fixed gang members names using an old format +- Disabled the Mod shop from CEO garage 3 (ImportCEOGarage3) because it is overlapping with CEO office 3 (FinanceOffice3) + +- 08/11/2018 - 2.0.3 +Added biker gang’s name, missions, and members pictures +- Added CEO office organization’s name + +05/11/2018 - 2.0.1 +- Removed overlapping Zancudo River +- Added the trailer near Zancudo River + +04/11/2018 - 2.0.0 +- Plugin totally rewritten +- Support for all DLC (up to The Doomsday Heist) +- Ability to easily customize story mode and online purchasable interiors +- You can still use it as it is if you want IPL and interiors to be loaded, the plugin sets a default style for each one +- Check out the Wiki to find out how: https://github.com/Bob74/bob74_ipl/wiki + +26/06/2017 +- Added optional IPL +- Bunkers exteriors (enabled) +- Bunkers interior +- CEO Offices +- Bikers places (some are still buggy) +- Import/Export locations +- Removed the trick to open Lost’s safehouse since the last update already opens it + +19/06/2017 +- Fix hole in Zancudo River +- Fix hole in Cassidy Creek +- Add optional graffiti on some billboards (enabled by default) +- Opened Lost’s safehouse interior + +14/06/2017 +- Original release +
diff --git a/resources/[standalone]/bob74_ipl/client.lua b/resources/[standalone]/bob74_ipl/client.lua new file mode 100644 index 0000000..44e1215 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/client.lua @@ -0,0 +1,178 @@ +Citizen.CreateThread(function() + -- ==================================================================== + -- =--------------------- [GTA V: Single player] ---------------------= + -- ==================================================================== + + -- Michael: -802.311, 175.056, 72.8446 + Michael.LoadDefault() + + -- Simeon: -47.16170 -1115.3327 26.5 + Simeon.LoadDefault() + + -- Franklin's aunt: -9.96562, -1438.54, 31.1015 + FranklinAunt.LoadDefault() + + -- Franklin + Franklin.LoadDefault() + + -- Floyd: -1150.703, -1520.713, 10.633 + Floyd.LoadDefault() + + -- Trevor: 1985.48132, 3828.76757, 32.5 + TrevorsTrailer.LoadDefault() + + -- Bahama Mamas: -1388.0013, -618.41967, 30.819599 + BahamaMamas.Enable(true) + + -- Pillbox hospital: 307.1680, -590.807, 43.280 + -- PillboxHospital.Enable(false) + + -- Zancudo Gates (GTAO like): -1600.30100000, 2806.73100000, 18.79683000 + ZancudoGates.LoadDefault() + + -- Other + Ammunations.LoadDefault() + LesterFactory.LoadDefault() + StripClub.LoadDefault() + + Graffitis.Enable(true) + + -- UFO + UFO.Hippie.Enable(false) -- 2490.47729, 3774.84351, 2414.035 + UFO.Chiliad.Enable(false) -- 501.52880000, 5593.86500000, 796.23250000 + UFO.Zancudo.Enable(false) -- -2051.99463, 3237.05835, 1456.97021 + + -- Red Carpet: 300.5927, 199.7589, 104.3776 + RedCarpet.Enable(false) + + -- North Yankton: 3217.697, -4834.826, 111.8152 + NorthYankton.Enable(false) + + -- ==================================================================== + -- =-------------------------- [GTA Online] --------------------------= + -- ==================================================================== + GTAOApartmentHi1.LoadDefault() -- -35.31277 -580.4199 88.71221 (4 Integrity Way, Apt 30) + GTAOApartmentHi2.LoadDefault() -- -1477.14 -538.7499 55.5264 (Dell Perro Heights, Apt 7) + GTAOHouseHi1.LoadDefault() -- -169.286 486.4938 137.4436 (3655 Wild Oats Drive) + GTAOHouseHi2.LoadDefault() -- 340.9412 437.1798 149.3925 (2044 North Conker Avenue) + GTAOHouseHi3.LoadDefault() -- 373.023 416.105 145.7006 (2045 North Conker Avenue) + GTAOHouseHi4.LoadDefault() -- -676.127 588.612 145.1698 (2862 Hillcrest Avenue) + GTAOHouseHi5.LoadDefault() -- -763.107 615.906 144.1401 (2868 Hillcrest Avenue) + GTAOHouseHi6.LoadDefault() -- -857.798 682.563 152.6529 (2874 Hillcrest Avenue) + GTAOHouseHi7.LoadDefault() -- 120.5 549.952 184.097 (2677 Whispymound Drive) + GTAOHouseHi8.LoadDefault() -- -1288 440.748 97.69459 (2133 Mad Wayne Thunder) + GTAOHouseMid1.LoadDefault() -- 347.2686 -999.2955 -99.19622 + GTAOHouseLow1.LoadDefault() -- 261.4586 -998.8196 -99.00863 + + -- ==================================================================== + -- =------------------------ [DLC: High life] ------------------------= + -- ==================================================================== + HLApartment1.LoadDefault() -- -1468.14 -541.815 73.4442 (Dell Perro Heights, Apt 4) + HLApartment2.LoadDefault() -- -915.811 -379.432 113.6748 (Richard Majestic, Apt 2) + HLApartment3.LoadDefault() -- -614.86 40.6783 97.60007 (Tinsel Towers, Apt 42) + HLApartment4.LoadDefault() -- -773.407 341.766 211.397 (EclipseTowers, Apt 3) + HLApartment5.LoadDefault() -- -18.07856 -583.6725 79.46569 (4 Integrity Way, Apt 28) + HLApartment6.LoadDefault() -- -609.56690000 51.28212000 -183.98080 + + -- ==================================================================== + -- =-------------------------- [DLC: Heists] -------------------------= + -- ==================================================================== + HeistCarrier.Enable(true) -- 3082.3117, -4717.1191, 15.2622 + HeistYacht.LoadDefault() -- -2043.974,-1031.582, 11.981 + + -- ==================================================================== + -- =--------------- [DLC: Executives & Other Criminals] --------------= + -- ==================================================================== + ExecApartment1.LoadDefault() -- -787.7805 334.9232 215.8384 (EclipseTowers, Penthouse Suite 1) + ExecApartment2.LoadDefault() -- -773.2258 322.8252 194.8862 (EclipseTowers, Penthouse Suite 2) + ExecApartment3.LoadDefault() -- -787.7805 334.9232 186.1134 (EclipseTowers, Penthouse Suite 3) + + -- ==================================================================== + -- =-------------------- [DLC: Finance & Felony] --------------------= + -- ==================================================================== + FinanceOffice1.LoadDefault() -- -141.1987, -620.913, 168.8205 (Arcadius Business Centre) + FinanceOffice2.LoadDefault() -- -75.8466, -826.9893, 243.3859 (Maze Bank Building) + FinanceOffice3.LoadDefault() -- -1579.756, -565.0661, 108.523 (Lom Bank) + FinanceOffice4.LoadDefault() -- -1392.667, -480.4736, 72.04217 (Maze Bank West) + + -- ==================================================================== + -- =-------------------------- [DLC: Bikers] -------------------------= + -- ==================================================================== + BikerCocaine.LoadDefault() -- Cocaine lockup: 1093.6, -3196.6, -38.99841 + BikerCounterfeit.LoadDefault() -- Counterfeit cash factory: 1121.897, -3195.338, -40.4025 + BikerDocumentForgery.LoadDefault() -- Document forgery: 1165, -3196.6, -39.01306 + BikerMethLab.LoadDefault() -- Meth lab: 1009.5, -3196.6, -38.99682 + BikerWeedFarm.LoadDefault() -- Weed farm: 1051.491, -3196.536, -39.14842 + BikerClubhouse1.LoadDefault() -- 1107.04, -3157.399, -37.51859 + BikerClubhouse2.LoadDefault() -- 998.4809, -3164.711, -38.90733 + + -- ==================================================================== + -- =---------------------- [DLC: Import/Export] ----------------------= + -- ==================================================================== + ImportCEOGarage1.LoadDefault() -- Arcadius Business Centre + ImportCEOGarage2.LoadDefault() -- Maze Bank Building /!\ Do not load parts Garage1, Garage2 and Garage3 at the same time (overlaping issues) + ImportCEOGarage3.LoadDefault() -- Lom Bank /!\ Do not load parts Garage1, Garage2 and Garage3 at the same time (overlaping issues) + ImportCEOGarage4.LoadDefault() -- Maze Bank West /!\ Do not load parts Garage1, Garage2 and Garage3 at the same time (overlaping issues) + ImportVehicleWarehouse.LoadDefault() -- Vehicle warehouse: 994.5925, -3002.594, -39.64699 + + -- ==================================================================== + -- =------------------------ [DLC: Gunrunning] -----------------------= + -- ==================================================================== + GunrunningBunker.LoadDefault() -- 892.6384, -3245.8664, -98.2645 + GunrunningYacht.LoadDefault() -- -1363.724, 6734.108, 2.44598 + + -- ==================================================================== + -- =---------------------- [DLC: Smuggler's Run] ---------------------= + -- ==================================================================== + SmugglerHangar.LoadDefault() -- -1267.0 -3013.135 -49.5 + + -- ==================================================================== + -- =-------------------- [DLC: The Doomsday Heist] -------------------= + -- ==================================================================== + DoomsdayFacility.LoadDefault() + + -- ==================================================================== + -- =----------------------- [DLC: After Hours] -----------------------= + -- ==================================================================== + AfterHoursNightclubs.LoadDefault() -- -1604.664, -3012.583, -78.000 + + -- ==================================================================== + -- =------------------- [DLC: Diamond Casino Resort] -----------------= + -- ==================================================================== + if GetGameBuildNumber() >= 2060 then + DiamondCasino.LoadDefault() -- 1100.000, 220.000, -50.000 + DiamondPenthouse.LoadDefault() -- 976.636, 70.295, 115.164 + end + + -- ==================================================================== + -- =------------------- [DLC: Los Santos Tuners] ---------------------= + -- ==================================================================== + if GetGameBuildNumber() >= 2372 then + TunerGarage.LoadDefault() -- -1350.0, 160.0, -100.0 + TunerMethLab.LoadDefault() -- 981.9999, -143.0, -50.0 + TunerMeetup.LoadDefault() -- -2000.0, 1113.211, -25.36243 + end + + -- ==================================================================== + -- =------------------- [DLC: Los Santos The Contract] ---------------------= + -- ==================================================================== + if GetGameBuildNumber() >= 2545 then + MpSecurityGarage.LoadDefault() -- -1071.4387, -77.033875, -93.525505 + MpSecurityMusicRoofTop.LoadDefault() -- -592.6896, 273.1052, 116.302444 + MpSecurityStudio.LoadDefault() -- -1000.7252, -70.559875, -98.10669 + MpSecurityBillboards.LoadDefault() -- -592.6896, 273.1052, 116.302444 + MpSecurityOffice1.LoadDefault() -- -1021.86084, -427.74564, 68.95764 + MpSecurityOffice2.LoadDefault() -- 383.4156, -59.878227, 108.4595 + MpSecurityOffice3.LoadDefault() -- -1004.23035, -761.2084, 66.99069 + MpSecurityOffice4.LoadDefault() -- -587.87213, -716.84937, 118.10156 + end + + -- ==================================================================== + -- =------------------- [DLC: The Criminal Enterprise] ---------------------= + -- ==================================================================== + if GetGameBuildNumber() >= 2699 then + CriminalEnterpriseSmeonFix.LoadDefault() -- -50.2248, -1098.8325, 26.049742 + CriminalEnterpriseVehicleWarehouse.LoadDefault() -- 800.13696, -3001.4297, -65.14074 + CriminalEnterpriseWarehouse.LoadDefault() -- 849.1047, -3000.209, -45.974354 + end +end) diff --git a/resources/[standalone]/bob74_ipl/dlc_afterhours/nightclubs.lua b/resources/[standalone]/bob74_ipl/dlc_afterhours/nightclubs.lua new file mode 100644 index 0000000..53993d5 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_afterhours/nightclubs.lua @@ -0,0 +1,703 @@ +-- Nightclub: -1604.664 -3012.583 -78.000 +exports('GetAfterHoursNightclubsObject', function() + return AfterHoursNightclubs +end) + +AfterHoursNightclubs = { + interiorId = 271617, + + Ipl = { + Interior = { + ipl = "ba_int_placement_ba_interior_0_dlc_int_01_ba_milo_", + + Load = function() + EnableIpl(AfterHoursNightclubs.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(AfterHoursNightclubs.Ipl.Interior.ipl, false) + end + } + }, + + Interior = { + Name = { + galaxy = "Int01_ba_clubname_01", + studio = "Int01_ba_clubname_02", + omega = "Int01_ba_clubname_03", + technologie = "Int01_ba_clubname_04", + gefangnis = "Int01_ba_clubname_05", + maisonette = "Int01_ba_clubname_06", + tony = "Int01_ba_clubname_07", + palace = "Int01_ba_clubname_08", + paradise = "Int01_ba_clubname_09", + + Set = function(name, refresh) + AfterHoursNightclubs.Interior.Name.Clear(false) + + SetIplPropState(AfterHoursNightclubs.interiorId, name, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(AfterHoursNightclubs.Interior.Name) do + if type(value) == "string" then + SetIplPropState(AfterHoursNightclubs.interiorId, value, false, refresh) + end + end + end + }, + Style = { + trad = "Int01_ba_Style01", + edgy = "Int01_ba_Style02", + glam = "Int01_ba_Style03", + + Set = function(style, refresh) + AfterHoursNightclubs.Interior.Style.Clear(false) + + SetIplPropState(AfterHoursNightclubs.interiorId, style, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(AfterHoursNightclubs.Interior.Style) do + if type(value) == "string" then + SetIplPropState(AfterHoursNightclubs.interiorId, value, false, refresh) + end + end + end + }, + Podium = { + none = "", + trad = "Int01_ba_style01_podium", + edgy = "Int01_ba_style02_podium", + glam = "Int01_ba_style03_podium", + + Set = function(podium, refresh) + AfterHoursNightclubs.Interior.Podium.Clear(false) + + SetIplPropState(AfterHoursNightclubs.interiorId, podium, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(AfterHoursNightclubs.Interior.Podium) do + if type(value) == "string" then + SetIplPropState(AfterHoursNightclubs.interiorId, value, false, refresh) + end + end + end + }, + Speakers = { + none = "", + basic = "Int01_ba_equipment_setup", + upgrade = { + "Int01_ba_equipment_setup", + "Int01_ba_equipment_upgrade" + }, + + Set = function(speakers, refresh) + AfterHoursNightclubs.Interior.Speakers.Clear(false) + + SetIplPropState(AfterHoursNightclubs.interiorId, speakers, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(AfterHoursNightclubs.Interior.Speakers) do + if type(value) == "string" then + SetIplPropState(AfterHoursNightclubs.interiorId, value, false, refresh) + end + end + end + }, + Security = { + off = "", + on = "Int01_ba_security_upgrade", + + Set = function(security, refresh) + AfterHoursNightclubs.Interior.Security.Clear(false) + + SetIplPropState(AfterHoursNightclubs.interiorId, security, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(AfterHoursNightclubs.interiorId, AfterHoursNightclubs.Interior.Security.on, false, refresh) + end + }, + Turntables = { + none = "", + style01 = "Int01_ba_dj01", + style02 = "Int01_ba_dj02", + style03 = "Int01_ba_dj03", + style04 = "Int01_ba_dj04", + + Set = function(turntables, refresh) + AfterHoursNightclubs.Interior.Turntables.Clear(false) + + if turntables ~= "" then + SetIplPropState(AfterHoursNightclubs.interiorId, turntables, true, refresh) + else + if refresh then + RefreshInterior(AfterHoursNightclubs.interiorId) + end + end + end, + Clear = function(refresh) + for key, value in pairs(AfterHoursNightclubs.Interior.Turntables) do + if type(value) == "string" then + SetIplPropState(AfterHoursNightclubs.interiorId, value, false, refresh) + end + end + end + }, + Lights = { + Droplets = { + yellow = "DJ_01_Lights_01", + green = "DJ_02_Lights_01", + white = "DJ_03_Lights_01", + purple = "DJ_04_Lights_01", + + Set = function(light, refresh) + AfterHoursNightclubs.Interior.Lights.Droplets.Clear(false) + + SetIplPropState(AfterHoursNightclubs.interiorId, light, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(AfterHoursNightclubs.Interior.Lights.Droplets) do + if type(value) == "string" then + SetIplPropState(AfterHoursNightclubs.interiorId, value, false, refresh) + end + end + end + }, + Neons = { + yellow = "DJ_01_Lights_02", + white = "DJ_02_Lights_02", + purple = "DJ_03_Lights_02", + cyan = "DJ_04_Lights_02", + + Set = function(light, refresh) + AfterHoursNightclubs.Interior.Lights.Neons.Clear(false) + + SetIplPropState(AfterHoursNightclubs.interiorId, light, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(AfterHoursNightclubs.Interior.Lights.Neons) do + if type(value) == "string" then + SetIplPropState(AfterHoursNightclubs.interiorId, value, false, refresh) + end + end + end + }, + Bands = { + yellow = "DJ_01_Lights_03", + green = "DJ_02_Lights_03", + white = "DJ_03_Lights_03", + cyan = "DJ_04_Lights_03", + + Set = function(light, refresh) + AfterHoursNightclubs.Interior.Lights.Bands.Clear(false) + + SetIplPropState(AfterHoursNightclubs.interiorId, light, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(AfterHoursNightclubs.Interior.Lights.Bands) do + if type(value) == "string" then + SetIplPropState(AfterHoursNightclubs.interiorId, value, false, refresh) + end + end + end + }, + Lasers = { + yellow = "DJ_01_Lights_04", + green = "DJ_02_Lights_04", + white = "DJ_03_Lights_04", + purple = "DJ_04_Lights_04", + + Set = function(light, refresh) + AfterHoursNightclubs.Interior.Lights.Lasers.Clear(false) + + SetIplPropState(AfterHoursNightclubs.interiorId, light, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(AfterHoursNightclubs.Interior.Lights.Lasers) do + if type(value) == "string" then + SetIplPropState(AfterHoursNightclubs.interiorId, value, false, refresh) + end + end + end + }, + Clear = function() + AfterHoursNightclubs.Interior.Lights.Droplets.Clear() + AfterHoursNightclubs.Interior.Lights.Neons.Clear() + AfterHoursNightclubs.Interior.Lights.Bands.Clear() + AfterHoursNightclubs.Interior.Lights.Lasers.Clear() + end + }, + Bar = { + Enable = function(state, refresh) + SetIplPropState(AfterHoursNightclubs.interiorId, "Int01_ba_bar_content", state, refresh) + end + }, + Booze = { + A = "Int01_ba_booze_01", + B = "Int01_ba_booze_02", + C = "Int01_ba_booze_03", + + Enable = function(booze, state, refresh) + if type(booze) == "table" then + for key, value in pairs(booze) do + if type(value) == "string" then + SetIplPropState(AfterHoursNightclubs.interiorId, booze, state, refresh) + end + end + else + SetIplPropState(AfterHoursNightclubs.interiorId, booze, state, refresh) + end + end + }, + Trophy = { + Color = { + bronze = 0, + silver = 1, + gold = 2 + }, + number1 = "Int01_ba_trophy01", + battler = "Int01_ba_trophy02", + dancer = "Int01_ba_trophy03", + + Enable = function(trophy, state, color, refresh) + SetIplPropState(AfterHoursNightclubs.interiorId, trophy, state, refresh) + SetInteriorPropColor(AfterHoursNightclubs.interiorId, trophy, color) + end + }, + DryIce = { + scale = 5.0, + Emitters = { + { + pos = vector3(-1602.932, -3019.1, -79.99), + rot = vector3(0.0, -10.0, 66.0) + }, + { + pos = vector3(-1593.238, -3017.05, -79.99), + rot = vector3(0.0, -10.0, 110.0) + }, + { + pos = vector3(-1597.134, -3008.2, -79.99), + rot = vector3(0.0, -10.0, -122.53) + }, + { + pos = vector3(-1589.966, -3008.518, -79.99), + rot = vector3(0.0, -10.0, -166.97) + } + }, + + Enable = function(state) + if state then + RequestNamedPtfxAsset("scr_ba_club") + while not HasNamedPtfxAssetLoaded("scr_ba_club") do + Citizen.Wait(0) + end + + for key, emitter in pairs(AfterHoursNightclubs.Interior.DryIce.Emitters) do + UseParticleFxAssetNextCall("scr_ba_club") + StartParticleFxLoopedAtCoord("scr_ba_club_smoke_machine", emitter.pos.x, emitter.pos.y, emitter.pos.z, emitter.rot.x, emitter.rot.y, emitter.rot.z, AfterHoursNightclubs.Interior.DryIce.scale, false, false, false, true) + end + else + local radius = 1.0 + + for key, emitter in pairs(AfterHoursNightclubs.Interior.DryIce.Emitters) do + RemoveParticleFxInRange(emitter.pos.x, emitter.pos.y, emitter.pos.z, radius) + end + end + end, + }, + Details = { + clutter = "Int01_ba_Clutter", -- Clutter and graffitis + worklamps = "Int01_ba_Worklamps", -- Work lamps + trash + truck = "Int01_ba_deliverytruck", -- Truck parked in the garage + dryIce = "Int01_ba_dry_ice", -- Dry ice machines (no effects) + lightRigsOff = "light_rigs_off", -- All light rigs at once but turned off + roofLightsOff = "Int01_ba_lightgrid_01", -- Fake lights + floorTradLights = "Int01_ba_trad_lights", -- Floor lights meant to go with the trad style + chest = "Int01_ba_trophy04", -- Chest on the VIP desk + vaultAmmunations = "Int01_ba_trophy05", -- (inside vault) Ammunations + vaultMeth = "Int01_ba_trophy07", -- (inside vault) Meth bag + vaultFakeID = "Int01_ba_trophy08", -- (inside vault) Fake ID + vaultWeed = "Int01_ba_trophy09", -- (inside vault) Opened weed bag + vaultCoke = "Int01_ba_trophy10", -- (inside vault) Coke doll + vaultCash = "Int01_ba_trophy11", -- (inside vault) Scrunched fake money + + Enable = function(details, state, refresh) + SetIplPropState(AfterHoursNightclubs.interiorId, details, state, refresh) + end + } + }, + + -- 760, -1337, 27 + Mesa = { + id = 0, + + Barrier = { + Enable = function(state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Barrier.Enable(AfterHoursNightclubs.Mesa.id, state) + end + }, + Posters = { + Enable = function(poster, state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Posters.Enable(AfterHoursNightclubs.Mesa.id, poster, state) + end, + Clear = function() + AfterHoursNightclubs.Posters.Clear(AfterHoursNightclubs.Mesa.id) + end + } + }, + + -- 348, -979, 30 + MissionRow = { + id = 1, + + Barrier = { + Enable = function(state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Barrier.Enable(AfterHoursNightclubs.MissionRow.id, state) + end + }, + Posters = { + Enable = function(poster, state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Posters.Enable(AfterHoursNightclubs.MissionRow.id, poster, state) + end, + Clear = function() + AfterHoursNightclubs.Posters.Clear(AfterHoursNightclubs.MissionRow.id) + end + } + }, + + -- -118, -1260, 30 + Strawberry = { + id = 2, + + Barrier = { + Enable = function(state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Barrier.Enable(AfterHoursNightclubs.Strawberry.id, state) + end + }, + Posters = { + Enable = function(poster, state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Posters.Enable(AfterHoursNightclubs.Strawberry.id, poster, state) + end, + Clear = function() + AfterHoursNightclubs.Posters.Clear(AfterHoursNightclubs.Strawberry.id) + end + } + }, + + -- 9, 221, 109 + VinewoodWest = { + id = 3, + + Barrier = { + Enable = function(state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Barrier.Enable(AfterHoursNightclubs.VinewoodWest.id, state) + end + }, + Posters = { + Enable = function(poster, state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Posters.Enable(AfterHoursNightclubs.VinewoodWest.id, poster, state) + end, + Clear = function() + AfterHoursNightclubs.Posters.Clear(AfterHoursNightclubs.VinewoodWest.id) + end + } + }, + + -- 868, -2098, 31 + Cypress = { + id = 4, + + Barrier = { + Enable = function(state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Barrier.Enable(AfterHoursNightclubs.Cypress.id, state) + end + }, + Posters = { + Enable = function(poster, state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Posters.Enable(AfterHoursNightclubs.Cypress.id, poster, state) + end, + Clear = function() + AfterHoursNightclubs.Posters.Clear(AfterHoursNightclubs.Cypress.id) + end + } + }, + + -- -1287, -647, 27 + DelPerro = { + id = 5, + + Barrier = { + Enable = function(state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Barrier.Enable(AfterHoursNightclubs.DelPerro.id, state) + end + }, + Posters = { + Enable = function(poster, state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Posters.Enable(AfterHoursNightclubs.DelPerro.id, poster, state) + end, + Clear = function() + AfterHoursNightclubs.Posters.Clear(AfterHoursNightclubs.DelPerro.id) + end + } + }, + + -- -680, -2461, 14 + Airport = { + id = 6, + + Barrier = { + Enable = function(state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Barrier.Enable(AfterHoursNightclubs.Airport.id, state) + end + }, + Posters = { + Enable = function(poster, state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Posters.Enable(AfterHoursNightclubs.Airport.id, poster, state) + end, + Clear = function() + AfterHoursNightclubs.Posters.Clear(AfterHoursNightclubs.Airport.id) + end + } + }, + + -- 192, -3168, 6 + Elysian = { + id = 7, + + Barrier = { + Enable = function(state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Barrier.Enable(AfterHoursNightclubs.Elysian.id, state) + end + }, + Posters = { + Enable = function(poster, state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Posters.Enable(AfterHoursNightclubs.Elysian.id, poster, state) + end, + Clear = function() + AfterHoursNightclubs.Posters.Clear(AfterHoursNightclubs.Elysian.id) + end + } + }, + + -- 373, 254, 103 + Vinewood = { + id = 8, + + Barrier = { + Enable = function(state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Barrier.Enable(AfterHoursNightclubs.Vinewood.id, state) + end + }, + Posters = { + Enable = function(poster, state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Posters.Enable(AfterHoursNightclubs.Vinewood.id, poster, state) + end, + Clear = function() + AfterHoursNightclubs.Posters.Clear(AfterHoursNightclubs.Vinewood.id) + end + } + }, + + -- -1171, -1150, 6 + Vespucci = { + id = 9, + Barrier = { + Enable = function(state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Barrier.Enable(AfterHoursNightclubs.Vespucci.id, state) + end + }, + Posters = { + Enable = function(poster, state) + if state == nil then + state = true + end + + AfterHoursNightclubs.Posters.Enable(AfterHoursNightclubs.Vespucci.id, poster, state) + end, + Clear = function() + AfterHoursNightclubs.Posters.Clear(AfterHoursNightclubs.Vespucci.id) + end + } + }, + + Barrier = { + barrier = "ba_barriers_caseX", + + Enable = function(clubId, state) + value = AfterHoursNightclubs.Barrier.barrier:gsub("caseX", "case" .. tostring(clubId)) + + EnableIpl(value, state) + end + }, + Posters = { + forSale = "ba_caseX_forsale", + dixon = "ba_caseX_dixon", + madonna = "ba_caseX_madonna", + solomun = "ba_caseX_solomun", + taleOfUs = "ba_caseX_taleofus", + + Enable = function(clubId, poster, state) + if type(poster) == "table" then + for key, value in pairs(poster) do + if type(value) == "string" then + value = value:gsub("caseX", "case" .. tostring(clubId)) + + EnableIpl(value, state) + end + end + else + poster = poster:gsub("caseX", "case" .. tostring(clubId)) + + EnableIpl(poster, state) + end + end, + Clear = function(clubId) + for key, value in pairs(AfterHoursNightclubs.Posters) do + if type(value) == "string" then + value = value:gsub("caseX", "case" .. tostring(clubId)) + + EnableIpl(value, false) + end + end + end + }, + + LoadDefault = function() + -- Interior setup + AfterHoursNightclubs.Ipl.Interior.Load() + + AfterHoursNightclubs.Interior.Name.Set(AfterHoursNightclubs.Interior.Name.galaxy) + AfterHoursNightclubs.Interior.Style.Set(AfterHoursNightclubs.Interior.Style.edgy) + + AfterHoursNightclubs.Interior.Podium.Set(AfterHoursNightclubs.Interior.Podium.edgy) + AfterHoursNightclubs.Interior.Speakers.Set(AfterHoursNightclubs.Interior.Speakers.upgrade) + + AfterHoursNightclubs.Interior.Security.Set(AfterHoursNightclubs.Interior.Security.on) + + AfterHoursNightclubs.Interior.Turntables.Set(AfterHoursNightclubs.Interior.Turntables.style01) + AfterHoursNightclubs.Interior.Lights.Bands.Set(AfterHoursNightclubs.Interior.Lights.Bands.cyan) + + AfterHoursNightclubs.Interior.Bar.Enable(true) + + AfterHoursNightclubs.Interior.Booze.Enable(AfterHoursNightclubs.Interior.Booze, true) + + AfterHoursNightclubs.Interior.Trophy.Enable(AfterHoursNightclubs.Interior.Trophy.number1, true, AfterHoursNightclubs.Interior.Trophy.Color.gold) + + RefreshInterior(AfterHoursNightclubs.interiorId) + + -- Exterior IPL + AfterHoursNightclubs.Mesa.Barrier.Enable(true) + AfterHoursNightclubs.Mesa.Posters.Enable(AfterHoursNightclubs.Posters, true) + AfterHoursNightclubs.Mesa.Posters.Enable(AfterHoursNightclubs.Posters.forSale, false) + + AfterHoursNightclubs.MissionRow.Barrier.Enable(true) + AfterHoursNightclubs.MissionRow.Posters.Enable(AfterHoursNightclubs.Posters, true) + AfterHoursNightclubs.MissionRow.Posters.Enable(AfterHoursNightclubs.Posters.forSale, false) + + AfterHoursNightclubs.Strawberry.Barrier.Enable(true) + AfterHoursNightclubs.Strawberry.Posters.Enable(AfterHoursNightclubs.Posters, true) + AfterHoursNightclubs.Strawberry.Posters.Enable(AfterHoursNightclubs.Posters.forSale, false) + + AfterHoursNightclubs.VinewoodWest.Barrier.Enable(true) + AfterHoursNightclubs.VinewoodWest.Posters.Enable(AfterHoursNightclubs.Posters, true) + AfterHoursNightclubs.VinewoodWest.Posters.Enable(AfterHoursNightclubs.Posters.forSale, false) + + AfterHoursNightclubs.Cypress.Barrier.Enable(true) + AfterHoursNightclubs.Cypress.Posters.Enable(AfterHoursNightclubs.Posters, true) + AfterHoursNightclubs.Cypress.Posters.Enable(AfterHoursNightclubs.Posters.forSale, false) + + AfterHoursNightclubs.DelPerro.Barrier.Enable(true) + AfterHoursNightclubs.DelPerro.Posters.Enable(AfterHoursNightclubs.Posters, true) + AfterHoursNightclubs.DelPerro.Posters.Enable(AfterHoursNightclubs.Posters.forSale, false) + + AfterHoursNightclubs.Airport.Barrier.Enable(true) + AfterHoursNightclubs.Airport.Posters.Enable(AfterHoursNightclubs.Posters, true) + AfterHoursNightclubs.Airport.Posters.Enable(AfterHoursNightclubs.Posters.forSale, false) + + AfterHoursNightclubs.Elysian.Barrier.Enable(true) + AfterHoursNightclubs.Elysian.Posters.Enable(AfterHoursNightclubs.Posters, true) + AfterHoursNightclubs.Elysian.Posters.Enable(AfterHoursNightclubs.Posters.forSale, false) + + AfterHoursNightclubs.Vinewood.Barrier.Enable(true) + AfterHoursNightclubs.Vinewood.Posters.Enable(AfterHoursNightclubs.Posters, true) + AfterHoursNightclubs.Vinewood.Posters.Enable(AfterHoursNightclubs.Posters.forSale, false) + + AfterHoursNightclubs.Vespucci.Barrier.Enable(true) + AfterHoursNightclubs.Vespucci.Posters.Enable(AfterHoursNightclubs.Posters, true) + AfterHoursNightclubs.Vespucci.Posters.Enable(AfterHoursNightclubs.Posters.forSale, false) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_bikers/clubhouse1.lua b/resources/[standalone]/bob74_ipl/dlc_bikers/clubhouse1.lua new file mode 100644 index 0000000..bfdcec7 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_bikers/clubhouse1.lua @@ -0,0 +1,388 @@ +-- Clubhouse1: 1107.04, -3157.399, -37.51859 +exports('GetBikerClubhouse1Object', function() + return BikerClubhouse1 +end) + +BikerClubhouse1 = { + interiorId = 246273, + + Ipl = { + Interior = { + ipl = "bkr_biker_interior_placement_interior_0_biker_dlc_int_01_milo", + + Load = function() + EnableIpl(BikerClubhouse1.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(BikerClubhouse1.Ipl.Interior.ipl, false) + end + } + }, + Walls = { + brick = "walls_01", + plain = "walls_02", + Color = { + sable = 0, + yellowGray = 1, + red = 2, + brown = 3, + yellow = 4, + lightYellow = 5, + lightYellowGray = 6, + lightGray = 7, + orange = 8, + gray = 9 + }, + + Set = function(walls, color, refresh) + if color == nil then + color = 0 + end + + BikerClubhouse1.Walls.Clear(false) + + SetIplPropState(BikerClubhouse1.interiorId, walls, true, refresh) + SetInteriorPropColor(BikerClubhouse1.interiorId, walls, color) + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse1.interiorId, { + BikerClubhouse1.Walls.brick, + BikerClubhouse1.Walls.plain + }, false, refresh) + end + }, + Furnitures = { + A = "furnishings_01", + B = "furnishings_02", + + Set = function(furn, color, refresh) + if color == nil then + color = 0 + end + + BikerClubhouse1.Furnitures.Clear(false) + + SetIplPropState(BikerClubhouse1.interiorId, furn, true, refresh) + SetInteriorPropColor(BikerClubhouse1.interiorId, furn, color) + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse1.interiorId, { + BikerClubhouse1.Furnitures.A, + BikerClubhouse1.Furnitures.B + }, false, refresh) + end + }, + Decoration = { + A = "decorative_01", + B = "decorative_02", + + Set = function(deco, refresh) + BikerClubhouse1.Decoration.Clear(false) + + SetIplPropState(BikerClubhouse1.interiorId, deco, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse1.interiorId, { + BikerClubhouse1.Decoration.A, + BikerClubhouse1.Decoration.B + }, false, refresh) + end + }, + Mural = { + none = "", + rideFree = "mural_01", + mods = "mural_02", + brave = "mural_03", + fist = "mural_04", + forest = "mural_05", + mods2 = "mural_06", + rideForever = "mural_07", + heart = "mural_08", + route68 = "mural_09", + + Set = function(mural, refresh) + BikerClubhouse1.Mural.Clear(false) + + if mural ~= "" then + SetIplPropState(BikerClubhouse1.interiorId, mural, true, refresh) + else + if refresh then + RefreshInterior(BikerClubhouse1.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse1.interiorId, { + BikerClubhouse1.Mural.rideFree, + BikerClubhouse1.Mural.mods, + BikerClubhouse1.Mural.brave, + BikerClubhouse1.Mural.fist, + BikerClubhouse1.Mural.forest, + BikerClubhouse1.Mural.mods2, + BikerClubhouse1.Mural.rideForever, + BikerClubhouse1.Mural.heart, + BikerClubhouse1.Mural.route68 + }, false, refresh) + end + }, + GunLocker = { + none = "", + on = "gun_locker", + off = "no_gun_locker", + + Set = function(locker, refresh) + BikerClubhouse1.GunLocker.Clear(false) + + if locker ~= "" then + SetIplPropState(BikerClubhouse1.interiorId, locker, true, refresh) + else + if refresh then + RefreshInterior(BikerClubhouse1.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse1.interiorId, { + BikerClubhouse1.GunLocker.on, + BikerClubhouse1.GunLocker.off + }, false, refresh) + end + }, + ModBooth = { + none = "", + on = "mod_booth", + off = "no_mod_booth", + + Set = function(mod, refresh) + BikerClubhouse1.ModBooth.Clear(false) + + if mod ~= "" then + SetIplPropState(BikerClubhouse1.interiorId, mod, true, refresh) + else + if refresh then + RefreshInterior(BikerClubhouse1.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse1.interiorId, { + BikerClubhouse1.ModBooth.on, + BikerClubhouse1.ModBooth.off + }, false, refresh) + end + }, + Meth = { + none = "", + stage1 = "meth_stash1", + stage2 = { + "meth_stash1", + "meth_stash2" + }, + stage3 = { + "meth_stash1", + "meth_stash2", + "meth_stash3" + }, + + Set = function(stage, refresh) + BikerClubhouse1.Meth.Clear(false) + + if stage ~= "" then + SetIplPropState(BikerClubhouse1.interiorId, stage, true, refresh) + else + if refresh then + RefreshInterior(BikerClubhouse1.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse1.interiorId, { + BikerClubhouse1.Meth.stage1, + BikerClubhouse1.Meth.stage2, + BikerClubhouse1.Meth.stage3 + }, false, refresh) + end + }, + Cash = { + none = "", + stage1 = "cash_stash1", + stage2 = { + "cash_stash1", + "cash_stash2" + }, + stage3 = { + "cash_stash1", + "cash_stash2", + "cash_stash3" + }, + + Set = function(stage, refresh) + BikerClubhouse1.Cash.Clear(false) + + if stage ~= "" then + SetIplPropState(BikerClubhouse1.interiorId, stage, true, refresh) + else + if refresh then + RefreshInterior(BikerClubhouse1.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse1.interiorId, { + BikerClubhouse1.Cash.stage1, + BikerClubhouse1.Cash.stage2, + BikerClubhouse1.Cash.stage3 + }, false, refresh) + end + }, + Weed = { + none = "", + stage1 = "weed_stash1", + stage2 = { + "weed_stash1", + "weed_stash2" + }, + stage3 = { + "weed_stash1", + "weed_stash2", + "weed_stash3" + }, + + Set = function(stage, refresh) + BikerClubhouse1.Weed.Clear(false) + + if stage ~= "" then + SetIplPropState(BikerClubhouse1.interiorId, stage, true, refresh) + else + if refresh then + RefreshInterior(BikerClubhouse1.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse1.interiorId, { + BikerClubhouse1.Weed.stage1, + BikerClubhouse1.Weed.stage2, + BikerClubhouse1.Weed.stage3 + }, false, refresh) + end + }, + Coke = { + none = "", + stage1 = "coke_stash1", + stage2 = { + "coke_stash1", + "coke_stash2" + }, + stage3 = { + "coke_stash1", + "coke_stash2", + "coke_stash3" + }, + + Set = function(stage, refresh) + BikerClubhouse1.Coke.Clear(false) + + if stage ~= "" then + SetIplPropState(BikerClubhouse1.interiorId, stage, true, refresh) + else + if refresh then + RefreshInterior(BikerClubhouse1.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse1.interiorId, { + BikerClubhouse1.Coke.stage1, + BikerClubhouse1.Coke.stage2, + BikerClubhouse1.Coke.stage3 + }, false, refresh) + end + }, + Counterfeit = { + none = "", + stage1 = "counterfeit_stash1", + stage2 = { + "counterfeit_stash1", + "counterfeit_stash2" + }, + stage3 = { + "counterfeit_stash1", + "counterfeit_stash2", + "counterfeit_stash3" + }, + + Set = function(stage, refresh) + BikerClubhouse1.Counterfeit.Clear(false) + + if stage ~= "" then + SetIplPropState(BikerClubhouse1.interiorId, stage, true, refresh) + else + if refresh then + RefreshInterior(BikerClubhouse1.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse1.interiorId, { + BikerClubhouse1.Counterfeit.stage1, + BikerClubhouse1.Counterfeit.stage2, + BikerClubhouse1.Counterfeit.stage3 + }, false, refresh) + end + }, + Documents = { + none = "", + stage1 = "id_stash1", + stage2 = { + "id_stash1", + "id_stash2" + }, + stage3 = { + "id_stash1", + "id_stash2", + "id_stash3" + }, + + Set = function(stage, refresh) + BikerClubhouse1.Documents.Clear(false) + + if stage ~= "" then + SetIplPropState(BikerClubhouse1.interiorId, stage, true, refresh) + else + if refresh then + RefreshInterior(BikerClubhouse1.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse1.interiorId, { + BikerClubhouse1.Documents.stage1, + BikerClubhouse1.Documents.stage2, + BikerClubhouse1.Documents.stage3 + }, false, refresh) + end + }, + + LoadDefault = function() + BikerClubhouse1.Ipl.Interior.Load() + + BikerClubhouse1.Walls.Set(BikerClubhouse1.Walls.plain, BikerClubhouse1.Walls.Color.brown) + + BikerClubhouse1.Furnitures.Set(BikerClubhouse1.Furnitures.A, 3) + BikerClubhouse1.Decoration.Set(BikerClubhouse1.Decoration.A) + BikerClubhouse1.Mural.Set(BikerClubhouse1.Mural.rideFree) + + BikerClubhouse1.ModBooth.Set(BikerClubhouse1.ModBooth.none) + BikerClubhouse1.GunLocker.Set(BikerClubhouse1.GunLocker.none) + + BikerClubhouse1.Meth.Set(BikerClubhouse1.Meth.none) + BikerClubhouse1.Cash.Set(BikerClubhouse1.Cash.none) + BikerClubhouse1.Coke.Set(BikerClubhouse1.Coke.none) + BikerClubhouse1.Weed.Set(BikerClubhouse1.Weed.none) + BikerClubhouse1.Counterfeit.Set(BikerClubhouse1.Counterfeit.none) + BikerClubhouse1.Documents.Set(BikerClubhouse1.Documents.none) + + RefreshInterior(BikerClubhouse1.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_bikers/clubhouse2.lua b/resources/[standalone]/bob74_ipl/dlc_bikers/clubhouse2.lua new file mode 100644 index 0000000..bfd6b55 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_bikers/clubhouse2.lua @@ -0,0 +1,402 @@ +-- Clubhouse2: 998.4809, -3164.711, -38.90733 +exports('GetBikerClubhouse2Object', function() + return BikerClubhouse2 +end) + +BikerClubhouse2 = { + interiorId = 246529, + + Ipl = { + Interior = { + ipl = "bkr_biker_interior_placement_interior_1_biker_dlc_int_02_milo", + + Load = function() + EnableIpl(BikerClubhouse2.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(BikerClubhouse2.Ipl.Interior.ipl, false) + end + } + }, + Walls = { + brick = "walls_01", + plain = "walls_02", + Color = { + greenAndGray = 1, + multicolor = 2, + orangeAndGray = 3, + blue = 4, + lightBlueAndSable = 5, + greenAndRed = 6, + yellowAndGray = 7, + red = 8, + fuchsiaAndGray = 9 + }, + + Set = function(walls, color, refresh) + if color == nil then + color = 0 + end + + BikerClubhouse2.Walls.Clear(false) + + SetIplPropState(BikerClubhouse2.interiorId, walls, true, refresh) + SetInteriorPropColor(BikerClubhouse2.interiorId, walls, color) + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse2.interiorId, { + BikerClubhouse2.Walls.brick, + BikerClubhouse2.Walls.plain + }, false, refresh) + end + }, + LowerWalls = { + default = "lower_walls_default", + + SetColor = function(color, refresh) + SetIplPropState(BikerClubhouse2.interiorId, BikerClubhouse2.LowerWalls.default, true, refresh) + SetInteriorPropColor(BikerClubhouse2.interiorId, BikerClubhouse2.LowerWalls.default, color) + end, + }, + Furnitures = { + A = "furnishings_01", + B = "furnishings_02", + -- Colors for "furnishings_01" only + Color = { + turquoise = 0, + darkBrown = 1, + brown = 2, + -- 3 equal 1 + brown2 = 4, + gray = 5, + red = 6, + darkGray = 7, + black = 8, + red2 = 9 + }, + + Set = function(furn, color, refresh) + if color == nil then + color = 0 + end + + BikerClubhouse2.Furnitures.Clear(false) + + SetIplPropState(BikerClubhouse2.interiorId, furn, true, refresh) + SetInteriorPropColor(BikerClubhouse2.interiorId, furn, color) + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse2.interiorId, { + BikerClubhouse2.Furnitures.A, + BikerClubhouse2.Furnitures.B + }, false, refresh) + end + }, + Decoration = { + A = "decorative_01", + B = "decorative_02", + + Set = function(deco, refresh) + BikerClubhouse2.Decoration.Clear(false) + + SetIplPropState(BikerClubhouse2.interiorId, deco, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse2.interiorId, { + BikerClubhouse2.Decoration.A, + BikerClubhouse2.Decoration.B + }, false, refresh) + end + }, + Mural = { + none = "", + death1 = "mural_01", + cityColor1 = "mural_02", + death2 = "mural_03", + cityColor2 = "mural_04", + graffitis = "mural_05", + cityColor3 = "mural_06", + cityColor4 = "mural_07", + cityBlack = "mural_08", + death3 = "mural_09", + + Set = function(mural, refresh) + BikerClubhouse2.Mural.Clear(false) + + if mural ~= "" then + SetIplPropState(BikerClubhouse2.interiorId, mural, true, refresh) + else + if refresh then + RefreshInterior(BikerClubhouse2.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse2.interiorId, { + BikerClubhouse2.Mural.death1, + BikerClubhouse2.Mural.cityColor1, + BikerClubhouse2.Mural.death2, + BikerClubhouse2.Mural.cityColor2, + BikerClubhouse2.Mural.graffitis, + BikerClubhouse2.Mural.cityColor3, + BikerClubhouse2.Mural.cityColor4, + BikerClubhouse2.Mural.cityBlack, + BikerClubhouse2.Mural.death3 + }, false, refresh) + end + }, + GunLocker = { + on = "gun_locker", + off = "no_gun_locker", + + Set = function(locker, refresh) + BikerClubhouse2.GunLocker.Clear(false) + + if locker ~= "" then + SetIplPropState(BikerClubhouse2.interiorId, locker, true, refresh) + end + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse2.interiorId, { + BikerClubhouse2.GunLocker.on, + BikerClubhouse2.GunLocker.off + }, false, refresh) + end + }, + ModBooth = { + none = "", + on = "mod_booth", + off = "no_mod_booth", + + Set = function(mod, refresh) + BikerClubhouse2.ModBooth.Clear(false) + + if mod ~= "" then + SetIplPropState(BikerClubhouse2.interiorId, mod, true, refresh) + else + if refresh then + RefreshInterior(BikerClubhouse2.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse2.interiorId, { + BikerClubhouse2.ModBooth.on, + BikerClubhouse2.ModBooth.off + }, false, refresh) + end + }, + Meth = { + none = "", + stage1 = "meth_small", + stage2 = { + "meth_small", + "meth_medium" + }, + stage3 = { + "meth_small", + "meth_medium", + "meth_large" + }, + + Set = function(stage, refresh) + BikerClubhouse2.Meth.Clear(false) + + if stage ~= "" then + SetIplPropState(BikerClubhouse2.interiorId, stage, true, refresh) + else + if refresh then + RefreshInterior(BikerClubhouse2.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse2.interiorId, { + BikerClubhouse2.Meth.stage1, + BikerClubhouse2.Meth.stage2, + BikerClubhouse2.Meth.stage3 + }, false, refresh) + end + }, + Cash = { + none = "", + stage1 = "cash_small", + stage2 = { + "cash_small", + "cash_medium" + }, + stage3 = { + "cash_small", + "cash_medium", + "cash_large" + }, + + Set = function(stage, refresh) + BikerClubhouse2.Cash.Clear(false) + + if stage ~= "" then + SetIplPropState(BikerClubhouse2.interiorId, stage, true, refresh) + else + if refresh then + RefreshInterior(BikerClubhouse2.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse2.interiorId, { + BikerClubhouse2.Cash.stage1, + BikerClubhouse2.Cash.stage2, + BikerClubhouse2.Cash.stage3 + }, false, refresh) + end + }, + Weed = { + none = "", + stage1 = "weed_small", + stage2 = { + "weed_small", + "weed_medium" + }, + stage3 = { + "weed_small", + "weed_medium", + "weed_large" + }, + + Set = function(stage, refresh) + BikerClubhouse2.Weed.Clear(false) + + if stage ~= "" then + SetIplPropState(BikerClubhouse2.interiorId, stage, true, refresh) + else + if refresh then + RefreshInterior(BikerClubhouse2.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse2.interiorId, { + BikerClubhouse2.Weed.stage1, + BikerClubhouse2.Weed.stage2, + BikerClubhouse2.Weed.stage3 + }, false, refresh) + end + }, + Coke = { + none = "", + stage1 = "coke_small", + stage2 = { + "coke_small", + "coke_medium" + }, + stage3 = { + "coke_small", + "coke_medium", + "coke_large" + }, + + Set = function(stage, refresh) + BikerClubhouse2.Coke.Clear(false) + + if stage ~= "" then + SetIplPropState(BikerClubhouse2.interiorId, stage, true, refresh) + else + if refresh then + RefreshInterior(BikerClubhouse2.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse2.interiorId, { + BikerClubhouse2.Coke.stage1, + BikerClubhouse2.Coke.stage2, + BikerClubhouse2.Coke.stage3 + }, false, refresh) + end + }, + Counterfeit = { + none = "", + stage1 = "counterfeit_small", + stage2 = { + "counterfeit_small", + "counterfeit_medium" + }, + stage3 = { + "counterfeit_small", + "counterfeit_medium", + "counterfeit_large" + }, + + Set = function(stage, refresh) + BikerClubhouse2.Counterfeit.Clear(false) + + if stage ~= "" then + SetIplPropState(BikerClubhouse2.interiorId, stage, true, refresh) + else + if refresh then + RefreshInterior(BikerClubhouse2.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse2.interiorId, { + BikerClubhouse2.Counterfeit.stage1, + BikerClubhouse2.Counterfeit.stage2, + BikerClubhouse2.Counterfeit.stage3 + }, false, refresh) + end + }, + Documents = { + none = "", + stage1 = "id_small", + stage2 = { + "id_small", + "id_medium" + }, + stage3 = { + "id_small", + "id_medium", + "id_large" + }, + + Set = function(stage, refresh) + BikerClubhouse2.Documents.Clear(false) + + if stage ~= "" then + SetIplPropState(BikerClubhouse2.interiorId, stage, true, refresh) + else + if refresh then RefreshInterior(BikerClubhouse2.interiorId) end + end + end, + Clear = function(refresh) + SetIplPropState(BikerClubhouse2.interiorId, { + BikerClubhouse2.Documents.stage1, + BikerClubhouse2.Documents.stage2, + BikerClubhouse2.Documents.stage3 + }, false, refresh) + end + }, + + LoadDefault = function() + BikerClubhouse2.Ipl.Interior.Load() + + BikerClubhouse2.Walls.Set(BikerClubhouse2.Walls.brick, BikerClubhouse2.Walls.Color.red) + BikerClubhouse2.LowerWalls.SetColor(BikerClubhouse2.Walls.Color.red) + + BikerClubhouse2.Furnitures.Set(BikerClubhouse2.Furnitures.B, BikerClubhouse2.Furnitures.Color.black) + BikerClubhouse2.Decoration.Set(BikerClubhouse2.Decoration.B) + BikerClubhouse2.Mural.Set(BikerClubhouse2.Mural.death3) + + BikerClubhouse2.ModBooth.Set(BikerClubhouse2.ModBooth.off) + BikerClubhouse2.GunLocker.Set(BikerClubhouse2.GunLocker.off) + + BikerClubhouse2.Meth.Set(BikerClubhouse2.Meth.none) + BikerClubhouse2.Cash.Set(BikerClubhouse2.Cash.none) + BikerClubhouse2.Coke.Set(BikerClubhouse2.Coke.none) + BikerClubhouse2.Weed.Set(BikerClubhouse2.Weed.none) + BikerClubhouse2.Counterfeit.Set(BikerClubhouse2.Counterfeit.none) + BikerClubhouse2.Documents.Set(BikerClubhouse2.Documents.none) + + RefreshInterior(BikerClubhouse2.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_bikers/cocaine.lua b/resources/[standalone]/bob74_ipl/dlc_bikers/cocaine.lua new file mode 100644 index 0000000..448470d --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_bikers/cocaine.lua @@ -0,0 +1,98 @@ +-- Cocaine lockup: 1093.6, -3196.6, -38.99841 +exports('GetBikerCocaineObject', function() + return BikerCocaine +end) + +BikerCocaine = { + interiorId = 247553, + + Ipl = { + Interior = { + ipl = "bkr_biker_interior_placement_interior_4_biker_dlc_int_ware03_milo", + + Load = function() + EnableIpl(BikerCocaine.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(BikerCocaine.Ipl.Interior.ipl, false) + end + } + }, + Style = { + none = "", + basic = { + "set_up", + "equipment_basic", + "coke_press_basic", + "production_basic", + "table_equipment" + }, + upgrade = { + "set_up", + "equipment_upgrade", + "coke_press_upgrade", + "production_upgrade", + "table_equipment_upgrade" + }, + + Set = function(style, refresh) + BikerCocaine.Style.Clear(false) + + if style ~= "" then + SetIplPropState(BikerCocaine.interiorId, style, true, refresh) + else + if refresh then + RefreshInterior(BikerCocaine.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerCocaine.interiorId, { + BikerCocaine.Style.basic, + BikerCocaine.Style.upgrade + }, false, refresh) + end + }, + Security = { + none = "", + basic = "security_low", + upgrade = "security_high", + + Set = function(security, refresh) + BikerCocaine.Security.Clear(false) + + if security ~= "" then + SetIplPropState(BikerCocaine.interiorId, security, true, refresh) + else + if refresh then + RefreshInterior(BikerCocaine.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerCocaine.interiorId, { + BikerCocaine.Security.basic, + BikerCocaine.Security.upgrade + }, false, refresh) + end + }, + Details = { + cokeBasic1 = "coke_cut_01", -- On the basic tables + cokeBasic2 = "coke_cut_02", -- On the basic tables + cokeBasic3 = "coke_cut_03", -- On the basic tables + cokeUpgrade1 = "coke_cut_04", -- On the upgraded tables + cokeUpgrade2 = "coke_cut_05", -- On the upgraded tables + + Enable = function(details, state, refresh) + SetIplPropState(BikerCocaine.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + BikerCocaine.Ipl.Interior.Load() + BikerCocaine.Style.Set(BikerCocaine.Style.basic) + BikerCocaine.Security.Set(BikerCocaine.Security.none) + + RefreshInterior(BikerCocaine.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_bikers/counterfeit_cash.lua b/resources/[standalone]/bob74_ipl/dlc_bikers/counterfeit_cash.lua new file mode 100644 index 0000000..b631521 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_bikers/counterfeit_cash.lua @@ -0,0 +1,206 @@ +-- Counterfeit cash factory: 1121.897, -3195.338, -40.4025 +exports('GetBikerCounterfeitObject', function() + return BikerCounterfeit +end) + +BikerCounterfeit = { + interiorId = 247809, + + Ipl = { + Interior = { + ipl = "bkr_biker_interior_placement_interior_5_biker_dlc_int_ware04_milo", + + Load = function() + EnableIpl(BikerCounterfeit.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(BikerCounterfeit.Ipl.Interior.ipl, false) + end + } + }, + Printer = { + none = "", + basic = "counterfeit_standard_equip_no_prod", + basicProd = "counterfeit_standard_equip", + upgrade = "counterfeit_upgrade_equip_no_prod", + upgradeProd = "counterfeit_upgrade_equip", + + Set = function(printer, refresh) + BikerCounterfeit.Printer.Clear(false) + + if printer ~= "" then + SetIplPropState(BikerCounterfeit.interiorId, printer, true, refresh) + else + if refresh then + RefreshInterior(BikerCounterfeit.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerCounterfeit.interiorId, { + BikerCounterfeit.Printer.basic, + BikerCounterfeit.Printer.basicProd, + BikerCounterfeit.Printer.upgrade, + BikerCounterfeit.Printer.upgradeProd + }, false, refresh) + end + }, + Security = { + basic = "counterfeit_low_security", + upgrade = "counterfeit_security", + + Set = function(security, refresh) + BikerCounterfeit.Security.Clear(false) + + SetIplPropState(BikerCounterfeit.interiorId, security, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerCounterfeit.interiorId, { + BikerCounterfeit.Security.basic, + BikerCounterfeit.Security.upgrade + }, false, refresh) + end + }, + Dryer1 = { + none = "", + on = "dryera_on", + off = "dryera_off", + open = "dryera_open", + + Set = function(dryer, refresh) + BikerCounterfeit.Dryer1.Clear(false) + + if dryer ~= "" then + SetIplPropState(BikerCounterfeit.interiorId, dryer, true, refresh) + else + if refresh then + RefreshInterior(BikerCounterfeit.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerCounterfeit.interiorId, { + BikerCounterfeit.Dryer1.on, + BikerCounterfeit.Dryer1.off, + BikerCounterfeit.Dryer1.open + }, false, refresh) + end + }, + Dryer2 = { + none = "", + on = "dryerb_on", + off = "dryerb_off", + open = "dryerb_open", + + Set = function(dryer, refresh) + BikerCounterfeit.Dryer2.Clear(false) + + if dryer ~= "" then + SetIplPropState(BikerCounterfeit.interiorId, dryer, true, refresh) + else + if refresh then + RefreshInterior(BikerCounterfeit.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerCounterfeit.interiorId, { + BikerCounterfeit.Dryer2.on, + BikerCounterfeit.Dryer2.off, + BikerCounterfeit.Dryer2.open + }, false, refresh) + end + }, + Dryer3 = { + none = "", + on = "dryerc_on", + off = "dryerc_off", + open = "dryerc_open", + + Set = function(dryer, refresh) + BikerCounterfeit.Dryer3.Clear(false) + + if dryer ~= "" then + SetIplPropState(BikerCounterfeit.interiorId, dryer, true, refresh) + else + if refresh then + RefreshInterior(BikerCounterfeit.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerCounterfeit.interiorId, { + BikerCounterfeit.Dryer3.on, + BikerCounterfeit.Dryer3.off, + BikerCounterfeit.Dryer3.open + }, false, refresh) + end + }, + Dryer4 = { + none = "", + on = "dryerd_on", + off = "dryerd_off", + open = "dryerd_open", + + Set = function(dryer, refresh) + BikerCounterfeit.Dryer4.Clear(false) + + if dryer ~= "" then + SetIplPropState(BikerCounterfeit.interiorId, dryer, true, refresh) + else + if refresh then + RefreshInterior(BikerCounterfeit.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerCounterfeit.interiorId, { + BikerCounterfeit.Dryer4.on, + BikerCounterfeit.Dryer4.off, + BikerCounterfeit.Dryer4.open + }, false, refresh) + end + }, + Details = { + Cash10 = { + A = "counterfeit_cashpile10a", + B = "counterfeit_cashpile10b", + C = "counterfeit_cashpile10c", + D = "counterfeit_cashpile10d", + }, + Cash20 = { + A = "counterfeit_cashpile20a", + B = "counterfeit_cashpile20b", + C = "counterfeit_cashpile20c", + D = "counterfeit_cashpile20d", + }, + Cash100 = { + A = "counterfeit_cashpile100a", + B = "counterfeit_cashpile100b", + C = "counterfeit_cashpile100c", + D = "counterfeit_cashpile100d", + }, + chairs = "special_chairs", -- Brown chairs at the end of the room + cutter = "money_cutter", -- Money cutting machine + furnitures = "counterfeit_setup", -- Paper, counting machines, cups + + Enable = function(details, state, refresh) + SetIplPropState(BikerCounterfeit.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + BikerCounterfeit.Ipl.Interior.Load() + BikerCounterfeit.Printer.Set(BikerCounterfeit.Printer.basicProd) + BikerCounterfeit.Security.Set(BikerCounterfeit.Security.upgrade) + BikerCounterfeit.Dryer1.Set(BikerCounterfeit.Dryer1.open) + BikerCounterfeit.Dryer2.Set(BikerCounterfeit.Dryer2.on) + BikerCounterfeit.Dryer3.Set(BikerCounterfeit.Dryer3.on) + BikerCounterfeit.Dryer4.Set(BikerCounterfeit.Dryer4.on) + BikerCounterfeit.Details.Enable(BikerCounterfeit.Details.cutter, true) + BikerCounterfeit.Details.Enable(BikerCounterfeit.Details.furnitures, true) + BikerCounterfeit.Details.Enable(BikerCounterfeit.Details.Cash100, true) + + RefreshInterior(BikerCounterfeit.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_bikers/document_forgery.lua b/resources/[standalone]/bob74_ipl/dlc_bikers/document_forgery.lua new file mode 100644 index 0000000..2f26cd4 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_bikers/document_forgery.lua @@ -0,0 +1,107 @@ +-- Document forgery: 1165, -3196.6, -39.01306 +exports('GetBikerDocumentForgeryObject', function() + return BikerDocumentForgery +end) + +BikerDocumentForgery = { + interiorId = 246785, + + Ipl = { + Interior = { + ipl = "bkr_biker_interior_placement_interior_6_biker_dlc_int_ware05_milo", + + Load = function() + EnableIpl(BikerDocumentForgery.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(BikerDocumentForgery.Ipl.Interior.ipl, false) + end + } + }, + Style = { + basic = "interior_basic", + upgrade = "interior_upgrade", + + Set = function(style, refresh) + BikerDocumentForgery.Style.Clear(false) + + SetIplPropState(BikerDocumentForgery.interiorId, style, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerDocumentForgery.interiorId, { + BikerDocumentForgery.Style.basic, + BikerDocumentForgery.Style.upgrade + }, false, refresh) + end + }, + Equipment = { + none = "", + basic = "equipment_basic", + upgrade = "equipment_upgrade", + + Set = function(eqpt, refresh) + BikerDocumentForgery.Equipment.Clear(false) + + if eqpt ~= "" then + SetIplPropState(BikerDocumentForgery.interiorId, eqpt, true, refresh) + else + if refresh then + RefreshInterior(BikerDocumentForgery.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerDocumentForgery.interiorId, { + BikerDocumentForgery.Equipment.basic, + BikerDocumentForgery.Equipment.upgrade + }, false, refresh) + end + }, + Security = { + basic = "security_low", + upgrade = "security_high", + + Set = function(security, refresh) + BikerDocumentForgery.Security.Clear(false) + + SetIplPropState(BikerDocumentForgery.interiorId, security, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerDocumentForgery.interiorId, { + BikerDocumentForgery.Security.basic, + BikerDocumentForgery.Security.upgrade + }, false, refresh) + end + }, + Details = { + Chairs = { + A = "chair01", + B = "chair02", + C = "chair03", + D = "chair04", + E = "chair05", + F = "chair06", + G = "chair07" + }, + production = "production", -- Papers, pencils + furnitures = "set_up", -- Printers, shredders + clutter = "clutter", -- Pizza boxes, cups + + Enable = function(details, state, refresh) + SetIplPropState(BikerDocumentForgery.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + BikerDocumentForgery.Ipl.Interior.Load() + BikerDocumentForgery.Style.Set(BikerDocumentForgery.Style.basic) + BikerDocumentForgery.Security.Set(BikerDocumentForgery.Security.basic) + BikerDocumentForgery.Equipment.Set(BikerDocumentForgery.Equipment.basic) + BikerDocumentForgery.Details.Enable(BikerDocumentForgery.Details.production, false) + BikerDocumentForgery.Details.Enable(BikerDocumentForgery.Details.setup, false) + BikerDocumentForgery.Details.Enable(BikerDocumentForgery.Details.clutter, false) + BikerDocumentForgery.Details.Enable(BikerDocumentForgery.Details.Chairs, true) + + RefreshInterior(BikerDocumentForgery.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_bikers/gang.lua b/resources/[standalone]/bob74_ipl/dlc_bikers/gang.lua new file mode 100644 index 0000000..ef9cec2 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_bikers/gang.lua @@ -0,0 +1,608 @@ +exports('GetBikerGangObject', function() + return BikerGang +end) + +AddEventHandler('onClientResourceStop', function(res) + if GetCurrentResourceName() ~= res then + return + end + + BikerGang.Clubhouse.ClearAll() +end) + +BikerGang = { + Name = { + Colors = { + black = 0, + gray = 1, + white = 2, + orange = 3, + red = 4, + green = 5, + yellow = 6, + blue = 7 + }, + Fonts = { + font1 = 0, + font2 = 1, + font3 = 2, + font4 = 3, + font5 = 4, + font6 = 5, + font7 = 6, + font8 = 7, + font9 = 8, + font10 = 9, + font11 = 10, + font12 = 11, + font13 = 12 + }, + name = "", + color = 0, + font = 0, + + Set = function(name, color, font) + BikerGang.Name.name = name + BikerGang.Name.color = color + BikerGang.Name.font = font + BikerGang.Clubhouse.ClubName.stage = 0 + end + }, + Emblem = { + Logo = { + eagle = "MPClubPreset1", + skull = "MPClubPreset2", + ace = "MPClubPreset3", + brassKnuckles = "MPClubPreset4", + UR = "MPClubPreset5", + fox = "MPClubPreset6", + city = "MPClubPreset7", + dices = "MPClubPreset8", + target = "MPClubPreset9" + }, + emblem = "MPClubPreset1", + rot = 90.0, -- Rotation for 0.0 to 360.0 + + Set = function(logo, rotation) + BikerGang.Emblem.emblem = logo + BikerGang.Emblem.rot = rotation + BikerGang.Clubhouse.Emblem.stage = 0 + end + }, + Clubhouse = { + interiorId1 = 246273, + interiorId2 = 246529, + + Members = { + President = { + needToLoad = false, + loaded = false, + renderId = -1, + textureDict = "", + pedheadshot = -1, + target = "memorial_wall_president", + prop = "bkr_prop_rt_memorial_president", + stage = 0, + + Init = function() + DrawEmptyRect(BikerGang.Clubhouse.Members.President.target, BikerGang.Clubhouse.Members.President.prop) + end, + Enable = function(state) + BikerGang.Clubhouse.Members.President.needToLoad = state + end, + Set = function(ped) + BikerGang.Clubhouse.Members.Set(BikerGang.Clubhouse.Members.President, ped) + end, + Clear = function() + BikerGang.Clubhouse.Members.Clear(BikerGang.Clubhouse.Members.President) + end + }, + VicePresident = { + needToLoad = false, + loaded = false, + renderId = -1, + textureDict = "", + pedheadshot = -1, + target = "memorial_wall_vice_president", + prop = "bkr_prop_rt_memorial_vice_pres", + stage = 0, + + Init = function() + DrawEmptyRect(BikerGang.Clubhouse.Members.VicePresident.target, BikerGang.Clubhouse.Members.VicePresident.prop) + end, + Enable = function(state) + BikerGang.Clubhouse.Members.VicePresident.needToLoad = state + end, + Set = function(ped) + BikerGang.Clubhouse.Members.Set(BikerGang.Clubhouse.Members.VicePresident, ped) + end, + Clear = function() + BikerGang.Clubhouse.Members.Clear(BikerGang.Clubhouse.Members.VicePresident) + end + }, + RoadCaptain = { + needToLoad = false, + loaded = false, + renderId = -1, + textureDict = "", + pedheadshot = -1, + target = "memorial_wall_active_01", + prop = "bkr_prop_rt_memorial_active_01", + stage = 0, + + Init = function() + DrawEmptyRect(BikerGang.Clubhouse.Members.RoadCaptain.target, BikerGang.Clubhouse.Members.RoadCaptain.prop) + end, + Enable = function(state) + BikerGang.Clubhouse.Members.RoadCaptain.needToLoad = state + end, + Set = function(ped) + BikerGang.Clubhouse.Members.Set(BikerGang.Clubhouse.Members.RoadCaptain, ped) + end, + Clear = function() + BikerGang.Clubhouse.Members.Clear(BikerGang.Clubhouse.Members.RoadCaptain) + end + }, + Enforcer = { + needToLoad = false, + loaded = false, + renderId = -1, + textureDict = "", + pedheadshot = -1, + target = "memorial_wall_active_02", + prop = "bkr_prop_rt_memorial_active_02", + stage = 0, + + Init = function() + DrawEmptyRect(BikerGang.Clubhouse.Members.Enforcer.target, BikerGang.Clubhouse.Members.Enforcer.prop) + end, + Enable = function(state) + BikerGang.Clubhouse.Members.Enforcer.needToLoad = state + end, + Set = function(ped) + BikerGang.Clubhouse.Members.Set(BikerGang.Clubhouse.Members.Enforcer, ped) + end, + Clear = function() + BikerGang.Clubhouse.Members.Clear(BikerGang.Clubhouse.Members.Enforcer) + end + }, + SergeantAtArms = { + needToLoad = false, + loaded = false, + renderId = -1, + textureDict = "", + pedheadshot = -1, + target = "memorial_wall_active_03", + prop = "bkr_prop_rt_memorial_active_03", + stage = 0, + + Init = function() + DrawEmptyRect(BikerGang.Clubhouse.Members.SergeantAtArms.target, BikerGang.Clubhouse.Members.SergeantAtArms.prop) + end, + Enable = function(state) + BikerGang.Clubhouse.Members.SergeantAtArms.needToLoad = state + end, + Set = function(ped) + BikerGang.Clubhouse.Members.Set(BikerGang.Clubhouse.Members.SergeantAtArms, ped) + end, + Clear = function() + BikerGang.Clubhouse.Members.Clear(BikerGang.Clubhouse.Members.SergeantAtArms) + end + }, + Set = function(member, ped) + member.Clear() + member.pedheadshot = GetPedheadshot(ped) + + if member.pedheadshot ~= -1 then + member.textureDict = GetPedheadshotTxdString(member.pedheadshot) + + local IsTextureDictLoaded = LoadStreamedTextureDict(member.textureDict) + + if not IsTextureDictLoaded then + Citizen.Trace("ERROR: BikerClubhouseDrawMembers - Textures dictionnary \"" .. tostring(member.textureDict) .. "\" cannot be loaded.") + end + else + Citizen.Trace("ERROR: BikerClubhouseDrawMembers - PedHeadShot not ready.") + end + end, + Clear = function(member) + if IsNamedRendertargetRegistered(member.target) then + ReleaseNamedRendertarget(GetHashKey(member.target)) + end + + if member.pedheadshot ~= -1 then + UnregisterPedheadshot(member.pedheadshot) + end + + if member.textureDict ~= "" then + SetStreamedTextureDictAsNoLongerNeeded(member.textureDict) + end + + member.renderId = -1 + member.textureDict = "" + member.pedheadshot = -1 + member.stage = 0 + end + }, + + ClubName = { + needToLoad = false, + loaded = false, + target = "clubname_blackboard_01a", + prop = "bkr_prop_clubhouse_blackboard_01a", + renderId = -1, + movieId = -1, + stage = 0, + + Init = function() + DrawEmptyRect(BikerGang.Clubhouse.ClubName.target, BikerGang.Clubhouse.ClubName.prop) + end, + Enable = function(state) + BikerGang.Clubhouse.ClubName.needToLoad = state + end, + Clear = function() + if IsNamedRendertargetRegistered(BikerGang.Clubhouse.ClubName.target) then + ReleaseNamedRendertarget(GetHashKey(BikerGang.Clubhouse.ClubName.target)) + end + + if HasNamedScaleformMovieLoaded(BikerGang.Clubhouse.ClubName.movieId) then + SetScaleformMovieAsNoLongerNeeded(BikerGang.Clubhouse.ClubName.movieId) + end + + BikerGang.Clubhouse.ClubName.renderId = -1 + BikerGang.Clubhouse.ClubName.movieId = -1 + BikerGang.Clubhouse.ClubName.stage = 0 + end + }, + + Emblem = { + needToLoad = false, + loaded = false, + target = "clubhouse_table", + prop = "bkr_prop_rt_clubhouse_table", + renderId = -1, + movieId = -1, + stage = 0, + + Enable = function(state) + BikerGang.Clubhouse.Emblem.needToLoad = state + end, + Init = function() + DrawEmptyRect(BikerGang.Clubhouse.Emblem.target, BikerGang.Clubhouse.Emblem.prop) + end, + Clear = function() + if IsNamedRendertargetRegistered(BikerGang.Clubhouse.Emblem.target) then + ReleaseNamedRendertarget(GetHashKey(BikerGang.Clubhouse.Emblem.target)) + end + + BikerGang.Clubhouse.Emblem.renderId = -1 + BikerGang.Clubhouse.Emblem.stage = 0 + end + }, + + MissionsWall = { + Missions = { + Titles = { + byThePoundUpper = "BDEAL_DEALN", + byThePound = "DEAL_DEALN", + prisonerOfWarUpper = "BIGM_RESCN", + prisonerOfWar = "CELL_BIKER_RESC", + gunsForHire = "LR_INTRO_ST", + weaponOfChoice = "CELL_BIKER_CK", + gunrunningUpper = "GB_BIGUNLOAD_U", + gunrunning = "GB_BIGUNLOAD_T", + nineTenthsOfTheLawUpper = "SB_INTRO_TITLE", + nineTenthsOfTheLaw = "SB_MENU_TITLE", + jailbreakUpper = "FP_INTRO_TITLE", + jailbreak = "FP_MENU_TITLE", + crackedUpper = "SC_INTRO_TITLE", + cracked = "SC_MENU_TITLE", + fragileGoodsUpper = "DV_SH_BIG", + fragileGoods = "DV_SH_TITLE", + torchedUpper = "BA_SH_BIG", + torched = "BA_SH_TITLE", + outriderUpper = "SHU_SH_BIG", + outrider = "SHU_SH_TITLE" + }, + Descriptions = { + byThePound = "DEAL_DEALND", + prisonerOfWar = "CELL_BIKER_RESD", + gunsForHire = "GFH_MENU_DESC", + weaponOfChoice = "CELL_BIKER_CKD", + gunrunning = "GB_BIGUNLOAD_D", + nineTenthsOfTheLaw = "SB_MENU_DESC", + jailbreak = "FP_MENU_DESC", + cracked = "SC_MENU_DESC", + fragileGoods = "DV_MENU_DESC", + torched = "BA_MENU_DESC", + outrider = "SHU_MENU_DESC" + }, + Pictures = { + byThePound = "CHM_IMG0", -- Pickup car parked + prisonerOfWar = "CHM_IMG8", -- Police with man down + gunsForHire = "CHM_IMG4", -- Limo + weaponOfChoice = "CHM_IMG10", -- Prisoner being beaten + gunrunning = "CHM_IMG3", -- Shipment + nineTenthsOfTheLaw = "CHM_IMG6", -- Wheeling + jailbreak = "CHM_IMG5", -- Prison bus + cracked = "CHM_IMG1", -- Safe + fragileGoods = "CHM_IMG2", -- Lost Van + torched = "CHM_IMG9", -- Explosive crate + outrider = "CHM_IMG7" -- Sport ride + }, + }, + needToLoad = false, + loaded = false, + target = "clubhouse_Plan_01a", + prop = "bkr_prop_rt_clubhouse_plan_01a", + renderId = -1, + movieId = -1, + stage = 0, + Position = { + none = -1, + left = 0, + middle = 1, + right = 2 + }, + + Init = function() + if not DrawEmptyRect(BikerGang.Clubhouse.MissionsWall.target, BikerGang.Clubhouse.MissionsWall.prop) then + Citizen.Trace("ERROR: BikerGang.Clubhouse.MissionsWall.Init() - DrawEmptyRect - Timeout") + end + end, + Enable = function(state) + BikerGang.Clubhouse.MissionsWall.needToLoad = state + end, + SelectMission = function(position) + if BikerGang.Clubhouse.MissionsWall.movieId ~= -1 then + BeginScaleformMovieMethod(BikerGang.Clubhouse.MissionsWall.movieId, "SET_SELECTED_MISSION") + PushScaleformMovieMethodParameterInt(position) -- Mission index 0 to 2 (-1 = no mission) + EndScaleformMovieMethod() + end + end, + SetMission = function(position, title, desc, textDict, x, y) + if BikerGang.Clubhouse.MissionsWall.needToLoad then + if not HasNamedScaleformMovieLoaded(BikerGang.Clubhouse.MissionsWall.movieId) then + BikerGang.Clubhouse.MissionsWall.movieId = LoadScaleform("BIKER_MISSION_WALL") + end + + if BikerGang.Clubhouse.MissionsWall.movieId ~= -1 then + if position > -1 then + BeginScaleformMovieMethod(BikerGang.Clubhouse.MissionsWall.movieId, "SET_MISSION") + PushScaleformMovieMethodParameterInt(position) -- Mission index 0 to 2 (-1 = no mission) + PushScaleformMovieMethodParameterString(title) + PushScaleformMovieMethodParameterString(desc) + PushScaleformMovieMethodParameterButtonName(textDict) + PushScaleformMovieMethodParameterFloat(x) -- Mission 0: world coordinates X + PushScaleformMovieMethodParameterFloat(y) -- Mission 0: world coordinates Y + EndScaleformMovieMethod() + else + -- Remove all missions + for key, value in pairs(BikerGang.Clubhouse.MissionsWall.Position) do + BikerGang.Clubhouse.MissionsWall.RemoveMission(value) + end + + BikerGang.Clubhouse.MissionsWall.SelectMission(BikerGang.Clubhouse.MissionsWall.Position.none) + end + end + end + end, + RemoveMission = function(position) + BeginScaleformMovieMethod(BikerGang.Clubhouse.MissionsWall.movieId, "HIDE_MISSION") + PushScaleformMovieMethodParameterInt(position) + EndScaleformMovieMethod() + end, + Clear = function() + -- Removing missions + BikerGang.Clubhouse.MissionsWall.SelectMission(BikerGang.Clubhouse.MissionsWall.Position.none) + BikerGang.Clubhouse.MissionsWall.SetMission(BikerGang.Clubhouse.MissionsWall.Position.none) + + -- Releasing handles + if IsNamedRendertargetRegistered(BikerGang.Clubhouse.MissionsWall.prop) then + ReleaseNamedRendertarget(GetHashKey(BikerGang.Clubhouse.MissionsWall.prop)) + end + + if HasNamedScaleformMovieLoaded(BikerGang.Clubhouse.MissionsWall.movieId) then + SetScaleformMovieAsNoLongerNeeded(BikerGang.Clubhouse.MissionsWall.movieId) + end + + -- Resetting + BikerGang.Clubhouse.MissionsWall.renderId = -1 + BikerGang.Clubhouse.MissionsWall.movieId = -1 + BikerGang.Clubhouse.MissionsWall.stage = 0 + end + }, + + ClearAll = function() + BikerGang.Clubhouse.ClubName.Clear() + BikerGang.Clubhouse.ClubName.loaded = false + + BikerGang.Clubhouse.Emblem.Clear() + BikerGang.Clubhouse.Emblem.loaded = false + + BikerGang.Clubhouse.MissionsWall.Clear() + BikerGang.Clubhouse.MissionsWall.loaded = false + + for key, member in pairs(BikerGang.Clubhouse.Members) do + if type(member) == "table" then + member.Clear() + member.loaded = false + end + end + end + } +} + +Citizen.CreateThread(function() + -- Removing the black texture + BikerGang.Clubhouse.Members.President.Init() + BikerGang.Clubhouse.Members.VicePresident.Init() + BikerGang.Clubhouse.Members.RoadCaptain.Init() + BikerGang.Clubhouse.Members.Enforcer.Init() + BikerGang.Clubhouse.Members.SergeantAtArms.Init() + + BikerGang.Clubhouse.ClubName.Init() + BikerGang.Clubhouse.Emblem.Init() + BikerGang.Clubhouse.MissionsWall.Init() + + while true do + if BikerGang.Clubhouse.ClubName.needToLoad or BikerGang.Clubhouse.Emblem.needToLoad or BikerGang.Clubhouse.MissionsWall.needToLoad or BikerGang.Clubhouse.Members.President.needToLoad or BikerGang.Clubhouse.Members.VicePresident.needToLoad or BikerGang.Clubhouse.Members.RoadCaptain.needToLoad or BikerGang.Clubhouse.Members.Enforcer.needToLoad or BikerGang.Clubhouse.Members.SergeantAtArms.needToLoad then + -- If we are inside a clubhouse, then we load + if Global.Biker.isInsideClubhouse1 or Global.Biker.isInsideClubhouse2 then + -- Club name + if BikerGang.Clubhouse.ClubName.needToLoad then + DrawClubName(BikerGang.Name.name, BikerGang.Name.color, BikerGang.Name.font) + + BikerGang.Clubhouse.ClubName.loaded = true + elseif BikerGang.Clubhouse.ClubName.loaded then + BikerGang.Clubhouse.ClubName.Clear() + BikerGang.Clubhouse.ClubName.loaded = false + end + + -- Emblem + if BikerGang.Clubhouse.Emblem.needToLoad then + DrawEmblem(BikerGang.Emblem.emblem, BikerGang.Emblem.rot) + + BikerGang.Clubhouse.Emblem.loaded = true + elseif BikerGang.Clubhouse.Emblem.loaded then + BikerGang.Clubhouse.Emblem.Clear() + BikerGang.Clubhouse.Emblem.loaded = false + end + + -- Missions wall + if BikerGang.Clubhouse.MissionsWall.needToLoad then + DrawMissions() + + BikerGang.Clubhouse.MissionsWall.loaded = true + elseif BikerGang.Clubhouse.MissionsWall.loaded then + BikerGang.Clubhouse.MissionsWall.Clear() + BikerGang.Clubhouse.MissionsWall.loaded = false + end + + -- Members: President + for key, member in pairs(BikerGang.Clubhouse.Members) do + if type(member) == "table" then + if member.needToLoad then + DrawMember(member) + member.loaded = true + elseif member.loaded then + member.Clear() + member.loaded = false + end + end + end + + Citizen.Wait(0) -- We need to call all this every frame + else + -- Not in a clubhouse + Citizen.Wait(1000) + end + else + -- No load needed + Citizen.Wait(1000) + end + end +end) + +function DrawClubName(name, color, font) + if BikerGang.Clubhouse.ClubName.stage == 0 then + if BikerGang.Clubhouse.ClubName.renderId == -1 then + BikerGang.Clubhouse.ClubName.renderId = CreateNamedRenderTargetForModel(BikerGang.Clubhouse.ClubName.target, BikerGang.Clubhouse.ClubName.prop) + end + + if BikerGang.Clubhouse.ClubName.movieId == -1 then + BikerGang.Clubhouse.ClubName.movieId = RequestScaleformMovie("CLUBHOUSE_NAME") + end + + BikerGang.Clubhouse.ClubName.stage = 1 + elseif BikerGang.Clubhouse.ClubName.stage == 1 then + if HasScaleformMovieLoaded(BikerGang.Clubhouse.ClubName.movieId) then + local parameters = { + p0 = {type = "string", value = name}, + p1 = {type = "int", value = color}, + p2 = {type = "int", value = font} + } + + SetupScaleform(BikerGang.Clubhouse.ClubName.movieId, "SET_CLUBHOUSE_NAME", parameters) + + BikerGang.Clubhouse.ClubName.stage = 2 + else + BikerGang.Clubhouse.ClubName.movieId = RequestScaleformMovie("CLUBHOUSE_NAME") + end + elseif BikerGang.Clubhouse.ClubName.stage == 2 then + SetTextRenderId(BikerGang.Clubhouse.ClubName.renderId) + SetScriptGfxDrawOrder(4) + SetScriptGfxDrawBehindPausemenu(true) + SetScriptGfxAlign(73, 73) + DrawScaleformMovie(BikerGang.Clubhouse.ClubName.movieId, 0.0975, 0.105, 0.235, 0.35, 255, 255, 255, 255, 0) + SetTextRenderId(GetDefaultScriptRendertargetRenderId()) + ResetScriptGfxAlign() + end +end + +function DrawEmblem(texturesDict, rotation) + if BikerGang.Clubhouse.Emblem.stage == 0 then + if BikerGang.Clubhouse.Emblem.renderId == -1 then + BikerGang.Clubhouse.Emblem.renderId = CreateNamedRenderTargetForModel(BikerGang.Clubhouse.Emblem.target, BikerGang.Clubhouse.Emblem.prop) + end + + local IsTextureDictLoaded = LoadStreamedTextureDict(texturesDict) + + if not IsTextureDictLoaded then + Citizen.Trace("ERROR: DrawEmblem - Textures dictionnary cannot be loaded.") + end + + BikerGang.Clubhouse.Emblem.stage = 1 + elseif BikerGang.Clubhouse.Emblem.stage == 1 then + BikerGang.Clubhouse.Emblem.renderId = CreateNamedRenderTargetForModel(BikerGang.Clubhouse.Emblem.target, BikerGang.Clubhouse.Emblem.prop) + BikerGang.Clubhouse.Emblem.stage = 2 + elseif BikerGang.Clubhouse.Emblem.stage == 2 then + SetTextRenderId(BikerGang.Clubhouse.Emblem.renderId) + SetScriptGfxAlign(73, 73) + SetScriptGfxDrawOrder(4) + SetScriptGfxDrawBehindPausemenu(true) + DrawInteractiveSprite(texturesDict, texturesDict, 0.5, 0.5, 1.0, 1.0, rotation, 255, 255, 255, 255); + ResetScriptGfxAlign() + SetTextRenderId(GetDefaultScriptRendertargetRenderId()) + end +end + +function DrawMissions() + if BikerGang.Clubhouse.MissionsWall.stage == 0 then + if BikerGang.Clubhouse.MissionsWall.renderId == -1 then + BikerGang.Clubhouse.MissionsWall.renderId = CreateNamedRenderTargetForModel(BikerGang.Clubhouse.MissionsWall.target, BikerGang.Clubhouse.MissionsWall.prop) + end + + BikerGang.Clubhouse.MissionsWall.stage = 1 + elseif BikerGang.Clubhouse.MissionsWall.stage == 1 then + if HasScaleformMovieLoaded(BikerGang.Clubhouse.MissionsWall.movieId) then + BikerGang.Clubhouse.MissionsWall.stage = 2 + else + BikerGang.Clubhouse.MissionsWall.movieId = RequestScaleformMovie("BIKER_MISSION_WALL") + end + elseif BikerGang.Clubhouse.MissionsWall.stage == 2 then + SetTextRenderId(BikerGang.Clubhouse.MissionsWall.renderId) + SetScriptGfxDrawOrder(4) + SetScriptGfxDrawBehindPausemenu(false) + DrawScaleformMovie(BikerGang.Clubhouse.MissionsWall.movieId, 0.5, 0.5, 1.0, 1.0, 255, 255, 255, 255, 0) + SetTextRenderId(GetDefaultScriptRendertargetRenderId()) + SetScaleformFitRendertarget(BikerGang.Clubhouse.MissionsWall.movieId, true) + end +end + +function DrawMember(member) + if member.stage == 0 then + member.stage = 1 + elseif member.stage == 1 then + member.renderId = CreateNamedRenderTargetForModel(member.target, member.prop) + member.stage = 2 + elseif member.stage == 2 then + if HasStreamedTextureDictLoaded(member.textureDict) then + SetTextRenderId(member.renderId) + SetScriptGfxAlign(73, 73) + DrawInteractiveSprite(member.textureDict, member.textureDict, 0.5, 0.5, 1.0, 1.0, 0.0, 255, 255, 255, 255) + ResetScriptGfxAlign() + SetTextRenderId(GetDefaultScriptRendertargetRenderId()) + end + end +end diff --git a/resources/[standalone]/bob74_ipl/dlc_bikers/meth.lua b/resources/[standalone]/bob74_ipl/dlc_bikers/meth.lua new file mode 100644 index 0000000..7f88a9a --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_bikers/meth.lua @@ -0,0 +1,87 @@ +-- Meth lab: 1009.5, -3196.6, -38.99682 +exports('GetBikerMethLabObject', function() + return BikerMethLab +end) + +BikerMethLab = { + interiorId = 247041, + + Ipl = { + Interior = { + ipl = "bkr_biker_interior_placement_interior_2_biker_dlc_int_ware01_milo", + + Load = function() + EnableIpl(BikerMethLab.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(BikerMethLab.Ipl.Interior.ipl, false) + end + } + }, + Style = { + none = "", + empty = "meth_lab_empty", + basic = { + "meth_lab_basic", + "meth_lab_setup" + }, + upgrade = { + "meth_lab_upgrade", + "meth_lab_setup" + }, + + Set = function(style, refresh) + BikerMethLab.Style.Clear(false) + + if style ~= "" then + SetIplPropState(BikerMethLab.interiorId, style, true, refresh) + else + if refresh then + RefreshInterior(BikerMethLab.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerMethLab.interiorId, { + BikerMethLab.Style.empty, + BikerMethLab.Style.basic, + BikerMethLab.Style.upgrade + }, false, refresh) + end + }, + Security = { + none = "", + upgrade = "meth_lab_security_high", + + Set = function(security, refresh) + BikerMethLab.Security.Clear(false) + + if security ~= "" then + SetIplPropState(BikerMethLab.interiorId, security, true, refresh) + else + if refresh then + RefreshInterior(BikerMethLab.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(BikerMethLab.interiorId, BikerMethLab.Security.upgrade, false, refresh) + end + }, + Details = { + production = "meth_lab_production", -- Products + + Enable = function(details, state, refresh) + SetIplPropState(BikerMethLab.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + BikerMethLab.Ipl.Interior.Load() + BikerMethLab.Style.Set(BikerMethLab.Style.empty) + BikerMethLab.Security.Set(BikerMethLab.Security.none) + BikerMethLab.Details.Enable(BikerMethLab.Details.production, false) + + RefreshInterior(BikerMethLab.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_bikers/weed.lua b/resources/[standalone]/bob74_ipl/dlc_bikers/weed.lua new file mode 100644 index 0000000..7983880 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_bikers/weed.lua @@ -0,0 +1,549 @@ +-- Weed farm: 1051.491, -3196.536, -39.14842 +exports('GetBikerWeedFarmObject', function() + return BikerWeedFarm +end) + +BikerWeedFarm = { + interiorId = 247297, + + Ipl = { + Interior = { + ipl = "bkr_biker_interior_placement_interior_3_biker_dlc_int_ware02_milo", + + Load = function() + EnableIpl(BikerWeedFarm.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(BikerWeedFarm.Ipl.Interior.ipl, false) + end + }, + }, + Style = { + basic = "weed_standard_equip", + upgrade = "weed_upgrade_equip", + + Set = function(style, refresh) + BikerWeedFarm.Style.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, style, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Style.basic, + BikerWeedFarm.Style.upgrade + }, false, refresh) + end + }, + Security = { + basic = "weed_low_security", + upgrade = "weed_security_upgrade", + + Set = function(security, refresh) + BikerWeedFarm.Security.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, security, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Security.basic, + BikerWeedFarm.Security.upgrade + }, false, refresh) + end + }, + Plant1 = { + Stage = { + small = "weed_growtha_stage1", + medium = "weed_growtha_stage2", + full = "weed_growtha_stage3", + + Set = function(stage, refresh) + BikerWeedFarm.Plant1.Stage.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, stage, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Plant1.Stage.small, + BikerWeedFarm.Plant1.Stage.medium, + BikerWeedFarm.Plant1.Stage.full + }, false, refresh) + end + }, + Light = { + basic = "light_growtha_stage23_standard", + upgrade = "light_growtha_stage23_upgrade", + + Set = function(light, refresh) + BikerWeedFarm.Plant1.Light.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, light, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Plant1.Light.basic, + BikerWeedFarm.Plant1.Light.upgrade + }, false, refresh) + end + }, + Hose = { + Enable = function(state, refresh) + SetIplPropState(BikerWeedFarm.interiorId, "weed_hosea", state, refresh) + end + }, + Set = function(stage, upgrade, refresh) + BikerWeedFarm.Plant1.Stage.Set(stage, false) + BikerWeedFarm.Plant1.Light.Set(upgrade, false) + BikerWeedFarm.Plant1.Hose.Enable(true, true) + end, + Clear = function(refresh) + BikerWeedFarm.Plant1.Stage.Clear() + BikerWeedFarm.Plant1.Light.Clear() + BikerWeedFarm.Plant1.Hose.Enable(false, true) + end + }, + Plant2 = { + Stage = { + small = "weed_growthb_stage1", + medium = "weed_growthb_stage2", + full = "weed_growthb_stage3", + + Set = function(stage, refresh) + BikerWeedFarm.Plant2.Stage.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, stage, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Plant2.Stage.small, + BikerWeedFarm.Plant2.Stage.medium, + BikerWeedFarm.Plant2.Stage.full + }, false, refresh) + end + }, + Light = { + basic = "light_growthb_stage23_standard", + upgrade = "light_growthb_stage23_upgrade", + + Set = function(light, refresh) + BikerWeedFarm.Plant2.Light.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, light, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Plant2.Light.basic, + BikerWeedFarm.Plant2.Light.upgrade + }, false, refresh) + end + }, + Hose = { + Enable = function(state, refresh) + SetIplPropState(BikerWeedFarm.interiorId, "weed_hoseb", state, refresh) + end + }, + Set = function(stage, upgrade, refresh) + BikerWeedFarm.Plant2.Stage.Set(stage, false) + BikerWeedFarm.Plant2.Light.Set(upgrade, false) + BikerWeedFarm.Plant2.Hose.Enable(true, true) + end, + Clear = function(refresh) + BikerWeedFarm.Plant2.Stage.Clear() + BikerWeedFarm.Plant2.Light.Clear() + BikerWeedFarm.Plant2.Hose.Enable(false, true) + end + }, + Plant3 = { + Stage = { + small = "weed_growthc_stage1", + medium = "weed_growthc_stage2", + full = "weed_growthc_stage3", + + Set = function(stage, refresh) + BikerWeedFarm.Plant3.Stage.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, stage, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Plant3.Stage.small, + BikerWeedFarm.Plant3.Stage.medium, + BikerWeedFarm.Plant3.Stage.full + }, false, refresh) + end + }, + Light = { + basic = "light_growthc_stage23_standard", + upgrade = "light_growthc_stage23_upgrade", + + Set = function(light, refresh) + BikerWeedFarm.Plant3.Light.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, light, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Plant3.Light.basic, + BikerWeedFarm.Plant3.Light.upgrade + }, false, refresh) + end + }, + Hose = { + Enable = function(state, refresh) + SetIplPropState(BikerWeedFarm.interiorId, "weed_hosec", state, refresh) + end + }, + Set = function(stage, upgrade, refresh) + BikerWeedFarm.Plant3.Stage.Set(stage, false) + BikerWeedFarm.Plant3.Light.Set(upgrade, false) + BikerWeedFarm.Plant3.Hose.Enable(true, true) + end, + Clear = function(refresh) + BikerWeedFarm.Plant3.Stage.Clear() + BikerWeedFarm.Plant3.Light.Clear() + BikerWeedFarm.Plant3.Hose.Enable(false, true) + end + }, + Plant4 = { + Stage = { + small = "weed_growthd_stage1", + medium = "weed_growthd_stage2", + full = "weed_growthd_stage3", + + Set = function(stage, refresh) + BikerWeedFarm.Plant4.Stage.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, stage, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Plant4.Stage.small, + BikerWeedFarm.Plant4.Stage.medium, + BikerWeedFarm.Plant4.Stage.full + }, false, refresh) + end + }, + Light = { + basic = "light_growthd_stage23_standard", + upgrade = "light_growthd_stage23_upgrade", + + Set = function(light, refresh) + BikerWeedFarm.Plant4.Light.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, light, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Plant4.Light.basic, + BikerWeedFarm.Plant4.Light.upgrade + }, false, refresh) + end + }, + Hose = { + Enable = function(state, refresh) + SetIplPropState(BikerWeedFarm.interiorId, "weed_hosed", state, refresh) + end + }, + Set = function(stage, upgrade, refresh) + BikerWeedFarm.Plant4.Stage.Set(stage, false) + BikerWeedFarm.Plant4.Light.Set(upgrade, false) + BikerWeedFarm.Plant4.Hose.Enable(true, true) + end, + Clear = function(refresh) + BikerWeedFarm.Plant4.Stage.Clear() + BikerWeedFarm.Plant4.Light.Clear() + BikerWeedFarm.Plant4.Hose.Enable(false, true) + end + }, + Plant5 = { + Stage = { + small = "weed_growthe_stage1", + medium = "weed_growthe_stage2", + full = "weed_growthe_stage3", + + Set = function(stage, refresh) + BikerWeedFarm.Plant5.Stage.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, stage, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Plant5.Stage.small, + BikerWeedFarm.Plant5.Stage.medium, + BikerWeedFarm.Plant5.Stage.full + }, false, refresh) + end + }, + Light = { + basic = "light_growthe_stage23_standard", + upgrade = "light_growthe_stage23_upgrade", + + Set = function(light, refresh) + BikerWeedFarm.Plant5.Light.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, light, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Plant5.Light.basic, + BikerWeedFarm.Plant5.Light.upgrade + }, false, refresh) + end + }, + Hose = { + Enable = function(state, refresh) + SetIplPropState(BikerWeedFarm.interiorId, "weed_hosee", state, refresh) + end + }, + Set = function(stage, upgrade, refresh) + BikerWeedFarm.Plant5.Stage.Set(stage, false) + BikerWeedFarm.Plant5.Light.Set(upgrade, false) + BikerWeedFarm.Plant5.Hose.Enable(true, true) + end, + Clear = function(refresh) + BikerWeedFarm.Plant5.Stage.Clear() + BikerWeedFarm.Plant5.Light.Clear() + BikerWeedFarm.Plant5.Hose.Enable(false, true) + end + }, + Plant6 = { + Stage = { + small = "weed_growthf_stage1", + medium = "weed_growthf_stage2", + full = "weed_growthf_stage3", + + Set = function(stage, refresh) + BikerWeedFarm.Plant6.Stage.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, stage, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Plant6.Stage.small, + BikerWeedFarm.Plant6.Stage.medium, + BikerWeedFarm.Plant6.Stage.full + }, false, refresh) + end + }, + Light = { + basic = "light_growthf_stage23_standard", + upgrade = "light_growthf_stage23_upgrade", + + Set = function(light, refresh) + BikerWeedFarm.Plant6.Light.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, light, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Plant6.Light.basic, + BikerWeedFarm.Plant6.Light.upgrade + }, false, refresh) + end + }, + Hose = { + Enable = function(state, refresh) + SetIplPropState(BikerWeedFarm.interiorId, "weed_hosef", state, refresh) + end + }, + Set = function(stage, upgrade, refresh) + BikerWeedFarm.Plant6.Stage.Set(stage, false) + BikerWeedFarm.Plant6.Light.Set(upgrade, false) + BikerWeedFarm.Plant6.Hose.Enable(true, true) + end, + Clear = function(refresh) + BikerWeedFarm.Plant6.Stage.Clear() + BikerWeedFarm.Plant6.Light.Clear() + BikerWeedFarm.Plant6.Hose.Enable(false, true) + end + }, + Plant7 = { + Stage = { + small = "weed_growthg_stage1", + medium = "weed_growthg_stage2", + full = "weed_growthg_stage3", + + Set = function(stage, refresh) + BikerWeedFarm.Plant7.Stage.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, stage, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Plant7.Stage.small, + BikerWeedFarm.Plant7.Stage.medium, + BikerWeedFarm.Plant7.Stage.full + }, false, refresh) + end + }, + Light = { + basic = "light_growthg_stage23_standard", + upgrade = "light_growthg_stage23_upgrade", + + Set = function(light, refresh) + BikerWeedFarm.Plant7.Light.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, light, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Plant7.Light.basic, + BikerWeedFarm.Plant7.Light.upgrade + }, false, refresh) + end + }, + Hose = { + Enable = function(state, refresh) + SetIplPropState(BikerWeedFarm.interiorId, "weed_hoseg", state, refresh) + end + }, + Set = function(stage, upgrade, refresh) + BikerWeedFarm.Plant7.Stage.Set(stage, false) + BikerWeedFarm.Plant7.Light.Set(upgrade, false) + BikerWeedFarm.Plant7.Hose.Enable(true, true) + end, + Clear = function(refresh) + BikerWeedFarm.Plant7.Stage.Clear() + BikerWeedFarm.Plant7.Light.Clear() + BikerWeedFarm.Plant7.Hose.Enable(false, true) + end + }, + Plant8 = { + Stage = { + small = "weed_growthh_stage1", + medium = "weed_growthh_stage2", + full = "weed_growthh_stage3", + + Set = function(stage, refresh) + BikerWeedFarm.Plant8.Stage.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, stage, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Plant8.Stage.small, + BikerWeedFarm.Plant8.Stage.medium, + BikerWeedFarm.Plant8.Stage.full + }, false, refresh) + end + }, + Light = { + basic = "light_growthh_stage23_standard", + upgrade = "light_growthh_stage23_upgrade", + + Set = function(light, refresh) + BikerWeedFarm.Plant8.Light.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, light, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Plant8.Light.basic, + BikerWeedFarm.Plant8.Light.upgrade + }, false, refresh) + end + }, + Hose = { + Enable = function(state, refresh) + SetIplPropState(BikerWeedFarm.interiorId, "weed_hoseh", state, refresh) + end + }, + Set = function(stage, upgrade, refresh) + BikerWeedFarm.Plant8.Stage.Set(stage, false) + BikerWeedFarm.Plant8.Light.Set(upgrade, false) + BikerWeedFarm.Plant8.Hose.Enable(true, true) + end, + Clear = function(refresh) + BikerWeedFarm.Plant8.Stage.Clear() + BikerWeedFarm.Plant8.Light.Clear() + BikerWeedFarm.Plant8.Hose.Enable(false, true) + end + }, + Plant9 = { + Stage = { + small = "weed_growthi_stage1", + medium = "weed_growthi_stage2", + full = "weed_growthi_stage3", + + Set = function(stage, refresh) + BikerWeedFarm.Plant9.Stage.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, stage, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Plant9.Stage.small, + BikerWeedFarm.Plant9.Stage.medium, + BikerWeedFarm.Plant9.Stage.full + }, false, refresh) + end + }, + Light = { + basic = "light_growthi_stage23_standard", + upgrade = "light_growthi_stage23_upgrade", + + Set = function(light, refresh) + BikerWeedFarm.Plant9.Light.Clear(false) + + SetIplPropState(BikerWeedFarm.interiorId, light, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(BikerWeedFarm.interiorId, { + BikerWeedFarm.Plant9.Light.basic, + BikerWeedFarm.Plant9.Light.upgrade + }, false, refresh) + end + }, + Hose = { + Enable = function(state, refresh) + SetIplPropState(BikerWeedFarm.interiorId, "weed_hosei", state, refresh) + end + }, + Set = function(stage, upgrade, refresh) + BikerWeedFarm.Plant9.Stage.Set(stage, false) + BikerWeedFarm.Plant9.Light.Set(upgrade, false) + BikerWeedFarm.Plant9.Hose.Enable(true, true) + end, + Clear = function(refresh) + BikerWeedFarm.Plant9.Stage.Clear() + BikerWeedFarm.Plant9.Light.Clear() + BikerWeedFarm.Plant9.Hose.Enable(false, true) + end + }, + Details = { + production = "weed_production", -- Weed on the tables + fans = "weed_set_up", -- Fans + mold buckets + drying = "weed_drying", -- Drying weed hooked to the ceiling + chairs = "weed_chairs", -- Chairs at the tables + + Enable = function(details, state, refresh) + SetIplPropState(BikerWeedFarm.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + BikerWeedFarm.Ipl.Interior.Load() + BikerWeedFarm.Style.Set(BikerWeedFarm.Style.upgrade) + BikerWeedFarm.Security.Set(BikerWeedFarm.Security.basic) + BikerWeedFarm.Details.Enable(BikerWeedFarm.Details.drying, false) + BikerWeedFarm.Details.Enable(BikerWeedFarm.Details.chairs, false) + BikerWeedFarm.Details.Enable(BikerWeedFarm.Details.production, false) + + BikerWeedFarm.Details.Enable({ + BikerWeedFarm.Details.production, + BikerWeedFarm.Details.chairs, + BikerWeedFarm.Details.drying + }, true) + + BikerWeedFarm.Plant1.Set(BikerWeedFarm.Plant1.Stage.medium, BikerWeedFarm.Plant1.Light.basic) + BikerWeedFarm.Plant2.Set(BikerWeedFarm.Plant2.Stage.full, BikerWeedFarm.Plant2.Light.basic) + BikerWeedFarm.Plant3.Set(BikerWeedFarm.Plant3.Stage.medium, BikerWeedFarm.Plant3.Light.basic) + BikerWeedFarm.Plant4.Set(BikerWeedFarm.Plant4.Stage.full, BikerWeedFarm.Plant4.Light.basic) + BikerWeedFarm.Plant5.Set(BikerWeedFarm.Plant5.Stage.medium, BikerWeedFarm.Plant5.Light.basic) + BikerWeedFarm.Plant6.Set(BikerWeedFarm.Plant6.Stage.full, BikerWeedFarm.Plant6.Light.basic) + BikerWeedFarm.Plant7.Set(BikerWeedFarm.Plant7.Stage.medium, BikerWeedFarm.Plant7.Light.basic) + BikerWeedFarm.Plant8.Set(BikerWeedFarm.Plant8.Stage.full, BikerWeedFarm.Plant8.Light.basic) + BikerWeedFarm.Plant9.Set(BikerWeedFarm.Plant9.Stage.full, BikerWeedFarm.Plant9.Light.basic) + + RefreshInterior(BikerWeedFarm.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_casino/casino.lua b/resources/[standalone]/bob74_ipl/dlc_casino/casino.lua new file mode 100644 index 0000000..0b38d04 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_casino/casino.lua @@ -0,0 +1,70 @@ +exports('GetDiamondCasinoObject', function() + return DiamondCasino +end) + +DiamondCasino = { + Ipl = { + Building = { + ipl = { + "hei_dlc_windows_casino", + "hei_dlc_casino_aircon", + "vw_dlc_casino_door", + "hei_dlc_casino_door" + }, + + Load = function() + EnableIpl(DiamondCasino.Ipl.Building.ipl, true) + end, + Remove = function() + EnableIpl(DiamondCasino.Ipl.Building.ipl, false) + end + }, + Main = { + ipl = "vw_casino_main", + + -- Normal Version: 1110.20, 216.60 -49.45 + -- Heist Version: 2490.67, -280.40, -58.71 + + Load = function() + EnableIpl(DiamondCasino.Ipl.Main.ipl, true) + end, + Remove = function() + EnableIpl(DiamondCasino.Ipl.Main.ipl, false) + end + }, + Garage = { + ipl = "vw_casino_garage", + + -- Loading Bay Garage: 2536.276, -278.98, -64.722 + -- Vault Lobby: 2483.151, -278.58, -70.694 + -- Vault: 2516.765, -238.056, -70.737 + + Load = function() + EnableIpl(DiamondCasino.Ipl.Garage.ipl, true) + end, + Remove = function() + EnableIpl(DiamondCasino.Ipl.Garage.ipl, false) + end + }, + Carpark = { + ipl = "vw_casino_carpark", + + -- Carpark Garage: 1380.000 200.000 -50.000 + -- VIP Carpark Garage: 1295.000 230.000 -50.000 + + Load = function() + EnableIpl(DiamondCasino.Ipl.Carpark.ipl, true) + end, + Remove = function() + EnableIpl(DiamondCasino.Ipl.Carpark.ipl, false) + end + } + }, + + LoadDefault = function() + DiamondCasino.Ipl.Building.Load() + DiamondCasino.Ipl.Main.Load() + DiamondCasino.Ipl.Carpark.Load() + DiamondCasino.Ipl.Garage.Load() + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_casino/penthouse.lua b/resources/[standalone]/bob74_ipl/dlc_casino/penthouse.lua new file mode 100644 index 0000000..e2f4bad --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_casino/penthouse.lua @@ -0,0 +1,335 @@ +exports('GetDiamondPenthouseObject', function() + return DiamondPenthouse +end) + +-- Penthouse: 976.636 70.295 115.164 + +DiamondPenthouse = { + interiorId = 274689, + + Ipl = { + Interior = { + ipl = "vw_casino_penthouse", + + Load = function() + EnableIpl(DiamondPenthouse.Ipl.Interior.ipl, true) + SetIplPropState(DiamondPenthouse.interiorId, "Set_Pent_Tint_Shell", true, true) + end, + Remove = function() + EnableIpl(DiamondPenthouse.Ipl.Interior.ipl, false) + end + } + }, + Colors = { + default = 0, + sharp = 1, + vibrant = 2, + timeless = 3 + }, + Interior = { + Walls = { + SetColor = function(color, refresh) + SetInteriorEntitySetColor(DiamondPenthouse.interiorId, "Set_Pent_Tint_Shell", color) + + if refresh then + RefreshInterior(DiamondPenthouse.interiorId) + end + end + }, + Pattern = { + pattern01 = "Set_Pent_Pattern_01", + pattern02 = "Set_Pent_Pattern_02", + pattern03 = "Set_Pent_Pattern_03", + pattern04 = "Set_Pent_Pattern_04", + pattern05 = "Set_Pent_Pattern_05", + pattern06 = "Set_Pent_Pattern_06", + pattern07 = "Set_Pent_Pattern_07", + pattern08 = "Set_Pent_Pattern_08", + pattern09 = "Set_Pent_Pattern_09", + + Set = function(pattern, refresh) + DiamondPenthouse.Interior.Pattern.Clear(false) + + SetIplPropState(DiamondPenthouse.interiorId, pattern, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(DiamondPenthouse.Interior.Pattern) do + if type(value) == "string" then + SetIplPropState(DiamondPenthouse.interiorId, value, false, refresh) + end + end + end, + SetColor = function(pattern, color, refresh) + SetInteriorEntitySetColor(DiamondPenthouse.interiorId, pattern, color) + + if refresh then + RefreshInterior(DiamondPenthouse.interiorId) + end + end + }, + SpaBar = { + open = "Set_Pent_Spa_Bar_Open", + closed = "Set_Pent_Spa_Bar_Closed", + + Set = function(state, refresh) + DiamondPenthouse.Interior.SpaBar.Clear(false) + + SetIplPropState(DiamondPenthouse.interiorId, state, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(DiamondPenthouse.Interior.SpaBar) do + if type(value) == "string" then + SetIplPropState(DiamondPenthouse.interiorId, value, false, refresh) + end + end + end + }, + MediaBar = { + open = "Set_Pent_Media_Bar_Open", + closed = "Set_Pent_Media_Bar_Closed", + + Set = function(state, refresh) + DiamondPenthouse.Interior.MediaBar.Clear(false) + + SetIplPropState(DiamondPenthouse.interiorId, state, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(DiamondPenthouse.Interior.MediaBar) do + if type(value) == "string" then + SetIplPropState(DiamondPenthouse.interiorId, value, false, refresh) + end + end + end + }, + Dealer = { + open = "Set_Pent_Dealer", + closed = "Set_Pent_NoDealer", + + Set = function(state, refresh) + DiamondPenthouse.Interior.Dealer.Clear(false) + + SetIplPropState(DiamondPenthouse.interiorId, state, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(DiamondPenthouse.Interior.Dealer) do + if type(value) == "string" then + SetIplPropState(DiamondPenthouse.interiorId, value, false, refresh) + end + end + end + }, + Arcade = { + none = "", + retro = "Set_Pent_Arcade_Retro", + modern = "Set_Pent_Arcade_Modern", + + Set = function(arcade, refresh) + DiamondPenthouse.Interior.Arcade.Clear(false) + + SetIplPropState(DiamondPenthouse.interiorId, arcade, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(DiamondPenthouse.Interior.Arcade) do + if type(value) == "string" then + SetIplPropState(DiamondPenthouse.interiorId, value, false, refresh) + end + end + end + }, + Clutter = { + bar = "Set_Pent_Bar_Clutter", + clutter01 = "Set_Pent_Clutter_01", + clutter02 = "Set_Pent_Clutter_02", + clutter03 = "Set_Pent_Clutter_03", + + Set = function(clutter, refresh) + DiamondPenthouse.Interior.Clutter.Clear(false) + + SetIplPropState(DiamondPenthouse.interiorId, clutter, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(DiamondPenthouse.Interior.Clutter) do + if type(value) == "string" then + SetIplPropState(DiamondPenthouse.interiorId, value, false, refresh) + end + end + end + }, + BarLight = { + none = "", + light0 = "set_pent_bar_light_0", + light1 = "set_pent_bar_light_01", + light2 = "set_pent_bar_light_02", + + Set = function(light, refresh) + DiamondPenthouse.Interior.BarLight.Clear(false) + + SetIplPropState(DiamondPenthouse.interiorId, light, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(DiamondPenthouse.Interior.BarLight) do + if type(value) == "string" then + SetIplPropState(DiamondPenthouse.interiorId, value, false, refresh) + end + end + end + }, + BarParty = { + none = "", + party0 = "set_pent_bar_party_0", + party1 = "set_pent_bar_party_1", + party2 = "set_pent_bar_party_2", + partyafter = "set_pent_bar_party_after", + + Set = function(party, refresh) + DiamondPenthouse.Interior.BarParty.Clear(false) + + SetIplPropState(DiamondPenthouse.interiorId, party, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(DiamondPenthouse.Interior.BarParty) do + if type(value) == "string" then + SetIplPropState(DiamondPenthouse.interiorId, value, false, refresh) + end + end + end + }, + Blockers = { + Guest = { + enabled = "Set_Pent_GUEST_BLOCKER", + disabled = "", + + Set = function(blocker, refresh) + DiamondPenthouse.Interior.Blockers.Guest.Clear(false) + + SetIplPropState(DiamondPenthouse.interiorId, blocker, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(DiamondPenthouse.Interior.Blockers.Guest) do + if type(value) == "string" then + SetIplPropState(DiamondPenthouse.interiorId, value, false, refresh) + end + end + end + }, + Lounge = { + enabled = "Set_Pent_LOUNGE_BLOCKER", + disabled = "", + + Set = function(blocker, refresh) + DiamondPenthouse.Interior.Blockers.Lounge.Clear(false) + + SetIplPropState(DiamondPenthouse.interiorId, blocker, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(DiamondPenthouse.Interior.Blockers.Lounge) do + if type(value) == "string" then + SetIplPropState(DiamondPenthouse.interiorId, value, false, refresh) + end + end + end + }, + Office = { + enabled = "Set_Pent_OFFICE_BLOCKER", + disabled = "", + + Set = function(blocker, refresh) + DiamondPenthouse.Interior.Blockers.Office.Clear(false) + + SetIplPropState(DiamondPenthouse.interiorId, blocker, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(DiamondPenthouse.Interior.Blockers.Office) do + if type(value) == "string" then + SetIplPropState(DiamondPenthouse.interiorId, value, false, refresh) + end + end + end + }, + Cinema = { + enabled = "Set_Pent_CINE_BLOCKER", + disabled = "", + + Set = function(blocker, refresh) + DiamondPenthouse.Interior.Blockers.Cinema.Clear(false) + + SetIplPropState(DiamondPenthouse.interiorId, blocker, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(DiamondPenthouse.Interior.Blockers.Cinema) do + if type(value) == "string" then + SetIplPropState(DiamondPenthouse.interiorId, value, false, refresh) + end + end + end + }, + Spa = { + enabled = "Set_Pent_SPA_BLOCKER", + disabled = "", + + Set = function(blocker, refresh) + DiamondPenthouse.Interior.Blockers.Spa.Clear(false) + + SetIplPropState(DiamondPenthouse.interiorId, blocker, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(DiamondPenthouse.Interior.Blockers.Spa) do + if type(value) == "string" then + SetIplPropState(DiamondPenthouse.interiorId, value, false, refresh) + end + end + end + }, + Bar = { + enabled = "Set_Pent_BAR_BLOCKER", + disabled = "", + + Set = function(blocker, refresh) + DiamondPenthouse.Interior.Blockers.Bar.Clear(false) + + SetIplPropState(DiamondPenthouse.interiorId, blocker, true, refresh) + end, + Clear = function(refresh) + for key, value in pairs(DiamondPenthouse.Interior.Blockers.Bar) do + if type(value) == "string" then + SetIplPropState(DiamondPenthouse.interiorId, value, false, refresh) + end + end + end + }, + EnableAllBlockers = function() + DiamondPenthouse.Interior.Blockers.Bar.Set(DiamondPenthouse.Interior.Blockers.Bar.enabled) + DiamondPenthouse.Interior.Blockers.Guest.Set(DiamondPenthouse.Interior.Blockers.Guest.enabled) + DiamondPenthouse.Interior.Blockers.Spa.Set(DiamondPenthouse.Interior.Blockers.Spa.enabled) + DiamondPenthouse.Interior.Blockers.Cinema.Set(DiamondPenthouse.Interior.Blockers.Cinema.enabled) + DiamondPenthouse.Interior.Blockers.Lounge.Set(DiamondPenthouse.Interior.Blockers.Lounge.enabled) + DiamondPenthouse.Interior.Blockers.Office.Set(DiamondPenthouse.Interior.Blockers.Office.enabled) + end, + DisableAllBlockers = function() + DiamondPenthouse.Interior.Blockers.Bar.Set(DiamondPenthouse.Interior.Blockers.Bar.disabled) + DiamondPenthouse.Interior.Blockers.Guest.Set(DiamondPenthouse.Interior.Blockers.Guest.disabled) + DiamondPenthouse.Interior.Blockers.Spa.Set(DiamondPenthouse.Interior.Blockers.Spa.disabled) + DiamondPenthouse.Interior.Blockers.Cinema.Set(DiamondPenthouse.Interior.Blockers.Cinema.disabled) + DiamondPenthouse.Interior.Blockers.Lounge.Set(DiamondPenthouse.Interior.Blockers.Lounge.disabled) + DiamondPenthouse.Interior.Blockers.Office.Set(DiamondPenthouse.Interior.Blockers.Office.disabled) + end + } + }, + + LoadDefault = function() + local styleColor = DiamondPenthouse.Colors.timless + local stylePattern = DiamondPenthouse.Interior.Pattern.pattern09 + + DiamondPenthouse.Ipl.Interior.Load() + + DiamondPenthouse.Interior.Walls.SetColor(styleColor) + DiamondPenthouse.Interior.Pattern.Set(stylePattern) + DiamondPenthouse.Interior.Pattern.SetColor(stylePattern, styleColor) + + DiamondPenthouse.Interior.SpaBar.Set(DiamondPenthouse.Interior.SpaBar.open) + DiamondPenthouse.Interior.MediaBar.Set(DiamondPenthouse.Interior.MediaBar.open) + DiamondPenthouse.Interior.Dealer.Set(DiamondPenthouse.Interior.Dealer.open) + + RefreshInterior(DiamondPenthouse.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_doomsday/facility.lua b/resources/[standalone]/bob74_ipl/dlc_doomsday/facility.lua new file mode 100644 index 0000000..a9ef2ab --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_doomsday/facility.lua @@ -0,0 +1,421 @@ +-- DoomsdayFacility: 345.00000000 4842.00000000 -60.00000000 +exports('GetDoomsdayFacilityObject', function() + return DoomsdayFacility +end) + +DoomsdayFacility = { + interiorId = 269313, + + Ipl = { + Interior = { + ipl = "xm_x17dlc_int_placement_interior_33_x17dlc_int_02_milo_", + + Load = function(color) + EnableIpl(DoomsdayFacility.Ipl.Interior.ipl, true) + SetIplPropState(DoomsdayFacility.interiorId, "set_int_02_shell", true, true) + end, + Remove = function() + EnableIpl(DoomsdayFacility.Ipl.Interior.ipl, false) + end + }, + Exterior = { + ipl = { + "xm_hatch_01_cutscene", -- 1286.924 2846.06 49.39426 + "xm_hatch_02_cutscene", -- 18.633 2610.834 86.0 + "xm_hatch_03_cutscene", -- 2768.574 3919.924 45.82 + "xm_hatch_04_cutscene", -- 3406.90 5504.77 26.28 + "xm_hatch_06_cutscene", -- 1.90 6832.18 15.82 + "xm_hatch_07_cutscene", -- -2231.53 2418.42 12.18 + "xm_hatch_08_cutscene", -- -6.92 3327.0 41.63 + "xm_hatch_09_cutscene", -- 2073.62 1748.77 104.51 + "xm_hatch_10_cutscene", -- 1874.35 284.34 164.31 + "xm_hatch_closed", -- Closed hatches (all) + "xm_siloentranceclosed_x17", -- Closed silo: 598.4869 5556.846 716.7615 + "xm_bunkerentrance_door", -- Bunker entrance closed door: 2050.85 2950.0 47.75 + "xm_hatches_terrain", -- Terrain adjustments for facilities (all) + silo + "xm_hatches_terrain_lod" + }, + + Load = function() + EnableIpl(DoomsdayFacility.Ipl.Exterior.ipl, true) + end, + Remove = function() + EnableIpl(DoomsdayFacility.Ipl.Exterior.ipl, false) + end + } + }, + Colors = { + utility = 1, + expertise = 2, + altitude = 3, + power = 4, + authority = 5, + influence = 6, + order = 7, + empire = 8, + supremacy = 9 + }, + Walls = { + SetColor = function(color, refresh) + SetInteriorPropColor(DoomsdayFacility.interiorId, "set_int_02_shell", color) + + if refresh then + RefreshInterior(DoomsdayFacility.interiorId) + end + end + }, + Decals = { + none = "", + style01 = "set_int_02_decal_01", + style02 = "set_int_02_decal_02", + style03 = "set_int_02_decal_03", + style04 = "set_int_02_decal_04", + style05 = "set_int_02_decal_05", + style06 = "set_int_02_decal_06", + style07 = "set_int_02_decal_07", + style08 = "set_int_02_decal_08", + style09 = "set_int_02_decal_09", + + Set = function(decal, refresh) + DoomsdayFacility.Decals.Clear(refresh) + + if decal ~= "" then + SetIplPropState(DoomsdayFacility.interiorId, decal, true, refresh) + else + if refresh then + RefreshInterior(DoomsdayFacility.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(DoomsdayFacility.interiorId, { + DoomsdayFacility.Decals.style01, DoomsdayFacility.Decals.style02, DoomsdayFacility.Decals.style03, + DoomsdayFacility.Decals.style04, DoomsdayFacility.Decals.style05, DoomsdayFacility.Decals.style06, + DoomsdayFacility.Decals.style07, DoomsdayFacility.Decals.style08, DoomsdayFacility.Decals.style09 + }, false, refresh) + end + }, + Lounge = { + utility = "set_int_02_lounge1", + prestige = "set_int_02_lounge2", + premier = "set_int_02_lounge3", + + Set = function(lounge, color, refresh) + DoomsdayFacility.Lounge.Clear(false) + + SetIplPropState(DoomsdayFacility.interiorId, lounge, true, refresh) + SetInteriorPropColor(DoomsdayFacility.interiorId, lounge, color) + end, + Clear = function(refresh) + SetIplPropState(DoomsdayFacility.interiorId, { + DoomsdayFacility.Lounge.utility, + DoomsdayFacility.Lounge.prestige, + DoomsdayFacility.Lounge.premier + }, false, refresh) + end + }, + Sleeping = { + none = "set_int_02_no_sleep", + utility = "set_int_02_sleep", + prestige = "set_int_02_sleep2", + premier = "set_int_02_sleep3", + + Set = function(sleep, color, refresh) + DoomsdayFacility.Sleeping.Clear(false) + + SetIplPropState(DoomsdayFacility.interiorId, sleep, true, refresh) + SetInteriorPropColor(DoomsdayFacility.interiorId, sleep, color) + end, + Clear = function(refresh) + SetIplPropState(DoomsdayFacility.interiorId, { + DoomsdayFacility.Sleeping.none, + DoomsdayFacility.Sleeping.utility, + DoomsdayFacility.Sleeping.prestige, + DoomsdayFacility.Sleeping.premier + }, false, refresh) + end + }, + Security = { + off = "set_int_02_no_security", + on = "set_int_02_security", + + Set = function(security, color, refresh) + DoomsdayFacility.Security.Clear(false) + + SetIplPropState(DoomsdayFacility.interiorId, security, true, refresh) + SetInteriorPropColor(DoomsdayFacility.interiorId, security, color) + end, + Clear = function(refresh) + SetIplPropState(DoomsdayFacility.interiorId, { + DoomsdayFacility.Security.off, + DoomsdayFacility.Security.on + }, false, refresh) + end + }, + Cannon = { + off = "set_int_02_no_cannon", + on = "set_int_02_cannon", + + Set = function(cannon, color, refresh) + DoomsdayFacility.Cannon.Clear(false) + + SetIplPropState(DoomsdayFacility.interiorId, cannon, true, refresh) + SetInteriorPropColor(DoomsdayFacility.interiorId, cannon, color) + end, + Clear = function(refresh) + SetIplPropState(DoomsdayFacility.interiorId, { + DoomsdayFacility.Cannon.off, + DoomsdayFacility.Cannon.on + }, false, refresh) + end + }, + PrivacyGlass = { + controlModelHash = `xm_prop_x17_tem_control_01`, + + Bedroom = { + Enable = function(state) + local handle = GetClosestObjectOfType(367.99, 4827.745, -59.0, 1.0, `xm_prop_x17_l_glass_03`, false, false, false) + + if state then + if handle == 0 then + local model = `xm_prop_x17_l_glass_03` + + RequestModel(model) + while not HasModelLoaded(model) do + Citizen.Wait(0) + end + + local privacyGlass = CreateObject(model, 367.99, 4827.745, -59.0, false, false, false) + + SetEntityAsMissionEntity(privacyGlass, true, 0) + SetEntityCollision_2(privacyGlass, false, 0) + SetEntityInvincible(privacyGlass, true) + SetEntityAlpha(privacyGlass, 254, false) + end + else + if handle ~= 0 then + SetEntityAsMissionEntity(handle, false, false) + DeleteEntity(handle) + end + end + end, + + Control = { + position = vector3(372.115, 4827.504, -58.47), + rotation = vector3(0.0, 0.0, 0.0), + + Enable = function(state) + local handle = GetClosestObjectOfType(DoomsdayFacility.PrivacyGlass.Bedroom.Control.position.x, DoomsdayFacility.PrivacyGlass.Bedroom.Control.position.y, DoomsdayFacility.PrivacyGlass.Bedroom.Control.position.z, 1.0, DoomsdayFacility.PrivacyGlass.controlModelHash, false, false, false) + + if state then + if handle == 0 then + RequestModel(DoomsdayFacility.PrivacyGlass.controlModelHash) + while not HasModelLoaded(DoomsdayFacility.PrivacyGlass.controlModelHash) do + Citizen.Wait(0) + end + + local privacyGlass = CreateObjectNoOffset(DoomsdayFacility.PrivacyGlass.controlModelHash, DoomsdayFacility.PrivacyGlass.Bedroom.Control.position.x, DoomsdayFacility.PrivacyGlass.Bedroom.Control.position.y, DoomsdayFacility.PrivacyGlass.Bedroom.Control.position.z, true, true, false) + + SetEntityRotation(privacyGlass, DoomsdayFacility.PrivacyGlass.Bedroom.Control.rotation.x, DoomsdayFacility.PrivacyGlass.Bedroom.Control.rotation.y, DoomsdayFacility.PrivacyGlass.Bedroom.Control.rotation.z, 2, true) + FreezeEntityPosition(privacyGlass, true) + SetEntityAsMissionEntity(privacyGlass, false, false) + end + else + if handle ~= 0 then + SetEntityAsMissionEntity(handle, false, false) + DeleteEntity(handle) + end + end + end, + } + }, + Lounge = { + Glasses = { + { + modelHash = `xm_prop_x17_l_door_glass_01`, + entityHash = `xm_prop_x17_l_door_frame_01`, + entityPos = vector3(359.22, 4846.043, -58.85) + }, + { + modelHash = `xm_prop_x17_l_door_glass_01`, + entityHash = `xm_prop_x17_l_door_frame_01`, + entityPos = vector3(369.066, 4846.273, -58.85) + }, + { + modelHash = `xm_prop_x17_l_glass_01`, + entityHash = `xm_prop_x17_l_frame_01`, + entityPos = vector3(358.843, 4845.103, -60.0) + }, + { + modelHash = `xm_prop_x17_l_glass_02`, + entityHash = `xm_prop_x17_l_frame_02`, + entityPos = vector3(366.309, 4847.281, -60.0) + }, + { + modelHash = `xm_prop_x17_l_glass_03`, + entityHash = `xm_prop_x17_l_frame_03`, + entityPos = vector3(371.194, 4841.27, -60.0) + } + }, + + Enable = function(state) + for key, glass in pairs(DoomsdayFacility.PrivacyGlass.Lounge.Glasses) do + local handle = GetClosestObjectOfType(glass.entityPos.x, glass.entityPos.y, glass.entityPos.z, 1.0, glass.modelHash, false, false, false) + + if state then + if handle == 0 then + local entityToAttach = GetClosestObjectOfType(glass.entityPos.x, glass.entityPos.y, glass.entityPos.z, 1.0, glass.entityHash, false, false, false) + + if entityToAttach ~= 0 then + RequestModel(glass.modelHash) + while not HasModelLoaded(glass.modelHash) do + Citizen.Wait(0) + end + + local privacyGlass = CreateObject(glass.modelHash, glass.entityPos.x, glass.entityPos.y, glass.entityPos.z, false, false, false) + + SetEntityAsMissionEntity(privacyGlass, true, false) + SetEntityCollision_2(privacyGlass, false, 0) + SetEntityInvincible(privacyGlass, true) + SetEntityAlpha(privacyGlass, 254, false) + AttachEntityToEntity(privacyGlass, entityToAttach, -1, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 2, 1) + end + end + else + if handle ~= 0 then + SetEntityAsMissionEntity(handle, false, false) + DeleteEntity(handle) + end + end + end + end, + + Control = { + position = vector3(367.317, 4846.729, -58.448), + rotation = vector3(0.0, 0.0, -16.0), + + Enable = function(state) + local handle = GetClosestObjectOfType(DoomsdayFacility.PrivacyGlass.Lounge.Control.position.x, DoomsdayFacility.PrivacyGlass.Lounge.Control.position.y, DoomsdayFacility.PrivacyGlass.Lounge.Control.position.z, 1.0, DoomsdayFacility.PrivacyGlass.controlModelHash, false, false, false) + + if state then + if handle == 0 then + RequestModel(DoomsdayFacility.PrivacyGlass.controlModelHash) + while not HasModelLoaded(DoomsdayFacility.PrivacyGlass.controlModelHash) do + Citizen.Wait(0) + end + + local privacyGlass = CreateObjectNoOffset(DoomsdayFacility.PrivacyGlass.controlModelHash, DoomsdayFacility.PrivacyGlass.Lounge.Control.position.x, DoomsdayFacility.PrivacyGlass.Lounge.Control.position.y, DoomsdayFacility.PrivacyGlass.Lounge.Control.position.z, true, true, false) + + SetEntityRotation(privacyGlass, DoomsdayFacility.PrivacyGlass.Lounge.Control.rotation.x, DoomsdayFacility.PrivacyGlass.Lounge.Control.rotation.y, DoomsdayFacility.PrivacyGlass.Lounge.Control.rotation.z, 2, true) + FreezeEntityPosition(privacyGlass, true) + SetEntityAsMissionEntity(privacyGlass, false, false) + end + else + if handle ~= 0 then + SetEntityAsMissionEntity(handle, false, false) + DeleteEntity(handle) + end + end + end + } + } + }, + Details = { + KhanjaliParts = { + A = "Set_Int_02_Parts_Panther1", + B = "Set_Int_02_Parts_Panther2", + C = "Set_Int_02_Parts_Panther3" + }, + RiotParts = { + A = "Set_Int_02_Parts_Riot1", + B = "Set_Int_02_Parts_Riot2", + C = "Set_Int_02_Parts_Riot3" + }, + ChenoParts = { + A = "Set_Int_02_Parts_Cheno1", + B = "Set_Int_02_Parts_Cheno2", + C = "Set_Int_02_Parts_Cheno3" + }, + ThrusterParts = { + A = "Set_Int_02_Parts_Thruster1", + B = "Set_Int_02_Parts_Thruster2", + C = "Set_Int_02_Parts_Thruster3" + }, + AvengerParts = { + A = "Set_Int_02_Parts_Avenger1", + B = "Set_Int_02_Parts_Avenger2", + C = "Set_Int_02_Parts_Avenger3" + }, + Outfits = { + paramedic = "Set_Int_02_outfit_paramedic", + morgue = "Set_Int_02_outfit_morgue", + serverFarm = "Set_Int_02_outfit_serverfarm", + iaa = "Set_Int_02_outfit_iaa", + stealAvenger = "Set_Int_02_outfit_steal_avenger", + foundry = "Set_Int_02_outfit_foundry", + riot = "Set_Int_02_outfit_riot_van", + stromberg = "Set_Int_02_outfit_stromberg", + submarine = "Set_Int_02_outfit_sub_finale", + predator = "Set_Int_02_outfit_predator", + khanjali = "Set_Int_02_outfit_khanjali", + volatol = "Set_Int_02_outfit_volatol" + }, + Trophies = { + eagle = "set_int_02_trophy1", + iaa = "set_int_02_trophy_iaa", + submarine = "set_int_02_trophy_sub", + + SetColor = function(color, refresh) + SetInteriorPropColor(DoomsdayFacility.interiorId, "set_int_02_trophy_sub", color) + + if refresh then + RefreshInterior(DoomsdayFacility.interiorId) + end + end + }, + Clutter = { + A = "set_int_02_clutter1", + B = "set_int_02_clutter2", + C = "set_int_02_clutter3", + D = "set_int_02_clutter4", + E = "set_int_02_clutter5" + }, + crewEmblem = "set_int_02_crewemblem", + + Enable = function(details, state, refresh) + SetIplPropState(DoomsdayFacility.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + DoomsdayFacility.Ipl.Exterior.Load() + DoomsdayFacility.Ipl.Interior.Load() + + DoomsdayFacility.Walls.SetColor(DoomsdayFacility.Colors.utility) + DoomsdayFacility.Decals.Set(DoomsdayFacility.Decals.style01) + DoomsdayFacility.Lounge.Set(DoomsdayFacility.Lounge.premier, DoomsdayFacility.Colors.utility) + DoomsdayFacility.Sleeping.Set(DoomsdayFacility.Sleeping.premier, DoomsdayFacility.Colors.utility) + DoomsdayFacility.Security.Set(DoomsdayFacility.Security.on, DoomsdayFacility.Colors.utility) + DoomsdayFacility.Cannon.Set(DoomsdayFacility.Cannon.on, DoomsdayFacility.Colors.utility) + + -- Privacy glass remote + DoomsdayFacility.PrivacyGlass.Bedroom.Control.Enable(true) + DoomsdayFacility.PrivacyGlass.Lounge.Control.Enable(true) + + DoomsdayFacility.Details.Enable(DoomsdayFacility.Details.crewEmblem, false) + + DoomsdayFacility.Details.Enable(DoomsdayFacility.Details.AvengerParts, true) + + DoomsdayFacility.Details.Enable(DoomsdayFacility.Details.Outfits, true) + + DoomsdayFacility.Details.Enable(DoomsdayFacility.Details.Trophies, true) + DoomsdayFacility.Details.Trophies.SetColor(DoomsdayFacility.Colors.utility) + + DoomsdayFacility.Details.Enable({ + DoomsdayFacility.Details.Clutter.A, + DoomsdayFacility.Details.Clutter.B + }, true) + + RefreshInterior(DoomsdayFacility.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_executive/apartment1.lua b/resources/[standalone]/bob74_ipl/dlc_executive/apartment1.lua new file mode 100644 index 0000000..9471d90 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_executive/apartment1.lua @@ -0,0 +1,136 @@ +-- Apartment 1: -787.78050000 334.92320000 215.83840000 +exports('GetExecApartment1Object', function() + return ExecApartment1 +end) + +ExecApartment1 = { + currentInteriorId = -1, + + Style = { + Theme = { + modern = { + interiorId = 227329, + ipl = "apa_v_mp_h_01_a" + }, + moody = { + interiorId = 228097, + ipl = "apa_v_mp_h_02_a" + }, + vibrant = { + interiorId = 228865, + ipl = "apa_v_mp_h_03_a" + }, + sharp = { + interiorId = 229633, + ipl = "apa_v_mp_h_04_a" + }, + monochrome = { + interiorId = 230401, + ipl = "apa_v_mp_h_05_a" + }, + seductive = { + interiorId = 231169, + ipl = "apa_v_mp_h_06_a" + }, + regal = { + interiorId = 231937, + ipl = "apa_v_mp_h_07_a" + }, + aqua = { + interiorId = 232705, + ipl = "apa_v_mp_h_08_a" + } + }, + + Set = function(style, refresh) + if type(style) == "table" then + ExecApartment1.Style.Clear() + ExecApartment1.currentInteriorId = style.interiorId + + EnableIpl(style.ipl, true) + + if refresh then + RefreshInterior(style.interiorId) + end + end + end, + Clear = function() + for key, value in pairs(ExecApartment1.Style.Theme) do + SetIplPropState(value.interiorId, { + "Apart_Hi_Strip_A", + "Apart_Hi_Strip_B", + "Apart_Hi_Strip_C" + }, false) + SetIplPropState(value.interiorId, { + "Apart_Hi_Booze_A", + "Apart_Hi_Booze_B", + "Apart_Hi_Booze_C" + }, false) + SetIplPropState(value.interiorId, { + "Apart_Hi_Smokes_A", + "Apart_Hi_Smokes_B", + "Apart_Hi_Smokes_C" + }, false, true) + EnableIpl(value.ipl, false) + end + end + }, + Strip = { + A = "Apart_Hi_Strip_A", + B = "Apart_Hi_Strip_B", + C = "Apart_Hi_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(ExecApartment1.currentInteriorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Hi_Booze_A", + B = "Apart_Hi_Booze_B", + C = "Apart_Hi_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(ExecApartment1.currentInteriorId, details, state, refresh) + end + }, + Smoke = { + none = "", + stage1 = "Apart_Hi_Smokes_A", + stage2 = "Apart_Hi_Smokes_B", + stage3 = "Apart_Hi_Smokes_C", + + Set = function(smoke, refresh) + ExecApartment1.Smoke.Clear(false) + + if smoke ~= nil then + SetIplPropState(ExecApartment1.currentInteriorId, smoke, true, refresh) + else + if refresh then + RefreshInterior(ExecApartment1.currentInteriorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(ExecApartment1.currentInteriorId, { + ExecApartment1.Smoke.stage1, + ExecApartment1.Smoke.stage2, + ExecApartment1.Smoke.stage3 + }, false, refresh) + end + }, + + LoadDefault = function() + ExecApartment1.Style.Set(ExecApartment1.Style.Theme.sharp, true) + ExecApartment1.Strip.Enable({ + ExecApartment1.Strip.A, + ExecApartment1.Strip.B, + ExecApartment1.Strip.C + }, true) + ExecApartment1.Booze.Enable({ + ExecApartment1.Booze.A, + ExecApartment1.Booze.B, + ExecApartment1.Booze.C + }, true) + ExecApartment1.Smoke.Set(ExecApartment1.Smoke.stage1, true) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_executive/apartment2.lua b/resources/[standalone]/bob74_ipl/dlc_executive/apartment2.lua new file mode 100644 index 0000000..7beca33 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_executive/apartment2.lua @@ -0,0 +1,135 @@ +-- Apartment 2: -773.22580000 322.82520000 194.88620000 +exports('GetExecApartment2Object', function() + return ExecApartment2 +end) + +ExecApartment2 = { + currentInteriorId = -1, + + Style = { + Theme = { + modern = { + interiorId = 227585, + ipl = "apa_v_mp_h_01_b" + }, + moody = { + interiorId = 228353, + ipl = "apa_v_mp_h_02_b" + }, + vibrant = { + interiorId = 229121, + ipl = "apa_v_mp_h_03_b" + }, + sharp = { + interiorId = 229889, + ipl = "apa_v_mp_h_04_b" + }, + monochrome = { + interiorId = 230657, + ipl = "apa_v_mp_h_05_b" + }, + seductive = { + interiorId = 231425, + ipl = "apa_v_mp_h_06_b" + }, + regal = { + interiorId = 232193, + ipl = "apa_v_mp_h_07_b" + }, + aqua = { + interiorId = 232961, + ipl = "apa_v_mp_h_08_b" + } + }, + + Set = function(style, refresh) + if type(style) == "table" then + ExecApartment2.Style.Clear() + ExecApartment2.currentInteriorId = style.interiorId + + EnableIpl(style.ipl, true) + + if refresh then + RefreshInterior(style.interiorId) + end + end + end, + Clear = function() + for key, value in pairs(ExecApartment2.Style.Theme) do + SetIplPropState(value.interiorId, { + "Apart_Hi_Strip_A", + "Apart_Hi_Strip_B", + "Apart_Hi_Strip_C"}, false) + SetIplPropState(value.interiorId, { + "Apart_Hi_Booze_A", + "Apart_Hi_Booze_B", + "Apart_Hi_Booze_C" + }, false) + SetIplPropState(value.interiorId, { + "Apart_Hi_Smokes_A", + "Apart_Hi_Smokes_B", + "Apart_Hi_Smokes_C" + }, false, true) + EnableIpl(value.ipl, false) + end + end + }, + Strip = { + A = "Apart_Hi_Strip_A", + B = "Apart_Hi_Strip_B", + C = "Apart_Hi_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(ExecApartment2.currentInteriorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Hi_Booze_A", + B = "Apart_Hi_Booze_B", + C = "Apart_Hi_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(ExecApartment2.currentInteriorId, details, state, refresh) + end + }, + Smoke = { + none = "", + stage1 = "Apart_Hi_Smokes_A", + stage2 = "Apart_Hi_Smokes_B", + stage3 = "Apart_Hi_Smokes_C", + + Set = function(smoke, refresh) + ExecApartment2.Smoke.Clear(false) + + if smoke ~= nil then + SetIplPropState(ExecApartment2.currentInteriorId, smoke, true, refresh) + else + if refresh then + RefreshInterior(ExecApartment2.currentInteriorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(ExecApartment2.currentInteriorId, { + ExecApartment2.Smoke.stage1, + ExecApartment2.Smoke.stage2, + ExecApartment2.Smoke.stage3 + }, false, refresh) + end + }, + + LoadDefault = function() + ExecApartment2.Style.Set(ExecApartment2.Style.Theme.seductive, true) + ExecApartment2.Strip.Enable({ + ExecApartment2.Strip.A, + ExecApartment2.Strip.B, + ExecApartment2.Strip.C + }, true) + ExecApartment2.Booze.Enable({ + ExecApartment2.Booze.A, + ExecApartment2.Booze.B, + ExecApartment2.Booze.C + }, true) + ExecApartment2.Smoke.Set(ExecApartment2.Smoke.stage1, true) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_executive/apartment3.lua b/resources/[standalone]/bob74_ipl/dlc_executive/apartment3.lua new file mode 100644 index 0000000..6bca34f --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_executive/apartment3.lua @@ -0,0 +1,136 @@ +-- Apartment 3: -787.78050000 334.92320000 186.11340000 +exports('GetExecApartment3Object', function() + return ExecApartment3 +end) + +ExecApartment3 = { + currentInteriorId = -1, + + Style = { + Theme = { + modern = { + interiorId = 227841, + ipl = "apa_v_mp_h_01_c" + }, + moody = { + interiorId = 228609, + ipl = "apa_v_mp_h_02_c" + }, + vibrant = { + interiorId = 229377, + ipl = "apa_v_mp_h_03_c" + }, + sharp = { + interiorId = 230145, + ipl = "apa_v_mp_h_04_c" + }, + monochrome = { + interiorId = 230913, + ipl = "apa_v_mp_h_05_c" + }, + seductive = { + interiorId = 231681, + ipl = "apa_v_mp_h_06_c" + }, + regal = { + interiorId = 232449, + ipl = "apa_v_mp_h_07_c" + }, + aqua = { + interiorId = 233217, + ipl = "apa_v_mp_h_08_c" + } + }, + + Set = function(style, refresh) + if type(style) == "table" then + ExecApartment3.Style.Clear() + ExecApartment3.currentInteriorId = style.interiorId + + EnableIpl(style.ipl, true) + + if refresh then + RefreshInterior(style.interiorId) + end + end + end, + Clear = function() + for key, value in pairs(ExecApartment3.Style.Theme) do + SetIplPropState(value.interiorId, { + "Apart_Hi_Strip_A", + "Apart_Hi_Strip_B", + "Apart_Hi_Strip_C" + }, false) + SetIplPropState(value.interiorId, { + "Apart_Hi_Booze_A", + "Apart_Hi_Booze_B", + "Apart_Hi_Booze_C" + }, false) + SetIplPropState(value.interiorId, { + "Apart_Hi_Smokes_A", + "Apart_Hi_Smokes_B", + "Apart_Hi_Smokes_C" + }, false, true) + EnableIpl(value.ipl, false) + end + end + }, + Strip = { + A = "Apart_Hi_Strip_A", + B = "Apart_Hi_Strip_B", + C = "Apart_Hi_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(ExecApartment3.currentInteriorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Hi_Booze_A", + B = "Apart_Hi_Booze_B", + C = "Apart_Hi_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(ExecApartment3.currentInteriorId, details, state, refresh) + end + }, + Smoke = { + none = "", + stage1 = "Apart_Hi_Smokes_A", + stage2 = "Apart_Hi_Smokes_B", + stage3 = "Apart_Hi_Smokes_C", + + Set = function(smoke, refresh) + ExecApartment3.Smoke.Clear(false) + + if smoke ~= nil then + SetIplPropState(ExecApartment3.currentInteriorId, smoke, true, refresh) + else + if refresh then + RefreshInterior(ExecApartment3.currentInteriorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(ExecApartment3.currentInteriorId, { + ExecApartment3.Smoke.stage1, + ExecApartment3.Smoke.stage2, + ExecApartment3.Smoke.stage3 + }, false, refresh) + end + }, + + LoadDefault = function() + ExecApartment3.Style.Set(ExecApartment3.Style.Theme.sharp, true) + ExecApartment3.Strip.Enable({ + ExecApartment3.Strip.A, + ExecApartment3.Strip.B, + ExecApartment3.Strip.C + }, true) + ExecApartment3.Booze.Enable({ + ExecApartment3.Booze.A, + ExecApartment3.Booze.B, + ExecApartment3.Booze.C + }, true) + ExecApartment3.Smoke.Set(ExecApartment3.Smoke.none) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_finance/office1.lua b/resources/[standalone]/bob74_ipl/dlc_finance/office1.lua new file mode 100644 index 0000000..f1320a6 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_finance/office1.lua @@ -0,0 +1,327 @@ +-- Office 1: -141.1987, -620.913, 168.8205 (Arcadius Business Centre) +exports('GetFinanceOffice1Object', function() + return FinanceOffice1 +end) + +FinanceOffice1 = { + currentInteriorId = -1, + currentSafeDoors = { + hashL = "", + hashR = "" + }, + + Style = { + Theme = { + warm = { + interiorId = 236289, + ipl = "ex_dt1_02_office_01a", + safe = "ex_prop_safedoor_office1a" + }, + classical = { + interiorId = 236545, + ipl = "ex_dt1_02_office_01b", + safe = "ex_prop_safedoor_office1b" + }, + vintage = { + interiorId = 236801, + ipl = "ex_dt1_02_office_01c", + safe = "ex_prop_safedoor_office1c" + }, + contrast = { + interiorId = 237057, + ipl = "ex_dt1_02_office_02a", + safe = "ex_prop_safedoor_office2a" + }, + rich = { + interiorId = 237313, + ipl = "ex_dt1_02_office_02b", + safe = "ex_prop_safedoor_office2a" + }, + cool = { + interiorId = 237569, + ipl = "ex_dt1_02_office_02c", + safe = "ex_prop_safedoor_office2a" + }, + ice = { + interiorId = 237825, + ipl = "ex_dt1_02_office_03a", + safe = "ex_prop_safedoor_office3a" + }, + conservative = { + interiorId = 238081, + ipl = "ex_dt1_02_office_03b", + safe = "ex_prop_safedoor_office3a" + }, + polished = { + interiorId = 238337, + ipl = "ex_dt1_02_office_03c", + safe = "ex_prop_safedoor_office3c" + } + }, + Set = function(style, refresh) + if refresh == nil then + refresh = false + end + + if type(style) == "table" then + FinanceOffice1.Style.Clear() + FinanceOffice1.currentInteriorId = style.interiorId + FinanceOffice1.currentSafeDoors = { + hashL = GetHashKey(style.safe .. "_l"), + hashR = GetHashKey(style.safe .. "_r") + } + + EnableIpl(style.ipl, true) + + if refresh then + RefreshInterior(style.interiorId) + end + end + end, + Clear = function() + for themeKey, themeValue in pairs(FinanceOffice1.Style.Theme) do + for swagKey, swagValue in pairs(FinanceOffice1.Swag) do + if type(swagValue) == "table" then + SetIplPropState(themeValue.interiorId, { + swagValue.A, + swagValue.B, + swagValue.C + }, false) + end + end + + SetIplPropState(themeValue.interiorId, "office_chairs", false, false) + SetIplPropState(themeValue.interiorId, "office_booze", false, true) + + FinanceOffice1.currentSafeDoors = { + hashL = 0, + hashR = 0 + } + + EnableIpl(themeValue.ipl, false) + end + end + }, + Safe = { + doorHeadingL = 96.0, -- Only need the heading of the Left door to get the Right ones + Position = vector3(-124.25, -641.30, 168.870), -- Approximately between the two doors + -- These values are checked from "doorHandler.lua" and + isLeftDoorOpen = false, + isRightDoorOpen = false, + + -- Safe door API + Open = function(doorSide) + if doorSide:lower() == "left" then + FinanceOffice1.Safe.isLeftDoorOpen = true + elseif doorSide:lower() == "right" then + FinanceOffice1.Safe.isRightDoorOpen = true + else + Citizen.Trace("[bob74_ipl] Warning: " .. doorSide .. " is not a correct value. Valid values are:") + Citizen.Trace("left right") + end + end, + Close = function(doorSide) + if doorSide:lower() == "left" then + FinanceOffice1.Safe.isLeftDoorOpen = false + elseif doorSide:lower() == "right" then + FinanceOffice1.Safe.isRightDoorOpen = false + else + Citizen.Trace("[bob74_ipl] Warning: " .. doorSide .. " is not a correct value. Valid values are:") + Citizen.Trace("left right") + end + end, + + -- Internal use only + SetDoorState = function(doorSide, open) + local doorHandle = 0 + local heading = FinanceOffice1.Safe.doorHeadingL + + if doorSide:lower() == "left" then + doorHandle = FinanceOffice1.Safe.GetDoorHandle(FinanceOffice1.currentSafeDoors.hashL) + + if open then + heading = heading - 90.0 + end + elseif doorSide:lower() == "right" then + doorHandle = FinanceOffice1.Safe.GetDoorHandle(FinanceOffice1.currentSafeDoors.hashR) + heading = heading - 180 + + if open then + heading = heading + 90.0 + end + end + + if doorHandle == 0 then + Citizen.Trace("[bob74_ipl] Warning: " .. doorSide .. " safe door handle is 0") + return + end + + SetEntityHeading(doorHandle, heading) + end, + + -- /!\ handle changes whenever the interior is refreshed /!\ + GetDoorHandle = function(doorHash) + local timeout = 4 + local doorHandle = GetClosestObjectOfType(FinanceOffice1.Safe.Position.x, FinanceOffice1.Safe.Position.y, FinanceOffice1.Safe.Position.z, 5.0, doorHash, false, false, false) + + while doorHandle == 0 do + Citizen.Wait(25) + + doorHandle = GetClosestObjectOfType(FinanceOffice1.Safe.Position.x, FinanceOffice1.Safe.Position.y, FinanceOffice1.Safe.Position.z, 5.0, doorHash, false, false, false) + timeout = timeout - 1 + + if timeout <= 0 then + break + end + end + + return doorHandle + end + }, + Swag = { + Cash = { + A = "cash_set_01", + B = "cash_set_02", + C = "cash_set_03", + D = "cash_set_04", + E = "cash_set_05", + F = "cash_set_06", + G = "cash_set_07", + H = "cash_set_08", + I = "cash_set_09", + J = "cash_set_10", + K = "cash_set_11", + L = "cash_set_12", + M = "cash_set_13", + N = "cash_set_14", + O = "cash_set_15", + P = "cash_set_16", + Q = "cash_set_17", + R = "cash_set_18", + S = "cash_set_19", + T = "cash_set_20", + U = "cash_set_21", + V = "cash_set_22", + W = "cash_set_23", + X = "cash_set_24" + }, + BoozeCigs = { + A = "swag_booze_cigs", + B = "swag_booze_cigs2", + C = "swag_booze_cigs3" + }, + Counterfeit = { + A = "swag_counterfeit", + B = "swag_counterfeit2", + C = "swag_counterfeit3" + }, + DrugBags = { + A = "swag_drugbags", + B = "swag_drugbags2", + C = "swag_drugbags3" + }, + DrugStatue = { + A = "swag_drugstatue", + B = "swag_drugstatue2", + C = "swag_drugstatue3" + }, + Electronic = { + A = "swag_electronic", + B = "swag_electronic2", + C = "swag_electronic3" + }, + FurCoats = { + A = "swag_furcoats", + B = "swag_furcoats2", + C = "swag_furcoats3" + }, + Gems = { + A = "swag_gems", + B = "swag_gems2", + C = "swag_gems3" + }, + Guns = { + A = "swag_guns", + B = "swag_guns2", + C = "swag_guns3" + }, + Ivory = { + A = "swag_ivory", + B = "swag_ivory2", + C = "swag_ivory3" + }, + Jewel = { + A = "swag_jewelwatch", + B = "swag_jewelwatch2", + C = "swag_jewelwatch3" + }, + Med = { + A = "swag_med", + B = "swag_med2", + C = "swag_med3" + }, + Painting = { + A = "swag_art", + B = "swag_art2", + C = "swag_art3" + }, + Pills = { + A = "swag_pills", + B = "swag_pills2", + C = "swag_pills3" + }, + Silver = { + A = "swag_silver", + B = "swag_silver2", + C = "swag_silver3" + }, + + Enable = function(details, state, refresh) + SetIplPropState(FinanceOffice1.currentInteriorId, details, state, refresh) + end + }, + Chairs = { + off = "", + on = "office_chairs", + + Set = function(chairs, refresh) + FinanceOffice1.Chairs.Clear(false) + + if chairs ~= nil then + SetIplPropState(FinanceOffice1.currentInteriorId, chairs, true, refresh) + else + if refresh then + RefreshInterior(FinanceOffice1.currentInteriorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(FinanceOffice1.currentInteriorId, FinanceOffice1.Chairs.on, false, refresh) + end + }, + Booze = { + off = "", + on = "office_booze", + + Set = function(booze, refresh) + FinanceOffice1.Booze.Clear(false) + + if booze ~= nil then + SetIplPropState(FinanceOffice1.currentInteriorId, booze, true, refresh) + else + if refresh then + RefreshInterior(FinanceOffice1.currentInteriorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(FinanceOffice1.currentInteriorId, FinanceOffice1.Booze.on, false, refresh) + end + }, + + LoadDefault = function() + FinanceOffice3.Booze.Set(FinanceOffice3.Booze.on, true) + FinanceOffice1.Style.Set(FinanceOffice1.Style.Theme.warm, true) + FinanceOffice1.Chairs.Set(FinanceOffice1.Chairs.on, true) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_finance/office2.lua b/resources/[standalone]/bob74_ipl/dlc_finance/office2.lua new file mode 100644 index 0000000..75d2593 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_finance/office2.lua @@ -0,0 +1,326 @@ +-- Office 2: -75.8466, -826.9893, 243.3859 (Maze Bank Building) +exports('GetFinanceOffice2Object', function() + return FinanceOffice2 +end) + +FinanceOffice2 = { + currentInteriorId = -1, + currentSafeDoors = { + hashL = "", + hashR = "" + }, + + Style = { + Theme = { + warm = { + interiorId = 238593, + ipl = "ex_dt1_11_office_01a", + safe = "ex_prop_safedoor_office1a" + }, + classical = { + interiorId = 238849, + ipl = "ex_dt1_11_office_01b", + safe = "ex_prop_safedoor_office1b" + }, + vintage = { + interiorId = 239105, + ipl = "ex_dt1_11_office_01c", + safe = "ex_prop_safedoor_office1c" + }, + contrast = { + interiorId = 239361, + ipl = "ex_dt1_11_office_02a", + safe = "ex_prop_safedoor_office2a" + }, + rich = { + interiorId = 239617, + ipl = "ex_dt1_11_office_02b", + safe = "ex_prop_safedoor_office2a" + }, + cool = { + interiorId = 239873, + ipl = "ex_dt1_11_office_02c", + safe = "ex_prop_safedoor_office2a" + }, + ice = { + interiorId = 240129, + ipl = "ex_dt1_11_office_03a", + safe = "ex_prop_safedoor_office3a" + }, + conservative = { + interiorId = 240385, + ipl = "ex_dt1_11_office_03b", + safe = "ex_prop_safedoor_office3a" + }, + polished = { + interiorId = 240641, + ipl = "ex_dt1_11_office_03c", + safe = "ex_prop_safedoor_office3c" + } + }, + Set = function(style, refresh) + if refresh == nil then + refresh = false + end + + if type(style) == "table" then + FinanceOffice2.Style.Clear() + FinanceOffice2.currentInteriorId = style.interiorId + FinanceOffice2.currentSafeDoors = { + hashL = GetHashKey(style.safe .. "_l"), + hashR = GetHashKey(style.safe .. "_r") + } + + EnableIpl(style.ipl, true) + + if refresh then + RefreshInterior(style.interiorId) + end + end + end, + Clear = function() + for themeKey, themeValue in pairs(FinanceOffice2.Style.Theme) do + for swagKey, swagValue in pairs(FinanceOffice2.Swag) do + if type(swagValue) == "table" then + SetIplPropState(themeValue.interiorId, { + swagValue.A, + swagValue.B, + swagValue.C + }, false) + end + end + + SetIplPropState(themeValue.interiorId, "office_chairs", false, false) + SetIplPropState(themeValue.interiorId, "office_booze", false, true) + + FinanceOffice2.currentSafeDoors = { + hashL = 0, + hashR = 0 + } + + EnableIpl(themeValue.ipl, false) + end + end + }, + Safe = { + doorHeadingL = 250.0, -- Only need the heading of the Left door to get the Right ones + Position = vector3(-82.593, -801.0, 243.385), -- Approximately between the two doors + -- These values are checked from "doorHandler.lua" and + isLeftDoorOpen = false, + isRightDoorOpen = false, + + -- Safe door API + Open = function(doorSide) + if doorSide:lower() == "left" then + FinanceOffice2.Safe.isLeftDoorOpen = true + elseif doorSide:lower() == "right" then + FinanceOffice2.Safe.isRightDoorOpen = true + else + Citizen.Trace("[bob74_ipl] Warning: " .. doorSide .. " is not a correct value. Valid values are:") + Citizen.Trace("left right") + end + end, + Close = function(doorSide) + if doorSide:lower() == "left" then + FinanceOffice2.Safe.isLeftDoorOpen = false + elseif doorSide:lower() == "right" then + FinanceOffice2.Safe.isRightDoorOpen = false + else + Citizen.Trace("[bob74_ipl] Warning: " .. doorSide .. " is not a correct value. Valid values are:") + Citizen.Trace("left right") + end + end, + + -- Internal use only + SetDoorState = function(doorSide, open) + local doorHandle = 0 + local heading = FinanceOffice2.Safe.doorHeadingL + + if doorSide:lower() == "left" then + doorHandle = FinanceOffice2.Safe.GetDoorHandle(FinanceOffice2.currentSafeDoors.hashL) + + if open then + heading = heading - 90.0 + end + elseif doorSide:lower() == "right" then + doorHandle = FinanceOffice2.Safe.GetDoorHandle(FinanceOffice2.currentSafeDoors.hashR) + heading = heading - 180 + + if open then + heading = heading + 90.0 + end + end + + if doorHandle == 0 then + Citizen.Trace("[bob74_ipl] Warning: " .. doorSide .. " safe door handle is 0") + return + end + + SetEntityHeading(doorHandle, heading) + end, + + -- /!\ handle changes whenever the interior is refreshed /!\ + GetDoorHandle = function(doorHash) + local timeout = 4 + local doorHandle = GetClosestObjectOfType(FinanceOffice2.Safe.Position.x, FinanceOffice2.Safe.Position.y, FinanceOffice2.Safe.Position.z, 5.0, doorHash, false, false, false) + + while doorHandle == 0 do + Citizen.Wait(25) + + doorHandle = GetClosestObjectOfType(FinanceOffice2.Safe.Position.x, FinanceOffice2.Safe.Position.y, FinanceOffice2.Safe.Position.z, 5.0, doorHash, false, false, false) + timeout = timeout - 1 + + if timeout <= 0 then + break + end + end + + return doorHandle + end + }, + Swag = { + Cash = { + A = "cash_set_01", + B = "cash_set_02", + C = "cash_set_03", + D = "cash_set_04", + E = "cash_set_05", + F = "cash_set_06", + G = "cash_set_07", + H = "cash_set_08", + I = "cash_set_09", + J = "cash_set_10", + K = "cash_set_11", + L = "cash_set_12", + M = "cash_set_13", + N = "cash_set_14", + O = "cash_set_15", + P = "cash_set_16", + Q = "cash_set_17", + R = "cash_set_18", + S = "cash_set_19", + T = "cash_set_20", + U = "cash_set_21", + V = "cash_set_22", + W = "cash_set_23", + X = "cash_set_24" + }, + BoozeCigs = { + A = "swag_booze_cigs", + B = "swag_booze_cigs2", + C = "swag_booze_cigs3" + }, + Counterfeit = { + A = "swag_counterfeit", + B = "swag_counterfeit2", + C = "swag_counterfeit3" + }, + DrugBags = { + A = "swag_drugbags", + B = "swag_drugbags2", + C = "swag_drugbags3" + }, + DrugStatue = { + A = "swag_drugstatue", + B = "swag_drugstatue2", + C = "swag_drugstatue3" + }, + Electronic = { + A = "swag_electronic", + B = "swag_electronic2", + C = "swag_electronic3" + }, + FurCoats = { + A = "swag_furcoats", + B = "swag_furcoats2", + C = "swag_furcoats3" + }, + Gems = { + A = "swag_gems", + B = "swag_gems2", + C = "swag_gems3" + }, + Guns = { + A = "swag_guns", + B = "swag_guns2", + C = "swag_guns3" + }, + Ivory = { + A = "swag_ivory", + B = "swag_ivory2", + C = "swag_ivory3" + }, + Jewel = { + A = "swag_jewelwatch", + B = "swag_jewelwatch2", + C = "swag_jewelwatch3" + }, + Med = { + A = "swag_med", + B = "swag_med2", + C = "swag_med3" + }, + Painting = { + A = "swag_art", + B = "swag_art2", + C = "swag_art3" + }, + Pills = { + A = "swag_pills", + B = "swag_pills2", + C = "swag_pills3" + }, + Silver = { + A = "swag_silver", + B = "swag_silver2", + C = "swag_silver3" + }, + + Enable = function(details, state, refresh) + SetIplPropState(FinanceOffice2.currentInteriorId, details, state, refresh) + end + }, + Chairs = { + off = "", + on = "office_chairs", + + Set = function(chairs, refresh) + FinanceOffice2.Chairs.Clear(false) + + if chairs ~= nil then + SetIplPropState(FinanceOffice2.currentInteriorId, chairs, true, refresh) + else + if refresh then + RefreshInterior(FinanceOffice2.currentInteriorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(FinanceOffice2.currentInteriorId, FinanceOffice2.Chairs.on, false, refresh) + end + }, + Booze = { + off = "", + on = "office_booze", + + Set = function(booze, refresh) + FinanceOffice2.Booze.Clear(false) + + if booze ~= nil then + SetIplPropState(FinanceOffice2.currentInteriorId, booze, true, refresh) + else + if refresh then + RefreshInterior(FinanceOffice2.currentInteriorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(FinanceOffice2.currentInteriorId, FinanceOffice2.Booze.on, false, refresh) + end + }, + + LoadDefault = function() + FinanceOffice2.Style.Set(FinanceOffice2.Style.Theme.warm) + FinanceOffice2.Chairs.Set(FinanceOffice2.Chairs.on, true) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_finance/office3.lua b/resources/[standalone]/bob74_ipl/dlc_finance/office3.lua new file mode 100644 index 0000000..20a8741 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_finance/office3.lua @@ -0,0 +1,326 @@ +-- Office 3: -1579.756, -565.0661, 108.523 (Lom Bank) +exports('GetFinanceOffice3Object', function() + return FinanceOffice3 +end) + +FinanceOffice3 = { + currentInteriorId = -1, + currentSafeDoors = { + hashL = "", + hashR = "" + }, + + Style = { + Theme = { + warm = { + interiorId = 240897, + ipl = "ex_sm_13_office_01a", + safe = "ex_prop_safedoor_office1a" + }, + classical = { + interiorId = 241153, + ipl = "ex_sm_13_office_01b", + safe = "ex_prop_safedoor_office1b" + }, + vintage = { + interiorId = 241409, + ipl = "ex_sm_13_office_01c", + safe = "ex_prop_safedoor_office1c" + }, + contrast = { + interiorId = 241665, + ipl = "ex_sm_13_office_02a", + safe = "ex_prop_safedoor_office2a" + }, + rich = { + interiorId = 241921, + ipl = "ex_sm_13_office_02b", + safe = "ex_prop_safedoor_office2a" + }, + cool = { + interiorId = 242177, + ipl = "ex_sm_13_office_02c", + safe = "ex_prop_safedoor_office2a" + }, + ice = { + interiorId = 242433, + ipl = "ex_sm_13_office_03a", + safe = "ex_prop_safedoor_office3a" + }, + conservative = { + interiorId = 242689, + ipl = "ex_sm_13_office_03b", + safe = "ex_prop_safedoor_office3a" + }, + polished = { + interiorId = 242945, + ipl = "ex_sm_13_office_03c", + safe = "ex_prop_safedoor_office3c" + } + }, + Set = function(style, refresh) + if refresh == nil then + refresh = false + end + + if type(style) == "table" then + FinanceOffice3.Style.Clear() + FinanceOffice3.currentInteriorId = style.interiorId + FinanceOffice3.currentSafeDoors = { + hashL = GetHashKey(style.safe .. "_l"), + hashR = GetHashKey(style.safe .. "_r") + } + + EnableIpl(style.ipl, true) + + if refresh then + RefreshInterior(style.interiorId) + end + end + end, + Clear = function() + for themeKey, themeValue in pairs(FinanceOffice3.Style.Theme) do + for swagKey, swagValue in pairs(FinanceOffice3.Swag) do + if type(swagValue) == "table" then + SetIplPropState(themeValue.interiorId, { + swagValue.A, + swagValue.B, + swagValue.C + }, false) + end + end + + SetIplPropState(themeValue.interiorId, "office_chairs", false, false) + SetIplPropState(themeValue.interiorId, "office_booze", false, true) + + FinanceOffice3.currentSafeDoors = { + hashL = 0, + hashR = 0 + } + + EnableIpl(themeValue.ipl, false) + end + end + }, + Safe = { + doorHeadingL = 126.0, -- Only need the heading of the Left door to get the Right ones + Position = vector3(-1554.08, -573.7122, 108.5272), -- Approximately between the two doors + -- These values are checked from "doorHandler.lua" and + isLeftDoorOpen = false, + isRightDoorOpen = false, + + -- Safe door API + Open = function(doorSide) + if doorSide:lower() == "left" then + FinanceOffice3.Safe.isLeftDoorOpen = true + elseif doorSide:lower() == "right" then + FinanceOffice3.Safe.isRightDoorOpen = true + else + Citizen.Trace("[bob74_ipl] Warning: " .. doorSide .. " is not a correct value. Valid values are:") + Citizen.Trace("left right") + end + end, + Close = function(doorSide) + if doorSide:lower() == "left" then + FinanceOffice3.Safe.isLeftDoorOpen = false + elseif doorSide:lower() == "right" then + FinanceOffice3.Safe.isRightDoorOpen = false + else + Citizen.Trace("[bob74_ipl] Warning: " .. doorSide .. " is not a correct value. Valid values are:") + Citizen.Trace("left right") + end + end, + + -- Internal use only + SetDoorState = function(doorSide, open) + local doorHandle = 0 + local heading = FinanceOffice3.Safe.doorHeadingL + + if doorSide:lower() == "left" then + doorHandle = FinanceOffice3.Safe.GetDoorHandle(FinanceOffice3.currentSafeDoors.hashL) + + if open then + heading = heading - 90.0 + end + elseif doorSide:lower() == "right" then + doorHandle = FinanceOffice3.Safe.GetDoorHandle(FinanceOffice3.currentSafeDoors.hashR) + heading = heading - 180 + + if open then + heading = heading + 90.0 + end + end + + if doorHandle == 0 then + Citizen.Trace("[bob74_ipl] Warning: " .. doorSide .. " safe door handle is 0") + return + end + + SetEntityHeading(doorHandle, heading) + end, + + -- /!\ handle changes whenever the interior is refreshed /!\ + GetDoorHandle = function(doorHash) + local timeout = 4 + local doorHandle = GetClosestObjectOfType(FinanceOffice3.Safe.Position.x, FinanceOffice3.Safe.Position.y, FinanceOffice3.Safe.Position.z, 5.0, doorHash, false, false, false) + + while doorHandle == 0 do + Citizen.Wait(25) + + doorHandle = GetClosestObjectOfType(FinanceOffice3.Safe.Position.x, FinanceOffice3.Safe.Position.y, FinanceOffice3.Safe.Position.z, 5.0, doorHash, false, false, false) + timeout = timeout - 1 + + if timeout <= 0 then + break + end + end + + return doorHandle + end + }, + Swag = { + Cash = { + A = "cash_set_01", + B = "cash_set_02", + C = "cash_set_03", + D = "cash_set_04", + E = "cash_set_05", + F = "cash_set_06", + G = "cash_set_07", + H = "cash_set_08", + I = "cash_set_09", + J = "cash_set_10", + K = "cash_set_11", + L = "cash_set_12", + M = "cash_set_13", + N = "cash_set_14", + O = "cash_set_15", + P = "cash_set_16", + Q = "cash_set_17", + R = "cash_set_18", + S = "cash_set_19", + T = "cash_set_20", + U = "cash_set_21", + V = "cash_set_22", + W = "cash_set_23", + X = "cash_set_24" + }, + BoozeCigs = { + A = "swag_booze_cigs", + B = "swag_booze_cigs2", + C = "swag_booze_cigs3" + }, + Counterfeit = { + A = "swag_counterfeit", + B = "swag_counterfeit2", + C = "swag_counterfeit3" + }, + DrugBags = { + A = "swag_drugbags", + B = "swag_drugbags2", + C = "swag_drugbags3" + }, + DrugStatue = { + A = "swag_drugstatue", + B = "swag_drugstatue2", + C = "swag_drugstatue3" + }, + Electronic = { + A = "swag_electronic", + B = "swag_electronic2", + C = "swag_electronic3" + }, + FurCoats = { + A = "swag_furcoats", + B = "swag_furcoats2", + C = "swag_furcoats3" + }, + Gems = { + A = "swag_gems", + B = "swag_gems2", + C = "swag_gems3" + }, + Guns = { + A = "swag_guns", + B = "swag_guns2", + C = "swag_guns3" + }, + Ivory = { + A = "swag_ivory", + B = "swag_ivory2", + C = "swag_ivory3" + }, + Jewel = { + A = "swag_jewelwatch", + B = "swag_jewelwatch2", + C = "swag_jewelwatch3" + }, + Med = { + A = "swag_med", + B = "swag_med2", + C = "swag_med3" + }, + Painting = { + A = "swag_art", + B = "swag_art2", + C = "swag_art3" + }, + Pills = { + A = "swag_pills", + B = "swag_pills2", + C = "swag_pills3" + }, + Silver = { + A = "swag_silver", + B = "swag_silver2", + C = "swag_silver3" + }, + + Enable = function(details, state, refresh) + SetIplPropState(FinanceOffice3.currentInteriorId, details, state, refresh) + end + }, + Chairs = { + off = "", + on = "office_chairs", + + Set = function(chairs, refresh) + FinanceOffice3.Chairs.Clear(false) + + if chairs ~= nil then + SetIplPropState(FinanceOffice3.currentInteriorId, chairs, true, refresh) + else + if refresh then + RefreshInterior(FinanceOffice3.currentInteriorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(FinanceOffice3.currentInteriorId, FinanceOffice3.Chairs.on, false, refresh) + end + }, + Booze = { + off = "", + on = "office_booze", + + Set = function(booze, refresh) + FinanceOffice3.Booze.Clear(false) + + if booze ~= nil then + SetIplPropState(FinanceOffice3.currentInteriorId, booze, true, refresh) + else + if refresh then + RefreshInterior(FinanceOffice3.currentInteriorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(FinanceOffice3.currentInteriorId, FinanceOffice3.Booze.on, false, refresh) + end + }, + + LoadDefault = function() + FinanceOffice3.Style.Set(FinanceOffice3.Style.Theme.conservative) + FinanceOffice3.Chairs.Set(FinanceOffice3.Chairs.on, true) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_finance/office4.lua b/resources/[standalone]/bob74_ipl/dlc_finance/office4.lua new file mode 100644 index 0000000..32e2706 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_finance/office4.lua @@ -0,0 +1,326 @@ +-- Office 4: -1392.667, -480.4736, 72.04217 (Maze Bank West) +exports('GetFinanceOffice4Object', function() + return FinanceOffice4 +end) + +FinanceOffice4 = { + currentInteriorId = -1, + currentSafeDoors = { + hashL = "", + hashR = "" + }, + + Style = { + Theme = { + warm = { + interiorId = 243201, + ipl = "ex_sm_15_office_01a", + safe = "ex_prop_safedoor_office1a" + }, + classical = { + interiorId = 243457, + ipl = "ex_sm_15_office_01b", + safe = "ex_prop_safedoor_office1b" + }, + vintage = { + interiorId = 243713, + ipl = "ex_sm_15_office_01c", + safe = "ex_prop_safedoor_office1c" + }, + contrast = { + interiorId = 243969, + ipl = "ex_sm_15_office_02a", + safe = "ex_prop_safedoor_office2a" + }, + rich = { + interiorId = 244225, + ipl = "ex_sm_15_office_02b", + safe = "ex_prop_safedoor_office2a" + }, + cool = { + interiorId = 244481, + ipl = "ex_sm_15_office_02c", + safe = "ex_prop_safedoor_office2a" + }, + ice = { + interiorId = 244737, + ipl = "ex_sm_15_office_03a", + safe = "ex_prop_safedoor_office3a" + }, + conservative = { + interiorId = 244993, + ipl = "ex_sm_15_office_03b", + safe = "ex_prop_safedoor_office3a" + }, + polished = { + interiorId = 245249, + ipl = "ex_sm_15_office_03c", + safe = "ex_prop_safedoor_office3c" + } + }, + Set = function(style, refresh) + if refresh == nil then + refresh = false + end + + if type(style) == "table" then + FinanceOffice4.Style.Clear() + FinanceOffice4.currentInteriorId = style.interiorId + FinanceOffice4.currentSafeDoors = { + hashL = GetHashKey(style.safe .. "_l"), + hashR = GetHashKey(style.safe .. "_r") + } + + EnableIpl(style.ipl, true) + + if refresh then + RefreshInterior(style.interiorId) + end + end + end, + Clear = function() + for themeKey, themeValue in pairs(FinanceOffice4.Style.Theme) do + for swagKey, swagValue in pairs(FinanceOffice4.Swag) do + if type(swagValue) == "table" then + SetIplPropState(themeValue.interiorId, { + swagValue.A, + swagValue.B, + swagValue.C + }, false) + end + end + + SetIplPropState(themeValue.interiorId, "office_chairs", false, false) + SetIplPropState(themeValue.interiorId, "office_booze", false, true) + + FinanceOffice4.currentSafeDoors = { + hashL = 0, + hashR = 0 + } + + EnableIpl(themeValue.ipl, false) + end + end + }, + Safe = { + doorHeadingL = 188.0, -- Only need the heading of the Left door to get the Right ones + Position = vector3(-1372.905, -462.08, 72.05), -- Approximately between the two doors + -- These values are checked from "doorHandler.lua" and + isLeftDoorOpen = false, + isRightDoorOpen = false, + + -- Safe door API + Open = function(doorSide) + if doorSide:lower() == "left" then + FinanceOffice4.Safe.isLeftDoorOpen = true + elseif doorSide:lower() == "right" then + FinanceOffice4.Safe.isRightDoorOpen = true + else + Citizen.Trace("[bob74_ipl] Warning: " .. doorSide .. " is not a correct value. Valid values are:") + Citizen.Trace("left right") + end + end, + Close = function(doorSide) + if doorSide:lower() == "left" then + FinanceOffice4.Safe.isLeftDoorOpen = false + elseif doorSide:lower() == "right" then + FinanceOffice4.Safe.isRightDoorOpen = false + else + Citizen.Trace("[bob74_ipl] Warning: " .. doorSide .. " is not a correct value. Valid values are:") + Citizen.Trace("left right") + end + end, + + -- Internal use only + SetDoorState = function(doorSide, open) + local doorHandle = 0 + local heading = FinanceOffice4.Safe.doorHeadingL + + if doorSide:lower() == "left" then + doorHandle = FinanceOffice4.Safe.GetDoorHandle(FinanceOffice4.currentSafeDoors.hashL) + + if open then + heading = heading - 90.0 + end + elseif doorSide:lower() == "right" then + doorHandle = FinanceOffice4.Safe.GetDoorHandle(FinanceOffice4.currentSafeDoors.hashR) + heading = heading - 180 + + if open then + heading = heading + 90.0 + end + end + + if doorHandle == 0 then + Citizen.Trace("[bob74_ipl] Warning: " .. doorSide .. " safe door handle is 0") + return + end + + SetEntityHeading(doorHandle, heading) + end, + + -- /!\ handle changes whenever the interior is refreshed /!\ + GetDoorHandle = function(doorHash) + local timeout = 4 + local doorHandle = GetClosestObjectOfType(FinanceOffice4.Safe.Position.x, FinanceOffice4.Safe.Position.y, FinanceOffice4.Safe.Position.z, 5.0, doorHash, false, false, false) + + while doorHandle == 0 do + Citizen.Wait(25) + + doorHandle = GetClosestObjectOfType(FinanceOffice4.Safe.Position.x, FinanceOffice4.Safe.Position.y, FinanceOffice4.Safe.Position.z, 5.0, doorHash, false, false, false) + timeout = timeout - 1 + + if timeout <= 0 then + break + end + end + + return doorHandle + end + }, + Swag = { + Cash = { + A = "cash_set_01", + B = "cash_set_02", + C = "cash_set_03", + D = "cash_set_04", + E = "cash_set_05", + F = "cash_set_06", + G = "cash_set_07", + H = "cash_set_08", + I = "cash_set_09", + J = "cash_set_10", + K = "cash_set_11", + L = "cash_set_12", + M = "cash_set_13", + N = "cash_set_14", + O = "cash_set_15", + P = "cash_set_16", + Q = "cash_set_17", + R = "cash_set_18", + S = "cash_set_19", + T = "cash_set_20", + U = "cash_set_21", + V = "cash_set_22", + W = "cash_set_23", + X = "cash_set_24" + }, + BoozeCigs = { + A = "swag_booze_cigs", + B = "swag_booze_cigs2", + C = "swag_booze_cigs3" + }, + Counterfeit = { + A = "swag_counterfeit", + B = "swag_counterfeit2", + C = "swag_counterfeit3" + }, + DrugBags = { + A = "swag_drugbags", + B = "swag_drugbags2", + C = "swag_drugbags3" + }, + DrugStatue = { + A = "swag_drugstatue", + B = "swag_drugstatue2", + C = "swag_drugstatue3" + }, + Electronic = { + A = "swag_electronic", + B = "swag_electronic2", + C = "swag_electronic3" + }, + FurCoats = { + A = "swag_furcoats", + B = "swag_furcoats2", + C = "swag_furcoats3" + }, + Gems = { + A = "swag_gems", + B = "swag_gems2", + C = "swag_gems3" + }, + Guns = { + A = "swag_guns", + B = "swag_guns2", + C = "swag_guns3" + }, + Ivory = { + A = "swag_ivory", + B = "swag_ivory2", + C = "swag_ivory3" + }, + Jewel = { + A = "swag_jewelwatch", + B = "swag_jewelwatch2", + C = "swag_jewelwatch3" + }, + Med = { + A = "swag_med", + B = "swag_med2", + C = "swag_med3" + }, + Painting = { + A = "swag_art", + B = "swag_art2", + C = "swag_art3" + }, + Pills = { + A = "swag_pills", + B = "swag_pills2", + C = "swag_pills3" + }, + Silver = { + A = "swag_silver", + B = "swag_silver2", + C = "swag_silver3" + }, + + Enable = function(details, state, refresh) + SetIplPropState(FinanceOffice4.currentInteriorId, details, state, refresh) + end + }, + Chairs = { + off = "", + on = "office_chairs", + + Set = function(chairs, refresh) + FinanceOffice4.Chairs.Clear(false) + + if chairs ~= nil then + SetIplPropState(FinanceOffice4.currentInteriorId, chairs, true, refresh) + else + if refresh then + RefreshInterior(FinanceOffice4.currentInteriorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(FinanceOffice4.currentInteriorId, FinanceOffice4.Chairs.on, false, refresh) + end + }, + Booze = { + off = "", + on = "office_booze", + + Set = function(booze, refresh) + FinanceOffice4.Booze.Clear(false) + + if booze ~= nil then + SetIplPropState(FinanceOffice4.currentInteriorId, booze, true, refresh) + else + if refresh then + RefreshInterior(FinanceOffice4.currentInteriorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(FinanceOffice4.currentInteriorId, FinanceOffice4.Booze.on, false, refresh) + end + }, + + LoadDefault = function() + FinanceOffice4.Style.Set(FinanceOffice4.Style.Theme.cool) + FinanceOffice4.Chairs.Set(FinanceOffice4.Chairs.on, true) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_finance/organization.lua b/resources/[standalone]/bob74_ipl/dlc_finance/organization.lua new file mode 100644 index 0000000..a310e3d --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_finance/organization.lua @@ -0,0 +1,162 @@ +exports('GetFinanceOrganizationObject', function() + return FinanceOrganization +end) + +AddEventHandler('onClientResourceStop', function(res) + if GetCurrentResourceName() ~= res then + return + end + + FinanceOrganization.Office.Clear() +end) + +FinanceOrganization = { + Name = { + Colors = { + black = 0, + gray = 1, + yellow = 2, + blue = 3, + orange = 5, + red = 6, + green = 7 + }, + Fonts = { + font1 = 0, + font2 = 1, + font3 = 2, + font4 = 3, + font5 = 4, + font6 = 5, + font7 = 6, + font8 = 7, + font9 = 8, + font10 = 9, + font11 = 10, + font12 = 11, + font13 = 12 + }, + Style = { + normal = 3, + light = 1 + }, + name = "", + style = 0, + color = 0, + font = 0, + + Set = function(name, style, color, font) + FinanceOrganization.Name.name = name + FinanceOrganization.Name.style = style + FinanceOrganization.Name.color = color + FinanceOrganization.Name.font = font + FinanceOrganization.Office.stage = 0 + end + }, + Office = { + needToLoad = false, + loaded = false, + target = "prop_ex_office_text", + prop = "ex_prop_ex_office_text", + renderId = -1, + movieId = -1, + stage = 0, + + Init = function() + DrawEmptyRect(FinanceOrganization.Office.target, FinanceOrganization.Office.prop) + end, + Enable = function(state) + FinanceOrganization.Office.needToLoad = state + end, + Clear = function() + if IsNamedRendertargetRegistered(FinanceOrganization.Office.target) then + ReleaseNamedRendertarget(GetHashKey(FinanceOrganization.Office.target)) + end + + if HasNamedScaleformMovieLoaded(FinanceOrganization.Office.movieId) then + SetScaleformMovieAsNoLongerNeeded(FinanceOrganization.Office.movieId) + end + + FinanceOrganization.Office.renderId = -1 + FinanceOrganization.Office.movieId = -1 + FinanceOrganization.Office.stage = 0 + end + } +} + +Citizen.CreateThread(function() + FinanceOrganization.Office.Init() + + while true do + if FinanceOrganization.Office.needToLoad then + -- Need to load + if Global.FinanceOffices.isInsideOffice1 or Global.FinanceOffices.isInsideOffice2 or Global.FinanceOffices.isInsideOffice3 or Global.FinanceOffices.isInsideOffice4 then + DrawOrganizationName(FinanceOrganization.Name.name, FinanceOrganization.Name.style, FinanceOrganization.Name.color, FinanceOrganization.Name.font) + + FinanceOrganization.Office.loaded = true + + Citizen.Wait(0) -- We need to call all this every frame + else + Citizen.Wait(1000) -- We are not inside an office + end + elseif FinanceOrganization.Office.loaded then + -- Loaded and need to unload + FinanceOrganization.Office.Clear() + FinanceOrganization.Office.loaded = false + + Citizen.Wait(1000) -- We can wait longer when we don't need to display text + else + -- Not needed to load + Citizen.Wait(1000) -- We can wait longer when we don't need to display text + end + end +end) + +function DrawOrganizationName(name, style, color, font) + if FinanceOrganization.Office.stage == 0 then + if FinanceOrganization.Office.renderId == -1 then + FinanceOrganization.Office.renderId = CreateNamedRenderTargetForModel(FinanceOrganization.Office.target, FinanceOrganization.Office.prop) + end + + if FinanceOrganization.Office.movieId == -1 then + FinanceOrganization.Office.movieId = RequestScaleformMovie("ORGANISATION_NAME") + end + + FinanceOrganization.Office.stage = 1 + elseif FinanceOrganization.Office.stage == 1 then + if HasScaleformMovieLoaded(FinanceOrganization.Office.movieId) then + local parameters = { + p0 = { + type = "string", + value = name + }, + p1 = { + type = "int", + value = style + }, + p2 = { + type = "int", + value = color + }, + p3 = { + type = "int", + value = font + } + } + + SetupScaleform(FinanceOrganization.Office.movieId, "SET_ORGANISATION_NAME", parameters) + + FinanceOrganization.Office.stage = 2 + else + FinanceOrganization.Office.movieId = RequestScaleformMovie("ORGANISATION_NAME") + end + elseif FinanceOrganization.Office.stage == 2 then + SetTextRenderId(FinanceOrganization.Office.renderId) + SetScriptGfxDrawOrder(4) + SetScriptGfxDrawBehindPausemenu(true) + SetScriptGfxAlign(73, 73) + DrawScaleformMovie(FinanceOrganization.Office.movieId, 0.196, 0.245, 0.46, 0.66, 255, 255, 255, 255, 0) + SetTextRenderId(GetDefaultScriptRendertargetRenderId()) + ResetScriptGfxAlign() + end +end diff --git a/resources/[standalone]/bob74_ipl/dlc_gunrunning/bunkers.lua b/resources/[standalone]/bob74_ipl/dlc_gunrunning/bunkers.lua new file mode 100644 index 0000000..c68866e --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_gunrunning/bunkers.lua @@ -0,0 +1,155 @@ +exports('GetGunrunningBunkerObject', function() + return GunrunningBunker +end) + +GunrunningBunker = { + interiorId = 258561, + + Ipl = { + Interior = { + ipl = "gr_grdlc_interior_placement_interior_1_grdlc_int_02_milo_", + + -- Load interiors IPLs. + Load = function() + EnableIpl(GunrunningBunker.Ipl.Interior.ipl, true) + end, + -- Remove interiors IPLs. + Remove = function() + EnableIpl(GunrunningBunker.Ipl.Interior.ipl, false) + end + }, + Exterior = { + ipl = { + "gr_case0_bunkerclosed", -- Desert: 848.6175, 2996.567, 45.81612 + "gr_case1_bunkerclosed",-- SmokeTree: 2126.785, 3335.04, 48.21422 + "gr_case2_bunkerclosed", -- Scrapyard: 2493.654, 3140.399, 51.28789 + "gr_case3_bunkerclosed", -- Oilfields: 481.0465, 2995.135, 43.96672 + "gr_case4_bunkerclosed", -- RatonCanyon: -391.3216, 4363.728, 58.65862 + "gr_case5_bunkerclosed", -- Grapeseed: 1823.961, 4708.14, 42.4991 + "gr_case6_bunkerclosed", -- Farmhouse: 1570.372, 2254.549, 78.89397 + "gr_case7_bunkerclosed", -- Paletto: -783.0755, 5934.686, 24.31475 + "gr_case9_bunkerclosed", -- Route68: 24.43542, 2959.705, 58.35517 + "gr_case10_bunkerclosed", -- Zancudo: -3058.714, 3329.19, 12.5844 + "gr_case11_bunkerclosed" -- Great Ocean Highway: -3180.466, 1374.192, 19.9597 + }, + + -- Load exteriors IPLs. + Load = function() + EnableIpl(GunrunningBunker.Ipl.Exterior.ipl, true) + end, + -- Remove exteriors IPLs. + Remove = function() + EnableIpl(GunrunningBunker.Ipl.Exterior.ipl, false) + end + } + }, + Style = { + default = "Bunker_Style_A", + blue = "Bunker_Style_B", + yellow = "Bunker_Style_C", + + -- Set the style (color) of the bunker. + -- style: Wall color (values: GunrunningBunker.Style.default / GunrunningBunker.Style.blue / GunrunningBunker.Style.yellow) + -- refresh: Reload the whole interior (values: true / false) + Set = function(style, refresh) + GunrunningBunker.Style.Clear(false) + + SetIplPropState(GunrunningBunker.interiorId, style, true, refresh) + end, + -- Removes the style. + -- refresh: Reload the whole interior (values: true / false) + Clear = function(refresh) + SetIplPropState(GunrunningBunker.interiorId, { + GunrunningBunker.Style.default, + GunrunningBunker.Style.blue, + GunrunningBunker.Style.yellow + }, false, refresh) + end + }, + Tier = { + default = "standard_bunker_set", + upgrade = "upgrade_bunker_set", + + -- Set the tier (quality) of the bunker. + -- tier: Upgrade state (values: GunrunningBunker.Tier.default / GunrunningBunker.Tier.upgrade) + -- refresh: Reload the whole interior (values: true / false) + Set = function(tier, refresh) + GunrunningBunker.Tier.Clear(false) + + SetIplPropState(GunrunningBunker.interiorId, tier, true, refresh) + end, + -- Removes the tier. + -- refresh: Reload the whole interior (values: true / false) + Clear = function(refresh) + SetIplPropState(GunrunningBunker.interiorId, { + GunrunningBunker.Tier.default, + GunrunningBunker.Tier.upgrade + }, false, refresh) + end + }, + Security = { + noEntryGate = "", + default = "standard_security_set", + upgrade = "security_upgrade", + + -- Set the security stage of the bunker. + -- security: Upgrade state (values: GunrunningBunker.Security.default / GunrunningBunker.Security.upgrade) + -- refresh: Reload the whole interior (values: true / false) + Set = function(security, refresh) + GunrunningBunker.Security.Clear(false) + + if security ~= "" then + SetIplPropState(GunrunningBunker.interiorId, security, true, refresh) + else + if refresh then + RefreshInterior(GunrunningBunker.interiorId) + end + end + end, + -- Removes the security. + -- refresh: Reload the whole interior (values: true / false) + Clear = function(refresh) + SetIplPropState(GunrunningBunker.interiorId, { + GunrunningBunker.Security.default, + GunrunningBunker.Security.upgrade + }, false, refresh) + end + }, + Details = { + office = "Office_Upgrade_set", -- Office interior + officeLocked = "Office_blocker_set", -- Metal door blocking access to the office + locker = "gun_locker_upgrade", -- Locker next to the office door + rangeLights = "gun_range_lights", -- Lights next to the shooting range + rangeWall = "gun_wall_blocker", -- Wall blocking access to the shooting range + rangeLocked = "gun_range_blocker_set", -- Metal door blocking access to the shooting range + schematics = "Gun_schematic_set", -- Gun schematic on the table and whiteboard + + -- Enable or disable a detail. + -- details: Prop to enable or disable (values: GunrunningBunker.Details.office / GunrunningBunker.Details.officeLocked / GunrunningBunker.Details.locker...) + -- state: Enable or Disable (values: true / false) + -- refresh: Reload the whole interior (values: true / false) + Enable = function(details, state, refresh) + SetIplPropState(GunrunningBunker.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + GunrunningBunker.Ipl.Interior.Load() + GunrunningBunker.Ipl.Exterior.Load() + + GunrunningBunker.Style.Set(GunrunningBunker.Style.default) + GunrunningBunker.Tier.Set(GunrunningBunker.Tier.default) + GunrunningBunker.Security.Set(GunrunningBunker.Security.default) + + GunrunningBunker.Details.Enable(GunrunningBunker.Details.office, true) + GunrunningBunker.Details.Enable(GunrunningBunker.Details.officeLocked, false) + GunrunningBunker.Details.Enable(GunrunningBunker.Details.locker, true) + GunrunningBunker.Details.Enable(GunrunningBunker.Details.rangeLights, true) + GunrunningBunker.Details.Enable(GunrunningBunker.Details.rangeWall, false) + GunrunningBunker.Details.Enable(GunrunningBunker.Details.rangeLocked, false) + GunrunningBunker.Details.Enable(GunrunningBunker.Details.schematics, false) + + -- Must be called in order to spawn or remove the props + RefreshInterior(GunrunningBunker.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_gunrunning/yacht.lua b/resources/[standalone]/bob74_ipl/dlc_gunrunning/yacht.lua new file mode 100644 index 0000000..c34ce5c --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_gunrunning/yacht.lua @@ -0,0 +1,57 @@ +-- Gunrunning Yacht: -1363.724, 6734.108, 2.44598 +exports('GetGunrunningYachtObject', function() + return GunrunningYacht +end) + +GunrunningYacht = { + ipl = { + "gr_heist_yacht2", + "gr_heist_yacht2_bar", + "gr_heist_yacht2_bar_lod", + "gr_heist_yacht2_bedrm", + "gr_heist_yacht2_bedrm_lod", + "gr_heist_yacht2_bridge", + "gr_heist_yacht2_bridge_lod", + "gr_heist_yacht2_enginrm", + "gr_heist_yacht2_enginrm_lod", + "gr_heist_yacht2_lod", + "gr_heist_yacht2_lounge", + "gr_heist_yacht2_lounge_lod", + "gr_heist_yacht2_slod", + }, + + Enable = function(state) + EnableIpl(GunrunningYacht.ipl, state) + end, + Water = { + modelHash = `apa_mp_apa_yacht_jacuzzi_ripple1`, + + Enable = function(state) + local handle = GetClosestObjectOfType(-1369.0, 6736.0, 5.40, 5.0, GunrunningYacht.Water.modelHash, false, false, false) + + if state then + -- Enable + if handle == 0 then + RequestModel(GunrunningYacht.Water.modelHash) + while not HasModelLoaded(GunrunningYacht.Water.modelHash) do + Citizen.Wait(0) + end + + local water = CreateObjectNoOffset(GunrunningYacht.Water.modelHash, -1369.0, 6736.0, 5.40, false, false, false) + + SetEntityAsMissionEntity(water, false, false) + end + else + -- Disable + if handle ~= 0 then + SetEntityAsMissionEntity(handle, false, false) + DeleteEntity(handle) + end + end + end + }, + + LoadDefault = function() + GunrunningYacht.Enable(true) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_heists/carrier.lua b/resources/[standalone]/bob74_ipl/dlc_heists/carrier.lua new file mode 100644 index 0000000..22326ac --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_heists/carrier.lua @@ -0,0 +1,28 @@ +-- Heist Carrier: 3082.3117 -4717.1191 15.2622 +exports('GetHeistCarrierObject', function() + return HeistCarrier +end) + +HeistCarrier = { + ipl = { + "hei_carrier", + "hei_carrier_int1", + "hei_carrier_int1_lod", + "hei_carrier_int2", + "hei_carrier_int2_lod", + "hei_carrier_int3", + "hei_carrier_int3_lod", + "hei_carrier_int4", + "hei_carrier_int4_lod", + "hei_carrier_int5", + "hei_carrier_int5_lod", + "hei_carrier_int6", + "hei_carrier_int6_lod", + "hei_carrier_lod", + "hei_carrier_slod" + }, + + Enable = function(state) + EnableIpl(HeistCarrier.ipl, state) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_heists/yacht.lua b/resources/[standalone]/bob74_ipl/dlc_heists/yacht.lua new file mode 100644 index 0000000..71af6cd --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_heists/yacht.lua @@ -0,0 +1,57 @@ +-- Heist Yatch: -2043.974,-1031.582, 11.981 +exports('GetHeistYachtObject', function() + return HeistYacht +end) + +HeistYacht = { + ipl = { + "hei_yacht_heist", + "hei_yacht_heist_bar", + "hei_yacht_heist_bar_lod", + "hei_yacht_heist_bedrm", + "hei_yacht_heist_bedrm_lod", + "hei_yacht_heist_bridge", + "hei_yacht_heist_bridge_lod", + "hei_yacht_heist_enginrm", + "hei_yacht_heist_enginrm_lod", + "hei_yacht_heist_lod", + "hei_yacht_heist_lounge", + "hei_yacht_heist_lounge_lod", + "hei_yacht_heist_slod" + }, + + Enable = function(state) + EnableIpl(HeistYacht.ipl, state) + end, + Water = { + modelHash = `apa_mp_apa_yacht_jacuzzi_ripple1`, + + Enable = function(state) + local handle = GetClosestObjectOfType(-2023.773, -1038.0, 5.40, 5.0, HeistYacht.Water.modelHash, false, false, false) + + if state then + -- Enable + if handle == 0 then + RequestModel(HeistYacht.Water.modelHash) + while not HasModelLoaded(HeistYacht.Water.modelHash) do + Citizen.Wait(0) + end + + local water = CreateObjectNoOffset(HeistYacht.Water.modelHash, -2023.773, -1038.0, 5.40, false, false, false) + + SetEntityAsMissionEntity(water, false, false) + end + else + -- Disable + if handle ~= 0 then + SetEntityAsMissionEntity(handle, false, false) + DeleteEntity(handle) + end + end + end + }, + + LoadDefault = function() + HeistYacht.Enable(true) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_high_life/apartment1.lua b/resources/[standalone]/bob74_ipl/dlc_high_life/apartment1.lua new file mode 100644 index 0000000..84a3b42 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_high_life/apartment1.lua @@ -0,0 +1,69 @@ +-- Apartment 1: -1462.28100000, -539.62760000, 72.44434000 +exports('GetHLApartment1Object', function() + return HLApartment1 +end) + +HLApartment1 = { + interiorId = 145921, + + Ipl = { + Interior = { + ipl = "mpbusiness_int_placement_interior_v_mp_apt_h_01_milo_", + + Load = function() + EnableIpl(HLApartment1.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(HLApartment1.Ipl.Interior.ipl, false) + end + } + }, + Strip = { + A = "Apart_Hi_Strip_A", + B = "Apart_Hi_Strip_B", + C = "Apart_Hi_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(HLApartment1.interiorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Hi_Booze_A", + B = "Apart_Hi_Booze_B", + C = "Apart_Hi_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(HLApartment1.interiorId, details, state, refresh) + end + }, + Smoke = { + A = "Apart_Hi_Smokes_A", + B = "Apart_Hi_Smokes_B", + C = "Apart_Hi_Smokes_C", + + Enable = function(details, state, refresh) + SetIplPropState(HLApartment1.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + HLApartment1.Ipl.Interior.Load() + HLApartment1.Strip.Enable({ + HLApartment1.Strip.A, + HLApartment1.Strip.B, + HLApartment1.Strip.C + }, false) + HLApartment1.Booze.Enable({ + HLApartment1.Booze.A, + HLApartment1.Booze.B, + HLApartment1.Booze.C + }, false) + HLApartment1.Smoke.Enable({ + HLApartment1.Smoke.A, + HLApartment1.Smoke.B, + HLApartment1.Smoke.C + }, false) + + RefreshInterior(HLApartment1.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_high_life/apartment2.lua b/resources/[standalone]/bob74_ipl/dlc_high_life/apartment2.lua new file mode 100644 index 0000000..d92e1ce --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_high_life/apartment2.lua @@ -0,0 +1,69 @@ +-- Apartment 2: -914.90260000, -374.87310000, 112.6748 +exports('GetHLApartment2Object', function() + return HLApartment2 +end) + +HLApartment2 = { + interiorId = 146177, + + Ipl = { + Interior = { + ipl = "mpbusiness_int_placement_interior_v_mp_apt_h_01_milo__1", + + Load = function() + EnableIpl(HLApartment2.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(HLApartment2.Ipl.Interior.ipl, false) + end + }, + }, + Strip = { + A = "Apart_Hi_Strip_A", + B = "Apart_Hi_Strip_B", + C = "Apart_Hi_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(HLApartment2.interiorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Hi_Booze_A", + B = "Apart_Hi_Booze_B", + C = "Apart_Hi_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(HLApartment2.interiorId, details, state, refresh) + end + }, + Smoke = { + A = "Apart_Hi_Smokes_A", + B = "Apart_Hi_Smokes_B", + C = "Apart_Hi_Smokes_C", + + Enable = function(details, state, refresh) + SetIplPropState(HLApartment2.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + HLApartment2.Ipl.Interior.Load() + HLApartment2.Strip.Enable({ + HLApartment2.Strip.A, + HLApartment2.Strip.B, + HLApartment2.Strip.C + }, false) + HLApartment2.Booze.Enable({ + HLApartment2.Booze.A, + HLApartment2.Booze.B, + HLApartment2.Booze.C + }, false) + HLApartment2.Smoke.Enable({ + HLApartment2.Smoke.A, + HLApartment2.Smoke.B, + HLApartment2.Smoke.C + }, false) + + RefreshInterior(HLApartment2.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_high_life/apartment3.lua b/resources/[standalone]/bob74_ipl/dlc_high_life/apartment3.lua new file mode 100644 index 0000000..533ffe4 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_high_life/apartment3.lua @@ -0,0 +1,69 @@ +-- Apartment 3: -609.56690000, 51.28212000, 96.60023000 +exports('GetHLApartment3Object', function() + return HLApartment3 +end) + +HLApartment3 = { + interiorId = 146689, + + Ipl = { + Interior = { + ipl = "mpbusiness_int_placement_interior_v_mp_apt_h_01_milo__2", + + Load = function() + EnableIpl(HLApartment3.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(HLApartment3.Ipl.Interior.ipl, false) + end + } + }, + Strip = { + A = "Apart_Hi_Strip_A", + B = "Apart_Hi_Strip_B", + C = "Apart_Hi_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(HLApartment3.interiorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Hi_Booze_A", + B = "Apart_Hi_Booze_B", + C = "Apart_Hi_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(HLApartment3.interiorId, details, state, refresh) + end + }, + Smoke = { + A = "Apart_Hi_Smokes_A", + B = "Apart_Hi_Smokes_B", + C = "Apart_Hi_Smokes_C", + + Enable = function(details, state, refresh) + SetIplPropState(HLApartment3.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + HLApartment3.Ipl.Interior.Load() + HLApartment3.Strip.Enable({ + HLApartment3.Strip.A, + HLApartment3.Strip.B, + HLApartment3.Strip.C + }, false) + HLApartment3.Booze.Enable({ + HLApartment3.Booze.A, + HLApartment3.Booze.B, + HLApartment3.Booze.C + }, false) + HLApartment3.Smoke.Enable({ + HLApartment3.Smoke.A, + HLApartment3.Smoke.B, + HLApartment3.Smoke.C + }, false) + + RefreshInterior(HLApartment3.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_high_life/apartment4.lua b/resources/[standalone]/bob74_ipl/dlc_high_life/apartment4.lua new file mode 100644 index 0000000..cc44978 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_high_life/apartment4.lua @@ -0,0 +1,69 @@ +-- Apartment 4: -778.50610000, 331.31600000, 210.39720 +exports('GetHLApartment4Object', function() + return HLApartment4 +end) + +HLApartment4 = { + interiorId = 146945, + + Ipl = { + Interior = { + ipl = "mpbusiness_int_placement_interior_v_mp_apt_h_01_milo__3", + + Load = function() + EnableIpl(HLApartment4.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(HLApartment4.Ipl.Interior.ipl, false) + end + }, + }, + Strip = { + A = "Apart_Hi_Strip_A", + B = "Apart_Hi_Strip_B", + C = "Apart_Hi_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(HLApartment4.interiorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Hi_Booze_A", + B = "Apart_Hi_Booze_B", + C = "Apart_Hi_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(HLApartment4.interiorId, details, state, refresh) + end + }, + Smoke = { + A = "Apart_Hi_Smokes_A", + B = "Apart_Hi_Smokes_B", + C = "Apart_Hi_Smokes_C", + + Enable = function(details, state, refresh) + SetIplPropState(HLApartment4.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + HLApartment4.Ipl.Interior.Load() + HLApartment4.Strip.Enable({ + HLApartment4.Strip.A, + HLApartment4.Strip.B, + HLApartment4.Strip.C + }, false) + HLApartment4.Booze.Enable({ + HLApartment4.Booze.A, + HLApartment4.Booze.B, + HLApartment4.Booze.C + }, false) + HLApartment4.Smoke.Enable({ + HLApartment4.Smoke.A, + HLApartment4.Smoke.B, + HLApartment4.Smoke.C + }, false) + + RefreshInterior(HLApartment4.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_high_life/apartment5.lua b/resources/[standalone]/bob74_ipl/dlc_high_life/apartment5.lua new file mode 100644 index 0000000..fa690a4 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_high_life/apartment5.lua @@ -0,0 +1,69 @@ +-- Apartment 5: -22.61353000, -590.14320000, 78.430910 +exports('GetHLApartment5Object', function() + return HLApartment5 +end) + +HLApartment5 = { + interiorId = 147201, + + Ipl = { + Interior = { + ipl = "mpbusiness_int_placement_interior_v_mp_apt_h_01_milo__4", + + Load = function() + EnableIpl(HLApartment5.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(HLApartment5.Ipl.Interior.ipl, false) + end + }, + }, + Strip = { + A = "Apart_Hi_Strip_A", + B = "Apart_Hi_Strip_B", + C = "Apart_Hi_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(HLApartment5.interiorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Hi_Booze_A", + B = "Apart_Hi_Booze_B", + C = "Apart_Hi_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(HLApartment5.interiorId, details, state, refresh) + end + }, + Smoke = { + A = "Apart_Hi_Smokes_A", + B = "Apart_Hi_Smokes_B", + C = "Apart_Hi_Smokes_C", + + Enable = function(details, state, refresh) + SetIplPropState(HLApartment5.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + HLApartment5.Ipl.Interior.Load() + HLApartment5.Strip.Enable({ + HLApartment5.Strip.A, + HLApartment5.Strip.B, + HLApartment5.Strip.C + }, false) + HLApartment5.Booze.Enable({ + HLApartment5.Booze.A, + HLApartment5.Booze.B, + HLApartment5.Booze.C + }, false) + HLApartment5.Smoke.Enable({ + HLApartment5.Smoke.A, + HLApartment5.Smoke.B, + HLApartment5.Smoke.C + }, false) + + RefreshInterior(HLApartment5.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_high_life/apartment6.lua b/resources/[standalone]/bob74_ipl/dlc_high_life/apartment6.lua new file mode 100644 index 0000000..9058416 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_high_life/apartment6.lua @@ -0,0 +1,69 @@ +-- Apartment 6: -609.56690000, 51.28212000, -183.98080 +exports('GetHLApartment6Object', function() + return HLApartment6 +end) + +HLApartment6 = { + interiorId = 147457, + + Ipl = { + Interior = { + ipl = "mpbusiness_int_placement_interior_v_mp_apt_h_01_milo__5", + + Load = function() + EnableIpl(HLApartment6.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(HLApartment6.Ipl.Interior.ipl, false) + end + } + }, + Strip = { + A = "Apart_Hi_Strip_A", + B = "Apart_Hi_Strip_B", + C = "Apart_Hi_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(HLApartment6.interiorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Hi_Booze_A", + B = "Apart_Hi_Booze_B", + C = "Apart_Hi_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(HLApartment6.interiorId, details, state, refresh) + end + }, + Smoke = { + A = "Apart_Hi_Smokes_A", + B = "Apart_Hi_Smokes_B", + C = "Apart_Hi_Smokes_C", + + Enable = function(details, state, refresh) + SetIplPropState(HLApartment6.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + HLApartment6.Ipl.Interior.Load() + HLApartment6.Strip.Enable({ + HLApartment6.Strip.A, + HLApartment6.Strip.B, + HLApartment6.Strip.C + }, false) + HLApartment6.Booze.Enable({ + HLApartment6.Booze.A, + HLApartment6.Booze.B, + HLApartment6.Booze.C + }, false) + HLApartment6.Smoke.Enable({ + HLApartment6.Smoke.A, + HLApartment6.Smoke.B, + HLApartment6.Smoke.C + }, false) + + RefreshInterior(HLApartment6.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_import/garage1.lua b/resources/[standalone]/bob74_ipl/dlc_import/garage1.lua new file mode 100644 index 0000000..ff9eceb --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_import/garage1.lua @@ -0,0 +1,202 @@ +-- Garage 1: Arcadius Business Centre +exports('GetImportCEOGarage1Object', function() + return ImportCEOGarage1 +end) + +ImportCEOGarage1 = { + Part = { + Garage1 = { -- -191.0133, -579.1428, 135.0000 + interiorId = 253441, + ipl = "imp_dt1_02_cargarage_a" + }, + Garage2 = { -- -117.4989, -568.1132, 135.0000 + interiorId = 253697, + ipl = "imp_dt1_02_cargarage_b" + }, + Garage3 = { -- -136.0780, -630.1852, 135.0000 + interiorId = 253953, + ipl = "imp_dt1_02_cargarage_c" + }, + ModShop = { -- -146.6166, -596.6301, 166.0000 + interiorId = 254209, + ipl = "imp_dt1_02_modgarage" + }, + + Load = function(part) + EnableIpl(part.ipl, true) + end, + Remove = function(part) + EnableIpl(part.ipl, false) + end, + Clear = function() + EnableIpl({ + ImportCEOGarage1.Part.Garage1.ipl, + ImportCEOGarage1.Part.Garage2.ipl, + ImportCEOGarage1.Part.Garage3.ipl + }, false) + end, + }, + Style = { + concrete = "garage_decor_01", + plain = "garage_decor_02", + marble = "garage_decor_03", + wooden = "garage_decor_04", + + Set = function(part, style, refresh) + ImportCEOGarage1.Style.Clear(part) + + SetIplPropState(part.interiorId, style, true, refresh) + end, + Clear = function(part) + SetIplPropState(part.interiorId, { + ImportCEOGarage1.Style.concrete, + ImportCEOGarage1.Style.plain, + ImportCEOGarage1.Style.marble, + ImportCEOGarage1.Style.wooden + }, false, true) + end + }, + Numbering = { + none = "", + Level1 = { + style1 = "numbering_style01_n1", + style2 = "numbering_style02_n1", + style3 = "numbering_style03_n1", + style4 = "numbering_style04_n1", + style5 = "numbering_style05_n1", + style6 = "numbering_style06_n1", + style7 = "numbering_style07_n1", + style8 = "numbering_style08_n1", + style9 = "numbering_style09_n1" + }, + Level2 = { + style1 = "numbering_style01_n2", + style2 = "numbering_style02_n2", + style3 = "numbering_style03_n2", + style4 = "numbering_style04_n2", + style5 = "numbering_style05_n2", + style6 = "numbering_style06_n2", + style7 = "numbering_style07_n2", + style8 = "numbering_style08_n2", + style9 = "numbering_style09_n2" + }, + Level3 = { + style1 = "numbering_style01_n3", + style2 = "numbering_style02_n3", + style3 = "numbering_style03_n3", + style4 = "numbering_style04_n3", + style5 = "numbering_style05_n3", + style6 = "numbering_style06_n3", + style7 = "numbering_style07_n3", + style8 = "numbering_style08_n3", + style9 = "numbering_style09_n3" + }, + + Set = function(part, num, refresh) + ImportCEOGarage1.Numbering.Clear(part) + + if num ~= nil then + SetIplPropState(part.interiorId, num, true, refresh) + else + if refresh then + RefreshInterior(part.interiorId) + end + end + end, + Clear = function(part) + SetIplPropState(part.interiorId, { + ImportCEOGarage1.Numbering.Level1, + ImportCEOGarage1.Numbering.Level2, + ImportCEOGarage1.Numbering.Level3 + }, false, true) + end + }, + Lighting = { + none = "", + style1 = "lighting_option01", + style2 = "lighting_option02", + style3 = "lighting_option03", + style4 = "lighting_option04", + style5 = "lighting_option05", + style6 = "lighting_option06", + style7 = "lighting_option07", + style8 = "lighting_option08", + style9 = "lighting_option09", + + Set = function(part, light, refresh) + ImportCEOGarage1.Lighting.Clear(part) + + if light ~= nil then + SetIplPropState(part.interiorId, light, true, refresh) + else + if refresh then + RefreshInterior(part.interiorId) + end + end + end, + Clear = function(part) + SetIplPropState(part.interiorId, { + ImportCEOGarage1.Lighting.style1, ImportCEOGarage1.Lighting.style2, ImportCEOGarage1.Lighting.style3, + ImportCEOGarage1.Lighting.style4, ImportCEOGarage1.Lighting.style5, ImportCEOGarage1.Lighting.style6, + ImportCEOGarage1.Lighting.style7, ImportCEOGarage1.Lighting.style8, ImportCEOGarage1.Lighting.style9 + }, false, true) + end + }, + ModShop = { + Floor = { + default = "", + city = "floor_vinyl_01", + seabed = "floor_vinyl_02", + aliens = "floor_vinyl_03", + clouds = "floor_vinyl_04", + money = "floor_vinyl_05", + zebra = "floor_vinyl_06", + blackWhite = "floor_vinyl_07", + barcode = "floor_vinyl_08", + paintbrushBW = "floor_vinyl_09", + grid = "floor_vinyl_10", + splashes = "floor_vinyl_11", + squares = "floor_vinyl_12", + mosaic = "floor_vinyl_13", + paintbrushColor = "floor_vinyl_14", + curvesColor = "floor_vinyl_15", + marbleBrown = "floor_vinyl_16", + marbleBlue = "floor_vinyl_17", + marbleBW = "floor_vinyl_18", + maze = "floor_vinyl_19", + + Set = function(floor, refresh) + ImportCEOGarage1.ModShop.Floor.Clear() + + if floor ~= nil then + SetIplPropState(ImportCEOGarage1.Part.ModShop.interiorId, floor, true, refresh) + else + if refresh then + RefreshInterior(ImportCEOGarage1.Part.ModShop.interiorId) + end + end + end, + Clear = function() + SetIplPropState(ImportCEOGarage1.Part.ModShop.interiorId, { + ImportCEOGarage1.ModShop.Floor.city, ImportCEOGarage1.ModShop.Floor.seabed, ImportCEOGarage1.ModShop.Floor.aliens, + ImportCEOGarage1.ModShop.Floor.clouds, ImportCEOGarage1.ModShop.Floor.money, ImportCEOGarage1.ModShop.Floor.zebra, + ImportCEOGarage1.ModShop.Floor.blackWhite, ImportCEOGarage1.ModShop.Floor.barcode, ImportCEOGarage1.ModShop.Floor.paintbrushBW, + ImportCEOGarage1.ModShop.Floor.grid, ImportCEOGarage1.ModShop.Floor.splashes, ImportCEOGarage1.ModShop.Floor.squares, + ImportCEOGarage1.ModShop.Floor.mosaic, ImportCEOGarage1.ModShop.Floor.paintbrushColor, ImportCEOGarage1.ModShop.Floor.curvesColor, + ImportCEOGarage1.ModShop.Floor.marbleBrown, ImportCEOGarage1.ModShop.Floor.marbleBlue, ImportCEOGarage1.ModShop.Floor.marbleBW, + ImportCEOGarage1.ModShop.Floor.maze + }, false, true) + end + } + }, + + LoadDefault = function() + ImportCEOGarage1.Part.Load(ImportCEOGarage1.Part.Garage1) + ImportCEOGarage1.Style.Set(ImportCEOGarage1.Part.Garage1, ImportCEOGarage1.Style.concrete) + ImportCEOGarage1.Numbering.Set(ImportCEOGarage1.Part.Garage1, ImportCEOGarage1.Numbering.Level1.style1) + ImportCEOGarage1.Lighting.Set(ImportCEOGarage1.Part.Garage1, ImportCEOGarage1.Lighting.style1, true) + + ImportCEOGarage1.Part.Load(ImportCEOGarage1.Part.ModShop) + ImportCEOGarage1.ModShop.Floor.Set(ImportCEOGarage1.ModShop.Floor.default, true) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_import/garage2.lua b/resources/[standalone]/bob74_ipl/dlc_import/garage2.lua new file mode 100644 index 0000000..a58917a --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_import/garage2.lua @@ -0,0 +1,201 @@ +-- Garage 2: Maze Bank Building +exports('GetImportCEOGarage2Object', function() + return ImportCEOGarage2 +end) + +ImportCEOGarage2 = { + Part = { + Garage1 = { -- -84.2193, -823.0851, 221.0000 + interiorId = 254465, + ipl = "imp_dt1_11_cargarage_a" + }, + Garage2 = { -- -69.8627, -824.7498, 221.0000 + interiorId = 254721, + ipl = "imp_dt1_11_cargarage_b" + }, + Garage3 = { -- -80.4318, -813.2536, 221.0000 + interiorId = 254977, + ipl = "imp_dt1_11_cargarage_c" + }, + ModShop = { -- -73.9039, -821.6204, 284.0000 + interiorId = 255233, + ipl = "imp_dt1_11_modgarage" + }, + + Load = function(part) + EnableIpl(part.ipl, true) + end, + Remove = function(part) + EnableIpl(part.ipl, false) + end, + Clear = function() + EnableIpl({ + ImportCEOGarage2.Part.Garage1.ipl, + ImportCEOGarage2.Part.Garage2.ipl, + ImportCEOGarage2.Part.Garage3.ipl + }, false) + end, + }, + Style = { + concrete = "garage_decor_01", + plain = "garage_decor_02", + marble = "garage_decor_03", + wooden = "garage_decor_04", + + Set = function(part, style, refresh) + ImportCEOGarage2.Style.Clear(part) + + SetIplPropState(part.interiorId, style, true, refresh) + end, + Clear = function(part) + SetIplPropState(part.interiorId, { + ImportCEOGarage2.Style.concrete, + ImportCEOGarage2.Style.plain, + ImportCEOGarage2.Style.marble, + ImportCEOGarage2.Style.wooden + }, false, true) + end + }, + Numbering = { + none = "", + Level1 = { + style1 = "numbering_style01_n1", + style2 = "numbering_style02_n1", + style3 = "numbering_style03_n1", + style4 = "numbering_style04_n1", + style5 = "numbering_style05_n1", + style6 = "numbering_style06_n1", + style7 = "numbering_style07_n1", + style8 = "numbering_style08_n1", + style9 = "numbering_style09_n1" + }, + Level2 = { + style1 = "numbering_style01_n2", + style2 = "numbering_style02_n2", + style3 = "numbering_style03_n2", + style4 = "numbering_style04_n2", + style5 = "numbering_style05_n2", + style6 = "numbering_style06_n2", + style7 = "numbering_style07_n2", + style8 = "numbering_style08_n2", + style9 = "numbering_style09_n2" + }, + Level3 = { + style1 = "numbering_style01_n3", + style2 = "numbering_style02_n3", + style3 = "numbering_style03_n3", + style4 = "numbering_style04_n3", + style5 = "numbering_style05_n3", + style6 = "numbering_style06_n3", + style7 = "numbering_style07_n3", + style8 = "numbering_style08_n3", + style9 = "numbering_style09_n3" + }, + Set = function(part, num, refresh) + ImportCEOGarage2.Numbering.Clear(part) + + if num ~= nil then + SetIplPropState(part.interiorId, num, true, refresh) + else + if refresh then + RefreshInterior(part.interiorId) + end + end + end, + Clear = function(part) + SetIplPropState(part.interiorId, { + ImportCEOGarage2.Numbering.Level1, + ImportCEOGarage2.Numbering.Level2, + ImportCEOGarage2.Numbering.Level3 + }, false, true) + end + }, + Lighting = { + none = "", + style1 = "lighting_option01", + style2 = "lighting_option02", + style3 = "lighting_option03", + style4 = "lighting_option04", + style5 = "lighting_option05", + style6 = "lighting_option06", + style7 = "lighting_option07", + style8 = "lighting_option08", + style9 = "lighting_option09", + + Set = function(part, light, refresh) + ImportCEOGarage2.Lighting.Clear(part) + + if light ~= nil then + SetIplPropState(part.interiorId, light, true, refresh) + else + if refresh then + RefreshInterior(part.interiorId) + end + end + end, + Clear = function(part) + SetIplPropState(part.interiorId, { + ImportCEOGarage2.Lighting.style1, ImportCEOGarage2.Lighting.style2, ImportCEOGarage2.Lighting.style3, + ImportCEOGarage2.Lighting.style4, ImportCEOGarage2.Lighting.style5, ImportCEOGarage2.Lighting.style6, + ImportCEOGarage2.Lighting.style7, ImportCEOGarage2.Lighting.style8, ImportCEOGarage2.Lighting.style9 + }, false, true) + end + }, + ModShop = { + Floor = { + default = "", + city = "floor_vinyl_01", + seabed = "floor_vinyl_02", + aliens = "floor_vinyl_03", + clouds = "floor_vinyl_04", + money = "floor_vinyl_05", + zebra = "floor_vinyl_06", + blackWhite = "floor_vinyl_07", + barcode = "floor_vinyl_08", + paintbrushBW = "floor_vinyl_09", + grid = "floor_vinyl_10", + splashes = "floor_vinyl_11", + squares = "floor_vinyl_12", + mosaic = "floor_vinyl_13", + paintbrushColor = "floor_vinyl_14", + curvesColor = "floor_vinyl_15", + marbleBrown = "floor_vinyl_16", + marbleBlue = "floor_vinyl_17", + marbleBW = "floor_vinyl_18", + maze = "floor_vinyl_19", + + Set = function(floor, refresh) + ImportCEOGarage2.ModShop.Floor.Clear() + + if floor ~= nil then + SetIplPropState(ImportCEOGarage2.Part.ModShop.interiorId, floor, true, refresh) + else + if refresh then + RefreshInterior(ImportCEOGarage2.Part.ModShop.interiorId) + end + end + end, + Clear = function() + SetIplPropState(ImportCEOGarage2.Part.ModShop.interiorId, { + ImportCEOGarage2.ModShop.Floor.city, ImportCEOGarage2.ModShop.Floor.seabed, ImportCEOGarage2.ModShop.Floor.aliens, + ImportCEOGarage2.ModShop.Floor.clouds, ImportCEOGarage2.ModShop.Floor.money, ImportCEOGarage2.ModShop.Floor.zebra, + ImportCEOGarage2.ModShop.Floor.blackWhite, ImportCEOGarage2.ModShop.Floor.barcode, ImportCEOGarage2.ModShop.Floor.paintbrushBW, + ImportCEOGarage2.ModShop.Floor.grid, ImportCEOGarage2.ModShop.Floor.splashes, ImportCEOGarage2.ModShop.Floor.squares, + ImportCEOGarage2.ModShop.Floor.mosaic, ImportCEOGarage2.ModShop.Floor.paintbrushColor, ImportCEOGarage2.ModShop.Floor.curvesColor, + ImportCEOGarage2.ModShop.Floor.marbleBrown, ImportCEOGarage2.ModShop.Floor.marbleBlue, ImportCEOGarage2.ModShop.Floor.marbleBW, + ImportCEOGarage2.ModShop.Floor.maze + }, false, true) + end + } + }, + + LoadDefault = function() + ImportCEOGarage2.Part.Load(ImportCEOGarage2.Part.Garage1) + ImportCEOGarage2.Style.Set(ImportCEOGarage2.Part.Garage1, ImportCEOGarage2.Style.concrete, false) + ImportCEOGarage2.Numbering.Set(ImportCEOGarage2.Part.Garage1, ImportCEOGarage2.Numbering.Level1.style1, false) + ImportCEOGarage2.Lighting.Set(ImportCEOGarage2.Part.Garage1, ImportCEOGarage2.Lighting.style1, true) + + ImportCEOGarage2.Part.Load(ImportCEOGarage2.Part.ModShop) + ImportCEOGarage2.ModShop.Floor.Set(ImportCEOGarage2.ModShop.Floor.default, true) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_import/garage3.lua b/resources/[standalone]/bob74_ipl/dlc_import/garage3.lua new file mode 100644 index 0000000..8ab7a0c --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_import/garage3.lua @@ -0,0 +1,201 @@ +-- Garage 3: Lom Bank +exports('GetImportCEOGarage3Object', function() + return ImportCEOGarage3 +end) + +ImportCEOGarage3 = { + Part = { + Garage1 = { -- -1581.1120, -567.2450, 85.5000 + interiorId = 255489, + ipl = "imp_sm_13_cargarage_a" + }, + Garage2 = { -- -1568.7390, -562.0455, 85.5000 + interiorId = 255745, + ipl = "imp_sm_13_cargarage_b" + }, + Garage3 = { -- -1563.5570, -574.4314, 85.5000 + interiorId = 256001, + ipl = "imp_sm_13_cargarage_c" + }, + ModShop = { -- -1578.0230, -576.4251, 104.2000 + interiorId = 256257, + ipl = "imp_sm_13_modgarage" + }, + + Load = function(part) + EnableIpl(part.ipl, true) + end, + Remove = function(part) + EnableIpl(part.ipl, false) + end, + Clear = function() + EnableIpl({ + ImportCEOGarage3.Part.Garage1.ipl, + ImportCEOGarage3.Part.Garage2.ipl, + ImportCEOGarage3.Part.Garage3.ipl + }, false) + end, + }, + Style = { + concrete = "garage_decor_01", + plain = "garage_decor_02", + marble = "garage_decor_03", + wooden = "garage_decor_04", + + Set = function(part, style, refresh) + ImportCEOGarage3.Style.Clear(part) + + SetIplPropState(part.interiorId, style, true, refresh) + end, + Clear = function(part) + SetIplPropState(part.interiorId, { + ImportCEOGarage3.Style.concrete, + ImportCEOGarage3.Style.plain, + ImportCEOGarage3.Style.marble, + ImportCEOGarage3.Style.wooden + }, false, true) + end + }, + Numbering = { + none = "", + Level1 = { + style1 = "numbering_style01_n1", + style2 = "numbering_style02_n1", + style3 = "numbering_style03_n1", + style4 = "numbering_style04_n1", + style5 = "numbering_style05_n1", + style6 = "numbering_style06_n1", + style7 = "numbering_style07_n1", + style8 = "numbering_style08_n1", + style9 = "numbering_style09_n1" + }, + Level2 = { + style1 = "numbering_style01_n2", + style2 = "numbering_style02_n2", + style3 = "numbering_style03_n2", + style4 = "numbering_style04_n2", + style5 = "numbering_style05_n2", + style6 = "numbering_style06_n2", + style7 = "numbering_style07_n2", + style8 = "numbering_style08_n2", + style9 = "numbering_style09_n2" + }, + Level3 = { + style1 = "numbering_style01_n3", + style2 = "numbering_style02_n3", + style3 = "numbering_style03_n3", + style4 = "numbering_style04_n3", + style5 = "numbering_style05_n3", + style6 = "numbering_style06_n3", + style7 = "numbering_style07_n3", + style8 = "numbering_style08_n3", + style9 = "numbering_style09_n3" + }, + Set = function(part, num, refresh) + ImportCEOGarage3.Numbering.Clear(part) + + if num ~= nil then + SetIplPropState(part.interiorId, num, true, refresh) + else + if refresh then + RefreshInterior(part.interiorId) + end + end + end, + Clear = function(part) + SetIplPropState(part.interiorId, { + ImportCEOGarage3.Numbering.Level1, + ImportCEOGarage3.Numbering.Level2, + ImportCEOGarage3.Numbering.Level3 + }, false, true) + end + }, + Lighting = { + none = "", + style1 = "lighting_option01", + style2 = "lighting_option02", + style3 = "lighting_option03", + style4 = "lighting_option04", + style5 = "lighting_option05", + style6 = "lighting_option06", + style7 = "lighting_option07", + style8 = "lighting_option08", + style9 = "lighting_option09", + + Set = function(part, light, refresh) + ImportCEOGarage3.Lighting.Clear(part) + + if light ~= nil then + SetIplPropState(part.interiorId, light, true, refresh) + else + if refresh then + RefreshInterior(part.interiorId) + end + end + end, + Clear = function(part) + SetIplPropState(part.interiorId, { + ImportCEOGarage3.Lighting.style1, ImportCEOGarage3.Lighting.style2, ImportCEOGarage3.Lighting.style3, + ImportCEOGarage3.Lighting.style4, ImportCEOGarage3.Lighting.style5, ImportCEOGarage3.Lighting.style6, + ImportCEOGarage3.Lighting.style7, ImportCEOGarage3.Lighting.style8, ImportCEOGarage3.Lighting.style9 + }, false, true) + end + }, + ModShop = { + Floor = { + default = "", + city = "floor_vinyl_01", + seabed = "floor_vinyl_02", + aliens = "floor_vinyl_03", + clouds = "floor_vinyl_04", + money = "floor_vinyl_05", + zebra = "floor_vinyl_06", + blackWhite = "floor_vinyl_07", + barcode = "floor_vinyl_08", + paintbrushBW = "floor_vinyl_09", + grid = "floor_vinyl_10", + splashes = "floor_vinyl_11", + squares = "floor_vinyl_12", + mosaic = "floor_vinyl_13", + paintbrushColor = "floor_vinyl_14", + curvesColor = "floor_vinyl_15", + marbleBrown = "floor_vinyl_16", + marbleBlue = "floor_vinyl_17", + marbleBW = "floor_vinyl_18", + maze = "floor_vinyl_19", + + Set = function(floor, refresh) + ImportCEOGarage3.ModShop.Floor.Clear() + + if floor ~= nil then + SetIplPropState(ImportCEOGarage3.Part.ModShop.interiorId, floor, true, refresh) + else + if refresh then + RefreshInterior(ImportCEOGarage3.Part.ModShop.interiorId) + end + end + end, + Clear = function() + SetIplPropState(ImportCEOGarage3.Part.ModShop.interiorId, { + ImportCEOGarage3.ModShop.Floor.city, ImportCEOGarage3.ModShop.Floor.seabed, ImportCEOGarage3.ModShop.Floor.aliens, + ImportCEOGarage3.ModShop.Floor.clouds, ImportCEOGarage3.ModShop.Floor.money, ImportCEOGarage3.ModShop.Floor.zebra, + ImportCEOGarage3.ModShop.Floor.blackWhite, ImportCEOGarage3.ModShop.Floor.barcode, ImportCEOGarage3.ModShop.Floor.paintbrushBW, + ImportCEOGarage3.ModShop.Floor.grid, ImportCEOGarage3.ModShop.Floor.splashes, ImportCEOGarage3.ModShop.Floor.squares, + ImportCEOGarage3.ModShop.Floor.mosaic, ImportCEOGarage3.ModShop.Floor.paintbrushColor, ImportCEOGarage3.ModShop.Floor.curvesColor, + ImportCEOGarage3.ModShop.Floor.marbleBrown, ImportCEOGarage3.ModShop.Floor.marbleBlue, ImportCEOGarage3.ModShop.Floor.marbleBW, + ImportCEOGarage3.ModShop.Floor.maze + }, false, true) + end + } + }, + + LoadDefault = function() + ImportCEOGarage3.Part.Load(ImportCEOGarage3.Part.Garage1) + ImportCEOGarage3.Style.Set(ImportCEOGarage3.Part.Garage1, ImportCEOGarage3.Style.concrete, false) + ImportCEOGarage3.Numbering.Set(ImportCEOGarage3.Part.Garage1, ImportCEOGarage3.Numbering.Level1.style1, false) + ImportCEOGarage3.Lighting.Set(ImportCEOGarage3.Part.Garage1, ImportCEOGarage3.Lighting.style1, true) + + -- No mod shop since it overlapses CEO office + ImportCEOGarage3.Part.Remove(ImportCEOGarage3.Part.ModShop) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_import/garage4.lua b/resources/[standalone]/bob74_ipl/dlc_import/garage4.lua new file mode 100644 index 0000000..a0d7f03 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_import/garage4.lua @@ -0,0 +1,204 @@ +-- Garage 4: Maze Bank West +-- Be careful, ImportCEOGarage4.Part.Garage1 and ImportCEOGarage4.Part.Garage3 overlaps with FinanceOffice4 +exports('GetImportCEOGarage4Object', function() + return ImportCEOGarage4 +end) + +ImportCEOGarage4 = { + Part = { + Garage1 = { -- -1388.8400, -478.7402, 56.1000 + interiorId = 256513, + ipl = "imp_sm_15_cargarage_a" + }, + Garage2 = { -- -1388.8600, -478.7574, 48.1000 + interiorId = 256769, + ipl = "imp_sm_15_cargarage_b" + }, + Garage3 = { -- -1374.6820, -474.3586, 56.1000 + interiorId = 257025, + ipl = "imp_sm_15_cargarage_c" + }, + ModShop = { -- -1391.2450, -473.9638, 77.2000 + interiorId = 257281, + ipl = "imp_sm_15_modgarage" + }, + + Load = function(part) + EnableIpl(part.ipl, true) + end, + Remove = function(part) + EnableIpl(part.ipl, false) + end, + Clear = function() + EnableIpl({ + ImportCEOGarage4.Part.Garage1.ipl, + ImportCEOGarage4.Part.Garage2.ipl, + ImportCEOGarage4.Part.Garage3.ipl + }, false) + end + }, + Style = { + concrete = "garage_decor_01", + plain = "garage_decor_02", + marble = "garage_decor_03", + wooden = "garage_decor_04", + + Set = function(part, style, refresh) + ImportCEOGarage4.Style.Clear(part) + + SetIplPropState(part.interiorId, style, true, refresh) + end, + Clear = function(part) + SetIplPropState(part.interiorId, { + ImportCEOGarage4.Style.concrete, + ImportCEOGarage4.Style.plain, + ImportCEOGarage4.Style.marble, + ImportCEOGarage4.Style.wooden + }, false, true) + end + }, + Numbering = { + none = "", + Level1 = { + style1 = "numbering_style01_n1", + style2 = "numbering_style02_n1", + style3 = "numbering_style03_n1", + style4 = "numbering_style04_n1", + style5 = "numbering_style05_n1", + style6 = "numbering_style06_n1", + style7 = "numbering_style07_n1", + style8 = "numbering_style08_n1", + style9 = "numbering_style09_n1" + }, + Level2 = { + style1 = "numbering_style01_n2", + style2 = "numbering_style02_n2", + style3 = "numbering_style03_n2", + style4 = "numbering_style04_n2", + style5 = "numbering_style05_n2", + style6 = "numbering_style06_n2", + style7 = "numbering_style07_n2", + style8 = "numbering_style08_n2", + style9 = "numbering_style09_n2" + }, + Level3 = { + style1 = "numbering_style01_n3", + style2 = "numbering_style02_n3", + style3 = "numbering_style03_n3", + style4 = "numbering_style04_n3", + style5 = "numbering_style05_n3", + style6 = "numbering_style06_n3", + style7 = "numbering_style07_n3", + style8 = "numbering_style08_n3", + style9 = "numbering_style09_n3" + }, + + Set = function(part, num, refresh) + ImportCEOGarage4.Numbering.Clear(part) + + if num ~= nil then + SetIplPropState(part.interiorId, num, true, refresh) + else + if refresh then + RefreshInterior(part.interiorId) + end + end + end, + Clear = function(part) + SetIplPropState(part.interiorId, { + ImportCEOGarage4.Numbering.Level1, + ImportCEOGarage4.Numbering.Level2, + ImportCEOGarage4.Numbering.Level3 + }, false, true) + end + }, + Lighting = { + none = "", + style1 = "lighting_option01", + style2 = "lighting_option02", + style3 = "lighting_option03", + style4 = "lighting_option04", + style5 = "lighting_option05", + style6 = "lighting_option06", + style7 = "lighting_option07", + style8 = "lighting_option08", + style9 = "lighting_option09", + + Set = function(part, light, refresh) + ImportCEOGarage4.Lighting.Clear(part) + + if light ~= nil then + SetIplPropState(part.interiorId, light, true, refresh) + else + if refresh then + RefreshInterior(part.interiorId) + end + end + end, + Clear = function(part) + SetIplPropState(part.interiorId, { + ImportCEOGarage4.Lighting.style1, ImportCEOGarage4.Lighting.style2, ImportCEOGarage4.Lighting.style3, + ImportCEOGarage4.Lighting.style4, ImportCEOGarage4.Lighting.style5, ImportCEOGarage4.Lighting.style6, + ImportCEOGarage4.Lighting.style7, ImportCEOGarage4.Lighting.style8, ImportCEOGarage4.Lighting.style9 + }, false, true) + end + }, + ModShop = { + Floor = { + default = "", + city = "floor_vinyl_01", + seabed = "floor_vinyl_02", + aliens = "floor_vinyl_03", + clouds = "floor_vinyl_04", + money = "floor_vinyl_05", + zebra = "floor_vinyl_06", + blackWhite = "floor_vinyl_07", + barcode = "floor_vinyl_08", + paintbrushBW = "floor_vinyl_09", + grid = "floor_vinyl_10", + splashes = "floor_vinyl_11", + squares = "floor_vinyl_12", + mosaic = "floor_vinyl_13", + paintbrushColor = "floor_vinyl_14", + curvesColor = "floor_vinyl_15", + marbleBrown = "floor_vinyl_16", + marbleBlue = "floor_vinyl_17", + marbleBW = "floor_vinyl_18", + maze = "floor_vinyl_19", + + Set = function(floor, refresh) + ImportCEOGarage4.ModShop.Floor.Clear() + + if floor ~= nil then + SetIplPropState(ImportCEOGarage4.Part.ModShop.interiorId, floor, true, refresh) + else + if refresh then + RefreshInterior(ImportCEOGarage4.Part.ModShop.interiorId) + end + end + end, + Clear = function() + SetIplPropState(ImportCEOGarage4.Part.ModShop.interiorId, { + ImportCEOGarage4.ModShop.Floor.city, ImportCEOGarage4.ModShop.Floor.seabed, ImportCEOGarage4.ModShop.Floor.aliens, + ImportCEOGarage4.ModShop.Floor.clouds, ImportCEOGarage4.ModShop.Floor.money, ImportCEOGarage4.ModShop.Floor.zebra, + ImportCEOGarage4.ModShop.Floor.blackWhite, ImportCEOGarage4.ModShop.Floor.barcode, ImportCEOGarage4.ModShop.Floor.paintbrushBW, + ImportCEOGarage4.ModShop.Floor.grid, ImportCEOGarage4.ModShop.Floor.splashes, ImportCEOGarage4.ModShop.Floor.squares, + ImportCEOGarage4.ModShop.Floor.mosaic, ImportCEOGarage4.ModShop.Floor.paintbrushColor, ImportCEOGarage4.ModShop.Floor.curvesColor, + ImportCEOGarage4.ModShop.Floor.marbleBrown, ImportCEOGarage4.ModShop.Floor.marbleBlue, ImportCEOGarage4.ModShop.Floor.marbleBW, + ImportCEOGarage4.ModShop.Floor.maze + }, false, true) + end + } + }, + + LoadDefault = function() + ImportCEOGarage4.Part.Load(ImportCEOGarage4.Part.Garage2) + + ImportCEOGarage4.Style.Set(ImportCEOGarage4.Part.Garage2, ImportCEOGarage4.Style.concrete, false) + ImportCEOGarage4.Numbering.Set(ImportCEOGarage4.Part.Garage2, ImportCEOGarage4.Numbering.Level1.style1, false) + ImportCEOGarage4.Lighting.Set(ImportCEOGarage4.Part.Garage2, ImportCEOGarage4.Lighting.style1, true) + + ImportCEOGarage4.Part.Load(ImportCEOGarage4.Part.ModShop) + ImportCEOGarage4.ModShop.Floor.Set(ImportCEOGarage4.ModShop.Floor.default, true) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_import/vehicle_warehouse.lua b/resources/[standalone]/bob74_ipl/dlc_import/vehicle_warehouse.lua new file mode 100644 index 0000000..a8ddd84 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_import/vehicle_warehouse.lua @@ -0,0 +1,96 @@ +-- Vehicle warehouse +-- Upper: 994.5925, -3002.594, -39.64699 +-- Lower: 969.5376, -3000.411, -48.64689 +exports('GetImportVehicleWarehouseObject', function() + return ImportVehicleWarehouse +end) + +ImportVehicleWarehouse = { + Upper = { + interiorId = 252673, + + Ipl = { + Interior = { + ipl = "imp_impexp_interior_placement_interior_1_impexp_intwaremed_milo_", + + Load = function() + EnableIpl(ImportVehicleWarehouse.Upper.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(ImportVehicleWarehouse.Upper.Ipl.Interior.ipl, false) + end + } + }, + Style = { + basic = "basic_style_set", + branded = "branded_style_set", + urban = "urban_style_set", + + Set = function(style, refresh) + ImportVehicleWarehouse.Upper.Style.Clear(false) + + SetIplPropState(ImportVehicleWarehouse.Upper.interiorId, style, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(ImportVehicleWarehouse.Upper.interiorId, { + ImportVehicleWarehouse.Upper.Style.basic, + ImportVehicleWarehouse.Upper.Style.branded, + ImportVehicleWarehouse.Upper.Style.urban + }, false, refresh) + end + }, + Details = { + floorHatch = "car_floor_hatch", + doorBlocker = "door_blocker", -- Invisible wall + + Enable = function(details, state, refresh) + SetIplPropState(ImportVehicleWarehouse.Upper.interiorId, details, state, refresh) + end + } + }, + Lower = { + interiorId = 253185, + + Ipl = { + Interior = { + ipl = "imp_impexp_interior_placement_interior_3_impexp_int_02_milo_", + + Load = function() + EnableIpl(ImportVehicleWarehouse.Lower.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(ImportVehicleWarehouse.Lower.Ipl.Interior.ipl, false) + end + } + }, + Details = { + Pumps = { + pump1 = "pump_01", + pump2 = "pump_02", + pump3 = "pump_03", + pump4 = "pump_04", + pump5 = "pump_05", + pump6 = "pump_06", + pump7 = "pump_07", + pump8 = "pump_08" + }, + Enable = function(details, state, refresh) + SetIplPropState(ImportVehicleWarehouse.Lower.interiorId, details, state, refresh) + end + } + }, + + LoadDefault = function() + ImportVehicleWarehouse.Upper.Ipl.Interior.Load() + ImportVehicleWarehouse.Upper.Style.Set(ImportVehicleWarehouse.Upper.Style.branded) + ImportVehicleWarehouse.Upper.Details.Enable(ImportVehicleWarehouse.Upper.Details.floorHatch, true) + ImportVehicleWarehouse.Upper.Details.Enable(ImportVehicleWarehouse.Upper.Details.doorBlocker, false) + + RefreshInterior(ImportVehicleWarehouse.Upper.interiorId) + + ImportVehicleWarehouse.Lower.Ipl.Interior.Load() + ImportVehicleWarehouse.Lower.Details.Enable(ImportVehicleWarehouse.Lower.Details.Pumps, true) + + RefreshInterior(ImportVehicleWarehouse.Lower.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_security/billboards.lua b/resources/[standalone]/bob74_ipl/dlc_security/billboards.lua new file mode 100644 index 0000000..30f4a12 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_security/billboards.lua @@ -0,0 +1,24 @@ +exports('GetMpSecurityBillboardsObject', function() + return MpSecurityBillboards +end) + +MpSecurityBillboards = { + Ipl = { + Interior = { + ipl = { + 'sf_billboards', + } + }, + + Load = function() + EnableIpl(MpSecurityBillboards.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(MpSecurityBillboards.Ipl.Interior.ipl, false) + end, + }, + + LoadDefault = function() + MpSecurityBillboards.Ipl.Load() + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_security/garage.lua b/resources/[standalone]/bob74_ipl/dlc_security/garage.lua new file mode 100644 index 0000000..342f69e --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_security/garage.lua @@ -0,0 +1,73 @@ +exports('GetMpSecurityGarageObject', function() + return MpSecurityGarage +end) + +MpSecurityGarage = { + InteriorId = 286721, + + Ipl = { + Interior = { + ipl = { + 'sf_int_placement_sec_interior_2_dlc_garage_sec_milo_' + } + }, + + Load = function() + EnableIpl(MpSecurityGarage.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(MpSecurityGarage.Ipl.Interior.ipl, false) + end + }, + Entities = { + Entity_Set_Workshop_Wall = false, + Entity_Set_Wallpaper_01 = false, + Entity_Set_Wallpaper_02 = false, + Entity_Set_Wallpaper_03 = false, + Entity_Set_Wallpaper_04 = false, + Entity_Set_Wallpaper_05 = false, + Entity_Set_Wallpaper_06 = false, + Entity_Set_Wallpaper_07 = true, + Entity_Set_Wallpaper_08 = false, + Entity_Set_Wallpaper_09 = false, + Entity_Set_Art_1 = false, + Entity_Set_Art_2 = false, + Entity_Set_Art_3 = false, + Entity_Set_Art_1_NoMod = false, + Entity_Set_Art_2_NoMod = false, + Entity_Set_Art_3_NoMod = false, + entity_set_tints = true, + Entity_Set_Workshop_Lights = true, + + Set = function(name, state) + for entity, _ in pairs(MpSecurityGarage.Entities) do + if entity == name then + MpSecurityGarage.Entities[entity] = state + MpSecurityGarage.Entities.Clear() + MpSecurityGarage.Entities.Load() + end + end + end, + Load = function() + for entity, state in pairs(MpSecurityGarage.Entities) do + if type(entity) == 'string' and state then + ActivateInteriorEntitySet(MpSecurityGarage.InteriorId, entity) + end + end + end, + Clear = function() + for entity, _ in pairs(MpSecurityGarage.Entities) do + if type(entity) == 'string' then + DeactivateInteriorEntitySet(MpSecurityGarage.InteriorId, entity) + end + end + end + }, + + LoadDefault = function() + MpSecurityGarage.Ipl.Load() + MpSecurityGarage.Entities.Load() + + RefreshInterior(MpSecurityGarage.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_security/musicrooftop.lua b/resources/[standalone]/bob74_ipl/dlc_security/musicrooftop.lua new file mode 100644 index 0000000..d3b94e5 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_security/musicrooftop.lua @@ -0,0 +1,24 @@ +exports('GetMpSecurityMusicRoofTopObject', function() + return MpSecurityMusicRoofTop +end) + +MpSecurityMusicRoofTop = { + Ipl = { + Interior = { + ipl = { + 'sf_musicrooftop' + } + }, + + Load = function() + EnableIpl(MpSecurityMusicRoofTop.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(MpSecurityMusicRoofTop.Ipl.Interior.ipl, false) + end + }, + + LoadDefault = function() + MpSecurityMusicRoofTop.Ipl.Load() + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_security/office1.lua b/resources/[standalone]/bob74_ipl/dlc_security/office1.lua new file mode 100644 index 0000000..70659da --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_security/office1.lua @@ -0,0 +1,106 @@ +exports('GetMpSecurityOffice1Object', function() + return MpSecurityOffice1 +end) + +MpSecurityOffice1 = { + InteriorId = 287489, + + Ipl = { + Interior = { + ipl = { + 'sf_fixeroffice_bh1_05' + } + }, + + Load = function() + EnableIpl(MpSecurityOffice1.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(MpSecurityOffice1.Ipl.Interior.ipl, false) + end + }, + Entities = { + Entity_Set_Armoury = false, + Entity_Set_Standard_Office = true, + Entity_Set_Blocker = false, + Entity_Set_Wpaper_1 = false, + Entity_Set_Wpaper_3 = false, + Entity_Set_Wpaper_2 = false, + Entity_Set_Wpaper_4 = false, + Entity_Set_Wpaper_5 = false, + Entity_Set_Wpaper_6 = false, + Entity_Set_Wpaper_7 = false, + Entity_Set_Wpaper_8 = true, + Entity_Set_Wpaper_9 = false, + Entity_Set_Moving = true, + Entity_Set_Tint_AG = true, + Entity_Set_Spare_Seats = true, + Entity_Set_Player_Seats = true, + Entity_Set_Player_Desk = true, + Entity_Set_M_Golf_Intro = true, + Entity_Set_M_Setup = true, + Entity_Set_M_Nightclub = true, + Entity_Set_M_Yacht = true, + Entity_Set_M_Promoter = true, + Entity_Set_M_Limo_Photo = true, + Entity_Set_M_Limo_Wallet = true, + Entity_Set_M_The_Way = true, + Entity_Set_M_Billionaire = true, + Entity_Set_M_Families = true, + Entity_Set_M_Ballas = true, + Entity_Set_M_Hood = true, + Entity_Set_M_Fire_Booth = true, + Entity_Set_M_50 = true, + Entity_Set_M_Taxi = true, + Entity_Set_M_Gone_Golfing = true, + Entity_Set_M_Motel = true, + Entity_Set_M_Construction = true, + Entity_Set_M_Hit_List = true, + Entity_Set_M_Tuner = true, + Entity_Set_M_Attack = true, + Entity_Set_M_Vehicles = true, + Entity_Set_M_Trip_01 = true, + Entity_Set_M_Trip_02 = true, + Entity_Set_M_Trip_03 = true, + Entity_set_disc_01 = true, + Entity_set_disc_02 = false, + Entity_set_disc_03 = false, + Entity_set_disc_04 = false, + Entity_set_disc_05 = false, + Entity_set_disc_06 = false, + Entity_Set_Art_1 = true, + Entity_Set_Art_2 = false, + Entity_Set_Art_3 = false, + + Set = function(name, state) + for entity, _ in pairs(MpSecurityOffice1.Entities) do + if entity == name then + MpSecurityOffice1.Entities[entity] = state + MpSecurityOffice1.Entities.Clear() + MpSecurityOffice1.Entities.Load() + end + end + end, + Load = function() + for entity, state in pairs(MpSecurityOffice1.Entities) do + if type(entity) == 'string' and state then + ActivateInteriorEntitySet(MpSecurityOffice1.InteriorId, entity) + end + end + end, + Clear = function() + for entity, _ in pairs(MpSecurityOffice1.Entities) do + if type(entity) == 'string' then + DeactivateInteriorEntitySet(MpSecurityOffice1.InteriorId, entity) + end + end + end + }, + + LoadDefault = function() + MpSecurityOffice1.Ipl.Load() + MpSecurityOffice1.Entities.Load() + + RefreshInterior(MpSecurityOffice1.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_security/office2.lua b/resources/[standalone]/bob74_ipl/dlc_security/office2.lua new file mode 100644 index 0000000..cb44817 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_security/office2.lua @@ -0,0 +1,106 @@ +exports('GetMpSecurityOffice2Object', function() + return MpSecurityOffice2 +end) + +MpSecurityOffice2 = { + InteriorId = 288257, + + Ipl = { + Interior = { + ipl = { + 'sf_fixeroffice_hw1_08' + } + }, + + Load = function() + EnableIpl(MpSecurityOffice2.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(MpSecurityOffice2.Ipl.Interior.ipl, false) + end + }, + Entities = { + Entity_Set_Armoury = true, + Entity_Set_Standard_Office = false, + Entity_Set_Blocker = false, + Entity_Set_Wpaper_1 = false, + Entity_Set_Wpaper_3 = false, + Entity_Set_Wpaper_2 = false, + Entity_Set_Wpaper_4 = false, + Entity_Set_Wpaper_5 = false, + Entity_Set_Wpaper_6 = false, + Entity_Set_Wpaper_7 = false, + Entity_Set_Wpaper_8 = false, + Entity_Set_Wpaper_9 = true, + Entity_Set_Moving = true, + Entity_Set_Tint_AG = true, + Entity_Set_Spare_Seats = true, + Entity_Set_Player_Seats = true, + Entity_Set_Player_Desk = true, + Entity_Set_M_Golf_Intro = true, + Entity_Set_M_Setup = true, + Entity_Set_M_Nightclub = true, + Entity_Set_M_Yacht = true, + Entity_Set_M_Promoter = true, + Entity_Set_M_Limo_Photo = true, + Entity_Set_M_Limo_Wallet = true, + Entity_Set_M_The_Way = true, + Entity_Set_M_Billionaire = true, + Entity_Set_M_Families = true, + Entity_Set_M_Ballas = true, + Entity_Set_M_Hood = true, + Entity_Set_M_Fire_Booth = true, + Entity_Set_M_50 = true, + Entity_Set_M_Taxi = true, + Entity_Set_M_Gone_Golfing = true, + Entity_Set_M_Motel = true, + Entity_Set_M_Construction = true, + Entity_Set_M_Hit_List = true, + Entity_Set_M_Tuner = true, + Entity_Set_M_Attack = true, + Entity_Set_M_Vehicles = true, + Entity_Set_M_Trip_01 = true, + Entity_Set_M_Trip_02 = true, + Entity_Set_M_Trip_03 = true, + Entity_set_disc_01 = false, + Entity_set_disc_02 = true, + Entity_set_disc_03 = false, + Entity_set_disc_04 = false, + Entity_set_disc_05 = false, + Entity_set_disc_06 = false, + Entity_Set_Art_1 = false, + Entity_Set_Art_2 = true, + Entity_Set_Art_3 = false, + + Set = function(name, state) + for entity, _ in pairs(MpSecurityOffice2.Entities) do + if entity == name then + MpSecurityOffice2.Entities[entity] = state + MpSecurityOffice2.Entities.Clear() + MpSecurityOffice2.Entities.Load() + end + end + end, + Load = function() + for entity, state in pairs(MpSecurityOffice2.Entities) do + if type(entity) == 'string' and state then + ActivateInteriorEntitySet(MpSecurityOffice2.InteriorId, entity) + end + end + end, + Clear = function() + for entity, _ in pairs(MpSecurityOffice2.Entities) do + if type(entity) == 'string' then + DeactivateInteriorEntitySet(MpSecurityOffice2.InteriorId, entity) + end + end + end + }, + + LoadDefault = function() + MpSecurityOffice2.Ipl.Load() + + MpSecurityOffice2.Entities.Load() + RefreshInterior(MpSecurityOffice2.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_security/office3.lua b/resources/[standalone]/bob74_ipl/dlc_security/office3.lua new file mode 100644 index 0000000..401ad4c --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_security/office3.lua @@ -0,0 +1,105 @@ +exports('GetMpSecurityOffice3Object', function() + return MpSecurityOffice3 +end) + +MpSecurityOffice3 = { + InteriorId = 288001, + + Ipl = { + Interior = { + ipl = { + 'sf_fixeroffice_kt1_05' + } + }, + Load = function() + EnableIpl(MpSecurityOffice3.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(MpSecurityOffice3.Ipl.Interior.ipl, false) + end + }, + Entities = { + Entity_Set_Armoury = false, + Entity_Set_Standard_Office = true, + Entity_Set_Blocker = false, + Entity_Set_Wpaper_1 = false, + Entity_Set_Wpaper_3 = false, + Entity_Set_Wpaper_2 = true, + Entity_Set_Wpaper_4 = false, + Entity_Set_Wpaper_5 = false, + Entity_Set_Wpaper_6 = false, + Entity_Set_Wpaper_7 = false, + Entity_Set_Wpaper_8 = false, + Entity_Set_Wpaper_9 = false, + Entity_Set_Moving = true, + Entity_Set_Tint_AG = true, + Entity_Set_Spare_Seats = true, + Entity_Set_Player_Seats = true, + Entity_Set_Player_Desk = true, + Entity_Set_M_Golf_Intro = true, + Entity_Set_M_Setup = true, + Entity_Set_M_Nightclub = true, + Entity_Set_M_Yacht = true, + Entity_Set_M_Promoter = true, + Entity_Set_M_Limo_Photo = true, + Entity_Set_M_Limo_Wallet = true, + Entity_Set_M_The_Way = true, + Entity_Set_M_Billionaire = true, + Entity_Set_M_Families = true, + Entity_Set_M_Ballas = true, + Entity_Set_M_Hood = true, + Entity_Set_M_Fire_Booth = true, + Entity_Set_M_50 = true, + Entity_Set_M_Taxi = true, + Entity_Set_M_Gone_Golfing = true, + Entity_Set_M_Motel = true, + Entity_Set_M_Construction = true, + Entity_Set_M_Hit_List = true, + Entity_Set_M_Tuner = true, + Entity_Set_M_Attack = true, + Entity_Set_M_Vehicles = true, + Entity_Set_M_Trip_01 = true, + Entity_Set_M_Trip_02 = true, + Entity_Set_M_Trip_03 = true, + Entity_set_disc_01 = false, + Entity_set_disc_02 = true, + Entity_set_disc_03 = false, + Entity_set_disc_04 = false, + Entity_set_disc_05 = false, + Entity_set_disc_06 = false, + Entity_Set_Art_1 = false, + Entity_Set_Art_2 = false, + Entity_Set_Art_3 = true, + + Set = function(name, state) + for entity, _ in pairs(MpSecurityOffice3.Entities) do + if entity == name then + MpSecurityOffice3.Entities[entity] = state + MpSecurityOffice3.Entities.Clear() + MpSecurityOffice3.Entities.Load() + end + end + end, + Load = function() + for entity, state in pairs(MpSecurityOffice3.Entities) do + if type(entity) == 'string' and state then + ActivateInteriorEntitySet(MpSecurityOffice3.InteriorId, entity) + end + end + end, + Clear = function() + for entity, _ in pairs(MpSecurityOffice3.Entities) do + if type(entity) == 'string' then + DeactivateInteriorEntitySet(MpSecurityOffice3.InteriorId, entity) + end + end + end + }, + + LoadDefault = function() + MpSecurityOffice3.Ipl.Load() + MpSecurityOffice3.Entities.Load() + + RefreshInterior(MpSecurityOffice3.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_security/office4.lua b/resources/[standalone]/bob74_ipl/dlc_security/office4.lua new file mode 100644 index 0000000..86ce6d9 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_security/office4.lua @@ -0,0 +1,106 @@ +exports('GetMpSecurityOffice4Object', function() + return MpSecurityOffice4 +end) + +MpSecurityOffice4 = { + InteriorId = 287745, + + Ipl = { + Interior = { + ipl = { + 'sf_fixeroffice_kt1_08' + } + }, + + Load = function() + EnableIpl(MpSecurityOffice4.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(MpSecurityOffice4.Ipl.Interior.ipl, false) + end, + }, + Entities = { + Entity_Set_Armoury = true, + Entity_Set_Standard_Office = false, + Entity_Set_Blocker = false, + Entity_Set_Wpaper_1 = false, + Entity_Set_Wpaper_3 = true, + Entity_Set_Wpaper_2 = false, + Entity_Set_Wpaper_4 = false, + Entity_Set_Wpaper_5 = false, + Entity_Set_Wpaper_6 = false, + Entity_Set_Wpaper_7 = false, + Entity_Set_Wpaper_8 = false, + Entity_Set_Wpaper_9 = false, + Entity_Set_Moving = true, + Entity_Set_Tint_AG = true, + Entity_Set_Spare_Seats = true, + Entity_Set_Player_Seats = true, + Entity_Set_Player_Desk = true, + Entity_Set_M_Golf_Intro = true, + Entity_Set_M_Setup = true, + Entity_Set_M_Nightclub = true, + Entity_Set_M_Yacht = true, + Entity_Set_M_Promoter = true, + Entity_Set_M_Limo_Photo = true, + Entity_Set_M_Limo_Wallet = true, + Entity_Set_M_The_Way = true, + Entity_Set_M_Billionaire = true, + Entity_Set_M_Families = true, + Entity_Set_M_Ballas = true, + Entity_Set_M_Hood = true, + Entity_Set_M_Fire_Booth = true, + Entity_Set_M_50 = true, + Entity_Set_M_Taxi = true, + Entity_Set_M_Gone_Golfing = true, + Entity_Set_M_Motel = true, + Entity_Set_M_Construction = true, + Entity_Set_M_Hit_List = true, + Entity_Set_M_Tuner = true, + Entity_Set_M_Attack = true, + Entity_Set_M_Vehicles = true, + Entity_Set_M_Trip_01 = true, + Entity_Set_M_Trip_02 = true, + Entity_Set_M_Trip_03 = true, + Entity_set_disc_01 = false, + Entity_set_disc_02 = false, + Entity_set_disc_03 = false, + Entity_set_disc_04 = false, + Entity_set_disc_05 = true, + Entity_set_disc_06 = false, + Entity_Set_Art_1 = true, + Entity_Set_Art_2 = false, + Entity_Set_Art_3 = false, + + Set = function(name, state) + for entity, _ in pairs(MpSecurityOffice4.Entities) do + if entity == name then + MpSecurityOffice4.Entities[entity] = state + MpSecurityOffice4.Entities.Clear() + MpSecurityOffice4.Entities.Load() + end + end + end, + Load = function() + for entity, state in pairs(MpSecurityOffice4.Entities) do + if type(entity) == 'string' and state then + ActivateInteriorEntitySet(MpSecurityOffice4.InteriorId, entity) + end + end + end, + Clear = function() + for entity, _ in pairs(MpSecurityOffice4.Entities) do + if type(entity) == 'string' then + DeactivateInteriorEntitySet(MpSecurityOffice4.InteriorId, entity) + end + end + end, + }, + + LoadDefault = function() + MpSecurityOffice4.Ipl.Load() + MpSecurityOffice4.Entities.Load() + + RefreshInterior(MpSecurityOffice4.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_security/studio.lua b/resources/[standalone]/bob74_ipl/dlc_security/studio.lua new file mode 100644 index 0000000..de33322 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_security/studio.lua @@ -0,0 +1,60 @@ +exports('GetMpSecurityStudioObject', function() + return MpSecurityStudio +end) + +MpSecurityStudio = { + InteriorId = 286977, + + Ipl = { + Interior = { + ipl = { + 'sf_int_placement_sec_interior_1_dlc_studio_sec_milo_ ' + } + }, + + Load = function() + EnableIpl(MpSecurityStudio.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(MpSecurityStudio.Ipl.Interior.ipl, false) + end, + }, + Entities = { + Entity_Set_FIX_STU_EXT_P3A1 = false, + Entity_Set_FIX_TRIP1_INT_P2 = false, + Entity_Set_FIX_STU_EXT_P1 = false, + Entity_Set_Fire = true, + entity_set_default = true, + + Set = function(name, state) + for entity, _ in pairs(MpSecurityStudio.Entities) do + if entity == name then + MpSecurityStudio.Entities[entity] = state + MpSecurityStudio.Entities.Clear() + MpSecurityStudio.Entities.Load() + end + end + end, + Load = function() + for entity, state in pairs(MpSecurityStudio.Entities) do + if type(entity) == 'string' and state then + ActivateInteriorEntitySet(MpSecurityStudio.InteriorId, entity) + end + end + end, + Clear = function() + for entity, _ in pairs(MpSecurityStudio.Entities) do + if type(entity) == 'string' then + DeactivateInteriorEntitySet(MpSecurityStudio.InteriorId, entity) + end + end + end + }, + + LoadDefault = function() + MpSecurityStudio.Ipl.Load() + MpSecurityStudio.Entities.Load() + + RefreshInterior(MpSecurityStudio.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_smuggler/hangar.lua b/resources/[standalone]/bob74_ipl/dlc_smuggler/hangar.lua new file mode 100644 index 0000000..1880880 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_smuggler/hangar.lua @@ -0,0 +1,333 @@ +-- SmugglerHangar: -1267.0 -3013.135 -49.5 +exports('GetSmugglerHangarObject', function() + return SmugglerHangar +end) + +SmugglerHangar = { + interiorId = 260353, + + Ipl = { + Interior = { + ipl = "sm_smugdlc_interior_placement_interior_0_smugdlc_int_01_milo_", + + Load = function() + EnableIpl(SmugglerHangar.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(SmugglerHangar.Ipl.Interior.ipl, false) + end + } + }, + Colors = { + colorSet1 = 1, -- sable, red, gray + colorSet2 = 2, -- white, blue, gray + colorSet3 = 3, -- gray, orange, blue + colorSet4 = 4, -- gray, blue, orange + colorSet5 = 5, -- gray, light gray, red + colorSet6 = 6, -- yellow, gray, light gray + colorSet7 = 7, -- light Black and white + colorSet8 = 8, -- dark Black and white + colorSet9 = 9 -- sable and gray + }, + Walls = { + default = "set_tint_shell", + + SetColor = function(color, refresh) + SetIplPropState(SmugglerHangar.interiorId, SmugglerHangar.Walls.default, true, refresh) + SetInteriorPropColor(SmugglerHangar.interiorId, SmugglerHangar.Walls.default, color) + end, + }, + Floor = { + Style = { + raw = "set_floor_1", + plain = "set_floor_2", + + Set = function(floor, refresh) + SmugglerHangar.Floor.Style.Clear(false) + + SetIplPropState(SmugglerHangar.interiorId, floor, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(SmugglerHangar.interiorId, { + SmugglerHangar.Floor.Style.raw, + SmugglerHangar.Floor.Style.plain + }, false, refresh) + end + }, + Decals = { + decal1 = "set_floor_decal_1", + decal2 = "set_floor_decal_2", + decal4 = "set_floor_decal_3", + decal3 = "set_floor_decal_4", + decal5 = "set_floor_decal_5", + decal6 = "set_floor_decal_6", + decal7 = "set_floor_decal_7", + decal8 = "set_floor_decal_8", + decal9 = "set_floor_decal_9", + + Set = function(decal, color, refresh) + if color == nil then + color = 1 + end + + SmugglerHangar.Floor.Decals.Clear(false) + + SetIplPropState(SmugglerHangar.interiorId, decal, true, refresh) + SetInteriorPropColor(SmugglerHangar.interiorId, decal, color) + end, + Clear = function(refresh) + SetIplPropState(SmugglerHangar.interiorId, { + SmugglerHangar.Floor.Decals.decal1, + SmugglerHangar.Floor.Decals.decal2, + SmugglerHangar.Floor.Decals.decal3, + SmugglerHangar.Floor.Decals.decal4, + SmugglerHangar.Floor.Decals.decal5, + SmugglerHangar.Floor.Decals.decal6, + SmugglerHangar.Floor.Decals.decal7, + SmugglerHangar.Floor.Decals.decal8, + SmugglerHangar.Floor.Decals.decal9 + }, false, refresh) + end + } + }, + Cranes = { + on = "set_crane_tint", + off = "", + + Set = function(crane, color, refresh) + SmugglerHangar.Cranes.Clear() + + if crane ~= "" then + SetIplPropState(SmugglerHangar.interiorId, crane, true, refresh) + SetInteriorPropColor(SmugglerHangar.interiorId, crane, color) + else + if refresh then + RefreshInterior(SmugglerHangar.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(SmugglerHangar.interiorId, SmugglerHangar.Cranes.default, false, refresh) + end + }, + ModArea = { + on = "set_modarea", + off = "", + + Set = function(mod, color, refresh) + if color == nil then + color = 1 + end + + SmugglerHangar.ModArea.Clear(false) + + if mod ~= "" then + SetIplPropState(SmugglerHangar.interiorId, mod, true, refresh) + SetInteriorPropColor(SmugglerHangar.interiorId, mod, color) + else + if refresh then + RefreshInterior(SmugglerHangar.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(SmugglerHangar.interiorId, SmugglerHangar.ModArea.mod, false, refresh) + end + }, + Office = { + basic = "set_office_basic", + modern = "set_office_modern", + traditional = "set_office_traditional", + + Set = function(office, refresh) + SmugglerHangar.Office.Clear(false) + + SetIplPropState(SmugglerHangar.interiorId, office, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(SmugglerHangar.interiorId, { + SmugglerHangar.Office.basic, + SmugglerHangar.Office.modern, + SmugglerHangar.Office.traditional + }, false, refresh) + end + }, + Bedroom = { + Style = { + none = "", + modern = { + "set_bedroom_modern", + "set_bedroom_tint" + }, + traditional = { + "set_bedroom_traditional", + "set_bedroom_tint" + }, + + Set = function(bed, color, refresh) + if color == nil then + color = 1 + end + + SmugglerHangar.Bedroom.Style.Clear(false) + + if bed ~= "" then + SetIplPropState(SmugglerHangar.interiorId, bed, true, refresh) + SetInteriorPropColor(SmugglerHangar.interiorId, "set_bedroom_tint", color) + else + if refresh then + RefreshInterior(SmugglerHangar.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(SmugglerHangar.interiorId, { + SmugglerHangar.Bedroom.Style.modern, + SmugglerHangar.Bedroom.Style.traditional + }, false, refresh) + end + }, + Blinds = { + none = "", + opened = "set_bedroom_blinds_open", + closed = "set_bedroom_blinds_closed", + + Set = function(blinds, refresh) + SmugglerHangar.Bedroom.Blinds.Clear(false) + + if blinds ~= "" then + SetIplPropState(SmugglerHangar.interiorId, blinds, true, refresh) + else + if refresh then + RefreshInterior(SmugglerHangar.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(SmugglerHangar.interiorId, { + SmugglerHangar.Bedroom.Blinds.opened, + SmugglerHangar.Bedroom.Blinds.closed + }, false, refresh) + end + } + }, + Lighting = { + FakeLights = { + none = "", + yellow = 2, + blue = 1, + white = 0, + + Set = function(light, refresh) + SmugglerHangar.Lighting.FakeLights.Clear(false) + + if light ~= "" then + SetIplPropState(SmugglerHangar.interiorId, "set_lighting_tint_props", true, refresh) + SetInteriorPropColor(SmugglerHangar.interiorId, "set_lighting_tint_props", light) + else + if refresh then + RefreshInterior(SmugglerHangar.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(SmugglerHangar.interiorId, "set_lighting_tint_props", false, refresh) + end + }, + Ceiling = { + none = "", + yellow = "set_lighting_hangar_a", + blue = "set_lighting_hangar_b", + white = "set_lighting_hangar_c", + + Set = function(light, refresh) + SmugglerHangar.Lighting.Ceiling.Clear(false) + + if light ~= "" then + SetIplPropState(SmugglerHangar.interiorId, light, true, refresh) + else + if refresh then + RefreshInterior(SmugglerHangar.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(SmugglerHangar.interiorId, { + SmugglerHangar.Lighting.Ceiling.yellow, + SmugglerHangar.Lighting.Ceiling.blue, + SmugglerHangar.Lighting.Ceiling.white + }, false, refresh) + end + }, + Walls = { + none = "", + neutral = "set_lighting_wall_neutral", + blue = "set_lighting_wall_tint01", + orange = "set_lighting_wall_tint02", + lightYellow = "set_lighting_wall_tint03", + lightYellow2 = "set_lighting_wall_tint04", + dimmed = "set_lighting_wall_tint05", + strongYellow = "set_lighting_wall_tint06", + white = "set_lighting_wall_tint07", + lightGreen = "set_lighting_wall_tint08", + yellow = "set_lighting_wall_tint09", + + Set = function(light, refresh) + SmugglerHangar.Lighting.Walls.Clear(false) + + if light ~= "" then + SetIplPropState(SmugglerHangar.interiorId, light, true, refresh) + else + if refresh then + RefreshInterior(SmugglerHangar.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(SmugglerHangar.interiorId, { + SmugglerHangar.Lighting.Walls.neutral, + SmugglerHangar.Lighting.Walls.blue, + SmugglerHangar.Lighting.Walls.orange, + SmugglerHangar.Lighting.Walls.lightYellow, + SmugglerHangar.Lighting.Walls.lightYellow2, + SmugglerHangar.Lighting.Walls.dimmed, + SmugglerHangar.Lighting.Walls.strongYellow, + SmugglerHangar.Lighting.Walls.white, + SmugglerHangar.Lighting.Walls.lightGreen, + SmugglerHangar.Lighting.Walls.yellow + }, false, refresh) + end + } + }, + Details = { + bedroomClutter = "set_bedroom_clutter", + + Enable = function(details, state, refresh) + SetIplPropState(SmugglerHangar.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + SmugglerHangar.Ipl.Interior.Load() + + SmugglerHangar.Walls.SetColor(SmugglerHangar.Colors.colorSet1) + SmugglerHangar.Cranes.Set(SmugglerHangar.Cranes.on, SmugglerHangar.Colors.colorSet1) + SmugglerHangar.Floor.Style.Set(SmugglerHangar.Floor.Style.plain) + SmugglerHangar.Floor.Decals.Set(SmugglerHangar.Floor.Decals.decal1, SmugglerHangar.Colors.colorSet1) + + SmugglerHangar.Lighting.Ceiling.Set(SmugglerHangar.Lighting.Ceiling.yellow) + SmugglerHangar.Lighting.Walls.Set(SmugglerHangar.Lighting.Walls.neutral) + SmugglerHangar.Lighting.FakeLights.Set(SmugglerHangar.Lighting.FakeLights.yellow) + + SmugglerHangar.ModArea.Set(SmugglerHangar.ModArea.on, SmugglerHangar.Colors.colorSet1) + + SmugglerHangar.Office.Set(SmugglerHangar.Office.basic) + + SmugglerHangar.Bedroom.Style.Set(SmugglerHangar.Bedroom.Style.modern, SmugglerHangar.Colors.colorSet1) + SmugglerHangar.Bedroom.Blinds.Set(SmugglerHangar.Bedroom.Blinds.opened) + + SmugglerHangar.Details.Enable(SmugglerHangar.Details.bedroomClutter, false) + + RefreshInterior(SmugglerHangar.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_tuner/garage.lua b/resources/[standalone]/bob74_ipl/dlc_tuner/garage.lua new file mode 100644 index 0000000..d7f38a4 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_tuner/garage.lua @@ -0,0 +1,94 @@ +exports('GetTunerGarageObject', function() + return TunerGarage +end) + +TunerGarage = { + InteriorId = 285953, + + Ipl = { + Interior = { + ipl = { + 'tr_tuner_shop_burton', + 'tr_tuner_shop_mesa', + 'tr_tuner_shop_mission', + 'tr_tuner_shop_rancho', + 'tr_tuner_shop_strawberry' + } + }, + + Load = function() + EnableIpl(TunerGarage.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(TunerGarage.Ipl.Interior.ipl, false) + end, + }, + Entities = { + entity_set_bedroom = true, + entity_set_bedroom_empty = false, + entity_set_bombs = true, + entity_set_box_clutter = false, + entity_set_cabinets = false, + entity_set_car_lift_cutscene = true, + entity_set_car_lift_default = true, + entity_set_car_lift_purchase = true, + entity_set_chalkboard = false, + entity_set_container = false, + entity_set_cut_seats = false, + entity_set_def_table = false, + entity_set_drive = true, + entity_set_ecu = true, + entity_set_IAA = true, + entity_set_jammers = true, + entity_set_laptop = true, + entity_set_lightbox = true, + entity_set_methLab = false, + entity_set_plate = true, + entity_set_scope = true, + entity_set_style_1 = false, + entity_set_style_2 = false, + entity_set_style_3 = false, + entity_set_style_4 = false, + entity_set_style_5 = false, + entity_set_style_6 = false, + entity_set_style_7 = false, + entity_set_style_8 = false, + entity_set_style_9 = true, + entity_set_table = false, + entity_set_thermal = true, + entity_set_tints = true, + entity_set_train = true, + entity_set_virus = true, + + Set = function(name, state) + for entity, _ in pairs(TunerGarage.Entities) do + if entity == name then + TunerGarage.Entities[entity] = state + TunerGarage.Entities.Clear() + TunerGarage.Entities.Load() + end + end + end, + Load = function() + for entity, state in pairs(TunerGarage.Entities) do + if type(entity) == 'string' and state then + ActivateInteriorEntitySet(TunerGarage.InteriorId, entity) + end + end + end, + Clear = function() + for entity, _ in pairs(TunerGarage.Entities) do + if type(entity) == 'string' then + DeactivateInteriorEntitySet(TunerGarage.InteriorId, entity) + end + end + end + }, + + LoadDefault = function() + TunerGarage.Ipl.Load() + TunerGarage.Entities.Load() + + RefreshInterior(TunerGarage.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_tuner/meetup.lua b/resources/[standalone]/bob74_ipl/dlc_tuner/meetup.lua new file mode 100644 index 0000000..3048478 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_tuner/meetup.lua @@ -0,0 +1,64 @@ +exports('GetTunerMeetupObject', function() + return TunerMeetup +end) + +TunerMeetup = { + InteriorId = 285697, + + Ipl = { + Interior = { + ipl = { + 'tr_tuner_meetup', + 'tr_tuner_race_line' + } + }, + + Load = function() + EnableIpl(TunerMeetup.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(TunerMeetup.Ipl.Interior.ipl, false) + end + }, + Entities = { + entity_set_meet_crew = true, + entity_set_meet_lights = true, + entity_set_meet_lights_cheap = true, + entity_set_player = true, + entity_set_test_crew = false, + entity_set_test_lights = true, + entity_set_test_lights_cheap = true, + entity_set_time_trial = true, + + Set = function(name, state) + for entity, _ in pairs(TunerMeetup.Entities) do + if entity == name then + TunerMeetup.Entities[entity] = state + TunerMeetup.Entities.Clear() + TunerMeetup.Entities.Load() + end + end + end, + Load = function() + for entity, state in pairs(TunerMeetup.Entities) do + if type(entity) == 'string' and state then + ActivateInteriorEntitySet(TunerMeetup.InteriorId, entity) + end + end + end, + Clear = function() + for entity, _ in pairs(TunerMeetup.Entities) do + if type(entity) == 'string' then + DeactivateInteriorEntitySet(TunerMeetup.InteriorId, entity) + end + end + end + }, + + LoadDefault = function() + TunerMeetup.Ipl.Load() + TunerMeetup.Entities.Load() + + RefreshInterior(TunerMeetup.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/dlc_tuner/methlab.lua b/resources/[standalone]/bob74_ipl/dlc_tuner/methlab.lua new file mode 100644 index 0000000..cd8a06e --- /dev/null +++ b/resources/[standalone]/bob74_ipl/dlc_tuner/methlab.lua @@ -0,0 +1,42 @@ +exports('GetTunerMethLabObject', function() + return TunerMethLab +end) + +TunerMethLab = { + InteriorId = 284673, + + Entities = { + tintable_walls = true, + + Set = function(name, state) + for entity, _ in pairs(TunerMethLab.Entities) do + if entity == name then + TunerMethLab.Entities[entity] = state + TunerMethLab.Entities.Clear() + TunerMethLab.Entities.Load() + end + end + end, + Load = function() + for entity, state in pairs(TunerMethLab.Entities) do + if type(entity) == 'string' and state then + ActivateInteriorEntitySet(TunerMethLab.InteriorId, entity) + end + end + end, + Clear = function() + for entity, _ in pairs(TunerMethLab.Entities) do + if type(entity) == 'string' then + DeactivateInteriorEntitySet(TunerMethLab.InteriorId, entity) + end + end + end + }, + + LoadDefault = function() + TunerMethLab.Entities.Load() + + SetInteriorEntitySetColor(TunerMethLab.interiorId, TunerMethLab.Entities.tintable_walls, 3) + RefreshInterior(TunerMethLab.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/fxmanifest.lua b/resources/[standalone]/bob74_ipl/fxmanifest.lua new file mode 100644 index 0000000..96ddb25 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/fxmanifest.lua @@ -0,0 +1,130 @@ +-- Resources: +-- ********** +-- IPL list: https://wiki.rage.mp/index.php?title=Interiors_and_Locations + +fx_version 'cerulean' +game 'gta5' + +author 'Bob_74' +description 'Load and customize your map' +version '2.0.15' + +lua54 "yes" + +client_scripts { + "lib/common.lua" + , "lib/observers/interiorIdObserver.lua" + , "lib/observers/officeSafeDoorHandler.lua" + , "client.lua" + + -- GTA V + , "gtav/base.lua" -- Base IPLs to fix holes + , "gtav/ammunations.lua" + , "gtav/bahama.lua" + , "gtav/floyd.lua" + , "gtav/franklin.lua" + , "gtav/franklin_aunt.lua" + , "gtav/graffitis.lua" + -- , "gtav/pillbox_hospital.lua" + , "gtav/lester_factory.lua" + , "gtav/michael.lua" + , "gtav/north_yankton.lua" + , "gtav/red_carpet.lua" + , "gtav/simeon.lua" + , "gtav/stripclub.lua" + , "gtav/trevors_trailer.lua" + , "gtav/ufo.lua" + , "gtav/zancudo_gates.lua" + + -- GTA Online + , "gta_online/apartment_hi_1.lua" + , "gta_online/apartment_hi_2.lua" + , "gta_online/house_hi_1.lua" + , "gta_online/house_hi_2.lua" + , "gta_online/house_hi_3.lua" + , "gta_online/house_hi_4.lua" + , "gta_online/house_hi_5.lua" + , "gta_online/house_hi_6.lua" + , "gta_online/house_hi_7.lua" + , "gta_online/house_hi_8.lua" + , "gta_online/house_mid_1.lua" + , "gta_online/house_low_1.lua" + + -- DLC High Life + , "dlc_high_life/apartment1.lua" + , "dlc_high_life/apartment2.lua" + , "dlc_high_life/apartment3.lua" + , "dlc_high_life/apartment4.lua" + , "dlc_high_life/apartment5.lua" + , "dlc_high_life/apartment6.lua" + + -- DLC Heists + , "dlc_heists/carrier.lua" + , "dlc_heists/yacht.lua" + + -- DLC Executives & Other Criminals + , "dlc_executive/apartment1.lua" + , "dlc_executive/apartment2.lua" + , "dlc_executive/apartment3.lua" + + -- DLC Finance & Felony + , "dlc_finance/office1.lua" + , "dlc_finance/office2.lua" + , "dlc_finance/office3.lua" + , "dlc_finance/office4.lua" + , "dlc_finance/organization.lua" + + -- DLC Bikers + , "dlc_bikers/cocaine.lua" + , "dlc_bikers/counterfeit_cash.lua" + , "dlc_bikers/document_forgery.lua" + , "dlc_bikers/meth.lua" + , "dlc_bikers/weed.lua" + , "dlc_bikers/clubhouse1.lua" + , "dlc_bikers/clubhouse2.lua" + , "dlc_bikers/gang.lua" + + -- DLC Import/Export + , "dlc_import/garage1.lua" + , "dlc_import/garage2.lua" + , "dlc_import/garage3.lua" + , "dlc_import/garage4.lua" + , "dlc_import/vehicle_warehouse.lua" + + -- DLC Gunrunning + , "dlc_gunrunning/bunkers.lua" + , "dlc_gunrunning/yacht.lua" + + -- DLC Smuggler's Run + , "dlc_smuggler/hangar.lua" + + -- DLC Doomsday Heist + , "dlc_doomsday/facility.lua" + + -- DLC After Hours + , "dlc_afterhours/nightclubs.lua" + + -- DLC Diamond Casino (Requires forced build 2060 or higher) + , "dlc_casino/casino.lua" + , "dlc_casino/penthouse.lua" + + -- DLC Tuners (Requires forced build 2372 or higher) + , "dlc_tuner/garage.lua" + , "dlc_tuner/meetup.lua" + , "dlc_tuner/methlab.lua" + + -- DLC The Contract (Requires forced build 2545 or higher) + , "dlc_security/studio.lua" + , "dlc_security/billboards.lua" + , "dlc_security/musicrooftop.lua" + , "dlc_security/garage.lua" + , "dlc_security/office1.lua" + , "dlc_security/office2.lua" + , "dlc_security/office3.lua" + , "dlc_security/office4.lua" + + -- DLC The Criminal Enterprises (Requires forced build 2699 or higher) + , "gta_mpsum2/simeonfix.lua" + , "gta_mpsum2/vehicle_warehouse.lua" + , "gta_mpsum2/warehouse.lua" +} diff --git a/resources/[standalone]/bob74_ipl/gta_mpsum2/simeonfix.lua b/resources/[standalone]/bob74_ipl/gta_mpsum2/simeonfix.lua new file mode 100644 index 0000000..346bbee --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gta_mpsum2/simeonfix.lua @@ -0,0 +1,55 @@ +exports('GetCriminalEnterpriseSmeonFixObject', function() + return CriminalEnterpriseSmeonFix +end) + +CriminalEnterpriseSmeonFix = { + InteriorId = 7170, + + Ipl = { + Interior = { + ipl = { + 'reh_simeonfix', + } + }, + + Load = function() + EnableIpl(CriminalEnterpriseSmeonFix.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(CriminalEnterpriseSmeonFix.Ipl.Interior.ipl, false) + end + }, + Entities = { + + Set = function(name, state) + for entity, _ in pairs(CriminalEnterpriseSmeonFix.Entities) do + if entity == name then + CriminalEnterpriseSmeonFix.Entities[entity] = state + CriminalEnterpriseSmeonFix.Entities.Clear() + CriminalEnterpriseSmeonFix.Entities.Load() + end + end + end, + Load = function() + for entity, state in pairs(CriminalEnterpriseSmeonFix.Entities) do + if type(entity) == 'string' and state then + ActivateInteriorEntitySet(CriminalEnterpriseSmeonFix.InteriorId, entity) + end + end + end, + Clear = function() + for entity, _ in pairs(CriminalEnterpriseSmeonFix.Entities) do + if type(entity) == 'string' then + DeactivateInteriorEntitySet(CriminalEnterpriseSmeonFix.InteriorId, entity) + end + end + end + }, + + LoadDefault = function() + CriminalEnterpriseSmeonFix.Ipl.Load() + CriminalEnterpriseSmeonFix.Entities.Load() + + RefreshInterior(CriminalEnterpriseSmeonFix.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gta_mpsum2/vehicle_warehouse.lua b/resources/[standalone]/bob74_ipl/gta_mpsum2/vehicle_warehouse.lua new file mode 100644 index 0000000..81fdcf0 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gta_mpsum2/vehicle_warehouse.lua @@ -0,0 +1,60 @@ +exports('GetCriminalEnterpriseVehicleWarehouseObject', function() + return CriminalEnterpriseVehicleWarehouse +end) + +CriminalEnterpriseVehicleWarehouse = { + InteriorId = 289537, + + Ipl = { + Interior = { + ipl = { + 'reh_int_placement_sum2_interior_0_dlc_int_03_sum2_milo_', + } + }, + + Load = function() + EnableIpl(CriminalEnterpriseVehicleWarehouse.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(CriminalEnterpriseVehicleWarehouse.Ipl.Interior.ipl, false) + end + }, + Entities = { + entity_set_office = true, + entity_set_light_option_1 = true, + entity_set_light_option_2 = true, + entity_set_light_option_3 = true, + entity_set_tint_options = true, + + Set = function(name, state) + for entity, _ in pairs(CriminalEnterpriseVehicleWarehouse.Entities) do + if entity == name then + CriminalEnterpriseVehicleWarehouse.Entities[entity] = state + CriminalEnterpriseVehicleWarehouse.Entities.Clear() + CriminalEnterpriseVehicleWarehouse.Entities.Load() + end + end + end, + Load = function() + for entity, state in pairs(CriminalEnterpriseVehicleWarehouse.Entities) do + if type(entity) == 'string' and state then + ActivateInteriorEntitySet(CriminalEnterpriseVehicleWarehouse.InteriorId, entity) + end + end + end, + Clear = function() + for entity, _ in pairs(CriminalEnterpriseVehicleWarehouse.Entities) do + if type(entity) == 'string' then + DeactivateInteriorEntitySet(CriminalEnterpriseVehicleWarehouse.InteriorId, entity) + end + end + end + }, + + LoadDefault = function() + CriminalEnterpriseVehicleWarehouse.Ipl.Load() + CriminalEnterpriseVehicleWarehouse.Entities.Load() + + RefreshInterior(CriminalEnterpriseVehicleWarehouse.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gta_mpsum2/warehouse.lua b/resources/[standalone]/bob74_ipl/gta_mpsum2/warehouse.lua new file mode 100644 index 0000000..15dbaff --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gta_mpsum2/warehouse.lua @@ -0,0 +1,60 @@ +exports('GetCriminalEnterpriseWarehouseObject', function() + return CriminalEnterpriseWarehouse +end) + +CriminalEnterpriseWarehouse = { + InteriorId = 289793, + + Ipl = { + Interior = { + ipl = { + 'reh_int_placement_sum2_interior_1_dlc_int_04_sum2_milo_', + } + }, + + Load = function() + EnableIpl(CriminalEnterpriseWarehouse.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(CriminalEnterpriseWarehouse.Ipl.Interior.ipl, false) + end + }, + Entities = { + entity_set_style_1 = false, + entity_set_style_2 = false, + entity_set_style_3 = false, + entity_set_style_4 = false, + entity_set_style_5 = true, + + Set = function(name, state) + for entity, _ in pairs(CriminalEnterpriseWarehouse.Entities) do + if entity == name then + CriminalEnterpriseWarehouse.Entities[entity] = state + CriminalEnterpriseWarehouse.Entities.Clear() + CriminalEnterpriseWarehouse.Entities.Load() + end + end + end, + Load = function() + for entity, state in pairs(CriminalEnterpriseWarehouse.Entities) do + if type(entity) == 'string' and state then + ActivateInteriorEntitySet(CriminalEnterpriseWarehouse.InteriorId, entity) + end + end + end, + Clear = function() + for entity, _ in pairs(CriminalEnterpriseWarehouse.Entities) do + if type(entity) == 'string' then + DeactivateInteriorEntitySet(CriminalEnterpriseWarehouse.InteriorId, entity) + end + end + end + }, + + LoadDefault = function() + CriminalEnterpriseWarehouse.Ipl.Load() + CriminalEnterpriseWarehouse.Entities.Load() + + RefreshInterior(CriminalEnterpriseWarehouse.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gta_online/apartment_hi_1.lua b/resources/[standalone]/bob74_ipl/gta_online/apartment_hi_1.lua new file mode 100644 index 0000000..7729a61 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gta_online/apartment_hi_1.lua @@ -0,0 +1,56 @@ +-- 4 Integrity Way, Apt 30 +-- High end apartment 1: -35.31277 -580.4199 88.71221 +exports('GetGTAOApartmentHi1Object', function() + return GTAOApartmentHi1 +end) + +GTAOApartmentHi1 = { + interiorId = 141313, + + Strip = { + A = "Apart_Hi_Strip_A", + B = "Apart_Hi_Strip_B", + C = "Apart_Hi_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOApartmentHi1.interiorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Hi_Booze_A", + B = "Apart_Hi_Booze_B", + C = "Apart_Hi_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOApartmentHi1.interiorId, details, state, refresh) + end + }, + Smoke = { + A = "Apart_Hi_Smokes_A", + B = "Apart_Hi_Smokes_B", + C = "Apart_Hi_Smokes_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOApartmentHi1.interiorId, details, state, refresh) + end + }, + LoadDefault = function() + GTAOApartmentHi1.Strip.Enable({ + GTAOApartmentHi1.Strip.A, + GTAOApartmentHi1.Strip.B, + GTAOApartmentHi1.Strip.C + }, false) + GTAOApartmentHi1.Booze.Enable({ + GTAOApartmentHi1.Booze.A, + GTAOApartmentHi1.Booze.B, + GTAOApartmentHi1.Booze.C + }, false) + GTAOApartmentHi1.Smoke.Enable({ + GTAOApartmentHi1.Smoke.A, + GTAOApartmentHi1.Smoke.B, + GTAOApartmentHi1.Smoke.C + }, false) + + RefreshInterior(GTAOApartmentHi1.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gta_online/apartment_hi_2.lua b/resources/[standalone]/bob74_ipl/gta_online/apartment_hi_2.lua new file mode 100644 index 0000000..733a238 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gta_online/apartment_hi_2.lua @@ -0,0 +1,57 @@ +-- Dell Perro Heights, Apt 7 +-- High end apartment 2: -1477.14 -538.7499 55.5264 +exports('GetGTAOApartmentHi2Object', function() + return GTAOApartmentHi2 +end) + +GTAOApartmentHi2 = { + interiorId = 145665, + + Strip = { + A = "Apart_Hi_Strip_A", + B = "Apart_Hi_Strip_B", + C = "Apart_Hi_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOApartmentHi2.interiorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Hi_Booze_A", + B = "Apart_Hi_Booze_B", + C = "Apart_Hi_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOApartmentHi2.interiorId, details, state, refresh) + end + }, + Smoke = { + A = "Apart_Hi_Smokes_A", + B = "Apart_Hi_Smokes_B", + C = "Apart_Hi_Smokes_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOApartmentHi2.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + GTAOApartmentHi2.Strip.Enable({ + GTAOApartmentHi2.Strip.A, + GTAOApartmentHi2.Strip.B, + GTAOApartmentHi2.Strip.C + }, false) + GTAOApartmentHi2.Booze.Enable({ + GTAOApartmentHi2.Booze.A, + GTAOApartmentHi2.Booze.B, + GTAOApartmentHi2.Booze.C + }, false) + GTAOApartmentHi2.Smoke.Enable({ + GTAOApartmentHi2.Smoke.A, + GTAOApartmentHi2.Smoke.B, + GTAOApartmentHi2.Smoke.C + }, false) + + RefreshInterior(GTAOApartmentHi2.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gta_online/house_hi_1.lua b/resources/[standalone]/bob74_ipl/gta_online/house_hi_1.lua new file mode 100644 index 0000000..ee5b73e --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gta_online/house_hi_1.lua @@ -0,0 +1,57 @@ +-- 3655 Wild Oats Drive +-- High end house 1: -169.286 486.4938 137.4436 +exports('GetGTAOHouseHi1Object', function() + return GTAOHouseHi1 +end) + +GTAOHouseHi1 = { + interiorId = 207105, + + Strip = { + A = "Apart_Hi_Strip_A", + B = "Apart_Hi_Strip_B", + C = "Apart_Hi_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi1.interiorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Hi_Booze_A", + B = "Apart_Hi_Booze_B", + C = "Apart_Hi_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi1.interiorId, details, state, refresh) + end + }, + Smoke = { + A = "Apart_Hi_Smokes_A", + B = "Apart_Hi_Smokes_B", + C = "Apart_Hi_Smokes_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi1.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + GTAOHouseHi1.Strip.Enable({ + GTAOHouseHi1.Strip.A, + GTAOHouseHi1.Strip.B, + GTAOHouseHi1.Strip.C + }, false) + GTAOHouseHi1.Booze.Enable({ + GTAOHouseHi1.Booze.A, + GTAOHouseHi1.Booze.B, + GTAOHouseHi1.Booze.C + }, false) + GTAOHouseHi1.Smoke.Enable({ + GTAOHouseHi1.Smoke.A, + GTAOHouseHi1.Smoke.B, + GTAOHouseHi1.Smoke.C + }, false) + + RefreshInterior(GTAOHouseHi1.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gta_online/house_hi_2.lua b/resources/[standalone]/bob74_ipl/gta_online/house_hi_2.lua new file mode 100644 index 0000000..e1c9296 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gta_online/house_hi_2.lua @@ -0,0 +1,57 @@ +-- 2044 North Conker Avenue +-- High end house 2: 340.9412 437.1798 149.3925 +exports('GetGTAOHouseHi2Object', function() + return GTAOHouseHi2 +end) + +GTAOHouseHi2 = { + interiorId = 206081, + + Strip = { + A = "Apart_Hi_Strip_A", + B = "Apart_Hi_Strip_B", + C = "Apart_Hi_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi2.interiorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Hi_Booze_A", + B = "Apart_Hi_Booze_B", + C = "Apart_Hi_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi2.interiorId, details, state, refresh) + end + }, + Smoke = { + A = "Apart_Hi_Smokes_A", + B = "Apart_Hi_Smokes_B", + C = "Apart_Hi_Smokes_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi2.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + GTAOHouseHi2.Strip.Enable({ + GTAOHouseHi2.Strip.A, + GTAOHouseHi2.Strip.B, + GTAOHouseHi2.Strip.C + }, false) + GTAOHouseHi2.Booze.Enable({ + GTAOHouseHi2.Booze.A, + GTAOHouseHi2.Booze.B, + GTAOHouseHi2.Booze.C + }, false) + GTAOHouseHi2.Smoke.Enable({ + GTAOHouseHi2.Smoke.A, + GTAOHouseHi2.Smoke.B, + GTAOHouseHi2.Smoke.C + }, false) + + RefreshInterior(GTAOHouseHi2.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gta_online/house_hi_3.lua b/resources/[standalone]/bob74_ipl/gta_online/house_hi_3.lua new file mode 100644 index 0000000..f8bec5e --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gta_online/house_hi_3.lua @@ -0,0 +1,57 @@ +-- 2045 North Conker Avenue +-- High end house 3: 373.023 416.105 145.7006 +exports('GetGTAOHouseHi3Object', function() + return GTAOHouseHi3 +end) + +GTAOHouseHi3 = { + interiorId = 206337, + + Strip = { + A = "Apart_Hi_Strip_A", + B = "Apart_Hi_Strip_B", + C = "Apart_Hi_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi3.interiorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Hi_Booze_A", + B = "Apart_Hi_Booze_B", + C = "Apart_Hi_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi3.interiorId, details, state, refresh) + end + }, + Smoke = { + A = "Apart_Hi_Smokes_A", + B = "Apart_Hi_Smokes_B", + C = "Apart_Hi_Smokes_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi3.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + GTAOHouseHi3.Strip.Enable({ + GTAOHouseHi3.Strip.A, + GTAOHouseHi3.Strip.B, + GTAOHouseHi3.Strip.C + }, false) + GTAOHouseHi3.Booze.Enable({ + GTAOHouseHi3.Booze.A, + GTAOHouseHi3.Booze.B, + GTAOHouseHi3.Booze.C + }, false) + GTAOHouseHi3.Smoke.Enable({ + GTAOHouseHi3.Smoke.A, + GTAOHouseHi3.Smoke.B, + GTAOHouseHi3.Smoke.C + }, false) + + RefreshInterior(GTAOHouseHi3.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gta_online/house_hi_4.lua b/resources/[standalone]/bob74_ipl/gta_online/house_hi_4.lua new file mode 100644 index 0000000..6e3d024 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gta_online/house_hi_4.lua @@ -0,0 +1,57 @@ +-- 2862 Hillcrest Avenue +-- High end house 4: -676.127 588.612 145.1698 +exports('GetGTAOHouseHi4Object', function() + return GTAOHouseHi4 +end) + +GTAOHouseHi4 = { + interiorId = 208129, + + Strip = { + A = "Apart_Hi_Strip_A", + B = "Apart_Hi_Strip_B", + C = "Apart_Hi_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi4.interiorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Hi_Booze_A", + B = "Apart_Hi_Booze_B", + C = "Apart_Hi_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi4.interiorId, details, state, refresh) + end + }, + Smoke = { + A = "Apart_Hi_Smokes_A", + B = "Apart_Hi_Smokes_B", + C = "Apart_Hi_Smokes_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi4.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + GTAOHouseHi4.Strip.Enable({ + GTAOHouseHi4.Strip.A, + GTAOHouseHi4.Strip.B, + GTAOHouseHi4.Strip.C + }, false) + GTAOHouseHi4.Booze.Enable({ + GTAOHouseHi4.Booze.A, + GTAOHouseHi4.Booze.B, + GTAOHouseHi4.Booze.C + }, false) + GTAOHouseHi4.Smoke.Enable({ + GTAOHouseHi4.Smoke.A, + GTAOHouseHi4.Smoke.B, + GTAOHouseHi4.Smoke.C + }, false) + + RefreshInterior(GTAOHouseHi4.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gta_online/house_hi_5.lua b/resources/[standalone]/bob74_ipl/gta_online/house_hi_5.lua new file mode 100644 index 0000000..1d5f425 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gta_online/house_hi_5.lua @@ -0,0 +1,57 @@ +-- 2868 Hillcrest Avenue +-- High end house 5: -763.107 615.906 144.1401 +exports('GetGTAOHouseHi5Object', function() + return GTAOHouseHi5 +end) + +GTAOHouseHi5 = { + interiorId = 207617, + + Strip = { + A = "Apart_Hi_Strip_A", + B = "Apart_Hi_Strip_B", + C = "Apart_Hi_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi5.interiorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Hi_Booze_A", + B = "Apart_Hi_Booze_B", + C = "Apart_Hi_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi5.interiorId, details, state, refresh) + end + }, + Smoke = { + A = "Apart_Hi_Smokes_A", + B = "Apart_Hi_Smokes_B", + C = "Apart_Hi_Smokes_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi5.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + GTAOHouseHi5.Strip.Enable({ + GTAOHouseHi5.Strip.A, + GTAOHouseHi5.Strip.B, + GTAOHouseHi5.Strip.C + }, false) + GTAOHouseHi5.Booze.Enable({ + GTAOHouseHi5.Booze.A, + GTAOHouseHi5.Booze.B, + GTAOHouseHi5.Booze.C + }, false) + GTAOHouseHi5.Smoke.Enable({ + GTAOHouseHi5.Smoke.A, + GTAOHouseHi5.Smoke.B, + GTAOHouseHi5.Smoke.C + }, false) + + RefreshInterior(GTAOHouseHi5.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gta_online/house_hi_6.lua b/resources/[standalone]/bob74_ipl/gta_online/house_hi_6.lua new file mode 100644 index 0000000..1243311 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gta_online/house_hi_6.lua @@ -0,0 +1,57 @@ +-- 2874 Hillcrest Avenue +-- High end house 6: -857.798 682.563 152.6529 +exports('GetGTAOHouseHi6Object', function() + return GTAOHouseHi6 +end) + +GTAOHouseHi6 = { + interiorId = 207361, + + Strip = { + A = "Apart_Hi_Strip_A", + B = "Apart_Hi_Strip_B", + C = "Apart_Hi_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi6.interiorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Hi_Booze_A", + B = "Apart_Hi_Booze_B", + C = "Apart_Hi_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi6.interiorId, details, state, refresh) + end + }, + Smoke = { + A = "Apart_Hi_Smokes_A", + B = "Apart_Hi_Smokes_B", + C = "Apart_Hi_Smokes_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi6.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + GTAOHouseHi6.Strip.Enable({ + GTAOHouseHi6.Strip.A, + GTAOHouseHi6.Strip.B, + GTAOHouseHi6.Strip.C + }, false) + GTAOHouseHi6.Booze.Enable({ + GTAOHouseHi6.Booze.A, + GTAOHouseHi6.Booze.B, + GTAOHouseHi6.Booze.C + }, false) + GTAOHouseHi6.Smoke.Enable({ + GTAOHouseHi6.Smoke.A, + GTAOHouseHi6.Smoke.B, + GTAOHouseHi6.Smoke.C + }, false) + + RefreshInterior(GTAOHouseHi6.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gta_online/house_hi_7.lua b/resources/[standalone]/bob74_ipl/gta_online/house_hi_7.lua new file mode 100644 index 0000000..8f50a34 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gta_online/house_hi_7.lua @@ -0,0 +1,57 @@ +-- 2677 Whispymound Drive +-- High end house 7: 120.5 549.952 184.097 +exports('GetGTAOHouseHi7Object', function() + return GTAOHouseHi7 +end) + +GTAOHouseHi7 = { + interiorId = 206593, + + Strip = { + A = "Apart_Hi_Strip_A", + B = "Apart_Hi_Strip_B", + C = "Apart_Hi_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi7.interiorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Hi_Booze_A", + B = "Apart_Hi_Booze_B", + C = "Apart_Hi_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi7.interiorId, details, state, refresh) + end + }, + Smoke = { + A = "Apart_Hi_Smokes_A", + B = "Apart_Hi_Smokes_B", + C = "Apart_Hi_Smokes_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi7.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + GTAOHouseHi7.Strip.Enable({ + GTAOHouseHi7.Strip.A, + GTAOHouseHi7.Strip.B, + GTAOHouseHi7.Strip.C + }, false) + GTAOHouseHi7.Booze.Enable({ + GTAOHouseHi7.Booze.A, + GTAOHouseHi7.Booze.B, + GTAOHouseHi7.Booze.C + }, false) + GTAOHouseHi7.Smoke.Enable({ + GTAOHouseHi7.Smoke.A, + GTAOHouseHi7.Smoke.B, + GTAOHouseHi7.Smoke.C + }, false) + + RefreshInterior(GTAOHouseHi7.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gta_online/house_hi_8.lua b/resources/[standalone]/bob74_ipl/gta_online/house_hi_8.lua new file mode 100644 index 0000000..d830726 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gta_online/house_hi_8.lua @@ -0,0 +1,57 @@ +-- 2133 Mad Wayne Thunder +-- High end house 8: -1288 440.748 97.69459 +exports('GetGTAOHouseHi8Object', function() + return GTAOHouseHi8 +end) + +GTAOHouseHi8 = { + interiorId = 208385, + + Strip = { + A = "Apart_Hi_Strip_A", + B = "Apart_Hi_Strip_B", + C = "Apart_Hi_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi8.interiorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Hi_Booze_A", + B = "Apart_Hi_Booze_B", + C = "Apart_Hi_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi8.interiorId, details, state, refresh) + end + }, + Smoke = { + A = "Apart_Hi_Smokes_A", + B = "Apart_Hi_Smokes_B", + C = "Apart_Hi_Smokes_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseHi8.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + GTAOHouseHi8.Strip.Enable({ + GTAOHouseHi8.Strip.A, + GTAOHouseHi8.Strip.B, + GTAOHouseHi8.Strip.C + }, false) + GTAOHouseHi8.Booze.Enable({ + GTAOHouseHi8.Booze.A, + GTAOHouseHi8.Booze.B, + GTAOHouseHi8.Booze.C + }, false) + GTAOHouseHi8.Smoke.Enable({ + GTAOHouseHi8.Smoke.A, + GTAOHouseHi8.Smoke.B, + GTAOHouseHi8.Smoke.C + }, false) + + RefreshInterior(GTAOHouseHi8.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gta_online/house_low_1.lua b/resources/[standalone]/bob74_ipl/gta_online/house_low_1.lua new file mode 100644 index 0000000..4cf8165 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gta_online/house_low_1.lua @@ -0,0 +1,54 @@ +-- Low end house 1: 261.4586 -998.8196 -99.00863 +exports('GetGTAOHouseLow1Object', function() + return GTAOHouseLow1 +end) + +GTAOHouseLow1 = { + interiorId = 149761, + Strip = { + A = "Studio_Lo_Strip_A", B = "Studio_Lo_Strip_B", C = "Studio_Lo_Strip_C", + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseLow1.interiorId, details, state, refresh) + end + }, + Booze = { + A = "Studio_Lo_Booze_A", B = "Studio_Lo_Booze_B", C = "Studio_Lo_Booze_C", + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseLow1.interiorId, details, state, refresh) + end + }, + Smoke = { + none = "", stage1 = "Studio_Lo_Smoke_A", stage2 = "Studio_Lo_Smoke_B", stage3 = "Studio_Lo_Smoke_C", + Set = function(smoke, refresh) + GTAOHouseLow1.Smoke.Clear(false) + if smoke ~= nil then + SetIplPropState(GTAOHouseLow1.interiorId, smoke, true, refresh) + else + if refresh then RefreshInterior(GTAOHouseLow1.interiorId) end + end + end, + Clear = function(refresh) + SetIplPropState(GTAOHouseLow1.interiorId, { + GTAOHouseLow1.Smoke.stage1, + GTAOHouseLow1.Smoke.stage2, + GTAOHouseLow1.Smoke.stage3 + }, false, refresh) + end + }, + + LoadDefault = function() + GTAOHouseLow1.Strip.Enable({ + GTAOHouseLow1.Strip.A, + GTAOHouseLow1.Strip.B, + GTAOHouseLow1.Strip.C + }, false) + GTAOHouseLow1.Booze.Enable({ + GTAOHouseLow1.Booze.A, + GTAOHouseLow1.Booze.B, + GTAOHouseLow1.Booze.C + }, false) + GTAOHouseLow1.Smoke.Set(GTAOHouseLow1.Smoke.none) + + RefreshInterior(GTAOHouseLow1.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gta_online/house_mid_1.lua b/resources/[standalone]/bob74_ipl/gta_online/house_mid_1.lua new file mode 100644 index 0000000..adfd3a2 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gta_online/house_mid_1.lua @@ -0,0 +1,68 @@ +-- Middle end house 1: 347.2686 -999.2955 -99.19622 +exports('GetGTAOHouseMid1Object', function() + return GTAOHouseMid1 +end) + +GTAOHouseMid1 = { + interiorId = 148225, + + Strip = { + A = "Apart_Mid_Strip_A", + B = "Apart_Mid_Strip_B", + C = "Apart_Mid_Strip_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseMid1.interiorId, details, state, refresh) + end + }, + Booze = { + A = "Apart_Mid_Booze_A", + B = "Apart_Mid_Booze_B", + C = "Apart_Mid_Booze_C", + + Enable = function(details, state, refresh) + SetIplPropState(GTAOHouseMid1.interiorId, details, state, refresh) + end + }, + Smoke = { + none = "", + stage1 = "Apart_Mid_Smoke_A", + stage2 = "Apart_Mid_Smoke_B", + stage3 = "Apart_Mid_Smoke_C", + + Set = function(smoke, refresh) + GTAOHouseMid1.Smoke.Clear(false) + + if smoke ~= nil then + SetIplPropState(GTAOHouseMid1.interiorId, smoke, true, refresh) + else + if refresh then + RefreshInterior(GTAOHouseMid1.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(GTAOHouseMid1.interiorId, { + GTAOHouseMid1.Smoke.stage1, + GTAOHouseMid1.Smoke.stage2, + GTAOHouseMid1.Smoke.stage3 + }, false, refresh) + end + }, + + LoadDefault = function() + GTAOHouseMid1.Strip.Enable({ + GTAOHouseMid1.Strip.A, + GTAOHouseMid1.Strip.B, + GTAOHouseMid1.Strip.C + }, false) + GTAOHouseMid1.Booze.Enable({ + GTAOHouseMid1.Booze.A, + GTAOHouseMid1.Booze.B, + GTAOHouseMid1.Booze.C + }, false) + GTAOHouseMid1.Smoke.Set(GTAOHouseMid1.Smoke.none) + + RefreshInterior(GTAOHouseMid1.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gtav/ammunations.lua b/resources/[standalone]/bob74_ipl/gtav/ammunations.lua new file mode 100644 index 0000000..a746884 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gtav/ammunations.lua @@ -0,0 +1,39 @@ +exports('GetAmmunationsObject', function() + return Ammunations +end) + +Ammunations = { + ammunationsId = { + 140289, -- 249.8, -47.1, 70.0 + 153857, -- 844.0, -1031.5, 28.2 + 168193, -- -664.0, -939.2, 21.8 + 164609, -- -1308.7, -391.5, 36.7 + 176385, -- -3170.0, 1085.0, 20.8 + 175617, -- -1116.0, 2694.1, 18.6 + 200961, -- 1695.2, 3756.0, 34.7 + 180481, -- -328.7, 6079.0, 31.5 + 178689 -- 2569.8, 297.8, 108.7 + }, + gunclubsId = { + 137729, -- 19.1, -1110.0, 29.8 + 248065 -- 811.0, -2152.0, 29.6 + }, + + Details = { + hooks = "GunStoreHooks", -- Hooks for gun displaying + hooksClub = "GunClubWallHooks", -- Hooks for gun displaying + + Enable = function(details, state, refresh) + if details == Ammunations.Details.hooks then + SetIplPropState(Ammunations.ammunationsId, details, state, refresh) + elseif details == Ammunations.Details.hooksClub then + SetIplPropState(Ammunations.gunclubsId, details, state, refresh) + end + end + }, + + LoadDefault = function() + Ammunations.Details.Enable(Ammunations.Details.hooks, true, true) + Ammunations.Details.Enable(Ammunations.Details.hooksClub, true, true) + end +} diff --git a/resources/[standalone]/bob74_ipl/gtav/bahama.lua b/resources/[standalone]/bob74_ipl/gtav/bahama.lua new file mode 100644 index 0000000..a9a4638 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gtav/bahama.lua @@ -0,0 +1,12 @@ +-- Bahama Mamas: -1388.0013, -618.41967, 30.819599 +exports('GetBahamaMamasObject', function() + return BahamaMamas +end) + +BahamaMamas = { + ipl = "hei_sm_16_interior_v_bahama_milo_", + + Enable = function(state) + EnableIpl(BahamaMamas.ipl, state) + end +} diff --git a/resources/[standalone]/bob74_ipl/gtav/base.lua b/resources/[standalone]/bob74_ipl/gtav/base.lua new file mode 100644 index 0000000..befd6d1 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gtav/base.lua @@ -0,0 +1,109 @@ +Citizen.CreateThread(function() + -- Heist Jewel: -637.20159 -239.16250 38.1 + RequestIpl("post_hiest_unload") + + -- Max Renda: -585.8247, -282.72, 35.45475 + RequestIpl("refit_unload") + + -- Heist Union Depository: 2.69689322, -667.0166, 16.1306286 + RequestIpl("FINBANK") + + -- Morgue: 239.75195, -1360.64965, 39.53437 + RequestIpl("Coroner_Int_on") + RequestIpl("coronertrash") + + -- Cluckin Bell: -146.3837, 6161.5, 30.2062 + RequestIpl("CS1_02_cf_onmission1") + RequestIpl("CS1_02_cf_onmission2") + RequestIpl("CS1_02_cf_onmission3") + RequestIpl("CS1_02_cf_onmission4") + + -- Grapeseed's farm: 2447.9, 4973.4, 47.7 + RequestIpl("farm") + RequestIpl("farmint") + RequestIpl("farm_lod") + RequestIpl("farm_props") + RequestIpl("des_farmhouse") + + -- FIB lobby: 105.4557, -745.4835, 44.7548 + RequestIpl("FIBlobby") + + -- FIB Roof: 134.33, -745.95, 266.98 + RequestIpl("atriumglmission") + + -- FIB Fountain 174.184, -667.902, 43.140 + RemoveIpl('dt1_05_hc_end') + RemoveIpl('dt1_05_hc_req') + RequestIpl('dt1_05_hc_remove') + + -- Billboard: iFruit + RequestIpl("FruitBB") + RequestIpl("sc1_01_newbill") + RequestIpl("hw1_02_newbill") + RequestIpl("hw1_emissive_newbill") + RequestIpl("sc1_14_newbill") + RequestIpl("dt1_17_newbill") + + -- Lester's factory: 716.84, -962.05, 31.59 + RequestIpl("id2_14_during_door") + RequestIpl("id2_14_during1") + + -- Life Invader lobby: -1047.9, -233.0, 39.0 + RequestIpl("facelobby") + + -- Tunnels + RequestIpl("v_tunnel_hole") + + -- Carwash: 55.7, -1391.3, 30.5 + RequestIpl("Carwash_with_spinners") + + -- Stadium "Fame or Shame": -248.49159240722656, -2010.509033203125, 34.57429885864258 + RequestIpl("sp1_10_real_interior") + RequestIpl("sp1_10_real_interior_lod") + + -- House in Banham Canyon: -3086.428, 339.2523, 6.3717 + RequestIpl("ch1_02_open") + + -- Garage in La Mesa (autoshop): 970.27453, -1826.56982, 31.11477 + RequestIpl("bkr_bi_id1_23_door") + + -- Vinewood Club Garage: 1200.00, -3250.00, -50.00 + RequestIpl("m23_1_garage") + + -- 850, -3000, -50 + RequestIpl("reh_dlc_int_04_sum2") + + -- 1000, -2750, -50 + RequestIpl("m23_2_int_warehous") + + -- Hill Valley church - Grave: -282.46380000, 2835.84500000, 55.91446000 + RequestIpl("lr_cs6_08_grave_closed") + + -- Lost's trailer park: 49.49379000, 3744.47200000, 46.38629000 + RequestIpl("methtrailer_grp1") + + -- Lost safehouse: 984.1552, -95.3662, 74.50 + RequestIpl("bkr_bi_hw1_13_int") + + -- Raton Canyon river: -1652.83, 4445.28, 2.52 + RequestIpl("CanyonRvrShallow") + + -- Josh's house: -1117.1632080078, 303.090698, 66.52217 + RequestIpl("bh1_47_joshhse_unburnt") + RequestIpl("bh1_47_joshhse_unburnt_lod") + + -- Bahama Mamas: -1388.0013, -618.41967, 30.819599 + RequestIpl("hei_sm_16_interior_v_bahama_milo_") + + -- Zancudo River (need streamed content): 86.815, 3191.649, 30.463 + RequestIpl("cs3_05_water_grp1") + RequestIpl("cs3_05_water_grp1_lod") + RequestIpl("trv1_trail_start") + + -- Cassidy Creek (need streamed content): -425.677, 4433.404, 27.3253 + RequestIpl("canyonriver01") + RequestIpl("canyonriver01_lod") + + -- Ferris wheel + RequestIpl("ferris_finale_anim") +end) diff --git a/resources/[standalone]/bob74_ipl/gtav/floyd.lua b/resources/[standalone]/bob74_ipl/gtav/floyd.lua new file mode 100644 index 0000000..7b85e26 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gtav/floyd.lua @@ -0,0 +1,63 @@ +exports('GetFloydObject', function() + return Floyd +end) + +Floyd = { + interiorId = 171777, + + Style = { + normal = { + "swap_clean_apt", + "layer_debra_pic", + "layer_whiskey", + "swap_sofa_A" + }, + messedUp = { + "layer_mess_A", + "layer_mess_B", + "layer_mess_C", + "layer_sextoys_a", + "swap_sofa_B", + "swap_wade_sofa_A", + "layer_wade_shit", + "layer_torture" + }, + + Set = function(style, refresh) + Floyd.Style.Clear(false) + + SetIplPropState(Floyd.interiorId, style, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(Floyd.interiorId, { + Floyd.Style.normal, + Floyd.Style.messedUp + }, false, refresh) + end + }, + MrJam = { + normal = "swap_mrJam_A", + jammed = "swap_mrJam_B", + jammedOnTable = "swap_mrJam_C", + + Set = function(mrJam, refresh) + Floyd.MrJam.Clear(false) + + SetIplPropState(Floyd.interiorId, mrJam, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(Floyd.interiorId, { + Floyd.MrJam.normal, + Floyd.MrJam.jammed, + Floyd.MrJam.jammedOnTable + }, false, refresh) + end + }, + + LoadDefault = function() + Floyd.Style.Set(Floyd.Style.normal) + Floyd.MrJam.Set(Floyd.MrJam.normal) + + RefreshInterior(Floyd.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gtav/franklin.lua b/resources/[standalone]/bob74_ipl/gtav/franklin.lua new file mode 100644 index 0000000..e41ec0f --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gtav/franklin.lua @@ -0,0 +1,73 @@ +exports('GetFranklinObject', function() + return Franklin +end) + +Franklin = { + interiorId = 206849, + + Style = { + empty = "", + unpacking = "franklin_unpacking", + settled = { + "franklin_unpacking", + "franklin_settled" + }, + cardboxes = "showhome_only", + + Set = function(style, refresh) + Franklin.Style.Clear(false) + + if style ~= "" then + SetIplPropState(Franklin.interiorId, style, true, refresh) + else + if refresh then + RefreshInterior(Franklin.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(Franklin.interiorId, { + Franklin.Style.settled, + Franklin.Style.unpacking, + Franklin.Style.cardboxes + }, false, refresh) + end + }, + GlassDoor = { + opened = "unlocked", + closed = "locked", + + Set = function(door, refresh) + Franklin.GlassDoor.Clear(false) + + SetIplPropState(Franklin.interiorId, door, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(Franklin.interiorId, { + Franklin.GlassDoor.opened, + Franklin.GlassDoor.closed + }, false, refresh) + end + }, + Details = { + flyer = "progress_flyer", -- Mountain flyer on the kitchen counter + tux = "progress_tux", -- Tuxedo suit in the wardrobe + tshirt = "progress_tshirt", -- "I <3 LS" tshirt on the bed + bong = "bong_and_wine", -- Bong on the table + + Enable = function(details, state, refresh) + SetIplPropState(Franklin.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + Franklin.Style.Set(Franklin.Style.settled) + Franklin.GlassDoor.Set(Franklin.GlassDoor.opened) + Franklin.Details.Enable(Franklin.Details.flyer, true) + Franklin.Details.Enable(Franklin.Details.tux, true) + Franklin.Details.Enable(Franklin.Details.tshirt, false) + Franklin.Details.Enable(Franklin.Details.bong, false) + + RefreshInterior(Franklin.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gtav/franklin_aunt.lua b/resources/[standalone]/bob74_ipl/gtav/franklin_aunt.lua new file mode 100644 index 0000000..5eaebbc --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gtav/franklin_aunt.lua @@ -0,0 +1,47 @@ +exports('GetFranklinAuntObject', function() + return FranklinAunt +end) + +FranklinAunt = { + interiorId = 197889, + + Style = { + empty = "", + franklinStuff = "V_57_FranklinStuff", + franklinLeft = "V_57_Franklin_LEFT", + + Set = function(style, refresh) + FranklinAunt.Style.Clear(false) + + if style ~= "" then + SetIplPropState(FranklinAunt.interiorId, style, true, refresh) + else + if refresh then + RefreshInterior(FranklinAunt.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(FranklinAunt.interiorId, { + FranklinAunt.Style.franklinStuff, + FranklinAunt.Style.franklinLeft + }, false, refresh) + end + }, + Details = { + bandana = "V_57_GangBandana", -- Bandana on the bed + bag = "V_57_Safari", -- Bag in the closet + + Enable = function(details, state, refresh) + SetIplPropState(FranklinAunt.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + FranklinAunt.Style.Set(FranklinAunt.Style.franklinLeft) + FranklinAunt.Details.Enable(FranklinAunt.Details.bandana, false) + FranklinAunt.Details.Enable(FranklinAunt.Details.bag, false) + + RefreshInterior(FranklinAunt.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gtav/graffitis.lua b/resources/[standalone]/bob74_ipl/gtav/graffitis.lua new file mode 100644 index 0000000..be34afa --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gtav/graffitis.lua @@ -0,0 +1,14 @@ +exports('GetGraffitisObject', function() + return Graffitis +end) + +Graffitis = { + ipl = { + "ch3_rd2_bishopschickengraffiti", -- 1861.28, 2402.11, 58.53 + "cs5_04_mazebillboardgraffiti", -- 2697.32, 3162.18, 58.1 + "cs5_roads_ronoilgraffiti" -- 2119.12, 3058.21, 53.25 + }, + Enable = function(state) + EnableIpl(Graffitis.ipl, state) + end +} diff --git a/resources/[standalone]/bob74_ipl/gtav/lester_factory.lua b/resources/[standalone]/bob74_ipl/gtav/lester_factory.lua new file mode 100644 index 0000000..399e255 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gtav/lester_factory.lua @@ -0,0 +1,31 @@ +exports('GetLesterFactoryObject', function() + return LesterFactory +end) + +LesterFactory = { + interiorId = 92674, + + Details = { + bluePrint = "V_53_Agency_Blueprint", -- Blueprint on the office desk + bag = "V_35_KitBag", -- Bag under the office desk + fireMan = "V_35_Fireman", -- Firemans helmets in the office + armour = "V_35_Body_Armour", -- Body armor in storage + gasMask = "Jewel_Gasmasks", -- Gas mask and suit in storage + janitorStuff = "v_53_agency _overalls", -- Janitor stuff in the storage (yes, there is a whitespace) + + Enable = function(details, state, refresh) + SetIplPropState(LesterFactory.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + LesterFactory.Details.Enable(LesterFactory.Details.bluePrint, false) + LesterFactory.Details.Enable(LesterFactory.Details.bag, false) + LesterFactory.Details.Enable(LesterFactory.Details.fireMan, false) + LesterFactory.Details.Enable(LesterFactory.Details.armour, false) + LesterFactory.Details.Enable(LesterFactory.Details.gasMask, false) + LesterFactory.Details.Enable(LesterFactory.Details.janitorStuff, false) + + RefreshInterior(LesterFactory.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gtav/michael.lua b/resources/[standalone]/bob74_ipl/gtav/michael.lua new file mode 100644 index 0000000..cb54d30 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gtav/michael.lua @@ -0,0 +1,85 @@ +exports('GetMichaelObject', function() + return Michael +end) + +Michael = { + interiorId = 166657, + garageId = 166401, + + Style = { + normal = { + "V_Michael_bed_tidy", + "V_Michael_M_items", + "V_Michael_D_items", + "V_Michael_S_items", + "V_Michael_L_Items" + }, + moved = { + "V_Michael_bed_Messy", + "V_Michael_M_moved", + "V_Michael_D_Moved", + "V_Michael_L_Moved", + "V_Michael_S_items_swap", + "V_Michael_M_items_swap" + }, + + Set = function(style, refresh) + Michael.Style.Clear(false) + + SetIplPropState(Michael.interiorId, style, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(Michael.interiorId, { + Michael.Style.normal, + Michael.Style.moved + }, false, refresh) + end + }, + Bed = { + tidy = "V_Michael_bed_tidy", + messy = "V_Michael_bed_Messy", + + Set = function(bed, refresh) + Michael.Bed.Clear(false) + + SetIplPropState(Michael.interiorId, bed, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(Michael.interiorId, { + Michael.Bed.tidy, + Michael.Bed.messy + }, false, refresh) + end + }, + Garage = { + scuba = "V_Michael_Scuba", -- Scuba diver gear + + Enable = function(scuba, state, refresh) + SetIplPropState(Michael.garageId, scuba, state, refresh) + end + }, + Details = { + moviePoster = "Michael_premier", -- Meltdown movie poster + fameShamePoste = "V_Michael_FameShame", -- Next to Tracey's bed + planeTicket = "V_Michael_plane_ticket", -- Plane ticket + spyGlasses = "V_Michael_JewelHeist", -- On the shelf inside Michael's bedroom + bugershot = "burgershot_yoga", -- Bag and cup in the kitchen, next to the sink + + Enable = function(details, state, refresh) + SetIplPropState(Michael.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + Michael.Garage.Enable(Michael.Garage.scuba, false, true) + Michael.Style.Set(Michael.Style.normal) + Michael.Bed.Set(Michael.Bed.tidy) + Michael.Details.Enable(Michael.Details.moviePoster, false) + Michael.Details.Enable(Michael.Details.fameShamePoste, false) + Michael.Details.Enable(Michael.Details.spyGlasses, false) + Michael.Details.Enable(Michael.Details.planeTicket, false) + Michael.Details.Enable(Michael.Details.bugershot, false) + + RefreshInterior(Michael.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gtav/north_yankton.lua b/resources/[standalone]/bob74_ipl/gtav/north_yankton.lua new file mode 100644 index 0000000..6def102 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gtav/north_yankton.lua @@ -0,0 +1,38 @@ +exports('GetNorthYanktonObject', function() + return NorthYankton +end) + +NorthYankton = { + ipl = { + "prologue01", + "prologue01c", + "prologue01d", + "prologue01e", + "prologue01f", + "prologue01g", + "prologue01h", + "prologue01i", + "prologue01j", + "prologue01k", + "prologue01z", + "prologue02", + "prologue03", + "prologue03b", + "prologue04", + "prologue04b", + "prologue05", + "prologue05b", + "prologue06", + "prologue06b", + "prologue06_int", + "prologuerd", + "prologuerdb", + "prologue_DistantLights", + "prologue_LODLights", + "prologue_m2_door" + }, + + Enable = function(state) + EnableIpl(NorthYankton.ipl, state) + end +} diff --git a/resources/[standalone]/bob74_ipl/gtav/pillbox_hospital.lua.bak b/resources/[standalone]/bob74_ipl/gtav/pillbox_hospital.lua.bak new file mode 100644 index 0000000..ed8bfc0 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gtav/pillbox_hospital.lua.bak @@ -0,0 +1,12 @@ +-- Pillbox hospital: 307.1680, -590.807, 43.280 +exports('GetPillboxHospitalObject', function() + return PillboxHospital +end) + +PillboxHospital = { + ipl = "rc12b_default", + + Enable = function(state) + EnableIpl(PillboxHospital.ipl, state) + end +} diff --git a/resources/[standalone]/bob74_ipl/gtav/red_carpet.lua b/resources/[standalone]/bob74_ipl/gtav/red_carpet.lua new file mode 100644 index 0000000..53ec831 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gtav/red_carpet.lua @@ -0,0 +1,11 @@ +exports('GetRedCarpetObject', function() + return RedCarpet +end) + +RedCarpet = { + ipl = "redCarpet", + + Enable = function(state) + EnableIpl(RedCarpet.ipl, state) + end +} diff --git a/resources/[standalone]/bob74_ipl/gtav/simeon.lua b/resources/[standalone]/bob74_ipl/gtav/simeon.lua new file mode 100644 index 0000000..738097e --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gtav/simeon.lua @@ -0,0 +1,73 @@ +exports('GetSimeonObject', function() + return Simeon +end) + +Simeon = { + interiorId = 7170, + + Ipl = { + Interior = { + ipl = { + "shr_int" + }, + + Load = function() + EnableIpl(Simeon.Ipl.Interior.ipl, true) + end, + Remove = function() + EnableIpl(Simeon.Ipl.Interior.ipl, false) + end + } + }, + Style = { + normal = "csr_beforeMission", + noGlass = "csr_inMission", + destroyed = "csr_afterMissionA", + fixed = "csr_afterMissionB", + + Set = function(style, refresh) + Simeon.Style.Clear(false) + + SetIplPropState(Simeon.interiorId, style, true, refresh) + end, + Clear = function(refresh) + SetIplPropState(Simeon.interiorId, { + Simeon.Style.normal, + Simeon.Style.noGlass, + Simeon.Style.destroyed, + Simeon.Style.fixed + }, false, refresh) + end + }, + Shutter = { + none = "", + opened = "shutter_open", + closed = "shutter_closed", + + Set = function(shutter, refresh) + Simeon.Shutter.Clear(false) + + if shutter ~= "" then + SetIplPropState(Simeon.interiorId, shutter, true, refresh) + else + if refresh then + RefreshInterior(Simeon.interiorId) + end + end + end, + Clear = function(refresh) + SetIplPropState(Simeon.interiorId, { + Simeon.Shutter.opened, + Simeon.Shutter.closed + }, false, refresh) + end + }, + + LoadDefault = function() + Simeon.Ipl.Interior.Load() + Simeon.Style.Set(Simeon.Style.normal) + Simeon.Shutter.Set(Simeon.Shutter.open) + + RefreshInterior(Simeon.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gtav/stripclub.lua b/resources/[standalone]/bob74_ipl/gtav/stripclub.lua new file mode 100644 index 0000000..87606c8 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gtav/stripclub.lua @@ -0,0 +1,18 @@ +exports('GetStripClubObject', function() + return StripClub +end) + +StripClub = { + interiorId = 197121, + + Mess = { + mess = "V_19_Trevor_Mess", -- A bit of mess in the office + Enable = function(state) + SetIplPropState(StripClub.interiorId, StripClub.Mess.mess, state, true) + end + }, + + LoadDefault = function() + StripClub.Mess.Enable(false) + end +} diff --git a/resources/[standalone]/bob74_ipl/gtav/trevors_trailer.lua b/resources/[standalone]/bob74_ipl/gtav/trevors_trailer.lua new file mode 100644 index 0000000..77bd14b --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gtav/trevors_trailer.lua @@ -0,0 +1,42 @@ +exports('GetTrevorsTrailerObject', function() + return TrevorsTrailer +end) + +TrevorsTrailer = { + interiorId = 2562, + + Interior = { + tidy = "trevorstrailertidy", + trash = "TrevorsTrailerTrash", + + Set = function(interior) + TrevorsTrailer.Interior.Clear() + + EnableIpl(interior, true) + end, + Clear = function() + EnableIpl({ + TrevorsTrailer.Interior.tidy, + TrevorsTrailer.Interior.trash + }, false) + end + }, + Details = { + copHelmet = "V_26_Trevor_Helmet3", -- Cop helmet in the closet + briefcase = "V_24_Trevor_Briefcase3", -- Briefcase in the main room + michaelStuff = "V_26_Michael_Stay3", -- Michael's suit hanging on the window + + Enable = function(details, state, refresh) + SetIplPropState(TrevorsTrailer.interiorId, details, state, refresh) + end + }, + + LoadDefault = function() + TrevorsTrailer.Interior.Set(TrevorsTrailer.Interior.tidy) + TrevorsTrailer.Details.Enable(TrevorsTrailer.Details.copHelmet, false, false) + TrevorsTrailer.Details.Enable(TrevorsTrailer.Details.briefcase, false, false) + TrevorsTrailer.Details.Enable(TrevorsTrailer.Details.michaelStuff, false, false) + + RefreshInterior(TrevorsTrailer.interiorId) + end +} diff --git a/resources/[standalone]/bob74_ipl/gtav/ufo.lua b/resources/[standalone]/bob74_ipl/gtav/ufo.lua new file mode 100644 index 0000000..776b6fe --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gtav/ufo.lua @@ -0,0 +1,27 @@ +exports('GetUFOObject', function() + return UFO +end) + +UFO = { + Hippie = { + ipl = "ufo", -- Hippie base: 2490.47729, 3774.84351, 2414.035 + + Enable = function(state) + EnableIpl(UFO.Hippie.ipl, state) + end + }, + Chiliad = { + ipl = "ufo_eye", -- Chiliad: 501.5288, 5593.865, 796.2325 + + Enable = function(state) + EnableIpl(UFO.Chiliad.ipl, state) + end + }, + Zancudo = { + ipl = "ufo_lod", -- Zancudo: -2051.99463, 3237.05835, 1456.97021 + + Enable = function(state) + EnableIpl(UFO.Zancudo.ipl, state) + end + } +} diff --git a/resources/[standalone]/bob74_ipl/gtav/zancudo_gates.lua b/resources/[standalone]/bob74_ipl/gtav/zancudo_gates.lua new file mode 100644 index 0000000..cbd3da7 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/gtav/zancudo_gates.lua @@ -0,0 +1,19 @@ +-- Zancudo Gates (GTAO like): -1600.30100000 2806.73100000 18.79683000 +exports('GetZancudoGatesObject', function() + return ZancudoGates +end) + +ZancudoGates = { + Gates = { + Open = function() + EnableIpl("CS3_07_MPGates", false) + end, + Close = function() + EnableIpl("CS3_07_MPGates", true) + end, + }, + + LoadDefault = function() + ZancudoGates.Gates.Open() + end +} diff --git a/resources/[standalone]/bob74_ipl/lib/common.lua b/resources/[standalone]/bob74_ipl/lib/common.lua new file mode 100644 index 0000000..fefd907 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/lib/common.lua @@ -0,0 +1,272 @@ +-- Global variables +Global = { + currentInteriorId = 0, + + -- The current interior is set to True by 'interiorIdObserver' + Online = { + isInsideApartmentHi1 = false, + isInsideApartmentHi2 = false, + isInsideHouseHi1 = false, + isInsideHouseHi2 = false, + isInsideHouseHi3 = false, + isInsideHouseHi4 = false, + isInsideHouseHi5 = false, + isInsideHouseHi6 = false, + isInsideHouseHi7 = false, + isInsideHouseHi8 = false, + isInsideHouseLow1 = false, + isInsideHouseMid1 = false + }, + Biker = { + isInsideClubhouse1 = false, + isInsideClubhouse2 = false + }, + FinanceOffices = { + isInsideOffice1 = false, + isInsideOffice2 = false, + isInsideOffice3 = false, + isInsideOffice4 = false + }, + HighLife = { + isInsideApartment1 = false, + isInsideApartment2 = false, + isInsideApartment3 = false, + isInsideApartment4 = false, + isInsideApartment5 = false, + isInsideApartment6 = false + }, + + -- Set all interiors variables to false + -- The loop inside 'interiorIdObserver' will set them to true + ResetInteriorVariables = function() + for _, parentKey in pairs{"Biker", "FinanceOffices", "HighLife"} do + local t = Global[parentKey] + + for key in pairs(t) do + t[key] = false + end + end + end +} + +exports('GVariables', function() + return Global +end) + +exports('EnableIpl', function(ipl, activate) + return EnableIpl(ipl, activate) +end) + +exports('GetPedheadshotTexture', function(ped) + return GetPedheadshotTexture(ped) +end) + +-- Load or remove IPL(s) +function EnableIpl(ipl, activate) + if type(ipl) == "table" then + for key, value in pairs(ipl) do + EnableIpl(value, activate) + end + else + if activate then + if not IsIplActive(ipl) then + RequestIpl(ipl) + end + else + if IsIplActive(ipl) then + RemoveIpl(ipl) + end + end + end +end + +-- Enable or disable the specified props in an interior +function SetIplPropState(interiorId, props, state, refresh) + if refresh == nil then + refresh = false + end + + if type(interiorId) == "table" then + for key, value in pairs(interiorId) do + SetIplPropState(value, props, state, refresh) + end + else + if type(props) == "table" then + for key, value in pairs(props) do + SetIplPropState(interiorId, value, state, refresh) + end + else + if state then + if not IsInteriorPropEnabled(interiorId, props) then + EnableInteriorProp(interiorId, props) + end + else + if IsInteriorPropEnabled(interiorId, props) then + DisableInteriorProp(interiorId, props) + end + end + end + + if refresh then + RefreshInterior(interiorId) + end + end +end + +function CreateNamedRenderTargetForModel(name, model) + local handle = 0 + + if not IsNamedRendertargetRegistered(name) then + RegisterNamedRendertarget(name, false) + end + + if not IsNamedRendertargetLinked(model) then + LinkNamedRendertarget(model) + end + + if IsNamedRendertargetRegistered(name) then + handle = GetNamedRendertargetRenderId(name) + end + + return handle +end + +function DrawEmptyRect(name, model) + local step = 250 + local timeout = 5 * 1000 + local currentTime = 0 + local renderId = CreateNamedRenderTargetForModel(name, model) + + while not IsNamedRendertargetRegistered(name) do + Citizen.Wait(step) + + currentTime = currentTime + step + + if currentTime >= timeout then + return false + end + end + + if IsNamedRendertargetRegistered(name) then + SetTextRenderId(renderId) + SetScriptGfxDrawOrder(4) + DrawRect(0.5, 0.5, 1.0, 1.0, 0, 0, 0, 0) + SetTextRenderId(GetDefaultScriptRendertargetRenderId()) + ReleaseNamedRendertarget(0, name) + end + + return true +end + +function SetupScaleform(movieId, scaleformFunction, parameters) + BeginScaleformMovieMethod(movieId, scaleformFunction) + ScaleformMovieMethodAddParamTextureNameString_2(name) + + if type(parameters) == "table" then + for i = 0, Tablelength(parameters) - 1 do + local p = parameters["p" .. tostring(i)] + + if p.type == "bool" then + PushScaleformMovieMethodParameterBool(p.value) + elseif p.type == "int" then + PushScaleformMovieMethodParameterInt(p.value) + elseif p.type == "float" then + PushScaleformMovieMethodParameterFloat(p.value) + elseif p.type == "string" then + PushScaleformMovieMethodParameterString(p.value) + elseif p.type == "buttonName" then + PushScaleformMovieMethodParameterButtonName(p.value) + end + end + end + + EndScaleformMovieMethod() + N_0x32f34ff7f617643b(movieId, 1) +end + +function LoadStreamedTextureDict(texturesDict) + local step = 1000 + local timeout = 5 * 1000 + local currentTime = 0 + + RequestStreamedTextureDict(texturesDict, 0) + while not HasStreamedTextureDictLoaded(texturesDict) do + Citizen.Wait(step) + + currentTime = currentTime + step + + if currentTime >= timeout then + return false + end + end + + return true +end + +function LoadScaleform(scaleform) + local step = 1000 + local timeout = 5 * 1000 + local currentTime = 0 + local handle = RequestScaleformMovie(scaleform) + + while not HasScaleformMovieLoaded(handle) do + Citizen.Wait(step) + + currentTime = currentTime + step + + if currentTime >= timeout then + return -1 + end + end + + return handle +end + +function GetPedheadshot(ped) + local step = 1000 + local timeout = 5 * 1000 + local currentTime = 0 + local pedheadshot = RegisterPedheadshot(ped) + + while not IsPedheadshotReady(pedheadshot) do + Citizen.Wait(step) + + currentTime = currentTime + step + + if currentTime >= timeout then + return -1 + end + end + + return pedheadshot +end + +function GetPedheadshotTexture(ped) + local textureDict = nil + local pedheadshot = GetPedheadshot(ped) + + if pedheadshot ~= -1 then + textureDict = GetPedheadshotTxdString(pedheadshot) + + local IsTextureDictLoaded = LoadStreamedTextureDict(textureDict) + + if not IsTextureDictLoaded then + Citizen.Trace("ERROR: GetPedheadshotTexture - Textures dictionnary \"" .. tostring(textureDict) .. "\" cannot be loaded.") + end + else + Citizen.Trace("ERROR: GetPedheadshotTexture - PedHeadShot not ready.") + end + + return textureDict +end + +-- Return the number of elements of the table +function Tablelength(T) + local count = 0 + + for _ in pairs(T) do + count = count + 1 + end + + return count +end diff --git a/resources/[standalone]/bob74_ipl/lib/observers/interiorIdObserver.lua b/resources/[standalone]/bob74_ipl/lib/observers/interiorIdObserver.lua new file mode 100644 index 0000000..d16d8c5 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/lib/observers/interiorIdObserver.lua @@ -0,0 +1,48 @@ +local _scanDelay = 500 + +Citizen.CreateThread(function() + while true do + -- /!\ To do: Find a more reliable way to get the current interior ID + Global.currentInteriorId = GetInteriorAtCoords(GetEntityCoords(PlayerPedId())) + + if Global.currentInteriorId == 0 then + Global.ResetInteriorVariables() + else + -- Setting variables + + -- GTA Online + Global.Online.isInsideApartmentHi1 = (Global.currentInteriorId == GTAOApartmentHi1.interiorId) + Global.Online.isInsideApartmentHi2 = (Global.currentInteriorId == GTAOApartmentHi2.interiorId) + Global.Online.isInsideHouseHi1 = (Global.currentInteriorId == GTAOHouseHi1.interiorId) + Global.Online.isInsideHouseHi2 = (Global.currentInteriorId == GTAOHouseHi2.interiorId) + Global.Online.isInsideHouseHi3 = (Global.currentInteriorId == GTAOHouseHi3.interiorId) + Global.Online.isInsideHouseHi4 = (Global.currentInteriorId == GTAOHouseHi4.interiorId) + Global.Online.isInsideHouseHi5 = (Global.currentInteriorId == GTAOHouseHi5.interiorId) + Global.Online.isInsideHouseHi6 = (Global.currentInteriorId == GTAOHouseHi6.interiorId) + Global.Online.isInsideHouseHi7 = (Global.currentInteriorId == GTAOHouseHi7.interiorId) + Global.Online.isInsideHouseHi8 = (Global.currentInteriorId == GTAOHouseHi8.interiorId) + Global.Online.isInsideHouseLow1 = (Global.currentInteriorId == GTAOHouseLow1.interiorId) + Global.Online.isInsideHouseMid1 = (Global.currentInteriorId == GTAOHouseMid1.interiorId) + + -- DLC: High life + Global.HighLife.isInsideApartment1 = (Global.currentInteriorId == HLApartment1.interiorId) + Global.HighLife.isInsideApartment2 = (Global.currentInteriorId == HLApartment2.interiorId) + Global.HighLife.isInsideApartment3 = (Global.currentInteriorId == HLApartment3.interiorId) + Global.HighLife.isInsideApartment4 = (Global.currentInteriorId == HLApartment4.interiorId) + Global.HighLife.isInsideApartment5 = (Global.currentInteriorId == HLApartment5.interiorId) + Global.HighLife.isInsideApartment6 = (Global.currentInteriorId == HLApartment6.interiorId) + + -- DLC: Bikers - Clubhouses + Global.Biker.isInsideClubhouse1 = (Global.currentInteriorId == BikerClubhouse1.interiorId) + Global.Biker.isInsideClubhouse2 = (Global.currentInteriorId == BikerClubhouse2.interiorId) + + -- DLC: Finance & Felony - Offices + Global.FinanceOffices.isInsideOffice1 = (Global.currentInteriorId == FinanceOffice1.currentInteriorId) + Global.FinanceOffices.isInsideOffice2 = (Global.currentInteriorId == FinanceOffice2.currentInteriorId) + Global.FinanceOffices.isInsideOffice3 = (Global.currentInteriorId == FinanceOffice3.currentInteriorId) + Global.FinanceOffices.isInsideOffice4 = (Global.currentInteriorId == FinanceOffice4.currentInteriorId) + end + + Citizen.Wait(_scanDelay) + end +end) diff --git a/resources/[standalone]/bob74_ipl/lib/observers/officeSafeDoorHandler.lua b/resources/[standalone]/bob74_ipl/lib/observers/officeSafeDoorHandler.lua new file mode 100644 index 0000000..a044284 --- /dev/null +++ b/resources/[standalone]/bob74_ipl/lib/observers/officeSafeDoorHandler.lua @@ -0,0 +1,47 @@ +-- Delay between each attempt to open/close the doors corresponding to their state +local _scanDelay = 500 + +Citizen.CreateThread(function() + while true do + local office = 0 + + -- Search for the current office to open/close the safes doors + if Global.FinanceOffices.isInsideOffice1 then + office = FinanceOffice1 + elseif Global.FinanceOffices.isInsideOffice2 then + office = FinanceOffice2 + elseif Global.FinanceOffices.isInsideOffice3 then + office = FinanceOffice3 + elseif Global.FinanceOffices.isInsideOffice4 then + office = FinanceOffice4 + end + + if office ~= 0 then + -- Office found, let's check the doors + + -- Check left door + doorHandle = office.Safe.GetDoorHandle(office.currentSafeDoors.hashL) + + if doorHandle ~= 0 then + if office.Safe.isLeftDoorOpen then + office.Safe.SetDoorState("left", true) + else + office.Safe.SetDoorState("left", false) + end + end + + -- Check right door + doorHandle = office.Safe.GetDoorHandle(office.currentSafeDoors.hashR) + + if doorHandle ~= 0 then + if office.Safe.isRightDoorOpen then + office.Safe.SetDoorState("right", true) + else + office.Safe.SetDoorState("right", false) + end + end + end + + Citizen.Wait(_scanDelay) + end +end) diff --git a/resources/[standalone]/bt-polyzone/client/main.lua b/resources/[standalone]/bt-polyzone/client/main.lua new file mode 100644 index 0000000..67b860f --- /dev/null +++ b/resources/[standalone]/bt-polyzone/client/main.lua @@ -0,0 +1,48 @@ +local Zones = {} +local insideZones = {} + +Citizen.CreateThread(function() + while true do + local plyPed = PlayerPedId() + local coord = GetEntityCoords(plyPed) + + Citizen.Wait(500) + + for _, zone in pairs(Zones) do + if Zones[_]:isPointInside(coord) then + if (not insideZones[_]) then + insideZones[_] = true + local insideZone = true + Citizen.CreateThread(function() + TriggerEvent("bt-polyzone:enter", _) + while insideZone do + local plyPed = PlayerPedId() + local InZoneCoordS = GetEntityCoords(plyPed) + + if not Zones[_]:isPointInside(InZoneCoordS) then + insideZone = false + insideZones[_] = false + TriggerEvent("bt-polyzone:exit", _) + end + Citizen.Wait(250) + end + end) + end + end + end + end +end) + +function AddCircleZone(name, center, radius, options) + center = vector3(center.x, center.y, center.z) + Zones[name] = CircleZone:Create(center, radius, options) +end + +function AddBoxZone(name, center, length, width, options) + center = vector3(center.x, center.y, center.z) + Zones[name] = BoxZone:Create(center, length, width, options) +end + +function AddPolyZone(name, points, options) + Zones[name] = PolyZone:Create(points, options) +end diff --git a/resources/[standalone]/bt-polyzone/fxmanifest.lua b/resources/[standalone]/bt-polyzone/fxmanifest.lua new file mode 100644 index 0000000..69332eb --- /dev/null +++ b/resources/[standalone]/bt-polyzone/fxmanifest.lua @@ -0,0 +1,22 @@ +fx_version 'cerulean' + +game 'gta5' + +dependencies { + "PolyZone" +} + +client_scripts { + '@PolyZone/client.lua', + '@PolyZone/BoxZone.lua', + '@PolyZone/EntityZone.lua', + '@PolyZone/CircleZone.lua', + '@PolyZone/ComboZone.lua', + 'client/main.lua' +} + +exports { + 'AddCircleZone', + 'AddBoxZone', + 'AddPolyZone' +} diff --git a/resources/[standalone]/casinoUi/LICENSE b/resources/[standalone]/casinoUi/LICENSE new file mode 100644 index 0000000..f288702 --- /dev/null +++ b/resources/[standalone]/casinoUi/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/resources/[standalone]/casinoUi/README.md b/resources/[standalone]/casinoUi/README.md new file mode 100644 index 0000000..438fac1 --- /dev/null +++ b/resources/[standalone]/casinoUi/README.md @@ -0,0 +1,5 @@ +# casinoUi + +edited version of dsheedes cd_drawtextui + +- Original Creator: https://github.com/dsheedes/cd_drawtextui diff --git a/resources/[standalone]/casinoUi/client/main.lua b/resources/[standalone]/casinoUi/client/main.lua new file mode 100644 index 0000000..d92ac62 --- /dev/null +++ b/resources/[standalone]/casinoUi/client/main.lua @@ -0,0 +1,35 @@ +RegisterNetEvent('casinoUi:ShowUI') +AddEventHandler('casinoUi:ShowUI', function(action, text) + SendNUIMessage({ + action = action, + text = text, + }) +end) + +RegisterNetEvent('casinoUi:HideUI') +AddEventHandler('casinoUi:HideUI', function() + SendNUIMessage({ + action = 'hide' + }) +end) + +function DrawCasinoUi(action, text) + SendNUIMessage({ + action = action, + text = text, + }) +end + +function HideCasinoUi() + SendNUIMessage({ + action = 'hide' + }) +end + +-- RegisterCommand('test', function() +-- exports['casinoUi']:DrawCasinoUi('show', "Diamond Casino Blackjack

Balance: $5000Test
Bet: 10000Test") +-- Wait(3700) +-- exports['casinoUi']:HideCasinoUi('hide') +-- end, false) + + diff --git a/resources/[standalone]/casinoUi/fxmanifest.lua b/resources/[standalone]/casinoUi/fxmanifest.lua new file mode 100644 index 0000000..0c65062 --- /dev/null +++ b/resources/[standalone]/casinoUi/fxmanifest.lua @@ -0,0 +1,25 @@ +fx_version 'cerulean' +game 'gta5' + +author 'Codesign#2715' +description 'Draw screen UI replacment for 3D text' +version '1.0' + +ui_page { + 'html/index.html', +} + +files { + 'html/index.html', + 'html/js/script.js', + 'html/css/stylesheet.css', +} + +client_scripts { + 'client/main.lua' +} + +exports { + 'DrawCasinoUi', + 'HideCasinoUi', +} \ No newline at end of file diff --git a/resources/[standalone]/casinoUi/html/css/stylesheet.css b/resources/[standalone]/casinoUi/html/css/stylesheet.css new file mode 100644 index 0000000..aebc31f --- /dev/null +++ b/resources/[standalone]/casinoUi/html/css/stylesheet.css @@ -0,0 +1,63 @@ +html, body{ + width:100%; + height:100%; + margin:0; + padding:0; + overflow-x:hidden; +} +@keyframes fadeIn { + /* 0% {opacity:0; left:-15%;} */ + 100% {opacity:1; top:90%; left:45%} +} +@keyframes fadeOut { + 0% {opacity:1; top:90%; left:45%} + /* 100% {opacity:0; left:-15%;} */ +} +#container{ + position:absolute; + top: 90%; + left: 45%; + /* width:10%; */ + max-width:25%; + transform: translateY(-50%); +} + +.fadeIn{ + animation: fadeIn ease 1s forwards; +} +.fadeOut{ + animation: fadeOut ease 1s forwards; +} + +#box{ + width:100%; + background: #191e25; + border-radius:5px; + +} + +#box:after { + content: ''; + position: absolute; + left: 0; + top: 50%; + width: 0; + height: 0; + margin-top: -8px; + margin-left: -8px; +} + +#title, #text{ + width:calc(100% - 20px); +} + +#text{ + padding:10px; + color:#fff; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; + font-weight: 600; + font-size:17px; + text-align:center; + text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.419); +} + diff --git a/resources/[standalone]/casinoUi/html/index.html b/resources/[standalone]/casinoUi/html/index.html new file mode 100644 index 0000000..2366141 --- /dev/null +++ b/resources/[standalone]/casinoUi/html/index.html @@ -0,0 +1,18 @@ + + + + Box + + + + + +
+
+
+ +
+
+
+ + \ No newline at end of file diff --git a/resources/[standalone]/casinoUi/html/js/script.js b/resources/[standalone]/casinoUi/html/js/script.js new file mode 100644 index 0000000..7e66bdf --- /dev/null +++ b/resources/[standalone]/casinoUi/html/js/script.js @@ -0,0 +1,10 @@ +window.addEventListener('message', function(event){ + if(event.data.action == "show"){ + document.getElementById("text").innerHTML = event.data.text; + document.getElementById("container").classList.remove("fadeOut"); + document.getElementById("container").classList.add("fadeIn"); + } else if(event.data.action == "hide"){ + document.getElementById("container").classList.remove("fadeIn"); + document.getElementById("container").classList.add("fadeOut"); + } +}); \ No newline at end of file diff --git a/resources/[standalone]/cd_drawtextui/README.md b/resources/[standalone]/cd_drawtextui/README.md new file mode 100644 index 0000000..b617074 --- /dev/null +++ b/resources/[standalone]/cd_drawtextui/README.md @@ -0,0 +1,92 @@ +# INSTALLATION GUIDE +**1.** Clone the repository or Code > Download zip + +**2.** Add the resource to your server start config: `ensure cd_drawtextui`. The name of the folder must be `cd_drawtextui` or the resource will not function correctly. + +## How to use? +This can be triggered from the server or client. A more advanced example is posted below. +|Show the UI| Hide the UI | +|--|--| +| `Triggerevent('cd_drawtextui:ShowUI', 'show', TEXT_HERE)` | `Triggerevent('cd_drawtextui:HideUI')` | + + +> **This is an example how to implement the UI for a single location.** + + Citizen.CreateThread(function() + local alreadyEnteredZone = false + local text = nil + while true do + wait = 5 + local ped = PlayerPedId() + local inZone = false + local dist = #(GetEntityCoords(ped)-vector3(0,0,0)) + if dist <= 5.0 then + wait = 5 + inZone = true + text = 'Title

[E] Press E to be bald' + + if IsControlJustReleased(0, 38) then + TriggerEvent('add your event here') + end + else + wait = 2000 + end + + if inZone and not alreadyEnteredZone then + alreadyEnteredZone = true + TriggerEvent('cd_drawtextui:ShowUI', 'show', text) + end + + if not inZone and alreadyEnteredZone then + alreadyEnteredZone = false + TriggerEvent('cd_drawtextui:HideUI') + end + Citizen.Wait(wait) + end + end) + +> **This is an example how to implement the UI while doing a for loop for multiple locations in 1 thread.** + + Citizen.CreateThread(function() + local alreadyEnteredZone = false + local text = nil + while true do + wait = 5 + local ped = PlayerPedId() + local inZone = false + for cd = 1, #Config.YOURTABLE do + local dist = #(GetEntityCoords(ped)-vector3(Config.YOURTABLE.x, Config.YOURTABLE.y, Config.YOURTABLE.z)) + if dist <= 5.0 then + wait = 5 + inZone = true + text = 'Title

[E] Press E to be bald' + + if IsControlJustReleased(0, 38) then + TriggerEvent('add your event here') + end + break + else + wait = 2000 + end + end + + if inZone and not alreadyEnteredZone then + alreadyEnteredZone = true + TriggerEvent('cd_drawtextui:ShowUI', 'show', text) + end + + if not inZone and alreadyEnteredZone then + alreadyEnteredZone = false + TriggerEvent('cd_drawtextui:HideUI') + end + Citizen.Wait(wait) + end + end) + + + + +## Is the resource not working as expected? +- Make sure the name of the folder is `cd_drawtextui`. +- Check the server console and the in game F8 console for errors. +- If all else fails, contact the Codesign Team in the [Codesign Discord](https://discord.gg/HmDFGp62Tr). diff --git a/resources/[standalone]/cd_drawtextui/client/main.lua b/resources/[standalone]/cd_drawtextui/client/main.lua new file mode 100644 index 0000000..9dcb0b3 --- /dev/null +++ b/resources/[standalone]/cd_drawtextui/client/main.lua @@ -0,0 +1,14 @@ +RegisterNetEvent('cd_drawtextui:ShowUI') +AddEventHandler('cd_drawtextui:ShowUI', function(action, text) + SendNUIMessage({ + action = action, + text = text, + }) +end) + +RegisterNetEvent('cd_drawtextui:HideUI') +AddEventHandler('cd_drawtextui:HideUI', function() + SendNUIMessage({ + action = 'hide' + }) +end) diff --git a/resources/[standalone]/cd_drawtextui/fxmanifest.lua b/resources/[standalone]/cd_drawtextui/fxmanifest.lua new file mode 100644 index 0000000..eea96bc --- /dev/null +++ b/resources/[standalone]/cd_drawtextui/fxmanifest.lua @@ -0,0 +1,20 @@ +fx_version 'cerulean' +game 'gta5' + +author 'Codesign#2715' +description 'Draw screen UI replacment for 3D text' +version '1.0' + +ui_page { + 'html/index.html', +} + +files { + 'html/index.html', + 'html/js/script.js', + 'html/css/stylesheet.css', +} + +client_scripts { + 'client/main.lua' +} \ No newline at end of file diff --git a/resources/[standalone]/cd_drawtextui/html/css/stylesheet.css b/resources/[standalone]/cd_drawtextui/html/css/stylesheet.css new file mode 100644 index 0000000..a0c620f --- /dev/null +++ b/resources/[standalone]/cd_drawtextui/html/css/stylesheet.css @@ -0,0 +1,62 @@ +html, body{ + width:100%; + height:100%; + margin:0; + padding:0; + overflow-x:hidden; +} +@keyframes fadeIn { + 0% {opacity:0; top:60%} + 50%{top:51%} + 100% {opacity:1; top:50%} +} +@keyframes fadeOut { + 0% {opacity:1; top:50%; left:1%} + 100% {opacity:0; left:-15%;} +} +#container{ + position:absolute; + top:50%; + left:1%; + /* width:15%; */ + max-width:25%; + transform: translateY(-50%); + +} +.fadeIn{ + animation: fadeIn ease 1s forwards; +} +.fadeOut{ + animation: fadeOut ease 1s forwards; +} +#box{ + width:100%; + background: linear-gradient(180deg, rgb(0, 153, 255) 0%, rgb(50, 173, 255) 100%); + border-radius:5px; + +} +#box:after { + content: ''; + position: absolute; + left: 0; + top: 50%; + width: 0; + height: 0; + border: 8px solid transparent; + border-left-color: rgb(20, 143, 225); + border-left: 0; + margin-top: -8px; + margin-left: -8px; +} + +#title, #text{ + width:calc(100% - 20px); +} +#text{ + padding:10px; + color:#fff; + font-family: 'Roboto Condensed', sans-serif; + font-size:16px; + text-align:center; +} + diff --git a/resources/[standalone]/cd_drawtextui/html/index.html b/resources/[standalone]/cd_drawtextui/html/index.html new file mode 100644 index 0000000..76383c4 --- /dev/null +++ b/resources/[standalone]/cd_drawtextui/html/index.html @@ -0,0 +1,18 @@ + + + + Box + + + + + +
+
+
+ Tryk E for at åbne garagen. +
+
+
+ + \ No newline at end of file diff --git a/resources/[standalone]/cd_drawtextui/html/js/script.js b/resources/[standalone]/cd_drawtextui/html/js/script.js new file mode 100644 index 0000000..7e66bdf --- /dev/null +++ b/resources/[standalone]/cd_drawtextui/html/js/script.js @@ -0,0 +1,10 @@ +window.addEventListener('message', function(event){ + if(event.data.action == "show"){ + document.getElementById("text").innerHTML = event.data.text; + document.getElementById("container").classList.remove("fadeOut"); + document.getElementById("container").classList.add("fadeIn"); + } else if(event.data.action == "hide"){ + document.getElementById("container").classList.remove("fadeIn"); + document.getElementById("container").classList.add("fadeOut"); + } +}); \ No newline at end of file diff --git a/resources/[standalone]/cd_keymaster/README.md b/resources/[standalone]/cd_keymaster/README.md new file mode 100644 index 0000000..ec9cca0 --- /dev/null +++ b/resources/[standalone]/cd_keymaster/README.md @@ -0,0 +1,64 @@ +# Keymaster - a minigame by Codesign + ![Codesign keymaster minigame](https://i.imgur.com/XJnC2AM.jpg) +## Description +Keymaster is a simple skill-based minigame that draws inspiration from rhythm games and that [GTA SA Mission - "Lowrider Challenge".](https://gta.fandom.com/wiki/Lowrider_Challenge) + +Players need to press the correct key once it enters the target field. If they are successful they gain points based on their accuracy and lose points if they miss. + +The goal of the game is to acquire a set number of points within the given time frame and with a minimal amount of missed keys. + +Keymaster has several configurable options ( per game ): + +- Score +- Allowed misses +- Time frame +- Key sequence +- Speed increment ( after a successful hit ) + + +This allows server managers and devs to adjust the difficulty based on the task players need to complete. + +Devs can call the minigame by sending difficulty ( config ) parameters. They will receive a callback once the game is finished ( success or fail ). This allows you to use it anywhere you wish! + +Give your players a real challenge with Keymaster and replace those boring progress bars that require nothing but waiting! + +## Instructions +HERES AN EXAMPLE HOW TO START THE MINI GAME: + +**YOU CAN CUSTOMISE THE SETTINGS BY SENDING THIS TABLE IN THE EXPORT :** + + local CustomSettings = { + settings = { + handleEnd = true; --Send a result message if true and callback when message closed or callback immediately without showing the message + speed = 10; --pixels / second + scoreWin = 1000; --Score to win + scoreLose = -150; --Lose if this score is reached + maxTime = 60000; --sec + maxMistake = 5; --How many missed keys can there be before losing + speedIncrement = 1; --How much should the speed increase when a key hit was successful + }, + keys = {"a", "w", "d", "s", "g"}; --You can hash this out if you want to use default keys in the java side. + } + +**OR YOU CAN LEAVE IT EMPTY AND THE SCRIPT WILL USE THE DEFAULT VALUES IN THE TABLE IN THE CLIENT.LUA** (line 4). + +**WHEN THE MINI GAME UI HAS CLOSED, THE EXPORT WILL RETURN TRUE OR FALSE BASED ON YOUR RESULT.** + +*Example 1* + + local example = exports['cd_keymaster']:StartKeyMaster(CustomSettings) + if example then + print('im a winner) + else + print('i suck so bad) + end + +*Example 2* + + local example = exports['cd_keymaster']:StartKeyMaster() + if example then + print('im a winner) + else + print('i suck so bad) + end + diff --git a/resources/[standalone]/cd_keymaster/client/client.lua b/resources/[standalone]/cd_keymaster/client/client.lua new file mode 100644 index 0000000..4cdd1f0 --- /dev/null +++ b/resources/[standalone]/cd_keymaster/client/client.lua @@ -0,0 +1,64 @@ +local Result = nil +local NUI_status = false + +local DefaultSettings = { + settings = { + handleEnd = true; --Send a result message if true and callback when message closed or callback immediately without showing the message + speed = 10; --pixels / second + scoreWin = 1000; --Score to win + scoreLose = -150; --Lose if this score is reached + maxTime = 60000; --sec + maxMistake = 5; --How many missed keys can there be before losing + speedIncrement = 1; --How much should the speed increase when a key hit was successful + }, + keys = {"a", "w", "d", "s", "g"}; --You can hash this out if you want to use default keys in the java side. +} + +function StartKeyMaster(settings) + Result = nil + if settings == nil then + settings = DefaultSettings + end + + NUI_status = true + SendNUIMessage({ + action = 'start', + settings = settings.settings, + keys = settings.keys, + }) + while NUI_status do + Wait(5) + SetNuiFocus(NUI_status, NUI_status) + end + Wait(100) + SetNuiFocus(false, false) + return Result +end + +RegisterNUICallback('success', function() + Result = true + Wait(100) + NUI_status = false +end) + +RegisterNUICallback('fail', function() + Result = false + Wait(100) + NUI_status = false +end) + +RegisterCommand('keymaster', function() --TEST COMMAND + local CustomSettings = { + settings = { + handleEnd = true; --Send a result message if true and callback when message closed or callback immediately without showing the message + speed = 10; --pixels / second + scoreWin = 1000; --Score to win + scoreLose = -150; --Lose if this score is reached + maxTime = 60000; --sec + maxMistake = 5; --How many missed keys can there be before losing + speedIncrement = 1; --How much should the speed increase when a key hit was successful + }, + --keys = {"a", "w", "d", "s", "g"}; --You can keep this hashed out if you want to use default keys in the java side. + } + StartKeyMaster(CustomSettings) +end) \ No newline at end of file diff --git a/resources/[standalone]/cd_keymaster/fxmanifest.lua b/resources/[standalone]/cd_keymaster/fxmanifest.lua new file mode 100644 index 0000000..861ec6d --- /dev/null +++ b/resources/[standalone]/cd_keymaster/fxmanifest.lua @@ -0,0 +1,21 @@ +fx_version 'cerulean' +games { 'gta5' } + +author 'Codesign#2715' +description 'KeyMaster Mini-Game' +version '1.0' + +client_scripts { + 'client/*.lua', +} + +ui_page { + 'html/index.html', +} +files { + 'html/index.html', + 'html/css/*css', + 'html/js/*.js', +} + +export 'StartKeyMaster' \ No newline at end of file diff --git a/resources/[standalone]/cd_keymaster/html/css/bootstrap.css b/resources/[standalone]/cd_keymaster/html/css/bootstrap.css new file mode 100644 index 0000000..21d10ba --- /dev/null +++ b/resources/[standalone]/cd_keymaster/html/css/bootstrap.css @@ -0,0 +1,7 @@ +/*! + * Bootstrap v4.5.2 (https://getbootstrap.com/) + * Copyright 2011-2020 The Bootstrap Authors + * Copyright 2011-2020 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([class]){color:inherit;text-decoration:none}a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:2.5rem}.h2,h2{font-size:2rem}.h3,h3{font-size:1.75rem}.h4,h4{font-size:1.5rem}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:6rem;font-weight:300;line-height:1.2}.display-2{font-size:5.5rem;font-weight:300;line-height:1.2}.display-3{font-size:4.5rem;font-weight:300;line-height:1.2}.display-4{font-size:3.5rem;font-weight:300;line-height:1.2}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid rgba(0,0,0,.1)}.small,small{font-size:80%;font-weight:400}.mark,mark{padding:.2em;background-color:#fcf8e3}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote-footer{display:block;font-size:80%;color:#6c757d}.blockquote-footer::before{content:"\2014\00A0"}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #dee2e6;border-radius:.25rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:90%;color:#6c757d}code{font-size:87.5%;color:#e83e8c;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:87.5%;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:100%;font-weight:700}pre{display:block;font-size:87.5%;color:#212529}pre code{font-size:inherit;color:inherit;word-break:normal}.pre-scrollable{max-height:340px;overflow-y:scroll}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}.row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.no-gutters{margin-right:0;margin-left:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-right:0;padding-left:0}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{position:relative;width:100%;padding-right:15px;padding-left:15px}.col{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-first{-ms-flex-order:-1;order:-1}.order-last{-ms-flex-order:13;order:13}.order-0{-ms-flex-order:0;order:0}.order-1{-ms-flex-order:1;order:1}.order-2{-ms-flex-order:2;order:2}.order-3{-ms-flex-order:3;order:3}.order-4{-ms-flex-order:4;order:4}.order-5{-ms-flex-order:5;order:5}.order-6{-ms-flex-order:6;order:6}.order-7{-ms-flex-order:7;order:7}.order-8{-ms-flex-order:8;order:8}.order-9{-ms-flex-order:9;order:9}.order-10{-ms-flex-order:10;order:10}.order-11{-ms-flex-order:11;order:11}.order-12{-ms-flex-order:12;order:12}.offset-1{margin-left:8.333333%}.offset-2{margin-left:16.666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.333333%}.offset-5{margin-left:41.666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.333333%}.offset-8{margin-left:66.666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.333333%}.offset-11{margin-left:91.666667%}@media (min-width:576px){.col-sm{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-sm-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-sm-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-sm-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-sm-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-sm-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-sm-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-sm-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-sm-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-sm-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-sm-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-sm-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-sm-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-sm-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-sm-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-sm-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-sm-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-sm-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-sm-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-sm-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-sm-first{-ms-flex-order:-1;order:-1}.order-sm-last{-ms-flex-order:13;order:13}.order-sm-0{-ms-flex-order:0;order:0}.order-sm-1{-ms-flex-order:1;order:1}.order-sm-2{-ms-flex-order:2;order:2}.order-sm-3{-ms-flex-order:3;order:3}.order-sm-4{-ms-flex-order:4;order:4}.order-sm-5{-ms-flex-order:5;order:5}.order-sm-6{-ms-flex-order:6;order:6}.order-sm-7{-ms-flex-order:7;order:7}.order-sm-8{-ms-flex-order:8;order:8}.order-sm-9{-ms-flex-order:9;order:9}.order-sm-10{-ms-flex-order:10;order:10}.order-sm-11{-ms-flex-order:11;order:11}.order-sm-12{-ms-flex-order:12;order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.333333%}.offset-sm-2{margin-left:16.666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.333333%}.offset-sm-5{margin-left:41.666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.333333%}.offset-sm-8{margin-left:66.666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.333333%}.offset-sm-11{margin-left:91.666667%}}@media (min-width:768px){.col-md{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-md-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-md-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-md-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-md-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-md-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-md-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-md-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-md-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-md-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-md-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-md-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-md-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-md-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-md-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-md-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-md-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-md-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-md-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-md-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-md-first{-ms-flex-order:-1;order:-1}.order-md-last{-ms-flex-order:13;order:13}.order-md-0{-ms-flex-order:0;order:0}.order-md-1{-ms-flex-order:1;order:1}.order-md-2{-ms-flex-order:2;order:2}.order-md-3{-ms-flex-order:3;order:3}.order-md-4{-ms-flex-order:4;order:4}.order-md-5{-ms-flex-order:5;order:5}.order-md-6{-ms-flex-order:6;order:6}.order-md-7{-ms-flex-order:7;order:7}.order-md-8{-ms-flex-order:8;order:8}.order-md-9{-ms-flex-order:9;order:9}.order-md-10{-ms-flex-order:10;order:10}.order-md-11{-ms-flex-order:11;order:11}.order-md-12{-ms-flex-order:12;order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.333333%}.offset-md-2{margin-left:16.666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.333333%}.offset-md-5{margin-left:41.666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.333333%}.offset-md-8{margin-left:66.666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.333333%}.offset-md-11{margin-left:91.666667%}}@media (min-width:992px){.col-lg{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-lg-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-lg-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-lg-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-lg-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-lg-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-lg-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-lg-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-lg-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-lg-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-lg-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-lg-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-lg-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-lg-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-lg-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-lg-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-lg-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-lg-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-lg-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-lg-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-lg-first{-ms-flex-order:-1;order:-1}.order-lg-last{-ms-flex-order:13;order:13}.order-lg-0{-ms-flex-order:0;order:0}.order-lg-1{-ms-flex-order:1;order:1}.order-lg-2{-ms-flex-order:2;order:2}.order-lg-3{-ms-flex-order:3;order:3}.order-lg-4{-ms-flex-order:4;order:4}.order-lg-5{-ms-flex-order:5;order:5}.order-lg-6{-ms-flex-order:6;order:6}.order-lg-7{-ms-flex-order:7;order:7}.order-lg-8{-ms-flex-order:8;order:8}.order-lg-9{-ms-flex-order:9;order:9}.order-lg-10{-ms-flex-order:10;order:10}.order-lg-11{-ms-flex-order:11;order:11}.order-lg-12{-ms-flex-order:12;order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.333333%}.offset-lg-2{margin-left:16.666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.333333%}.offset-lg-5{margin-left:41.666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.333333%}.offset-lg-8{margin-left:66.666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.333333%}.offset-lg-11{margin-left:91.666667%}}@media (min-width:1200px){.col-xl{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.row-cols-xl-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-xl-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-xl-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-xl-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-xl-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-xl-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-xl-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-xl-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-xl-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-xl-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-xl-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-xl-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-xl-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-xl-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-xl-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-xl-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-xl-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-xl-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-xl-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-xl-first{-ms-flex-order:-1;order:-1}.order-xl-last{-ms-flex-order:13;order:13}.order-xl-0{-ms-flex-order:0;order:0}.order-xl-1{-ms-flex-order:1;order:1}.order-xl-2{-ms-flex-order:2;order:2}.order-xl-3{-ms-flex-order:3;order:3}.order-xl-4{-ms-flex-order:4;order:4}.order-xl-5{-ms-flex-order:5;order:5}.order-xl-6{-ms-flex-order:6;order:6}.order-xl-7{-ms-flex-order:7;order:7}.order-xl-8{-ms-flex-order:8;order:8}.order-xl-9{-ms-flex-order:9;order:9}.order-xl-10{-ms-flex-order:10;order:10}.order-xl-11{-ms-flex-order:11;order:11}.order-xl-12{-ms-flex-order:12;order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.333333%}.offset-xl-2{margin-left:16.666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.333333%}.offset-xl-5{margin-left:41.666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.333333%}.offset-xl-8{margin-left:66.666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.333333%}.offset-xl-11{margin-left:91.666667%}}.table{width:100%;margin-bottom:1rem;color:#212529}.table td,.table th{padding:.75rem;vertical-align:top;border-top:1px solid #dee2e6}.table thead th{vertical-align:bottom;border-bottom:2px solid #dee2e6}.table tbody+tbody{border-top:2px solid #dee2e6}.table-sm td,.table-sm th{padding:.3rem}.table-bordered{border:1px solid #dee2e6}.table-bordered td,.table-bordered th{border:1px solid #dee2e6}.table-bordered thead td,.table-bordered thead th{border-bottom-width:2px}.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th{border:0}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.05)}.table-hover tbody tr:hover{color:#212529;background-color:rgba(0,0,0,.075)}.table-primary,.table-primary>td,.table-primary>th{background-color:#b8daff}.table-primary tbody+tbody,.table-primary td,.table-primary th,.table-primary thead th{border-color:#7abaff}.table-hover .table-primary:hover{background-color:#9fcdff}.table-hover .table-primary:hover>td,.table-hover .table-primary:hover>th{background-color:#9fcdff}.table-secondary,.table-secondary>td,.table-secondary>th{background-color:#d6d8db}.table-secondary tbody+tbody,.table-secondary td,.table-secondary th,.table-secondary thead th{border-color:#b3b7bb}.table-hover .table-secondary:hover{background-color:#c8cbcf}.table-hover .table-secondary:hover>td,.table-hover .table-secondary:hover>th{background-color:#c8cbcf}.table-success,.table-success>td,.table-success>th{background-color:#c3e6cb}.table-success tbody+tbody,.table-success td,.table-success th,.table-success thead th{border-color:#8fd19e}.table-hover .table-success:hover{background-color:#b1dfbb}.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#b1dfbb}.table-info,.table-info>td,.table-info>th{background-color:#bee5eb}.table-info tbody+tbody,.table-info td,.table-info th,.table-info thead th{border-color:#86cfda}.table-hover .table-info:hover{background-color:#abdde5}.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#abdde5}.table-warning,.table-warning>td,.table-warning>th{background-color:#ffeeba}.table-warning tbody+tbody,.table-warning td,.table-warning th,.table-warning thead th{border-color:#ffdf7e}.table-hover .table-warning:hover{background-color:#ffe8a1}.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#ffe8a1}.table-danger,.table-danger>td,.table-danger>th{background-color:#f5c6cb}.table-danger tbody+tbody,.table-danger td,.table-danger th,.table-danger thead th{border-color:#ed969e}.table-hover .table-danger:hover{background-color:#f1b0b7}.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#f1b0b7}.table-light,.table-light>td,.table-light>th{background-color:#fdfdfe}.table-light tbody+tbody,.table-light td,.table-light th,.table-light thead th{border-color:#fbfcfc}.table-hover .table-light:hover{background-color:#ececf6}.table-hover .table-light:hover>td,.table-hover .table-light:hover>th{background-color:#ececf6}.table-dark,.table-dark>td,.table-dark>th{background-color:#c6c8ca}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#95999c}.table-hover .table-dark:hover{background-color:#b9bbbe}.table-hover .table-dark:hover>td,.table-hover .table-dark:hover>th{background-color:#b9bbbe}.table-active,.table-active>td,.table-active>th{background-color:rgba(0,0,0,.075)}.table-hover .table-active:hover{background-color:rgba(0,0,0,.075)}.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:rgba(0,0,0,.075)}.table .thead-dark th{color:#fff;background-color:#343a40;border-color:#454d55}.table .thead-light th{color:#495057;background-color:#e9ecef;border-color:#dee2e6}.table-dark{color:#fff;background-color:#343a40}.table-dark td,.table-dark th,.table-dark thead th{border-color:#454d55}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:rgba(255,255,255,.05)}.table-dark.table-hover tbody tr:hover{color:#fff;background-color:rgba(255,255,255,.075)}@media (max-width:575.98px){.table-responsive-sm{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-sm>.table-bordered{border:0}}@media (max-width:767.98px){.table-responsive-md{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-md>.table-bordered{border:0}}@media (max-width:991.98px){.table-responsive-lg{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-lg>.table-bordered{border:0}}@media (max-width:1199.98px){.table-responsive-xl{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-xl>.table-bordered{border:0}}.table-responsive{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive>.table-bordered{border:0}.form-control{display:block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}.form-control:focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.form-control::-webkit-input-placeholder{color:#6c757d;opacity:1}.form-control::-moz-placeholder{color:#6c757d;opacity:1}.form-control:-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{-webkit-appearance:none;-moz-appearance:none;appearance:none}select.form-control:focus::-ms-value{color:#495057;background-color:#fff}.form-control-file,.form-control-range{display:block;width:100%}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem;line-height:1.5}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem;line-height:1.5}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;font-size:1rem;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.form-control-lg{height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}select.form-control[multiple],select.form-control[size]{height:auto}textarea.form-control{height:auto}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-5px;margin-left:-5px}.form-row>.col,.form-row>[class*=col-]{padding-right:5px;padding-left:5px}.form-check{position:relative;display:block;padding-left:1.25rem}.form-check-input{position:absolute;margin-top:.3rem;margin-left:-1.25rem}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{color:#6c757d}.form-check-label{margin-bottom:0}.form-check-inline{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;padding-left:0;margin-right:.75rem}.form-check-inline .form-check-input{position:static;margin-top:0;margin-right:.3125rem;margin-left:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#28a745}.valid-tooltip{position:absolute;top:100%;left:0;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(40,167,69,.9);border-radius:.25rem}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:#28a745;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-valid,.was-validated .custom-select:valid{border-color:#28a745;padding-right:calc(.75em + 2.3125rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px,url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}.custom-select.is-valid:focus,.was-validated .custom-select:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#28a745}.form-check-input.is-valid~.valid-feedback,.form-check-input.is-valid~.valid-tooltip,.was-validated .form-check-input:valid~.valid-feedback,.was-validated .form-check-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid~.custom-control-label,.was-validated .custom-control-input:valid~.custom-control-label{color:#28a745}.custom-control-input.is-valid~.custom-control-label::before,.was-validated .custom-control-input:valid~.custom-control-label::before{border-color:#28a745}.custom-control-input.is-valid:checked~.custom-control-label::before,.was-validated .custom-control-input:valid:checked~.custom-control-label::before{border-color:#34ce57;background-color:#34ce57}.custom-control-input.is-valid:focus~.custom-control-label::before,.was-validated .custom-control-input:valid:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label::before,.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label::before{border-color:#28a745}.custom-file-input.is-valid~.custom-file-label,.was-validated .custom-file-input:valid~.custom-file-label{border-color:#28a745}.custom-file-input.is-valid:focus~.custom-file-label,.was-validated .custom-file-input:valid:focus~.custom-file-label{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;left:0;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(220,53,69,.9);border-radius:.25rem}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-invalid,.was-validated .custom-select:invalid{border-color:#dc3545;padding-right:calc(.75em + 2.3125rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px,url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}.custom-select.is-invalid:focus,.was-validated .custom-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-input.is-invalid~.invalid-feedback,.form-check-input.is-invalid~.invalid-tooltip,.was-validated .form-check-input:invalid~.invalid-feedback,.was-validated .form-check-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid~.custom-control-label,.was-validated .custom-control-input:invalid~.custom-control-label{color:#dc3545}.custom-control-input.is-invalid~.custom-control-label::before,.was-validated .custom-control-input:invalid~.custom-control-label::before{border-color:#dc3545}.custom-control-input.is-invalid:checked~.custom-control-label::before,.was-validated .custom-control-input:invalid:checked~.custom-control-label::before{border-color:#e4606d;background-color:#e4606d}.custom-control-input.is-invalid:focus~.custom-control-label::before,.was-validated .custom-control-input:invalid:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label::before,.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label::before{border-color:#dc3545}.custom-file-input.is-invalid~.custom-file-label,.was-validated .custom-file-input:invalid~.custom-file-label{border-color:#dc3545}.custom-file-input.is-invalid:focus~.custom-file-label,.was-validated .custom-file-input:invalid:focus~.custom-file-label{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-inline{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-align:center;align-items:center}.form-inline .form-check{width:100%}@media (min-width:576px){.form-inline label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin-bottom:0}.form-inline .form-group{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-align:center;align-items:center;margin-bottom:0}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-plaintext{display:inline-block}.form-inline .custom-select,.form-inline .input-group{width:auto}.form-inline .form-check{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-left:0}.form-inline .form-check-input{position:relative;-ms-flex-negative:0;flex-shrink:0;margin-top:0;margin-right:.25rem;margin-left:0}.form-inline .custom-control{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}.btn{display:inline-block;font-weight:400;color:#212529;text-align:center;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529;text-decoration:none}.btn.focus,.btn:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.btn.disabled,.btn:disabled{opacity:.65}.btn:not(:disabled):not(.disabled){cursor:pointer}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-primary{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:hover{color:#fff;background-color:#0069d9;border-color:#0062cc}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#0069d9;border-color:#0062cc;box-shadow:0 0 0 .2rem rgba(38,143,255,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#0062cc;border-color:#005cbf}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(38,143,255,.5)}.btn-secondary{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:hover{color:#fff;background-color:#5a6268;border-color:#545b62}.btn-secondary.focus,.btn-secondary:focus{color:#fff;background-color:#5a6268;border-color:#545b62;box-shadow:0 0 0 .2rem rgba(130,138,145,.5)}.btn-secondary.disabled,.btn-secondary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{color:#fff;background-color:#545b62;border-color:#4e555b}.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(130,138,145,.5)}.btn-success{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:hover{color:#fff;background-color:#218838;border-color:#1e7e34}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#218838;border-color:#1e7e34;box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-success.disabled,.btn-success:disabled{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:not(:disabled):not(.disabled).active,.btn-success:not(:disabled):not(.disabled):active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#1e7e34;border-color:#1c7430}.btn-success:not(:disabled):not(.disabled).active:focus,.btn-success:not(:disabled):not(.disabled):active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-info{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:hover{color:#fff;background-color:#138496;border-color:#117a8b}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#138496;border-color:#117a8b;box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-info.disabled,.btn-info:disabled{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:not(:disabled):not(.disabled).active,.btn-info:not(:disabled):not(.disabled):active,.show>.btn-info.dropdown-toggle{color:#fff;background-color:#117a8b;border-color:#10707f}.btn-info:not(:disabled):not(.disabled).active:focus,.btn-info:not(:disabled):not(.disabled):active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-warning{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:hover{color:#212529;background-color:#e0a800;border-color:#d39e00}.btn-warning.focus,.btn-warning:focus{color:#212529;background-color:#e0a800;border-color:#d39e00;box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-warning.disabled,.btn-warning:disabled{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:not(:disabled):not(.disabled).active,.btn-warning:not(:disabled):not(.disabled):active,.show>.btn-warning.dropdown-toggle{color:#212529;background-color:#d39e00;border-color:#c69500}.btn-warning:not(:disabled):not(.disabled).active:focus,.btn-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-danger{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:hover{color:#fff;background-color:#c82333;border-color:#bd2130}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c82333;border-color:#bd2130;box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-danger.disabled,.btn-danger:disabled{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:not(:disabled):not(.disabled).active,.btn-danger:not(:disabled):not(.disabled):active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#bd2130;border-color:#b21f2d}.btn-danger:not(:disabled):not(.disabled).active:focus,.btn-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-light{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:hover{color:#212529;background-color:#e2e6ea;border-color:#dae0e5}.btn-light.focus,.btn-light:focus{color:#212529;background-color:#e2e6ea;border-color:#dae0e5;box-shadow:0 0 0 .2rem rgba(216,217,219,.5)}.btn-light.disabled,.btn-light:disabled{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{color:#212529;background-color:#dae0e5;border-color:#d3d9df}.btn-light:not(:disabled):not(.disabled).active:focus,.btn-light:not(:disabled):not(.disabled):active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(216,217,219,.5)}.btn-dark{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark:hover{color:#fff;background-color:#23272b;border-color:#1d2124}.btn-dark.focus,.btn-dark:focus{color:#fff;background-color:#23272b;border-color:#1d2124;box-shadow:0 0 0 .2rem rgba(82,88,93,.5)}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark:not(:disabled):not(.disabled).active,.btn-dark:not(:disabled):not(.disabled):active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#1d2124;border-color:#171a1d}.btn-dark:not(:disabled):not(.disabled).active:focus,.btn-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(82,88,93,.5)}.btn-outline-primary{color:#007bff;border-color:#007bff}.btn-outline-primary:hover{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary.focus,.btn-outline-primary:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#007bff;background-color:transparent}.btn-outline-primary:not(:disabled):not(.disabled).active,.btn-outline-primary:not(:disabled):not(.disabled):active,.show>.btn-outline-primary.dropdown-toggle{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.btn-outline-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.btn-outline-secondary{color:#6c757d;border-color:#6c757d}.btn-outline-secondary:hover{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary.focus,.btn-outline-secondary:focus{box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#6c757d;background-color:transparent}.btn-outline-secondary:not(:disabled):not(.disabled).active,.btn-outline-secondary:not(:disabled):not(.disabled):active,.show>.btn-outline-secondary.dropdown-toggle{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.btn-outline-success{color:#28a745;border-color:#28a745}.btn-outline-success:hover{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success.focus,.btn-outline-success:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#28a745;background-color:transparent}.btn-outline-success:not(:disabled):not(.disabled).active,.btn-outline-success:not(:disabled):not(.disabled):active,.show>.btn-outline-success.dropdown-toggle{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success:not(:disabled):not(.disabled).active:focus,.btn-outline-success:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-info{color:#17a2b8;border-color:#17a2b8}.btn-outline-info:hover{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info.focus,.btn-outline-info:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#17a2b8;background-color:transparent}.btn-outline-info:not(:disabled):not(.disabled).active,.btn-outline-info:not(:disabled):not(.disabled):active,.show>.btn-outline-info.dropdown-toggle{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info:not(:disabled):not(.disabled).active:focus,.btn-outline-info:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-warning{color:#ffc107;border-color:#ffc107}.btn-outline-warning:hover{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning.focus,.btn-outline-warning:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#ffc107;background-color:transparent}.btn-outline-warning:not(:disabled):not(.disabled).active,.btn-outline-warning:not(:disabled):not(.disabled):active,.show>.btn-outline-warning.dropdown-toggle{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.btn-outline-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-danger{color:#dc3545;border-color:#dc3545}.btn-outline-danger:hover{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger.focus,.btn-outline-danger:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#dc3545;background-color:transparent}.btn-outline-danger:not(:disabled):not(.disabled).active,.btn-outline-danger:not(:disabled):not(.disabled):active,.show>.btn-outline-danger.dropdown-toggle{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.btn-outline-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-light{color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:hover{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light.focus,.btn-outline-light:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#f8f9fa;background-color:transparent}.btn-outline-light:not(:disabled):not(.disabled).active,.btn-outline-light:not(:disabled):not(.disabled):active,.show>.btn-outline-light.dropdown-toggle{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:not(:disabled):not(.disabled).active:focus,.btn-outline-light:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-dark{color:#343a40;border-color:#343a40}.btn-outline-dark:hover{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark.focus,.btn-outline-dark:focus{box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#343a40;background-color:transparent}.btn-outline-dark:not(:disabled):not(.disabled).active,.btn-outline-dark:not(:disabled):not(.disabled):active,.show>.btn-outline-dark.dropdown-toggle{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.btn-outline-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.btn-link{font-weight:400;color:#007bff;text-decoration:none}.btn-link:hover{color:#0056b3;text-decoration:underline}.btn-link.focus,.btn-link:focus{text-decoration:underline}.btn-link.disabled,.btn-link:disabled{color:#6c757d;pointer-events:none}.btn-group-lg>.btn,.btn-lg{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{position:relative;height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropleft,.dropright,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:10rem;padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropdown-menu-left{right:auto;left:0}.dropdown-menu-right{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-left{right:auto;left:0}.dropdown-menu-sm-right{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-left{right:auto;left:0}.dropdown-menu-md-right{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-left{right:auto;left:0}.dropdown-menu-lg-right{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-left{right:auto;left:0}.dropdown-menu-xl-right{right:0;left:auto}}.dropup .dropdown-menu{top:auto;bottom:100%;margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-menu{top:0;right:auto;left:100%;margin-top:0;margin-left:.125rem}.dropright .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropright .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-toggle::after{vertical-align:0}.dropleft .dropdown-menu{top:0;right:100%;left:auto;margin-top:0;margin-right:.125rem}.dropleft .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropleft .dropdown-toggle::after{display:none}.dropleft .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropleft .dropdown-toggle:empty::after{margin-left:0}.dropleft .dropdown-toggle::before{vertical-align:0}.dropdown-menu[x-placement^=bottom],.dropdown-menu[x-placement^=left],.dropdown-menu[x-placement^=right],.dropdown-menu[x-placement^=top]{right:auto;bottom:auto}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid #e9ecef}.dropdown-item{display:block;width:100%;padding:.25rem 1.5rem;clear:both;font-weight:400;color:#212529;text-align:inherit;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#16181b;text-decoration:none;background-color:#f8f9fa}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#007bff}.dropdown-item.disabled,.dropdown-item:disabled{color:#6c757d;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:.5rem 1.5rem;margin-bottom:0;font-size:.875rem;color:#6c757d;white-space:nowrap}.dropdown-item-text{display:block;padding:.25rem 1.5rem;color:#212529}.btn-group,.btn-group-vertical{position:relative;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;-ms-flex:1 1 auto;flex:1 1 auto}.btn-group-vertical>.btn:hover,.btn-group>.btn:hover{z-index:1}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus{z-index:1}.btn-toolbar{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:start;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split::after,.dropright .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-left:0}.dropleft .dropdown-toggle-split::before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.btn-group-toggle>.btn,.btn-group-toggle>.btn-group>.btn{margin-bottom:0}.btn-group-toggle>.btn input[type=checkbox],.btn-group-toggle>.btn input[type=radio],.btn-group-toggle>.btn-group>.btn input[type=checkbox],.btn-group-toggle>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;width:100%}.input-group>.custom-file,.input-group>.custom-select,.input-group>.form-control,.input-group>.form-control-plaintext{position:relative;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;min-width:0;margin-bottom:0}.input-group>.custom-file+.custom-file,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.form-control,.input-group>.custom-select+.custom-file,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.form-control,.input-group>.form-control+.custom-file,.input-group>.form-control+.custom-select,.input-group>.form-control+.form-control,.input-group>.form-control-plaintext+.custom-file,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.form-control{margin-left:-1px}.input-group>.custom-file .custom-file-input:focus~.custom-file-label,.input-group>.custom-select:focus,.input-group>.form-control:focus{z-index:3}.input-group>.custom-file .custom-file-input:focus{z-index:4}.input-group>.custom-select:not(:last-child),.input-group>.form-control:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.custom-select:not(:first-child),.input-group>.form-control:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.custom-file{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.input-group>.custom-file:not(:last-child) .custom-file-label,.input-group>.custom-file:not(:last-child) .custom-file-label::after{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.custom-file:not(:first-child) .custom-file-label{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-append,.input-group-prepend{display:-ms-flexbox;display:flex}.input-group-append .btn,.input-group-prepend .btn{position:relative;z-index:2}.input-group-append .btn:focus,.input-group-prepend .btn:focus{z-index:3}.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.btn,.input-group-append .input-group-text+.input-group-text,.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-prepend .input-group-text+.input-group-text{margin-left:-1px}.input-group-prepend{margin-right:-1px}.input-group-append{margin-left:-1px}.input-group-text{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:.375rem .75rem;margin-bottom:0;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem}.input-group-text input[type=checkbox],.input-group-text input[type=radio]{margin-top:0}.input-group-lg>.custom-select,.input-group-lg>.form-control:not(textarea){height:calc(1.5em + 1rem + 2px)}.input-group-lg>.custom-select,.input-group-lg>.form-control,.input-group-lg>.input-group-append>.btn,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-prepend>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.input-group-sm>.custom-select,.input-group-sm>.form-control:not(textarea){height:calc(1.5em + .5rem + 2px)}.input-group-sm>.custom-select,.input-group-sm>.form-control,.input-group-sm>.input-group-append>.btn,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-prepend>.input-group-text{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:1.75rem}.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child),.input-group>.input-group-append:not(:last-child)>.btn,.input-group>.input-group-append:not(:last-child)>.input-group-text,.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-top-left-radius:0;border-bottom-left-radius:0}.custom-control{position:relative;z-index:1;display:block;min-height:1.5rem;padding-left:1.5rem}.custom-control-inline{display:-ms-inline-flexbox;display:inline-flex;margin-right:1rem}.custom-control-input{position:absolute;left:0;z-index:-1;width:1rem;height:1.25rem;opacity:0}.custom-control-input:checked~.custom-control-label::before{color:#fff;border-color:#007bff;background-color:#007bff}.custom-control-input:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-control-input:focus:not(:checked)~.custom-control-label::before{border-color:#80bdff}.custom-control-input:not(:disabled):active~.custom-control-label::before{color:#fff;background-color:#b3d7ff;border-color:#b3d7ff}.custom-control-input:disabled~.custom-control-label,.custom-control-input[disabled]~.custom-control-label{color:#6c757d}.custom-control-input:disabled~.custom-control-label::before,.custom-control-input[disabled]~.custom-control-label::before{background-color:#e9ecef}.custom-control-label{position:relative;margin-bottom:0;vertical-align:top}.custom-control-label::before{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;pointer-events:none;content:"";background-color:#fff;border:#adb5bd solid 1px}.custom-control-label::after{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;content:"";background:no-repeat 50%/50% 50%}.custom-checkbox .custom-control-label::before{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::before{border-color:#007bff;background-color:#007bff}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e")}.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-radio .custom-control-label::before{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.custom-radio .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-switch{padding-left:2.25rem}.custom-switch .custom-control-label::before{left:-2.25rem;width:1.75rem;pointer-events:all;border-radius:.5rem}.custom-switch .custom-control-label::after{top:calc(.25rem + 2px);left:calc(-2.25rem + 2px);width:calc(1rem - 4px);height:calc(1rem - 4px);background-color:#adb5bd;border-radius:.5rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-switch .custom-control-label::after{transition:none}}.custom-switch .custom-control-input:checked~.custom-control-label::after{background-color:#fff;-webkit-transform:translateX(.75rem);transform:translateX(.75rem)}.custom-switch .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-select{display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem 1.75rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;vertical-align:middle;background:#fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;border:1px solid #ced4da;border-radius:.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-select:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-select:focus::-ms-value{color:#495057;background-color:#fff}.custom-select[multiple],.custom-select[size]:not([size="1"]){height:auto;padding-right:.75rem;background-image:none}.custom-select:disabled{color:#6c757d;background-color:#e9ecef}.custom-select::-ms-expand{display:none}.custom-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}.custom-select-sm{height:calc(1.5em + .5rem + 2px);padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem}.custom-select-lg{height:calc(1.5em + 1rem + 2px);padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem}.custom-file{position:relative;display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);margin-bottom:0}.custom-file-input{position:relative;z-index:2;width:100%;height:calc(1.5em + .75rem + 2px);margin:0;opacity:0}.custom-file-input:focus~.custom-file-label{border-color:#80bdff;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-file-input:disabled~.custom-file-label,.custom-file-input[disabled]~.custom-file-label{background-color:#e9ecef}.custom-file-input:lang(en)~.custom-file-label::after{content:"Browse"}.custom-file-input~.custom-file-label[data-browse]::after{content:attr(data-browse)}.custom-file-label{position:absolute;top:0;right:0;left:0;z-index:1;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem}.custom-file-label::after{position:absolute;top:0;right:0;bottom:0;z-index:3;display:block;height:calc(1.5em + .75rem);padding:.375rem .75rem;line-height:1.5;color:#495057;content:"Browse";background-color:#e9ecef;border-left:inherit;border-radius:0 .25rem .25rem 0}.custom-range{width:100%;height:1.4rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-range:focus{outline:0}.custom-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range:focus::-ms-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range::-moz-focus-outer{border:0}.custom-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#007bff;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.custom-range::-webkit-slider-thumb:active{background-color:#b3d7ff}.custom-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.custom-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#007bff;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-moz-range-thumb{-moz-transition:none;transition:none}}.custom-range::-moz-range-thumb:active{background-color:#b3d7ff}.custom-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.custom-range::-ms-thumb{width:1rem;height:1rem;margin-top:0;margin-right:.2rem;margin-left:.2rem;background-color:#007bff;border:0;border-radius:1rem;-ms-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-ms-thumb{-ms-transition:none;transition:none}}.custom-range::-ms-thumb:active{background-color:#b3d7ff}.custom-range::-ms-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:transparent;border-color:transparent;border-width:.5rem}.custom-range::-ms-fill-lower{background-color:#dee2e6;border-radius:1rem}.custom-range::-ms-fill-upper{margin-right:15px;background-color:#dee2e6;border-radius:1rem}.custom-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.custom-range:disabled::-webkit-slider-runnable-track{cursor:default}.custom-range:disabled::-moz-range-thumb{background-color:#adb5bd}.custom-range:disabled::-moz-range-track{cursor:default}.custom-range:disabled::-ms-thumb{background-color:#adb5bd}.custom-control-label::before,.custom-file-label,.custom-select{transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-control-label::before,.custom-file-label,.custom-select{transition:none}}.nav{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem}.nav-link:focus,.nav-link:hover{text-decoration:none}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-item{margin-bottom:-1px}.nav-tabs .nav-link{border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6}.nav-tabs .nav-link.disabled{color:#6c757d;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#495057;background-color:#fff;border-color:#dee2e6 #dee2e6 #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#007bff}.nav-fill .nav-item,.nav-fill>.nav-link{-ms-flex:1 1 auto;flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;padding:.5rem 1rem}.navbar .container,.navbar .container-fluid,.navbar .container-lg,.navbar .container-md,.navbar .container-sm,.navbar .container-xl{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}.navbar-brand{display:inline-block;padding-top:.3125rem;padding-bottom:.3125rem;margin-right:1rem;font-size:1.25rem;line-height:inherit;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-nav{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static;float:none}.navbar-text{display:inline-block;padding-top:.5rem;padding-bottom:.5rem}.navbar-collapse{-ms-flex-preferred-size:100%;flex-basis:100%;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;background-color:transparent;border:1px solid transparent;border-radius:.25rem}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;content:"";background:no-repeat center center;background-size:100% 100%}@media (max-width:575.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{padding-right:0;padding-left:0}}@media (min-width:576px){.navbar-expand-sm{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-sm .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-sm .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (max-width:767.98px){.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{padding-right:0;padding-left:0}}@media (min-width:768px){.navbar-expand-md{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-md .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-md .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (max-width:991.98px){.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{padding-right:0;padding-left:0}}@media (min-width:992px){.navbar-expand-lg{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-lg .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-lg .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (max-width:1199.98px){.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{padding-right:0;padding-left:0}}@media (min-width:1200px){.navbar-expand-xl{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-xl .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-xl .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}.navbar-expand{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{padding-right:0;padding-left:0}.navbar-expand .navbar-nav{-ms-flex-direction:row;flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand .navbar-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand{color:rgba(0,0,0,.9)}.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.5)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .nav-link.show,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{color:rgba(0,0,0,.5);border-color:rgba(0,0,0,.1)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-light .navbar-text{color:rgba(0,0,0,.5)}.navbar-light .navbar-text a{color:rgba(0,0,0,.9)}.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand{color:#fff}.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:rgba(255,255,255,.5)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:rgba(255,255,255,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:rgba(255,255,255,.25)}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{color:rgba(255,255,255,.5);border-color:rgba(255,255,255,.1)}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-dark .navbar-text{color:rgba(255,255,255,.5)}.navbar-dark .navbar-text a{color:#fff}.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{-ms-flex:1 1 auto;flex:1 1 auto;min-height:1px;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem;margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card-header{padding:.75rem 1.25rem;margin-bottom:0;background-color:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{padding:.75rem 1.25rem;background-color:rgba(0,0,0,.03);border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-right:-.625rem;margin-bottom:-.75rem;margin-left:-.625rem;border-bottom:0}.card-header-pills{margin-right:-.625rem;margin-left:-.625rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1.25rem;border-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom,.card-img-top{-ms-flex-negative:0;flex-shrink:0;width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card-deck .card{margin-bottom:15px}@media (min-width:576px){.card-deck{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;margin-right:-15px;margin-left:-15px}.card-deck .card{-ms-flex:1 0 0%;flex:1 0 0%;margin-right:15px;margin-bottom:0;margin-left:15px}}.card-group>.card{margin-bottom:15px}@media (min-width:576px){.card-group{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap}.card-group>.card{-ms-flex:1 0 0%;flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:.75rem}@media (min-width:576px){.card-columns{-webkit-column-count:3;-moz-column-count:3;column-count:3;-webkit-column-gap:1.25rem;-moz-column-gap:1.25rem;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.accordion{overflow-anchor:none}.accordion>.card{overflow:hidden}.accordion>.card:not(:last-of-type){border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.accordion>.card:not(:first-of-type){border-top-left-radius:0;border-top-right-radius:0}.accordion>.card>.card-header{border-radius:0;margin-bottom:-1px}.breadcrumb{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:.75rem 1rem;margin-bottom:1rem;list-style:none;background-color:#e9ecef;border-radius:.25rem}.breadcrumb-item{display:-ms-flexbox;display:flex}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item::before{display:inline-block;padding-right:.5rem;color:#6c757d;content:"/"}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:underline}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:none}.breadcrumb-item.active{color:#6c757d}.pagination{display:-ms-flexbox;display:flex;padding-left:0;list-style:none;border-radius:.25rem}.page-link{position:relative;display:block;padding:.5rem .75rem;margin-left:-1px;line-height:1.25;color:#007bff;background-color:#fff;border:1px solid #dee2e6}.page-link:hover{z-index:2;color:#0056b3;text-decoration:none;background-color:#e9ecef;border-color:#dee2e6}.page-link:focus{z-index:3;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.page-item:first-child .page-link{margin-left:0;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.page-item.active .page-link{z-index:3;color:#fff;background-color:#007bff;border-color:#007bff}.page-item.disabled .page-link{color:#6c757d;pointer-events:none;cursor:auto;background-color:#fff;border-color:#dee2e6}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem;line-height:1.5}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem;line-height:1.5}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.badge{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.badge{transition:none}}a.badge:focus,a.badge:hover{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}.badge-primary{color:#fff;background-color:#007bff}a.badge-primary:focus,a.badge-primary:hover{color:#fff;background-color:#0062cc}a.badge-primary.focus,a.badge-primary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.badge-secondary{color:#fff;background-color:#6c757d}a.badge-secondary:focus,a.badge-secondary:hover{color:#fff;background-color:#545b62}a.badge-secondary.focus,a.badge-secondary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.badge-success{color:#fff;background-color:#28a745}a.badge-success:focus,a.badge-success:hover{color:#fff;background-color:#1e7e34}a.badge-success.focus,a.badge-success:focus{outline:0;box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.badge-info{color:#fff;background-color:#17a2b8}a.badge-info:focus,a.badge-info:hover{color:#fff;background-color:#117a8b}a.badge-info.focus,a.badge-info:focus{outline:0;box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.badge-warning{color:#212529;background-color:#ffc107}a.badge-warning:focus,a.badge-warning:hover{color:#212529;background-color:#d39e00}a.badge-warning.focus,a.badge-warning:focus{outline:0;box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.badge-danger{color:#fff;background-color:#dc3545}a.badge-danger:focus,a.badge-danger:hover{color:#fff;background-color:#bd2130}a.badge-danger.focus,a.badge-danger:focus{outline:0;box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.badge-light{color:#212529;background-color:#f8f9fa}a.badge-light:focus,a.badge-light:hover{color:#212529;background-color:#dae0e5}a.badge-light.focus,a.badge-light:focus{outline:0;box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.badge-dark{color:#fff;background-color:#343a40}a.badge-dark:focus,a.badge-dark:hover{color:#fff;background-color:#1d2124}a.badge-dark.focus,a.badge-dark:focus{outline:0;box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.jumbotron{padding:2rem 1rem;margin-bottom:2rem;background-color:#e9ecef;border-radius:.3rem}@media (min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-fluid{padding-right:0;padding-left:0;border-radius:0}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:4rem}.alert-dismissible .close{position:absolute;top:0;right:0;padding:.75rem 1.25rem;color:inherit}.alert-primary{color:#004085;background-color:#cce5ff;border-color:#b8daff}.alert-primary hr{border-top-color:#9fcdff}.alert-primary .alert-link{color:#002752}.alert-secondary{color:#383d41;background-color:#e2e3e5;border-color:#d6d8db}.alert-secondary hr{border-top-color:#c8cbcf}.alert-secondary .alert-link{color:#202326}.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert-success hr{border-top-color:#b1dfbb}.alert-success .alert-link{color:#0b2e13}.alert-info{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb}.alert-info hr{border-top-color:#abdde5}.alert-info .alert-link{color:#062c33}.alert-warning{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.alert-warning hr{border-top-color:#ffe8a1}.alert-warning .alert-link{color:#533f03}.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert-danger hr{border-top-color:#f1b0b7}.alert-danger .alert-link{color:#491217}.alert-light{color:#818182;background-color:#fefefe;border-color:#fdfdfe}.alert-light hr{border-top-color:#ececf6}.alert-light .alert-link{color:#686868}.alert-dark{color:#1b1e21;background-color:#d6d8d9;border-color:#c6c8ca}.alert-dark hr{border-top-color:#b9bbbe}.alert-dark .alert-link{color:#040505}@-webkit-keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}.progress{display:-ms-flexbox;display:flex;height:1rem;overflow:hidden;line-height:0;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.progress-bar{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;overflow:hidden;color:#fff;text-align:center;white-space:nowrap;background-color:#007bff;transition:width .6s ease}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:progress-bar-stripes 1s linear infinite;animation:progress-bar-stripes 1s linear infinite}@media (prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.media{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.media-body{-ms-flex:1;flex:1}.list-group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:.25rem}.list-group-item-action{width:100%;color:#495057;text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:#495057;text-decoration:none;background-color:#f8f9fa}.list-group-item-action:active{color:#212529;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:.75rem 1.25rem;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;pointer-events:none;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;background-color:#007bff;border-color:#007bff}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:-1px;border-top-width:1px}.list-group-horizontal{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}@media (min-width:576px){.list-group-horizontal-sm{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:768px){.list-group-horizontal-md{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:992px){.list-group-horizontal-lg{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1200px){.list-group-horizontal-xl{-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 1px}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#004085;background-color:#b8daff}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#004085;background-color:#9fcdff}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#004085;border-color:#004085}.list-group-item-secondary{color:#383d41;background-color:#d6d8db}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#383d41;background-color:#c8cbcf}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#383d41;border-color:#383d41}.list-group-item-success{color:#155724;background-color:#c3e6cb}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#155724;background-color:#b1dfbb}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#155724;border-color:#155724}.list-group-item-info{color:#0c5460;background-color:#bee5eb}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#0c5460;background-color:#abdde5}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#0c5460;border-color:#0c5460}.list-group-item-warning{color:#856404;background-color:#ffeeba}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#856404;background-color:#ffe8a1}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#856404;border-color:#856404}.list-group-item-danger{color:#721c24;background-color:#f5c6cb}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#721c24;background-color:#f1b0b7}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#721c24;border-color:#721c24}.list-group-item-light{color:#818182;background-color:#fdfdfe}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#818182;background-color:#ececf6}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#818182;border-color:#818182}.list-group-item-dark{color:#1b1e21;background-color:#c6c8ca}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#1b1e21;background-color:#b9bbbe}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#1b1e21;border-color:#1b1e21}.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.5}.close:hover{color:#000;text-decoration:none}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{opacity:.75}button.close{padding:0;background-color:transparent;border:0}a.close.disabled{pointer-events:none}.toast{-ms-flex-preferred-size:350px;flex-basis:350px;max-width:350px;font-size:.875rem;background-color:rgba(255,255,255,.85);background-clip:padding-box;border:1px solid rgba(0,0,0,.1);box-shadow:0 .25rem .75rem rgba(0,0,0,.1);opacity:0;border-radius:.25rem}.toast:not(:last-child){margin-bottom:.75rem}.toast.showing{opacity:1}.toast.show{display:block;opacity:1}.toast.hide{display:none}.toast-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:.25rem .75rem;color:#6c757d;background-color:rgba(255,255,255,.85);background-clip:padding-box;border-bottom:1px solid rgba(0,0,0,.05);border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.toast-body{padding:.75rem}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal{position:fixed;top:0;left:0;z-index:1050;display:none;width:100%;height:100%;overflow:hidden;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out;-webkit-transform:translate(0,-50px);transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{-webkit-transform:none;transform:none}.modal.modal-static .modal-dialog{-webkit-transform:scale(1.02);transform:scale(1.02)}.modal-dialog-scrollable{display:-ms-flexbox;display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 1rem);overflow:hidden}.modal-dialog-scrollable .modal-footer,.modal-dialog-scrollable .modal-header{-ms-flex-negative:0;flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:calc(100% - 1rem)}.modal-dialog-centered::before{display:block;height:calc(100vh - 1rem);height:-webkit-min-content;height:-moz-min-content;height:min-content;content:""}.modal-dialog-centered.modal-dialog-scrollable{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable::before{content:none}.modal-content{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 1rem;border-bottom:1px solid #dee2e6;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.modal-header .close{padding:1rem 1rem;margin:-1rem -1rem -1rem auto}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;-ms-flex:1 1 auto;flex:1 1 auto;padding:1rem}.modal-footer{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;padding:.75rem;border-top:1px solid #dee2e6;border-bottom-right-radius:calc(.3rem - 1px);border-bottom-left-radius:calc(.3rem - 1px)}.modal-footer>*{margin:.25rem}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-dialog-centered::before{height:calc(100vh - 3.5rem);height:-webkit-min-content;height:-moz-min-content;height:min-content}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media (min-width:1200px){.modal-xl{max-width:1140px}}.tooltip{position:absolute;z-index:1070;display:block;margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[x-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[x-placement^=top] .arrow,.bs-tooltip-top .arrow{bottom:0}.bs-tooltip-auto[x-placement^=top] .arrow::before,.bs-tooltip-top .arrow::before{top:0;border-width:.4rem .4rem 0;border-top-color:#000}.bs-tooltip-auto[x-placement^=right],.bs-tooltip-right{padding:0 .4rem}.bs-tooltip-auto[x-placement^=right] .arrow,.bs-tooltip-right .arrow{left:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=right] .arrow::before,.bs-tooltip-right .arrow::before{right:0;border-width:.4rem .4rem .4rem 0;border-right-color:#000}.bs-tooltip-auto[x-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[x-placement^=bottom] .arrow,.bs-tooltip-bottom .arrow{top:0}.bs-tooltip-auto[x-placement^=bottom] .arrow::before,.bs-tooltip-bottom .arrow::before{bottom:0;border-width:0 .4rem .4rem;border-bottom-color:#000}.bs-tooltip-auto[x-placement^=left],.bs-tooltip-left{padding:0 .4rem}.bs-tooltip-auto[x-placement^=left] .arrow,.bs-tooltip-left .arrow{right:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=left] .arrow::before,.bs-tooltip-left .arrow::before{left:0;border-width:.4rem 0 .4rem .4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.popover{position:absolute;top:0;left:0;z-index:1060;display:block;max-width:276px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover .arrow{position:absolute;display:block;width:1rem;height:.5rem;margin:0 .3rem}.popover .arrow::after,.popover .arrow::before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid}.bs-popover-auto[x-placement^=top],.bs-popover-top{margin-bottom:.5rem}.bs-popover-auto[x-placement^=top]>.arrow,.bs-popover-top>.arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=top]>.arrow::before,.bs-popover-top>.arrow::before{bottom:0;border-width:.5rem .5rem 0;border-top-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=top]>.arrow::after,.bs-popover-top>.arrow::after{bottom:1px;border-width:.5rem .5rem 0;border-top-color:#fff}.bs-popover-auto[x-placement^=right],.bs-popover-right{margin-left:.5rem}.bs-popover-auto[x-placement^=right]>.arrow,.bs-popover-right>.arrow{left:calc(-.5rem - 1px);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=right]>.arrow::before,.bs-popover-right>.arrow::before{left:0;border-width:.5rem .5rem .5rem 0;border-right-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=right]>.arrow::after,.bs-popover-right>.arrow::after{left:1px;border-width:.5rem .5rem .5rem 0;border-right-color:#fff}.bs-popover-auto[x-placement^=bottom],.bs-popover-bottom{margin-top:.5rem}.bs-popover-auto[x-placement^=bottom]>.arrow,.bs-popover-bottom>.arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=bottom]>.arrow::before,.bs-popover-bottom>.arrow::before{top:0;border-width:0 .5rem .5rem .5rem;border-bottom-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=bottom]>.arrow::after,.bs-popover-bottom>.arrow::after{top:1px;border-width:0 .5rem .5rem .5rem;border-bottom-color:#fff}.bs-popover-auto[x-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;left:50%;display:block;width:1rem;margin-left:-.5rem;content:"";border-bottom:1px solid #f7f7f7}.bs-popover-auto[x-placement^=left],.bs-popover-left{margin-right:.5rem}.bs-popover-auto[x-placement^=left]>.arrow,.bs-popover-left>.arrow{right:calc(-.5rem - 1px);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=left]>.arrow::before,.bs-popover-left>.arrow::before{right:0;border-width:.5rem 0 .5rem .5rem;border-left-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=left]>.arrow::after,.bs-popover-left>.arrow::after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.popover-header{padding:.5rem .75rem;margin-bottom:0;font-size:1rem;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:.5rem .75rem;color:#212529}.carousel{position:relative}.carousel.pointer-event{-ms-touch-action:pan-y;touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-right,.carousel-item-next:not(.carousel-item-left){-webkit-transform:translateX(100%);transform:translateX(100%)}.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right){-webkit-transform:translateX(-100%);transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;-webkit-transform:none;transform:none}.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:15%;color:#fff;text-align:center;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:20px;height:20px;background:no-repeat 50%/100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:15;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding-left:0;margin-right:15%;margin-left:15%;list-style:none}.carousel-indicators li{box-sizing:content-box;-ms-flex:0 1 auto;flex:0 1 auto;width:30px;height:3px;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators li{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center}@-webkit-keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;border:.25em solid currentColor;border-right-color:transparent;border-radius:50%;-webkit-animation:spinner-border .75s linear infinite;animation:spinner-border .75s linear infinite}.spinner-border-sm{width:1rem;height:1rem;border-width:.2em}@-webkit-keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1;-webkit-transform:none;transform:none}}@keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1;-webkit-transform:none;transform:none}}.spinner-grow{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;background-color:currentColor;border-radius:50%;opacity:0;-webkit-animation:spinner-grow .75s linear infinite;animation:spinner-grow .75s linear infinite}.spinner-grow-sm{width:1rem;height:1rem}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-primary{background-color:#007bff!important}a.bg-primary:focus,a.bg-primary:hover,button.bg-primary:focus,button.bg-primary:hover{background-color:#0062cc!important}.bg-secondary{background-color:#6c757d!important}a.bg-secondary:focus,a.bg-secondary:hover,button.bg-secondary:focus,button.bg-secondary:hover{background-color:#545b62!important}.bg-success{background-color:#28a745!important}a.bg-success:focus,a.bg-success:hover,button.bg-success:focus,button.bg-success:hover{background-color:#1e7e34!important}.bg-info{background-color:#17a2b8!important}a.bg-info:focus,a.bg-info:hover,button.bg-info:focus,button.bg-info:hover{background-color:#117a8b!important}.bg-warning{background-color:#ffc107!important}a.bg-warning:focus,a.bg-warning:hover,button.bg-warning:focus,button.bg-warning:hover{background-color:#d39e00!important}.bg-danger{background-color:#dc3545!important}a.bg-danger:focus,a.bg-danger:hover,button.bg-danger:focus,button.bg-danger:hover{background-color:#bd2130!important}.bg-light{background-color:#f8f9fa!important}a.bg-light:focus,a.bg-light:hover,button.bg-light:focus,button.bg-light:hover{background-color:#dae0e5!important}.bg-dark{background-color:#343a40!important}a.bg-dark:focus,a.bg-dark:hover,button.bg-dark:focus,button.bg-dark:hover{background-color:#1d2124!important}.bg-white{background-color:#fff!important}.bg-transparent{background-color:transparent!important}.border{border:1px solid #dee2e6!important}.border-top{border-top:1px solid #dee2e6!important}.border-right{border-right:1px solid #dee2e6!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-left{border-left:1px solid #dee2e6!important}.border-0{border:0!important}.border-top-0{border-top:0!important}.border-right-0{border-right:0!important}.border-bottom-0{border-bottom:0!important}.border-left-0{border-left:0!important}.border-primary{border-color:#007bff!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#28a745!important}.border-info{border-color:#17a2b8!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#343a40!important}.border-white{border-color:#fff!important}.rounded-sm{border-radius:.2rem!important}.rounded{border-radius:.25rem!important}.rounded-top{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.rounded-right{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.rounded-bottom{border-bottom-right-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-left{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-lg{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-0{border-radius:0!important}.clearfix::after{display:block;clear:both;content:""}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:-ms-flexbox!important;display:flex!important}.d-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}@media (min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:-ms-flexbox!important;display:flex!important}.d-sm-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:-ms-flexbox!important;display:flex!important}.d-md-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:-ms-flexbox!important;display:flex!important}.d-lg-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media (min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:-ms-flexbox!important;display:flex!important}.d-xl-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:-ms-flexbox!important;display:flex!important}.d-print-inline-flex{display:-ms-inline-flexbox!important;display:inline-flex!important}}.embed-responsive{position:relative;display:block;width:100%;padding:0;overflow:hidden}.embed-responsive::before{display:block;content:""}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-21by9::before{padding-top:42.857143%}.embed-responsive-16by9::before{padding-top:56.25%}.embed-responsive-4by3::before{padding-top:75%}.embed-responsive-1by1::before{padding-top:100%}.flex-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-center{-ms-flex-align:center!important;align-items:center!important}.align-items-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}@media (min-width:576px){.flex-sm-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-sm-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-sm-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-sm-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-sm-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-sm-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-sm-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-sm-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-sm-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-sm-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-sm-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-sm-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-sm-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-sm-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-sm-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-sm-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-sm-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-sm-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-sm-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-sm-center{-ms-flex-align:center!important;align-items:center!important}.align-items-sm-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-sm-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-sm-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-sm-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-sm-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-sm-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-sm-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-sm-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-sm-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-sm-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-sm-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-sm-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-sm-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-sm-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:768px){.flex-md-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-md-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-md-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-md-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-md-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-md-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-md-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-md-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-md-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-md-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-md-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-md-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-md-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-md-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-md-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-md-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-md-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-md-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-md-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-md-center{-ms-flex-align:center!important;align-items:center!important}.align-items-md-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-md-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-md-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-md-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-md-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-md-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-md-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-md-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-md-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-md-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-md-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-md-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-md-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-md-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:992px){.flex-lg-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-lg-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-lg-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-lg-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-lg-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-lg-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-lg-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-lg-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-lg-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-lg-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-lg-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-lg-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-lg-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-lg-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-lg-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-lg-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-lg-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-lg-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-lg-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-lg-center{-ms-flex-align:center!important;align-items:center!important}.align-items-lg-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-lg-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-lg-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-lg-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-lg-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-lg-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-lg-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-lg-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-lg-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-lg-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-lg-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-lg-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-lg-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-lg-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}@media (min-width:1200px){.flex-xl-row{-ms-flex-direction:row!important;flex-direction:row!important}.flex-xl-column{-ms-flex-direction:column!important;flex-direction:column!important}.flex-xl-row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-xl-column-reverse{-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-xl-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-xl-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-xl-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.flex-xl-fill{-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-xl-grow-0{-ms-flex-positive:0!important;flex-grow:0!important}.flex-xl-grow-1{-ms-flex-positive:1!important;flex-grow:1!important}.flex-xl-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-xl-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.justify-content-xl-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-xl-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-xl-center{-ms-flex-pack:center!important;justify-content:center!important}.justify-content-xl-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-xl-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-xl-start{-ms-flex-align:start!important;align-items:flex-start!important}.align-items-xl-end{-ms-flex-align:end!important;align-items:flex-end!important}.align-items-xl-center{-ms-flex-align:center!important;align-items:center!important}.align-items-xl-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-xl-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-xl-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-xl-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-xl-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-xl-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-xl-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-xl-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-xl-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-xl-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-xl-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-xl-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-xl-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-xl-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media (min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media (min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media (min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media (min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;-ms-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}@supports ((position:-webkit-sticky) or (position:sticky)){.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mw-100{max-width:100%!important}.mh-100{max-height:100%!important}.min-vw-100{min-width:100vw!important}.min-vh-100{min-height:100vh!important}.vw-100{width:100vw!important}.vh-100{height:100vh!important}.m-0{margin:0!important}.mt-0,.my-0{margin-top:0!important}.mr-0,.mx-0{margin-right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!important}.mt-3,.my-3{margin-top:1rem!important}.mr-3,.mx-3{margin-right:1rem!important}.mb-3,.my-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.m-4{margin:1.5rem!important}.mt-4,.my-4{margin-top:1.5rem!important}.mr-4,.mx-4{margin-right:1.5rem!important}.mb-4,.my-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.m-5{margin:3rem!important}.mt-5,.my-5{margin-top:3rem!important}.mr-5,.mx-5{margin-right:3rem!important}.mb-5,.my-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.p-0{padding:0!important}.pt-0,.py-0{padding-top:0!important}.pr-0,.px-0{padding-right:0!important}.pb-0,.py-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.p-1{padding:.25rem!important}.pt-1,.py-1{padding-top:.25rem!important}.pr-1,.px-1{padding-right:.25rem!important}.pb-1,.py-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.p-2{padding:.5rem!important}.pt-2,.py-2{padding-top:.5rem!important}.pr-2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.p-5{padding:3rem!important}.pt-5,.py-5{padding-top:3rem!important}.pr-5,.px-5{padding-right:3rem!important}.pb-5,.py-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.m-n1{margin:-.25rem!important}.mt-n1,.my-n1{margin-top:-.25rem!important}.mr-n1,.mx-n1{margin-right:-.25rem!important}.mb-n1,.my-n1{margin-bottom:-.25rem!important}.ml-n1,.mx-n1{margin-left:-.25rem!important}.m-n2{margin:-.5rem!important}.mt-n2,.my-n2{margin-top:-.5rem!important}.mr-n2,.mx-n2{margin-right:-.5rem!important}.mb-n2,.my-n2{margin-bottom:-.5rem!important}.ml-n2,.mx-n2{margin-left:-.5rem!important}.m-n3{margin:-1rem!important}.mt-n3,.my-n3{margin-top:-1rem!important}.mr-n3,.mx-n3{margin-right:-1rem!important}.mb-n3,.my-n3{margin-bottom:-1rem!important}.ml-n3,.mx-n3{margin-left:-1rem!important}.m-n4{margin:-1.5rem!important}.mt-n4,.my-n4{margin-top:-1.5rem!important}.mr-n4,.mx-n4{margin-right:-1.5rem!important}.mb-n4,.my-n4{margin-bottom:-1.5rem!important}.ml-n4,.mx-n4{margin-left:-1.5rem!important}.m-n5{margin:-3rem!important}.mt-n5,.my-n5{margin-top:-3rem!important}.mr-n5,.mx-n5{margin-right:-3rem!important}.mb-n5,.my-n5{margin-bottom:-3rem!important}.ml-n5,.mx-n5{margin-left:-3rem!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media (min-width:576px){.m-sm-0{margin:0!important}.mt-sm-0,.my-sm-0{margin-top:0!important}.mr-sm-0,.mx-sm-0{margin-right:0!important}.mb-sm-0,.my-sm-0{margin-bottom:0!important}.ml-sm-0,.mx-sm-0{margin-left:0!important}.m-sm-1{margin:.25rem!important}.mt-sm-1,.my-sm-1{margin-top:.25rem!important}.mr-sm-1,.mx-sm-1{margin-right:.25rem!important}.mb-sm-1,.my-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.m-sm-2{margin:.5rem!important}.mt-sm-2,.my-sm-2{margin-top:.5rem!important}.mr-sm-2,.mx-sm-2{margin-right:.5rem!important}.mb-sm-2,.my-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.5rem!important}.m-sm-3{margin:1rem!important}.mt-sm-3,.my-sm-3{margin-top:1rem!important}.mr-sm-3,.mx-sm-3{margin-right:1rem!important}.mb-sm-3,.my-sm-3{margin-bottom:1rem!important}.ml-sm-3,.mx-sm-3{margin-left:1rem!important}.m-sm-4{margin:1.5rem!important}.mt-sm-4,.my-sm-4{margin-top:1.5rem!important}.mr-sm-4,.mx-sm-4{margin-right:1.5rem!important}.mb-sm-4,.my-sm-4{margin-bottom:1.5rem!important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem!important}.m-sm-5{margin:3rem!important}.mt-sm-5,.my-sm-5{margin-top:3rem!important}.mr-sm-5,.mx-sm-5{margin-right:3rem!important}.mb-sm-5,.my-sm-5{margin-bottom:3rem!important}.ml-sm-5,.mx-sm-5{margin-left:3rem!important}.p-sm-0{padding:0!important}.pt-sm-0,.py-sm-0{padding-top:0!important}.pr-sm-0,.px-sm-0{padding-right:0!important}.pb-sm-0,.py-sm-0{padding-bottom:0!important}.pl-sm-0,.px-sm-0{padding-left:0!important}.p-sm-1{padding:.25rem!important}.pt-sm-1,.py-sm-1{padding-top:.25rem!important}.pr-sm-1,.px-sm-1{padding-right:.25rem!important}.pb-sm-1,.py-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.p-sm-2{padding:.5rem!important}.pt-sm-2,.py-sm-2{padding-top:.5rem!important}.pr-sm-2,.px-sm-2{padding-right:.5rem!important}.pb-sm-2,.py-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.5rem!important}.p-sm-3{padding:1rem!important}.pt-sm-3,.py-sm-3{padding-top:1rem!important}.pr-sm-3,.px-sm-3{padding-right:1rem!important}.pb-sm-3,.py-sm-3{padding-bottom:1rem!important}.pl-sm-3,.px-sm-3{padding-left:1rem!important}.p-sm-4{padding:1.5rem!important}.pt-sm-4,.py-sm-4{padding-top:1.5rem!important}.pr-sm-4,.px-sm-4{padding-right:1.5rem!important}.pb-sm-4,.py-sm-4{padding-bottom:1.5rem!important}.pl-sm-4,.px-sm-4{padding-left:1.5rem!important}.p-sm-5{padding:3rem!important}.pt-sm-5,.py-sm-5{padding-top:3rem!important}.pr-sm-5,.px-sm-5{padding-right:3rem!important}.pb-sm-5,.py-sm-5{padding-bottom:3rem!important}.pl-sm-5,.px-sm-5{padding-left:3rem!important}.m-sm-n1{margin:-.25rem!important}.mt-sm-n1,.my-sm-n1{margin-top:-.25rem!important}.mr-sm-n1,.mx-sm-n1{margin-right:-.25rem!important}.mb-sm-n1,.my-sm-n1{margin-bottom:-.25rem!important}.ml-sm-n1,.mx-sm-n1{margin-left:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.mt-sm-n2,.my-sm-n2{margin-top:-.5rem!important}.mr-sm-n2,.mx-sm-n2{margin-right:-.5rem!important}.mb-sm-n2,.my-sm-n2{margin-bottom:-.5rem!important}.ml-sm-n2,.mx-sm-n2{margin-left:-.5rem!important}.m-sm-n3{margin:-1rem!important}.mt-sm-n3,.my-sm-n3{margin-top:-1rem!important}.mr-sm-n3,.mx-sm-n3{margin-right:-1rem!important}.mb-sm-n3,.my-sm-n3{margin-bottom:-1rem!important}.ml-sm-n3,.mx-sm-n3{margin-left:-1rem!important}.m-sm-n4{margin:-1.5rem!important}.mt-sm-n4,.my-sm-n4{margin-top:-1.5rem!important}.mr-sm-n4,.mx-sm-n4{margin-right:-1.5rem!important}.mb-sm-n4,.my-sm-n4{margin-bottom:-1.5rem!important}.ml-sm-n4,.mx-sm-n4{margin-left:-1.5rem!important}.m-sm-n5{margin:-3rem!important}.mt-sm-n5,.my-sm-n5{margin-top:-3rem!important}.mr-sm-n5,.mx-sm-n5{margin-right:-3rem!important}.mb-sm-n5,.my-sm-n5{margin-bottom:-3rem!important}.ml-sm-n5,.mx-sm-n5{margin-left:-3rem!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media (min-width:768px){.m-md-0{margin:0!important}.mt-md-0,.my-md-0{margin-top:0!important}.mr-md-0,.mx-md-0{margin-right:0!important}.mb-md-0,.my-md-0{margin-bottom:0!important}.ml-md-0,.mx-md-0{margin-left:0!important}.m-md-1{margin:.25rem!important}.mt-md-1,.my-md-1{margin-top:.25rem!important}.mr-md-1,.mx-md-1{margin-right:.25rem!important}.mb-md-1,.my-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.m-md-2{margin:.5rem!important}.mt-md-2,.my-md-2{margin-top:.5rem!important}.mr-md-2,.mx-md-2{margin-right:.5rem!important}.mb-md-2,.my-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.5rem!important}.m-md-3{margin:1rem!important}.mt-md-3,.my-md-3{margin-top:1rem!important}.mr-md-3,.mx-md-3{margin-right:1rem!important}.mb-md-3,.my-md-3{margin-bottom:1rem!important}.ml-md-3,.mx-md-3{margin-left:1rem!important}.m-md-4{margin:1.5rem!important}.mt-md-4,.my-md-4{margin-top:1.5rem!important}.mr-md-4,.mx-md-4{margin-right:1.5rem!important}.mb-md-4,.my-md-4{margin-bottom:1.5rem!important}.ml-md-4,.mx-md-4{margin-left:1.5rem!important}.m-md-5{margin:3rem!important}.mt-md-5,.my-md-5{margin-top:3rem!important}.mr-md-5,.mx-md-5{margin-right:3rem!important}.mb-md-5,.my-md-5{margin-bottom:3rem!important}.ml-md-5,.mx-md-5{margin-left:3rem!important}.p-md-0{padding:0!important}.pt-md-0,.py-md-0{padding-top:0!important}.pr-md-0,.px-md-0{padding-right:0!important}.pb-md-0,.py-md-0{padding-bottom:0!important}.pl-md-0,.px-md-0{padding-left:0!important}.p-md-1{padding:.25rem!important}.pt-md-1,.py-md-1{padding-top:.25rem!important}.pr-md-1,.px-md-1{padding-right:.25rem!important}.pb-md-1,.py-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.p-md-2{padding:.5rem!important}.pt-md-2,.py-md-2{padding-top:.5rem!important}.pr-md-2,.px-md-2{padding-right:.5rem!important}.pb-md-2,.py-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.5rem!important}.p-md-3{padding:1rem!important}.pt-md-3,.py-md-3{padding-top:1rem!important}.pr-md-3,.px-md-3{padding-right:1rem!important}.pb-md-3,.py-md-3{padding-bottom:1rem!important}.pl-md-3,.px-md-3{padding-left:1rem!important}.p-md-4{padding:1.5rem!important}.pt-md-4,.py-md-4{padding-top:1.5rem!important}.pr-md-4,.px-md-4{padding-right:1.5rem!important}.pb-md-4,.py-md-4{padding-bottom:1.5rem!important}.pl-md-4,.px-md-4{padding-left:1.5rem!important}.p-md-5{padding:3rem!important}.pt-md-5,.py-md-5{padding-top:3rem!important}.pr-md-5,.px-md-5{padding-right:3rem!important}.pb-md-5,.py-md-5{padding-bottom:3rem!important}.pl-md-5,.px-md-5{padding-left:3rem!important}.m-md-n1{margin:-.25rem!important}.mt-md-n1,.my-md-n1{margin-top:-.25rem!important}.mr-md-n1,.mx-md-n1{margin-right:-.25rem!important}.mb-md-n1,.my-md-n1{margin-bottom:-.25rem!important}.ml-md-n1,.mx-md-n1{margin-left:-.25rem!important}.m-md-n2{margin:-.5rem!important}.mt-md-n2,.my-md-n2{margin-top:-.5rem!important}.mr-md-n2,.mx-md-n2{margin-right:-.5rem!important}.mb-md-n2,.my-md-n2{margin-bottom:-.5rem!important}.ml-md-n2,.mx-md-n2{margin-left:-.5rem!important}.m-md-n3{margin:-1rem!important}.mt-md-n3,.my-md-n3{margin-top:-1rem!important}.mr-md-n3,.mx-md-n3{margin-right:-1rem!important}.mb-md-n3,.my-md-n3{margin-bottom:-1rem!important}.ml-md-n3,.mx-md-n3{margin-left:-1rem!important}.m-md-n4{margin:-1.5rem!important}.mt-md-n4,.my-md-n4{margin-top:-1.5rem!important}.mr-md-n4,.mx-md-n4{margin-right:-1.5rem!important}.mb-md-n4,.my-md-n4{margin-bottom:-1.5rem!important}.ml-md-n4,.mx-md-n4{margin-left:-1.5rem!important}.m-md-n5{margin:-3rem!important}.mt-md-n5,.my-md-n5{margin-top:-3rem!important}.mr-md-n5,.mx-md-n5{margin-right:-3rem!important}.mb-md-n5,.my-md-n5{margin-bottom:-3rem!important}.ml-md-n5,.mx-md-n5{margin-left:-3rem!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media (min-width:992px){.m-lg-0{margin:0!important}.mt-lg-0,.my-lg-0{margin-top:0!important}.mr-lg-0,.mx-lg-0{margin-right:0!important}.mb-lg-0,.my-lg-0{margin-bottom:0!important}.ml-lg-0,.mx-lg-0{margin-left:0!important}.m-lg-1{margin:.25rem!important}.mt-lg-1,.my-lg-1{margin-top:.25rem!important}.mr-lg-1,.mx-lg-1{margin-right:.25rem!important}.mb-lg-1,.my-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.m-lg-2{margin:.5rem!important}.mt-lg-2,.my-lg-2{margin-top:.5rem!important}.mr-lg-2,.mx-lg-2{margin-right:.5rem!important}.mb-lg-2,.my-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.5rem!important}.m-lg-3{margin:1rem!important}.mt-lg-3,.my-lg-3{margin-top:1rem!important}.mr-lg-3,.mx-lg-3{margin-right:1rem!important}.mb-lg-3,.my-lg-3{margin-bottom:1rem!important}.ml-lg-3,.mx-lg-3{margin-left:1rem!important}.m-lg-4{margin:1.5rem!important}.mt-lg-4,.my-lg-4{margin-top:1.5rem!important}.mr-lg-4,.mx-lg-4{margin-right:1.5rem!important}.mb-lg-4,.my-lg-4{margin-bottom:1.5rem!important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem!important}.m-lg-5{margin:3rem!important}.mt-lg-5,.my-lg-5{margin-top:3rem!important}.mr-lg-5,.mx-lg-5{margin-right:3rem!important}.mb-lg-5,.my-lg-5{margin-bottom:3rem!important}.ml-lg-5,.mx-lg-5{margin-left:3rem!important}.p-lg-0{padding:0!important}.pt-lg-0,.py-lg-0{padding-top:0!important}.pr-lg-0,.px-lg-0{padding-right:0!important}.pb-lg-0,.py-lg-0{padding-bottom:0!important}.pl-lg-0,.px-lg-0{padding-left:0!important}.p-lg-1{padding:.25rem!important}.pt-lg-1,.py-lg-1{padding-top:.25rem!important}.pr-lg-1,.px-lg-1{padding-right:.25rem!important}.pb-lg-1,.py-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.p-lg-2{padding:.5rem!important}.pt-lg-2,.py-lg-2{padding-top:.5rem!important}.pr-lg-2,.px-lg-2{padding-right:.5rem!important}.pb-lg-2,.py-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.5rem!important}.p-lg-3{padding:1rem!important}.pt-lg-3,.py-lg-3{padding-top:1rem!important}.pr-lg-3,.px-lg-3{padding-right:1rem!important}.pb-lg-3,.py-lg-3{padding-bottom:1rem!important}.pl-lg-3,.px-lg-3{padding-left:1rem!important}.p-lg-4{padding:1.5rem!important}.pt-lg-4,.py-lg-4{padding-top:1.5rem!important}.pr-lg-4,.px-lg-4{padding-right:1.5rem!important}.pb-lg-4,.py-lg-4{padding-bottom:1.5rem!important}.pl-lg-4,.px-lg-4{padding-left:1.5rem!important}.p-lg-5{padding:3rem!important}.pt-lg-5,.py-lg-5{padding-top:3rem!important}.pr-lg-5,.px-lg-5{padding-right:3rem!important}.pb-lg-5,.py-lg-5{padding-bottom:3rem!important}.pl-lg-5,.px-lg-5{padding-left:3rem!important}.m-lg-n1{margin:-.25rem!important}.mt-lg-n1,.my-lg-n1{margin-top:-.25rem!important}.mr-lg-n1,.mx-lg-n1{margin-right:-.25rem!important}.mb-lg-n1,.my-lg-n1{margin-bottom:-.25rem!important}.ml-lg-n1,.mx-lg-n1{margin-left:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.mt-lg-n2,.my-lg-n2{margin-top:-.5rem!important}.mr-lg-n2,.mx-lg-n2{margin-right:-.5rem!important}.mb-lg-n2,.my-lg-n2{margin-bottom:-.5rem!important}.ml-lg-n2,.mx-lg-n2{margin-left:-.5rem!important}.m-lg-n3{margin:-1rem!important}.mt-lg-n3,.my-lg-n3{margin-top:-1rem!important}.mr-lg-n3,.mx-lg-n3{margin-right:-1rem!important}.mb-lg-n3,.my-lg-n3{margin-bottom:-1rem!important}.ml-lg-n3,.mx-lg-n3{margin-left:-1rem!important}.m-lg-n4{margin:-1.5rem!important}.mt-lg-n4,.my-lg-n4{margin-top:-1.5rem!important}.mr-lg-n4,.mx-lg-n4{margin-right:-1.5rem!important}.mb-lg-n4,.my-lg-n4{margin-bottom:-1.5rem!important}.ml-lg-n4,.mx-lg-n4{margin-left:-1.5rem!important}.m-lg-n5{margin:-3rem!important}.mt-lg-n5,.my-lg-n5{margin-top:-3rem!important}.mr-lg-n5,.mx-lg-n5{margin-right:-3rem!important}.mb-lg-n5,.my-lg-n5{margin-bottom:-3rem!important}.ml-lg-n5,.mx-lg-n5{margin-left:-3rem!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media (min-width:1200px){.m-xl-0{margin:0!important}.mt-xl-0,.my-xl-0{margin-top:0!important}.mr-xl-0,.mx-xl-0{margin-right:0!important}.mb-xl-0,.my-xl-0{margin-bottom:0!important}.ml-xl-0,.mx-xl-0{margin-left:0!important}.m-xl-1{margin:.25rem!important}.mt-xl-1,.my-xl-1{margin-top:.25rem!important}.mr-xl-1,.mx-xl-1{margin-right:.25rem!important}.mb-xl-1,.my-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.m-xl-2{margin:.5rem!important}.mt-xl-2,.my-xl-2{margin-top:.5rem!important}.mr-xl-2,.mx-xl-2{margin-right:.5rem!important}.mb-xl-2,.my-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.5rem!important}.m-xl-3{margin:1rem!important}.mt-xl-3,.my-xl-3{margin-top:1rem!important}.mr-xl-3,.mx-xl-3{margin-right:1rem!important}.mb-xl-3,.my-xl-3{margin-bottom:1rem!important}.ml-xl-3,.mx-xl-3{margin-left:1rem!important}.m-xl-4{margin:1.5rem!important}.mt-xl-4,.my-xl-4{margin-top:1.5rem!important}.mr-xl-4,.mx-xl-4{margin-right:1.5rem!important}.mb-xl-4,.my-xl-4{margin-bottom:1.5rem!important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem!important}.m-xl-5{margin:3rem!important}.mt-xl-5,.my-xl-5{margin-top:3rem!important}.mr-xl-5,.mx-xl-5{margin-right:3rem!important}.mb-xl-5,.my-xl-5{margin-bottom:3rem!important}.ml-xl-5,.mx-xl-5{margin-left:3rem!important}.p-xl-0{padding:0!important}.pt-xl-0,.py-xl-0{padding-top:0!important}.pr-xl-0,.px-xl-0{padding-right:0!important}.pb-xl-0,.py-xl-0{padding-bottom:0!important}.pl-xl-0,.px-xl-0{padding-left:0!important}.p-xl-1{padding:.25rem!important}.pt-xl-1,.py-xl-1{padding-top:.25rem!important}.pr-xl-1,.px-xl-1{padding-right:.25rem!important}.pb-xl-1,.py-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.p-xl-2{padding:.5rem!important}.pt-xl-2,.py-xl-2{padding-top:.5rem!important}.pr-xl-2,.px-xl-2{padding-right:.5rem!important}.pb-xl-2,.py-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.5rem!important}.p-xl-3{padding:1rem!important}.pt-xl-3,.py-xl-3{padding-top:1rem!important}.pr-xl-3,.px-xl-3{padding-right:1rem!important}.pb-xl-3,.py-xl-3{padding-bottom:1rem!important}.pl-xl-3,.px-xl-3{padding-left:1rem!important}.p-xl-4{padding:1.5rem!important}.pt-xl-4,.py-xl-4{padding-top:1.5rem!important}.pr-xl-4,.px-xl-4{padding-right:1.5rem!important}.pb-xl-4,.py-xl-4{padding-bottom:1.5rem!important}.pl-xl-4,.px-xl-4{padding-left:1.5rem!important}.p-xl-5{padding:3rem!important}.pt-xl-5,.py-xl-5{padding-top:3rem!important}.pr-xl-5,.px-xl-5{padding-right:3rem!important}.pb-xl-5,.py-xl-5{padding-bottom:3rem!important}.pl-xl-5,.px-xl-5{padding-left:3rem!important}.m-xl-n1{margin:-.25rem!important}.mt-xl-n1,.my-xl-n1{margin-top:-.25rem!important}.mr-xl-n1,.mx-xl-n1{margin-right:-.25rem!important}.mb-xl-n1,.my-xl-n1{margin-bottom:-.25rem!important}.ml-xl-n1,.mx-xl-n1{margin-left:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.mt-xl-n2,.my-xl-n2{margin-top:-.5rem!important}.mr-xl-n2,.mx-xl-n2{margin-right:-.5rem!important}.mb-xl-n2,.my-xl-n2{margin-bottom:-.5rem!important}.ml-xl-n2,.mx-xl-n2{margin-left:-.5rem!important}.m-xl-n3{margin:-1rem!important}.mt-xl-n3,.my-xl-n3{margin-top:-1rem!important}.mr-xl-n3,.mx-xl-n3{margin-right:-1rem!important}.mb-xl-n3,.my-xl-n3{margin-bottom:-1rem!important}.ml-xl-n3,.mx-xl-n3{margin-left:-1rem!important}.m-xl-n4{margin:-1.5rem!important}.mt-xl-n4,.my-xl-n4{margin-top:-1.5rem!important}.mr-xl-n4,.mx-xl-n4{margin-right:-1.5rem!important}.mb-xl-n4,.my-xl-n4{margin-bottom:-1.5rem!important}.ml-xl-n4,.mx-xl-n4{margin-left:-1.5rem!important}.m-xl-n5{margin:-3rem!important}.mt-xl-n5,.my-xl-n5{margin-top:-3rem!important}.mr-xl-n5,.mx-xl-n5{margin-right:-3rem!important}.mb-xl-n5,.my-xl-n5{margin-bottom:-3rem!important}.ml-xl-n5,.mx-xl-n5{margin-left:-3rem!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:auto;content:"";background-color:rgba(0,0,0,0)}.text-monospace{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace!important}.text-justify{text-align:justify!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media (min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-light{font-weight:300!important}.font-weight-lighter{font-weight:lighter!important}.font-weight-normal{font-weight:400!important}.font-weight-bold{font-weight:700!important}.font-weight-bolder{font-weight:bolder!important}.font-italic{font-style:italic!important}.text-white{color:#fff!important}.text-primary{color:#007bff!important}a.text-primary:focus,a.text-primary:hover{color:#0056b3!important}.text-secondary{color:#6c757d!important}a.text-secondary:focus,a.text-secondary:hover{color:#494f54!important}.text-success{color:#28a745!important}a.text-success:focus,a.text-success:hover{color:#19692c!important}.text-info{color:#17a2b8!important}a.text-info:focus,a.text-info:hover{color:#0f6674!important}.text-warning{color:#ffc107!important}a.text-warning:focus,a.text-warning:hover{color:#ba8b00!important}.text-danger{color:#dc3545!important}a.text-danger:focus,a.text-danger:hover{color:#a71d2a!important}.text-light{color:#f8f9fa!important}a.text-light:focus,a.text-light:hover{color:#cbd3da!important}.text-dark{color:#343a40!important}a.text-dark:focus,a.text-dark:hover{color:#121416!important}.text-body{color:#212529!important}.text-muted{color:#6c757d!important}.text-black-50{color:rgba(0,0,0,.5)!important}.text-white-50{color:rgba(255,255,255,.5)!important}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.text-decoration-none{text-decoration:none!important}.text-break{word-break:break-word!important;overflow-wrap:break-word!important}.text-reset{color:inherit!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media print{*,::after,::before{text-shadow:none!important;box-shadow:none!important}a:not(.btn){text-decoration:underline}abbr[title]::after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #adb5bd;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}@page{size:a3}body{min-width:992px!important}.container{min-width:992px!important}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #dee2e6!important}.table-dark{color:inherit}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#dee2e6}.table .thead-dark th{color:inherit;border-color:#dee2e6}} +/*# sourceMappingURL=bootstrap.min.css.map */ \ No newline at end of file diff --git a/resources/[standalone]/cd_keymaster/html/css/stylesheet.css b/resources/[standalone]/cd_keymaster/html/css/stylesheet.css new file mode 100644 index 0000000..5e6b6a4 --- /dev/null +++ b/resources/[standalone]/cd_keymaster/html/css/stylesheet.css @@ -0,0 +1,121 @@ +html, body{ + width:100%; + height:100%; + background-color:transparent!important; + + overflow:hidden; + + user-select: none; +} +#keymaster-container{ + display: none; + width:100%; + height:100%; + position:relative; + background: rgb(36,0,0); + background: radial-gradient(circle at center bottom, rgba(36,0,0,1) 0%, rgba(255,96,96,1) 0%, rgba(0,212,255,0) 47%); +} +#keymaster-keycontainer{ + background-image:linear-gradient(90deg, transparent, rgba(255,255,255,0.6)); +} +#keymaster-field{ + display:none; + + position:absolute; + left:51%; + bottom:20%; + transform: translateX(-51%); + width: 40%; + top: 69%; + width:100%; +} +#keymaster-point{ + display: flex; + justify-content: center; + align-items: center; + + text-transform: uppercase; + border-radius: .5rem; + border:5px solid white; + height: 75px; + width: 75px; + + background-color:transparent!important; + + margin-left:20%; + z-index:9999!important; +} +#keymaster-score{ + font-size: 4vh; + mix-blend-mode: exclusion; + color:white; + /* background-color:rgba(255, 255, 255, 0.6); */ + padding:1rem; + border-top-left-radius:.825rem; + border-top-right-radius: .825rem; +} +#keymaster-timer{ + /* background-color:rgba(255, 255, 255, 0.6); */ + padding:1rem; + color:white; + + border-bottom-left-radius:.825rem; + border-bottom-right-radius: .825rem; +} +.keymaster-key{ + height: 75px; + width: 75px; + + position:absolute; + top:50%; + + transform:translate(-50%, -50%); + display: flex; + justify-content: center; + align-items: center; + + z-index:1!important; + background: #eff0f2; + border-radius: .5rem; + border-top: 1px solid rgba(255, 255, 255, 0.8); + box-shadow: inset 0 0 25px #e8e8e8, 0 1px 0 #c3c3c3, 0 2px 0 #c9c9c9, 0 2px 3px #333; + text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8); + +} +.keymaster-key > span{ + font: bold 48px arial, sans-serif; + background-color: #565656; + color: transparent; + text-shadow: 2px 2px 3px rgba(255,255,255,0.2); + -webkit-background-clip: text; + -moz-background-clip: text; + background-clip: text; + text-transform: uppercase; +} +#keymaster-point-char{ + font-size:2rem; + color:white; +} +#keymaster-overlay{ + position: fixed; + display: none; + width: 100%; + height: 100%; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0,0,0,0.5); + z-index: 2; + + backdrop-filter: blur(10px); +} +#keymaster-countdown{ + position:absolute; + top:51%; + left:51%; + transform:translate(-51%, -51%); + + font-size:5rem; + color:var(--light); +} \ No newline at end of file diff --git a/resources/[standalone]/cd_keymaster/html/index.html b/resources/[standalone]/cd_keymaster/html/index.html new file mode 100644 index 0000000..6370225 --- /dev/null +++ b/resources/[standalone]/cd_keymaster/html/index.html @@ -0,0 +1,56 @@ + + + + Keymaster + + + + + + +
+
+
+
+
+
+
+
+
+ 0 +
+
+
+
+
+ +
+
+
+
+
0s
+
+
+
+
+ + + + + + + \ No newline at end of file diff --git a/resources/[standalone]/cd_keymaster/html/js/bootstrap.js b/resources/[standalone]/cd_keymaster/html/js/bootstrap.js new file mode 100644 index 0000000..5f29106 --- /dev/null +++ b/resources/[standalone]/cd_keymaster/html/js/bootstrap.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v4.5.2 (https://getbootstrap.com/) + * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */ + !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap={},t.jQuery,t.Popper)}(this,(function(t,e,n){"use strict";function i(t,e){for(var n=0;n=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};a.jQueryDetection(),e.fn.emulateTransitionEnd=r,e.event.special[a.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var l="alert",c=e.fn[l],h=function(){function t(t){this._element=t}var n=t.prototype;return n.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},n.dispose=function(){e.removeData(this._element,"bs.alert"),this._element=null},n._getRootElement=function(t){var n=a.getSelectorFromElement(t),i=!1;return n&&(i=document.querySelector(n)),i||(i=e(t).closest(".alert")[0]),i},n._triggerCloseEvent=function(t){var n=e.Event("close.bs.alert");return e(t).trigger(n),n},n._removeElement=function(t){var n=this;if(e(t).removeClass("show"),e(t).hasClass("fade")){var i=a.getTransitionDurationFromElement(t);e(t).one(a.TRANSITION_END,(function(e){return n._destroyElement(t,e)})).emulateTransitionEnd(i)}else this._destroyElement(t)},n._destroyElement=function(t){e(t).detach().trigger("closed.bs.alert").remove()},t._jQueryInterface=function(n){return this.each((function(){var i=e(this),o=i.data("bs.alert");o||(o=new t(this),i.data("bs.alert",o)),"close"===n&&o[n](this)}))},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}}]),t}();e(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',h._handleDismiss(new h)),e.fn[l]=h._jQueryInterface,e.fn[l].Constructor=h,e.fn[l].noConflict=function(){return e.fn[l]=c,h._jQueryInterface};var u=e.fn.button,d=function(){function t(t){this._element=t}var n=t.prototype;return n.toggle=function(){var t=!0,n=!0,i=e(this._element).closest('[data-toggle="buttons"]')[0];if(i){var o=this._element.querySelector('input:not([type="hidden"])');if(o){if("radio"===o.type)if(o.checked&&this._element.classList.contains("active"))t=!1;else{var s=i.querySelector(".active");s&&e(s).removeClass("active")}t&&("checkbox"!==o.type&&"radio"!==o.type||(o.checked=!this._element.classList.contains("active")),e(o).trigger("change")),o.focus(),n=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains("active")),t&&e(this._element).toggleClass("active"))},n.dispose=function(){e.removeData(this._element,"bs.button"),this._element=null},t._jQueryInterface=function(n){return this.each((function(){var i=e(this).data("bs.button");i||(i=new t(this),e(this).data("bs.button",i)),"toggle"===n&&i[n]()}))},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}}]),t}();e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(t){var n=t.target,i=n;if(e(n).hasClass("btn")||(n=e(n).closest(".btn")[0]),!n||n.hasAttribute("disabled")||n.classList.contains("disabled"))t.preventDefault();else{var o=n.querySelector('input:not([type="hidden"])');if(o&&(o.hasAttribute("disabled")||o.classList.contains("disabled")))return void t.preventDefault();("LABEL"!==i.tagName||o&&"checkbox"!==o.type)&&d._jQueryInterface.call(e(n),"toggle")}})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(t){var n=e(t.target).closest(".btn")[0];e(n).toggleClass("focus",/^focus(in)?$/.test(t.type))})),e(window).on("load.bs.button.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),e=0,n=t.length;e0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var n=t.prototype;return n.next=function(){this._isSliding||this._slide("next")},n.nextWhenVisible=function(){!document.hidden&&e(this._element).is(":visible")&&"hidden"!==e(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide("prev")},n.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(a.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},n.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(t){var n=this;this._activeElement=this._element.querySelector(".active.carousel-item");var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)e(this._element).one("slid.bs.carousel",(function(){return n.to(t)}));else{if(i===t)return this.pause(),void this.cycle();var o=t>i?"next":"prev";this._slide(o,this._items[t])}},n.dispose=function(){e(this._element).off(g),e.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},n._getConfig=function(t){return t=s({},p,t),a.typeCheckConfig(f,t,_),t},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},n._addEventListeners=function(){var t=this;this._config.keyboard&&e(this._element).on("keydown.bs.carousel",(function(e){return t._keydown(e)})),"hover"===this._config.pause&&e(this._element).on("mouseenter.bs.carousel",(function(e){return t.pause(e)})).on("mouseleave.bs.carousel",(function(e){return t.cycle(e)})),this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var n=function(e){t._pointerEvent&&v[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},i=function(e){t._pointerEvent&&v[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout((function(e){return t.cycle(e)}),500+t._config.interval))};e(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",(function(t){return t.preventDefault()})),this._pointerEvent?(e(this._element).on("pointerdown.bs.carousel",(function(t){return n(t)})),e(this._element).on("pointerup.bs.carousel",(function(t){return i(t)})),this._element.classList.add("pointer-event")):(e(this._element).on("touchstart.bs.carousel",(function(t){return n(t)})),e(this._element).on("touchmove.bs.carousel",(function(e){return function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX}(e)})),e(this._element).on("touchend.bs.carousel",(function(t){return i(t)})))}},n._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},n._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(t)},n._getItemByDirection=function(t,e){var n="next"===t,i="prev"===t,o=this._getItemIndex(e),s=this._items.length-1;if((i&&0===o||n&&o===s)&&!this._config.wrap)return e;var r=(o+("prev"===t?-1:1))%this._items.length;return-1===r?this._items[this._items.length-1]:this._items[r]},n._triggerSlideEvent=function(t,n){var i=this._getItemIndex(t),o=this._getItemIndex(this._element.querySelector(".active.carousel-item")),s=e.Event("slide.bs.carousel",{relatedTarget:t,direction:n,from:o,to:i});return e(this._element).trigger(s),s},n._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var n=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));e(n).removeClass("active");var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&e(i).addClass("active")}},n._slide=function(t,n){var i,o,s,r=this,l=this._element.querySelector(".active.carousel-item"),c=this._getItemIndex(l),h=n||l&&this._getItemByDirection(t,l),u=this._getItemIndex(h),d=Boolean(this._interval);if("next"===t?(i="carousel-item-left",o="carousel-item-next",s="left"):(i="carousel-item-right",o="carousel-item-prev",s="right"),h&&e(h).hasClass("active"))this._isSliding=!1;else if(!this._triggerSlideEvent(h,s).isDefaultPrevented()&&l&&h){this._isSliding=!0,d&&this.pause(),this._setActiveIndicatorElement(h);var f=e.Event("slid.bs.carousel",{relatedTarget:h,direction:s,from:c,to:u});if(e(this._element).hasClass("slide")){e(h).addClass(o),a.reflow(h),e(l).addClass(i),e(h).addClass(i);var g=parseInt(h.getAttribute("data-interval"),10);g?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=g):this._config.interval=this._config.defaultInterval||this._config.interval;var m=a.getTransitionDurationFromElement(l);e(l).one(a.TRANSITION_END,(function(){e(h).removeClass(i+" "+o).addClass("active"),e(l).removeClass("active "+o+" "+i),r._isSliding=!1,setTimeout((function(){return e(r._element).trigger(f)}),0)})).emulateTransitionEnd(m)}else e(l).removeClass("active"),e(h).addClass("active"),this._isSliding=!1,e(this._element).trigger(f);d&&this.cycle()}},t._jQueryInterface=function(n){return this.each((function(){var i=e(this).data("bs.carousel"),o=s({},p,e(this).data());"object"==typeof n&&(o=s({},o,n));var r="string"==typeof n?n:o.slide;if(i||(i=new t(this,o),e(this).data("bs.carousel",i)),"number"==typeof n)i.to(n);else if("string"==typeof r){if("undefined"==typeof i[r])throw new TypeError('No method named "'+r+'"');i[r]()}else o.interval&&o.ride&&(i.pause(),i.cycle())}))},t._dataApiClickHandler=function(n){var i=a.getSelectorFromElement(this);if(i){var o=e(i)[0];if(o&&e(o).hasClass("carousel")){var r=s({},e(o).data(),e(this).data()),l=this.getAttribute("data-slide-to");l&&(r.interval=!1),t._jQueryInterface.call(e(o),r),l&&e(o).data("bs.carousel").to(l),n.preventDefault()}}},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return p}}]),t}();e(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",b._dataApiClickHandler),e(window).on("load.bs.carousel.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),n=0,i=t.length;n0&&(this._selector=r,this._triggerArray.push(s))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var n=t.prototype;return n.toggle=function(){e(this._element).hasClass("show")?this.hide():this.show()},n.show=function(){var n,i,o=this;if(!this._isTransitioning&&!e(this._element).hasClass("show")&&(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((function(t){return"string"==typeof o._config.parent?t.getAttribute("data-parent")===o._config.parent:t.classList.contains("collapse")}))).length&&(n=null),!(n&&(i=e(n).not(this._selector).data("bs.collapse"))&&i._isTransitioning))){var s=e.Event("show.bs.collapse");if(e(this._element).trigger(s),!s.isDefaultPrevented()){n&&(t._jQueryInterface.call(e(n).not(this._selector),"hide"),i||e(n).data("bs.collapse",null));var r=this._getDimension();e(this._element).removeClass("collapse").addClass("collapsing"),this._element.style[r]=0,this._triggerArray.length&&e(this._triggerArray).removeClass("collapsed").attr("aria-expanded",!0),this.setTransitioning(!0);var l="scroll"+(r[0].toUpperCase()+r.slice(1)),c=a.getTransitionDurationFromElement(this._element);e(this._element).one(a.TRANSITION_END,(function(){e(o._element).removeClass("collapsing").addClass("collapse show"),o._element.style[r]="",o.setTransitioning(!1),e(o._element).trigger("shown.bs.collapse")})).emulateTransitionEnd(c),this._element.style[r]=this._element[l]+"px"}}},n.hide=function(){var t=this;if(!this._isTransitioning&&e(this._element).hasClass("show")){var n=e.Event("hide.bs.collapse");if(e(this._element).trigger(n),!n.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",a.reflow(this._element),e(this._element).addClass("collapsing").removeClass("collapse show");var o=this._triggerArray.length;if(o>0)for(var s=0;s0},i._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},i._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),s({},t,this._config.popperConfig)},t._jQueryInterface=function(n){return this.each((function(){var i=e(this).data("bs.dropdown");if(i||(i=new t(this,"object"==typeof n?n:null),e(this).data("bs.dropdown",i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}}))},t._clearMenus=function(n){if(!n||3!==n.which&&("keyup"!==n.type||9===n.which))for(var i=[].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')),o=0,s=i.length;o0&&r--,40===n.which&&rdocument.documentElement.clientHeight;i||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static");var o=a.getTransitionDurationFromElement(this._dialog);e(this._element).off(a.TRANSITION_END),e(this._element).one(a.TRANSITION_END,(function(){t._element.classList.remove("modal-static"),i||e(t._element).one(a.TRANSITION_END,(function(){t._element.style.overflowY=""})).emulateTransitionEnd(t._element,o)})).emulateTransitionEnd(o),this._element.focus()}else this.hide()},n._showElement=function(t){var n=this,i=e(this._element).hasClass("fade"),o=this._dialog?this._dialog.querySelector(".modal-body"):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),e(this._dialog).hasClass("modal-dialog-scrollable")&&o?o.scrollTop=0:this._element.scrollTop=0,i&&a.reflow(this._element),e(this._element).addClass("show"),this._config.focus&&this._enforceFocus();var s=e.Event("shown.bs.modal",{relatedTarget:t}),r=function(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,e(n._element).trigger(s)};if(i){var l=a.getTransitionDurationFromElement(this._dialog);e(this._dialog).one(a.TRANSITION_END,r).emulateTransitionEnd(l)}else r()},n._enforceFocus=function(){var t=this;e(document).off("focusin.bs.modal").on("focusin.bs.modal",(function(n){document!==n.target&&t._element!==n.target&&0===e(t._element).has(n.target).length&&t._element.focus()}))},n._setEscapeEvent=function(){var t=this;this._isShown?e(this._element).on("keydown.dismiss.bs.modal",(function(e){t._config.keyboard&&27===e.which?(e.preventDefault(),t.hide()):t._config.keyboard||27!==e.which||t._triggerBackdropTransition()})):this._isShown||e(this._element).off("keydown.dismiss.bs.modal")},n._setResizeEvent=function(){var t=this;this._isShown?e(window).on("resize.bs.modal",(function(e){return t.handleUpdate(e)})):e(window).off("resize.bs.modal")},n._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){e(document.body).removeClass("modal-open"),t._resetAdjustments(),t._resetScrollbar(),e(t._element).trigger("hidden.bs.modal")}))},n._removeBackdrop=function(){this._backdrop&&(e(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(t){var n=this,i=e(this._element).hasClass("fade")?"fade":"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&&this._backdrop.classList.add(i),e(this._backdrop).appendTo(document.body),e(this._element).on("click.dismiss.bs.modal",(function(t){n._ignoreBackdropClick?n._ignoreBackdropClick=!1:t.target===t.currentTarget&&n._triggerBackdropTransition()})),i&&a.reflow(this._backdrop),e(this._backdrop).addClass("show"),!t)return;if(!i)return void t();var o=a.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(a.TRANSITION_END,t).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){e(this._backdrop).removeClass("show");var s=function(){n._removeBackdrop(),t&&t()};if(e(this._element).hasClass("fade")){var r=a.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(a.TRANSITION_END,s).emulateTransitionEnd(r)}else s()}else t&&t()},n._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},n._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:L,popperConfig:null},K={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},X=function(){function t(t,e){if("undefined"==typeof n)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var i=t.prototype;return i.enable=function(){this._isEnabled=!0},i.disable=function(){this._isEnabled=!1},i.toggleEnabled=function(){this._isEnabled=!this._isEnabled},i.toggle=function(t){if(this._isEnabled)if(t){var n=this.constructor.DATA_KEY,i=e(t.currentTarget).data(n);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(e(this.getTipElement()).hasClass("show"))return void this._leave(null,this);this._enter(null,this)}},i.dispose=function(){clearTimeout(this._timeout),e.removeData(this.element,this.constructor.DATA_KEY),e(this.element).off(this.constructor.EVENT_KEY),e(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&e(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},i.show=function(){var t=this;if("none"===e(this.element).css("display"))throw new Error("Please use show on visible elements");var i=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(i);var o=a.findShadowRoot(this.element),s=e.contains(null!==o?o:this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!s)return;var r=this.getTipElement(),l=a.getUID(this.constructor.NAME);r.setAttribute("id",l),this.element.setAttribute("aria-describedby",l),this.setContent(),this.config.animation&&e(r).addClass("fade");var c="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,h=this._getAttachment(c);this.addAttachmentClass(h);var u=this._getContainer();e(r).data(this.constructor.DATA_KEY,this),e.contains(this.element.ownerDocument.documentElement,this.tip)||e(r).appendTo(u),e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,r,this._getPopperConfig(h)),e(r).addClass("show"),"ontouchstart"in document.documentElement&&e(document.body).children().on("mouseover",null,e.noop);var d=function(){t.config.animation&&t._fixTransition();var n=t._hoverState;t._hoverState=null,e(t.element).trigger(t.constructor.Event.SHOWN),"out"===n&&t._leave(null,t)};if(e(this.tip).hasClass("fade")){var f=a.getTransitionDurationFromElement(this.tip);e(this.tip).one(a.TRANSITION_END,d).emulateTransitionEnd(f)}else d()}},i.hide=function(t){var n=this,i=this.getTipElement(),o=e.Event(this.constructor.Event.HIDE),s=function(){"show"!==n._hoverState&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),e(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),t&&t()};if(e(this.element).trigger(o),!o.isDefaultPrevented()){if(e(i).removeClass("show"),"ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,e(this.tip).hasClass("fade")){var r=a.getTransitionDurationFromElement(i);e(i).one(a.TRANSITION_END,s).emulateTransitionEnd(r)}else s();this._hoverState=""}},i.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},i.isWithContent=function(){return Boolean(this.getTitle())},i.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-tooltip-"+t)},i.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},i.setContent=function(){var t=this.getTipElement();this.setElementContent(e(t.querySelectorAll(".tooltip-inner")),this.getTitle()),e(t).removeClass("fade show")},i.setElementContent=function(t,n){"object"!=typeof n||!n.nodeType&&!n.jquery?this.config.html?(this.config.sanitize&&(n=Q(n,this.config.whiteList,this.config.sanitizeFn)),t.html(n)):t.text(n):this.config.html?e(n).parent().is(t)||t.empty().append(n):t.text(e(n).text())},i.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},i._getPopperConfig=function(t){var e=this;return s({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},this.config.popperConfig)},i._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},i._getContainer=function(){return!1===this.config.container?document.body:a.isElement(this.config.container)?e(this.config.container):e(document).find(this.config.container)},i._getAttachment=function(t){return V[t.toUpperCase()]},i._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(n){if("click"===n)e(t.element).on(t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if("manual"!==n){var i="hover"===n?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,o="hover"===n?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;e(t.element).on(i,t.config.selector,(function(e){return t._enter(e)})).on(o,t.config.selector,(function(e){return t._leave(e)}))}})),this._hideModalHandler=function(){t.element&&t.hide()},e(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},i._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},i._enter=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusin"===t.type?"focus":"hover"]=!0),e(n.getTipElement()).hasClass("show")||"show"===n._hoverState?n._hoverState="show":(clearTimeout(n._timeout),n._hoverState="show",n.config.delay&&n.config.delay.show?n._timeout=setTimeout((function(){"show"===n._hoverState&&n.show()}),n.config.delay.show):n.show())},i._leave=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusout"===t.type?"focus":"hover"]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState="out",n.config.delay&&n.config.delay.hide?n._timeout=setTimeout((function(){"out"===n._hoverState&&n.hide()}),n.config.delay.hide):n.hide())},i._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},i._getConfig=function(t){var n=e(this.element).data();return Object.keys(n).forEach((function(t){-1!==M.indexOf(t)&&delete n[t]})),"number"==typeof(t=s({},this.constructor.Default,n,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),a.typeCheckConfig(B,t,this.constructor.DefaultType),t.sanitize&&(t.template=Q(t.template,t.whiteList,t.sanitizeFn)),t},i._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},i._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(U);null!==n&&n.length&&t.removeClass(n.join(""))},i._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},i._fixTransition=function(){var t=this.getTipElement(),n=this.config.animation;null===t.getAttribute("x-placement")&&(e(t).removeClass("fade"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},t._jQueryInterface=function(n){return this.each((function(){var i=e(this).data("bs.tooltip"),o="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new t(this,o),e(this).data("bs.tooltip",i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}}))},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return z}},{key:"NAME",get:function(){return B}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return K}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return W}}]),t}();e.fn[B]=X._jQueryInterface,e.fn[B].Constructor=X,e.fn[B].noConflict=function(){return e.fn[B]=H,X._jQueryInterface};var Y="popover",$=e.fn[Y],J=new RegExp("(^|\\s)bs-popover\\S+","g"),G=s({},X.Default,{placement:"right",trigger:"click",content:"",template:''}),Z=s({},X.DefaultType,{content:"(string|element|function)"}),tt={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},et=function(t){var n,i;function s(){return t.apply(this,arguments)||this}i=t,(n=s).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i;var r=s.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-popover-"+t)},r.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},r.setContent=function(){var t=e(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(t.find(".popover-body"),n),t.removeClass("fade show")},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(J);null!==n&&n.length>0&&t.removeClass(n.join(""))},s._jQueryInterface=function(t){return this.each((function(){var n=e(this).data("bs.popover"),i="object"==typeof t?t:null;if((n||!/dispose|hide/.test(t))&&(n||(n=new s(this,i),e(this).data("bs.popover",n)),"string"==typeof t)){if("undefined"==typeof n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},o(s,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return G}},{key:"NAME",get:function(){return Y}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return tt}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return Z}}]),s}(X);e.fn[Y]=et._jQueryInterface,e.fn[Y].Constructor=et,e.fn[Y].noConflict=function(){return e.fn[Y]=$,et._jQueryInterface};var nt="scrollspy",it=e.fn[nt],ot={offset:10,method:"auto",target:""},st={offset:"number",method:"string",target:"(string|element)"},rt=function(){function t(t,n){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(n),this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on("scroll.bs.scrollspy",(function(t){return i._process(t)})),this.refresh(),this._process()}var n=t.prototype;return n.refresh=function(){var t=this,n=this._scrollElement===this._scrollElement.window?"offset":"position",i="auto"===this._config.method?n:this._config.method,o="position"===i?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(t){var n,s=a.getSelectorFromElement(t);if(s&&(n=document.querySelector(s)),n){var r=n.getBoundingClientRect();if(r.width||r.height)return[e(n)[i]().top+o,s]}return null})).filter((function(t){return t})).sort((function(t,e){return t[0]-e[0]})).forEach((function(e){t._offsets.push(e[0]),t._targets.push(e[1])}))},n.dispose=function(){e.removeData(this._element,"bs.scrollspy"),e(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},n._getConfig=function(t){if("string"!=typeof(t=s({},ot,"object"==typeof t&&t?t:{})).target&&a.isElement(t.target)){var n=e(t.target).attr("id");n||(n=a.getUID(nt),e(t.target).attr("id",n)),t.target="#"+n}return a.typeCheckConfig(nt,t,st),t},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;){this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&("undefined"==typeof this._offsets[o+1]||t li > .active":".active";i=(i=e.makeArray(e(o).find(r)))[i.length-1]}var l=e.Event("hide.bs.tab",{relatedTarget:this._element}),c=e.Event("show.bs.tab",{relatedTarget:i});if(i&&e(i).trigger(l),e(this._element).trigger(c),!c.isDefaultPrevented()&&!l.isDefaultPrevented()){s&&(n=document.querySelector(s)),this._activate(this._element,o);var h=function(){var n=e.Event("hidden.bs.tab",{relatedTarget:t._element}),o=e.Event("shown.bs.tab",{relatedTarget:i});e(i).trigger(n),e(t._element).trigger(o)};n?this._activate(n,n.parentNode,h):h()}}},n.dispose=function(){e.removeData(this._element,"bs.tab"),this._element=null},n._activate=function(t,n,i){var o=this,s=(!n||"UL"!==n.nodeName&&"OL"!==n.nodeName?e(n).children(".active"):e(n).find("> li > .active"))[0],r=i&&s&&e(s).hasClass("fade"),l=function(){return o._transitionComplete(t,s,i)};if(s&&r){var c=a.getTransitionDurationFromElement(s);e(s).removeClass("show").one(a.TRANSITION_END,l).emulateTransitionEnd(c)}else l()},n._transitionComplete=function(t,n,i){if(n){e(n).removeClass("active");var o=e(n.parentNode).find("> .dropdown-menu .active")[0];o&&e(o).removeClass("active"),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}if(e(t).addClass("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),a.reflow(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&e(t.parentNode).hasClass("dropdown-menu")){var s=e(t).closest(".dropdown")[0];if(s){var r=[].slice.call(s.querySelectorAll(".dropdown-toggle"));e(r).addClass("active")}t.setAttribute("aria-expanded",!0)}i&&i()},t._jQueryInterface=function(n){return this.each((function(){var i=e(this),o=i.data("bs.tab");if(o||(o=new t(this),i.data("bs.tab",o)),"string"==typeof n){if("undefined"==typeof o[n])throw new TypeError('No method named "'+n+'"');o[n]()}}))},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}}]),t}();e(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(t){t.preventDefault(),lt._jQueryInterface.call(e(this),"show")})),e.fn.tab=lt._jQueryInterface,e.fn.tab.Constructor=lt,e.fn.tab.noConflict=function(){return e.fn.tab=at,lt._jQueryInterface};var ct=e.fn.toast,ht={animation:"boolean",autohide:"boolean",delay:"number"},ut={animation:!0,autohide:!0,delay:500},dt=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var n=t.prototype;return n.show=function(){var t=this,n=e.Event("show.bs.toast");if(e(this._element).trigger(n),!n.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var i=function(){t._element.classList.remove("showing"),t._element.classList.add("show"),e(t._element).trigger("shown.bs.toast"),t._config.autohide&&(t._timeout=setTimeout((function(){t.hide()}),t._config.delay))};if(this._element.classList.remove("hide"),a.reflow(this._element),this._element.classList.add("showing"),this._config.animation){var o=a.getTransitionDurationFromElement(this._element);e(this._element).one(a.TRANSITION_END,i).emulateTransitionEnd(o)}else i()}},n.hide=function(){if(this._element.classList.contains("show")){var t=e.Event("hide.bs.toast");e(this._element).trigger(t),t.isDefaultPrevented()||this._close()}},n.dispose=function(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),e(this._element).off("click.dismiss.bs.toast"),e.removeData(this._element,"bs.toast"),this._element=null,this._config=null},n._getConfig=function(t){return t=s({},ut,e(this._element).data(),"object"==typeof t&&t?t:{}),a.typeCheckConfig("toast",t,this.constructor.DefaultType),t},n._setListeners=function(){var t=this;e(this._element).on("click.dismiss.bs.toast",'[data-dismiss="toast"]',(function(){return t.hide()}))},n._close=function(){var t=this,n=function(){t._element.classList.add("hide"),e(t._element).trigger("hidden.bs.toast")};if(this._element.classList.remove("show"),this._config.animation){var i=a.getTransitionDurationFromElement(this._element);e(this._element).one(a.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},n._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},t._jQueryInterface=function(n){return this.each((function(){var i=e(this),o=i.data("bs.toast");if(o||(o=new t(this,"object"==typeof n&&n),i.data("bs.toast",o)),"string"==typeof n){if("undefined"==typeof o[n])throw new TypeError('No method named "'+n+'"');o[n](this)}}))},o(t,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"DefaultType",get:function(){return ht}},{key:"Default",get:function(){return ut}}]),t}();e.fn.toast=dt._jQueryInterface,e.fn.toast.Constructor=dt,e.fn.toast.noConflict=function(){return e.fn.toast=ct,dt._jQueryInterface},t.Alert=h,t.Button=d,t.Carousel=b,t.Collapse=C,t.Dropdown=I,t.Modal=P,t.Popover=et,t.Scrollspy=rt,t.Tab=lt,t.Toast=dt,t.Tooltip=X,t.Util=a,Object.defineProperty(t,"__esModule",{value:!0})})); + //# sourceMappingURL=bootstrap.min.js.map \ No newline at end of file diff --git a/resources/[standalone]/cd_keymaster/html/js/jquery.js b/resources/[standalone]/cd_keymaster/html/js/jquery.js new file mode 100644 index 0000000..d467083 --- /dev/null +++ b/resources/[standalone]/cd_keymaster/html/js/jquery.js @@ -0,0 +1,2 @@ +/*! jQuery v3.5.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.5.1",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||j,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,j=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function qe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Oe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Ut,Xt=[],Vt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||S.expando+"_"+Ct.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Vt,"$1"+r):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Ut=E.implementation.createHTMLDocument("").body).innerHTML="
",2===Ut.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):("number"==typeof f.top&&(f.top+="px"),"number"==typeof f.left&&(f.left+="px"),c.css(f))}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=$e(y.pixelPosition,function(e,t){if(t)return t=Be(e,n),Me.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0=o.clientWidth&&n>=o.clientHeight}),l=0a[e]&&!t.escapeWithReference&&(n=Q(f[o],a[e]-('right'===e?f.width:f.height))),ae({},o,n)}};return l.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';f=le({},f,m[t](e))}),e.offsets.popper=f,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,n=t.reference,i=e.placement.split('-')[0],r=Z,p=-1!==['top','bottom'].indexOf(i),s=p?'right':'bottom',d=p?'left':'top',a=p?'width':'height';return o[s]r(n[s])&&(e.offsets.popper[d]=r(n[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,o){var n;if(!K(e.instance.modifiers,'arrow','keepTogether'))return e;var i=o.element;if('string'==typeof i){if(i=e.instance.popper.querySelector(i),!i)return e;}else if(!e.instance.popper.contains(i))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var r=e.placement.split('-')[0],p=e.offsets,s=p.popper,d=p.reference,a=-1!==['left','right'].indexOf(r),l=a?'height':'width',f=a?'Top':'Left',m=f.toLowerCase(),h=a?'left':'top',c=a?'bottom':'right',u=S(i)[l];d[c]-us[c]&&(e.offsets.popper[m]+=d[m]+u-s[c]),e.offsets.popper=g(e.offsets.popper);var b=d[m]+d[l]/2-u/2,w=t(e.instance.popper),y=parseFloat(w['margin'+f]),E=parseFloat(w['border'+f+'Width']),v=b-e.offsets.popper[m]-y-E;return v=ee(Q(s[l]-u,v),0),e.arrowElement=i,e.offsets.arrow=(n={},ae(n,m,$(v)),ae(n,h,''),n),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(W(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=v(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split('-')[0],i=T(n),r=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case ce.FLIP:p=[n,i];break;case ce.CLOCKWISE:p=G(n);break;case ce.COUNTERCLOCKWISE:p=G(n,!0);break;default:p=t.behavior;}return p.forEach(function(s,d){if(n!==s||p.length===d+1)return e;n=e.placement.split('-')[0],i=T(n);var a=e.offsets.popper,l=e.offsets.reference,f=Z,m='left'===n&&f(a.right)>f(l.left)||'right'===n&&f(a.left)f(l.top)||'bottom'===n&&f(a.top)f(o.right),g=f(a.top)f(o.bottom),b='left'===n&&h||'right'===n&&c||'top'===n&&g||'bottom'===n&&u,w=-1!==['top','bottom'].indexOf(n),y=!!t.flipVariations&&(w&&'start'===r&&h||w&&'end'===r&&c||!w&&'start'===r&&g||!w&&'end'===r&&u),E=!!t.flipVariationsByContent&&(w&&'start'===r&&c||w&&'end'===r&&h||!w&&'start'===r&&u||!w&&'end'===r&&g),v=y||E;(m||b||v)&&(e.flipped=!0,(m||b)&&(n=p[d+1]),v&&(r=z(r)),e.placement=n+(r?'-'+r:''),e.offsets.popper=le({},e.offsets.popper,C(e.instance.popper,e.offsets.reference,e.placement)),e=P(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport',flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split('-')[0],n=e.offsets,i=n.popper,r=n.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return i[p?'left':'top']=r[o]-(s?i[p?'width':'height']:0),e.placement=T(t),e.offsets.popper=g(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!K(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=D(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottomo.right||t.top>o.bottom||t.rightwindow.devicePixelRatio||!fe),c='bottom'===o?'top':'bottom',g='right'===n?'left':'right',b=B('transform');if(d='bottom'==c?'HTML'===l.nodeName?-l.clientHeight+h.bottom:-f.height+h.bottom:h.top,s='right'==g?'HTML'===l.nodeName?-l.clientWidth+h.right:-f.width+h.right:h.left,a&&b)m[b]='translate3d('+s+'px, '+d+'px, 0)',m[c]=0,m[g]=0,m.willChange='transform';else{var w='bottom'==c?-1:1,y='right'==g?-1:1;m[c]=d*w,m[g]=s*y,m.willChange=c+', '+g}var E={"x-placement":e.placement};return e.attributes=le({},E,e.attributes),e.styles=le({},m,e.styles),e.arrowStyles=le({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return V(e.instance.popper,e.styles),j(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&V(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,n,i){var r=L(i,t,e,o.positionFixed),p=O(o.placement,r,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',p),V(t,{position:o.positionFixed?'fixed':'absolute'}),o},gpuAcceleration:void 0}}},ge}); +//# sourceMappingURL=popper.min.js.map \ No newline at end of file diff --git a/resources/[standalone]/cd_keymaster/html/js/script.js b/resources/[standalone]/cd_keymaster/html/js/script.js new file mode 100644 index 0000000..c2f5271 --- /dev/null +++ b/resources/[standalone]/cd_keymaster/html/js/script.js @@ -0,0 +1,295 @@ +let moving = { + +} + +let gameSuccess = null; + +let settings = {}; +let score = 0; +let mistake = 0; + +let keycontainer = $("#keymaster-keycontainer"); + +let game; + +let keys = [{ + key:"g", + right:-75, + controlled:true, + shown:true +},{ + key:"e", + right:-75, + controlled:false, + shown:false +}, { + key:"e", + right:-75, + controlled:false, + shown:false +},{ + key:"r", + right:-75, + controlled:false, + shown:false +},{ + key:"g", + right:-75, + controlled:false, + shown:false +},{ + key:"e", + right:-75, + controlled:false, + shown:false +},{ + key:"t", + right:-75, + controlled:false, + shown:false +},{ + key:"t", + right:-75, + controlled:false, + shown:false +}] +function openModal(title, body){ + if(title) + $("#keymaster-info-title").html(title); + if(body) + $("#keymaster-info-body").html(body); + $("#keymaster-info").modal('show'); +} +function showKeymaster(){ + let promise = new Promise((resolve, reject) => { + score = 0; + $('#keymaster-container').css({'display':'block'}) + $("#keymaster-score").html("0"); + $("#keymaster-timer").html("0s"); + $("#keymaster-field").fadeIn(500, () => { + let countdown = 5; + $("#keymaster-overlay").show(0); + let cd = window.setInterval(() => { + if(countdown == -1){ + clearInterval(cd); + $("#keymaster-overlay").hide(0); + resolve(true); + } else if(countdown == 0){ + $("#keymaster-countdown").html("START"); + countdown--; + } else $("#keymaster-countdown").html(countdown--); + + }, 1000); + }) + }); + return promise; +} +function startGame(){ + showKeymaster().then(()=>{ + moveKey(); + drawKeys(); + initKeymaster(); + }) +} +function generateKeys(keylist){ + if(keylist.length > 0){ + keys = []; + for(let i = 0; i < keylist.length; i++){ + keys.push({ + key:keylist[i], + right:-75, + shown:((i===0)?true:false) + }) + } + } +} +function endGame(status, message){ + clearInterval(game); + settings.speed = settings.baseSpeed; + + mistake = 0; + + if(status) + gameSuccess = true; + else gameSuccess = false; + + $("#keymaster-field").fadeOut(500); + if(settings.handleEnd){ + openModal(((status)?"Completed!":"Failed!"), message); + } else { + var xhr = new XMLHttpRequest(); + let u = "fail"; + if(status) + u = "success"; + xhr.open("POST", `https://cd_keymaster/${u}`, true); + xhr.setRequestHeader('Content-Type', 'application/json'); + xhr.send(JSON.stringify({})); + } + $('#keymaster-container').css({'display':'none'}) +} +async function nextKey(i){ + if(i >= keys.length) + i = 0; + $("#keymaster-point-char").html(keys[i].key); + keys[i].shown = true; + $(`[data-kid='${i}']`).css("right", "-75px").css("background-color", "#eee").show(200); + keys[i].right = -75; +} +async function evalStatus(){ + if(score >= settings.scoreWin){ + endGame(true, "Win"); + return; + } + if(score <= settings.scoreLose){ + endGame(false, "You went into the negative!"); + return; + } + if(mistake > settings.maxMistake){ + endGame(false, `Made more than ${settings.maxMistake} mistakes.`); + return + } +} +async function evalKey(key){ + for(let i = 0; i < keys.length; i++){ + if(keys[i].key == key && keys[i].shown){ + if(keys[i].right+75 <= settings.boxL && keys[i].right+75 >= settings.boxR){ + settings.speed += settings.speedIncrement; + keys[i].shown = false; + updateScore(keys[i].right+75 - settings.boxR); + await animateKeypress(i, true); + evalStatus(); + nextKey(i+1); + return; + } else { + settings.speed = settings.baseSpeed; + keys[i].shown = false; + updateScore(-50); + mistake++; + await animateKeypress(i, false); + evalStatus(); + nextKey(i+1); + return; + } + } + } + +} +async function animateKeypress(kid, success){ + if(success){ + $("[data-kid='"+kid+"']").css("background-color", "#99e7ab").hide(300); + } else { + $("[data-kid='"+kid+"']").css("background-color", "#ed99a1").hide(300); + } +} +async function updateScore(s){ + score += s; + $("#keymaster-score").html(Math.ceil(score)); +} +function initKeymaster(){ + settings.handleEnd = true; + + settings.time = 0; + + settings.width = window.innerWidth; + settings.height = window.innerHeight; + + let element = document.getElementById("keymaster-point"); + settings.boxR = Math.floor(settings.width - element.getBoundingClientRect().right); + settings.boxL = Math.floor(settings.width - element.getBoundingClientRect().left); +} +async function drawKeys(){ + keycontainer.html(`
`); + for(let i = 0; i < keys.length; i++){ + if(keys[i].shown){ + keycontainer.append(`
${keys[i].key}
`); + $("#keymaster-point-char").html(keys[i].key); + }else keycontainer.append(``); + } +} +async function moveKey(){ + game = window.setInterval(() => { + for(let i = 0; i < keys.length; i++){ + if(keys[i].shown){ + $("[data-kid='"+i+"']").css("right", `+=${settings.speed}px`); + keys[i].right += settings.speed; + + if(keys[i].right >= settings.boxR+75){ + keys[i].shown = false; + updateScore(-50); + animateKeypress(i, false); + nextKey(i+1); + settings.speed = settings.baseSpeed; + mistake++; + evalStatus(); + } + } + } + settings.time += 10; + $("#keymaster-timer").html((settings.time/1000).toFixed(1)+"s"); + if(settings.time >= settings.maxTime){ + endGame(false, "Time ran out!"); + } + }, 10); +} + +$(window).keydown((event) => { + evalKey(event.key); +}) +window.addEventListener("message", (event) => { + if(event.data.action == "start"){ + let s = event.data.settings; + if(!s){ + settings.speed = 10; + settings.scoreWin = 1000; + settings.scoreLose = -150; + settings.maxTime = 30000; // 30 sec + settings.maxMistake = 5; + settings.speedIncrement = 1; + settings.baseSpeed = 10; + } else { + if(s.handleEnd != null){ + settings.handleEnd = s.handleEnd; + } else settings.handleEnd = true; + if(s.speed != null){ + settings.speed = s.speed; + settings.baseSpeed = s.speed; + } else { + settings.speed = 10; + settings.baseSpeed = 10; + } + if(s.scoreWin != null){ + settings.scoreWin = s.scoreWin; + } else settings.scoreWin = 1000; + if(s.scoreLose != null){ + settings.scoreLose = s.scoreLose; + } else settings.scoreLose = -150; + if(s.maxTime != null){ + settings.maxTime = s.maxTime; + } else settings.maxTime = 30000; + if(s.maxMistake != null){ + settings.maxMistake = s.maxMistake + } else settings.maxMistake = 5; + if(s.speedIncrement != null){ + settings.speedIncrement = s.speedIncrement + } else settings.speedIncrement = 1; + } + let k = event.data.keys; + if(k && k.length > 0){ + generateKeys(k); + } + startGame(); + } +}); +$('#keymaster-info').on('hide.bs.modal', () => { + var xhr = new XMLHttpRequest(); + let u; + if(gameSuccess !== null){ + if(gameSuccess) + u = "success"; + else u = "fail"; + } + + xhr.open("POST", `https://cd_keymaster/${u}`, true); + xhr.setRequestHeader('Content-Type', 'application/json'); + xhr.send(JSON.stringify({})); +}); diff --git a/resources/[standalone]/chat/README.md b/resources/[standalone]/chat/README.md new file mode 100644 index 0000000..3f7a51f --- /dev/null +++ b/resources/[standalone]/chat/README.md @@ -0,0 +1,29 @@ +Hi, thank you for buying my script, I'm very grateful! + +If you need help contact me on discord: okok#3488 +Discord server: https://discord.gg/FauTgGRUku + +1. Disable the chat resource you're using at the moment + +2. How to change the chat to the right side + Navigate to the styles.css file and on the line 22 change 'left: 40px;' to 'right: 40px;' and then on the line 42 do the same thing + +3. How to add the system messages to QBCore + Navigate to qb-core/server/commands.lua and search for the following code (for example): + + TriggerClientEvent('QBCore:Notify', source, "Incorrect Format", "error") + + And replace it with the following: + + AddEventHandler('chatMessage', function(playerId, author, message) + local time = os.date('%H:%M') + + if message:sub(1, 1) == '/' and playerId > 0 then + CancelEvent() + + TriggerClientEvent('chat:addMessage', playerId, { + template = '
SYSTEM {0}
Incorrect Format
', + args = { time } + }) + end + end) diff --git a/resources/[standalone]/chat/client.lua b/resources/[standalone]/chat/client.lua new file mode 100644 index 0000000..789e83b --- /dev/null +++ b/resources/[standalone]/chat/client.lua @@ -0,0 +1,297 @@ +-- local QBCore = exports['qb-core']:GetCoreObject() +local chatInputActive = false +local chatInputActivating = false +local chatHidden = true +local chatLoaded = false + +RegisterNetEvent('chatMessage') +RegisterNetEvent('chat:addTemplate') +RegisterNetEvent('chat:addMessage') +RegisterNetEvent('chat:addSuggestion') +RegisterNetEvent('chat:addSuggestions') +RegisterNetEvent('chat:removeSuggestion') +RegisterNetEvent('chat:client:ClearChat') + +RegisterNetEvent('__cfx_internal:serverPrint') + +RegisterNetEvent('_chat:messageEntered') + +AddEventHandler('chatMessage', function(author, color, text) + local args = {text} + if author ~= "" then + table.insert(args, 1, author) + end + SendNUIMessage({ + type = 'ON_MESSAGE', + message = { + color = color, + multiline = true, + args = args + } + }) +end) + +AddEventHandler('__cfx_internal:serverPrint', function(msg) + print(msg) + SendNUIMessage({ + type = 'ON_MESSAGE', + message = { + templateId = 'print', + multiline = true, + args = {msg}, + mode = '_global' + } + }) +end) + +-- addMessage +local addMessage = function(message) + if type(message) == 'string' then + message = { + args = {message} + } + end + + SendNUIMessage({ + type = 'ON_MESSAGE', + message = message + }) +end + +exports('addMessage', addMessage) +AddEventHandler('chat:addMessage', function(message) + SendNUIMessage({ + type = 'ON_MESSAGE', + message = message + }) +end) + +-- addSuggestion +local addSuggestion = function(name, help, params) + SendNUIMessage({ + type = 'ON_SUGGESTION_ADD', + suggestion = { + name = name, + help = help, + params = params or nil + } + }) +end + +exports('addSuggestion', addSuggestion) +AddEventHandler('chat:addSuggestion', function(name, help, params) + SendNUIMessage({ + type = 'ON_SUGGESTION_ADD', + suggestion = { + name = name, + help = help, + params = params or nil + } + }) +end) + +AddEventHandler('chat:addSuggestions', function(suggestions) + for _, suggestion in ipairs(suggestions) do + SendNUIMessage({ + type = 'ON_SUGGESTION_ADD', + suggestion = suggestion + }) + end +end) + +AddEventHandler('chat:removeSuggestion', function(name) + SendNUIMessage({ + type = 'ON_SUGGESTION_REMOVE', + name = name + }) +end) + +RegisterNetEvent('chat:resetSuggestions') +AddEventHandler('chat:resetSuggestions', function() + SendNUIMessage({ + type = 'ON_COMMANDS_RESET' + }) +end) + +AddEventHandler('chat:addMode', function(mode) + SendNUIMessage({ + type = 'ON_MODE_ADD', + mode = mode + }) +end) + +AddEventHandler('chat:removeMode', function(name) + SendNUIMessage({ + type = 'ON_MODE_REMOVE', + name = name + }) +end) + +AddEventHandler('chat:addTemplate', function(id, html) + SendNUIMessage({ + type = 'ON_TEMPLATE_ADD', + template = { + id = id, + html = html + } + }) +end) + +AddEventHandler('chat:client:ClearChat', function(name) + SendNUIMessage({ + type = 'ON_CLEAR' + }) +end) + +RegisterNUICallback('chatResult', function(data, cb) + chatInputActive = false + SetNuiFocus(false) + + if not data.canceled then + local id = PlayerId() + + local r, g, b = 0, 0x99, 255 + + if data.message:sub(1, 1) == '/' then + ExecuteCommand(data.message:sub(2)) + else + TriggerServerEvent('_chat:messageEntered', GetPlayerName(id), {r, g, b}, data.message) + end + end + + cb('ok') +end) + +local function refreshCommands() + if GetRegisteredCommands then + local registeredCommands = GetRegisteredCommands() + + local suggestions = {} + + for _, command in ipairs(registeredCommands) do + if IsAceAllowed(('command.%s'):format(command.name)) then + table.insert(suggestions, { + name = '/' .. command.name, + help = '' + }) + end + end + + TriggerEvent('chat:addSuggestions', suggestions) + end +end + +local function refreshThemes() + local themes = {} + + for resIdx = 0, GetNumResources() - 1 do + local resource = GetResourceByFindIndex(resIdx) + + if GetResourceState(resource) == 'started' then + local numThemes = GetNumResourceMetadata(resource, 'chat_theme') + + if numThemes > 0 then + local themeName = GetResourceMetadata(resource, 'chat_theme') + local themeData = json.decode(GetResourceMetadata(resource, 'chat_theme_extra') or 'null') + + if themeName and themeData then + themeData.baseUrl = 'nui://' .. resource .. '/' + themes[themeName] = themeData + end + end + end + end + + SendNUIMessage({ + type = 'ON_UPDATE_THEMES', + themes = themes + }) +end + +AddEventHandler('onClientResourceStart', function(resName) + Wait(500) + + refreshCommands() + refreshThemes() +end) + +AddEventHandler('onClientResourceStop', function(resName) + Wait(500) + + refreshCommands() + refreshThemes() +end) + +RegisterNUICallback('loaded', function(data, cb) + TriggerServerEvent('chat:init'); + + refreshCommands() + refreshThemes() + + chatLoaded = true + + cb('ok') +end) + +Citizen.CreateThread(function() + SetTextChatEnabled(false) + SetNuiFocus(false) + + while true do + Wait(0) + + if not chatInputActive then + if IsControlPressed(0, 245) then + chatInputActive = true + chatInputActivating = true + + SendNUIMessage({ + type = 'ON_OPEN' + }) + end + end + + if chatInputActivating then + if not IsControlPressed(0, 245) then + SetNuiFocus(true) + + chatInputActivating = false + end + end + + if chatLoaded then + local shouldBeHidden = false + + if IsScreenFadedOut() or IsPauseMenuActive() then + shouldBeHidden = true + end + + if (shouldBeHidden and not chatHidden) or (not shouldBeHidden and chatHidden) then + chatHidden = shouldBeHidden + + SendNUIMessage({ + type = 'ON_SCREEN_STATE_CHANGE', + shouldHide = shouldBeHidden + }) + end + end + end +end) + +Citizen.CreateThread(function() + if Config.AllowPlayersToClearTheirChat then + TriggerEvent('chat:addSuggestion', '/' .. Config.ClearChatCommand, 'Tøm chat (for dig selv)', {}) + end + if Config.AllowStaffsToClearEveryonesChat then + TriggerEvent('chat:addSuggestion', '/' .. Config.ClearEveryonesChatCommand, 'Tøm chat for alle', {}) + end + if Config.EnableAdvertisementCommand then + TriggerEvent('chat:addSuggestion', '/' .. Config.AdvertisementCommand, 'Lav en reklame for ' .. Config.AdvertisementPrice .. ',-', {}) + end + if Config.EnablePoliceCommand then + TriggerEvent('chat:addSuggestion', '/' .. Config.PoliceCommand, 'Udsend Politi-notifikation', {}) + end + if Config.EnableAmbulanceCommand then + TriggerEvent('chat:addSuggestion', '/' .. Config.AmbulanceCommand, 'Udsend EMS-notifikation', {}) + end +end) diff --git a/resources/[standalone]/chat/commands.lua b/resources/[standalone]/chat/commands.lua new file mode 100644 index 0000000..3d813c2 --- /dev/null +++ b/resources/[standalone]/chat/commands.lua @@ -0,0 +1,235 @@ +QBCore = exports['qb-core']:GetCoreObject() + +local canAdvertise = true + +if Config.AllowPlayersToClearTheirChat then + RegisterCommand(Config.ClearChatCommand, function(source, args, rawCommand) + TriggerClientEvent('chat:client:ClearChat', source) + end) +end + +if Config.AllowStaffsToClearEveryonesChat then + RegisterCommand(Config.ClearEveryonesChatCommand, function(source, args, rawCommand) + local xPlayer = QBCore.Functions.GetPlayer(source) + local time = os.date(Config.DateFormat) + if isAdmin(source) then + TriggerClientEvent('chat:client:ClearChat', -1) + TriggerClientEvent('chat:addMessage', -1, { + template = '
SYSTEM {0}
Chatten blev tømt!
', + args = { time } + }) + end + end) +end + +if Config.EnableStaffCommand then + RegisterCommand(Config.StaffCommand, function(source, args, rawCommand) + local xPlayer = QBCore.Functions.GetPlayer(source) + local length = string.len(Config.StaffCommand) + local message = rawCommand:sub(length + 1) + local time = os.date(Config.DateFormat) + playerName = xPlayer.PlayerData.name + + if isAdmin(source) then + TriggerClientEvent('chat:addMessage', -1, { + template = '
[STAFF] {0} {2}
{1}
', + args = { playerName, message, time } + }) + end + end) +end + +if Config.EnableStaffOnlyCommand then + RegisterCommand(Config.StaffOnlyCommand, function(source, args, rawCommand) + local xPlayer = QBCore.Functions.GetPlayer(source) + local length = string.len(Config.StaffOnlyCommand) + local message = rawCommand:sub(length + 1) + local time = os.date(Config.DateFormat) + playerName = xPlayer.PlayerData.name + + if isAdmin(source) then + showOnlyForAdmins(function(admins) + TriggerClientEvent('chat:addMessage', admins, { + template = '
[STAFF ONLY] {0} {2}
{1}
', + args = { playerName, message, time } + }) + end) + end + end) +end + +if Config.EnableAdvertisementCommand then + RegisterCommand(Config.AdvertisementCommand, function(source, args, rawCommand) + local xPlayer = QBCore.Functions.GetPlayer(source) + local length = string.len(Config.AdvertisementCommand) + local message = rawCommand:sub(length + 1) + local time = os.date(Config.DateFormat) + playerName = xPlayer.PlayerData.name + local bankMoney = xPlayer.PlayerData.money.bank + + if canAdvertise then + if bankMoney >= Config.AdvertisementPrice then + xPlayer.Functions.RemoveMoney('bank', Config.AdvertisementPrice) + TriggerClientEvent('chat:addMessage', -1, { + template = '', + args = { playerName, message, time } + }) + + QBCore.Functions.Notify(source, "Du sendte en reklame for "..Config.AdvertisementPrice..',-', 'success', 5000) + + local time = Config.AdvertisementCooldown * 60 + local pastTime = 0 + canAdvertise = false + + while (time > pastTime) do + Citizen.Wait(1000) + pastTime = pastTime + 1 + timeLeft = time - pastTime + end + canAdvertise = true + else + QBCore.Functions.Notify(source, "Du har ikke nok penge på banken!", "error", 5000) + end + else + QBCore.Functions.Notify(source, "Du skal lige vente lidt!", "error", 5000) + end + end) +end + +if Config.EnableTwitchCommand then + RegisterCommand(Config.TwitchCommand, function(source, args, rawCommand) + local xPlayer = QBCore.Functions.GetPlayer(source) + local length = string.len(Config.TwitchCommand) + local message = rawCommand:sub(length + 1) + local time = os.date(Config.DateFormat) + playerName = xPlayer.PlayerData.name + local twitch = twitchPermission(source) + + if twitch then + TriggerClientEvent('chat:addMessage', -1, { + template = '
{0} {2}
{1}
', + args = { playerName, message, time } + }) + end + end) +end + +function twitchPermission(id) + for k,v in ipairs(Config.TwitchList) do + for k,x in ipairs(GetPlayerIdentifiers(id)) do + if string.lower(x) == string.lower(v) then + return true + end + end + end + return false +end + +if Config.EnableYoutubeCommand then + RegisterCommand(Config.YoutubeCommand, function(source, args, rawCommand) + local xPlayer = QBCore.Functions.GetPlayer(source) + local length = string.len(Config.YoutubeCommand) + local message = rawCommand:sub(length + 1) + local time = os.date(Config.DateFormat) + playerName = xPlayer.PlayerData.name + local youtube = youtubePermission(source) + + if youtube then + TriggerClientEvent('chat:addMessage', -1, { + template = '
{0} {2}
{1}
', + args = { playerName, message, time } + }) + end + end) +end + +function youtubePermission(id) + for k,v in ipairs(Config.YoutubeList) do + for k,x in ipairs(GetPlayerIdentifiers(id)) do + if string.lower(x) == string.lower(v) then + return true + end + end + end + return false +end + +if Config.EnableTwitterCommand then + RegisterCommand(Config.TwitterCommand, function(source, args, rawCommand) + local xPlayer = QBCore.Functions.GetPlayer(source) + local length = string.len(Config.TwitterCommand) + local message = rawCommand:sub(length + 1) + local time = os.date(Config.DateFormat) + playerName = xPlayer.PlayerData.name + + TriggerClientEvent('chat:addMessage', -1, { + template = '', + args = { playerName, message, time } + }) + end) +end + +if Config.EnablePoliceCommand then + RegisterCommand(Config.PoliceCommand, function(source, args, rawCommand) + local xPlayer = QBCore.Functions.GetPlayer(source) + local length = string.len(Config.PoliceCommand) + local message = rawCommand:sub(length + 1) + local time = os.date(Config.DateFormat) + playerName = xPlayer.PlayerData.name + local job = xPlayer.PlayerData.job.name + + if job == Config.PoliceJobName then + TriggerClientEvent('chat:addMessage', -1, { + template = '
{0} {2}
{1}
', + args = { playerName, message, time } + }) + end + end) +end + +if Config.EnableAmbulanceCommand then + RegisterCommand(Config.AmbulanceCommand, function(source, args, rawCommand) + local xPlayer = QBCore.Functions.GetPlayer(source) + local length = string.len(Config.AmbulanceCommand) + local message = rawCommand:sub(length + 1) + local time = os.date(Config.DateFormat) + playerName = xPlayer.PlayerData.name + local job = xPlayer.PlayerData.job.name + if job == Config.AmbulanceJobName then + TriggerClientEvent('chat:addMessage', -1, { + template = '
{0} {2}
{1}
', + args = { playerName, message, time } + }) + end + end) +end + +if Config.EnableOOCCommand then + RegisterCommand(Config.OOCCommand, function(source, args, rawCommand) + local xPlayer = QBCore.Functions.GetPlayer(source) + local length = string.len(Config.OOCCommand) + local message = rawCommand:sub(length + 1) + local time = os.date(Config.DateFormat) + playerName = xPlayer.PlayerData.name + TriggerClientEvent('chat:ooc', -1, source, playerName, message, time) + end) +end + +function isAdmin(xPlayer) + for k,v in ipairs(Config.StaffGroups) do + if QBCore.Functions.GetPermission(xPlayer) == v then + return true + end + end + return false +end + +function showOnlyForAdmins(admins) + for _,v in ipairs(QBCore.Functions.GetPlayers()) do + for _,x in ipairs(Config.StaffGroups) do + if QBCore.Functions.GetPermission(v) == x then + admins(v) + end + end + end +end \ No newline at end of file diff --git a/resources/[standalone]/chat/config.lua b/resources/[standalone]/chat/config.lua new file mode 100644 index 0000000..da354f0 --- /dev/null +++ b/resources/[standalone]/chat/config.lua @@ -0,0 +1,109 @@ +Config = {} +-------------------------------- +-- [Date Format] + +Config.DateFormat = '%H:%M' -- To change the date format check this website - https://www.lua.org/pil/22.1.html + +-- [Staff Groups] + +Config.StaffGroups = { + 'god', + 'admin', + 'moderator', + 'mod' +} + +-------------------------------- +-- [Clear Player Chat] + +Config.AllowPlayersToClearTheirChat = true + +Config.ClearChatCommand = 'clear' + +-------------------------------- +-- [Staff] + +Config.EnableStaffCommand = true + +Config.StaffCommand = 'staff' + +Config.AllowStaffsToClearEveryonesChat = false + +Config.ClearEveryonesChatCommand = 'clearall' + +-- [Staff Only Chat] + +Config.EnableStaffOnlyCommand = false + +Config.StaffOnlyCommand = 'staffo' + +-------------------------------- +-- [Advertisements] + +Config.EnableAdvertisementCommand = false + +Config.AdvertisementCommand = 'ad' + +Config.AdvertisementPrice = 1000 + +Config.AdvertisementCooldown = 5 -- in minutes + +-------------------------------- +-- [Twitch] + +Config.EnableTwitchCommand = false + +Config.TwitchCommand = 'twitch' + +-- Types of identifiers: license: | xbl: | live: | discord: | fivem: | ip: +Config.TwitchList = { + 'license:7fcf584ef3665d61212f92b6b4a2817z09fgd1a0' -- Example, change this +} + +-------------------------------- +-- [Youtube] + +Config.EnableYoutubeCommand = false + +Config.YoutubeCommand = 'youtube' + +-- Types of identifiers: steam: | license: | xbl: | live: | discord: | fivem: | ip: +Config.YoutubeList = { + 'license:7fcf584ef3665d61212f92b6b4a2817z09fgd1a0' -- Example, change this +} + +-------------------------------- +-- [Twitter] + +Config.EnableTwitterCommand = false + +Config.TwitterCommand = 'twitter' + +-------------------------------- +-- [Police] + +Config.EnablePoliceCommand = true + +Config.PoliceCommand = 'police' + +Config.PoliceJobName = 'police' + +-------------------------------- +-- [Ambulance] + +Config.EnableAmbulanceCommand = true + +Config.AmbulanceCommand = 'ambulance' + +Config.AmbulanceJobName = 'ambulance' + +-------------------------------- +-- [OOC] + +Config.EnableOOCCommand = true + +Config.OOCCommand = 'ooc' + +Config.OOCDistance = 9999.0 + +-------------------------------- \ No newline at end of file diff --git a/resources/[standalone]/chat/fxmanifest.lua b/resources/[standalone]/chat/fxmanifest.lua new file mode 100644 index 0000000..3a3d83b --- /dev/null +++ b/resources/[standalone]/chat/fxmanifest.lua @@ -0,0 +1,22 @@ +fx_version 'cerulean' +game 'gta5' +version '1.0.0' +lua54 'yes' +ui_page 'web/ui.html' + +files { + 'web/*.*', +} + +shared_script 'config.lua' + +client_scripts { + 'client.lua', + 'ooc.lua', +} + +server_scripts { + 'server.lua', + 'commands.lua', +} + diff --git a/resources/[standalone]/chat/ooc.lua b/resources/[standalone]/chat/ooc.lua new file mode 100644 index 0000000..a3226e0 --- /dev/null +++ b/resources/[standalone]/chat/ooc.lua @@ -0,0 +1,16 @@ +RegisterNetEvent('chat:ooc', function(id, name, message, time) + local id1 = PlayerId() + local id2 = GetPlayerFromServerId(id) + if id2 == id1 then + TriggerEvent('chat:addMessage', { + template = '
{0} {2}
{1}
', + args = { name, message, time } + }) + elseif #(GetEntityCoords(GetPlayerPed(id1)) - GetEntityCoords(GetPlayerPed(id2)) < Config.OOCDistance) then + -- GetDistanceBetweenCoords(GetEntityCoords(GetPlayerPed(id1)), GetEntityCoords(GetPlayerPed(id2)), true) < Config.OOCDistance then + TriggerEvent('chat:addMessage', { + template = '
{0} {2}
{1}
', + args = { name, message, time } + }) + end +end) \ No newline at end of file diff --git a/resources/[standalone]/chat/server.lua b/resources/[standalone]/chat/server.lua new file mode 100644 index 0000000..7c00f83 --- /dev/null +++ b/resources/[standalone]/chat/server.lua @@ -0,0 +1,93 @@ +RegisterServerEvent('chat:init') +RegisterServerEvent('chat:addTemplate') +RegisterServerEvent('chat:addMessage') +RegisterServerEvent('chat:addSuggestion') +RegisterServerEvent('chat:removeSuggestion') +RegisterServerEvent('_chat:messageEntered') +RegisterServerEvent('chat:server:ClearChat') +RegisterServerEvent('__cfx_internal:commandFallback') + +RegisterNetEvent('playerJoining') + +AddEventHandler('_chat:messageEntered', function(author, color, message) + if not message or not author then return end + if not WasEventCanceled() then + local time = os.date(Config.DateFormat) + TriggerClientEvent('chat:addMessage', -1, { + template = '
{0} {2}
{1}
', + args = { author, message, time } + }) + end +end) + +AddEventHandler('__cfx_internal:commandFallback', function(command) + local name = GetPlayerName(source) + + TriggerEvent('chatMessage', source, name, '/' .. command) + + if not WasEventCanceled() then + TriggerClientEvent('chatMessage', -1, name, {255, 255, 255}, '/' .. command) + end + + CancelEvent() +end) + +RegisterCommand('say', function(source, args, rawCommand) + TriggerClientEvent('chatMessage', -1, (source == 0) and 'console' or GetPlayerName(source), {255, 255, 255}, rawCommand) +end) + +local function refreshCommands(player) + if GetRegisteredCommands then + local registeredCommands = GetRegisteredCommands() + + local suggestions = {} + + for _, command in ipairs(registeredCommands) do + if IsPlayerAceAllowed(player, ('command.%s'):format(command.name)) then + table.insert(suggestions, { + name = '/' .. command.name, + help = '' + }) + end + end + + TriggerClientEvent('chat:addSuggestions', player, suggestions) + end +end + +AddEventHandler('onServerResourceStart', function(resName) + Wait(500) + + for _, player in ipairs(GetPlayers()) do + refreshCommands(player) + end +end) + +AddEventHandler("chatMessage", function(source, color, message) + local src = source + args = stringsplit(message, " ") + CancelEvent() + if string.find(args[1], "/") then + local cmd = args[1] + table.remove(args, 1) + end +end) + +commands = {} +commandSuggestions = {} + +function starts_with(str, start) + return str:sub(1, #start) == start +end + +function stringsplit(inputstr, sep) + if sep == nil then + sep = "%s" + end + local t={} ; i=1 + for str in string.gmatch(inputstr, "([^"..sep.."]+)") do + t[i] = str + i = i + 1 + end + return t +end \ No newline at end of file diff --git a/resources/[standalone]/chat/web/animate.min.css b/resources/[standalone]/chat/web/animate.min.css new file mode 100644 index 0000000..e9fd9c4 --- /dev/null +++ b/resources/[standalone]/chat/web/animate.min.css @@ -0,0 +1,11 @@ +@charset "UTF-8"; + +/*! + * animate.css -https://daneden.me/animate + * Version - 3.5.1 + * Licensed under the MIT license - https://opensource.org/licenses/MIT + * + * Copyright (c) 2016 Daniel Eden + */ + +.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.hinge{-webkit-animation-duration:2s;animation-duration:2s}.animated.bounceIn,.animated.bounceOut,.animated.flipOutX,.animated.flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s}@-webkit-keyframes bounce{0%,20%,53%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0);transform:translateZ(0)}40%,43%{-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}40%,43%,70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}70%{-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}@keyframes bounce{0%,20%,53%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0);transform:translateZ(0)}40%,43%{-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}40%,43%,70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}70%{-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}.bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}.flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes pulse{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse}@-webkit-keyframes rubberBand{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes rubberBand{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shake{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shake{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.shake{-webkit-animation-name:shake;animation-name:shake}@-webkit-keyframes headShake{0%{-webkit-transform:translateX(0);transform:translateX(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translateX(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translateX(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translateX(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translateX(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes headShake{0%{-webkit-transform:translateX(0);transform:translateX(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translateX(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translateX(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translateX(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translateX(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translateX(0)}}.headShake{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:headShake;animation-name:headShake}@-webkit-keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}@keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}.swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate(-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes tada{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate(-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:none;transform:none}15%{-webkit-transform:translate3d(-25%,0,0) rotate(-5deg);transform:translate3d(-25%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate(3deg);transform:translate3d(20%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate(-3deg);transform:translate3d(-15%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate(2deg);transform:translate3d(10%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate(-1deg);transform:translate3d(-5%,0,0) rotate(-1deg)}to{-webkit-transform:none;transform:none}}@keyframes wobble{0%{-webkit-transform:none;transform:none}15%{-webkit-transform:translate3d(-25%,0,0) rotate(-5deg);transform:translate3d(-25%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate(3deg);transform:translate3d(20%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate(-3deg);transform:translate3d(-15%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate(2deg);transform:translate3d(10%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate(-1deg);transform:translate3d(-5%,0,0) rotate(-1deg)}to{-webkit-transform:none;transform:none}}.wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:none;transform:none}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skewX(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skewX(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skewX(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skewX(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skewX(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:none;transform:none}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skewX(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skewX(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skewX(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skewX(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skewX(-.1953125deg) skewY(-.1953125deg)}}.jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}}.bounceIn{-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}to{-webkit-transform:none;transform:none}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}to{-webkit-transform:none;transform:none}}.bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}to{-webkit-transform:none;transform:none}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}to{-webkit-transform:none;transform:none}}.bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:none;transform:none}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:none;transform:none}}.bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}.bounceOut{-webkit-animation-name:bounceOut;animation-name:bounceOut}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) rotateY(-1turn);transform:perspective(400px) rotateY(-1turn)}0%,40%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translateZ(150px) rotateY(-190deg);transform:perspective(400px) translateZ(150px) rotateY(-190deg)}50%{-webkit-transform:perspective(400px) translateZ(150px) rotateY(-170deg);transform:perspective(400px) translateZ(150px) rotateY(-170deg)}50%,80%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95);transform:perspective(400px) scale3d(.95,.95,.95)}to{-webkit-transform:perspective(400px);transform:perspective(400px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) rotateY(-1turn);transform:perspective(400px) rotateY(-1turn)}0%,40%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translateZ(150px) rotateY(-190deg);transform:perspective(400px) translateZ(150px) rotateY(-190deg)}50%{-webkit-transform:perspective(400px) translateZ(150px) rotateY(-170deg);transform:perspective(400px) translateZ(150px) rotateY(-170deg)}50%,80%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95);transform:perspective(400px) scale3d(.95,.95,.95)}to{-webkit-transform:perspective(400px);transform:perspective(400px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animated.flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}0%,40%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg)}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}0%,40%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg)}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}0%,40%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg)}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}0%,40%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg)}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.flipOutX{-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateY(-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateY(-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.flipOutY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY}@-webkit-keyframes lightSpeedIn{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg)}60%,80%{opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg)}to{-webkit-transform:none;transform:none;opacity:1}}@keyframes lightSpeedIn{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg)}60%,80%{opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg)}to{-webkit-transform:none;transform:none;opacity:1}}.lightSpeedIn{-webkit-animation-name:lightSpeedIn;animation-name:lightSpeedIn;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOut{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skewX(30deg);opacity:0}}@keyframes lightSpeedOut{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skewX(30deg);opacity:0}}.lightSpeedOut{-webkit-animation-name:lightSpeedOut;animation-name:lightSpeedOut;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{transform-origin:center;-webkit-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}0%,to{-webkit-transform-origin:center}to{transform-origin:center;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateIn{0%{transform-origin:center;-webkit-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}0%,to{-webkit-transform-origin:center}to{transform-origin:center;-webkit-transform:none;transform:none;opacity:1}}.rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn}@-webkit-keyframes rotateInDownLeft{0%{transform-origin:left bottom;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}0%,to{-webkit-transform-origin:left bottom}to{transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInDownLeft{0%{transform-origin:left bottom;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}0%,to{-webkit-transform-origin:left bottom}to{transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}.rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft}@-webkit-keyframes rotateInDownRight{0%{transform-origin:right bottom;-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}0%,to{-webkit-transform-origin:right bottom}to{transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInDownRight{0%{transform-origin:right bottom;-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}0%,to{-webkit-transform-origin:right bottom}to{transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}.rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight}@-webkit-keyframes rotateInUpLeft{0%{transform-origin:left bottom;-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}0%,to{-webkit-transform-origin:left bottom}to{transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInUpLeft{0%{transform-origin:left bottom;-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}0%,to{-webkit-transform-origin:left bottom}to{transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}.rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft}@-webkit-keyframes rotateInUpRight{0%{transform-origin:right bottom;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}0%,to{-webkit-transform-origin:right bottom}to{transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInUpRight{0%{transform-origin:right bottom;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}0%,to{-webkit-transform-origin:right bottom}to{transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}.rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight}@-webkit-keyframes rotateOut{0%{transform-origin:center;opacity:1}0%,to{-webkit-transform-origin:center}to{transform-origin:center;-webkit-transform:rotate(200deg);transform:rotate(200deg);opacity:0}}@keyframes rotateOut{0%{transform-origin:center;opacity:1}0%,to{-webkit-transform-origin:center}to{transform-origin:center;-webkit-transform:rotate(200deg);transform:rotate(200deg);opacity:0}}.rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut}@-webkit-keyframes rotateOutDownLeft{0%{transform-origin:left bottom;opacity:1}0%,to{-webkit-transform-origin:left bottom}to{transform-origin:left bottom;-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{transform-origin:left bottom;opacity:1}0%,to{-webkit-transform-origin:left bottom}to{transform-origin:left bottom;-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}.rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft}@-webkit-keyframes rotateOutDownRight{0%{transform-origin:right bottom;opacity:1}0%,to{-webkit-transform-origin:right bottom}to{transform-origin:right bottom;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{transform-origin:right bottom;opacity:1}0%,to{-webkit-transform-origin:right bottom}to{transform-origin:right bottom;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}.rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight}@-webkit-keyframes rotateOutUpLeft{0%{transform-origin:left bottom;opacity:1}0%,to{-webkit-transform-origin:left bottom}to{transform-origin:left bottom;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{transform-origin:left bottom;opacity:1}0%,to{-webkit-transform-origin:left bottom}to{transform-origin:left bottom;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}.rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft}@-webkit-keyframes rotateOutUpRight{0%{transform-origin:right bottom;opacity:1}0%,to{-webkit-transform-origin:right bottom}to{transform-origin:right bottom;-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}@keyframes rotateOutUpRight{0%{transform-origin:right bottom;opacity:1}0%,to{-webkit-transform-origin:right bottom}to{transform-origin:right bottom;-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}.rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight}@-webkit-keyframes hinge{0%{transform-origin:top left}0%,20%,60%{-webkit-transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate(80deg);transform:rotate(80deg);transform-origin:top left}40%,80%{-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{transform-origin:top left}0%,20%,60%{-webkit-transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate(80deg);transform:rotate(80deg);transform-origin:top left}40%,80%{-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.hinge{-webkit-animation-name:hinge;animation-name:hinge}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate(-120deg);transform:translate3d(-100%,0,0) rotate(-120deg)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate(-120deg);transform:translate3d(-100%,0,0) rotate(-120deg)}to{opacity:1;-webkit-transform:none;transform:none}}.rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate(120deg);transform:translate3d(100%,0,0) rotate(120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate(120deg);transform:translate3d(100%,0,0) rotate(120deg)}}.rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}@-webkit-keyframes zoomOut{0%{opacity:1}50%{-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%,to{opacity:0}}@keyframes zoomOut{0%{opacity:1}50%{-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%,to{opacity:0}}.zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;transform-origin:left center}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;transform-origin:left center}}.zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;transform-origin:right center}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;transform-origin:right center}}.zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight}@-webkit-keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp} \ No newline at end of file diff --git a/resources/[standalone]/chat/web/app.js b/resources/[standalone]/chat/web/app.js new file mode 100644 index 0000000..9f27dd7 --- /dev/null +++ b/resources/[standalone]/chat/web/app.js @@ -0,0 +1,273 @@ +window.APP = { + template: '#app_template', + name: 'app', + data() { + return { + style: { + background: 'transparent', + width: '38%', + height: '22%', + }, + showInput: false, + showWindow: false, + shouldHide: true, + backingSuggestions: [], + removedSuggestions: [], + templates: { + 'default': '
OOC {0}: {1}
', + 'defaultAlt': '{0}', + 'print': '
{0}
', + 'example:important': '

^2{0}

' + }, + message: '', + messages: [], + oldMessages: [], + oldMessagesIndex: -1, + tplBackups: [], + msgTplBackups: [] + }; + }, + destroyed() { + clearInterval(this.focusTimer); + window.removeEventListener('message', this.listener); + }, + mounted() { + post('https://chat/loaded', JSON.stringify({})); + this.listener = window.addEventListener('message', (event) => { + const item = event.data || event.detail; //'detail' is for debuging via browsers + if (this[item.type]) { + this[item.type](item); + } + }); + }, + watch: { + messages() { + if (this.showWindowTimer) { + clearTimeout(this.showWindowTimer); + } + this.showWindow = true; + this.resetShowWindowTimer(); + + const messagesObj = this.$refs.messages; + this.$nextTick(() => { + messagesObj.scrollTop = messagesObj.scrollHeight; + }); + }, + }, + computed: { + suggestions() { + return this.backingSuggestions.filter((el) => this.removedSuggestions.indexOf(el.name) <= -1); + }, + }, + methods: { + ON_SCREEN_STATE_CHANGE({ shouldHide }) { + this.shouldHide = shouldHide; + }, + ON_OPEN() { + this.showInput = true; + this.showWindow = true; + if (this.showWindowTimer) { + clearTimeout(this.showWindowTimer); + } + this.focusTimer = setInterval(() => { + if (this.$refs.input) { + this.$refs.input.focus(); + } else { + clearInterval(this.focusTimer); + } + }, 100); + }, + ON_MESSAGE({ message }) { + this.messages.push(message); + }, + ON_CLEAR() { + this.messages = []; + this.oldMessages = []; + this.oldMessagesIndex = -1; + }, + ON_SUGGESTION_ADD({ suggestion }) { + const duplicateSuggestion = this.backingSuggestions.find(a => a.name == suggestion.name); + if (duplicateSuggestion) { + if(suggestion.help || suggestion.params) { + duplicateSuggestion.help = suggestion.help || ""; + duplicateSuggestion.params = suggestion.params || []; + } + return; + } + if (!suggestion.params) { + suggestion.params = []; + } + + if (this.removedSuggestions.find(a => a.name == suggestion.name)) { + this.removedSuggestions.splice(this.removedSuggestions.indexOf(suggestion.name), 1) + } + + this.backingSuggestions.push(suggestion); + }, + ON_SUGGESTION_REMOVE({ name }) { + if(this.removedSuggestions.indexOf(name) <= -1) { + this.removedSuggestions.push(name); + } + }, + ON_COMMANDS_RESET() { + this.removedSuggestions = []; + this.backingSuggestions = []; + }, + ON_TEMPLATE_ADD({ template }) { + if (this.templates[template.id]) { + this.warn(`Tried to add duplicate template '${template.id}'`) + } else { + this.templates[template.id] = template.html; + } + }, + ON_UPDATE_THEMES({ themes }) { + this.removeThemes(); + + this.setThemes(themes); + }, + removeThemes() { + for (let i = 0; i < document.styleSheets.length; i++) { + const styleSheet = document.styleSheets[i]; + const node = styleSheet.ownerNode; + + if (node.getAttribute('data-theme')) { + node.parentNode.removeChild(node); + } + } + + this.tplBackups.reverse(); + + for (const [ elem, oldData ] of this.tplBackups) { + elem.innerText = oldData; + } + + this.tplBackups = []; + + this.msgTplBackups.reverse(); + + for (const [ id, oldData ] of this.msgTplBackups) { + this.templates[id] = oldData; + } + + this.msgTplBackups = []; + }, + setThemes(themes) { + for (const [ id, data ] of Object.entries(themes)) { + if (data.style) { + const style = document.createElement('style'); + style.type = 'text/css'; + style.setAttribute('data-theme', id); + style.appendChild(document.createTextNode(data.style)); + + document.head.appendChild(style); + } + + if (data.styleSheet) { + const link = document.createElement('link'); + link.rel = 'stylesheet'; + link.type = 'text/css'; + link.href = data.baseUrl + data.styleSheet; + link.setAttribute('data-theme', id); + + document.head.appendChild(link); + } + + if (data.templates) { + for (const [ tplId, tpl ] of Object.entries(data.templates)) { + const elem = document.getElementById(tplId); + + if (elem) { + this.tplBackups.push([ elem, elem.innerText ]); + elem.innerText = tpl; + } + } + } + + if (data.script) { + const script = document.createElement('script'); + script.type = 'text/javascript'; + script.src = data.baseUrl + data.script; + + document.head.appendChild(script); + } + + if (data.msgTemplates) { + for (const [ tplId, tpl ] of Object.entries(data.msgTemplates)) { + this.msgTplBackups.push([ tplId, this.templates[tplId] ]); + this.templates[tplId] = tpl; + } + } + } + }, + warn(msg) { + this.messages.push({ + args: [msg], + template: '^3CHAT-WARN: ^0{0}', + }); + }, + clearShowWindowTimer() { + clearTimeout(this.showWindowTimer); + }, + resetShowWindowTimer() { + this.clearShowWindowTimer(); + this.showWindowTimer = setTimeout(() => { + if (!this.showInput) { + this.showWindow = false; + } + }, 5000); + }, + keyUp() { + this.resize(); + }, + keyDown(e) { + if (e.which === 38 || e.which === 40) { + e.preventDefault(); + this.moveOldMessageIndex(e.which === 38); + } else if (e.which == 33) { + var buf = document.getElementsByClassName('chat-messages')[0]; + buf.scrollTop = buf.scrollTop - 100; + } else if (e.which == 34) { + var buf = document.getElementsByClassName('chat-messages')[0]; + buf.scrollTop = buf.scrollTop + 100; + } + }, + moveOldMessageIndex(up) { + if (up && this.oldMessages.length > this.oldMessagesIndex + 1) { + this.oldMessagesIndex += 1; + this.message = this.oldMessages[this.oldMessagesIndex]; + } else if (!up && this.oldMessagesIndex - 1 >= 0) { + this.oldMessagesIndex -= 1; + this.message = this.oldMessages[this.oldMessagesIndex]; + } else if (!up && this.oldMessagesIndex - 1 === -1) { + this.oldMessagesIndex = -1; + this.message = ''; + } + }, + resize() { + const input = this.$refs.input; + input.style.height = '5px'; + input.style.height = `${input.scrollHeight + 2}px`; + }, + send(e) { + if(this.message !== '') { + post('https://chat/chatResult', JSON.stringify({ + message: this.message, + })); + this.oldMessages.unshift(this.message); + this.oldMessagesIndex = -1; + this.hideInput(); + } else { + this.hideInput(true); + } + }, + hideInput(canceled = false) { + if (canceled) { + post('https://chat/chatResult', JSON.stringify({ canceled })); + } + this.message = ''; + this.showInput = false; + clearInterval(this.focusTimer); + this.resetShowWindowTimer(); + }, + }, +}; diff --git a/resources/[standalone]/chat/web/message.js b/resources/[standalone]/chat/web/message.js new file mode 100644 index 0000000..5ff1ad0 --- /dev/null +++ b/resources/[standalone]/chat/web/message.js @@ -0,0 +1,84 @@ +Vue.component("message", { + template: "#message_template", + data() { + return {}; + }, + computed: { + textEscaped() { + let s = this.template ? this.template : this.templates[this.templateId]; + + if (this.template) { + this.templateId = -1; + } + + if (this.templateId == 'default' && this.args.length == 1) { + s = this.templates['defaultAlt']; + } + + s = s.replace(/{(\d+)}/g, (match, number) => { + const argEscaped = this.args[number] != undefined ? this.escape(this.args[number]) : match; + if (number == 0 && this.color) { + return this.colorizeOld(argEscaped); + } + return argEscaped; + }); + return this.colorize(s); + } + }, + methods: { + colorizeOld(str) { + return `${str}`; + }, + colorize(str) { + let s = "" + str.replace(/\^([0-9])/g, (str, color) => ``) + ""; + + const styleDict = { + "*": "font-weight: bold;", + _: "text-decoration: underline;", + "~": "text-decoration: line-through;", + "=": "text-decoration: underline line-through;", + r: "text-decoration: none;font-weight: normal;" + }; + + const styleRegex = /\^(\_|\*|\=|\~|\/|r)(.*?)(?=$|\^r|<\/em>)/; + while (s.match(styleRegex)) { + s = s.replace(styleRegex, (str, style, inner) => `${inner}`); + } + return s.replace(/]*><\/span[^>]*>/g, ""); + }, + escape(unsafe) { + return String(unsafe) + .replace(/&/g, "&") + .replace(//g, ">") + .replace(/"/g, """) + .replace(/'/g, "'"); + } + }, + props: { + templates: { + type: Object + }, + args: { + type: Array + }, + template: { + type: String, + default: null + }, + templateId: { + type: String, + default: 'default' + }, + multiline: { + type: Boolean, + default: false + }, + color: { + type: Array, + default: false + } + } +}); diff --git a/resources/[standalone]/chat/web/styles.css b/resources/[standalone]/chat/web/styles.css new file mode 100644 index 0000000..3ebb191 --- /dev/null +++ b/resources/[standalone]/chat/web/styles.css @@ -0,0 +1,306 @@ +@import url('https://use.fontawesome.com/releases/v6.5.1/css/all.css'); +@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap'); + +* { + font-family: 'Roboto Condensed', sans-serif; + margin: 0; + padding: 0; + font-size: 1rem; +} + +#app { + font-family: 'Roboto Condensed', sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + color: white; + background-color: transparent; +} + +.chat-window { + position: absolute; + top: 2.5%; + left: 40px; + width: 38%; + height: 530px; + max-width: 400px; + background-color: rgba(255, 255, 255, 0); + -webkit-animation-duration: 2s; +} + +.chat-messages { + max-height: 140%; + font-size: 1.4rem; + overflow-x: hidden; + overflow-y: hidden; + display: block; +} + +.chat-input { + font-size: 1.65vh; + position: absolute; + top: 33.8%; + left: 40px; + width: 38%; + max-width: 400px; + box-sizing: border-box; +} + +.prefix { + position: absolute; + margin-top: 4.2%; + margin-left: 2%; + left: 0.208%; + color: #ffffff; +} + +input { + font-size: 1.7vh; + display: block; + box-sizing: border-box; + padding-top: 1.6%; + padding-left: 10%; + padding-bottom: 1.4%; + padding-right: 1.6%; + color: rgb(255, 255, 255); + background-color: #000000c9; + width: 100%; + border: none; + height: 50px !important; + overflow: hidden; + text-overflow: ellipsis; + resize: none; + border-radius: 10px; + box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, 1); +} + +input:focus { + outline: none; +} + +.msg { + margin-bottom: 5px; +} + +.suggestions { + margin-top: 5px; + list-style-type: none; + padding: 5px; + padding-left: 27px; + font-size: 0.9rem; + box-sizing: border-box; + color: white; + background-color: #010b13c9; + width: 100%; + border-radius: 10px; + border: none; + box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, 1); +} + +.help { + margin-top: -10px; + color: #b0bbbd; +} + +.suggestion { + margin-bottom: 0.5px; +} + +.chat-message { + display: block !important; + padding: 0.6vw; + padding-top: 0.6vw; + padding-bottom: 0.7vw; + /* border-radius: 15px; */ + width: 100%; + overflow: hidden; + word-break: break-word; + box-sizing: border-box; + background-color: black; + border-left: 7px solid #dc143c; + box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, 1); +} + +.chat-messagedefault { + display: block !important; + padding: 0.6vw; + padding-top: 0.6vw; + padding-bottom: 0.7vw; + /* border-radius: 15px; */ + width: 100%; + overflow: hidden; + word-break: break-word; + box-sizing: border-box; + background-color: black; + border-left: 7px solid #53bddd; + box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, 1); +} + +/* START STAFF */ + +.staff { + background: linear-gradient(90deg, rgba(42, 42, 42, 0.9) 0%, rgba(19, 138, 70, 0.9) 100%); +} + +.fa-shield-alt { + color: rgba(42, 42, 42, 0.9); + background-color: #1ebc62; + padding: 5px; + border-radius: 5px; +} + +/* END STAFF */ + +/* START ONLY STAFF */ + +.staffonly { + background: rgba(42, 42, 42, 0.9); +} + +.fa-eye-slash { + color: rgba(42, 42, 42, 0.9); + background-color: #1ebc62; + padding: 5px; + border-radius: 5px; +} + +/* END ONLY STAFF */ + +/* START TWITCH */ + +.twitch { + background: linear-gradient(90deg, rgba(42, 42, 42, 0.9) 0%, rgba(96, 67, 139, 0.9) 100%); +} + +.fa-twitch { + color: rgba(42, 42, 42, 0.9); + background-color: #9c70de; + padding: 5px; + border-radius: 5px; +} + +/* END TWITCH */ + +/* START YOUTUBE */ + +.youtube { + background: linear-gradient(90deg, rgba(42, 42, 42, 0.9) 0%, rgba(101, 0, 0, 0.9) 100%); +} + +.fa-youtube { + color: rgba(42, 42, 42, 0.9); + background-color: #ff0000; + padding: 5px; + border-radius: 5px; +} + +/* END YOUTUBE */ + +/* START TWITTER */ + +.twitter { + background: linear-gradient(90deg, rgba(42, 42, 42, 0.9) 0%, rgba(25, 107, 143, 0.9) 100%); +} + +.fa-twitter { + color: rgba(42, 42, 42, 0.9); + background-color: #2aa9e0; + padding: 5px; + border-radius: 5px; +} + +/* END TWITTER */ + +/* START SYSTEM */ + +.system { + background: linear-gradient(90deg, rgba(42, 42, 42, 0.9) 0%, rgba(134, 84, 23, 0.9) 100%); +} + +.fa-cog { + color: rgba(42, 42, 42, 0.9); + background-color: #df7b00; + padding: 5px; + border-radius: 5px; +} + +/* END SYSTEM */ + +/* START DEFAULT */ + +.defaultmessage { + background: linear-gradient(90deg, rgba(42, 42, 42, 0.9) 0%, rgba(23, 126, 134, 0.902) 100%); +} + +.fa-message { + color: rgba(255, 255, 255, 1); + background-color: #5ad8ffad; + padding: 5px; + border-radius: 5px; +} + +/* END DEFAULT */ + +/* START ADVERTISEMENT */ + +.advertisement { + background: linear-gradient(90deg, rgba(42, 42, 42, 0.9) 0%, rgba(84, 150, 38, 0.9) 100%); +} + +.fa-ad { + color: rgba(42, 42, 42, 0.9); + background-color: #81db44; + padding: 5px; + border-radius: 5px; +} + +/* END ADVERTISEMENT */ + +/* START POLICE */ + +.police { + background: linear-gradient(90deg, rgba(42, 42, 42, 0.9) 0%, rgba(40, 55, 116, 0.9) 100%); +} + +.fa-bullhorn { + color: rgba(42, 42, 42, 0.9); + background-color: #4a6cfd; + padding: 5px; + border-radius: 5px; +} + +/* END POLICE */ + +/* START AMBULANCE */ + +.ambulance { + background: linear-gradient(90deg, rgba(42, 42, 42, 0.9) 0%, rgba(152, 113, 22, 0.9) 100%); +} + +.fa-ambulance { + color: rgba(42, 42, 42, 0.9); + background-color: #e3a71b; + padding: 5px; + border-radius: 5px; +} + +/* END AMBULANCE */ + +/* START OOC */ +/* +.ooc { + background: linear-gradient(90deg, #2a2a2a8e 0%, #0088e2e6 100%); +} +*/ + +.ooc { + background: black; +} + +.fa-door-open { + color: #2a2a2ae6; + background-color: #7d7d7d; + padding: 5px; + border-radius: 5px; +} + +/* END OOC */ \ No newline at end of file diff --git a/resources/[standalone]/chat/web/suggestions.js b/resources/[standalone]/chat/web/suggestions.js new file mode 100644 index 0000000..2c25684 --- /dev/null +++ b/resources/[standalone]/chat/web/suggestions.js @@ -0,0 +1,42 @@ +Vue.component('suggestions', { + template: '#suggestions_template', + props: ['message', 'suggestions'], + data() { + return {}; + }, + computed: { + currentSuggestions() { + if (this.message === '') { + return []; + } + const currentSuggestions = this.suggestions.filter((s) => { + if (!s.name.startsWith(this.message)) { + const suggestionSplitted = s.name.split(' '); + const messageSplitted = this.message.split(' '); + for (let i = 0; i < messageSplitted.length; i += 1) { + if (i >= suggestionSplitted.length) { + return i < suggestionSplitted.length + s.params.length; + } + if (suggestionSplitted[i] !== messageSplitted[i]) { + return false; + } + } + } + return true; + }).slice(0, 5); + + currentSuggestions.forEach((s) => { + s.disabled = !s.name.startsWith(this.message); + + s.params.forEach((p, index) => { + const wType = (index === s.params.length - 1) ? '.' : '\\S'; + const regex = new RegExp(`${s.name} (?:\\w+ ){${index}}(?:${wType}*)$`, 'g'); + + p.disabled = this.message.match(regex) == null; + }); + }); + return currentSuggestions; + }, + }, + methods: {}, +}); diff --git a/resources/[standalone]/chat/web/ui.html b/resources/[standalone]/chat/web/ui.html new file mode 100644 index 0000000..d84a35b --- /dev/null +++ b/resources/[standalone]/chat/web/ui.html @@ -0,0 +1,106 @@ + + + + + + + + + + +
+ + + + + + + + + + + + + + diff --git a/resources/[standalone]/chat/web/vue.js b/resources/[standalone]/chat/web/vue.js new file mode 100644 index 0000000..d998ff7 --- /dev/null +++ b/resources/[standalone]/chat/web/vue.js @@ -0,0 +1,6 @@ +/*! + * Vue.js v2.6.14 + * (c) 2014-2021 Evan You + * Released under the MIT License. + */ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Vue=t()}(this,function(){"use strict";var e=Object.freeze({});function t(e){return null==e}function n(e){return null!=e}function r(e){return!0===e}function i(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function o(e){return null!==e&&"object"==typeof e}var a=Object.prototype.toString;function s(e){return"[object Object]"===a.call(e)}function c(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function u(e){return n(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function l(e){return null==e?"":Array.isArray(e)||s(e)&&e.toString===a?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function y(e,t){return m.call(e,t)}function g(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var _=/-(\w)/g,b=g(function(e){return e.replace(_,function(e,t){return t?t.toUpperCase():""})}),$=g(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),w=/\B([A-Z])/g,C=g(function(e){return e.replace(w,"-$1").toLowerCase()});var x=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function k(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function A(e,t){for(var n in t)e[n]=t[n];return e}function O(e){for(var t={},n=0;n0,Z=J&&J.indexOf("edge/")>0,G=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===K),X=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),J&&J.match(/firefox\/(\d+)/)),Y={}.watch,Q=!1;if(V)try{var ee={};Object.defineProperty(ee,"passive",{get:function(){Q=!0}}),window.addEventListener("test-passive",null,ee)}catch(e){}var te=function(){return void 0===B&&(B=!V&&!z&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),B},ne=V&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function re(e){return"function"==typeof e&&/native code/.test(e.toString())}var ie,oe="undefined"!=typeof Symbol&&re(Symbol)&&"undefined"!=typeof Reflect&&re(Reflect.ownKeys);ie="undefined"!=typeof Set&&re(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ae=S,se=0,ce=function(){this.id=se++,this.subs=[]};ce.prototype.addSub=function(e){this.subs.push(e)},ce.prototype.removeSub=function(e){h(this.subs,e)},ce.prototype.depend=function(){ce.target&&ce.target.addDep(this)},ce.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t-1)if(o&&!y(i,"default"))a=!1;else if(""===a||a===C(e)){var c=Re(String,i.type);(c<0||s0&&(ct((u=e(u,(a||"")+"_"+c))[0])&&ct(f)&&(s[l]=he(f.text+u[0].text),u.shift()),s.push.apply(s,u)):i(u)?ct(f)?s[l]=he(f.text+u):""!==u&&s.push(he(u)):ct(u)&&ct(f)?s[l]=he(f.text+u.text):(r(o._isVList)&&n(u.tag)&&t(u.key)&&n(a)&&(u.key="__vlist"+a+"_"+c+"__"),s.push(u)));return s}(e):void 0}function ct(e){return n(e)&&n(e.text)&&!1===e.isComment}function ut(e,t){if(e){for(var n=Object.create(null),r=oe?Reflect.ownKeys(e):Object.keys(e),i=0;i0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==e&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=vt(n,c,t[c]))}else i={};for(var u in n)u in i||(i[u]=ht(n,u));return t&&Object.isExtensible(t)&&(t._normalized=i),R(i,"$stable",a),R(i,"$key",s),R(i,"$hasNormal",o),i}function vt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({}),t=(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:st(e))&&e[0];return e&&(!t||1===e.length&&t.isComment&&!pt(t))?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function ht(e,t){return function(){return e[t]}}function mt(e,t){var r,i,a,s,c;if(Array.isArray(e)||"string"==typeof e)for(r=new Array(e.length),i=0,a=e.length;idocument.createEvent("Event").timeStamp&&(cn=function(){return un.now()})}function ln(){var e,t;for(sn=cn(),on=!0,en.sort(function(e,t){return e.id-t.id}),an=0;anan&&en[n].id>e.id;)n--;en.splice(n+1,0,e)}else en.push(e);rn||(rn=!0,Qe(ln))}}(this)},pn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||o(e)||this.deep){var t=this.value;if(this.value=e,this.user){var n='callback for watcher "'+this.expression+'"';Be(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}},pn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},pn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},pn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||h(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var dn={enumerable:!0,configurable:!0,get:S,set:S};function vn(e,t,n){dn.get=function(){return this[t][n]},dn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,dn)}function hn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&$e(!1);var o=function(o){i.push(o);var a=Ie(o,t,n,e);xe(r,o,a),o in e||vn(e,"_props",o)};for(var a in t)o(a);$e(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?S:x(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;s(t=e._data="function"==typeof t?function(e,t){le();try{return e.call(t,t)}catch(e){return He(e,t,"data()"),{}}finally{fe()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];r&&y(r,o)||(a=void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&vn(e,"_data",o))}var a;Ce(t,!0)}(e):Ce(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=te();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new pn(e,a||S,S,mn)),i in e||yn(e,i,o)}}(e,t.computed),t.watch&&t.watch!==Y&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===a.call(n)&&e.test(t));var n}function On(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!t(s)&&Sn(n,o,r,i)}}}function Sn(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,h(n,t)}!function(t){t.prototype._init=function(t){var n=this;n._uid=$n++,n._isVue=!0,t&&t._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(n,t):n.$options=De(wn(n.constructor),t||{},n),n._renderProxy=n,n._self=n,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(n),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Wt(e,t)}(n),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,i=r&&r.context;t.$slots=lt(n._renderChildren,i),t.$scopedSlots=e,t._c=function(e,n,r,i){return Ht(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Ht(t,e,n,r,i,!0)};var o=r&&r.data;xe(t,"$attrs",o&&o.attrs||e,null,!0),xe(t,"$listeners",n._parentListeners||e,null,!0)}(n),Qt(n,"beforeCreate"),function(e){var t=ut(e.$options.inject,e);t&&($e(!1),Object.keys(t).forEach(function(n){xe(e,n,t[n])}),$e(!0))}(n),hn(n),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(n),Qt(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(Cn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=ke,e.prototype.$delete=Ae,e.prototype.$watch=function(e,t,n){if(s(t))return bn(this,e,t,n);(n=n||{}).user=!0;var r=new pn(this,e,t,n);if(n.immediate){var i='callback for immediate watcher "'+r.expression+'"';le(),Be(t,this,[r.value],this,i),fe()}return function(){r.teardown()}}}(Cn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i1?k(t):t;for(var n=k(arguments,1),r='event handler for "'+e+'"',i=0,o=t.length;iparseInt(this.max)&&Sn(e,t[0],t,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Sn(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(t){On(e,function(e){return An(t,e)})}),this.$watch("exclude",function(t){On(e,function(e){return!An(t,e)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=zt(e),n=t&&t.componentOptions;if(n){var r=kn(n),i=this.include,o=this.exclude;if(i&&(!r||!An(i,r))||o&&r&&An(o,r))return t;var a=this.cache,s=this.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[c]?(t.componentInstance=a[c].componentInstance,h(s,c),s.push(c)):(this.vnodeToCache=t,this.keyToCache=c),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return F}};Object.defineProperty(e,"config",t),e.util={warn:ae,extend:A,mergeOptions:De,defineReactive:xe},e.set=ke,e.delete=Ae,e.nextTick=Qe,e.observable=function(e){return Ce(e),e},e.options=Object.create(null),I.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,A(e.options.components,Nn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=k(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=De(this.options,e),this}}(e),xn(e),function(e){I.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&s(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(Cn),Object.defineProperty(Cn.prototype,"$isServer",{get:te}),Object.defineProperty(Cn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Cn,"FunctionalRenderContext",{value:Et}),Cn.version="2.6.14";var En=p("style,class"),jn=p("input,textarea,option,select,progress"),Dn=function(e,t,n){return"value"===n&&jn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Ln=p("contenteditable,draggable,spellcheck"),In=p("events,caret,typing,plaintext-only"),Mn=function(e,t){return Bn(t)||"false"===t?"false":"contenteditable"===e&&In(t)?t:"true"},Fn=p("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Pn="http://www.w3.org/1999/xlink",Rn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Hn=function(e){return Rn(e)?e.slice(6,e.length):""},Bn=function(e){return null==e||!1===e};function Un(e){for(var t=e.data,r=e,i=e;n(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=Vn(i.data,t));for(;n(r=r.parent);)r&&r.data&&(t=Vn(t,r.data));return function(e,t){if(n(e)||n(t))return zn(e,Kn(t));return""}(t.staticClass,t.class)}function Vn(e,t){return{staticClass:zn(e.staticClass,t.staticClass),class:n(e.class)?[e.class,t.class]:t.class}}function zn(e,t){return e?t?e+" "+t:e:t||""}function Kn(e){return Array.isArray(e)?function(e){for(var t,r="",i=0,o=e.length;i-1?mr(e,t,n):Fn(t)?Bn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Ln(t)?e.setAttribute(t,Mn(t,n)):Rn(t)?Bn(n)?e.removeAttributeNS(Pn,Hn(t)):e.setAttributeNS(Pn,t,n):mr(e,t,n)}function mr(e,t,n){if(Bn(n))e.removeAttribute(t);else{if(q&&!W&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var yr={create:vr,update:vr};function gr(e,r){var i=r.elm,o=r.data,a=e.data;if(!(t(o.staticClass)&&t(o.class)&&(t(a)||t(a.staticClass)&&t(a.class)))){var s=Un(r),c=i._transitionClasses;n(c)&&(s=zn(s,Kn(c))),s!==i._prevClass&&(i.setAttribute("class",s),i._prevClass=s)}}var _r,br,$r,wr,Cr,xr,kr={create:gr,update:gr},Ar=/[\w).+\-_$\]]/;function Or(e){var t,n,r,i,o,a=!1,s=!1,c=!1,u=!1,l=0,f=0,p=0,d=0;for(r=0;r=0&&" "===(h=e.charAt(v));v--);h&&Ar.test(h)||(u=!0)}}else void 0===i?(d=r+1,i=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==d&&m(),o)for(r=0;r-1?{exp:e.slice(0,wr),key:'"'+e.slice(wr+1)+'"'}:{exp:e,key:null};br=e,wr=Cr=xr=0;for(;!zr();)Kr($r=Vr())?qr($r):91===$r&&Jr($r);return{exp:e.slice(0,Cr),key:e.slice(Cr+1,xr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Vr(){return br.charCodeAt(++wr)}function zr(){return wr>=_r}function Kr(e){return 34===e||39===e}function Jr(e){var t=1;for(Cr=wr;!zr();)if(Kr(e=Vr()))qr(e);else if(91===e&&t++,93===e&&t--,0===t){xr=wr;break}}function qr(e){for(var t=e;!zr()&&(e=Vr())!==t;);}var Wr,Zr="__r",Gr="__c";function Xr(e,t,n){var r=Wr;return function i(){null!==t.apply(null,arguments)&&ei(e,i,n,r)}}var Yr=Ke&&!(X&&Number(X[1])<=53);function Qr(e,t,n,r){if(Yr){var i=sn,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Wr.addEventListener(e,t,Q?{capture:n,passive:r}:n)}function ei(e,t,n,r){(r||Wr).removeEventListener(e,t._wrapper||t,n)}function ti(e,r){if(!t(e.data.on)||!t(r.data.on)){var i=r.data.on||{},o=e.data.on||{};Wr=r.elm,function(e){if(n(e[Zr])){var t=q?"change":"input";e[t]=[].concat(e[Zr],e[t]||[]),delete e[Zr]}n(e[Gr])&&(e.change=[].concat(e[Gr],e.change||[]),delete e[Gr])}(i),it(i,o,Qr,ei,Xr,r.context),Wr=void 0}}var ni,ri={create:ti,update:ti};function ii(e,r){if(!t(e.data.domProps)||!t(r.data.domProps)){var i,o,a=r.elm,s=e.data.domProps||{},c=r.data.domProps||{};for(i in n(c.__ob__)&&(c=r.data.domProps=A({},c)),s)i in c||(a[i]="");for(i in c){if(o=c[i],"textContent"===i||"innerHTML"===i){if(r.children&&(r.children.length=0),o===s[i])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===i&&"PROGRESS"!==a.tagName){a._value=o;var u=t(o)?"":String(o);oi(a,u)&&(a.value=u)}else if("innerHTML"===i&&Wn(a.tagName)&&t(a.innerHTML)){(ni=ni||document.createElement("div")).innerHTML=""+o+"";for(var l=ni.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(o!==s[i])try{a[i]=o}catch(e){}}}}function oi(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var r=e.value,i=e._vModifiers;if(n(i)){if(i.number)return f(r)!==f(t);if(i.trim)return r.trim()!==t.trim()}return r!==t}(e,t))}var ai={create:ii,update:ii},si=g(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function ci(e){var t=ui(e.style);return e.staticStyle?A(e.staticStyle,t):t}function ui(e){return Array.isArray(e)?O(e):"string"==typeof e?si(e):e}var li,fi=/^--/,pi=/\s*!important$/,di=function(e,t,n){if(fi.test(t))e.style.setProperty(t,n);else if(pi.test(n))e.style.setProperty(C(t),n.replace(pi,""),"important");else{var r=hi(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(gi).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function bi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(gi).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function $i(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&A(t,wi(e.name||"v")),A(t,e),t}return"string"==typeof e?wi(e):void 0}}var wi=g(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),Ci=V&&!W,xi="transition",ki="animation",Ai="transition",Oi="transitionend",Si="animation",Ti="animationend";Ci&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ai="WebkitTransition",Oi="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Si="WebkitAnimation",Ti="webkitAnimationEnd"));var Ni=V?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ei(e){Ni(function(){Ni(e)})}function ji(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),_i(e,t))}function Di(e,t){e._transitionClasses&&h(e._transitionClasses,t),bi(e,t)}function Li(e,t,n){var r=Mi(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===xi?Oi:Ti,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout(function(){c0&&(n=xi,l=a,f=o.length):t===ki?u>0&&(n=ki,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?xi:ki:null)?n===xi?o.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===xi&&Ii.test(r[Ai+"Property"])}}function Fi(e,t){for(;e.length1}function Vi(e,t){!0!==t.data.show&&Ri(t)}var zi=function(e){var o,a,s={},c=e.modules,u=e.nodeOps;for(o=0;ov?_(e,t(i[y+1])?null:i[y+1].elm,i,d,y,o):d>y&&$(r,p,v)}(p,h,y,o,l):n(y)?(n(e.text)&&u.setTextContent(p,""),_(p,null,y,0,y.length-1,o)):n(h)?$(h,0,h.length-1):n(e.text)&&u.setTextContent(p,""):e.text!==i.text&&u.setTextContent(p,i.text),n(v)&&n(d=v.hook)&&n(d=d.postpatch)&&d(e,i)}}}function k(e,t,i){if(r(i)&&n(e.parent))e.parent.data.pendingInsert=t;else for(var o=0;o-1,a.selected!==o&&(a.selected=o);else if(E(Zi(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Wi(e,t){return t.every(function(t){return!E(t,e)})}function Zi(e){return"_value"in e?e._value:e.value}function Gi(e){e.target.composing=!0}function Xi(e){e.target.composing&&(e.target.composing=!1,Yi(e.target,"input"))}function Yi(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Qi(e){return!e.componentInstance||e.data&&e.data.transition?e:Qi(e.componentInstance._vnode)}var eo={model:Ki,show:{bind:function(e,t,n){var r=t.value,i=(n=Qi(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Ri(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Qi(n)).data&&n.data.transition?(n.data.show=!0,r?Ri(n,function(){e.style.display=e.__vOriginalDisplay}):Hi(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},to={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function no(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?no(zt(t.children)):e}function ro(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[b(o)]=i[o];return t}function io(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var oo=function(e){return e.tag||pt(e)},ao=function(e){return"show"===e.name},so={name:"transition",props:to,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(oo)).length){var r=this.mode,o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var a=no(o);if(!a)return o;if(this._leaving)return io(e,o);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:i(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var c=(a.data||(a.data={})).transition=ro(this),u=this._vnode,l=no(u);if(a.data.directives&&a.data.directives.some(ao)&&(a.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(a,l)&&!pt(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=A({},c);if("out-in"===r)return this._leaving=!0,ot(f,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),io(e,o);if("in-out"===r){if(pt(a))return u;var p,d=function(){p()};ot(c,"afterEnter",d),ot(c,"enterCancelled",d),ot(f,"delayLeave",function(e){p=e})}}return o}}},co=A({tag:String,moveClass:String},to);function uo(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function lo(e){e.data.newPos=e.elm.getBoundingClientRect()}function fo(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete co.mode;var po={Transition:so,TransitionGroup:{props:co,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Gt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=ro(this),s=0;s-1?Xn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Xn[e]=/HTMLUnknownElement/.test(t.toString())},A(Cn.options.directives,eo),A(Cn.options.components,po),Cn.prototype.__patch__=V?zi:S,Cn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=ve),Qt(e,"beforeMount"),r=function(){e._update(e._render(),n)},new pn(e,r,S,{before:function(){e._isMounted&&!e._isDestroyed&&Qt(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Qt(e,"mounted")),e}(this,e=e&&V?Qn(e):void 0,t)},V&&setTimeout(function(){F.devtools&&ne&&ne.emit("init",Cn)},0);var vo=/\{\{((?:.|\r?\n)+?)\}\}/g,ho=/[-.*+?^${}()|[\]\/\\]/g,mo=g(function(e){var t=e[0].replace(ho,"\\$&"),n=e[1].replace(ho,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});var yo={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Pr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Fr(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var go,_o={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Pr(e,"style");n&&(e.staticStyle=JSON.stringify(si(n)));var r=Fr(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},bo=function(e){return(go=go||document.createElement("div")).innerHTML=e,go.textContent},$o=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),wo=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Co=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),xo=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ko=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ao="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+P.source+"]*",Oo="((?:"+Ao+"\\:)?"+Ao+")",So=new RegExp("^<"+Oo),To=/^\s*(\/?)>/,No=new RegExp("^<\\/"+Oo+"[^>]*>"),Eo=/^]+>/i,jo=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Fo=/&(?:lt|gt|quot|amp|#39);/g,Po=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Ro=p("pre,textarea",!0),Ho=function(e,t){return e&&Ro(e)&&"\n"===t[0]};function Bo(e,t){var n=t?Po:Fo;return e.replace(n,function(e){return Mo[e]})}var Uo,Vo,zo,Ko,Jo,qo,Wo,Zo,Go=/^@|^v-on:/,Xo=/^v-|^@|^:|^#/,Yo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Qo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ea=/^\(|\)$/g,ta=/^\[.*\]$/,na=/:(.*)$/,ra=/^:|^\.|^v-bind:/,ia=/\.[^.\]]+(?=[^\]]*$)/g,oa=/^v-slot(:|$)|^#/,aa=/[\r\n]/,sa=/[ \f\t\r\n]+/g,ca=g(bo),ua="_empty_";function la(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:ya(t),rawAttrsMap:{},parent:n,children:[]}}function fa(e,t){Uo=t.warn||Tr,qo=t.isPreTag||T,Wo=t.mustUseProp||T,Zo=t.getTagNamespace||T;t.isReservedTag;zo=Nr(t.modules,"transformNode"),Ko=Nr(t.modules,"preTransformNode"),Jo=Nr(t.modules,"postTransformNode"),Vo=t.delimiters;var n,r,i=[],o=!1!==t.preserveWhitespace,a=t.whitespace,s=!1,c=!1;function u(e){if(l(e),s||e.processed||(e=pa(e,t)),i.length||e===n||n.if&&(e.elseif||e.else)&&va(n,{exp:e.elseif,block:e}),r&&!e.forbidden)if(e.elseif||e.else)a=e,(u=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];e.pop()}}(r.children))&&u.if&&va(u,{exp:a.elseif,block:a});else{if(e.slotScope){var o=e.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[o]=e}r.children.push(e),e.parent=r}var a,u;e.children=e.children.filter(function(e){return!e.slotScope}),l(e),e.pre&&(s=!1),qo(e.tag)&&(c=!1);for(var f=0;f]*>)","i")),p=e.replace(f,function(e,n,r){return u=r.length,Lo(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),Ho(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});c+=e.length-p.length,e=p,A(l,c-u,c)}else{var d=e.indexOf("<");if(0===d){if(jo.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),C(v+3);continue}}if(Do.test(e)){var h=e.indexOf("]>");if(h>=0){C(h+2);continue}}var m=e.match(Eo);if(m){C(m[0].length);continue}var y=e.match(No);if(y){var g=c;C(y[0].length),A(y[1],g,c);continue}var _=x();if(_){k(_),Ho(_.tagName,e)&&C(1);continue}}var b=void 0,$=void 0,w=void 0;if(d>=0){for($=e.slice(d);!(No.test($)||So.test($)||jo.test($)||Do.test($)||(w=$.indexOf("<",1))<0);)d+=w,$=e.slice(d);b=e.substring(0,d)}d<0&&(b=e),b&&C(b.length),t.chars&&b&&t.chars(b,c-b.length,c)}if(e===n){t.chars&&t.chars(e);break}}function C(t){c+=t,e=e.substring(t)}function x(){var t=e.match(So);if(t){var n,r,i={tagName:t[1],attrs:[],start:c};for(C(t[0].length);!(n=e.match(To))&&(r=e.match(ko)||e.match(xo));)r.start=c,C(r[0].length),r.end=c,i.attrs.push(r);if(n)return i.unarySlash=n[1],C(n[0].length),i.end=c,i}}function k(e){var n=e.tagName,c=e.unarySlash;o&&("p"===r&&Co(n)&&A(r),s(n)&&r===n&&A(n));for(var u=a(n)||!!c,l=e.attrs.length,f=new Array(l),p=0;p=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)t.end&&t.end(i[u].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}A()}(e,{warn:Uo,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,a,l,f){var p=r&&r.ns||Zo(e);q&&"svg"===p&&(o=function(e){for(var t=[],n=0;nc&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var u=Or(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Mr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Ur(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Ur(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Ur(t,"$$c")+"}",null,!0)}(e,r,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=Fr(e,"value")||"null";Er(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),Mr(e,"change",Ur(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?Zr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=Ur(t,l);c&&(f="if($event.target.composing)return;"+f),Er(e,"value","("+t+")"),Mr(e,u,f,null,!0),(s||a)&&Mr(e,"blur","$forceUpdate()")}(e,r,i);else if(!F.isReservedTag(o))return Br(e,r,i),!1;return!0},text:function(e,t){t.value&&Er(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Er(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:$o,mustUseProp:Dn,canBeLeftOpenTag:wo,isReservedTag:Zn,getTagNamespace:Gn,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}($a)},ka=g(function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});function Aa(e,t){e&&(wa=ka(t.staticKeys||""),Ca=t.isReservedTag||T,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||d(e.tag)||!Ca(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(wa)))}(t);if(1===t.type){if(!Ca(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,Sa=/\([^)]*?\);*$/,Ta=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Na={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ea={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},ja=function(e){return"if("+e+")return null;"},Da={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ja("$event.target !== $event.currentTarget"),ctrl:ja("!$event.ctrlKey"),shift:ja("!$event.shiftKey"),alt:ja("!$event.altKey"),meta:ja("!$event.metaKey"),left:ja("'button' in $event && $event.button !== 0"),middle:ja("'button' in $event && $event.button !== 1"),right:ja("'button' in $event && $event.button !== 2")};function La(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=Ia(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Ia(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return Ia(e)}).join(",")+"]";var t=Ta.test(e.value),n=Oa.test(e.value),r=Ta.test(e.value.replace(Sa,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(Da[s])o+=Da[s],Na[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=ja(["ctrl","shift","alt","meta"].filter(function(e){return!c[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ma).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(t?"return "+e.value+".apply(null, arguments)":n?"return ("+e.value+").apply(null, arguments)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Ma(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Na[e],r=Ea[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Fa={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:S},Pa=function(e){this.options=e,this.warn=e.warn||Tr,this.transforms=Nr(e.modules,"transformCode"),this.dataGenFns=Nr(e.modules,"genData"),this.directives=A(A({},Fa),e.directives);var t=e.isReservedTag||T;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ra(e,t){var n=new Pa(t);return{render:"with(this){return "+(e?"script"===e.tag?"null":Ha(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ha(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ba(e,t);if(e.once&&!e.onceProcessed)return Ua(e,t);if(e.for&&!e.forProcessed)return za(e,t);if(e.if&&!e.ifProcessed)return Va(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=Wa(e,t),i="_t("+n+(r?",function(){return "+r+"}":""),o=e.attrs||e.dynamicAttrs?Xa((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:b(e.name),value:e.value,dynamic:e.dynamic}})):null,a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:Wa(t,n,!0);return"_c("+e+","+Ka(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Ka(e,t));var i=e.inlineTemplate?null:Wa(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];if(n&&1===n.type){var r=Ra(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Xa(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ja(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ja))}function qa(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Va(e,t,qa,"null");if(e.for&&!e.forProcessed)return za(e,t,qa);var r=e.slotScope===ua?"":String(e.slotScope),i="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(Wa(e,t)||"undefined")+":undefined":Wa(e,t)||"undefined":Ha(e,t))+"}",o=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+o+"}"}function Wa(e,t,n,r,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(r||Ha)(a,t)+s}var c=n?function(e,t){for(var n=0,r=0;r':'
',ns.innerHTML.indexOf(" ")>0}var as=!!V&&os(!1),ss=!!V&&os(!0),cs=g(function(e){var t=Qn(e);return t&&t.innerHTML}),us=Cn.prototype.$mount;return Cn.prototype.$mount=function(e,t){if((e=e&&Qn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=cs(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){var i=is(r,{outputSourceRange:!1,shouldDecodeNewlines:as,shouldDecodeNewlinesForHref:ss,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return us.call(this,e,t)},Cn.compile=is,Cn}); \ No newline at end of file diff --git a/resources/[standalone]/connectqueue/README.md b/resources/[standalone]/connectqueue/README.md new file mode 100644 index 0000000..1522d7c --- /dev/null +++ b/resources/[standalone]/connectqueue/README.md @@ -0,0 +1,95 @@ +# ConnectQueue +--- +Easy to use queue system for FiveM with: +- Simple API +- Priority System +- Config + - Ability for whitelist only + - Require steam + - Language options + +**Please report any bugs on the release thread [Here](https://forum.fivem.net/t/alpha-connectqueue-a-server-queue-system-fxs/22228) or through [GitHub](https://github.com/Nick78111/ConnectQueue/issues).** + +## How to install +--- +- Drop the folder inside your resources folder. +- Add `start connectqueue` inside your server.cfg. - *Preferrably at the top* +- Set convars to your liking. +- Open `connectqueue/server/sv_queue_config.lua` and edit to your liking. +- Renaming the resource may cause problems. + +## ConVars +--- + set sv_debugqueue true # prints debug messages to console + set sv_displayqueue true # shows queue count in the server name '[count] server name' + +## How to use / Examples +--- +To use the API add `server_script "@connectqueue/connectqueue.lua"` at the top of the `__resource.lua` file in question. +I would also suggest adding `dependency "connectqueue"` to it aswell. +You may now use any of the functions below, anywhere in that resource. + +### OnReady +This is called when the queue functions are ready to be used. +```Lua + Queue.OnReady(function() + print("HI") + end) +``` +All of the functions below must be called **AFTER** the queue is ready. + +### OnJoin +This is called when a player tries to join the server. +Calling `allow` with no arguments will let them through. +Calling `allow` with a string will prevent them from joining with the given message. +`allow` must be called or the player will hang on connecting... +```Lua +Queue.OnJoin(function(source, allow) + allow("No, you can't join") +end) +``` + +## AddPriority +Call this to add an identifier to the priority list. +The integer is how much power they have over other users with priority. +This function can take a table of ids or individually. +```Lua +-- individual +Queue.AddPriority("STEAM_0:1:33459672", 100) +Queue.AddPriority("steam:110000103fd1bb1", 10) +Queue.AddPriority("ip:127.0.0.1", 25) + +-- table +local prioritize = { + ["STEAM_0:1:33459672"] = 100, + ["steam:110000103fd1bb1"] = 10, + ["ip:127.0.0.1"] = 25, +} +Queue.AddPriority(prioritize) +``` + +## RemovePriority +Removes priority from a user. +```Lua +Queue.RemovePriority("STEAM_0:1:33459672") +``` + +## IsReady +Will return whether or not the queue's exports are ready to be called. +```Lua +print(Queue.IsReady()) +``` + +## Other Queue Functions +You can call every queue function within sh_queue.lua. +```Lua +local ids = Queue.Exports:GetIds(src) + +-- sets the player to position 1 in queue +Queue.Exports:SetPos(ids, 1) +-- returns whether or not the player has any priority +Queue.Exports:IsPriority(ids) +--- returns size of queue +Queue.Exports:GetSize() +-- plus many more... +``` \ No newline at end of file diff --git a/resources/[standalone]/connectqueue/connectqueue.lua b/resources/[standalone]/connectqueue/connectqueue.lua new file mode 100644 index 0000000..02cb5cf --- /dev/null +++ b/resources/[standalone]/connectqueue/connectqueue.lua @@ -0,0 +1,62 @@ +Queue = {} +Queue.Ready = false +Queue.Exports = nil +Queue.ReadyCbs = {} +Queue.CurResource = GetCurrentResourceName() + +if Queue.CurResource == "connectqueue" then return end + +function Queue.OnReady(cb) + if not cb then return end + if Queue.IsReady() then cb() return end + table.insert(Queue.ReadyCbs, cb) +end + +function Queue.OnJoin(cb) + if not cb then return end + Queue.Exports:OnJoin(cb, Queue.CurResource) +end + +function Queue.AddPriority(id, power, temp) + if not Queue.IsReady() then return end + Queue.Exports:AddPriority(id, power, temp) +end + +function Queue.RemovePriority(id) + if not Queue.IsReady() then return end + Queue.Exports:RemovePriority(id) +end + +function Queue.IsReady() + return Queue.Ready +end + +function Queue.LoadExports() + Queue.Exports = exports.connectqueue:GetQueueExports() + Queue.Ready = true + Queue.ReadyCallbacks() +end + +function Queue.ReadyCallbacks() + if not Queue.IsReady() then return end + for _, cb in ipairs(Queue.ReadyCbs) do + cb() + end +end + +AddEventHandler("onResourceStart", function(resource) + if resource == "connectqueue" then + while GetResourceState(resource) ~= "started" do Citizen.Wait(0) end + Citizen.Wait(1) + Queue.LoadExports() + end +end) + +AddEventHandler("onResourceStop", function(resource) + if resource == "connectqueue" then + Queue.Ready = false + Queue.Exports = nil + end +end) + +SetTimeout(1, function() Queue.LoadExports() end) \ No newline at end of file diff --git a/resources/[standalone]/connectqueue/fxmanifest.lua b/resources/[standalone]/connectqueue/fxmanifest.lua new file mode 100644 index 0000000..2598f9c --- /dev/null +++ b/resources/[standalone]/connectqueue/fxmanifest.lua @@ -0,0 +1,8 @@ +fx_version 'cerulean' +game 'common' + +server_script "server/sv_queue_config.lua" +server_script "connectqueue.lua" + +server_script "shared/sh_queue.lua" +client_script "shared/sh_queue.lua" diff --git a/resources/[standalone]/connectqueue/server/sv_queue_config.lua b/resources/[standalone]/connectqueue/server/sv_queue_config.lua new file mode 100644 index 0000000..4217a60 --- /dev/null +++ b/resources/[standalone]/connectqueue/server/sv_queue_config.lua @@ -0,0 +1,61 @@ +Config = {} + +-- priority list can be any identifier. (hex steamid, steamid32, ip) Integer = power over other people with priority +-- a lot of the steamid converting websites are broken rn and give you the wrong steamid. I use https://steamid.xyz/ with no problems. +-- you can also give priority through the API, read the examples/readme. +Config.Priority = { + ["STEAM_0:1:0000####"] = 1, + ["steam:110000######"] = 25, + ["ip:127.0.0.0"] = 85 +} + +-- require people to run steam +Config.RequireSteam = true + +-- "whitelist" only server +Config.PriorityOnly = false + +-- disables hardcap, should keep this true +Config.DisableHardCap = true + +-- will remove players from connecting if they don't load within: __ seconds; May need to increase this if you have a lot of downloads. +-- i have yet to find an easy way to determine whether they are still connecting and downloading content or are hanging in the loadscreen. +-- This may cause session provider errors if it is too low because the removed player may still be connecting, and will let the next person through... +-- even if the server is full. 10 minutes should be enough +Config.ConnectTimeOut = 600 + +-- will remove players from queue if the server doesn't recieve a message from them within: __ seconds +Config.QueueTimeOut = 90 + +-- will give players temporary priority when they disconnect and when they start loading in +Config.EnableGrace = false + +-- how much priority power grace time will give +Config.GracePower = 5 + +-- how long grace time lasts in seconds +Config.GraceTime = 480 + +Config.AntiSpam = false +Config.AntiSpamTimer = 30 +Config.PleaseWait = "Vent venligst %f sekunder. Du bliver automatisk forbundet!" + +-- on resource start, players can join the queue but will not let them join for __ milliseconds +-- this will let the queue settle and lets other resources finish initializing +Config.JoinDelay = 30000 + +-- will show how many people have temporary priority in the connection message +Config.ShowTemp = false + +-- simple localization +Config.Language = { + joining = "\xF0\x9F\x8E\x89Joining...", + connecting = "\xE2\x8F\xB3Forbinder..", + idrr = "\xE2\x9D\x97[Kø] Fejl: Kunne ikke hente nogen af dine id'er, prøv at genstarte.", + err = "\xE2\x9D\x97[Kø] Der skete en fejl", + pos = "\xF0\x9F\x90\x8CDu er nummer %d/%d i køen \xF0\x9F\x95\x9C%s", + connectingerr = "\xE2\x9D\x97[Kø] Fejl: Fejl ved tilføjelse til forbindelseslisten.", + timedout = "\xE2\x9D\x97[Kø] Fejl: Timed out?", + wlonly = "\xE2\x9D\x97[Kø] Du skal være whitelisted for at joine denne server.", + steam = "\xE2\x9D\x97 [Kø] Fejl: Steam skal være startet" +} diff --git a/resources/[standalone]/connectqueue/shared/sh_queue.lua b/resources/[standalone]/connectqueue/shared/sh_queue.lua new file mode 100644 index 0000000..46da742 --- /dev/null +++ b/resources/[standalone]/connectqueue/shared/sh_queue.lua @@ -0,0 +1,883 @@ +if not IsDuplicityVersion() then + Citizen.CreateThread(function() + while true do + Citizen.Wait(0) + if NetworkIsSessionStarted() then + TriggerServerEvent("Queue:playerActivated") + return + end + end + end) + return +end + +local Queue = {} +-- EDIT THESE IN SERVER.CFG + OTHER OPTIONS IN CONFIG.LUA +Queue.MaxPlayers = GetConvarInt("sv_maxclients", 30) +Queue.Debug = GetConvar("sv_debugqueue", "true") == "true" and true or false +Queue.DisplayQueue = GetConvar("sv_displayqueue", "true") == "true" and true or false +Queue.InitHostName = GetConvar("sv_hostname") + + +-- This is needed because msgpack will break when tables are too large +local _Queue = {} +_Queue.QueueList = {} +_Queue.PlayerList = {} +_Queue.PlayerCount = 0 +_Queue.Priority = {} +_Queue.Connecting = {} +_Queue.JoinCbs = {} +_Queue.TempPriority = {} +_Queue.JoinDelay = GetGameTimer() + Config.JoinDelay and Config.JoinDelay or 0 + +local tostring = tostring +local tonumber = tonumber +local ipairs = ipairs +local pairs = pairs +local print = print +local string_len = string.len +local string_sub = string.sub +local string_format = string.format +local string_lower = string.lower +local math_abs = math.abs +local math_floor = math.floor +local math_random = math.random +local os_time = os.time +local table_insert = table.insert +local table_remove = table.remove + +Queue.InitHostName = Queue.InitHostName ~= "default FXServer" and Queue.InitHostName or false + +for id, power in pairs(Config.Priority) do + _Queue.Priority[string_lower(id)] = power +end + +function Queue:DebugPrint(msg) + if Queue.Debug then + msg = "^3QUEUE: ^0" .. tostring(msg) .. "^7" + print(msg) + end +end + +function Queue:HexIdToSteamId(hexId) + local cid = math_floor(tonumber(string_sub(hexId, 7), 16)) + local steam64 = math_floor(tonumber(string_sub( cid, 2))) + local a = steam64 % 2 == 0 and 0 or 1 + local b = math_floor(math_abs(6561197960265728 - steam64 - a) / 2) + local sid = "steam_0:"..a..":"..(a == 1 and b -1 or b) + return sid +end + +function Queue:IsSteamRunning(src) + for _, id in ipairs(GetPlayerIdentifiers(src)) do + if string_sub(id, 1, 5) == "steam" then + return true + end + end + + return false +end + +function Queue:GetPlayerCount() + return _Queue.PlayerCount +end + +function Queue:GetSize() + return #_Queue.QueueList +end + +function Queue:ConnectingSize() + return #_Queue.Connecting +end + +function Queue:GetQueueList() + return _Queue.QueueList +end + +function Queue:GetPriorityList() + return _Queue.Priority +end + +function Queue:GetPlayerList() + return _Queue.PlayerList +end + +function Queue:GetTempPriorityList() + return _Queue.TempPriority +end + +function Queue:GetConnectingList() + return _Queue.Connecting +end + +function Queue:IsInQueue(ids, rtnTbl, bySource, connecting) + local connList = Queue:GetConnectingList() + local queueList = Queue:GetQueueList() + + for genericKey1, genericValue1 in ipairs(connecting and connList or queueList) do + local inQueue = false + + if not bySource then + for genericKey2, genericValue2 in ipairs(genericValue1.ids) do + if inQueue then break end + + for genericKey3, genericValue3 in ipairs(ids) do + if genericValue3 == genericValue2 then inQueue = true break end + end + end + else + inQueue = ids == genericValue1.source + end + + if inQueue then + if rtnTbl then + return genericKey1, connecting and connList[genericKey1] or queueList[genericKey1] + end + + return true + end + end + + return false +end + +function Queue:IsPriority(ids) + local prio = false + local tempPower, tempEnd = Queue:HasTempPriority(ids) + local prioList = Queue:GetPriorityList() + + for _, id in ipairs(ids) do + id = string_lower(id) + + if prioList[id] then prio = prioList[id] break end + + if string_sub(id, 1, 5) == "steam" then + local steamid = Queue:HexIdToSteamId(id) + if prioList[steamid] then prio = prioList[steamid] break end + end + end + + if tempPower or prio then + if tempPower and prio then + return tempPower > prio and tempPower or prio + else + return tempPower or prio + end + end + + return false +end + +function Queue:HasTempPriority(ids) + local tmpPrio = Queue:GetTempPriorityList() + + for _, id in pairs(ids) do + id = string_lower(id) + + if tmpPrio[id] then return tmpPrio[id].power, tmpPrio[id].endTime, id end + + if string_sub(id, 1, 5) == "steam" then + local steamid = Queue:HexIdToSteamId(id) + if tmpPrio[steamid] then return tmpPrio[steamid].power, tmpPrio[steamid].endTime, id end + end + end + + return false +end + +function Queue:AddToQueue(ids, connectTime, name, src, deferrals) + if Queue:IsInQueue(ids) then return end + + local tmp = { + source = src, + ids = ids, + name = name, + priority = Queue:IsPriority(ids) or (src == "debug" and math_random(0, 15)), + timeout = 0, + deferrals = deferrals, + firstconnect = connectTime, + queuetime = function() return (os_time() - connectTime) end + } + + local _pos = false + local queueCount = Queue:GetSize() + 1 + local queueList = Queue:GetQueueList() + + for pos, data in ipairs(queueList) do + if tmp.priority then + if not data.priority then + _pos = pos + else + if tmp.priority > data.priority then + _pos = pos + end + end + + if _pos then + Queue:DebugPrint(string_format("%s[%s] was prioritized and placed %d/%d in queue", tmp.name, ids[1], _pos, queueCount)) + break + end + end + end + + if not _pos then + _pos = Queue:GetSize() + 1 + Queue:DebugPrint(string_format("%s[%s] was placed %d/%d in queue", tmp.name, ids[1], _pos, queueCount)) + end + + table_insert(queueList, _pos, tmp) +end + +function Queue:RemoveFromQueue(ids, bySource, byIndex) + local queueList = Queue:GetQueueList() + + if byIndex then + if queueList[byIndex] then + table_remove(queueList, byIndex) + end + + return + end + + if Queue:IsInQueue(ids, false, bySource) then + local pos, data = Queue:IsInQueue(ids, true, bySource) + table_remove(queueList, pos) + end +end + +function Queue:TempSize() + local count = 0 + + for _pos, data in pairs(Queue:GetQueueList()) do + if Queue:HasTempPriority(data.ids) then count = count +1 end + end + + return count > 0 and count or false +end + +function Queue:IsInConnecting(ids, bySource, refresh) + local inConnecting, tbl = Queue:IsInQueue(ids, refresh and true or false, bySource and true or false, true) + + if not inConnecting then return false end + + if refresh and inConnecting and tbl then + Queue:GetConnectingList()[inConnecting].timeout = 0 + end + + return true +end + +function Queue:RemoveFromConnecting(ids, bySource, byIndex) + local connList = Queue:GetConnectingList() + + if byIndex then + if connList[byIndex] then + table_remove(connList, byIndex) + end + + return + end + + for genericKey1, genericValue1 in ipairs(connList) do + local inConnecting = false + + if not bySource then + for genericKey2, genericValue2 in ipairs(genericValue1.ids) do + if inConnecting then break end + + for genericKey3, genericValue3 in ipairs(ids) do + if genericValue3 == genericValue2 then inConnecting = true break end + end + end + else + inConnecting = ids == genericValue1.source + end + + if inConnecting then + table_remove(connList, genericKey1) + return true + end + end + + return false +end + +function Queue:AddToConnecting(ids, ignorePos, autoRemove, done) + local function remove() + if not autoRemove then return end + + done(Config.Language.connectingerr) + Queue:RemoveFromConnecting(ids) + Queue:RemoveFromQueue(ids) + Queue:DebugPrint("Player could not be added to the connecting list") + end + + local connList = Queue:GetConnectingList() + + if Queue:ConnectingSize() + Queue:GetPlayerCount() + 1 > Queue.MaxPlayers then remove() return false end + + if ids[1] == "debug" then + table_insert(connList, {source = ids[1], ids = ids, name = ids[1], firstconnect = ids[1], priority = ids[1], timeout = 0}) + return true + end + + if Queue:IsInConnecting(ids) then Queue:RemoveFromConnecting(ids) end + + local pos, data = Queue:IsInQueue(ids, true) + if not ignorePos and (not pos or pos > 1) then remove() return false end + + table_insert(connList, data) + Queue:RemoveFromQueue(ids) + + return true +end + +function Queue:GetIds(src) + local ids = GetPlayerIdentifiers(src) + local ip = GetPlayerEndpoint(src) + + ids = (ids and ids[1]) and ids or (ip and {"ip:" .. ip} or false) + ids = ids ~= nil and ids or false + + if ids and #ids > 1 then + for k, id in ipairs(ids) do + if string_sub(id, 1, 3) == "ip:" and not Queue:IsPriority({id}) then table_remove(ids, k) end + end + end + + return ids +end + +function Queue:AddPriority(id, power, temp) + if not id then return false end + + if type(id) == "table" then + for _id, power in pairs(id) do + if _id and type(_id) == "string" and power and type(power) == "number" then + Queue:GetPriorityList()[_id] = power + else + Queue:DebugPrint("Error adding a priority id, invalid data passed") + return false + end + end + + return true + end + + power = (power and type(power) == "number") and power or 10 + + if temp then + local tempPower, tempEnd, tempId = Queue:HasTempPriority({id}) + id = tempId or id + + Queue:GetTempPriorityList()[string_lower(id)] = {power = power, endTime = os_time() + temp} + else + Queue:GetPriorityList()[string_lower(id)] = power + end + + return true +end + +function Queue:RemovePriority(id) + if not id then return false end + id = string_lower(id) + Queue:GetPriorityList()[id] = nil + return true +end + +function Queue:UpdatePosData(src, ids, deferrals) + local pos, data = Queue:IsInQueue(ids, true) + data.source = src + data.ids = ids + data.timeout = 0 + data.firstconnect = os_time() + data.name = GetPlayerName(src) + data.deferrals = deferrals +end + +function Queue:NotFull(firstJoin) + local canJoin = Queue:GetPlayerCount() + Queue:ConnectingSize() < Queue.MaxPlayers + if firstJoin and canJoin then canJoin = Queue:GetSize() <= 1 end + return canJoin +end + +function Queue:SetPos(ids, newPos) + if newPos <= 0 or newPos > Queue:GetSize() then return false end + + local pos, data = Queue:IsInQueue(ids, true) + local queueList = Queue:GetQueueList() + + table_remove(queueList, pos) + table_insert(queueList, newPos, data) +end + +function Queue:CanJoin(src, cb) + local allow = true + + for _, data in ipairs(_Queue.JoinCbs) do + local await = true + + data.func(src, function(reason) + if reason and type(reason) == "string" then allow = false cb(reason) end + await = false + end) + + while await do Citizen.Wait(0) end + + if not allow then return end + end + + if allow then cb(false) end +end + +function Queue:OnJoin(cb, resource) + if not cb then return end + + local tmp = {resource = resource, func = cb} + table_insert(_Queue.JoinCbs, tmp) +end + +exports("GetQueueExports", function() + return Queue +end) + +local function playerConnect(name, setKickReason, deferrals) + local src = source + local ids = Queue:GetIds(src) + local name = GetPlayerName(src) + local connectTime = os_time() + local connecting = true + + deferrals.defer() + + if Config.AntiSpam then + for i=Config.AntiSpamTimer,0,-1 do + deferrals.update(string.format(Config.PleaseWait, i)) + Citizen.Wait(1000) + end + end + + Citizen.CreateThread(function() + while connecting do + Citizen.Wait(100) + if not connecting then return end + deferrals.update(Config.Language.connecting) + end + end) + + Citizen.Wait(500) + + local function done(msg, _deferrals) + connecting = false + + local deferrals = _deferrals or deferrals + + if msg then deferrals.update(tostring(msg) or "") end + + Citizen.Wait(500) + + if not msg then + deferrals.done() + if Config.EnableGrace then Queue:AddPriority(ids[1], Config.GracePower, Config.GraceTime) end + else + deferrals.done(tostring(msg) or "") CancelEvent() + end + + return + end + + local function update(msg, _deferrals) + local deferrals = _deferrals or deferrals + connecting = false + deferrals.update(tostring(msg) or "") + end + + if not ids then + -- prevent joining + done(Config.Language.idrr) + CancelEvent() + Queue:DebugPrint("Dropped " .. name .. ", couldn't retrieve any of their id's") + return + end + + if Config.RequireSteam and not Queue:IsSteamRunning(src) then + -- prevent joining + done(Config.Language.steam) + CancelEvent() + return + end + + local allow + + Queue:CanJoin(src, function(reason) + if reason == nil or allow ~= nil then return end + if reason == false or #_Queue.JoinCbs <= 0 then allow = true return end + + if reason then + -- prevent joining + allow = false + done(reason and tostring(reason) or "You were blocked from joining") + Queue:RemoveFromQueue(ids) + Queue:RemoveFromConnecting(ids) + Queue:DebugPrint(string_format("%s[%s] was blocked from joining; Reason: %s", name, ids[1], reason)) + CancelEvent() + return + end + + allow = true + end) + + while allow == nil do Citizen.Wait(0) end + if not allow then return end + + if Config.PriorityOnly and not Queue:IsPriority(ids) then done(Config.Language.wlonly) return end + + local rejoined = false + + if Queue:IsInConnecting(ids, false, true) then + Queue:RemoveFromConnecting(ids) + + if Queue:NotFull() then + -- let them in the server + + if not Queue:IsInQueue(ids) then + Queue:AddToQueue(ids, connectTime, name, src, deferrals) + end + + local added = Queue:AddToConnecting(ids, true, true, done) + if not added then CancelEvent() return end + done() + + return + else + rejoined = true + end + end + + if Queue:IsInQueue(ids) then + rejoined = true + Queue:UpdatePosData(src, ids, deferrals) + Queue:DebugPrint(string_format("%s[%s] has rejoined queue after cancelling", name, ids[1])) + else + Queue:AddToQueue(ids, connectTime, name, src, deferrals) + + if rejoined then + Queue:SetPos(ids, 1) + rejoined = false + end + end + + local pos, data = Queue:IsInQueue(ids, true) + + if not pos or not data then + done(Config.Language.err .. " [1]") + + Queue:RemoveFromQueue(ids) + Queue:RemoveFromConnecting(ids) + + CancelEvent() + return + end + + if Queue:NotFull(true) and _Queue.JoinDelay <= GetGameTimer() then + -- let them in the server + local added = Queue:AddToConnecting(ids, true, true, done) + if not added then CancelEvent() return end + + done() + Queue:DebugPrint(name .. "[" .. ids[1] .. "] is loading into the server") + + return + end + + update(string_format(Config.Language.pos .. ((Queue:TempSize() and Config.ShowTemp) and " (" .. Queue:TempSize() .. " temp)" or "00:00:00"), pos, Queue:GetSize(), "")) + + if rejoined then return end + + while true do + Citizen.Wait(500) + + local pos, data = Queue:IsInQueue(ids, true) + + local function remove(msg) + if data then + if msg then + update(msg, data.deferrals) + end + + Queue:RemoveFromQueue(data.source, true) + Queue:RemoveFromConnecting(data.source, true) + else + Queue:RemoveFromQueue(ids) + Queue:RemoveFromConnecting(ids) + end + end + + if not data or not data.deferrals or not data.source or not pos then + remove("[Queue] Removed from queue, queue data invalid :(") + Queue:DebugPrint(tostring(name .. "[" .. ids[1] .. "] was removed from the queue because they had invalid data")) + return + end + + local endPoint = GetPlayerEndpoint(data.source) + if not endPoint then data.timeout = data.timeout + 0.5 else data.timeout = 0 end + + if data.timeout >= Config.QueueTimeOut and os_time() - connectTime > 5 then + remove("[Queue] Removed due to timeout") + Queue:DebugPrint(name .. "[" .. ids[1] .. "] was removed from the queue because they timed out") + return + end + + if pos <= 1 and Queue:NotFull() and _Queue.JoinDelay <= GetGameTimer() then + -- let them in the server + local added = Queue:AddToConnecting(ids) + + update(Config.Language.joining, data.deferrals) + Citizen.Wait(500) + + if not added then + done(Config.Language.connectingerr) + CancelEvent() + return + end + + done(nil, data.deferrals) + + if Config.EnableGrace then Queue:AddPriority(ids[1], Config.GracePower, Config.GraceTime) end + + Queue:RemoveFromQueue(ids) + Queue:DebugPrint(name .. "[" .. ids[1] .. "] is loading into the server") + return + end + + local seconds = data.queuetime() + local qTime = string_format("%02d", math_floor((seconds % 86400) / 3600)) .. ":" .. string_format("%02d", math_floor((seconds % 3600) / 60)) .. ":" .. string_format("%02d", math_floor(seconds % 60)) + + local msg = string_format(Config.Language.pos .. ((Queue:TempSize() and Config.ShowTemp) and " (" .. Queue:TempSize() .. " temp)" or ""), pos, Queue:GetSize(), qTime) + update(msg, data.deferrals) + end +end +AddEventHandler("playerConnecting", playerConnect) + +Citizen.CreateThread(function() + local function remove(data, pos, msg) + if data and data.source then + Queue:RemoveFromQueue(data.source, true) + Queue:RemoveFromConnecting(data.source, true) + elseif pos then + table_remove(Queue:GetQueueList(), pos) + end + end + + while true do + Citizen.Wait(1000) + + local i = 1 + + while i <= Queue:ConnectingSize() do + local data = Queue:GetConnectingList()[i] + + local endPoint = GetPlayerEndpoint(data.source) + + data.timeout = data.timeout + 1 + + if ((data.timeout >= 300 and not endPoint) or data.timeout >= Config.ConnectTimeOut) and data.source ~= "debug" and os_time() - data.firstconnect > 5 then + remove(data) + Queue:DebugPrint(data.name .. "[" .. data.ids[1] .. "] was removed from the connecting queue because they timed out") + else + i = i + 1 + end + end + + for id, data in pairs(Queue:GetTempPriorityList()) do + if os_time() >= data.endTime then + Queue:GetTempPriorityList()[id] = nil + end + end + + Queue.MaxPlayers = GetConvarInt("sv_maxclients", 30) + Queue.Debug = GetConvar("sv_debugqueue", "true") == "true" and true or false + Queue.DisplayQueue = GetConvar("sv_displayqueue", "true") == "true" and true or false + + local qCount = Queue:GetSize() + + if Queue.DisplayQueue then + if Queue.InitHostName then + SetConvar("sv_hostname", (qCount > 0 and "[" .. tostring(qCount) .. "] " or "") .. Queue.InitHostName) + else + Queue.InitHostName = GetConvar("sv_hostname") + Queue.InitHostName = Queue.InitHostName ~= "default FXServer" and Queue.InitHostName or false + end + end + end +end) + +RegisterServerEvent("Queue:playerActivated") +AddEventHandler("Queue:playerActivated", function() + local src = source + local ids = Queue:GetIds(src) + + if not Queue:GetPlayerList()[src] then + _Queue.PlayerCount = Queue:GetPlayerCount() + 1 + Queue:GetPlayerList()[src] = true + Queue:RemoveFromQueue(ids) + Queue:RemoveFromConnecting(ids) + end +end) + +AddEventHandler("playerDropped", function() + local src = source + local ids = Queue:GetIds(src) + + if Queue:GetPlayerList()[src] then + _Queue.PlayerCount = Queue:GetPlayerCount() - 1 + Queue:GetPlayerList()[src] = nil + Queue:RemoveFromQueue(ids) + Queue:RemoveFromConnecting(ids) + if Config.EnableGrace then Queue:AddPriority(ids[1], Config.GracePower, Config.GraceTime) end + end +end) + +AddEventHandler("onResourceStop", function(resource) + if Queue.DisplayQueue and Queue.InitHostName and resource == GetCurrentResourceName() then SetConvar("sv_hostname", Queue.InitHostName) end + + for k, data in ipairs(_Queue.JoinCbs) do + if data.resource == resource then + table_remove(_Queue.JoinCbs, k) + end + end +end) + +if Config.DisableHardCap then + Queue:DebugPrint("^1 [connectqueue] Disabling hardcap ^7") + + AddEventHandler("onResourceStarting", function(resource) + if resource == "hardcap" then CancelEvent() return end + end) + + StopResource("hardcap") +end + +local testAdds = 0 +local commands = {} + +commands.addq = function() + Queue:DebugPrint("ADDED DEBUG QUEUE") + Queue:AddToQueue({"steam:110000103fd1bb1"..testAdds}, os_time(), "TestAdd: " .. testAdds, "debug") + testAdds = testAdds + 1 +end + +commands.removeq = function(args) + args[1] = tonumber(args[1]) + local name = Queue:GetQueueList()[args[1]] and Queue:GetQueueList()[args[1]].name or nil + Queue:RemoveFromQueue(nil, nil, args[1]) + Queue:DebugPrint("REMOVED " .. tostring(name) .. " FROM THE QUEUE") +end + +commands.printq = function() + Queue:DebugPrint("CURRENT QUEUE LIST") + + for pos, data in ipairs(Queue:GetQueueList()) do + Queue:DebugPrint(pos .. ": [src: " .. data.source .. "] " .. data.name .. "[" .. data.ids[1] .. "] | Priority: " .. (tostring(data.priority and data.priority or false)) .. " | Last Msg: " .. (data.source ~= "debug" and GetPlayerLastMsg(data.source) or "debug") .. " | Timeout: " .. data.timeout .. " | Queue Time: " .. data.queuetime() .. " Seconds") + end +end + +commands.addc = function() + Queue:AddToConnecting({"debug"}) + Queue:DebugPrint("ADDED DEBUG CONNECTING QUEUE") +end + +commands.removec = function(args) + args[1] = tonumber(args[1]) + local name = Queue:GetConnectingList()[args[1]] and Queue:GetConnectingList()[args[1]].name or nil + Queue:RemoveFromConnecting(nil, nil, args[1]) + Queue:DebugPrint("REMOVED " .. tostring(name) .. " FROM THE CONNECTING LIST") +end + +commands.printc = function() + Queue:DebugPrint("CURRENT CONNECTING LIST") + + for pos, data in ipairs(Queue:GetConnectingList()) do + Queue:DebugPrint(pos .. ": [src: " .. data.source .. "] " .. data.name .. "[" .. data.ids[1] .. "] | Priority: " .. (tostring(data.priority and data.priority or false)) .. " | Last Msg: " .. (data.source ~= "debug" and GetPlayerLastMsg(data.source) or "debug") .. " | Timeout: " .. data.timeout) + end +end + +commands.printl = function() + for k, joined in pairs(Queue:GetPlayerList()) do + Queue:DebugPrint(k .. ": " .. tostring(joined)) + end +end + +commands.printp = function() + Queue:DebugPrint("CURRENT PRIORITY LIST") + + for id, power in pairs(Queue:GetPriorityList()) do + Queue:DebugPrint(id .. ": " .. tostring(power)) + end +end + +commands.printcount = function() + Queue:DebugPrint("Player Count: " .. Queue:GetPlayerCount()) +end + +commands.printtp = function() + Queue:DebugPrint("CURRENT TEMP PRIORITY LIST") + + for k, data in pairs(Queue:GetTempPriorityList()) do + Queue:DebugPrint(k .. ": Power: " .. tostring(data.power) .. " | EndTime: " .. tostring(data.endTime) .. " | CurTime: " .. tostring(os_time())) + end +end + +commands.removetp = function(args) + if not args[1] then return end + + Queue:GetTempPriorityList()[args[1]] = nil + Queue:DebugPrint("REMOVED " .. args[1] .. " FROM THE TEMP PRIORITY LIST") +end + +commands.setpos = function(args) + if not args[1] or not args[2] then return end + + args[1], args[2] = tonumber(args[1]), tonumber(args[2]) + + local data = Queue:GetQueueList()[args[1]] + + Queue:SetPos(data.ids, args[2]) + + Queue:DebugPrint("SET " .. data.name .. "'s QUEUE POSITION TO: " .. args[2]) +end + +commands.setdata = function(args) + if not args[1] or not args[2] or not args[3] then return end + args[1] = tonumber(args[1]) + + local num = tonumber(args[3]) + local data = Queue:GetQueueList()[args[1]] + + if args[2] == "queuetime" then + local time = data.queuetime() + local dif = time - num + + data.firstconnect = data.firstconnect + dif + data.queuetime = function() return (os_time() - data.firstconnect) end + else + data[args[2]] = num and num or args[3] + end + + Queue:DebugPrint("SET " .. data.name .. "'s " .. args[2] .. " DATA TO " .. args[3]) +end + +commands.commands = function() + for cmd, func in pairs(commands) do + Queue:DebugPrint(tostring(cmd)) + end +end + +AddEventHandler("rconCommand", function(command, args) + if command == "queue" and commands[args[1]] then + command = args[1] + table_remove(args, 1) + commands[command](args) + CancelEvent() + end +end) diff --git a/resources/[standalone]/dpclothingui/Client/Clothing.lua b/resources/[standalone]/dpclothingui/Client/Clothing.lua new file mode 100644 index 0000000..abb5b14 --- /dev/null +++ b/resources/[standalone]/dpclothingui/Client/Clothing.lua @@ -0,0 +1,409 @@ +--[[ + + These are the tables for all the info we will need when dealing with the functions. + + ["Handle"] = { First we name it, this is the string that will be put in the command to be used with ToggleClothing, or ToggleProps. + Drawable = 11, Then we assign its drawable/prop id. + Table = Variations.Jackets, Then we assign its table found in Variations, if it has one, alternatively we can do. + Table = { + Standalone = true, + Male = 34, + Female = 35 + }, + Which makes it standalone, this example is for shoes, now when the player does the command it checks if they are currently wearing id 34. + If they are not it takes the drawable off and saves the one they had equipped. + + Emote = { Hey lets do the Emote, Pretty self explanatory. + Dict = "missmic4", This is the dict of the emote. + Anim = "michael_tux_fidget", Anim of the emote. + Move = 51, The move type of the emote, 51 is upper body only so you can move, 0 does not allow you to move. + Dur = 1500 Duration of the emote. + Alternatively for the props theres a seperate emote for taking off/putting on the prop. + } + }, + +]]-- + +local Drawables = { + ["Top"] = { + Drawable = 11, + Table = { Standalone = true, Male = 15, Female = 15 }, + Emote = { Dict = "missmic4", Anim = "michael_tux_fidget", Move = 51, Dur = 1500 } + + }, + ["Gloves"] = { + Drawable = 3, + Table = Variations.Gloves, + Remember = true, + Emote = { Dict = "nmt_3_rcm-10", Anim = "cs_nigel_dual-10", Move = 51, Dur = 1200 } + }, + ["Shoes"] = { + Drawable = 6, + Table = { Standalone = true, Male = 99, Female = 51 }, + Emote = { Dict = "random@domestic", Anim = "pickup_low", Move = 0, Dur = 1200 } + }, + ["Neck"] = { + Drawable = 7, + Table = { Standalone = true, Male = 0, Female = 0 }, + Emote = { Dict = "clothingtie", Anim = "try_tie_positive_a", Move = 51, Dur = 2100 } + }, + ["Vest"] = { + Drawable = 9, + Table = { Standalone = true, Male = 0, Female = 0 }, + Emote = { Dict = "clothingtie", Anim = "try_tie_negative_a", Move = 51, Dur = 1200 } + }, + ["Bag"] = { + Drawable = 5, + Table = { Standalone = true, Male = 0, Female = 0 }, + Emote = { Dict = "anim@heists@ornate_bank@grab_cash", Anim = "intro", Move = 51, Dur = 1600 } + }, + ["Mask"] = { + Drawable = 1, + Table = { Standalone = true, Male = 0, Female = 0 }, + Emote = { Dict = "mp_masks@standard_car@ds@", Anim = "put_on_mask", Move = 51, Dur = 800 } + }, + ["Hair"] = { + Drawable = 2, + Table = Variations.Hair, + Remember = true, + Emote = { Dict = "clothingtie", Anim = "check_out_a", Move = 51, Dur = 2000 } + }, +} + +local Extras = { + ["Shirt"] = { + Drawable = 8, + Table = { + Standalone = true, Male = 15, Female = 15, + -- Extra = { + -- -- { Drawable = 8, Id = 15, Tex = 0, Name = "Extra Undershirt"}, + -- { Drawable = 3, Id = 28, Tex = 0, Name = "Extra Gloves"}, + -- -- { Drawable = 10, Id = 0, Tex = 0, Name = "Extra Decals"}, + -- } + }, + Emote = { Dict = "clothingtie", Anim = "try_tie_negative_a", Move = 51, Dur = 1200 } + }, + ["Pants"] = { + Drawable = 4, + Table = { Standalone = true, Male = 14, Female = 47 }, + Emote = { Dict = "re@construction", Anim = "out_of_breath", Move = 51, Dur = 1300 } + }, +} + +local Props = { + ["Visor"] = { + Prop = 0, + Variants = Variations.Visor, + Emote = { + On = { Dict = "mp_masks@standard_car@ds@", Anim = "put_on_mask", Move = 51, Dur = 600 }, + Off = { Dict = "missheist_agency2ahelmet", Anim = "take_off_helmet_stand", Move = 51, Dur = 1200 } + } + }, + ["Hat"] = { + Prop = 0, + Emote = { + On = { Dict = "mp_masks@standard_car@ds@", Anim = "put_on_mask", Move = 51, Dur = 600 }, + Off = { Dict = "missheist_agency2ahelmet", Anim = "take_off_helmet_stand", Move = 51, Dur = 1200 } + } + }, + ["Glasses"] = { + Prop = 1, + Emote = { + On = { Dict = "clothingspecs", Anim = "take_off", Move = 51, Dur = 1400 }, + Off = { Dict = "clothingspecs", Anim = "take_off", Move = 51, Dur = 1400 } + } + }, + ["Ear"] = { + Prop = 2, + Emote = { + On = { Dict = "mp_cp_stolen_tut", Anim = "b_think", Move = 51, Dur = 900 }, + Off = { Dict = "mp_cp_stolen_tut", Anim = "b_think", Move = 51, Dur = 900 } + } + }, + ["Watch"] = { + Prop = 6, + Emote = { + On = { Dict = "nmt_3_rcm-10", Anim = "cs_nigel_dual-10", Move = 51, Dur = 1200 }, + Off = { Dict = "nmt_3_rcm-10", Anim = "cs_nigel_dual-10", Move = 51, Dur = 1200 } + } + }, + ["Bracelet"] = { + Prop = 7, + Emote = { + On = { Dict = "nmt_3_rcm-10", Anim = "cs_nigel_dual-10", Move = 51, Dur = 1200 }, + Off = { Dict = "nmt_3_rcm-10", Anim = "cs_nigel_dual-10", Move = 51, Dur = 1200 } + } + }, +} + +LastEquipped = {} +Cooldown = false + +local function PlayToggleEmote(e, cb) + local Ped = PlayerPedId() + while not HasAnimDictLoaded(e.Dict) do RequestAnimDict(e.Dict) Wait(100) end + if IsPedInAnyVehicle(Ped) then e.Move = 51 end + TaskPlayAnim(Ped, e.Dict, e.Anim, 3.0, 3.0, e.Dur, e.Move, 0, false, false, false) + local Pause = e.Dur-500 if Pause < 500 then Pause = 500 end + IncurCooldown(Pause) + Wait(Pause) -- Lets wait for the emote to play for a bit then do the callback. + cb() +end + +function ResetClothing() + local Ped = PlayerPedId() + for k,v in pairs(LastEquipped) do + if v then + if v.Ped == Ped then + if v.Drawable then + SendNUIMessage({ + action = 'getallresets', + cloth = k, + }) + SetPedComponentVariation(Ped, v.ID, v.Drawable, v.Texture, 0) + elseif v.Prop then ClearPedProp(Ped, v.ID) SetPedPropIndex(Ped, v.ID, v.Prop, v.Texture, true) + SendNUIMessage({ + action = 'getallresets', + cloth = k, + }) + end + else + print("Skipped "..k.." (Ped Changed)") + SendNUIMessage({ + action = 'getallresets', + cloth = k, + }) + end + end + end + LastEquipped = {} +end + +function ToggleClothing(which, extra) + if Cooldown then return end + + local Toggle = Drawables[which] if extra then Toggle = Extras[which] end + local Ped = PlayerPedId() + local Cur = { -- Lets check what we are currently wearing. + Drawable = GetPedDrawableVariation(Ped, Toggle.Drawable), + ID = Toggle.Drawable, + Ped = Ped, + Texture = GetPedTextureVariation(Ped, Toggle.Drawable), + } + local Gender = IsMpPed(Ped) + if which ~= "Mask" then + if not Gender then Notify(Lang("NotAllowedPed")) return false end -- We cancel the command here if the person is not using a multiplayer model. + end + local Table = Toggle.Table[Gender] + + + + if not Toggle.Table.Standalone then -- "Standalone" is for things that dont require a variant, like the shoes just need to be switched to a specific drawable. Looking back at this i should have planned ahead, but it all works so, meh! + for k,v in pairs(Table) do + if not Toggle.Remember then + if k == Cur.Drawable then + PlayToggleEmote(Toggle.Emote, function() SetPedComponentVariation(Ped, Toggle.Drawable, v, Cur.Texture, 0) end) return true + end + else + if not LastEquipped[which] then + if k == Cur.Drawable then + PlayToggleEmote(Toggle.Emote, function() LastEquipped[which] = Cur SetPedComponentVariation(Ped, Toggle.Drawable, v, Cur.Texture, 0) + SendNUIMessage({ + action = 'update', + cloth = which, + }) + end) return true + end + else + local Last = LastEquipped[which] + PlayToggleEmote(Toggle.Emote, function() SetPedComponentVariation(Ped, Toggle.Drawable, Last.Drawable, Last.Texture, 0) LastEquipped[which] = false + + SendNUIMessage({ + action = 'update2', + cloth = which, + }) + + end) return true + end + end + end + Notify(Lang("NoVariants")) return + else + if not LastEquipped[which] then + + if Cur.Drawable ~= Table then + PlayToggleEmote(Toggle.Emote, function() + LastEquipped[which] = Cur + SetPedComponentVariation(Ped, Toggle.Drawable, Table, 0, 0) + SendNUIMessage({ + action = 'update', + cloth = which, + }) + if Toggle.Table.Extra then + local Extras = Toggle.Table.Extra + for k,v in pairs(Extras) do + local ExtraCur = {Drawable = GetPedDrawableVariation(Ped, v.Drawable), Texture = GetPedTextureVariation(Ped, v.Drawable), Id = v.Drawable} + if v.Drawable ~= ExtraCur.Drawable then + SetPedComponentVariation(Ped, v.Drawable, v.Id, v.Tex, 0) + + LastEquipped[v.Name] = ExtraCur + end + end + end + end) + return true + end + else + local Last = LastEquipped[which] + PlayToggleEmote(Toggle.Emote, function() + SetPedComponentVariation(Ped, Toggle.Drawable, Last.Drawable, Last.Texture, 0) + SendNUIMessage({ + action = 'update2', + cloth = which, + }) + LastEquipped[which] = false + if Toggle.Table.Extra then + local Extras = Toggle.Table.Extra + for k,v in pairs(Extras) do + if LastEquipped[v.Name] then + local Last = LastEquipped[v.Name] + SetPedComponentVariation(Ped, Last.Id, Last.Drawable, Last.Texture, 0) + + LastEquipped[v.Name] = false + end + end + end + end) + return true + end + end + Notify(Lang("AlreadyWearing")) return false +end + +function ToggleProps(which) + if Cooldown then return end + local Prop = Props[which] + local Ped = PlayerPedId() + local Gender = IsMpPed(Ped) + local Cur = { -- Lets get out currently equipped prop. + ID = Prop.Prop, + Ped = Ped, + Prop = GetPedPropIndex(Ped, Prop.Prop), + Texture = GetPedPropTextureIndex(Ped, Prop.Prop), + } + if not Prop.Variants then + if Cur.Prop ~= -1 then -- If we currently are wearing this prop, remove it and save the one we were wearing into the LastEquipped table. + PlayToggleEmote(Prop.Emote.Off, function() + SendNUIMessage({ + action = 'update', + cloth = which, + }) + LastEquipped[which] = Cur ClearPedProp(Ped, Prop.Prop) end) return true + else + local Last = LastEquipped[which] -- Detect that we have already taken our prop off, lets put it back on. + if Last then + PlayToggleEmote(Prop.Emote.On, function() + SendNUIMessage({ + action = 'update2', + cloth = which, + }) + SetPedPropIndex(Ped, Prop.Prop, Last.Prop, Last.Texture, true) end) LastEquipped[which] = false return true + end + end + Notify(Lang("NothingToRemove")) return false + else + local Gender = IsMpPed(Ped) + if not Gender then Notify(Lang("NotAllowedPed")) return false end -- We dont really allow for variants on ped models, Its possible, but im pretty sure 95% of ped models dont really have variants. + local Variations = Prop.Variants[Gender] + for k,v in pairs(Variations) do + if Cur.Prop == k then + PlayToggleEmote(Prop.Emote.On, function() + SetPedPropIndex(Ped, Prop.Prop, v, Cur.Texture, true) end) return true + end + end + Notify(Lang("NoVariants")) return false + end +end + +-- function DrawDev() -- Draw text for all the stuff we are wearing, to make grabbing the variants of stuff much simpler for people. +-- local Entries = {} +-- for k,v in PairsKeys(Drawables) do table.insert(Entries, { Name = k, Drawable = v.Drawable }) end +-- for k,v in PairsKeys(Extras) do table.insert(Entries, { Name = k, Drawable = v.Drawable }) end +-- for k,v in PairsKeys(Props) do table.insert(Entries, { Name = k, Prop = v.Prop }) end +-- for k,v in pairs(Entries) do +-- local Ped = PlayerPedId() local Cur +-- if v.Drawable then +-- Cur = { Id = GetPedDrawableVariation(Ped, v.Drawable), Texture = GetPedTextureVariation(Ped, v.Drawable) } +-- elseif v.Prop then +-- Cur = { Id = GetPedPropIndex(Ped, v.Prop), Texture = GetPedPropTextureIndex(Ped, v.Prop) } +-- end +-- Text(0.2, 0.8*k/18, 0.30, "~o~"..v.Name.."~w~ = \n ("..Cur.Id.." , "..Cur.Texture..")", false, 1) +-- DrawRect(0.23, 0.8*k/18+0.025, 0.07, 0.045, 0, 0, 0, 150) +-- end +-- end + +-- local TestThreadActive = nil +-- function DevTestVariants(d) -- If debug mode is enabled we can try all the variants to check for scuff. +-- if not TestThreadActive then +-- Citizen.CreateThread(function() +-- TestThreadActive = true +-- local Ped = PlayerPedId() +-- local Drawable = Drawables[d] +-- local Prop = Props[d] +-- local Gender = IsMpPed(Ped) +-- if Drawable then +-- if Drawable.Table then +-- if type(Drawable.Table[Gender]) == "table" then +-- for k,v in PairsKeys(Drawable.Table[Gender]) do +-- Notify(d.." : ~o~"..k) +-- SoundPlay("Open") +-- SetPedComponentVariation(Ped, Drawable.Drawable, k, 0, 0) +-- Wait(300) +-- Notify(d.." : ~b~"..v) +-- SoundPlay("Close") +-- SetPedComponentVariation(Ped, Drawable.Drawable, v, 0, 0) +-- Wait(300) +-- end +-- end +-- end +-- elseif Prop then +-- if Prop.Variants then +-- for k,v in PairsKeys(Prop.Variants[Gender]) do +-- Notify(d.." : ~o~"..k) +-- SoundPlay("Open") +-- SetPedPropIndex(Ped, Prop.Prop, k, 0, true) +-- Wait(300) +-- Notify(d.." : ~b~"..v) +-- SoundPlay("Close") +-- SetPedPropIndex(Ped, Prop.Prop, v, 0, true) +-- Wait(300) +-- ClearPedProp(Ped, Prop.Prop) +-- Wait(200) +-- end +-- end +-- end +-- TestThreadActive = false +-- end) +-- else +-- Notify("Already testing variants.") +-- end +-- end + +for k,v in pairs(Config.Commands) do + RegisterCommand(k, v.Func) + --log("Created /"..k.." ("..v.Desc..")") -- Useful for translation checking. + TriggerEvent("chat:addSuggestion", "/"..k, v.Desc) +end +if Config.ExtrasEnabled then + for k,v in pairs(Config.ExtraCommands) do + RegisterCommand(k, v.Func) + --log("Created /"..k.." ("..v.Desc..")") -- Useful for translation checking. + TriggerEvent("chat:addSuggestion", "/"..k, v.Desc) + end +end + +AddEventHandler('onResourceStop', function(resource) -- Mostly for development, restart the resource and it will put all the clothes back on. + if resource == GetCurrentResourceName() then + ResetClothing() + end +end) \ No newline at end of file diff --git a/resources/[standalone]/dpclothingui/Client/Config.lua b/resources/[standalone]/dpclothingui/Client/Config.lua new file mode 100644 index 0000000..6878e95 --- /dev/null +++ b/resources/[standalone]/dpclothingui/Client/Config.lua @@ -0,0 +1,169 @@ +Config = { + Language = "da", -- You can change the language here. I translated some with a tool online so they might not be 100% accurate. Let me know! + ExtrasEnabled = true, -- This toggles the extra commands (Shirt, Pants) in case you dont want your players stripping their clothes for whatever reason. + Debug = false, -- Enables logging and on screen display of what your character is wearing. + NUI = { + AllowInCars = false, -- Allow the GUI in cars? + AllowWhenRagdolled = false, -- Allow the GUI when ragdolled? + DefultKey = 'Y', -- Change the GUI key here. + Sound = true, -- You can disable sound in the GUI here. + Camera = true, -- You can disable sound in the GUI here. + keybinds = 'none', + } +} + + +--[[ + Here are the commands to be generated, this is the layout. + + ["commandname"] = { + Func = Function that gets triggered. + Sprite = You probably shouldnt change this. + Desc = Description to be added in chat. + Button = The position of the button in the GUI. + Name = The display string for the GUI, we grab this with the Lang function, so they can be changed above. + }, + + You can change the command name if you wish, do so in the language file Locales/LANGUAGE.lua, + Some alternatives i thought of were : + + Top : Jacket, Hoodie. + Hair : Bun, Ponytail, Hairdown. + Visor : Brim, Cap. + + And then for the props you can change em to something real short to make it easy for people to use. + + Glasses : G. + Hat : H. + Mask : M. + Visor : V. +]]-- + +Config.Commands = { + [Lang("TOP")] = { + Func = function() ToggleClothing("Top") end, + Sprite = "top", + Desc = Lang("Top2"), + Button = 1, + Name = Lang("Top") + }, + [Lang("GLOVES")] = { + Func = function() ToggleClothing("Gloves") end, + Sprite = "gloves", + Desc = string.format(Lang("TakeOffOn"), string.lower(Lang("Gloves"))), + Button = 2, + Name = Lang("Gloves") + }, + [Lang("VISOR")] = { + Func = function() ToggleProps("Visor") end, + Sprite = "visor", + Desc = Lang("Visor2"), + Button = 3, + Name = Lang("Visor") + }, + [Lang("BAG")] = { + Func = function() ToggleClothing("Bag") end, + Sprite = "bag", + Desc = Lang("Bag2"), + Button = 8, + Name = Lang("Bag") + }, + [Lang("SHOES")] = { + Func = function() ToggleClothing("Shoes") end, + Sprite = "shoes", + Desc = string.format(Lang("TakeOffOn"), string.lower(Lang("Shoes"))), + Button = 5, + Name = Lang("Shoes") + }, + [Lang("VEST")] = { + Func = function() ToggleClothing("Vest") end, + Sprite = "vest", + Desc = string.format(Lang("TakeOffOn"), string.lower(Lang("Vest"))), + Button = 14, + Name = Lang("Vest") + }, + [Lang("HAIR")] = { + Func = function() ToggleClothing("Hair") end, + Sprite = "hair", + Desc = Lang("Hair2"), + Button = 7, + Name = Lang("Hair") + }, + [Lang("HAT")] = { + Func = function() ToggleProps("Hat") end, + Sprite = "hat", + Desc = string.format(Lang("TakeOffOn"), string.lower(Lang("Hat"))), + Button = 4, + Name = Lang("Hat") + }, + [Lang("GLASSES")] = { + Func = function() ToggleProps("Glasses") end, + Sprite = "glasses", + Desc = string.format(Lang("TakeOffOn"), string.lower(Lang("Glasses"))), + Button = 9, + Name = Lang("Glasses") + }, + [Lang("EAR")] = { + Func = function() ToggleProps("Ear") end, + Sprite = "ear", + Desc = string.format(Lang("TakeOffOn"), string.lower(Lang("Ear2"))), + Button = 10, + Name = Lang("Ear") + }, + [Lang("NECK")] = { + Func = function() ToggleClothing("Neck") end, + Sprite = "neck", + Desc = string.format(Lang("TakeOffOn"), string.lower(Lang("Neck2"))), + Button = 11, + Name = Lang("Neck") + }, + [Lang("WATCH")] = { + Func = function() ToggleProps("Watch") end, + Sprite = "watch", + Desc = string.format(Lang("TakeOffOn"), string.lower(Lang("Watch"))), + Button = 12, + Name = Lang("Watch"), + Rotation = 5.0 + }, + [Lang("BRACELET")] = { + Func = function() ToggleProps("Bracelet") end, + Sprite = "bracelet", + Desc = string.format(Lang("TakeOffOn"), string.lower(Lang("Bracelet"))), + Button = 13, + Name = Lang("Bracelet") + }, + [Lang("MASK")] = { + Func = function() ToggleClothing("Mask") end, + Sprite = "mask", + Desc = string.format(Lang("TakeOffOn"), string.lower(Lang("Mask"))), + Button = 6, + Name = Lang("Mask") + } +} + +Config.ExtraCommands = { + [Lang("PANTS")] = { + Func = function() ToggleClothing("Pants", true) end, + Sprite = "pants", + Desc = string.format(Lang("TakeOffOn"), string.lower(Lang("Pants"))), + Name = Lang("Pants"), + OffsetX = -0.04, + OffsetY = 0.0, + }, + [Lang("SHIRT")] = { + Func = function() ToggleClothing("Shirt", true) end, + Sprite = "shirt", + Desc = string.format(Lang("TakeOffOn"), string.lower(Lang("Shirt"))), + Name = Lang("Shirt"), + OffsetX = 0.04, + OffsetY = 0.0, + }, + [Lang("RESET")] = { + Func = function() if not ResetClothing() then Notify(Lang("AlreadyWearing")) end end, + Sprite = "reset", + Desc = Lang("Reset2"), + Name = Lang("Reset"), + OffsetX = 0.12, + OffsetY = 0.2, + }, +} \ No newline at end of file diff --git a/resources/[standalone]/dpclothingui/Client/Functions.lua b/resources/[standalone]/dpclothingui/Client/Functions.lua new file mode 100644 index 0000000..b960c70 --- /dev/null +++ b/resources/[standalone]/dpclothingui/Client/Functions.lua @@ -0,0 +1,130 @@ +Locale = {} +Keys = { -- Who doesnt love a big old table of keys. + [","] = 82, ["-"] = 84, ["."] = 81, ["1"] = 157, ["2"] = 158, ["3"] = 160, ["4"] = 164, ["5"] = 165, ["6"] = 159, ["7"] = 161, + ["8"] = 162, ["9"] = 163, ["="] = 83, ["["] = 39, ["]"] = 40, ["A"] = 34, ["B"] = 29, ["BACKSPACE"] = 177, ["C"] = 26, ["CAPS"] = 137, + ["D"] = 9, ["DELETE"] = 178, ["UP"] = 172, ["DOWN"] = 173, ["E"] = 38, ["ENTER"] = 18, ["ESC"] = 322, ["F"] = 23, ["F1"] = 288, ["F10"] = 57, ["F2"] = 289, + ["F3"] = 170, ["F5"] = 166, ["F6"] = 167, ["F7"] = 168, ["F8"] = 169, ["F9"] = 56, ["G"] = 47, ["H"] = 74, ["HOME"] = 213, ["K"] = 311, + ["L"] = 182, ["LEFT"] = 174, ["LEFTALT"] = 19, ["LEFTCTRL"] = 36, ["LEFTSHIFT"] = 21, ["M"] = 244, ["N"] = 249, ["N+"] = 96, ["N-"] = 97, + ["N4"] = 108, ["N5"] = 60, ["N6"] = 107, ["N7"] = 117, ["N8"] = 61, ["N9"] = 118, ["NENTER"] = 201, ["P"] = 199, ["PAGEDOWN"] = 11, + ["PAGEUP"] = 10, ["Q"] = 44, ["R"] = 45, ["RIGHT"] = 175, ["RIGHTCTRL"] = 70, ["S"] = 8, ["SPACE"] = 22, ["T"] = 245, ["TAB"] = 37, + ["TOP"] = 27, ["U"] = 303, ["V"] = 0, ["W"] = 32, ["X"] = 73, ["Y"] = 246, ["Z"] = 20, ["~"] = 243, +} + +function log(l) -- Just a simple logging thing, to easily log all kinds of stuff. + if not Config.Debug then return end + if type(l) == "table" then print(json.encode(l)) elseif type(l) == "boolean" then print(l) else print(l.." | "..type(l)) end +end + +function GetKey(str) + local Key = Keys[string.upper(str)] + if Key then return Key else return false end +end + +function IncurCooldown(ms) + Citizen.CreateThread(function() + Cooldown = true Wait(ms) Cooldown = false + end) +end + +-- This is my old implementation, unsure if its any better than above though, not sure if creating a thread as often as we do above is good? Time will tell i suppose. + +--function IncurCooldown(ms) +-- Cooldown = ms +--end +--Citizen.CreateThread(function() +-- while true do Wait(500) +-- if Cooldown then +-- Wait(Cooldown) +-- Cooldown = false +-- end +-- end +--end) + +function PairsKeys(t, f) + local a = {} + for n in pairs(t) do table.insert(a, n) end + table.sort(a, f) + local i = 0 + local iter = function () + i = i + 1 + if a[i] == nil then return nil + else return a[i], t[a[i]] end + end + return iter +end + +function Text(x, y, scale, text, colour, align, force, w) + local align = align or 0 + local colour = colour or Config.GUI.TextColor + SetTextFont(Config.GUI.TextFont) + SetTextJustification(align) + SetTextScale(scale, scale) + SetTextColour(colour[1], colour[2], colour[3], 255) + if Config.GUI.TextOutline then SetTextOutline() end + if w then SetTextWrap(w.x, w.y) end + SetTextEntry("STRING") + AddTextComponentString(text) + DrawText(x,y) +end + +function FirstUpper(str) + return (str:gsub("^%l", string.upper)) +end + +function Lang(what) + local Dict = Locale[Config.Language] + if not Dict[what] then return Locale["en"][what] end -- If we cant find a translation, use the english one. + return Dict[what] +end + +function Notify(message) -- However you want your notifications to be shown, you can switch it up here. + -- SetNotificationTextEntry("STRING") + -- AddTextComponentString(message) + -- DrawNotification(0,1) + TriggerEvent('QBCore:Notify', message, 'info') +end + +function IsMpPed(ped) + local Male = GetHashKey("mp_m_freemode_01") local Female = GetHashKey("mp_f_freemode_01") + local CurrentModel = GetEntityModel(ped) + if CurrentModel == Male then return "Male" elseif CurrentModel == Female then return "Female" else return false end +end + +--[[ + Some events that might be useful for external use. + You can trigger em with TriggerEvent("EventName"). + I was thinking about making them exports, but this is easier, if thats wrong and exports are better for some reason let me know. +]]-- + +--[[ + [dpclothing:EquipLast] + This event will remove all saved clothes from the client. + And put them back on the players model. + You should use this in your own / other external scripts whenever the player : + Eenter a clothing store, enter a barber shop, and many other uses i maybe havent though of. + Of course you dont have to do that, but it makes the player experience better. + Otherwise they might for example "save" a hat, then go to a clothing store and change the hat, then when using /hat it puts on the hat they had before they paid for their new hat. +]]-- + +RegisterNetEvent('dpclothing:EquipLast') +AddEventHandler('dpclothing:EquipLast', function() + local Ped = PlayerPedId() + for k,v in pairs(LastEquipped) do + if v then + if v.Drawable then SetPedComponentVariation(Ped, v.ID, v.Drawable, v.Texture, 0) + elseif v.Prop then ClearPedProp(Ped, v.ID) SetPedPropIndex(Ped, v.ID, v.Prop, v.Texture, true) end + end + end + LastEquipped = {} +end) + +--[[ + [dpclothing:ResetClothing] + Same deal as above but instead of equipping the stuff, it just clears the lastequipped. + Useful for when you change a players model. +]]-- + +RegisterNetEvent('dpclothing:ResetClothing') +AddEventHandler('dpclothing:ResetClothing', function() + LastEquipped = {} +end) \ No newline at end of file diff --git a/resources/[standalone]/dpclothingui/Client/NUI.lua b/resources/[standalone]/dpclothingui/Client/NUI.lua new file mode 100644 index 0000000..47685c4 --- /dev/null +++ b/resources/[standalone]/dpclothingui/Client/NUI.lua @@ -0,0 +1,98 @@ + + +local Sounds = { -- In case you wanna change out the sounds they are located here. + ["Close"] = {"TOGGLE_ON", "HUD_FRONTEND_DEFAULT_SOUNDSET"}, + ["Open"] = {"NAV_LEFT_RIGHT", "HUD_FRONTEND_DEFAULT_SOUNDSET"}, + ["Select"] = {"SELECT", "HUD_FRONTEND_DEFAULT_SOUNDSET"} +} +function SoundPlay(which) + if Config.NUI.Sound then else return end + local Sound = Sounds[which] + PlaySoundFrontend(-1, Sound[1], Sound[2]) +end + +function ToggleCamera(type) + if Config.NUI.Camera then else return end + if type == 'Open' then + cam = CreateCam("DEFAULT_SCRIPTED_CAMERA", true) + camOffset = vector3(-0.025120, 1.512561, 0.559709) + SetCamActive(cam, true) + RenderScriptCams(true, true, 500, true, false) + SetCamCoord(cam, GetOffsetFromEntityInWorldCoords(PlayerPedId(), camOffset)) + SetCamRot(cam, vector3(-15.0, 0.0, GetEntityHeading(PlayerPedId()) + 180)) + elseif type == 'Close' then + RenderScriptCams(false, true, 500, true, false) + DestroyCam(cam, false) + end +end + + +local function Check(ped) -- We check if the player should be able to open the menu. + if IsPedInAnyVehicle(ped) and not Config.NUI.AllowInCars then + return false + elseif IsPedSwimmingUnderWater(ped) then + return false + elseif IsPedRagdoll(ped) and not Config.NUI.AllowWhenRagdolled then + return false + elseif IsHudComponentActive(19) then -- If the weapon wheel is open, we close! + return false + end + return true +end + + +RegisterNUICallback('close', function(_, cb) + SetNuiFocus(false, false) + SendNUIMessage({ + action = 'close', + }) + RenderScriptCams(false, true, 750, true, false) + DestroyCam(cam, false) + SoundPlay("Close") + ToggleCamera("Close") + cb('ok') +end) + +RegisterNUICallback('changecloth', function(data, cb) + ExecuteCommand(data) +end) + +RegisterNUICallback('reset', function(data, cb) + ResetClothing() + Wait(1000) + SetNuiFocus(false, false) + SendNUIMessage({ + action = 'close', + }) + RenderScriptCams(false, true, 750, true, false) + DestroyCam(cam, false) + SoundPlay("Close") + ToggleCamera("Close") + cb('ok') +end) + + + +Citizen.CreateThread(function() + RegisterKeyMapping('+szclothing', 'Toggle Clothing', 'keyboard', Config.NUI.DefultKey) + RegisterCommand('+szclothing', ShowClothingUI, false) +end) + +function ShowClothingUI() + local Ped = PlayerPedId() + if Check(Ped) then + SoundPlay("Open") + ToggleCamera("Open") + SetNuiFocus(true, true) + SendNUIMessage({ + action = 'open', + }) + SetNuiFocus(true, true) + end +end + +function rotation(dir) + local pedRot = GetEntityHeading(PlayerPedId())+dir + SetEntityHeading(PlayerPedId(), pedRot % 360) +end + diff --git a/resources/[standalone]/dpclothingui/Client/Variations.lua b/resources/[standalone]/dpclothingui/Client/Variations.lua new file mode 100644 index 0000000..fc0067a --- /dev/null +++ b/resources/[standalone]/dpclothingui/Client/Variations.lua @@ -0,0 +1,537 @@ +function AddNewVariation(which, gender, one, two, single) + local Where = Variations[which][gender] + if not single then + Where[one] = two + Where[two] = one + else + Where[one] = two + end +end + +--[[ + This is where all the different variations go. + For jackets i included extra things that arent just hoodies aswell, things like the christmas sweater with their different lights. + So doing the command whilst wearing the christmas sweater you can toggle the light. + + Tip for adding new ones of this is to toggle Config.Debug, and use vMenu Player Appearance to switch around. + + If you are using EUP you might have to change things around! + But it should be easy enough to understand and make changes as you want. + + Simply just : + + AddNewVariation(Table, Gender, First, Second) + + And for Hair there is also the "single" var. + Its important for haircuts. +]]-- + +Citizen.CreateThread(function() + -- Male Visor/Hat Variations + AddNewVariation("Visor", "Male", 9, 10) + AddNewVariation("Visor", "Male", 18, 67) + AddNewVariation("Visor", "Male", 82, 67) + AddNewVariation("Visor", "Male", 44, 45) + AddNewVariation("Visor", "Male", 50, 68) + AddNewVariation("Visor", "Male", 51, 69) + AddNewVariation("Visor", "Male", 52, 70) + AddNewVariation("Visor", "Male", 53, 71) + AddNewVariation("Visor", "Male", 62, 72) + AddNewVariation("Visor", "Male", 65, 66) + AddNewVariation("Visor", "Male", 73, 74) + AddNewVariation("Visor", "Male", 76, 77) + AddNewVariation("Visor", "Male", 79, 78) + AddNewVariation("Visor", "Male", 80, 81) + AddNewVariation("Visor", "Male", 91, 92) + AddNewVariation("Visor", "Male", 104, 105) + AddNewVariation("Visor", "Male", 109, 110) + AddNewVariation("Visor", "Male", 116, 117) + AddNewVariation("Visor", "Male", 118, 119) + AddNewVariation("Visor", "Male", 123, 124) + AddNewVariation("Visor", "Male", 125, 126) + AddNewVariation("Visor", "Male", 127, 128) + AddNewVariation("Visor", "Male", 130, 131) + -- Female Visor/Hat Variations + AddNewVariation("Visor", "Female", 43, 44) + AddNewVariation("Visor", "Female", 49, 67) + AddNewVariation("Visor", "Female", 64, 65) + AddNewVariation("Visor", "Female", 65, 64) + AddNewVariation("Visor", "Female", 51, 69) + AddNewVariation("Visor", "Female", 50, 68) + AddNewVariation("Visor", "Female", 52, 70) + AddNewVariation("Visor", "Female", 62, 71) + AddNewVariation("Visor", "Female", 72, 73) + AddNewVariation("Visor", "Female", 75, 76) + AddNewVariation("Visor", "Female", 78, 77) + AddNewVariation("Visor", "Female", 79, 80) + AddNewVariation("Visor", "Female", 18, 66) + AddNewVariation("Visor", "Female", 66, 81) + AddNewVariation("Visor", "Female", 81, 66) + AddNewVariation("Visor", "Female", 86, 84) + AddNewVariation("Visor", "Female", 90, 91) + AddNewVariation("Visor", "Female", 103, 104) + AddNewVariation("Visor", "Female", 108, 109) + AddNewVariation("Visor", "Female", 115, 116) + AddNewVariation("Visor", "Female", 117, 118) + AddNewVariation("Visor", "Female", 122, 123) + AddNewVariation("Visor", "Female", 124, 125) + AddNewVariation("Visor", "Female", 126, 127) + AddNewVariation("Visor", "Female", 129, 130) + -- Male Bags + AddNewVariation("Bags", "Male", 45, 44) + AddNewVariation("Bags", "Male", 41, 40) + -- Female Bags + AddNewVariation("Bags", "Female", 45, 44) + AddNewVariation("Bags", "Female", 41, 40) + -- Male Hair + AddNewVariation("Hair", "Male", 7, 15, true) + AddNewVariation("Hair", "Male", 43, 15, true) + AddNewVariation("Hair", "Male", 9, 43, true) + AddNewVariation("Hair", "Male", 11, 43, true) + AddNewVariation("Hair", "Male", 15, 43, true) + AddNewVariation("Hair", "Male", 16, 43, true) + AddNewVariation("Hair", "Male", 17, 43, true) + AddNewVariation("Hair", "Male", 20, 43, true) + AddNewVariation("Hair", "Male", 22, 43, true) + AddNewVariation("Hair", "Male", 45, 43, true) + AddNewVariation("Hair", "Male", 47, 43, true) + AddNewVariation("Hair", "Male", 49, 43, true) + AddNewVariation("Hair", "Male", 51, 43, true) + AddNewVariation("Hair", "Male", 52, 43, true) + AddNewVariation("Hair", "Male", 53, 43, true) + AddNewVariation("Hair", "Male", 56, 43, true) + AddNewVariation("Hair", "Male", 58, 43, true) + -- Female Hair + AddNewVariation("Hair", "Female", 1, 49, true) + AddNewVariation("Hair", "Female", 2, 49, true) + AddNewVariation("Hair", "Female", 7, 49, true) + AddNewVariation("Hair", "Female", 9, 49, true) + AddNewVariation("Hair", "Female", 10, 49, true) + AddNewVariation("Hair", "Female", 11, 48, true) + AddNewVariation("Hair", "Female", 14, 53, true) + AddNewVariation("Hair", "Female", 15, 42, true) + AddNewVariation("Hair", "Female", 21, 42, true) + AddNewVariation("Hair", "Female", 23, 42, true) + AddNewVariation("Hair", "Female", 31, 53, true) + AddNewVariation("Hair", "Female", 39, 49, true) + AddNewVariation("Hair", "Female", 40, 49, true) + AddNewVariation("Hair", "Female", 42, 53, true) + AddNewVariation("Hair", "Female", 45, 49, true) + AddNewVariation("Hair", "Female", 48, 49, true) + AddNewVariation("Hair", "Female", 49, 48, true) + AddNewVariation("Hair", "Female", 52, 53, true) + AddNewVariation("Hair", "Female", 53, 42, true) + AddNewVariation("Hair", "Female", 54, 55, true) + AddNewVariation("Hair", "Female", 59, 42, true) + AddNewVariation("Hair", "Female", 59, 54, true) + AddNewVariation("Hair", "Female", 68, 53, true) + AddNewVariation("Hair", "Female", 76, 48, true) + -- Male Top/Jacket Variations + AddNewVariation("Jackets", "Male", 29, 30) + AddNewVariation("Jackets", "Male", 31, 32) + AddNewVariation("Jackets", "Male", 42, 43) + AddNewVariation("Jackets", "Male", 68, 69) + AddNewVariation("Jackets", "Male", 74, 75) + AddNewVariation("Jackets", "Male", 87, 88) + AddNewVariation("Jackets", "Male", 99, 100) + AddNewVariation("Jackets", "Male", 101, 102) + AddNewVariation("Jackets", "Male", 103, 104) + AddNewVariation("Jackets", "Male", 126, 127) + AddNewVariation("Jackets", "Male", 129, 130) + AddNewVariation("Jackets", "Male", 184, 185) + AddNewVariation("Jackets", "Male", 188, 189) + AddNewVariation("Jackets", "Male", 194, 195) + AddNewVariation("Jackets", "Male", 196, 197) + AddNewVariation("Jackets", "Male", 198, 199) + AddNewVariation("Jackets", "Male", 200, 203) + AddNewVariation("Jackets", "Male", 202, 205) + AddNewVariation("Jackets", "Male", 206, 207) + AddNewVariation("Jackets", "Male", 210, 211) + AddNewVariation("Jackets", "Male", 217, 218) + AddNewVariation("Jackets", "Male", 229, 230) + AddNewVariation("Jackets", "Male", 232, 233) + AddNewVariation("Jackets", "Male", 251, 253) + AddNewVariation("Jackets", "Male", 256, 261) + AddNewVariation("Jackets", "Male", 262, 263) + AddNewVariation("Jackets", "Male", 265, 266) + AddNewVariation("Jackets", "Male", 267, 268) + AddNewVariation("Jackets", "Male", 279, 280) + -- Female Top/Jacket Variations + AddNewVariation("Jackets", "Female", 53, 52) + AddNewVariation("Jackets", "Female", 57, 58) + AddNewVariation("Jackets", "Female", 62, 63) + AddNewVariation("Jackets", "Female", 90, 91) + AddNewVariation("Jackets", "Female", 92, 93) + AddNewVariation("Jackets", "Female", 94, 95) + AddNewVariation("Jackets", "Female", 187, 186) + AddNewVariation("Jackets", "Female", 190, 191) + AddNewVariation("Jackets", "Female", 196, 197) + AddNewVariation("Jackets", "Female", 198, 199) + AddNewVariation("Jackets", "Female", 200, 201) + AddNewVariation("Jackets", "Female", 202, 205) + AddNewVariation("Jackets", "Female", 204, 207) + AddNewVariation("Jackets", "Female", 210, 211) + AddNewVariation("Jackets", "Female", 214, 215) + AddNewVariation("Jackets", "Female", 227, 228) + AddNewVariation("Jackets", "Female", 239, 240) + AddNewVariation("Jackets", "Female", 242, 243) + AddNewVariation("Jackets", "Female", 259, 261) + AddNewVariation("Jackets", "Female", 265, 270) + AddNewVariation("Jackets", "Female", 271, 272) + AddNewVariation("Jackets", "Female", 274, 275) + AddNewVariation("Jackets", "Female", 276, 277) + AddNewVariation("Jackets", "Female", 292, 293) +end) + +-- And this is the master table, i put it down here since it has all the glove variations, and thats quite the eyesore. +-- You probably dont wanna touch anything down here really. +-- I generated these glove ones with a tool i made, im pretty certain its accurate, there might be native function for this. +-- If there is i wish i knew of it before i spent hours doing it this way. + +Variations = { + Jackets = {Male = {}, Female = {}}, + Hair = {Male = {}, Female = {}}, + Bags = {Male = {}, Female = {}}, + Visor = {Male = {}, Female = {}}, + Gloves = { + Male = { + [16] = 4, + [17] = 4, + [18] = 4, + [19] = 0, + [20] = 1, + [21] = 2, + [22] = 4, + [23] = 5, + [24] = 6, + [25] = 8, + [26] = 11, + [27] = 12, + [28] = 14, + [29] = 15, + [30] = 0, + [31] = 1, + [32] = 2, + [33] = 4, + [34] = 5, + [35] = 6, + [36] = 8, + [37] = 11, + [38] = 12, + [39] = 14, + [40] = 15, + [41] = 0, + [42] = 1, + [43] = 2, + [44] = 4, + [45] = 5, + [46] = 6, + [47] = 8, + [48] = 11, + [49] = 12, + [50] = 14, + [51] = 15, + [52] = 0, + [53] = 1, + [54] = 2, + [55] = 4, + [56] = 5, + [57] = 6, + [58] = 8, + [59] = 11, + [60] = 12, + [61] = 14, + [62] = 15, + [63] = 0, + [64] = 1, + [65] = 2, + [66] = 4, + [67] = 5, + [68] = 6, + [69] = 8, + [70] = 11, + [71] = 12, + [72] = 14, + [73] = 15, + [74] = 0, + [75] = 1, + [76] = 2, + [77] = 4, + [78] = 5, + [79] = 6, + [80] = 8, + [81] = 11, + [82] = 12, + [83] = 14, + [84] = 15, + [85] = 0, + [86] = 1, + [87] = 2, + [88] = 4, + [89] = 5, + [90] = 6, + [91] = 8, + [92] = 11, + [93] = 12, + [94] = 14, + [95] = 15, + [96] = 4, + [97] = 4, + [98] = 4, + [99] = 0, + [100] = 1, + [101] = 2, + [102] = 4, + [103] = 5, + [104] = 6, + [105] = 8, + [106] = 11, + [107] = 12, + [108] = 14, + [109] = 15, + [110] = 4, + [111] = 4, + [115] = 112, + [116] = 112, + [117] = 112, + [118] = 112, + [119] = 112, + [120] = 112, + [121] = 112, + [122] = 113, + [123] = 113, + [124] = 113, + [125] = 113, + [126] = 113, + [127] = 113, + [128] = 113, + [129] = 114, + [130] = 114, + [131] = 114, + [132] = 114, + [133] = 114, + [134] = 114, + [135] = 114, + [136] = 15, + [137] = 15, + [138] = 0, + [139] = 1, + [140] = 2, + [141] = 4, + [142] = 5, + [143] = 6, + [144] = 8, + [145] = 11, + [146] = 12, + [147] = 14, + [148] = 112, + [149] = 113, + [150] = 114, + [151] = 0, + [152] = 1, + [153] = 2, + [154] = 4, + [155] = 5, + [156] = 6, + [157] = 8, + [158] = 11, + [159] = 12, + [160] = 14, + [161] = 112, + [162] = 113, + [163] = 114, + [165] = 4, + [166] = 4, + [167] = 4, + }, + Female = { + [16] = 11, + [17] = 3, + [18] = 3, + [19] = 3, + [20] = 0, + [21] = 1, + [22] = 2, + [23] = 3, + [24] = 4, + [25] = 5, + [26] = 6, + [27] = 7, + [28] = 9, + [29] = 11, + [30] = 12, + [31] = 14, + [32] = 15, + [33] = 0, + [34] = 1, + [35] = 2, + [36] = 3, + [37] = 4, + [38] = 5, + [39] = 6, + [40] = 7, + [41] = 9, + [42] = 11, + [43] = 12, + [44] = 14, + [45] = 15, + [46] = 0, + [47] = 1, + [48] = 2, + [49] = 3, + [50] = 4, + [51] = 5, + [52] = 6, + [53] = 7, + [54] = 9, + [55] = 11, + [56] = 12, + [57] = 14, + [58] = 15, + [59] = 0, + [60] = 1, + [61] = 2, + [62] = 3, + [63] = 4, + [64] = 5, + [65] = 6, + [66] = 7, + [67] = 9, + [68] = 11, + [69] = 12, + [70] = 14, + [71] = 15, + [72] = 0, + [73] = 1, + [74] = 2, + [75] = 3, + [76] = 4, + [77] = 5, + [78] = 6, + [79] = 7, + [80] = 9, + [81] = 11, + [82] = 12, + [83] = 14, + [84] = 15, + [85] = 0, + [86] = 1, + [87] = 2, + [88] = 3, + [89] = 4, + [90] = 5, + [91] = 6, + [92] = 7, + [93] = 9, + [94] = 11, + [95] = 12, + [96] = 14, + [97] = 15, + [98] = 0, + [99] = 1, + [100] = 2, + [101] = 3, + [102] = 4, + [103] = 5, + [104] = 6, + [105] = 7, + [106] = 9, + [107] = 11, + [108] = 12, + [109] = 14, + [110] = 15, + [111] = 3, + [112] = 3, + [113] = 3, + [114] = 0, + [115] = 1, + [116] = 2, + [117] = 3, + [118] = 4, + [119] = 5, + [120] = 6, + [121] = 7, + [122] = 9, + [123] = 11, + [124] = 12, + [125] = 14, + [126] = 15, + [127] = 3, + [128] = 3, + [132] = 129, + [133] = 129, + [134] = 129, + [135] = 129, + [136] = 129, + [137] = 129, + [138] = 129, + [139] = 130, + [140] = 130, + [141] = 130, + [142] = 130, + [143] = 130, + [144] = 130, + [145] = 130, + [146] = 131, + [147] = 131, + [148] = 131, + [149] = 131, + [150] = 131, + [151] = 131, + [152] = 131, + [154] = 153, + [155] = 153, + [156] = 153, + [157] = 153, + [158] = 153, + [159] = 153, + [160] = 153, + [162] = 161, + [163] = 161, + [164] = 161, + [165] = 161, + [166] = 161, + [167] = 161, + [168] = 161, + [169] = 15, + [170] = 15, + [171] = 0, + [172] = 1, + [173] = 2, + [174] = 3, + [175] = 4, + [176] = 5, + [177] = 6, + [178] = 7, + [179] = 9, + [180] = 11, + [181] = 12, + [182] = 14, + [183] = 129, + [184] = 130, + [185] = 131, + [186] = 153, + [187] = 0, + [188] = 1, + [189] = 2, + [190] = 3, + [191] = 4, + [192] = 5, + [193] = 6, + [194] = 7, + [195] = 9, + [196] = 11, + [197] = 12, + [198] = 14, + [199] = 129, + [200] = 130, + [201] = 131, + [202] = 153, + [203] = 161, + [204] = 161, + [206] = 3, + [207] = 3, + [208] = 3, + } + } +} \ No newline at end of file diff --git a/resources/[standalone]/dpclothingui/Locale/da.lua b/resources/[standalone]/dpclothingui/Locale/da.lua new file mode 100644 index 0000000..93c6af8 --- /dev/null +++ b/resources/[standalone]/dpclothingui/Locale/da.lua @@ -0,0 +1,53 @@ +Locale.da = { + AlreadyWearing = "Du har allerede det på.", + Bag = "Taske", + Bag2 = "Åbner eller lukker din taske.", + Bracelet = "Armbånd", + Ear = "Øre", + Ear2 = "Øretilbehør", + Glasses = "Briller", + Gloves = "Handsker", + Hair = "Hår", + Hair2 = "Sæt dit hår op/ned/i en knold/hestehale.", + Hat = "Hat", + Info = "Info", + Information = "Hvis knappen er blå, har du et gemt element.", + Mask = "Maske", + Neck = "Hals", + Neck2 = "Hals tilbehør", + NotAllowedPed = "Denne ped model tillader ikke denne mulighed.", + NothingToRemove = "Du har tilsyneladende ikke noget at fjerne.", + NoVariants = "Der synes ikke at være nogen varianter til dette.", + Pants = "Bukser", + PleaseWait = "Vent venligst...", + Shirt = "Skjorte", + Shoes = "Sko", + TakeOffOn = "Tag din %s af/på.", + Top = "Top", + Top2 = "Skift skjorte variation.", + Vest = "Vest", + Visor = "Visir", + Visor2 = "Skift hat variation.", + Watch = "Ur", + NoShirtOn = "Du kan ikke gøre dette uden din skjorte på.", + Reset = "Tilbage", + Reset2 = "Tilbage til normalt.", + -- Commands + BAG = "taske", + BRACELET = "armbånd", + EAR = "øre", + GLASSES = "briller", + GLOVES = "handsker", + HAIR = "hår", + HAT = "hat", + MASK = "maske", + NECK = "hals", + SHOES = "sko", + TOP = "top", + VEST = "vest", + VISOR = "visir", + WATCH = "ur", + PANTS = "bukser", + SHIRT = "skjorte", + RESET = "nulstiltøj", +} \ No newline at end of file diff --git a/resources/[standalone]/dpclothingui/Locale/de.lua b/resources/[standalone]/dpclothingui/Locale/de.lua new file mode 100644 index 0000000..d8ea1bd --- /dev/null +++ b/resources/[standalone]/dpclothingui/Locale/de.lua @@ -0,0 +1,53 @@ +Locale.de = { --Translated by @Naifen-Phoxidas + AlreadyWearing = "Sie tragen bereits diese Kleidung.", + Bag = "Rucksack", + Bag2 = "Öffne oder schliesse dein Rucksack.", + Bracelet = "Armband", + Ear = "Ohr", + Ear2 = "Ohrzubehör", + Glasses = "Brille", + Gloves = "Handschuhe", + Hair = "Haar", + Hair2 = "Legen Sie Ihre Haare hoch/runter und offen/Pferdeschwanz.", + Hat = "Hut", + Info = "Info", + Information = "Wenn die Schaltfläche blau ist, haben Sie ein gespeichertes Element.", + Mask = "Maske", + Neck = "Hals", + Neck2 = "Halszubehör", + NotAllowedPed = "Dieses Ped-Modell erlaubt diese Option nicht.", + NothingToRemove = "Sie können zurzeit nichts entfernen.", + NoVariants = "Es scheint keine Varianten dafür zu geben.", + Pants = "Hose", + PleaseWait = "Bitte warten...", + Shirt = "Hemd", + Shoes = "Schuhe", + TakeOffOn = "Ziehe %s aus/an.", + Top = "Oberteil", + Top2 = "Hemd Variante verändern.", + Vest = "Weste", + Visor = "Visier", + Visor2 = "Hut Variante verändern.", + Watch = "Uhr", + NoShirtOn = "Sie können dies nicht ohne Ihr Hemd tun.", + Reset = "Revert", + Reset2 = "Alles wieder in den Normalzustand zurückversetzen", + -- Commands + BAG = "rucksack", + BRACELET = "armband", + EAR = "ohr", + GLASSES = "brille", + GLOVES = "handschuhe", + HAIR = "haar", + HAT = "hut", + MASK = "maske", + NECK = "hals", + SHOES = "schuhe", + TOP = "oberteil", + VEST = "weste", + VISOR = "visier", + WATCH = "uhr", + PANTS = "hose", + SHIRT = "hemd", + RESET = "revertclothing", +} diff --git a/resources/[standalone]/dpclothingui/Locale/en.lua b/resources/[standalone]/dpclothingui/Locale/en.lua new file mode 100644 index 0000000..2e06504 --- /dev/null +++ b/resources/[standalone]/dpclothingui/Locale/en.lua @@ -0,0 +1,53 @@ +Locale.en = { + AlreadyWearing = "You are already wearing that.", + Bag = "Bag", + Bag2 = "Opens or closes your bag.", + Bracelet = "Bracelet", + Ear = "Ear", + Ear2 = "ear accessory", + Glasses = "Glasses", + Gloves = "Gloves", + Hair = "Hair", + Hair2 = "Put your hair up/down/in a bun/ponytail.", + Hat = "Hat", + Info = "Info", + Information = "If the button is blue, you have a saved item.", + Mask = "Mask", + Neck = "Neck", + Neck2 = "neck accessory", + NotAllowedPed = "This ped model does not allow for this option.", + NothingToRemove = "You dont appear to have anything to remove.", + NoVariants = "There dont seem to be any variants for this.", + Pants = "Pants", + PleaseWait = "Please wait...", + Shirt = "Shirt", + Shoes = "Shoes", + TakeOffOn = "Take your %s off/on.", + Top = "Top", + Top2 = "Toggle shirt variation.", + Vest = "Vest", + Visor = "Visor", + Visor2 = "Toggle hat variation.", + Watch = "Watch", + NoShirtOn = "You cannot do this without your shirt on.", + Reset = "Revert", + Reset2 = "Revert everything back to normal.", + -- Commands + BAG = "bag", + BRACELET = "bracelet", + EAR = "ear", + GLASSES = "glasses", + GLOVES = "gloves", + HAIR = "hair", + HAT = "hat", + MASK = "mask", + NECK = "neck", + SHOES = "shoes", + TOP = "top", + VEST = "vest", + VISOR = "visor", + WATCH = "watch", + PANTS = "pants", + SHIRT = "shirt", + RESET = "revertclothing", +} \ No newline at end of file diff --git a/resources/[standalone]/dpclothingui/Locale/es.lua b/resources/[standalone]/dpclothingui/Locale/es.lua new file mode 100644 index 0000000..aab36df --- /dev/null +++ b/resources/[standalone]/dpclothingui/Locale/es.lua @@ -0,0 +1,56 @@ +Locale.es = { + AlreadyWearing = "Ya estás usando eso.", + Bag = "Bolsa", + Bag2 = "Abre o cierra tu bolsa", + Bracelet = "Pulsera", + Ear = "Oreja", + Ear2 = "accesorio para el oído", + Glasses = "Gafas", + Gloves = "Guantes", + Hair = "Cabello", + Hair2 = "Pon tu cabello arriba/abajo en un moño/cola de caballo.", + Hat = "Sombrero", + Info = "Info", + Information = "Si el botón es azul, tienes un elemento guardado.", + Mask = "Máscara", + Neck = "Cuello", + Neck2 = "accesorio de cuello", + NotAllowedPed = "Este modelo de personaje no permite esta opción.", + NothingToRemove = "No parece que tengas nada que quitarte.", + NoVariants = "No parece haber ninguna variante para esto.", + Pants = "Pantalones", + PleaseWait = "Por favor, espere...", + Shirt = "Camisa", + Shoes = "Zapatos", + TakeOffOn = "Toma tus %s off/on.", + Top = "Chaqueta", + Top2 = "Variación de la camisa de cambio.", + Vest = "Chaleco", + Visor = "Visor", + Visor2 = "Variación del sombrero.", + Watch = "Vigilar", + NoShirtOn = "No puedes hacer esto sin tu camisa.", + Reset = "Revertir", + Reset2 = "Volver todo a la normalidad", + -- Comandos + BAG = "bolsa", + BRACELET = "brazalete", + EAR = "ear", + GLASSES = "gafas", + GLOVES = "guantes", + HAIR = "pelo", + HAT = "hat", + MASK = "máscara", + NECK = "cuello", + SHOES = "zapatos", + TOP = "chaqueta", + VEST = "chaleco", + VISOR = "visor", + WATCH = "mira", + PANTS = "pantalones", + SHIRT = "camisa", + RESET = "revertir", +} + +-- Generated with DeepL +-- I dont speak spanish so contributions are encouraged! \ No newline at end of file diff --git a/resources/[standalone]/dpclothingui/Locale/fr.lua b/resources/[standalone]/dpclothingui/Locale/fr.lua new file mode 100644 index 0000000..6668b0f --- /dev/null +++ b/resources/[standalone]/dpclothingui/Locale/fr.lua @@ -0,0 +1,56 @@ +Locale.fr = { + AlreadyWearing = "Vous portez déjà cela.", + Bag = "Sac", + Bag2 = "Ouvrez ou fermez votre sac.", + Bracelet = "Bracelet", + Ear = "Oreille", + Ear2 = "accessoire pour l'oreille", + Glasses = "Lunettes", + Gloves = "Gants", + Hair = "Cheveux", + Hair2 = "Mettez vos cheveux en haut/en bas/en chignon/en queue de cheval.", + Hat = "Chapeau", + Info = "Info", + Information = "Si le bouton est grisé, vous avez un objet enregistré.", + Mask = "Masque", + Neck = "Cou", + Neck2 = "accessoire pour le cou", + NotAllowedPed = "Ce modèle de caractère ne permet pas cette option", + NothingToRemove = "Vous ne semblez pas avoir de choses à enlever.", + NoVariants = "Il ne semble pas y avoir de variantes pour cela.", + Pants = "Pantalons", + PleaseWait = "S'il vous plaît, attendez...", + Shirt = "Chemise", + Shoes = "Chaussures", + TakeOffOn = "Enlevez vos %s off/on.", + Top = "Veste", + Top2 = "Variation de la chemise à bascule.", + Vest = "Gilet", + Visor = "Visière", + Visor2 = "Variation du chapeau à bascule.", + Watch = "Regarder", + NoShirtOn = "Vous ne pouvez pas le faire sans votre chemise.", + Reset = "Retour", + Reset2 = "Tout revenir à la normale.", + -- Commandes + BAG = "sac", + BRACELET = "bracelet", + EAR = "ear", + GLASSES = "lunettes", + GLOVES = "gants", + HAIR = "cheveux", + HAT = "hat", + MASK = "masque", + NECK = "cou", + SHOES = "chaussures", + TOP = "veste", + VEST = "gilet", + VISOR = "visor", + WATCH = "voir", + PANTS = "pantalons", + SHIRT = "chemise", + RESET = "retour", +} + +-- Generated with DeepL +-- I dont speak french so contributions are encouraged! \ No newline at end of file diff --git a/resources/[standalone]/dpclothingui/fxmanifest.lua b/resources/[standalone]/dpclothingui/fxmanifest.lua new file mode 100644 index 0000000..341d590 --- /dev/null +++ b/resources/[standalone]/dpclothingui/fxmanifest.lua @@ -0,0 +1,23 @@ +fx_version 'cerulean' +game 'gta5' +description 'dpClothing' + +lua54 'yes' + +client_scripts { + 'Client/Functions.lua', -- Global Functions / Events / Debug and Locale start. + 'Locale/*.lua', -- Locales. + 'Client/Config.lua', -- Configuration. + 'Client/Variations.lua', -- Variants, this is where you wanan change stuff around most likely. + 'Client/Clothing.lua', + 'Client/NUI.lua', +} + +-- By iF9 & Mazen +ui_page 'ui/ui.html' +files { + 'ui/ui.html', + "ui/js/*.js", + "ui/css/*.css", + 'ui/imgs/*.png', +} \ No newline at end of file diff --git a/resources/[standalone]/dpclothingui/stream/dp_clothing.ytd b/resources/[standalone]/dpclothingui/stream/dp_clothing.ytd new file mode 100644 index 0000000..34adeb1 --- /dev/null +++ b/resources/[standalone]/dpclothingui/stream/dp_clothing.ytd @@ -0,0 +1 @@ +E )1:("nǁl/-8RX挵G/ K@B \ No newline at end of file diff --git a/resources/[standalone]/dpclothingui/stream/dp_wheel.ytd b/resources/[standalone]/dpclothingui/stream/dp_wheel.ytd new file mode 100644 index 0000000..2bed542 --- /dev/null +++ b/resources/[standalone]/dpclothingui/stream/dp_wheel.ytd @@ -0,0 +1 @@ +E ᪩@4); S ;]̒CW- \ No newline at end of file diff --git a/resources/[standalone]/dpclothingui/ui/css/bootstrap.min.css b/resources/[standalone]/dpclothingui/ui/css/bootstrap.min.css new file mode 100644 index 0000000..ee00e3f --- /dev/null +++ b/resources/[standalone]/dpclothingui/ui/css/bootstrap.min.css @@ -0,0 +1,7 @@ +@charset "UTF-8";/*! + * Bootstrap v5.0.2 (https://getbootstrap.com/) + * Copyright 2011-2021 The Bootstrap Authors + * Copyright 2011-2021 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0))}*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-font-sans-serif);font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;background-color:currentColor;border:0;opacity:.25}hr:not([size]){height:1px}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[data-bs-original-title],abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.2em;background-color:#fcf8e3}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#0d6efd;text-decoration:underline}a:hover{color:#0a58ca}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em;direction:ltr;unicode-bidi:bidi-override}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:#d63384;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:1em;font-weight:700}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]::-webkit-calendar-picker-indicator{display:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer::before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #dee2e6;border-radius:.25rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:#6c757d}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{width:100%;padding-right:var(--bs-gutter-x,.75rem);padding-left:var(--bs-gutter-x,.75rem);margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(var(--bs-gutter-y) * -1);margin-right:calc(var(--bs-gutter-x) * -.5);margin-left:calc(var(--bs-gutter-x) * -.5)}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}@media (min-width:576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}}@media (min-width:768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}}@media (min-width:992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}}@media (min-width:1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}}@media (min-width:1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.6666666667%}}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-1,.gy-1{--bs-gutter-y:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-2,.gy-2{--bs-gutter-y:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1400px){.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-bg:transparent;--bs-table-accent-bg:transparent;--bs-table-striped-color:#212529;--bs-table-striped-bg:rgba(0, 0, 0, 0.05);--bs-table-active-color:#212529;--bs-table-active-bg:rgba(0, 0, 0, 0.1);--bs-table-hover-color:#212529;--bs-table-hover-bg:rgba(0, 0, 0, 0.075);width:100%;margin-bottom:1rem;color:#212529;vertical-align:top;border-color:#dee2e6}.table>:not(caption)>*>*{padding:.5rem .5rem;background-color:var(--bs-table-bg);border-bottom-width:1px;box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table>:not(:last-child)>:last-child>*{border-bottom-color:currentColor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem .25rem}.table-bordered>:not(caption)>*{border-width:1px 0}.table-bordered>:not(caption)>*>*{border-width:0 1px}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-striped>tbody>tr:nth-of-type(odd){--bs-table-accent-bg:var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-active{--bs-table-accent-bg:var(--bs-table-active-bg);color:var(--bs-table-active-color)}.table-hover>tbody>tr:hover{--bs-table-accent-bg:var(--bs-table-hover-bg);color:var(--bs-table-hover-color)}.table-primary{--bs-table-bg:#cfe2ff;--bs-table-striped-bg:#c5d7f2;--bs-table-striped-color:#000;--bs-table-active-bg:#bacbe6;--bs-table-active-color:#000;--bs-table-hover-bg:#bfd1ec;--bs-table-hover-color:#000;color:#000;border-color:#bacbe6}.table-secondary{--bs-table-bg:#e2e3e5;--bs-table-striped-bg:#d7d8da;--bs-table-striped-color:#000;--bs-table-active-bg:#cbccce;--bs-table-active-color:#000;--bs-table-hover-bg:#d1d2d4;--bs-table-hover-color:#000;color:#000;border-color:#cbccce}.table-success{--bs-table-bg:#d1e7dd;--bs-table-striped-bg:#c7dbd2;--bs-table-striped-color:#000;--bs-table-active-bg:#bcd0c7;--bs-table-active-color:#000;--bs-table-hover-bg:#c1d6cc;--bs-table-hover-color:#000;color:#000;border-color:#bcd0c7}.table-info{--bs-table-bg:#cff4fc;--bs-table-striped-bg:#c5e8ef;--bs-table-striped-color:#000;--bs-table-active-bg:#badce3;--bs-table-active-color:#000;--bs-table-hover-bg:#bfe2e9;--bs-table-hover-color:#000;color:#000;border-color:#badce3}.table-warning{--bs-table-bg:#fff3cd;--bs-table-striped-bg:#f2e7c3;--bs-table-striped-color:#000;--bs-table-active-bg:#e6dbb9;--bs-table-active-color:#000;--bs-table-hover-bg:#ece1be;--bs-table-hover-color:#000;color:#000;border-color:#e6dbb9}.table-danger{--bs-table-bg:#f8d7da;--bs-table-striped-bg:#eccccf;--bs-table-striped-color:#000;--bs-table-active-bg:#dfc2c4;--bs-table-active-color:#000;--bs-table-hover-bg:#e5c7ca;--bs-table-hover-color:#000;color:#000;border-color:#dfc2c4}.table-light{--bs-table-bg:#f8f9fa;--bs-table-striped-bg:#ecedee;--bs-table-striped-color:#000;--bs-table-active-bg:#dfe0e1;--bs-table-active-color:#000;--bs-table-hover-bg:#e5e6e7;--bs-table-hover-color:#000;color:#000;border-color:#dfe0e1}.table-dark{--bs-table-bg:#212529;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff;color:#fff;border-color:#373b3e}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:#6c757d}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:#212529;background-color:#fff;border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-control::-webkit-date-and-time-value{height:1.5em}.form-control::-moz-placeholder{color:#6c757d;opacity:1}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:#dde0e3}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:#dde0e3}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + (.5rem + 2px));padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + (1rem + 2px));padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + (.75rem + 2px))}textarea.form-control-sm{min-height:calc(1.5em + (.5rem + 2px))}textarea.form-control-lg{min-height:calc(1.5em + (1rem + 2px))}.form-control-color{max-width:3rem;height:auto;padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{height:1.5em;border-radius:.25rem}.form-control-color::-webkit-color-swatch{height:1.5em;border-radius:.25rem}.form-select{display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;-moz-padding-start:calc(0.75rem - 3px);font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:#e9ecef}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #212529}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-input{width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain;border:1px solid rgba(0,0,0,.25);-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{width:2em;margin-left:-2.5em;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.form-range:disabled::-moz-range-thumb{background-color:#adb5bd}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-select{height:calc(3.5rem + 2px);line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;height:100%;padding:1rem .75rem;pointer-events:none;border:1px solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control{padding:1rem .75rem}.form-floating>.form-control::-moz-placeholder{color:transparent}.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control:-webkit-autofill~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus{z-index:3}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:3}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu){border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#198754}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:rgba(25,135,84,.9);border-radius:.25rem}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:#198754;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:#198754}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:#198754}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:#198754}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#198754}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.input-group .form-control.is-valid,.input-group .form-select.is-valid,.was-validated .input-group .form-control:valid,.was-validated .input-group .form-select:valid{z-index:1}.input-group .form-control.is-valid:focus,.input-group .form-select.is-valid:focus,.was-validated .input-group .form-control:valid:focus,.was-validated .input-group .form-select:valid:focus{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:rgba(220,53,69,.9);border-radius:.25rem}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:#dc3545}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:#dc3545}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:#dc3545}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.input-group .form-control.is-invalid,.input-group .form-select.is-invalid,.was-validated .input-group .form-control:invalid,.was-validated .input-group .form-select:invalid{z-index:2}.input-group .form-control.is-invalid:focus,.input-group .form-select.is-invalid:focus,.was-validated .input-group .form-control:invalid:focus,.was-validated .input-group .form-select:invalid:focus{z-index:3}.btn{display:inline-block;font-weight:400;line-height:1.5;color:#212529;text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529}.btn-check:focus+.btn,.btn:focus{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{pointer-events:none;opacity:.65}.btn-primary{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-primary:hover{color:#fff;background-color:#0b5ed7;border-color:#0a58ca}.btn-check:focus+.btn-primary,.btn-primary:focus{color:#fff;background-color:#0b5ed7;border-color:#0a58ca;box-shadow:0 0 0 .25rem rgba(49,132,253,.5)}.btn-check:active+.btn-primary,.btn-check:checked+.btn-primary,.btn-primary.active,.btn-primary:active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#0a58ca;border-color:#0a53be}.btn-check:active+.btn-primary:focus,.btn-check:checked+.btn-primary:focus,.btn-primary.active:focus,.btn-primary:active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(49,132,253,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-secondary{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:hover{color:#fff;background-color:#5c636a;border-color:#565e64}.btn-check:focus+.btn-secondary,.btn-secondary:focus{color:#fff;background-color:#5c636a;border-color:#565e64;box-shadow:0 0 0 .25rem rgba(130,138,145,.5)}.btn-check:active+.btn-secondary,.btn-check:checked+.btn-secondary,.btn-secondary.active,.btn-secondary:active,.show>.btn-secondary.dropdown-toggle{color:#fff;background-color:#565e64;border-color:#51585e}.btn-check:active+.btn-secondary:focus,.btn-check:checked+.btn-secondary:focus,.btn-secondary.active:focus,.btn-secondary:active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(130,138,145,.5)}.btn-secondary.disabled,.btn-secondary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-success{color:#fff;background-color:#198754;border-color:#198754}.btn-success:hover{color:#fff;background-color:#157347;border-color:#146c43}.btn-check:focus+.btn-success,.btn-success:focus{color:#fff;background-color:#157347;border-color:#146c43;box-shadow:0 0 0 .25rem rgba(60,153,110,.5)}.btn-check:active+.btn-success,.btn-check:checked+.btn-success,.btn-success.active,.btn-success:active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#146c43;border-color:#13653f}.btn-check:active+.btn-success:focus,.btn-check:checked+.btn-success:focus,.btn-success.active:focus,.btn-success:active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(60,153,110,.5)}.btn-success.disabled,.btn-success:disabled{color:#fff;background-color:#198754;border-color:#198754}.btn-info{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-info:hover{color:#000;background-color:#31d2f2;border-color:#25cff2}.btn-check:focus+.btn-info,.btn-info:focus{color:#000;background-color:#31d2f2;border-color:#25cff2;box-shadow:0 0 0 .25rem rgba(11,172,204,.5)}.btn-check:active+.btn-info,.btn-check:checked+.btn-info,.btn-info.active,.btn-info:active,.show>.btn-info.dropdown-toggle{color:#000;background-color:#3dd5f3;border-color:#25cff2}.btn-check:active+.btn-info:focus,.btn-check:checked+.btn-info:focus,.btn-info.active:focus,.btn-info:active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(11,172,204,.5)}.btn-info.disabled,.btn-info:disabled{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-warning{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-warning:hover{color:#000;background-color:#ffca2c;border-color:#ffc720}.btn-check:focus+.btn-warning,.btn-warning:focus{color:#000;background-color:#ffca2c;border-color:#ffc720;box-shadow:0 0 0 .25rem rgba(217,164,6,.5)}.btn-check:active+.btn-warning,.btn-check:checked+.btn-warning,.btn-warning.active,.btn-warning:active,.show>.btn-warning.dropdown-toggle{color:#000;background-color:#ffcd39;border-color:#ffc720}.btn-check:active+.btn-warning:focus,.btn-check:checked+.btn-warning:focus,.btn-warning.active:focus,.btn-warning:active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(217,164,6,.5)}.btn-warning.disabled,.btn-warning:disabled{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-danger{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:hover{color:#fff;background-color:#bb2d3b;border-color:#b02a37}.btn-check:focus+.btn-danger,.btn-danger:focus{color:#fff;background-color:#bb2d3b;border-color:#b02a37;box-shadow:0 0 0 .25rem rgba(225,83,97,.5)}.btn-check:active+.btn-danger,.btn-check:checked+.btn-danger,.btn-danger.active,.btn-danger:active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#b02a37;border-color:#a52834}.btn-check:active+.btn-danger:focus,.btn-check:checked+.btn-danger:focus,.btn-danger.active:focus,.btn-danger:active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(225,83,97,.5)}.btn-danger.disabled,.btn-danger:disabled{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-light{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:hover{color:#000;background-color:#f9fafb;border-color:#f9fafb}.btn-check:focus+.btn-light,.btn-light:focus{color:#000;background-color:#f9fafb;border-color:#f9fafb;box-shadow:0 0 0 .25rem rgba(211,212,213,.5)}.btn-check:active+.btn-light,.btn-check:checked+.btn-light,.btn-light.active,.btn-light:active,.show>.btn-light.dropdown-toggle{color:#000;background-color:#f9fafb;border-color:#f9fafb}.btn-check:active+.btn-light:focus,.btn-check:checked+.btn-light:focus,.btn-light.active:focus,.btn-light:active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(211,212,213,.5)}.btn-light.disabled,.btn-light:disabled{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-dark{color:#fff;background-color:#212529;border-color:#212529}.btn-dark:hover{color:#fff;background-color:#1c1f23;border-color:#1a1e21}.btn-check:focus+.btn-dark,.btn-dark:focus{color:#fff;background-color:#1c1f23;border-color:#1a1e21;box-shadow:0 0 0 .25rem rgba(66,70,73,.5)}.btn-check:active+.btn-dark,.btn-check:checked+.btn-dark,.btn-dark.active,.btn-dark:active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#1a1e21;border-color:#191c1f}.btn-check:active+.btn-dark:focus,.btn-check:checked+.btn-dark:focus,.btn-dark.active:focus,.btn-dark:active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(66,70,73,.5)}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#212529;border-color:#212529}.btn-outline-primary{color:#0d6efd;border-color:#0d6efd}.btn-outline-primary:hover{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-check:focus+.btn-outline-primary,.btn-outline-primary:focus{box-shadow:0 0 0 .25rem rgba(13,110,253,.5)}.btn-check:active+.btn-outline-primary,.btn-check:checked+.btn-outline-primary,.btn-outline-primary.active,.btn-outline-primary.dropdown-toggle.show,.btn-outline-primary:active{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-check:active+.btn-outline-primary:focus,.btn-check:checked+.btn-outline-primary:focus,.btn-outline-primary.active:focus,.btn-outline-primary.dropdown-toggle.show:focus,.btn-outline-primary:active:focus{box-shadow:0 0 0 .25rem rgba(13,110,253,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#0d6efd;background-color:transparent}.btn-outline-secondary{color:#6c757d;border-color:#6c757d}.btn-outline-secondary:hover{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-check:focus+.btn-outline-secondary,.btn-outline-secondary:focus{box-shadow:0 0 0 .25rem rgba(108,117,125,.5)}.btn-check:active+.btn-outline-secondary,.btn-check:checked+.btn-outline-secondary,.btn-outline-secondary.active,.btn-outline-secondary.dropdown-toggle.show,.btn-outline-secondary:active{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-check:active+.btn-outline-secondary:focus,.btn-check:checked+.btn-outline-secondary:focus,.btn-outline-secondary.active:focus,.btn-outline-secondary.dropdown-toggle.show:focus,.btn-outline-secondary:active:focus{box-shadow:0 0 0 .25rem rgba(108,117,125,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#6c757d;background-color:transparent}.btn-outline-success{color:#198754;border-color:#198754}.btn-outline-success:hover{color:#fff;background-color:#198754;border-color:#198754}.btn-check:focus+.btn-outline-success,.btn-outline-success:focus{box-shadow:0 0 0 .25rem rgba(25,135,84,.5)}.btn-check:active+.btn-outline-success,.btn-check:checked+.btn-outline-success,.btn-outline-success.active,.btn-outline-success.dropdown-toggle.show,.btn-outline-success:active{color:#fff;background-color:#198754;border-color:#198754}.btn-check:active+.btn-outline-success:focus,.btn-check:checked+.btn-outline-success:focus,.btn-outline-success.active:focus,.btn-outline-success.dropdown-toggle.show:focus,.btn-outline-success:active:focus{box-shadow:0 0 0 .25rem rgba(25,135,84,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#198754;background-color:transparent}.btn-outline-info{color:#0dcaf0;border-color:#0dcaf0}.btn-outline-info:hover{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-check:focus+.btn-outline-info,.btn-outline-info:focus{box-shadow:0 0 0 .25rem rgba(13,202,240,.5)}.btn-check:active+.btn-outline-info,.btn-check:checked+.btn-outline-info,.btn-outline-info.active,.btn-outline-info.dropdown-toggle.show,.btn-outline-info:active{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-check:active+.btn-outline-info:focus,.btn-check:checked+.btn-outline-info:focus,.btn-outline-info.active:focus,.btn-outline-info.dropdown-toggle.show:focus,.btn-outline-info:active:focus{box-shadow:0 0 0 .25rem rgba(13,202,240,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#0dcaf0;background-color:transparent}.btn-outline-warning{color:#ffc107;border-color:#ffc107}.btn-outline-warning:hover{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-check:focus+.btn-outline-warning,.btn-outline-warning:focus{box-shadow:0 0 0 .25rem rgba(255,193,7,.5)}.btn-check:active+.btn-outline-warning,.btn-check:checked+.btn-outline-warning,.btn-outline-warning.active,.btn-outline-warning.dropdown-toggle.show,.btn-outline-warning:active{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-check:active+.btn-outline-warning:focus,.btn-check:checked+.btn-outline-warning:focus,.btn-outline-warning.active:focus,.btn-outline-warning.dropdown-toggle.show:focus,.btn-outline-warning:active:focus{box-shadow:0 0 0 .25rem rgba(255,193,7,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#ffc107;background-color:transparent}.btn-outline-danger{color:#dc3545;border-color:#dc3545}.btn-outline-danger:hover{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-check:focus+.btn-outline-danger,.btn-outline-danger:focus{box-shadow:0 0 0 .25rem rgba(220,53,69,.5)}.btn-check:active+.btn-outline-danger,.btn-check:checked+.btn-outline-danger,.btn-outline-danger.active,.btn-outline-danger.dropdown-toggle.show,.btn-outline-danger:active{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-check:active+.btn-outline-danger:focus,.btn-check:checked+.btn-outline-danger:focus,.btn-outline-danger.active:focus,.btn-outline-danger.dropdown-toggle.show:focus,.btn-outline-danger:active:focus{box-shadow:0 0 0 .25rem rgba(220,53,69,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#dc3545;background-color:transparent}.btn-outline-light{color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:hover{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-check:focus+.btn-outline-light,.btn-outline-light:focus{box-shadow:0 0 0 .25rem rgba(248,249,250,.5)}.btn-check:active+.btn-outline-light,.btn-check:checked+.btn-outline-light,.btn-outline-light.active,.btn-outline-light.dropdown-toggle.show,.btn-outline-light:active{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-check:active+.btn-outline-light:focus,.btn-check:checked+.btn-outline-light:focus,.btn-outline-light.active:focus,.btn-outline-light.dropdown-toggle.show:focus,.btn-outline-light:active:focus{box-shadow:0 0 0 .25rem rgba(248,249,250,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#f8f9fa;background-color:transparent}.btn-outline-dark{color:#212529;border-color:#212529}.btn-outline-dark:hover{color:#fff;background-color:#212529;border-color:#212529}.btn-check:focus+.btn-outline-dark,.btn-outline-dark:focus{box-shadow:0 0 0 .25rem rgba(33,37,41,.5)}.btn-check:active+.btn-outline-dark,.btn-check:checked+.btn-outline-dark,.btn-outline-dark.active,.btn-outline-dark.dropdown-toggle.show,.btn-outline-dark:active{color:#fff;background-color:#212529;border-color:#212529}.btn-check:active+.btn-outline-dark:focus,.btn-check:checked+.btn-outline-dark:focus,.btn-outline-dark.active:focus,.btn-outline-dark.dropdown-toggle.show:focus,.btn-outline-dark:active:focus{box-shadow:0 0 0 .25rem rgba(33,37,41,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#212529;background-color:transparent}.btn-link{font-weight:400;color:#0d6efd;text-decoration:underline}.btn-link:hover{color:#0a58ca}.btn-link.disabled,.btn-link:disabled{color:#6c757d}.btn-group-lg>.btn,.btn-lg{padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropend,.dropstart,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{position:absolute;z-index:1000;display:none;min-width:10rem;padding:.5rem 0;margin:0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:.125rem}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:.125rem}.dropend .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-toggle::after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:.125rem}.dropstart .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle::after{display:none}.dropstart .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty::after{margin-left:0}.dropstart .dropdown-toggle::before{vertical-align:0}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid rgba(0,0,0,.15)}.dropdown-item{display:block;width:100%;padding:.25rem 1rem;clear:both;font-weight:400;color:#212529;text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#1e2125;background-color:#e9ecef}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#0d6efd}.dropdown-item.disabled,.dropdown-item:disabled{color:#adb5bd;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:.5rem 1rem;margin-bottom:0;font-size:.875rem;color:#6c757d;white-space:nowrap}.dropdown-item-text{display:block;padding:.25rem 1rem;color:#212529}.dropdown-menu-dark{color:#dee2e6;background-color:#343a40;border-color:rgba(0,0,0,.15)}.dropdown-menu-dark .dropdown-item{color:#dee2e6}.dropdown-menu-dark .dropdown-item:focus,.dropdown-menu-dark .dropdown-item:hover{color:#fff;background-color:rgba(255,255,255,.15)}.dropdown-menu-dark .dropdown-item.active,.dropdown-menu-dark .dropdown-item:active{color:#fff;background-color:#0d6efd}.dropdown-menu-dark .dropdown-item.disabled,.dropdown-menu-dark .dropdown-item:disabled{color:#adb5bd}.dropdown-menu-dark .dropdown-divider{border-color:rgba(0,0,0,.15)}.dropdown-menu-dark .dropdown-item-text{color:#dee2e6}.dropdown-menu-dark .dropdown-header{color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split::after,.dropend .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-left:0}.dropstart .dropdown-toggle-split::before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem;color:#0d6efd;text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:#0a58ca}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-link{margin-bottom:-1px;background:0 0;border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6;isolation:isolate}.nav-tabs .nav-link.disabled{color:#6c757d;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#495057;background-color:#fff;border-color:#dee2e6 #dee2e6 #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{background:0 0;border:0;border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#0d6efd}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding-top:.5rem;padding-bottom:.5rem}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:.3125rem;padding-bottom:.3125rem;margin-right:1rem;font-size:1.25rem;text-decoration:none;white-space:nowrap}.navbar-nav{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;background-color:transparent;border:1px solid transparent;border-radius:.25rem;transition:box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 .25rem}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}@media (min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand{color:rgba(0,0,0,.9)}.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.55)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{color:rgba(0,0,0,.55);border-color:rgba(0,0,0,.1)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-light .navbar-text{color:rgba(0,0,0,.55)}.navbar-light .navbar-text a,.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand{color:#fff}.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:rgba(255,255,255,.55)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:rgba(255,255,255,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:rgba(255,255,255,.25)}.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{color:rgba(255,255,255,.55);border-color:rgba(255,255,255,.1)}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-dark .navbar-text{color:rgba(255,255,255,.55)}.navbar-dark .navbar-text a,.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:1rem 1rem}.card-title{margin-bottom:.5rem}.card-subtitle{margin-top:-.25rem;margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1rem}.card-header{padding:.5rem 1rem;margin-bottom:0;background-color:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{padding:.5rem 1rem;background-color:rgba(0,0,0,.03);border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-right:-.5rem;margin-bottom:-.5rem;margin-left:-.5rem;border-bottom:0}.card-header-pills{margin-right:-.5rem;margin-left:-.5rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1rem;border-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card-group>.card{margin-bottom:.75rem}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:1rem 1.25rem;font-size:1rem;color:#212529;text-align:left;background-color:#fff;border:0;border-radius:0;overflow-anchor:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:#0c63e4;background-color:#e7f1ff;box-shadow:inset 0 -1px 0 rgba(0,0,0,.125)}.accordion-button:not(.collapsed)::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");transform:rotate(-180deg)}.accordion-button::after{flex-shrink:0;width:1.25rem;height:1.25rem;margin-left:auto;content:"";background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-size:1.25rem;transition:transform .2s ease-in-out}@media (prefers-reduced-motion:reduce){.accordion-button::after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.accordion-header{margin-bottom:0}.accordion-item{background-color:#fff;border:1px solid rgba(0,0,0,.125)}.accordion-item:first-of-type{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.accordion-item:first-of-type .accordion-button{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.accordion-body{padding:1rem 1.25rem}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button{border-radius:0}.breadcrumb{display:flex;flex-wrap:wrap;padding:0 0;margin-bottom:1rem;list-style:none}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item::before{float:left;padding-right:.5rem;color:#6c757d;content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:#6c757d}.pagination{display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;color:#0d6efd;text-decoration:none;background-color:#fff;border:1px solid #dee2e6;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:#0a58ca;background-color:#e9ecef;border-color:#dee2e6}.page-link:focus{z-index:3;color:#0a58ca;background-color:#e9ecef;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.page-item:not(:first-child) .page-link{margin-left:-1px}.page-item.active .page-link{z-index:3;color:#fff;background-color:#0d6efd;border-color:#0d6efd}.page-item.disabled .page-link{color:#6c757d;pointer-events:none;background-color:#fff;border-color:#dee2e6}.page-link{padding:.375rem .75rem}.page-item:first-child .page-link{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.badge{display:inline-block;padding:.35em .65em;font-size:.75em;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{position:relative;padding:1rem 1rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{color:#084298;background-color:#cfe2ff;border-color:#b6d4fe}.alert-primary .alert-link{color:#06357a}.alert-secondary{color:#41464b;background-color:#e2e3e5;border-color:#d3d6d8}.alert-secondary .alert-link{color:#34383c}.alert-success{color:#0f5132;background-color:#d1e7dd;border-color:#badbcc}.alert-success .alert-link{color:#0c4128}.alert-info{color:#055160;background-color:#cff4fc;border-color:#b6effb}.alert-info .alert-link{color:#04414d}.alert-warning{color:#664d03;background-color:#fff3cd;border-color:#ffecb5}.alert-warning .alert-link{color:#523e02}.alert-danger{color:#842029;background-color:#f8d7da;border-color:#f5c2c7}.alert-danger .alert-link{color:#6a1a21}.alert-light{color:#636464;background-color:#fefefe;border-color:#fdfdfe}.alert-light .alert-link{color:#4f5050}.alert-dark{color:#141619;background-color:#d3d3d4;border-color:#bcbebf}.alert-dark .alert-link{color:#101214}@-webkit-keyframes progress-bar-stripes{0%{background-position-x:1rem}}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress{display:flex;height:1rem;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:#fff;text-align:center;white-space:nowrap;background-color:#0d6efd;transition:width .6s ease}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:1s linear infinite progress-bar-stripes;animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.list-group{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:.25rem}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>li::before{content:counters(section, ".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:#495057;text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:#495057;text-decoration:none;background-color:#f8f9fa}.list-group-item-action:active{color:#212529;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:.5rem 1rem;color:#212529;text-decoration:none;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;pointer-events:none;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;background-color:#0d6efd;border-color:#0d6efd}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:-1px;border-top-width:1px}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 1px}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#084298;background-color:#cfe2ff}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#084298;background-color:#bacbe6}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#084298;border-color:#084298}.list-group-item-secondary{color:#41464b;background-color:#e2e3e5}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#41464b;background-color:#cbccce}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#41464b;border-color:#41464b}.list-group-item-success{color:#0f5132;background-color:#d1e7dd}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#0f5132;background-color:#bcd0c7}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#0f5132;border-color:#0f5132}.list-group-item-info{color:#055160;background-color:#cff4fc}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#055160;background-color:#badce3}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#055160;border-color:#055160}.list-group-item-warning{color:#664d03;background-color:#fff3cd}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#664d03;background-color:#e6dbb9}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#664d03;border-color:#664d03}.list-group-item-danger{color:#842029;background-color:#f8d7da}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#842029;background-color:#dfc2c4}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#842029;border-color:#842029}.list-group-item-light{color:#636464;background-color:#fefefe}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#636464;background-color:#e5e5e5}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#636464;border-color:#636464}.list-group-item-dark{color:#141619;background-color:#d3d3d4}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#141619;background-color:#bebebf}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#141619;border-color:#141619}.btn-close{box-sizing:content-box;width:1em;height:1em;padding:.25em .25em;color:#000;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;border:0;border-radius:.25rem;opacity:.5}.btn-close:hover{color:#000;text-decoration:none;opacity:.75}.btn-close:focus{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25);opacity:1}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:.25}.btn-close-white{filter:invert(1) grayscale(100%) brightness(200%)}.toast{width:350px;max-width:100%;font-size:.875rem;pointer-events:auto;background-color:rgba(255,255,255,.85);background-clip:padding-box;border:1px solid rgba(0,0,0,.1);box-shadow:0 .5rem 1rem rgba(0,0,0,.15);border-radius:.25rem}.toast:not(.showing):not(.show){opacity:0}.toast.hide{display:none}.toast-container{width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:.75rem}.toast-header{display:flex;align-items:center;padding:.5rem .75rem;color:#6c757d;background-color:rgba(255,255,255,.85);background-clip:padding-box;border-bottom:1px solid rgba(0,0,0,.05);border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.toast-header .btn-close{margin-right:-.375rem;margin-left:.75rem}.toast-body{padding:.75rem;word-wrap:break-word}.modal{position:fixed;top:0;left:0;z-index:1060;display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - 1rem)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:1rem 1rem;border-bottom:1px solid #dee2e6;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.modal-header .btn-close{padding:.5rem .5rem;margin:-.5rem -.5rem -.5rem auto}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;flex:1 1 auto;padding:1rem}.modal-footer{display:flex;flex-wrap:wrap;flex-shrink:0;align-items:center;justify-content:flex-end;padding:.75rem;border-top:1px solid #dee2e6;border-bottom-right-radius:calc(.3rem - 1px);border-bottom-left-radius:calc(.3rem - 1px)}.modal-footer>*{margin:.25rem}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{height:calc(100% - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media (min-width:1200px){.modal-xl{max-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}.modal-fullscreen .modal-footer{border-radius:0}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}.modal-fullscreen-sm-down .modal-footer{border-radius:0}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}.modal-fullscreen-md-down .modal-footer{border-radius:0}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}.modal-fullscreen-lg-down .modal-footer{border-radius:0}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}.modal-fullscreen-xl-down .modal-footer{border-radius:0}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}.modal-fullscreen-xxl-down .modal-footer{border-radius:0}}.tooltip{position:absolute;z-index:1080;display:block;margin:0;font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .tooltip-arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .tooltip-arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:0}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,.bs-tooltip-top .tooltip-arrow::before{top:-1px;border-width:.4rem .4rem 0;border-top-color:#000}.bs-tooltip-auto[data-popper-placement^=right],.bs-tooltip-end{padding:0 .4rem}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:0;width:.4rem;height:.8rem}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before,.bs-tooltip-end .tooltip-arrow::before{right:-1px;border-width:.4rem .4rem .4rem 0;border-right-color:#000}.bs-tooltip-auto[data-popper-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:0}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before,.bs-tooltip-bottom .tooltip-arrow::before{bottom:-1px;border-width:0 .4rem .4rem;border-bottom-color:#000}.bs-tooltip-auto[data-popper-placement^=left],.bs-tooltip-start{padding:0 .4rem}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:0;width:.4rem;height:.8rem}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before,.bs-tooltip-start .tooltip-arrow::before{left:-1px;border-width:.4rem 0 .4rem .4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.popover{position:absolute;top:0;left:0;z-index:1070;display:block;max-width:276px;font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover .popover-arrow{position:absolute;display:block;width:1rem;height:.5rem}.popover .popover-arrow::after,.popover .popover-arrow::before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::before{bottom:0;border-width:.5rem .5rem 0;border-top-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-top>.popover-arrow::after{bottom:1px;border-width:.5rem .5rem 0;border-top-color:#fff}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-.5rem - 1px);width:.5rem;height:1rem}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::before{left:0;border-width:.5rem .5rem .5rem 0;border-right-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-end>.popover-arrow::after{left:1px;border-width:.5rem .5rem .5rem 0;border-right-color:#fff}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::before{top:0;border-width:0 .5rem .5rem .5rem;border-bottom-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::after{top:1px;border-width:0 .5rem .5rem .5rem;border-bottom-color:#fff}.bs-popover-auto[data-popper-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;left:50%;display:block;width:1rem;margin-left:-.5rem;content:"";border-bottom:1px solid #f0f0f0}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-.5rem - 1px);width:.5rem;height:1rem}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::before{right:0;border-width:.5rem 0 .5rem .5rem;border-left-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-start>.popover-arrow::after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.popover-header{padding:.5rem 1rem;margin-bottom:0;font-size:1rem;background-color:#f0f0f0;border-bottom:1px solid rgba(0,0,0,.2);border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:1rem 1rem;color:#212529}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translateX(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%;list-style:none}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}@-webkit-keyframes spinner-border{to{transform:rotate(360deg)}}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:-.125em;border:.25em solid currentColor;border-right-color:transparent;border-radius:50%;-webkit-animation:.75s linear infinite spinner-border;animation:.75s linear infinite spinner-border}.spinner-border-sm{width:1rem;height:1rem;border-width:.2em}@-webkit-keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{display:inline-block;width:2rem;height:2rem;vertical-align:-.125em;background-color:currentColor;border-radius:50%;opacity:0;-webkit-animation:.75s linear infinite spinner-grow;animation:.75s linear infinite spinner-grow}.spinner-grow-sm{width:1rem;height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{-webkit-animation-duration:1.5s;animation-duration:1.5s}}.offcanvas{position:fixed;bottom:0;z-index:1050;display:flex;flex-direction:column;max-width:100%;visibility:hidden;background-color:#fff;background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1rem}.offcanvas-header .btn-close{padding:.5rem .5rem;margin-top:-.5rem;margin-right:-.5rem;margin-bottom:-.5rem}.offcanvas-title{margin-bottom:0;line-height:1.5}.offcanvas-body{flex-grow:1;padding:1rem 1rem;overflow-y:auto}.offcanvas-start{top:0;left:0;width:400px;border-right:1px solid rgba(0,0,0,.2);transform:translateX(-100%)}.offcanvas-end{top:0;right:0;width:400px;border-left:1px solid rgba(0,0,0,.2);transform:translateX(100%)}.offcanvas-top{top:0;right:0;left:0;height:30vh;max-height:100%;border-bottom:1px solid rgba(0,0,0,.2);transform:translateY(-100%)}.offcanvas-bottom{right:0;left:0;height:30vh;max-height:100%;border-top:1px solid rgba(0,0,0,.2);transform:translateY(100%)}.offcanvas.show{transform:none}.clearfix::after{display:block;clear:both;content:""}.link-primary{color:#0d6efd}.link-primary:focus,.link-primary:hover{color:#0a58ca}.link-secondary{color:#6c757d}.link-secondary:focus,.link-secondary:hover{color:#565e64}.link-success{color:#198754}.link-success:focus,.link-success:hover{color:#146c43}.link-info{color:#0dcaf0}.link-info:focus,.link-info:hover{color:#3dd5f3}.link-warning{color:#ffc107}.link-warning:focus,.link-warning:hover{color:#ffcd39}.link-danger{color:#dc3545}.link-danger:focus,.link-danger:hover{color:#b02a37}.link-light{color:#f8f9fa}.link-light:focus,.link-light:hover{color:#f9fafb}.link-dark{color:#212529}.link-dark:focus,.link-dark:hover{color:#1a1e21}.ratio{position:relative;width:100%}.ratio::before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:calc(3 / 4 * 100%)}.ratio-16x9{--bs-aspect-ratio:calc(9 / 16 * 100%)}.ratio-21x9{--bs-aspect-ratio:calc(9 / 21 * 100%)}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translateX(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:1px solid #dee2e6!important}.border-0{border:0!important}.border-top{border-top:1px solid #dee2e6!important}.border-top-0{border-top:0!important}.border-end{border-right:1px solid #dee2e6!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:1px solid #dee2e6!important}.border-start-0{border-left:0!important}.border-primary{border-color:#0d6efd!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#198754!important}.border-info{border-color:#0dcaf0!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#212529!important}.border-white{border-color:#fff!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{font-size:1.4vh;margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-light{font-weight:300!important}.fw-lighter{font-weight:lighter!important}.fw-normal{font-weight:400!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{color:#0d6efd!important}.text-secondary{color:#6c757d!important}.text-success{color:#198754!important}.text-info{color:#0dcaf0!important}.text-warning{color:#ffc107!important}.text-danger{color:#dc3545!important}.text-light{color:#f8f9fa!important}.text-dark{color:#212529!important}.text-white{color:#fff!important}.text-body{color:#212529!important}.text-muted{color:#6c757d!important}.text-black-50{color:rgba(0,0,0,.5)!important}.text-white-50{color:rgba(255,255,255,.5)!important}.text-reset{color:inherit!important}.bg-primary{background-color:#0d6efd!important}.bg-secondary{background-color:#6c757d!important}.bg-success{background-color:#198754!important}.bg-info{background-color:#0dcaf0!important}.bg-warning{background-color:#ffc107!important}.bg-danger{background-color:#dc3545!important}.bg-light{background-color:#f8f9fa!important}.bg-dark{background-color:#212529!important}.bg-body{background-color:#fff!important}.bg-white{background-color:#fff!important}.bg-transparent{background-color:transparent!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:.25rem!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:.2rem!important}.rounded-2{border-radius:.25rem!important}.rounded-3{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-top{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.rounded-end{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.rounded-bottom{border-bottom-right-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-start{border-bottom-left-radius:.25rem!important;border-top-left-radius:.25rem!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media (min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}} +/*# sourceMappingURL=bootstrap.min.css.map */ \ No newline at end of file diff --git a/resources/[standalone]/dpclothingui/ui/css/style.css b/resources/[standalone]/dpclothingui/ui/css/style.css new file mode 100644 index 0000000..fcd7c7c --- /dev/null +++ b/resources/[standalone]/dpclothingui/ui/css/style.css @@ -0,0 +1,481 @@ +@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100&display=swap'); + +body{ + overflow: hidden; +} + +.selectnone { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.f9clothigthemenu{ + display: none; + position: absolute; + width: 100%; + height: 100%; + left: 5px; + top: 0; + transform: rotate(180deg); +} + +.f9clothingmenu{ + display: none; +} + +.clothingbuttons{ + position: absolute; + z-index: 100; +} + +.clothingbutton{ + display: flex; +} + +.clothingbutton > img{ + transform: scale(0.7); +} + +.clothingbutton:hover{ + transform: scale(1.1); + border: 3px solid #1998bd; +} + +.clothingcircle{ + position: relative; + width: 44vh; + height: 44vh; + border-right: 8px solid #000000ba; + border-top: 8px solid transparent; + border-bottom: 8px solid #ff000000; + border-left: 8px solid #ff000000; + border-radius: 50%; +} + +.f9flexdiv1{ + position: relative; + width: 104vh; + height: 47vh; + display: flex; + align-items: flex-end; + flex-direction: column; + justify-content: space-evenly; +} + +.f9flexdiv2{ + position: relative; + width: 33.6vh; + height: 46.2vh; + height: 46vh; + display: flex; + align-items: flex-end; + flex-direction: column; + justify-content: space-evenly; +} + +.f9flexdiv3{ + position: relative; + width: 72vh; + height: 45.5vh; + display: flex; + align-items: flex-end; + flex-direction: column; + justify-content: space-evenly; +} + + +.f9onetitle{ + position: relative; + height: 2vh; + width: 6vh; + font-family: sans-serif; + FONT-WEIGHT: 600; + background: #020202ed; + border-radius: 1vh; + text-align: center; + color: white; + font-size: 1.3vh; + line-height: 2vh; + transform: rotate(-180deg); +} + + +.f9refreshside{ + position: absolute; + width: 100%; + height: 100%; + display: flex; + justify-content: center; +} + +.f9divcircle1{ + position: relative; + width: 1.4vh; + height: 1.4vh; + background: #000000; + border-radius: 3vh; +} + +.f9divcircle2{ + position: relative; + width: 1.4vh; + height: 1.4vh; + background: #000000; + border-radius: 3vh; + left: 5vh; +} + +.f9divcircle3{ + position: relative; + width: 1.4vh; + height: 1.4vh; + background: #000000; + border-radius: 3vh; + left: 6.4vh; +} + +.f9divcircle4{ + position: relative; + width: 1.4vh; + height: 1.4vh; + background: #000000; + border-radius: 3vh; + left: 5vh; +} + + +.listsline1{ + position: relative; + width: 35.4vh; + height: 0.5vh; + background: #000000ba; + border-radius: 5vh; +} + +.listsline2{ + position: relative; + width: 31vh; + height: 0.5vh; + background: #000000ba; + border-radius: 5vh; +} + +.listsline3{ + position: relative; + width: 29vh; + height: 0.5vh; + background: #000000ba; + border-radius: 5vh; +} + +.listsline4{ + position: relative; + width: 31vh; + height: 0.5vh; + background: #000000ba; + border-radius: 5vh; +} + +.listsline5{ + position: relative; + width: 35.4vh; + height: 0.5vh; + background: #000000ba; + border-radius: 5vh; +} + +.circleimg{ + position: absolute; +} + +.blackcircle{ + position: absolute; + + background: #0e0e0efa; + width: 200px; + height: 100px; /* as the half of the width */ + border-top-left-radius: 100px; + border-top-right-radius: 100px; + border: 7px solid white; + border-bottom: 0; + + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + left: -40px; + transform: rotate(90deg); + +} +.blackcircle2{ + position: absolute; + + background: #0e0e0efa; + width: 200px; + height: 100px; /* as the half of the width */ + border-top-left-radius: 100px; + border-top-right-radius: 100px; + border: 7px solid white; + border-bottom: 0; + + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + right: -39px; + transform: rotate(270deg); + +} +.desccircle{ + position: absolute; + height: 160px; + width: 160px; + background: #0e0e0efa; + border-radius: 50%; + display: inline-block; + border: 4px solid #1998bd; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column-reverse; + +} + +.closeline{ + position: absolute; + width: 0.6vh; + height: 3.3vh; + background: #0e0e0efa; + bottom: -8vh; + border-radius: 7vh; + left: 4vh; + transform: rotate(-45deg); + +} + +.closebutton{ + position: absolute; + width: 4vh; + height: 4vh; + background: #0e0e0efa; + bottom: -11.0vh; + border-radius: 4vh; + border: 4px solid #b61200da; + left: 3.7vh; + +} + +.resetline{ + position: absolute; + background: #0a0a0a; + width: 0.4vh; + height: 3vh; + bottom: 7vh; + +} + + +.clothingdes{ + position: relative; + font-family: 'Baloo Bhaijaan 2', cursive; + color: white; + font-weight: bold; +} + + +.custom-control, .custom-switch, .custom-control-input { + color: white +} + +.resettbutton { + color:white; + font-size: 2vh; +} + +.closebuttonn { + position: absolute; + bottom: 0.7vh; + left: 1.3vh; + color:white; + font-size: 2.4vh; +} + + +.clothingimage{ + position: relative; + width: 4.75vh; +} + +.circlebutton1{ + position: absolute; + width: 11vh; + height: 17vh; + overflow: hidden; + left: 3.75vh; + z-index: 100; +} + +.isnidecirclebutton1{ + position: absolute; + width: 160px; + height: 160px; + background: rgba(14, 14, 14, 0.98); + border-radius: 50%; + right: 7vh; + top: 8px; + border: 4px solid rgba(0, 145, 182, 0.855); +} + + +.circlebutton2{ + position: absolute; + width: 11vh; + height: 17vh; + overflow: hidden; + left: -14.25vh; + z-index: 100; +} + +.isnidecirclebutton2{ + position: absolute; + width: 160px; + height: 160px; + background: rgba(14, 14, 14, 0.98); + border-radius: 50%; + right: -11vh; + top: 8px; + border: 4px solid rgba(0, 145, 182, 0.855); +} + +.circlebutton1:hover .isnidecirclebutton1{ + border: 4px solid rgba(200, 200, 200, 0.855); +} + +.circlebutton2:hover .isnidecirclebutton2{ + border: 4px solid rgba(200, 200, 200, 0.855); +} + +.criclebuttoning{ + position: absolute; + height: 160px; + width: 142px; + display: flex; + justify-content: space-between; + border-radius: 50%; + right: 38.55vh; + top: 42.5vh; + z-index: 1000; + align-items: center; + opacity: 0.1; + pointer-events: none; +} + +.criclebuttonicon{ + position: relative; + color: white; + font-size: 1.7vh; + pointer-events: none; +} + + +@keyframes refreshhud { + 0% { + transform: rotate(0) + } + 10% { + transform: rotate(40deg) + } + 20% { + transform: rotate(80deg) + } + 30% { + transform: rotate(120deg) + } + 40% { + transform: rotate(160deg) + } + 50% { + transform: rotate(200deg) + } + 60% { + transform: rotate(240deg) + } + 70% { + transform: rotate(280deg) + } + 80% { + transform: rotate(320deg) + } + +} + +.f9onediv{ + position: absolute; + width: 100%; + height: 100%; + display: flex; + align-items: center; + justify-content: center; + z-index: 1; +} + +.listofbuttonsx{ + position: relative; + width: 106vh; + height: 43.5vh; + display: flex; + align-items: flex-end; + flex-direction: column; + justify-content: space-evenly; +} + +.buttnonslist{ + position: relative; + height: 4vh; + width: 15vh; + display: flex; + align-items: center; + flex-direction: row; +} + + +.onecbutton{ + position: relative; + width: 4vh; + height: 4vh; + background: #000000e8; + border-radius: 4vh; + font-size: 1.5vh; + text-align: center; + line-height: 4vh; + color: white; + font-family: sans-serif; + outline: 2px solid white; + margin-right: 10px; + transform: rotate(-180deg); + overflow: hidden; +} + +.onecbutton > img{ + width: 95%; +} + +.onecbutton:hover{ + transform: rotate(-180deg) scale(1.12); +} + +.listofhomebuttins{ + position: relative; + width: 25%; + height: 101.65%; + top: 0; + left: 0; + display: flex; + justify-content: center; + align-items: flex-end; + flex-direction: column; + z-index: 7; +} diff --git a/resources/[standalone]/dpclothingui/ui/imgs/Bag.png b/resources/[standalone]/dpclothingui/ui/imgs/Bag.png new file mode 100644 index 0000000..0db7c47 Binary files /dev/null and b/resources/[standalone]/dpclothingui/ui/imgs/Bag.png differ diff --git a/resources/[standalone]/dpclothingui/ui/imgs/Earrings.png b/resources/[standalone]/dpclothingui/ui/imgs/Earrings.png new file mode 100644 index 0000000..e17f60d Binary files /dev/null and b/resources/[standalone]/dpclothingui/ui/imgs/Earrings.png differ diff --git a/resources/[standalone]/dpclothingui/ui/imgs/Glasses.png b/resources/[standalone]/dpclothingui/ui/imgs/Glasses.png new file mode 100644 index 0000000..a867de4 Binary files /dev/null and b/resources/[standalone]/dpclothingui/ui/imgs/Glasses.png differ diff --git a/resources/[standalone]/dpclothingui/ui/imgs/Gloves.png b/resources/[standalone]/dpclothingui/ui/imgs/Gloves.png new file mode 100644 index 0000000..8a887bc Binary files /dev/null and b/resources/[standalone]/dpclothingui/ui/imgs/Gloves.png differ diff --git a/resources/[standalone]/dpclothingui/ui/imgs/Hair.png b/resources/[standalone]/dpclothingui/ui/imgs/Hair.png new file mode 100644 index 0000000..7330786 Binary files /dev/null and b/resources/[standalone]/dpclothingui/ui/imgs/Hair.png differ diff --git a/resources/[standalone]/dpclothingui/ui/imgs/Hat.png b/resources/[standalone]/dpclothingui/ui/imgs/Hat.png new file mode 100644 index 0000000..ed530cc Binary files /dev/null and b/resources/[standalone]/dpclothingui/ui/imgs/Hat.png differ diff --git a/resources/[standalone]/dpclothingui/ui/imgs/Mask.png b/resources/[standalone]/dpclothingui/ui/imgs/Mask.png new file mode 100644 index 0000000..cab8a29 Binary files /dev/null and b/resources/[standalone]/dpclothingui/ui/imgs/Mask.png differ diff --git a/resources/[standalone]/dpclothingui/ui/imgs/Neck.png b/resources/[standalone]/dpclothingui/ui/imgs/Neck.png new file mode 100644 index 0000000..84c5f93 Binary files /dev/null and b/resources/[standalone]/dpclothingui/ui/imgs/Neck.png differ diff --git a/resources/[standalone]/dpclothingui/ui/imgs/Pants.png b/resources/[standalone]/dpclothingui/ui/imgs/Pants.png new file mode 100644 index 0000000..1350c23 Binary files /dev/null and b/resources/[standalone]/dpclothingui/ui/imgs/Pants.png differ diff --git a/resources/[standalone]/dpclothingui/ui/imgs/Shirt.png b/resources/[standalone]/dpclothingui/ui/imgs/Shirt.png new file mode 100644 index 0000000..22a79af Binary files /dev/null and b/resources/[standalone]/dpclothingui/ui/imgs/Shirt.png differ diff --git a/resources/[standalone]/dpclothingui/ui/imgs/Shoes.png b/resources/[standalone]/dpclothingui/ui/imgs/Shoes.png new file mode 100644 index 0000000..9ff29fb Binary files /dev/null and b/resources/[standalone]/dpclothingui/ui/imgs/Shoes.png differ diff --git a/resources/[standalone]/dpclothingui/ui/imgs/Top.png b/resources/[standalone]/dpclothingui/ui/imgs/Top.png new file mode 100644 index 0000000..d9b06e8 Binary files /dev/null and b/resources/[standalone]/dpclothingui/ui/imgs/Top.png differ diff --git a/resources/[standalone]/dpclothingui/ui/imgs/Vest.png b/resources/[standalone]/dpclothingui/ui/imgs/Vest.png new file mode 100644 index 0000000..ff279a3 Binary files /dev/null and b/resources/[standalone]/dpclothingui/ui/imgs/Vest.png differ diff --git a/resources/[standalone]/dpclothingui/ui/imgs/Watch.png b/resources/[standalone]/dpclothingui/ui/imgs/Watch.png new file mode 100644 index 0000000..5362869 Binary files /dev/null and b/resources/[standalone]/dpclothingui/ui/imgs/Watch.png differ diff --git a/resources/[standalone]/dpclothingui/ui/js/bootstrap.bundle.min.js b/resources/[standalone]/dpclothingui/ui/js/bootstrap.bundle.min.js new file mode 100644 index 0000000..68acb7a --- /dev/null +++ b/resources/[standalone]/dpclothingui/ui/js/bootstrap.bundle.min.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v5.0.2 (https://getbootstrap.com/) + * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e()}(this,(function(){"use strict";const t={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter(t=>t.matches(e)),parents(t,e){const i=[];let n=t.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(e)&&i.push(n),n=n.parentNode;return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]}},e=t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t},i=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i="#"+i.split("#")[1]),e=i&&"#"!==i?i.trim():null}return e},n=t=>{const e=i(t);return e&&document.querySelector(e)?e:null},s=t=>{const e=i(t);return e?document.querySelector(e):null},o=t=>{t.dispatchEvent(new Event("transitionend"))},r=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),a=e=>r(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?t.findOne(e):null,l=(t,e,i)=>{Object.keys(i).forEach(n=>{const s=i[n],o=e[n],a=o&&r(o)?"element":null==(l=o)?""+l:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();var l;if(!new RegExp(s).test(a))throw new TypeError(`${t.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${s}".`)})},c=t=>!(!r(t)||0===t.getClientRects().length)&&"visible"===getComputedStyle(t).getPropertyValue("visibility"),h=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),d=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?d(t.parentNode):null},u=()=>{},f=t=>t.offsetHeight,p=()=>{const{jQuery:t}=window;return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null},m=[],g=()=>"rtl"===document.documentElement.dir,_=t=>{var e;e=()=>{const e=p();if(e){const i=t.NAME,n=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=n,t.jQueryInterface)}},"loading"===document.readyState?(m.length||document.addEventListener("DOMContentLoaded",()=>{m.forEach(t=>t())}),m.push(e)):e()},b=t=>{"function"==typeof t&&t()},v=(t,e,i=!0)=>{if(!i)return void b(t);const n=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e),s=Number.parseFloat(i);return n||s?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(e)+5;let s=!1;const r=({target:i})=>{i===e&&(s=!0,e.removeEventListener("transitionend",r),b(t))};e.addEventListener("transitionend",r),setTimeout(()=>{s||o(e)},n)},y=(t,e,i,n)=>{let s=t.indexOf(e);if(-1===s)return t[!i&&n?t.length-1:0];const o=t.length;return s+=i?1:-1,n&&(s=(s+o)%o),t[Math.max(0,Math.min(s,o-1))]},w=/[^.]*(?=\..*)\.|.*/,E=/\..*/,A=/::\d+$/,T={};let O=1;const C={mouseenter:"mouseover",mouseleave:"mouseout"},k=/^(mouseenter|mouseleave)/i,L=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function x(t,e){return e&&`${e}::${O++}`||t.uidEvent||O++}function D(t){const e=x(t);return t.uidEvent=e,T[e]=T[e]||{},T[e]}function S(t,e,i=null){const n=Object.keys(t);for(let s=0,o=n.length;sfunction(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};n?n=t(n):i=t(i)}const[o,r,a]=I(e,i,n),l=D(t),c=l[a]||(l[a]={}),h=S(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const d=x(r,e.replace(w,"")),u=o?function(t,e,i){return function n(s){const o=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(let a=o.length;a--;)if(o[a]===r)return s.delegateTarget=r,n.oneOff&&P.off(t,s.type,e,i),i.apply(r,[s]);return null}}(t,i,n):function(t,e){return function i(n){return n.delegateTarget=t,i.oneOff&&P.off(t,n.type,e),e.apply(t,[n])}}(t,i);u.delegationSelector=o?i:null,u.originalHandler=r,u.oneOff=s,u.uidEvent=d,c[d]=u,t.addEventListener(a,u,o)}function j(t,e,i,n,s){const o=S(e[i],n,s);o&&(t.removeEventListener(i,o,Boolean(s)),delete e[i][o.uidEvent])}function M(t){return t=t.replace(E,""),C[t]||t}const P={on(t,e,i,n){N(t,e,i,n,!1)},one(t,e,i,n){N(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[s,o,r]=I(e,i,n),a=r!==e,l=D(t),c=e.startsWith(".");if(void 0!==o){if(!l||!l[r])return;return void j(t,l,r,o,s?i:null)}c&&Object.keys(l).forEach(i=>{!function(t,e,i,n){const s=e[i]||{};Object.keys(s).forEach(o=>{if(o.includes(n)){const n=s[o];j(t,e,i,n.originalHandler,n.delegationSelector)}})}(t,l,i,e.slice(1))});const h=l[r]||{};Object.keys(h).forEach(i=>{const n=i.replace(A,"");if(!a||e.includes(n)){const e=h[i];j(t,l,r,e.originalHandler,e.delegationSelector)}})},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=p(),s=M(e),o=e!==s,r=L.has(s);let a,l=!0,c=!0,h=!1,d=null;return o&&n&&(a=n.Event(e,i),n(t).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),h=a.isDefaultPrevented()),r?(d=document.createEvent("HTMLEvents"),d.initEvent(s,l,!0)):d=new CustomEvent(e,{bubbles:l,cancelable:!0}),void 0!==i&&Object.keys(i).forEach(t=>{Object.defineProperty(d,t,{get:()=>i[t]})}),h&&d.preventDefault(),c&&t.dispatchEvent(d),d.defaultPrevented&&void 0!==a&&a.preventDefault(),d}},H=new Map;var R={set(t,e,i){H.has(t)||H.set(t,new Map);const n=H.get(t);n.has(e)||0===n.size?n.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(t,e)=>H.has(t)&&H.get(t).get(e)||null,remove(t,e){if(!H.has(t))return;const i=H.get(t);i.delete(e),0===i.size&&H.delete(t)}};class B{constructor(t){(t=a(t))&&(this._element=t,R.set(this._element,this.constructor.DATA_KEY,this))}dispose(){R.remove(this._element,this.constructor.DATA_KEY),P.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(t=>{this[t]=null})}_queueCallback(t,e,i=!0){v(t,e,i)}static getInstance(t){return R.get(t,this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.0.2"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}}class W extends B{static get NAME(){return"alert"}close(t){const e=t?this._getRootElement(t):this._element,i=this._triggerCloseEvent(e);null===i||i.defaultPrevented||this._removeElement(e)}_getRootElement(t){return s(t)||t.closest(".alert")}_triggerCloseEvent(t){return P.trigger(t,"close.bs.alert")}_removeElement(t){t.classList.remove("show");const e=t.classList.contains("fade");this._queueCallback(()=>this._destroyElement(t),t,e)}_destroyElement(t){t.remove(),P.trigger(t,"closed.bs.alert")}static jQueryInterface(t){return this.each((function(){const e=W.getOrCreateInstance(this);"close"===t&&e[t](this)}))}static handleDismiss(t){return function(e){e&&e.preventDefault(),t.close(this)}}}P.on(document,"click.bs.alert.data-api",'[data-bs-dismiss="alert"]',W.handleDismiss(new W)),_(W);class q extends B{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=q.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}function z(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function $(t){return t.replace(/[A-Z]/g,t=>"-"+t.toLowerCase())}P.on(document,"click.bs.button.data-api",'[data-bs-toggle="button"]',t=>{t.preventDefault();const e=t.target.closest('[data-bs-toggle="button"]');q.getOrCreateInstance(e).toggle()}),_(q);const U={setDataAttribute(t,e,i){t.setAttribute("data-bs-"+$(e),i)},removeDataAttribute(t,e){t.removeAttribute("data-bs-"+$(e))},getDataAttributes(t){if(!t)return{};const e={};return Object.keys(t.dataset).filter(t=>t.startsWith("bs")).forEach(i=>{let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=z(t.dataset[i])}),e},getDataAttribute:(t,e)=>z(t.getAttribute("data-bs-"+$(e))),offset(t){const e=t.getBoundingClientRect();return{top:e.top+document.body.scrollTop,left:e.left+document.body.scrollLeft}},position:t=>({top:t.offsetTop,left:t.offsetLeft})},F={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},V={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},K="next",X="prev",Y="left",Q="right",G={ArrowLeft:Q,ArrowRight:Y};class Z extends B{constructor(e,i){super(e),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(i),this._indicatorsElement=t.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return F}static get NAME(){return"carousel"}next(){this._slide(K)}nextWhenVisible(){!document.hidden&&c(this._element)&&this.next()}prev(){this._slide(X)}pause(e){e||(this._isPaused=!0),t.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(o(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(e){this._activeElement=t.findOne(".active.carousel-item",this._element);const i=this._getItemIndex(this._activeElement);if(e>this._items.length-1||e<0)return;if(this._isSliding)return void P.one(this._element,"slid.bs.carousel",()=>this.to(e));if(i===e)return this.pause(),void this.cycle();const n=e>i?K:X;this._slide(n,this._items[e])}_getConfig(t){return t={...F,...U.getDataAttributes(this._element),..."object"==typeof t?t:{}},l("carousel",t,V),t}_handleSwipe(){const t=Math.abs(this.touchDeltaX);if(t<=40)return;const e=t/this.touchDeltaX;this.touchDeltaX=0,e&&this._slide(e>0?Q:Y)}_addEventListeners(){this._config.keyboard&&P.on(this._element,"keydown.bs.carousel",t=>this._keydown(t)),"hover"===this._config.pause&&(P.on(this._element,"mouseenter.bs.carousel",t=>this.pause(t)),P.on(this._element,"mouseleave.bs.carousel",t=>this.cycle(t))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=t=>{!this._pointerEvent||"pen"!==t.pointerType&&"touch"!==t.pointerType?this._pointerEvent||(this.touchStartX=t.touches[0].clientX):this.touchStartX=t.clientX},i=t=>{this.touchDeltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this.touchStartX},n=t=>{!this._pointerEvent||"pen"!==t.pointerType&&"touch"!==t.pointerType||(this.touchDeltaX=t.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(t=>this.cycle(t),500+this._config.interval))};t.find(".carousel-item img",this._element).forEach(t=>{P.on(t,"dragstart.bs.carousel",t=>t.preventDefault())}),this._pointerEvent?(P.on(this._element,"pointerdown.bs.carousel",t=>e(t)),P.on(this._element,"pointerup.bs.carousel",t=>n(t)),this._element.classList.add("pointer-event")):(P.on(this._element,"touchstart.bs.carousel",t=>e(t)),P.on(this._element,"touchmove.bs.carousel",t=>i(t)),P.on(this._element,"touchend.bs.carousel",t=>n(t)))}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=G[t.key];e&&(t.preventDefault(),this._slide(e))}_getItemIndex(e){return this._items=e&&e.parentNode?t.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(t,e){const i=t===K;return y(this._items,e,i,this._config.wrap)}_triggerSlideEvent(e,i){const n=this._getItemIndex(e),s=this._getItemIndex(t.findOne(".active.carousel-item",this._element));return P.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:i,from:s,to:n})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const i=t.findOne(".active",this._indicatorsElement);i.classList.remove("active"),i.removeAttribute("aria-current");const n=t.find("[data-bs-target]",this._indicatorsElement);for(let t=0;t{P.trigger(this._element,"slid.bs.carousel",{relatedTarget:r,direction:u,from:o,to:a})};if(this._element.classList.contains("slide")){r.classList.add(d),f(r),s.classList.add(h),r.classList.add(h);const t=()=>{r.classList.remove(h,d),r.classList.add("active"),s.classList.remove("active",d,h),this._isSliding=!1,setTimeout(p,0)};this._queueCallback(t,s,!0)}else s.classList.remove("active"),r.classList.add("active"),this._isSliding=!1,p();l&&this.cycle()}_directionToOrder(t){return[Q,Y].includes(t)?g()?t===Y?X:K:t===Y?K:X:t}_orderToDirection(t){return[K,X].includes(t)?g()?t===X?Y:Q:t===X?Q:Y:t}static carouselInterface(t,e){const i=Z.getOrCreateInstance(t,e);let{_config:n}=i;"object"==typeof e&&(n={...n,...e});const s="string"==typeof e?e:n.slide;if("number"==typeof e)i.to(e);else if("string"==typeof s){if(void 0===i[s])throw new TypeError(`No method named "${s}"`);i[s]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}static jQueryInterface(t){return this.each((function(){Z.carouselInterface(this,t)}))}static dataApiClickHandler(t){const e=s(this);if(!e||!e.classList.contains("carousel"))return;const i={...U.getDataAttributes(e),...U.getDataAttributes(this)},n=this.getAttribute("data-bs-slide-to");n&&(i.interval=!1),Z.carouselInterface(e,i),n&&Z.getInstance(e).to(n),t.preventDefault()}}P.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",Z.dataApiClickHandler),P.on(window,"load.bs.carousel.data-api",()=>{const e=t.find('[data-bs-ride="carousel"]');for(let t=0,i=e.length;tt===this._element);null!==o&&r.length&&(this._selector=o,this._triggerArray.push(i))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}static get Default(){return J}static get NAME(){return"collapse"}toggle(){this._element.classList.contains("show")?this.hide():this.show()}show(){if(this._isTransitioning||this._element.classList.contains("show"))return;let e,i;this._parent&&(e=t.find(".show, .collapsing",this._parent).filter(t=>"string"==typeof this._config.parent?t.getAttribute("data-bs-parent")===this._config.parent:t.classList.contains("collapse")),0===e.length&&(e=null));const n=t.findOne(this._selector);if(e){const t=e.find(t=>n!==t);if(i=t?et.getInstance(t):null,i&&i._isTransitioning)return}if(P.trigger(this._element,"show.bs.collapse").defaultPrevented)return;e&&e.forEach(t=>{n!==t&&et.collapseInterface(t,"hide"),i||R.set(t,"bs.collapse",null)});const s=this._getDimension();this._element.classList.remove("collapse"),this._element.classList.add("collapsing"),this._element.style[s]=0,this._triggerArray.length&&this._triggerArray.forEach(t=>{t.classList.remove("collapsed"),t.setAttribute("aria-expanded",!0)}),this.setTransitioning(!0);const o="scroll"+(s[0].toUpperCase()+s.slice(1));this._queueCallback(()=>{this._element.classList.remove("collapsing"),this._element.classList.add("collapse","show"),this._element.style[s]="",this.setTransitioning(!1),P.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[s]=this._element[o]+"px"}hide(){if(this._isTransitioning||!this._element.classList.contains("show"))return;if(P.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",f(this._element),this._element.classList.add("collapsing"),this._element.classList.remove("collapse","show");const e=this._triggerArray.length;if(e>0)for(let t=0;t{this.setTransitioning(!1),this._element.classList.remove("collapsing"),this._element.classList.add("collapse"),P.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}setTransitioning(t){this._isTransitioning=t}_getConfig(t){return(t={...J,...t}).toggle=Boolean(t.toggle),l("collapse",t,tt),t}_getDimension(){return this._element.classList.contains("width")?"width":"height"}_getParent(){let{parent:e}=this._config;e=a(e);const i=`[data-bs-toggle="collapse"][data-bs-parent="${e}"]`;return t.find(i,e).forEach(t=>{const e=s(t);this._addAriaAndCollapsedClass(e,[t])}),e}_addAriaAndCollapsedClass(t,e){if(!t||!e.length)return;const i=t.classList.contains("show");e.forEach(t=>{i?t.classList.remove("collapsed"):t.classList.add("collapsed"),t.setAttribute("aria-expanded",i)})}static collapseInterface(t,e){let i=et.getInstance(t);const n={...J,...U.getDataAttributes(t),..."object"==typeof e&&e?e:{}};if(!i&&n.toggle&&"string"==typeof e&&/show|hide/.test(e)&&(n.toggle=!1),i||(i=new et(t,n)),"string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}}static jQueryInterface(t){return this.each((function(){et.collapseInterface(this,t)}))}}P.on(document,"click.bs.collapse.data-api",'[data-bs-toggle="collapse"]',(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const i=U.getDataAttributes(this),s=n(this);t.find(s).forEach(t=>{const e=et.getInstance(t);let n;e?(null===e._parent&&"string"==typeof i.parent&&(e._config.parent=i.parent,e._parent=e._getParent()),n="toggle"):n=i,et.collapseInterface(t,n)})})),_(et);var it="top",nt="bottom",st="right",ot="left",rt=[it,nt,st,ot],at=rt.reduce((function(t,e){return t.concat([e+"-start",e+"-end"])}),[]),lt=[].concat(rt,["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),ct=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ht(t){return t?(t.nodeName||"").toLowerCase():null}function dt(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function ut(t){return t instanceof dt(t).Element||t instanceof Element}function ft(t){return t instanceof dt(t).HTMLElement||t instanceof HTMLElement}function pt(t){return"undefined"!=typeof ShadowRoot&&(t instanceof dt(t).ShadowRoot||t instanceof ShadowRoot)}var mt={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},s=e.elements[t];ft(s)&&ht(s)&&(Object.assign(s.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],s=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});ft(n)&&ht(n)&&(Object.assign(n.style,o),Object.keys(s).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]};function gt(t){return t.split("-")[0]}function _t(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function bt(t){var e=_t(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function vt(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&pt(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function yt(t){return dt(t).getComputedStyle(t)}function wt(t){return["table","td","th"].indexOf(ht(t))>=0}function Et(t){return((ut(t)?t.ownerDocument:t.document)||window.document).documentElement}function At(t){return"html"===ht(t)?t:t.assignedSlot||t.parentNode||(pt(t)?t.host:null)||Et(t)}function Tt(t){return ft(t)&&"fixed"!==yt(t).position?t.offsetParent:null}function Ot(t){for(var e=dt(t),i=Tt(t);i&&wt(i)&&"static"===yt(i).position;)i=Tt(i);return i&&("html"===ht(i)||"body"===ht(i)&&"static"===yt(i).position)?e:i||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&ft(t)&&"fixed"===yt(t).position)return null;for(var i=At(t);ft(i)&&["html","body"].indexOf(ht(i))<0;){var n=yt(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function Ct(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}var kt=Math.max,Lt=Math.min,xt=Math.round;function Dt(t,e,i){return kt(t,Lt(e,i))}function St(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function It(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}var Nt={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,s=t.options,o=i.elements.arrow,r=i.modifiersData.popperOffsets,a=gt(i.placement),l=Ct(a),c=[ot,st].indexOf(a)>=0?"height":"width";if(o&&r){var h=function(t,e){return St("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:It(t,rt))}(s.padding,i),d=bt(o),u="y"===l?it:ot,f="y"===l?nt:st,p=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],m=r[l]-i.rects.reference[l],g=Ot(o),_=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=p/2-m/2,v=h[u],y=_-d[c]-h[f],w=_/2-d[c]/2+b,E=Dt(v,w,y),A=l;i.modifiersData[n]=((e={})[A]=E,e.centerOffset=E-w,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&vt(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},jt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Mt(t){var e,i=t.popper,n=t.popperRect,s=t.placement,o=t.offsets,r=t.position,a=t.gpuAcceleration,l=t.adaptive,c=t.roundOffsets,h=!0===c?function(t){var e=t.x,i=t.y,n=window.devicePixelRatio||1;return{x:xt(xt(e*n)/n)||0,y:xt(xt(i*n)/n)||0}}(o):"function"==typeof c?c(o):o,d=h.x,u=void 0===d?0:d,f=h.y,p=void 0===f?0:f,m=o.hasOwnProperty("x"),g=o.hasOwnProperty("y"),_=ot,b=it,v=window;if(l){var y=Ot(i),w="clientHeight",E="clientWidth";y===dt(i)&&"static"!==yt(y=Et(i)).position&&(w="scrollHeight",E="scrollWidth"),y=y,s===it&&(b=nt,p-=y[w]-n.height,p*=a?1:-1),s===ot&&(_=st,u-=y[E]-n.width,u*=a?1:-1)}var A,T=Object.assign({position:r},l&&jt);return a?Object.assign({},T,((A={})[b]=g?"0":"",A[_]=m?"0":"",A.transform=(v.devicePixelRatio||1)<2?"translate("+u+"px, "+p+"px)":"translate3d("+u+"px, "+p+"px, 0)",A)):Object.assign({},T,((e={})[b]=g?p+"px":"",e[_]=m?u+"px":"",e.transform="",e))}var Pt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,s=void 0===n||n,o=i.adaptive,r=void 0===o||o,a=i.roundOffsets,l=void 0===a||a,c={placement:gt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Mt(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Mt(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},Ht={passive:!0},Rt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,l=dt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",i.update,Ht)})),a&&l.addEventListener("resize",i.update,Ht),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",i.update,Ht)})),a&&l.removeEventListener("resize",i.update,Ht)}},data:{}},Bt={left:"right",right:"left",bottom:"top",top:"bottom"};function Wt(t){return t.replace(/left|right|bottom|top/g,(function(t){return Bt[t]}))}var qt={start:"end",end:"start"};function zt(t){return t.replace(/start|end/g,(function(t){return qt[t]}))}function $t(t){var e=dt(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ut(t){return _t(Et(t)).left+$t(t).scrollLeft}function Ft(t){var e=yt(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Vt(t,e){var i;void 0===e&&(e=[]);var n=function t(e){return["html","body","#document"].indexOf(ht(e))>=0?e.ownerDocument.body:ft(e)&&Ft(e)?e:t(At(e))}(t),s=n===(null==(i=t.ownerDocument)?void 0:i.body),o=dt(n),r=s?[o].concat(o.visualViewport||[],Ft(n)?n:[]):n,a=e.concat(r);return s?a:a.concat(Vt(At(r)))}function Kt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Xt(t,e){return"viewport"===e?Kt(function(t){var e=dt(t),i=Et(t),n=e.visualViewport,s=i.clientWidth,o=i.clientHeight,r=0,a=0;return n&&(s=n.width,o=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=n.offsetLeft,a=n.offsetTop)),{width:s,height:o,x:r+Ut(t),y:a}}(t)):ft(e)?function(t){var e=_t(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):Kt(function(t){var e,i=Et(t),n=$t(t),s=null==(e=t.ownerDocument)?void 0:e.body,o=kt(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=kt(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+Ut(t),l=-n.scrollTop;return"rtl"===yt(s||i).direction&&(a+=kt(i.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(Et(t)))}function Yt(t){return t.split("-")[1]}function Qt(t){var e,i=t.reference,n=t.element,s=t.placement,o=s?gt(s):null,r=s?Yt(s):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(o){case it:e={x:a,y:i.y-n.height};break;case nt:e={x:a,y:i.y+i.height};break;case st:e={x:i.x+i.width,y:l};break;case ot:e={x:i.x-n.width,y:l};break;default:e={x:i.x,y:i.y}}var c=o?Ct(o):null;if(null!=c){var h="y"===c?"height":"width";switch(r){case"start":e[c]=e[c]-(i[h]/2-n[h]/2);break;case"end":e[c]=e[c]+(i[h]/2-n[h]/2)}}return e}function Gt(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=void 0===n?t.placement:n,o=i.boundary,r=void 0===o?"clippingParents":o,a=i.rootBoundary,l=void 0===a?"viewport":a,c=i.elementContext,h=void 0===c?"popper":c,d=i.altBoundary,u=void 0!==d&&d,f=i.padding,p=void 0===f?0:f,m=St("number"!=typeof p?p:It(p,rt)),g="popper"===h?"reference":"popper",_=t.elements.reference,b=t.rects.popper,v=t.elements[u?g:h],y=function(t,e,i){var n="clippingParents"===e?function(t){var e=Vt(At(t)),i=["absolute","fixed"].indexOf(yt(t).position)>=0&&ft(t)?Ot(t):t;return ut(i)?e.filter((function(t){return ut(t)&&vt(t,i)&&"body"!==ht(t)})):[]}(t):[].concat(e),s=[].concat(n,[i]),o=s[0],r=s.reduce((function(e,i){var n=Xt(t,i);return e.top=kt(n.top,e.top),e.right=Lt(n.right,e.right),e.bottom=Lt(n.bottom,e.bottom),e.left=kt(n.left,e.left),e}),Xt(t,o));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}(ut(v)?v:v.contextElement||Et(t.elements.popper),r,l),w=_t(_),E=Qt({reference:w,element:b,strategy:"absolute",placement:s}),A=Kt(Object.assign({},b,E)),T="popper"===h?A:w,O={top:y.top-T.top+m.top,bottom:T.bottom-y.bottom+m.bottom,left:y.left-T.left+m.left,right:T.right-y.right+m.right},C=t.modifiersData.offset;if("popper"===h&&C){var k=C[s];Object.keys(O).forEach((function(t){var e=[st,nt].indexOf(t)>=0?1:-1,i=[it,nt].indexOf(t)>=0?"y":"x";O[t]+=k[i]*e}))}return O}function Zt(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=i.boundary,o=i.rootBoundary,r=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?lt:l,h=Yt(n),d=h?a?at:at.filter((function(t){return Yt(t)===h})):rt,u=d.filter((function(t){return c.indexOf(t)>=0}));0===u.length&&(u=d);var f=u.reduce((function(e,i){return e[i]=Gt(t,{placement:i,boundary:s,rootBoundary:o,padding:r})[gt(i)],e}),{});return Object.keys(f).sort((function(t,e){return f[t]-f[e]}))}var Jt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0===r||r,l=i.fallbackPlacements,c=i.padding,h=i.boundary,d=i.rootBoundary,u=i.altBoundary,f=i.flipVariations,p=void 0===f||f,m=i.allowedAutoPlacements,g=e.options.placement,_=gt(g),b=l||(_!==g&&p?function(t){if("auto"===gt(t))return[];var e=Wt(t);return[zt(t),e,zt(e)]}(g):[Wt(g)]),v=[g].concat(b).reduce((function(t,i){return t.concat("auto"===gt(i)?Zt(e,{placement:i,boundary:h,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}):i)}),[]),y=e.rects.reference,w=e.rects.popper,E=new Map,A=!0,T=v[0],O=0;O=0,D=x?"width":"height",S=Gt(e,{placement:C,boundary:h,rootBoundary:d,altBoundary:u,padding:c}),I=x?L?st:ot:L?nt:it;y[D]>w[D]&&(I=Wt(I));var N=Wt(I),j=[];if(o&&j.push(S[k]<=0),a&&j.push(S[I]<=0,S[N]<=0),j.every((function(t){return t}))){T=C,A=!1;break}E.set(C,j)}if(A)for(var M=function(t){var e=v.find((function(e){var i=E.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return T=e,"break"},P=p?3:1;P>0&&"break"!==M(P);P--);e.placement!==T&&(e.modifiersData[n]._skip=!0,e.placement=T,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function te(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function ee(t){return[it,st,nt,ot].some((function(e){return t[e]>=0}))}var ie={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,r=Gt(e,{elementContext:"reference"}),a=Gt(e,{altBoundary:!0}),l=te(r,n),c=te(a,s,o),h=ee(l),d=ee(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":d})}},ne={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.offset,o=void 0===s?[0,0]:s,r=lt.reduce((function(t,i){return t[i]=function(t,e,i){var n=gt(t),s=[ot,it].indexOf(n)>=0?-1:1,o="function"==typeof i?i(Object.assign({},e,{placement:t})):i,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[ot,st].indexOf(n)>=0?{x:a,y:r}:{x:r,y:a}}(i,e.rects,o),t}),{}),a=r[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=r}},se={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=Qt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},oe={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,h=i.altBoundary,d=i.padding,u=i.tether,f=void 0===u||u,p=i.tetherOffset,m=void 0===p?0:p,g=Gt(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:h}),_=gt(e.placement),b=Yt(e.placement),v=!b,y=Ct(_),w="x"===y?"y":"x",E=e.modifiersData.popperOffsets,A=e.rects.reference,T=e.rects.popper,O="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,C={x:0,y:0};if(E){if(o||a){var k="y"===y?it:ot,L="y"===y?nt:st,x="y"===y?"height":"width",D=E[y],S=E[y]+g[k],I=E[y]-g[L],N=f?-T[x]/2:0,j="start"===b?A[x]:T[x],M="start"===b?-T[x]:-A[x],P=e.elements.arrow,H=f&&P?bt(P):{width:0,height:0},R=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=R[k],W=R[L],q=Dt(0,A[x],H[x]),z=v?A[x]/2-N-q-B-O:j-q-B-O,$=v?-A[x]/2+N+q+W+O:M+q+W+O,U=e.elements.arrow&&Ot(e.elements.arrow),F=U?"y"===y?U.clientTop||0:U.clientLeft||0:0,V=e.modifiersData.offset?e.modifiersData.offset[e.placement][y]:0,K=E[y]+z-V-F,X=E[y]+$-V;if(o){var Y=Dt(f?Lt(S,K):S,D,f?kt(I,X):I);E[y]=Y,C[y]=Y-D}if(a){var Q="x"===y?it:ot,G="x"===y?nt:st,Z=E[w],J=Z+g[Q],tt=Z-g[G],et=Dt(f?Lt(J,K):J,Z,f?kt(tt,X):tt);E[w]=et,C[w]=et-Z}}e.modifiersData[n]=C}},requiresIfExists:["offset"]};function re(t,e,i){void 0===i&&(i=!1);var n,s,o=Et(e),r=_t(t),a=ft(e),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(a||!a&&!i)&&(("body"!==ht(e)||Ft(o))&&(l=(n=e)!==dt(n)&&ft(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:$t(n)),ft(e)?((c=_t(e)).x+=e.clientLeft,c.y+=e.clientTop):o&&(c.x=Ut(o))),{x:r.left+l.scrollLeft-c.x,y:r.top+l.scrollTop-c.y,width:r.width,height:r.height}}var ae={placement:"bottom",modifiers:[],strategy:"absolute"};function le(){for(var t=arguments.length,e=new Array(t),i=0;i"applyStyles"===t.name&&!1===t.enabled);this._popper=ue(e,this._menu,i),n&&U.setDataAttribute(this._menu,"popper","static")}"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&[].concat(...document.body.children).forEach(t=>P.on(t,"mouseover",u)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.toggle("show"),this._element.classList.toggle("show"),P.trigger(this._element,"shown.bs.dropdown",e)}}hide(){if(h(this._element)||!this._menu.classList.contains("show"))return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_addEventListeners(){P.on(this._element,"click.bs.dropdown",t=>{t.preventDefault(),this.toggle()})}_completeHide(t){P.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>P.off(t,"mouseover",u)),this._popper&&this._popper.destroy(),this._menu.classList.remove("show"),this._element.classList.remove("show"),this._element.setAttribute("aria-expanded","false"),U.removeDataAttribute(this._menu,"popper"),P.trigger(this._element,"hidden.bs.dropdown",t))}_getConfig(t){if(t={...this.constructor.Default,...U.getDataAttributes(this._element),...t},l("dropdown",t,this.constructor.DefaultType),"object"==typeof t.reference&&!r(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError("dropdown".toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.');return t}_getMenuElement(){return t.next(this._element,".dropdown-menu")[0]}_getPlacement(){const t=this._element.parentNode;if(t.classList.contains("dropend"))return ve;if(t.classList.contains("dropstart"))return ye;const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?ge:me:e?be:_e}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:e,target:i}){const n=t.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(c);n.length&&y(n,i,"ArrowDown"===e,!n.includes(i)).focus()}static dropdownInterface(t,e){const i=Ae.getOrCreateInstance(t,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}}static jQueryInterface(t){return this.each((function(){Ae.dropdownInterface(this,t)}))}static clearMenus(e){if(e&&(2===e.button||"keyup"===e.type&&"Tab"!==e.key))return;const i=t.find('[data-bs-toggle="dropdown"]');for(let t=0,n=i.length;tthis.matches('[data-bs-toggle="dropdown"]')?this:t.prev(this,'[data-bs-toggle="dropdown"]')[0];return"Escape"===e.key?(n().focus(),void Ae.clearMenus()):"ArrowUp"===e.key||"ArrowDown"===e.key?(i||n().click(),void Ae.getInstance(n())._selectMenuItem(e)):void(i&&"Space"!==e.key||Ae.clearMenus())}}P.on(document,"keydown.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',Ae.dataApiKeydownHandler),P.on(document,"keydown.bs.dropdown.data-api",".dropdown-menu",Ae.dataApiKeydownHandler),P.on(document,"click.bs.dropdown.data-api",Ae.clearMenus),P.on(document,"keyup.bs.dropdown.data-api",Ae.clearMenus),P.on(document,"click.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',(function(t){t.preventDefault(),Ae.dropdownInterface(this)})),_(Ae);class Te{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",e=>e+t),this._setElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight",e=>e+t),this._setElementAttributes(".sticky-top","marginRight",e=>e-t)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();this._applyManipulationCallback(t,t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n)return;this._saveInitialAttribute(t,e);const s=window.getComputedStyle(t)[e];t.style[e]=i(Number.parseFloat(s))+"px"})}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight"),this._resetElementAttributes(".sticky-top","marginRight")}_saveInitialAttribute(t,e){const i=t.style[e];i&&U.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,t=>{const i=U.getDataAttribute(t,e);void 0===i?t.style.removeProperty(e):(U.removeDataAttribute(t,e),t.style[e]=i)})}_applyManipulationCallback(e,i){r(e)?i(e):t.find(e,this._element).forEach(i)}isOverflowing(){return this.getWidth()>0}}const Oe={isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},Ce={isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"};class ke{constructor(t){this._config=this._getConfig(t),this._isAppended=!1,this._element=null}show(t){this._config.isVisible?(this._append(),this._config.isAnimated&&f(this._getElement()),this._getElement().classList.add("show"),this._emulateAnimation(()=>{b(t)})):b(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),b(t)})):b(t)}_getElement(){if(!this._element){const t=document.createElement("div");t.className="modal-backdrop",this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_getConfig(t){return(t={...Oe,..."object"==typeof t?t:{}}).rootElement=a(t.rootElement),l("backdrop",t,Ce),t}_append(){this._isAppended||(this._config.rootElement.appendChild(this._getElement()),P.on(this._getElement(),"mousedown.bs.backdrop",()=>{b(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(P.off(this._element,"mousedown.bs.backdrop"),this._element.remove(),this._isAppended=!1)}_emulateAnimation(t){v(t,this._getElement(),this._config.isAnimated)}}const Le={backdrop:!0,keyboard:!0,focus:!0},xe={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"};class De extends B{constructor(e,i){super(e),this._config=this._getConfig(i),this._dialog=t.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new Te}static get Default(){return Le}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||P.trigger(this._element,"show.bs.modal",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add("modal-open"),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),P.on(this._element,"click.dismiss.bs.modal",'[data-bs-dismiss="modal"]',t=>this.hide(t)),P.on(this._dialog,"mousedown.dismiss.bs.modal",()=>{P.one(this._element,"mouseup.dismiss.bs.modal",t=>{t.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(t)))}hide(t){if(t&&["A","AREA"].includes(t.target.tagName)&&t.preventDefault(),!this._isShown||this._isTransitioning)return;if(P.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),P.off(document,"focusin.bs.modal"),this._element.classList.remove("show"),P.off(this._element,"click.dismiss.bs.modal"),P.off(this._dialog,"mousedown.dismiss.bs.modal"),this._queueCallback(()=>this._hideModal(),this._element,e)}dispose(){[window,this._dialog].forEach(t=>P.off(t,".bs.modal")),this._backdrop.dispose(),super.dispose(),P.off(document,"focusin.bs.modal")}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ke({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_getConfig(t){return t={...Le,...U.getDataAttributes(this._element),..."object"==typeof t?t:{}},l("modal",t,xe),t}_showElement(e){const i=this._isAnimated(),n=t.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,n&&(n.scrollTop=0),i&&f(this._element),this._element.classList.add("show"),this._config.focus&&this._enforceFocus(),this._queueCallback(()=>{this._config.focus&&this._element.focus(),this._isTransitioning=!1,P.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,i)}_enforceFocus(){P.off(document,"focusin.bs.modal"),P.on(document,"focusin.bs.modal",t=>{document===t.target||this._element===t.target||this._element.contains(t.target)||this._element.focus()})}_setEscapeEvent(){this._isShown?P.on(this._element,"keydown.dismiss.bs.modal",t=>{this._config.keyboard&&"Escape"===t.key?(t.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==t.key||this._triggerBackdropTransition()}):P.off(this._element,"keydown.dismiss.bs.modal")}_setResizeEvent(){this._isShown?P.on(window,"resize.bs.modal",()=>this._adjustDialog()):P.off(window,"resize.bs.modal")}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove("modal-open"),this._resetAdjustments(),this._scrollBar.reset(),P.trigger(this._element,"hidden.bs.modal")})}_showBackdrop(t){P.on(this._element,"click.dismiss.bs.modal",t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())}),this._backdrop.show(t)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(P.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:t,scrollHeight:e,style:i}=this._element,n=e>document.documentElement.clientHeight;!n&&"hidden"===i.overflowY||t.contains("modal-static")||(n||(i.overflowY="hidden"),t.add("modal-static"),this._queueCallback(()=>{t.remove("modal-static"),n||this._queueCallback(()=>{i.overflowY=""},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;(!i&&t&&!g()||i&&!t&&g())&&(this._element.style.paddingLeft=e+"px"),(i&&!t&&!g()||!i&&t&&g())&&(this._element.style.paddingRight=e+"px")}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=De.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t](e)}}))}}P.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(t){const e=s(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),P.one(e,"show.bs.modal",t=>{t.defaultPrevented||P.one(e,"hidden.bs.modal",()=>{c(this)&&this.focus()})}),De.getOrCreateInstance(e).toggle(this)})),_(De);const Se={backdrop:!0,keyboard:!0,scroll:!1},Ie={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"};class Ne extends B{constructor(t,e){super(t),this._config=this._getConfig(e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._addEventListeners()}static get NAME(){return"offcanvas"}static get Default(){return Se}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||P.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||((new Te).hide(),this._enforceFocusOnElement(this._element)),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show"),this._queueCallback(()=>{P.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&(P.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(P.off(document,"focusin.bs.offcanvas"),this._element.blur(),this._isShown=!1,this._element.classList.remove("show"),this._backdrop.hide(),this._queueCallback(()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new Te).reset(),P.trigger(this._element,"hidden.bs.offcanvas")},this._element,!0)))}dispose(){this._backdrop.dispose(),super.dispose(),P.off(document,"focusin.bs.offcanvas")}_getConfig(t){return t={...Se,...U.getDataAttributes(this._element),..."object"==typeof t?t:{}},l("offcanvas",t,Ie),t}_initializeBackDrop(){return new ke({isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_enforceFocusOnElement(t){P.off(document,"focusin.bs.offcanvas"),P.on(document,"focusin.bs.offcanvas",e=>{document===e.target||t===e.target||t.contains(e.target)||t.focus()}),t.focus()}_addEventListeners(){P.on(this._element,"click.dismiss.bs.offcanvas",'[data-bs-dismiss="offcanvas"]',()=>this.hide()),P.on(this._element,"keydown.dismiss.bs.offcanvas",t=>{this._config.keyboard&&"Escape"===t.key&&this.hide()})}static jQueryInterface(t){return this.each((function(){const e=Ne.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}P.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(e){const i=s(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),h(this))return;P.one(i,"hidden.bs.offcanvas",()=>{c(this)&&this.focus()});const n=t.findOne(".offcanvas.show");n&&n!==i&&Ne.getInstance(n).hide(),Ne.getOrCreateInstance(i).toggle(this)})),P.on(window,"load.bs.offcanvas.data-api",()=>t.find(".offcanvas.show").forEach(t=>Ne.getOrCreateInstance(t).show())),_(Ne);const je=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Me=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i,Pe=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,He=(t,e)=>{const i=t.nodeName.toLowerCase();if(e.includes(i))return!je.has(i)||Boolean(Me.test(t.nodeValue)||Pe.test(t.nodeValue));const n=e.filter(t=>t instanceof RegExp);for(let t=0,e=n.length;t{He(t,a)||i.removeAttribute(t.nodeName)})}return n.body.innerHTML}const Be=new RegExp("(^|\\s)bs-tooltip\\S+","g"),We=new Set(["sanitize","allowList","sanitizeFn"]),qe={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},ze={AUTO:"auto",TOP:"top",RIGHT:g()?"left":"right",BOTTOM:"bottom",LEFT:g()?"right":"left"},$e={animation:!0,template:'',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},Ue={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"};class Fe extends B{constructor(t,e){if(void 0===fe)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(e),this.tip=null,this._setListeners()}static get Default(){return $e}static get NAME(){return"tooltip"}static get Event(){return Ue}static get DefaultType(){return qe}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const e=this._initializeOnDelegatedTarget(t);e._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)}else{if(this.getTipElement().classList.contains("show"))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),P.off(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.remove(),this._popper&&this._popper.destroy(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const t=P.trigger(this._element,this.constructor.Event.SHOW),i=d(this._element),n=null===i?this._element.ownerDocument.documentElement.contains(this._element):i.contains(this._element);if(t.defaultPrevented||!n)return;const s=this.getTipElement(),o=e(this.constructor.NAME);s.setAttribute("id",o),this._element.setAttribute("aria-describedby",o),this.setContent(),this._config.animation&&s.classList.add("fade");const r="function"==typeof this._config.placement?this._config.placement.call(this,s,this._element):this._config.placement,a=this._getAttachment(r);this._addAttachmentClass(a);const{container:l}=this._config;R.set(s,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(l.appendChild(s),P.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=ue(this._element,s,this._getPopperConfig(a)),s.classList.add("show");const c="function"==typeof this._config.customClass?this._config.customClass():this._config.customClass;c&&s.classList.add(...c.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>{P.on(t,"mouseover",u)});const h=this.tip.classList.contains("fade");this._queueCallback(()=>{const t=this._hoverState;this._hoverState=null,P.trigger(this._element,this.constructor.Event.SHOWN),"out"===t&&this._leave(null,this)},this.tip,h)}hide(){if(!this._popper)return;const t=this.getTipElement();if(P.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;t.classList.remove("show"),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>P.off(t,"mouseover",u)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const e=this.tip.classList.contains("fade");this._queueCallback(()=>{this._isWithActiveTrigger()||("show"!==this._hoverState&&t.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),P.trigger(this._element,this.constructor.Event.HIDDEN),this._popper&&(this._popper.destroy(),this._popper=null))},this.tip,e),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const t=document.createElement("div");return t.innerHTML=this._config.template,this.tip=t.children[0],this.tip}setContent(){const e=this.getTipElement();this.setElementContent(t.findOne(".tooltip-inner",e),this.getTitle()),e.classList.remove("fade","show")}setElementContent(t,e){if(null!==t)return r(e)?(e=a(e),void(this._config.html?e.parentNode!==t&&(t.innerHTML="",t.appendChild(e)):t.textContent=e.textContent)):void(this._config.html?(this._config.sanitize&&(e=Re(e,this._config.allowList,this._config.sanitizeFn)),t.innerHTML=e):t.textContent=e)}getTitle(){let t=this._element.getAttribute("data-bs-original-title");return t||(t="function"==typeof this._config.title?this._config.title.call(this._element):this._config.title),t}updateAttachment(t){return"right"===t?"end":"left"===t?"start":t}_initializeOnDelegatedTarget(t,e){const i=this.constructor.DATA_KEY;return(e=e||R.get(t.delegateTarget,i))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),R.set(t.delegateTarget,i,e)),e}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:t=>this._handlePopperPlacementChange(t)}],onFirstUpdate:t=>{t.options.placement!==t.placement&&this._handlePopperPlacementChange(t)}};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_addAttachmentClass(t){this.getTipElement().classList.add("bs-tooltip-"+this.updateAttachment(t))}_getAttachment(t){return ze[t.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(t=>{if("click"===t)P.on(this._element,this.constructor.Event.CLICK,this._config.selector,t=>this.toggle(t));else if("manual"!==t){const e="hover"===t?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i="hover"===t?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;P.on(this._element,e,this._config.selector,t=>this._enter(t)),P.on(this._element,i,this._config.selector,t=>this._leave(t))}}),this._hideModalHandler=()=>{this._element&&this.hide()},P.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const t=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-bs-original-title");(t||"string"!==e)&&(this._element.setAttribute("data-bs-original-title",t||""),!t||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""))}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusin"===t.type?"focus":"hover"]=!0),e.getTipElement().classList.contains("show")||"show"===e._hoverState?e._hoverState="show":(clearTimeout(e._timeout),e._hoverState="show",e._config.delay&&e._config.delay.show?e._timeout=setTimeout(()=>{"show"===e._hoverState&&e.show()},e._config.delay.show):e.show())}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?"focus":"hover"]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e._config.delay&&e._config.delay.hide?e._timeout=setTimeout(()=>{"out"===e._hoverState&&e.hide()},e._config.delay.hide):e.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const e=U.getDataAttributes(this._element);return Object.keys(e).forEach(t=>{We.has(t)&&delete e[t]}),(t={...this.constructor.Default,...e,..."object"==typeof t&&t?t:{}}).container=!1===t.container?document.body:a(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),l("tooltip",t,this.constructor.DefaultType),t.sanitize&&(t.template=Re(t.template,t.allowList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};if(this._config)for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t}_cleanTipClass(){const t=this.getTipElement(),e=t.getAttribute("class").match(Be);null!==e&&e.length>0&&e.map(t=>t.trim()).forEach(e=>t.classList.remove(e))}_handlePopperPlacementChange(t){const{state:e}=t;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}static jQueryInterface(t){return this.each((function(){const e=Fe.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}_(Fe);const Ve=new RegExp("(^|\\s)bs-popover\\S+","g"),Ke={...Fe.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:''},Xe={...Fe.DefaultType,content:"(string|element|function)"},Ye={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class Qe extends Fe{static get Default(){return Ke}static get NAME(){return"popover"}static get Event(){return Ye}static get DefaultType(){return Xe}isWithContent(){return this.getTitle()||this._getContent()}getTipElement(){return this.tip||(this.tip=super.getTipElement(),this.getTitle()||t.findOne(".popover-header",this.tip).remove(),this._getContent()||t.findOne(".popover-body",this.tip).remove()),this.tip}setContent(){const e=this.getTipElement();this.setElementContent(t.findOne(".popover-header",e),this.getTitle());let i=this._getContent();"function"==typeof i&&(i=i.call(this._element)),this.setElementContent(t.findOne(".popover-body",e),i),e.classList.remove("fade","show")}_addAttachmentClass(t){this.getTipElement().classList.add("bs-popover-"+this.updateAttachment(t))}_getContent(){return this._element.getAttribute("data-bs-content")||this._config.content}_cleanTipClass(){const t=this.getTipElement(),e=t.getAttribute("class").match(Ve);null!==e&&e.length>0&&e.map(t=>t.trim()).forEach(e=>t.classList.remove(e))}static jQueryInterface(t){return this.each((function(){const e=Qe.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}_(Qe);const Ge={offset:10,method:"auto",target:""},Ze={offset:"number",method:"string",target:"(string|element)"};class Je extends B{constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._selector=`${this._config.target} .nav-link, ${this._config.target} .list-group-item, ${this._config.target} .dropdown-item`,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,P.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return Ge}static get NAME(){return"scrollspy"}refresh(){const e=this._scrollElement===this._scrollElement.window?"offset":"position",i="auto"===this._config.method?e:this._config.method,s="position"===i?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),t.find(this._selector).map(e=>{const o=n(e),r=o?t.findOne(o):null;if(r){const t=r.getBoundingClientRect();if(t.width||t.height)return[U[i](r).top+s,o]}return null}).filter(t=>t).sort((t,e)=>t[0]-e[0]).forEach(t=>{this._offsets.push(t[0]),this._targets.push(t[1])})}dispose(){P.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(t){if("string"!=typeof(t={...Ge,...U.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}}).target&&r(t.target)){let{id:i}=t.target;i||(i=e("scrollspy"),t.target.id=i),t.target="#"+i}return l("scrollspy",t,Ze),t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;)this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(void 0===this._offsets[e+1]||t`${t}[data-bs-target="${e}"],${t}[href="${e}"]`),n=t.findOne(i.join(","));n.classList.contains("dropdown-item")?(t.findOne(".dropdown-toggle",n.closest(".dropdown")).classList.add("active"),n.classList.add("active")):(n.classList.add("active"),t.parents(n,".nav, .list-group").forEach(e=>{t.prev(e,".nav-link, .list-group-item").forEach(t=>t.classList.add("active")),t.prev(e,".nav-item").forEach(e=>{t.children(e,".nav-link").forEach(t=>t.classList.add("active"))})})),P.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})}_clear(){t.find(this._selector).filter(t=>t.classList.contains("active")).forEach(t=>t.classList.remove("active"))}static jQueryInterface(t){return this.each((function(){const e=Je.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}P.on(window,"load.bs.scrollspy.data-api",()=>{t.find('[data-bs-spy="scroll"]').forEach(t=>new Je(t))}),_(Je);class ti extends B{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains("active"))return;let e;const i=s(this._element),n=this._element.closest(".nav, .list-group");if(n){const i="UL"===n.nodeName||"OL"===n.nodeName?":scope > li > .active":".active";e=t.find(i,n),e=e[e.length-1]}const o=e?P.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;if(P.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==o&&o.defaultPrevented)return;this._activate(this._element,n);const r=()=>{P.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),P.trigger(this._element,"shown.bs.tab",{relatedTarget:e})};i?this._activate(i,i.parentNode,r):r()}_activate(e,i,n){const s=(!i||"UL"!==i.nodeName&&"OL"!==i.nodeName?t.children(i,".active"):t.find(":scope > li > .active",i))[0],o=n&&s&&s.classList.contains("fade"),r=()=>this._transitionComplete(e,s,n);s&&o?(s.classList.remove("show"),this._queueCallback(r,e,!0)):r()}_transitionComplete(e,i,n){if(i){i.classList.remove("active");const e=t.findOne(":scope > .dropdown-menu .active",i.parentNode);e&&e.classList.remove("active"),"tab"===i.getAttribute("role")&&i.setAttribute("aria-selected",!1)}e.classList.add("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),f(e),e.classList.contains("fade")&&e.classList.add("show");let s=e.parentNode;if(s&&"LI"===s.nodeName&&(s=s.parentNode),s&&s.classList.contains("dropdown-menu")){const i=e.closest(".dropdown");i&&t.find(".dropdown-toggle",i).forEach(t=>t.classList.add("active")),e.setAttribute("aria-expanded",!0)}n&&n()}static jQueryInterface(t){return this.each((function(){const e=ti.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}P.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),h(this)||ti.getOrCreateInstance(this).show()})),_(ti);const ei={animation:"boolean",autohide:"boolean",delay:"number"},ii={animation:!0,autohide:!0,delay:5e3};class ni extends B{constructor(t,e){super(t),this._config=this._getConfig(e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return ei}static get Default(){return ii}static get NAME(){return"toast"}show(){P.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),f(this._element),this._element.classList.add("showing"),this._queueCallback(()=>{this._element.classList.remove("showing"),this._element.classList.add("show"),P.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this._element.classList.contains("show")&&(P.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.remove("show"),this._queueCallback(()=>{this._element.classList.add("hide"),P.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),super.dispose()}_getConfig(t){return t={...ii,...U.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}},l("toast",t,this.constructor.DefaultType),t}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){P.on(this._element,"click.dismiss.bs.toast",'[data-bs-dismiss="toast"]',()=>this.hide()),P.on(this._element,"mouseover.bs.toast",t=>this._onInteraction(t,!0)),P.on(this._element,"mouseout.bs.toast",t=>this._onInteraction(t,!1)),P.on(this._element,"focusin.bs.toast",t=>this._onInteraction(t,!0)),P.on(this._element,"focusout.bs.toast",t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=ni.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}return _(ni),{Alert:W,Button:q,Carousel:Z,Collapse:et,Dropdown:Ae,Modal:De,Offcanvas:Ne,Popover:Qe,ScrollSpy:Je,Tab:ti,Toast:ni,Tooltip:Fe}})); +//# sourceMappingURL=bootstrap.bundle.min.js.map \ No newline at end of file diff --git a/resources/[standalone]/dpclothingui/ui/js/jquery-3.6.0.min.js b/resources/[standalone]/dpclothingui/ui/js/jquery-3.6.0.min.js new file mode 100644 index 0000000..c4c6022 --- /dev/null +++ b/resources/[standalone]/dpclothingui/ui/js/jquery-3.6.0.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0 i').css('animation', 'unset'); + } + + if (data.action == "update") { + updateclothing(data.cloth); + } + + if (data.action == "update2") { + updateclothing2(data.cloth); + } + + if (data.action == "getallresets") { + restthis(data.cloth); + } + }) +}); + +document.onkeyup = function (event) { + const charCode = event.key; + if (charCode == "Escape") { + $.post('https://dpclothingui/close'); + } +}; + + +$('#desccircle').click(function (e) { + setTimeout(function () { + $.post('https://dpclothingui/close'); + }, 1) +}); + +$('.resetbutton').click(function (e) { + $('#refreshcc > i').css('animation', 'refreshhud 1s 1 forwards'); + $.post('https://dpclothingui/reset'); +}); + +$('.onecbutton').click(function (e) { + var whatidid = $(this).attr('id'); + var clothingui = document.getElementById(whatidid); + if (clothingui.style.outline != "2px solid red") { + $.post(`https://${GetParentResourceName()}/changecloth`, JSON.stringify(whatidid)); + } +}); + +$(document).on("mouseleave", ".onecbutton", function (e) { + whatidid = $(this).attr('id'); + var clothingui = document.getElementById(whatidid); + clothingui.style.outline = '2px solid white'; +}); + +$(".onecbutton").mouseover(function () { + gtaclickaudio(); +}); + +$(".closebutton").mouseover(function () { + gtaclickaudio(); +}); + +function sleep(milliseconds) { + const date = Date.now(); + let currentDate = null; + do { + currentDate = Date.now(); + } while (currentDate - date < milliseconds); +} + + +gtaclickaudio = function () { + var audio = document.getElementById("audio1"); + audio.volume = 0.4; + audio.play(); +} + +updateclothing = function (clot) { + var clothingui = document.getElementById(clot); + clothingui.style.filter = 'brightness(0.4)'; +} + +updateclothing2 = function (clot) { + var clothingui = document.getElementById(clot); + clothingui.style.filter = 'brightness(1)'; +} + + +restthis = function (clot) { + var clothingui = document.getElementById(clot); + clothingui.style.outline = '2px solid red'; + $('#refreshcc > i').css('animation', 'refreshhud 1s 1 forwards'); + setTimeout(function () { + clothingui.style.outline = '2px solid white'; + clothingui.style.filter = 'brightness(1)'; + }, 1000); + +} \ No newline at end of file diff --git a/resources/[standalone]/dpclothingui/ui/ui.html b/resources/[standalone]/dpclothingui/ui/ui.html new file mode 100644 index 0000000..7588e07 --- /dev/null +++ b/resources/[standalone]/dpclothingui/ui/ui.html @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + F9 Clothing UI + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Legs
+
+
+
Hands
+
+ +
+
Body
+
+ +
+
L-Head
+
+ +
+
T-Head
+
+
+
+
+
+
+
+
+
X
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/resources/[standalone]/dpemotes/NativeUI.lua b/resources/[standalone]/dpemotes/NativeUI.lua new file mode 100644 index 0000000..979a8a8 --- /dev/null +++ b/resources/[standalone]/dpemotes/NativeUI.lua @@ -0,0 +1,3906 @@ +UIResRectangle = setmetatable({}, UIResRectangle) +UIResRectangle.__index = UIResRectangle +UIResRectangle.__call = function() return "Rectangle" end + +UIResText = setmetatable({}, UIResText) +UIResText.__index = UIResText +UIResText.__call = function() return "Text" end + +Sprite = setmetatable({}, Sprite) +Sprite.__index = Sprite +Sprite.__call = function() return "Sprite" end + +UIMenuItem = setmetatable({}, UIMenuItem) +UIMenuItem.__index = UIMenuItem +UIMenuItem.__call = function() return "UIMenuItem", "UIMenuItem" end + +UIMenuCheckboxItem = setmetatable({}, UIMenuCheckboxItem) +UIMenuCheckboxItem.__index = UIMenuCheckboxItem +UIMenuCheckboxItem.__call = function() return "UIMenuItem", "UIMenuCheckboxItem" end + +UIMenuListItem = setmetatable({}, UIMenuListItem) +UIMenuListItem.__index = UIMenuListItem +UIMenuListItem.__call = function() return "UIMenuItem", "UIMenuListItem" end + +UIMenuSliderItem = setmetatable({}, UIMenuSliderItem) +UIMenuSliderItem.__index = UIMenuSliderItem +UIMenuSliderItem.__call = function() return "UIMenuItem", "UIMenuSliderItem" end + +UIMenuColouredItem = setmetatable({}, UIMenuColouredItem) +UIMenuColouredItem.__index = UIMenuColouredItem +UIMenuColouredItem.__call = function() return "UIMenuItem", "UIMenuColouredItem" end + +UIMenuProgressItem = setmetatable({}, UIMenuProgressItem) +UIMenuProgressItem.__index = UIMenuProgressItem +UIMenuProgressItem.__call = function() return "UIMenuItem", "UIMenuProgressItem" end + +UIMenuHeritageWindow = setmetatable({}, UIMenuHeritageWindow) +UIMenuHeritageWindow.__index = UIMenuHeritageWindow +UIMenuHeritageWindow.__call = function() return "UIMenuWindow", "UIMenuHeritageWindow" end + +UIMenuGridPanel = setmetatable({}, UIMenuGridPanel) +UIMenuGridPanel.__index = UIMenuGridPanel +UIMenuGridPanel.__call = function() return "UIMenuPanel", "UIMenuGridPanel" end + +UIMenuColourPanel = setmetatable({}, UIMenuColourPanel) +UIMenuColourPanel.__index = UIMenuColourPanel +UIMenuColourPanel.__call = function() return "UIMenuPanel", "UIMenuColourPanel" end + +UIMenuPercentagePanel = setmetatable({}, UIMenuPercentagePanel) +UIMenuPercentagePanel.__index = UIMenuPercentagePanel +UIMenuPercentagePanel.__call = function() return "UIMenuPanel", "UIMenuPercentagePanel" end + +UIMenu = setmetatable({}, UIMenu) +UIMenu.__index = UIMenu +UIMenu.__call = function() return "UIMenu" end + +MenuPool = setmetatable({}, MenuPool) +MenuPool.__index = MenuPool + +NativeUI = {} + +CharacterMap = { [' '] = 6, ['!'] = 6, ['"'] = 6, ['#'] = 11, ['$'] = 10, ['%'] = 17, ['&'] = 13, ['\\'] = 4, ['('] = 6, [')'] = 6, ['*'] = 7, ['+'] = 10, [','] = 4, ['-'] = 6, ['.'] = 4, ['/'] = 7, ['0'] = 12, ['1'] = 7, ['2'] = 11, ['3'] = 11, ['4'] = 11, ['5'] = 11, ['6'] = 12, ['7'] = 10, ['8'] = 11, ['9'] = 11, [':'] = 5, [';'] = 4, ['<'] = 9, ['='] = 9, ['>'] = 9, ['?'] = 10, ['@'] = 15, ['A'] = 12, ['B'] = 13, ['C'] = 14, ['D'] = 14, ['E'] = 12, ['F'] = 12, ['G'] = 15, ['H'] = 14, ['I'] = 5, ['J'] = 11, ['K'] = 13, ['L'] = 11, ['M'] = 16, ['N'] = 14, ['O'] = 16, ['P'] = 12, ['Q'] = 15, ['R'] = 13, ['S'] = 12, ['T'] = 11, ['U'] = 13, ['V'] = 12, ['W'] = 18, ['X'] = 11, ['Y'] = 11, ['Z'] = 12, ['['] = 6, [']'] = 6, ['^'] = 9, ['_'] = 18, ['`'] = 8, ['a'] = 11, ['b'] = 12, ['c'] = 11, ['d'] = 12, ['e'] = 12, ['f'] = 5, ['g'] = 13, ['h'] = 11, ['i'] = 4, ['j'] = 4, ['k'] = 10, ['l'] = 4, ['m'] = 18, ['n'] = 11, ['o'] = 12, ['p'] = 12, ['q'] = 12, ['r'] = 7, ['s'] = 9, ['t'] = 5, ['u'] = 11, ['v'] = 10, ['w'] = 14, ['x'] = 9, ['y'] = 10, ['z'] = 9, ['{'] = 6, ['|'] = 3, ['}'] = 6 } + +BadgeStyle = { None = 0, BronzeMedal = 1, GoldMedal = 2, SilverMedal = 3, Alert = 4, Crown = 5, Ammo = 6, Armour = 7, Barber = 8, Clothes = 9, Franklin = 10, Bike = 11, Car = 12, Gun = 13, Heart = 14, Makeup = 15, Mask = 16, Michael = 17, Star = 18, Tattoo = 19, Trevor = 20, Lock = 21, Tick = 22 } + +BadgeTexture = { + [0] = function() return "" end, + [1] = function() return "mp_medal_bronze" end, + [2] = function() return "mp_medal_gold" end, + [3] = function() return "medal_silver" end, + [4] = function() return "mp_alerttriangle" end, + [5] = function() return "mp_hostcrown" end, + [6] = function(Selected) if Selected then return "shop_ammo_icon_b" else return "shop_ammo_icon_a" end end, + [7] = function(Selected) if Selected then return "shop_armour_icon_b" else return "shop_armour_icon_a" end end, + [8] = function(Selected) if Selected then return "shop_barber_icon_b" else return "shop_barber_icon_a" end end, + [9] = function(Selected) if Selected then return "shop_clothing_icon_b" else return "shop_clothing_icon_a" end end, + [10] = function(Selected) if Selected then return "shop_franklin_icon_b" else return "shop_franklin_icon_a" end end, + [11] = function(Selected) if Selected then return "shop_garage_bike_icon_b" else return "shop_garage_bike_icon_a" end end, + [12] = function(Selected) if Selected then return "shop_garage_icon_b" else return "shop_garage_icon_a" end end, + [13] = function(Selected) if Selected then return "shop_gunclub_icon_b" else return "shop_gunclub_icon_a" end end, + [14] = function(Selected) if Selected then return "shop_health_icon_b" else return "shop_health_icon_a" end end, + [15] = function(Selected) if Selected then return "shop_makeup_icon_b" else return "shop_makeup_icon_a" end end, + [16] = function(Selected) if Selected then return "shop_mask_icon_b" else return "shop_mask_icon_a" end end, + [17] = function(Selected) if Selected then return "shop_michael_icon_b" else return "shop_michael_icon_a" end end, + [18] = function() return "shop_new_star" end, + [19] = function(Selected) if Selected then return "shop_tattoos_icon_b" else return "shop_tattoos_icon_a" end end, + [20] = function(Selected) if Selected then return "shop_trevor_icon_b" else return "shop_trevor_icon_a" end end, + [21] = function() return "shop_lock" end, + [22] = function() return "shop_tick_icon" end, +} + +BadgeDictionary = { + [0] = function(Selected) + if Selected then + return "commonmenu" + else + return "commonmenu" + end + end, +} + +BadgeColour = { + [5] = function(Selected) if Selected then return 0, 0, 0, 255 else return 255, 255, 255, 255 end end, + [21] = function(Selected) if Selected then return 0, 0, 0, 255 else return 255, 255, 255, 255 end end, + [22] = function(Selected) if Selected then return 0, 0, 0, 255 else return 255, 255, 255, 255 end end, +} + +Colours = { + PureWhite = { 255, 255, 255, 255 }, + White = { 240, 240, 240, 255 }, + Black = { 0, 0, 0, 255 }, + Grey = { 155, 155, 155, 255 }, + GreyLight = { 205, 205, 205, 255 }, + GreyDark = { 77, 77, 77, 255 }, + Red = { 224, 50, 50, 255 }, + RedLight = { 240, 153, 153, 255 }, + RedDark = { 112, 25, 25, 255 }, + Blue = { 93, 182, 229, 255 }, + BlueLight = { 174, 219, 242, 255 }, + BlueDark = { 47, 92, 115, 255 }, + Yellow = { 240, 200, 80, 255 }, + YellowLight = { 254, 235, 169, 255 }, + YellowDark = { 126, 107, 41, 255 }, + Orange = { 255, 133, 85, 255 }, + OrangeLight = { 255, 194, 170, 255 }, + OrangeDark = { 127, 66, 42, 255 }, + Green = { 114, 204, 114, 255 }, + GreenLight = { 185, 230, 185, 255 }, + GreenDark = { 57, 102, 57, 255 }, + Purple = { 132, 102, 226, 255 }, + PurpleLight = { 192, 179, 239, 255 }, + PurpleDark = { 67, 57, 111, 255 }, + Pink = { 203, 54, 148, 255 }, + RadarHealth = { 53, 154, 71, 255 }, + RadarArmour = { 93, 182, 229, 255 }, + RadarDamage = { 235, 36, 39, 255 }, + NetPlayer1 = { 194, 80, 80, 255 }, + NetPlayer2 = { 156, 110, 175, 255 }, + NetPlayer3 = { 255, 123, 196, 255 }, + NetPlayer4 = { 247, 159, 123, 255 }, + NetPlayer5 = { 178, 144, 132, 255 }, + NetPlayer6 = { 141, 206, 167, 255 }, + NetPlayer7 = { 113, 169, 175, 255 }, + NetPlayer8 = { 211, 209, 231, 255 }, + NetPlayer9 = { 144, 127, 153, 255 }, + NetPlayer10 = { 106, 196, 191, 255 }, + NetPlayer11 = { 214, 196, 153, 255 }, + NetPlayer12 = { 234, 142, 80, 255 }, + NetPlayer13 = { 152, 203, 234, 255 }, + NetPlayer14 = { 178, 98, 135, 255 }, + NetPlayer15 = { 144, 142, 122, 255 }, + NetPlayer16 = { 166, 117, 94, 255 }, + NetPlayer17 = { 175, 168, 168, 255 }, + NetPlayer18 = { 232, 142, 155, 255 }, + NetPlayer19 = { 187, 214, 91, 255 }, + NetPlayer20 = { 12, 123, 86, 255 }, + NetPlayer21 = { 123, 196, 255, 255 }, + NetPlayer22 = { 171, 60, 230, 255 }, + NetPlayer23 = { 206, 169, 13, 255 }, + NetPlayer24 = { 71, 99, 173, 255 }, + NetPlayer25 = { 42, 166, 185, 255 }, + NetPlayer26 = { 186, 157, 125, 255 }, + NetPlayer27 = { 201, 225, 255, 255 }, + NetPlayer28 = { 240, 240, 150, 255 }, + NetPlayer29 = { 237, 140, 161, 255 }, + NetPlayer30 = { 249, 138, 138, 255 }, + NetPlayer31 = { 252, 239, 166, 255 }, + NetPlayer32 = { 240, 240, 240, 255 }, + SimpleBlipDefault = { 159, 201, 166, 255 }, + MenuBlue = { 140, 140, 140, 255 }, + MenuGreyLight = { 140, 140, 140, 255 }, + MenuBlueExtraDark = { 40, 40, 40, 255 }, + MenuYellow = { 240, 160, 0, 255 }, + MenuYellowDark = { 240, 160, 0, 255 }, + MenuGreen = { 240, 160, 0, 255 }, + MenuGrey = { 140, 140, 140, 255 }, + MenuGreyDark = { 60, 60, 60, 255 }, + MenuHighlight = { 30, 30, 30, 255 }, + MenuStandard = { 140, 140, 140, 255 }, + MenuDimmed = { 75, 75, 75, 255 }, + MenuExtraDimmed = { 50, 50, 50, 255 }, + BriefTitle = { 95, 95, 95, 255 }, + MidGreyMp = { 100, 100, 100, 255 }, + NetPlayer1Dark = { 93, 39, 39, 255 }, + NetPlayer2Dark = { 77, 55, 89, 255 }, + NetPlayer3Dark = { 124, 62, 99, 255 }, + NetPlayer4Dark = { 120, 80, 80, 255 }, + NetPlayer5Dark = { 87, 72, 66, 255 }, + NetPlayer6Dark = { 74, 103, 83, 255 }, + NetPlayer7Dark = { 60, 85, 88, 255 }, + NetPlayer8Dark = { 105, 105, 64, 255 }, + NetPlayer9Dark = { 72, 63, 76, 255 }, + NetPlayer10Dark = { 53, 98, 95, 255 }, + NetPlayer11Dark = { 107, 98, 76, 255 }, + NetPlayer12Dark = { 117, 71, 40, 255 }, + NetPlayer13Dark = { 76, 101, 117, 255 }, + NetPlayer14Dark = { 65, 35, 47, 255 }, + NetPlayer15Dark = { 72, 71, 61, 255 }, + NetPlayer16Dark = { 85, 58, 47, 255 }, + NetPlayer17Dark = { 87, 84, 84, 255 }, + NetPlayer18Dark = { 116, 71, 77, 255 }, + NetPlayer19Dark = { 93, 107, 45, 255 }, + NetPlayer20Dark = { 6, 61, 43, 255 }, + NetPlayer21Dark = { 61, 98, 127, 255 }, + NetPlayer22Dark = { 85, 30, 115, 255 }, + NetPlayer23Dark = { 103, 84, 6, 255 }, + NetPlayer24Dark = { 35, 49, 86, 255 }, + NetPlayer25Dark = { 21, 83, 92, 255 }, + NetPlayer26Dark = { 93, 98, 62, 255 }, + NetPlayer27Dark = { 100, 112, 127, 255 }, + NetPlayer28Dark = { 120, 120, 75, 255 }, + NetPlayer29Dark = { 152, 76, 93, 255 }, + NetPlayer30Dark = { 124, 69, 69, 255 }, + NetPlayer31Dark = { 10, 43, 50, 255 }, + NetPlayer32Dark = { 95, 95, 10, 255 }, + Bronze = { 180, 130, 97, 255 }, + Silver = { 150, 153, 161, 255 }, + Gold = { 214, 181, 99, 255 }, + Platinum = { 166, 221, 190, 255 }, + Gang1 = { 29, 100, 153, 255 }, + Gang2 = { 214, 116, 15, 255 }, + Gang3 = { 135, 125, 142, 255 }, + Gang4 = { 229, 119, 185, 255 }, + SameCrew = { 252, 239, 166, 255 }, + Freemode = { 45, 110, 185, 255 }, + PauseBg = { 0, 0, 0, 255 }, + Friendly = { 93, 182, 229, 255 }, + Enemy = { 194, 80, 80, 255 }, + Location = { 240, 200, 80, 255 }, + Pickup = { 114, 204, 114, 255 }, + PauseSingleplayer = { 114, 204, 114, 255 }, + FreemodeDark = { 22, 55, 92, 255 }, + InactiveMission = { 154, 154, 154, 255 }, + Damage = { 194, 80, 80, 255 }, + PinkLight = { 252, 115, 201, 255 }, + PmMitemHighlight = { 252, 177, 49, 255 }, + ScriptVariable = { 0, 0, 0, 255 }, + Yoga = { 109, 247, 204, 255 }, + Tennis = { 241, 101, 34, 255 }, + Golf = { 214, 189, 97, 255 }, + ShootingRange = { 112, 25, 25, 255 }, + FlightSchool = { 47, 92, 115, 255 }, + NorthBlue = { 93, 182, 229, 255 }, + SocialClub = { 234, 153, 28, 255 }, + PlatformBlue = { 11, 55, 123, 255 }, + PlatformGreen = { 146, 200, 62, 255 }, + PlatformGrey = { 234, 153, 28, 255 }, + FacebookBlue = { 66, 89, 148, 255 }, + IngameBg = { 0, 0, 0, 255 }, + Darts = { 114, 204, 114, 255 }, + Waypoint = { 164, 76, 242, 255 }, + Michael = { 101, 180, 212, 255 }, + Franklin = { 171, 237, 171, 255 }, + Trevor = { 255, 163, 87, 255 }, + GolfP1 = { 240, 240, 240, 255 }, + GolfP2 = { 235, 239, 30, 255 }, + GolfP3 = { 255, 149, 14, 255 }, + GolfP4 = { 246, 60, 161, 255 }, + WaypointLight = { 210, 166, 249, 255 }, + WaypointDark = { 82, 38, 121, 255 }, + PanelLight = { 0, 0, 0, 255 }, + MichaelDark = { 72, 103, 116, 255 }, + FranklinDark = { 85, 118, 85, 255 }, + TrevorDark = { 127, 81, 43, 255 }, + ObjectiveRoute = { 240, 200, 80, 255 }, + PausemapTint = { 0, 0, 0, 255 }, + PauseDeselect = { 100, 100, 100, 255 }, + PmWeaponsPurchasable = { 45, 110, 185, 255 }, + PmWeaponsLocked = { 240, 240, 240, 255 }, + ScreenBg = { 0, 0, 0, 255 }, + Chop = { 224, 50, 50, 255 }, + PausemapTintHalf = { 0, 0, 0, 255 }, + NorthBlueOfficial = { 0, 71, 133, 255 }, + ScriptVariable2 = { 0, 0, 0, 255 }, + H = { 33, 118, 37, 255 }, + HDark = { 37, 102, 40, 255 }, + T = { 234, 153, 28, 255 }, + TDark = { 225, 140, 8, 255 }, + HShard = { 20, 40, 0, 255 }, + ControllerMichael = { 48, 255, 255, 255 }, + ControllerFranklin = { 48, 255, 0, 255 }, + ControllerTrevor = { 176, 80, 0, 255 }, + ControllerChop = { 127, 0, 0, 255 }, + VideoEditorVideo = { 53, 166, 224, 255 }, + VideoEditorAudio = { 162, 79, 157, 255 }, + VideoEditorText = { 104, 192, 141, 255 }, + HbBlue = { 29, 100, 153, 255 }, + HbYellow = { 234, 153, 28, 255 }, + VideoEditorScore = { 240, 160, 1, 255 }, + VideoEditorAudioFadeout = { 59, 34, 57, 255 }, + VideoEditorTextFadeout = { 41, 68, 53, 255 }, + VideoEditorScoreFadeout = { 82, 58, 10, 255 }, + HeistBackground = { 37, 102, 40, 255 }, + VideoEditorAmbient = { 240, 200, 80, 255 }, + VideoEditorAmbientFadeout = { 80, 70, 34, 255 }, + Gb = { 255, 133, 85, 255 }, + G = { 255, 194, 170, 255 }, + B = { 255, 133, 85, 255 }, + LowFlow = { 240, 200, 80, 255 }, + LowFlowDark = { 126, 107, 41, 255 }, + G1 = { 247, 159, 123, 255 }, + G2 = { 226, 134, 187, 255 }, + G3 = { 239, 238, 151, 255 }, + G4 = { 113, 169, 175, 255 }, + G5 = { 160, 140, 193, 255 }, + G6 = { 141, 206, 167, 255 }, + G7 = { 181, 214, 234, 255 }, + G8 = { 178, 144, 132, 255 }, + G9 = { 0, 132, 114, 255 }, + G10 = { 216, 85, 117, 255 }, + G11 = { 30, 100, 152, 255 }, + G12 = { 43, 181, 117, 255 }, + G13 = { 233, 141, 79, 255 }, + G14 = { 137, 210, 215, 255 }, + G15 = { 134, 125, 141, 255 }, + Adversary = { 109, 34, 33, 255 }, + DegenRed = { 255, 0, 0, 255 }, + DegenYellow = { 255, 255, 0, 255 }, + DegenGreen = { 0, 255, 0, 255 }, + DegenCyan = { 0, 255, 255, 255 }, + DegenBlue = { 0, 0, 255, 255 }, + DegenMagenta = { 255, 0, 255, 255 }, + Stunt1 = { 38, 136, 234, 255 }, + Stunt2 = { 224, 50, 50, 255 }, +} + +--[[ + Utils.lua + Utilities +--]] + +function GetResolution() + local W, H = GetActiveScreenResolution() + if (W / H) > 3.5 then + return GetScreenResolution() + else + return W, H + end +end + +function FormatXWYH(Value, Value2) + return Value / 1920, Value2 / 1080 +end + +function math.round(num, numDecimalPlaces) + return tonumber(string.format("%." .. (numDecimalPlaces or 0) .. "f", num)) +end + +function tobool(input) + if input == "true" or tonumber(input) == 1 or input == true then + return true + else + return false + end +end + +function string.split(inputstr, sep) + if sep == nil then + sep = "%s" + end + local t = {}; + i = 1 + for str in string.gmatch(inputstr, "([^" .. sep .. "]+)") do + t[i] = str + i = i + 1 + end + + return t +end + +function string.starts(String, Start) + return string.sub(String, 1, string.len(Start)) == Start +end + +function IsMouseInBounds(X, Y, Width, Height) + local MX, MY = math.round(GetControlNormal(0, 239) * 1920), math.round(GetControlNormal(0, 240) * 1080) + MX, MY = FormatXWYH(MX, MY) + X, Y = FormatXWYH(X, Y) + Width, Height = FormatXWYH(Width, Height) + return (MX >= X and MX <= X + Width) and (MY > Y and MY < Y + Height) +end + +function GetSafeZoneBounds() + local SafeSize = GetSafeZoneSize() + SafeSize = math.round(SafeSize, 2) + SafeSize = (SafeSize * 100) - 90 + SafeSize = 10 - SafeSize + + local W, H = 1920, 1080 + + return { X = math.round(SafeSize * ((W / H) * 5.4)), Y = math.round(SafeSize * 5.4) } +end + +function Controller() + return not IsInputDisabled(2) +end + +--[[ + UIResRectangle.lua + Elements +--]] + +function UIResRectangle.New(X, Y, Width, Height, R, G, B, A) + local _UIResRectangle = { + X = tonumber(X) or 0, + Y = tonumber(Y) or 0, + Width = tonumber(Width) or 0, + Height = tonumber(Height) or 0, + _Colour = { R = tonumber(R) or 255, G = tonumber(G) or 255, B = tonumber(B) or 255, A = tonumber(A) or 255 }, + } + return setmetatable(_UIResRectangle, UIResRectangle) +end + +function UIResRectangle:Position(X, Y) + if tonumber(X) and tonumber(Y) then + self.X = tonumber(X) + self.Y = tonumber(Y) + else + return { X = self.X, Y = self.Y } + end +end + +function UIResRectangle:Size(Width, Height) + if tonumber(Width) and tonumber(Height) then + self.Width = tonumber(Width) + self.Height = tonumber(Height) + else + return { Width = self.Width, Height = self.Height } + end +end + +function UIResRectangle:Colour(R, G, B, A) + if tonumber(R) or tonumber(G) or tonumber(B) or tonumber(A) then + self._Colour.R = tonumber(R) or 255 + self._Colour.B = tonumber(B) or 255 + self._Colour.G = tonumber(G) or 255 + self._Colour.A = tonumber(A) or 255 + else + return self._Colour + end +end + +function UIResRectangle:Draw() + local Position = self:Position() + local Size = self:Size() + Size.Width, Size.Height = FormatXWYH(Size.Width, Size.Height) + Position.X, Position.Y = FormatXWYH(Position.X, Position.Y) + DrawRect(Position.X + Size.Width * 0.5, Position.Y + Size.Height * 0.5, Size.Width, Size.Height, self._Colour.R, self._Colour.G, self._Colour.B, self._Colour.A) +end + +function DrawRectangle(X, Y, Width, Height, R, G, B, A) + X, Y, Width, Height = X or 0, Y or 0, Width or 0, Height or 0 + X, Y = FormatXWYH(X, Y) + Width, Height = FormatXWYH(Width, Height) + DrawRect(X + Width * 0.5, Y + Height * 0.5, Width, Height, tonumber(R) or 255, tonumber(G) or 255, tonumber(B) or 255, tonumber(A) or 255) +end + +--[[ + UIResText.lua + Elements +--]] + +function GetCharacterCount(str) + local characters = 0 + for c in str:gmatch("[%z\1-\127\194-\244][\128-\191]*") do + local a = c:byte(1, -1) + if a ~= nil then + characters = characters + 1 + end + end + return characters +end + +function GetByteCount(str) + local bytes = 0 + + for c in str:gmatch("[%z\1-\127\194-\244][\128-\191]*") do + local a, b, c, d = c:byte(1, -1) + if a ~= nil then + bytes = bytes + 1 + end + if b ~= nil then + bytes = bytes + 1 + end + if c ~= nil then + bytes = bytes + 1 + end + if d ~= nil then + bytes = bytes + 1 + end + end + return bytes +end + +function AddLongStringForAscii(str) + local maxbytelength = 99 + for i = 0, GetCharacterCount(str), 99 do + AddTextComponentSubstringPlayerName(string.sub(str, i, math.min(maxbytelength, GetCharacterCount(str) - i))) --needs changed + end +end + +function AddLongStringForUtf8(str) + local maxbytelength = 99 + local bytecount = GetByteCount(str) + + if bytecount < maxbytelength then + AddTextComponentSubstringPlayerName(str) + return + end + + local startIndex = 0 + + for i = 0, GetCharacterCount(str), 1 do + local length = i - startIndex + if GetByteCount(string.sub(str, startIndex, length)) > maxbytelength then + AddTextComponentSubstringPlayerName(string.sub(str, startIndex, length - 1)) + i = i - 1 + startIndex = startIndex + (length - 1) + end + end + AddTextComponentSubstringPlayerName(string.sub(str, startIndex, GetCharacterCount(str) - startIndex)) +end + +function AddLongString(str) + local bytecount = GetByteCount(str) + if bytecount == GetCharacterCount(str) then + AddLongStringForAscii(str) + else + AddLongStringForUtf8(str) + end +end + +function MeasureStringWidthNoConvert(str, font, scale) + BeginTextCommandWidth("STRING") + AddLongString(str) + SetTextFont(font or 0) + SetTextScale(1.0, scale or 0) + return EndTextCommandGetWidth(true) +end + +function MeasureStringWidth(str, font, scale) + return MeasureStringWidthNoConvert(str, font, scale) * 1920 +end + +function UIResText.New(Text, X, Y, Scale, R, G, B, A, Font, Alignment, DropShadow, Outline, WordWrap) + local _UIResText = { + _Text = tostring(Text) or "", + X = tonumber(X) or 0, + Y = tonumber(Y) or 0, + Scale = tonumber(Scale) or 0, + _Colour = { R = tonumber(R) or 255, G = tonumber(G) or 255, B = tonumber(B) or 255, A = tonumber(A) or 255 }, + Font = tonumber(Font) or 0, + Alignment = Alignment or nil, + DropShadow = Dropshadow or nil, + Outline = Outline or nil, + WordWrap = tonumber(WordWrap) or 0, + } + return setmetatable(_UIResText, UIResText) +end + +function UIResText:Position(X, Y) + if tonumber(X) and tonumber(Y) then + self.X = tonumber(X) + self.Y = tonumber(Y) + else + return { X = self.X, Y = self.Y } + end +end + +function UIResText:Colour(R, G, B, A) + if tonumber(R) and tonumber(G) and tonumber(B) and tonumber(A) then + self._Colour.R = tonumber(R) + self._Colour.B = tonumber(B) + self._Colour.G = tonumber(G) + self._Colour.A = tonumber(A) + else + return self._Colour + end +end + +function UIResText:Text(Text) + if tostring(Text) and Text ~= nil then + self._Text = tostring(Text) + else + return self._Text + end +end + +function UIResText:Draw() + local Position = self:Position() + Position.X, Position.Y = FormatXWYH(Position.X, Position.Y) + + SetTextFont(self.Font) + SetTextScale(1.0, self.Scale) + SetTextColour(self._Colour.R, self._Colour.G, self._Colour.B, self._Colour.A) + + if self.DropShadow then + SetTextDropShadow() + end + if self.Outline then + SetTextOutline() + end + + if self.Alignment ~= nil then + if self.Alignment == 1 or self.Alignment == "Center" or self.Alignment == "Centre" then + SetTextCentre(true) + elseif self.Alignment == 2 or self.Alignment == "Right" then + SetTextRightJustify(true) + SetTextWrap(0, Position.X) + end + end + + if tonumber(self.WordWrap) then + if tonumber(self.WordWrap) ~= 0 then + SetTextWrap(Position.X, Position.X + (tonumber(self.WordWrap) / Resolution.Width)) + end + end + + BeginTextCommandDisplayText("STRING") + AddLongString(self._Text) + EndTextCommandDisplayText(Position.X, Position.Y) +end + +function RenderText(Text, X, Y, Font, Scale, R, G, B, A, Alignment, DropShadow, Outline, WordWrap) + Text = tostring(Text) + X, Y = FormatXWYH(X, Y) + SetTextFont(Font or 0) + SetTextScale(1.0, Scale or 0) + SetTextColour(R or 255, G or 255, B or 255, A or 255) + + if DropShadow then + SetTextDropShadow() + end + if Outline then + SetTextOutline() + end + + if Alignment ~= nil then + if Alignment == 1 or Alignment == "Center" or Alignment == "Centre" then + SetTextCentre(true) + elseif Alignment == 2 or Alignment == "Right" then + SetTextRightJustify(true) + SetTextWrap(0, X) + end + end + + if tonumber(WordWrap) then + if tonumber(WordWrap) ~= 0 then + WordWrap, _ = FormatXWYH(WordWrap, 0) + SetTextWrap(WordWrap, X - WordWrap) + end + end + + BeginTextCommandDisplayText("STRING") + AddLongString(Text) + EndTextCommandDisplayText(X, Y) +end + +--[[ + Sprite.lua + Elements +--]] + +function Sprite.New(TxtDictionary, TxtName, X, Y, Width, Height, Heading, R, G, B, A) + local _Sprite = { + TxtDictionary = tostring(TxtDictionary), + TxtName = tostring(TxtName), + X = tonumber(X) or 0, + Y = tonumber(Y) or 0, + Width = tonumber(Width) or 0, + Height = tonumber(Height) or 0, + Heading = tonumber(Heading) or 0, + _Colour = { R = tonumber(R) or 255, G = tonumber(G) or 255, B = tonumber(B) or 255, A = tonumber(A) or 255 }, + } + return setmetatable(_Sprite, Sprite) +end + +function Sprite:Position(X, Y) + if tonumber(X) and tonumber(Y) then + self.X = tonumber(X) + self.Y = tonumber(Y) + else + return { X = self.X, Y = self.Y } + end +end + +function Sprite:Size(Width, Height) + if tonumber(Width) and tonumber(Width) then + self.Width = tonumber(Width) + self.Height = tonumber(Height) + else + return { Width = self.Width, Height = self.Height } + end +end + +function Sprite:Colour(R, G, B, A) + if tonumber(R) or tonumber(G) or tonumber(B) or tonumber(A) then + self._Colour.R = tonumber(R) or 255 + self._Colour.B = tonumber(B) or 255 + self._Colour.G = tonumber(G) or 255 + self._Colour.A = tonumber(A) or 255 + else + return self._Colour + end +end + +function Sprite:Draw() + if not HasStreamedTextureDictLoaded(self.TxtDictionary) then + RequestStreamedTextureDict(self.TxtDictionary, true) + end + local Position = self:Position() + local Size = self:Size() + Size.Width, Size.Height = FormatXWYH(Size.Width, Size.Height) + Position.X, Position.Y = FormatXWYH(Position.X, Position.Y) + DrawSprite(self.TxtDictionary, self.TxtName, Position.X + Size.Width * 0.5, Position.Y + Size.Height * 0.5, Size.Width, Size.Height, self.Heading, self._Colour.R, self._Colour.G, self._Colour.B, self._Colour.A) +end + +function DrawTexture(TxtDictionary, TxtName, X, Y, Width, Height, Heading, R, G, B, A) + if not HasStreamedTextureDictLoaded(tostring(TxtDictionary) or "") then + RequestStreamedTextureDict(tostring(TxtDictionary) or "", true) + end + X, Y, Width, Height = X or 0, Y or 0, Width or 0, Height or 0 + X, Y = FormatXWYH(X, Y) + Width, Height = FormatXWYH(Width, Height) + DrawSprite(tostring(TxtDictionary) or "", tostring(TxtName) or "", X + Width * 0.5, Y + Height * 0.5, Width, Height, tonumber(Heading) or 0, tonumber(R) or 255, tonumber(G) or 255, tonumber(B) or 255, tonumber(A) or 255) +end + +--[[ + StringMeasurer.lua + Elements +--]] + +function MeasureString(str) + local output = 0 + for i = 1, GetCharacterCount(str), 1 do + if CharacterMap[string.sub(str, i, i)] then + output = output + CharacterMap[string.sub(str, i, i)] + 1 + end + end + return output +end + +--[[ + Badge.lua + Elements +--]] + +function GetBadgeTexture(Badge, Selected) + if BadgeTexture[Badge] then + return BadgeTexture[Badge](Selected) + else + return "" + end +end + +function GetBadgeDictionary(Badge, Selected) + if BadgeDictionary[Badge] then + return BadgeDictionary[Badge](Selected) + else + return "commonmenu" + end +end + +function GetBadgeColour(Badge, Selected) + if BadgeColour[Badge] then + return BadgeColour[Badge](Selected) + else + return 255, 255, 255, 255 + end +end + +--[[ + Colours.lua + Elements +--]] + +--[[ + UIMenuItem.lua + Items +--]] + +function UIMenuItem.New(Text, Description) + _UIMenuItem = { + Rectangle = UIResRectangle.New(0, 0, 431, 38, 255, 255, 255, 20), + Text = UIResText.New(tostring(Text) or "", 8, 0, 0.33, 245, 245, 245, 255, 0), + _Description = tostring(Description) or ""; + SelectedSprite = Sprite.New("commonmenu", "gradient_nav", 0, 0, 431, 38), + LeftBadge = { Sprite = Sprite.New("commonmenu", "", 0, 0, 40, 40), Badge = 0 }, + RightBadge = { Sprite = Sprite.New("commonmenu", "", 0, 0, 40, 40), Badge = 0 }, + Label = { + Text = UIResText.New("", 0, 0, 0.35, 245, 245, 245, 255, 0, "Right"), + MainColour = { R = 255, G = 255, B = 255, A = 255 }, + HighlightColour = { R = 0, G = 0, B = 0, A = 255 }, + }, + _Selected = false, + _Hovered = false, + _Enabled = true, + _Offset = { X = 0, Y = 0 }, + ParentMenu = nil, + Panels = {}, + Activated = function(menu, item, panels) end, + ActivatedPanel = function(menu, item, panel, panelvalue) end, + } + return setmetatable(_UIMenuItem, UIMenuItem) +end + +function UIMenuItem:SetParentMenu(Menu) + if Menu ~= nil and Menu() == "UIMenu" then + self.ParentMenu = Menu + else + return self.ParentMenu + end +end + +function UIMenuItem:Selected(bool) + if bool ~= nil then + self._Selected = tobool(bool) + else + return self._Selected + end +end + +function UIMenuItem:Hovered(bool) + if bool ~= nil then + self._Hovered = tobool(bool) + else + return self._Hovered + end +end + +function UIMenuItem:Enabled(bool) + if bool ~= nil then + self._Enabled = tobool(bool) + else + return self._Enabled + end +end + +function UIMenuItem:Description(str) + if tostring(str) and str ~= nil then + self._Description = tostring(str) + else + return self._Description + end +end + +function UIMenuItem:Offset(X, Y) + if tonumber(X) or tonumber(Y) then + if tonumber(X) then + self._Offset.X = tonumber(X) + end + if tonumber(Y) then + self._Offset.Y = tonumber(Y) + end + else + return self._Offset + end +end + +function UIMenuItem:Position(Y) + if tonumber(Y) then + self.Rectangle:Position(self._Offset.X, Y + 144 + self._Offset.Y) + self.SelectedSprite:Position(0 + self._Offset.X, Y + 144 + self._Offset.Y) + self.Text:Position(8 + self._Offset.X, Y + 147 + self._Offset.Y) + self.LeftBadge.Sprite:Position(0 + self._Offset.X, Y + 142 + self._Offset.Y) + self.RightBadge.Sprite:Position(385 + self._Offset.X, Y + 142 + self._Offset.Y) + self.Label.Text:Position(420 + self._Offset.X, Y + 148 + self._Offset.Y) + end +end + +function UIMenuItem:RightLabel(Text, MainColour, HighlightColour) + if tostring(Text) and Text ~= nil then + if type(MainColour) == "table" then + self.Label.MainColour = MainColour + end + if type(HighlightColour) == "table" then + self.Label.HighlightColour = HighlightColour + end + self.Label.Text:Text(tostring(Text)) + else + return self.Label.Text:Text() + end +end + +function UIMenuItem:SetLeftBadge(Badge) + if tonumber(Badge) then + self.LeftBadge.Badge = tonumber(Badge) + end +end + +function UIMenuItem:SetRightBadge(Badge) + if tonumber(Badge) then + self.RightBadge.Badge = tonumber(Badge) + end +end + +function UIMenuItem:Text(Text) + if tostring(Text) and Text ~= nil then + self.Text:Text(tostring(Text)) + else + return self.Text:Text() + end +end + +function UIMenuItem:AddPanel(Panel) + if Panel() == "UIMenuPanel" then + table.insert(self.Panels, Panel) + Panel:SetParentItem(self) + end +end + +function UIMenuItem:RemovePanelAt(Index) + if tonumber(Index) then + if self.Panels[Index] then + table.remove(self.Panels, tonumber(Index)) + end + end +end + +function UIMenuItem:FindPanelIndex(Panel) + if Panel() == "UIMenuPanel" then + for Index = 1, #self.Panels do + if self.Panels[Index] == Panel then + return Index + end + end + end + return nil +end + +function UIMenuItem:FindPanelItem() + for Index = #self.Items, 1, -1 do + if self.Items[Index].Panel then + return Index + end + end + return nil +end + +function UIMenuItem:Draw() + self.Rectangle:Size(431 + self.ParentMenu.WidthOffset, self.Rectangle.Height) + self.SelectedSprite:Size(431 + self.ParentMenu.WidthOffset, self.SelectedSprite.Height) + + if self._Hovered and not self._Selected then + self.Rectangle:Draw() + end + + if self._Selected then + self.SelectedSprite:Draw() + end + + if self._Enabled then + if self._Selected then + self.Text:Colour(0, 0, 0, 255) + self.Label.Text:Colour(self.Label.HighlightColour.R, self.Label.HighlightColour.G, self.Label.HighlightColour.B, self.Label.HighlightColour.A) + else + self.Text:Colour(245, 245, 245, 255) + self.Label.Text:Colour(self.Label.MainColour.R, self.Label.MainColour.G, self.Label.MainColour.B, self.Label.MainColour.A) + end + else + self.Text:Colour(163, 159, 148, 255) + self.Label.Text:Colour(163, 159, 148, 255) + end + + if self.LeftBadge.Badge == BadgeStyle.None then + self.Text:Position(8 + self._Offset.X, self.Text.Y) + else + self.Text:Position(35 + self._Offset.X, self.Text.Y) + self.LeftBadge.Sprite.TxtDictionary = GetBadgeDictionary(self.LeftBadge.Badge, self._Selected) + self.LeftBadge.Sprite.TxtName = GetBadgeTexture(self.LeftBadge.Badge, self._Selected) + self.LeftBadge.Sprite:Colour(GetBadgeColour(self.LeftBadge.Badge, self._Selected)) + self.LeftBadge.Sprite:Draw() + end + + if self.RightBadge.Badge ~= BadgeStyle.None then + self.RightBadge.Sprite:Position(385 + self._Offset.X + self.ParentMenu.WidthOffset, self.RightBadge.Sprite.Y) + self.RightBadge.Sprite.TxtDictionary = GetBadgeDictionary(self.RightBadge.Badge, self._Selected) + self.RightBadge.Sprite.TxtName = GetBadgeTexture(self.RightBadge.Badge, self._Selected) + self.RightBadge.Sprite:Colour(GetBadgeColour(self.RightBadge.Badge, self._Selected)) + self.RightBadge.Sprite:Draw() + end + + if self.Label.Text:Text() ~= "" and string.len(self.Label.Text:Text()) > 0 then + self.Label.Text:Position(420 + self._Offset.X + self.ParentMenu.WidthOffset, self.Label.Text.Y) + self.Label.Text:Draw() + end + + self.Text:Draw() +end + +--[[ + UIMenuCheckboxItem.lua + Items +--]] + +function UIMenuCheckboxItem.New(Text, Check, Description) + local _UIMenuCheckboxItem = { + Base = UIMenuItem.New(Text or "", Description or ""), + CheckedSprite = Sprite.New("commonmenu", "shop_box_blank", 410, 95, 50, 50), + Checked = tobool(Check), + CheckboxEvent = function(menu, item, checked) end, + } + return setmetatable(_UIMenuCheckboxItem, UIMenuCheckboxItem) +end + +function UIMenuCheckboxItem:SetParentMenu(Menu) + if Menu() == "UIMenu" then + self.Base.ParentMenu = Menu + else + return self.Base.ParentMenu + end +end + +function UIMenuCheckboxItem:Position(Y) + if tonumber(Y) then + self.Base:Position(Y) + self.CheckedSprite:Position(380 + self.Base._Offset.X + self.Base.ParentMenu.WidthOffset, Y + 138 + self.Base._Offset.Y) + end +end + +function UIMenuCheckboxItem:Selected(bool) + if bool ~= nil then + self.Base._Selected = tobool(bool) + else + return self.Base._Selected + end +end + +function UIMenuCheckboxItem:Hovered(bool) + if bool ~= nil then + self.Base._Hovered = tobool(bool) + else + return self.Base._Hovered + end +end + +function UIMenuCheckboxItem:Enabled(bool) + if bool ~= nil then + self.Base._Enabled = tobool(bool) + else + return self.Base._Enabled + end +end + +function UIMenuCheckboxItem:Description(str) + if tostring(str) and str ~= nil then + self.Base._Description = tostring(str) + else + return self.Base._Description + end +end + +function UIMenuCheckboxItem:Offset(X, Y) + if tonumber(X) or tonumber(Y) then + if tonumber(X) then + self.Base._Offset.X = tonumber(X) + end + if tonumber(Y) then + self.Base._Offset.Y = tonumber(Y) + end + else + return self.Base._Offset + end +end + +function UIMenuCheckboxItem:Text(Text) + if tostring(Text) and Text ~= nil then + self.Base.Text:Text(tostring(Text)) + else + return self.Base.Text:Text() + end +end + +function UIMenuCheckboxItem:SetLeftBadge() + error("This item does not support badges") +end + +function UIMenuCheckboxItem:SetRightBadge() + error("This item does not support badges") +end + +function UIMenuCheckboxItem:RightLabel() + error("This item does not support a right label") +end + +function UIMenuCheckboxItem:Draw() + self.Base:Draw() + self.CheckedSprite:Position(380 + self.Base._Offset.X + self.Base.ParentMenu.WidthOffset, self.CheckedSprite.Y) + if self.Base:Selected() then + if self.Checked then + self.CheckedSprite.TxtName = "shop_box_tickb" + else + self.CheckedSprite.TxtName = "shop_box_blankb" + end + else + if self.Checked then + self.CheckedSprite.TxtName = "shop_box_tick" + else + self.CheckedSprite.TxtName = "shop_box_blank" + end + end + self.CheckedSprite:Draw() +end + +--[[ + UIMenuListItem.lua + Items +--]] + +function UIMenuListItem.New(Text, Items, Index, Description) + if type(Items) ~= "table" then Items = {} end + if Index == 0 then Index = 1 end + local _UIMenuListItem = { + Base = UIMenuItem.New(Text or "", Description or ""), + Items = Items, + LeftArrow = Sprite.New("commonmenu", "arrowleft", 110, 105, 30, 30), + RightArrow = Sprite.New("commonmenu", "arrowright", 280, 105, 30, 30), + ItemText = UIResText.New("", 290, 104, 0.35, 255, 255, 255, 255, 0, "Right"), + _Index = tonumber(Index) or 1, + Panels = {}, + OnListChanged = function(menu, item, newindex) end, + OnListSelected = function(menu, item, newindex) end, + } + return setmetatable(_UIMenuListItem, UIMenuListItem) +end + +function UIMenuListItem:SetParentMenu(Menu) + if Menu ~= nil and Menu() == "UIMenu" then + self.Base.ParentMenu = Menu + else + return self.Base.ParentMenu + end +end + +function UIMenuListItem:Position(Y) + if tonumber(Y) then + self.LeftArrow:Position(300 + self.Base._Offset.X + self.Base.ParentMenu.WidthOffset, 147 + Y + self.Base._Offset.Y) + self.RightArrow:Position(400 + self.Base._Offset.X + self.Base.ParentMenu.WidthOffset, 147 + Y + self.Base._Offset.Y) + self.ItemText:Position(300 + self.Base._Offset.X + self.Base.ParentMenu.WidthOffset, 147 + Y + self.Base._Offset.Y) + self.Base:Position(Y) + end +end + +function UIMenuListItem:Selected(bool) + if bool ~= nil then + self.Base._Selected = tobool(bool) + else + return self.Base._Selected + end +end + +function UIMenuListItem:Hovered(bool) + if bool ~= nil then + self.Base._Hovered = tobool(bool) + else + return self.Base._Hovered + end +end + +function UIMenuListItem:Enabled(bool) + if bool ~= nil then + self.Base._Enabled = tobool(bool) + else + return self.Base._Enabled + end +end + +function UIMenuListItem:Description(str) + if tostring(str) and str ~= nil then + self.Base._Description = tostring(str) + else + return self.Base._Description + end +end + +function UIMenuListItem:Offset(X, Y) + if tonumber(X) or tonumber(Y) then + if tonumber(X) then + self.Base._Offset.X = tonumber(X) + end + if tonumber(Y) then + self.Base._Offset.Y = tonumber(Y) + end + else + return self.Base._Offset + end +end + +function UIMenuListItem:Text(Text) + if tostring(Text) and Text ~= nil then + self.Base.Text:Text(tostring(Text)) + else + return self.Base.Text:Text() + end +end + +function UIMenuListItem:Index(Index) + if tonumber(Index) then + if tonumber(Index) > #self.Items then + self._Index = 1 + elseif tonumber(Index) < 1 then + self._Index = #self.Items + else + self._Index = tonumber(Index) + end + else + return self._Index + end +end + +function UIMenuListItem:ItemToIndex(Item) + for i = 1, #self.Items do + if type(Item) == type(self.Items[i]) and Item == self.Items[i] then + return i + elseif type(self.Items[i]) == "table" and (type(Item) == type(self.Items[i].Name) or type(Item) == type(self.Items[i].Value)) and (Item == self.Items[i].Name or Item == self.Items[i].Value) then + return i + end + end +end + +function UIMenuListItem:IndexToItem(Index) + if tonumber(Index) then + if tonumber(Index) == 0 then Index = 1 end + if self.Items[tonumber(Index)] then + return self.Items[tonumber(Index)] + end + end +end + +function UIMenuListItem:SetLeftBadge() + error("This item does not support badges") +end + +function UIMenuListItem:SetRightBadge() + error("This item does not support badges") +end + +function UIMenuListItem:RightLabel() + error("This item does not support a right label") +end + +function UIMenuListItem:AddPanel(Panel) + if Panel() == "UIMenuPanel" then + table.insert(self.Panels, Panel) + Panel:SetParentItem(self) + end +end + +function UIMenuListItem:RemovePanelAt(Index) + if tonumber(Index) then + if self.Panels[Index] then + table.remove(self.Panels, tonumber(Index)) + end + end +end + +function UIMenuListItem:FindPanelIndex(Panel) + if Panel() == "UIMenuPanel" then + for Index = 1, #self.Panels do + if self.Panels[Index] == Panel then + return Index + end + end + end + return nil +end + +function UIMenuListItem:FindPanelItem() + for Index = #self.Items, 1, -1 do + if self.Items[Index].Panel then + return Index + end + end + return nil +end + +function UIMenuListItem:Draw() + self.Base:Draw() + + if self:Enabled() then + if self:Selected() then + self.ItemText:Colour(0, 0, 0, 255) + self.LeftArrow:Colour(0, 0, 0, 255) + self.RightArrow:Colour(0, 0, 0, 255) + else + self.ItemText:Colour(245, 245, 245, 255) + self.LeftArrow:Colour(245, 245, 245, 255) + self.RightArrow:Colour(245, 245, 245, 255) + end + else + self.ItemText:Colour(163, 159, 148, 255) + self.LeftArrow:Colour(163, 159, 148, 255) + self.RightArrow:Colour(163, 159, 148, 255) + end + + local Text = (type(self.Items[self._Index]) == "table") and tostring(self.Items[self._Index].Name) or tostring(self.Items[self._Index]) + local Offset = MeasureStringWidth(Text, 0, 0.35) + + self.ItemText:Text(Text) + self.LeftArrow:Position(378 - Offset + self.Base._Offset.X + self.Base.ParentMenu.WidthOffset, self.LeftArrow.Y) + + if self:Selected() then + self.LeftArrow:Draw() + self.RightArrow:Draw() + self.ItemText:Position(403 + self.Base._Offset.X + self.Base.ParentMenu.WidthOffset, self.ItemText.Y) + else + self.ItemText:Position(418 + self.Base._Offset.X + self.Base.ParentMenu.WidthOffset, self.ItemText.Y) + end + + self.ItemText:Draw() +end + +--[[ + UIMenuSliderItem.lua + Items +--]] + +function UIMenuSliderItem.New(Text, Items, Index, Description, Divider) + if type(Items) ~= "table" then Items = {} end + if Index == 0 then Index = 1 end + local _UIMenuSliderItem = { + Base = UIMenuItem.New(Text or "", Description or ""), + Items = Items, + ShowDivider = tobool(Divider), + LeftArrow = Sprite.New("commonmenutu", "arrowleft", 0, 105, 15, 15), + RightArrow = Sprite.New("commonmenutu", "arrowright", 0, 105, 15, 15), + Background = UIResRectangle.New(0, 0, 150, 9, 4, 32, 57, 255), + Slider = UIResRectangle.New(0, 0, 75, 9, 57, 116, 200, 255), + Divider = UIResRectangle.New(0, 0, 2.5, 20, 245, 245, 245, 255), + _Index = tonumber(Index) or 1, + OnSliderChanged = function(menu, item, newindex) end, + OnSliderSelected = function(menu, item, newindex) end, + } + return setmetatable(_UIMenuSliderItem, UIMenuSliderItem) +end + +function UIMenuSliderItem:SetParentMenu(Menu) + if Menu() == "UIMenu" then + self.Base.ParentMenu = Menu + else + return self.Base.ParentMenu + end +end + +function UIMenuSliderItem:Position(Y) + if tonumber(Y) then + self.Background:Position(250 + self.Base._Offset.X + self.Base.ParentMenu.WidthOffset, Y + 158.5 + self.Base._Offset.Y) + self.Slider:Position(250 + self.Base._Offset.X + self.Base.ParentMenu.WidthOffset, Y + 158.5 + self.Base._Offset.Y) + self.Divider:Position(323.5 + self.Base._Offset.X + self.Base.ParentMenu.WidthOffset, Y + 153 + self.Base._Offset.Y) + self.LeftArrow:Position(235 + self.Base._Offset.X + self.Base.ParentMenu.WidthOffset, 155.5 + Y + self.Base._Offset.Y) + self.RightArrow:Position(400 + self.Base._Offset.X + self.Base.ParentMenu.WidthOffset, 155.5 + Y + self.Base._Offset.Y) + self.Base:Position(Y) + end +end + +function UIMenuSliderItem:Selected(bool) + if bool ~= nil then + self.Base._Selected = tobool(bool) + else + return self.Base._Selected + end +end + +function UIMenuSliderItem:Hovered(bool) + if bool ~= nil then + self.Base._Hovered = tobool(bool) + else + return self.Base._Hovered + end +end + +function UIMenuSliderItem:Enabled(bool) + if bool ~= nil then + self.Base._Enabled = tobool(bool) + else + return self.Base._Enabled + end +end + +function UIMenuSliderItem:Description(str) + if tostring(str) and str ~= nil then + self.Base._Description = tostring(str) + else + return self.Base._Description + end +end + +function UIMenuSliderItem:Offset(X, Y) + if tonumber(X) or tonumber(Y) then + if tonumber(X) then + self.Base._Offset.X = tonumber(X) + end + if tonumber(Y) then + self.Base._Offset.Y = tonumber(Y) + end + else + return self.Base._Offset + end +end + +function UIMenuSliderItem:Text(Text) + if tostring(Text) and Text ~= nil then + self.Base.Text:Text(tostring(Text)) + else + return self.Base.Text:Text() + end +end + +function UIMenuSliderItem:Index(Index) + if tonumber(Index) then + if tonumber(Index) > #self.Items then + self._Index = 1 + elseif tonumber(Index) < 1 then + self._Index = #self.Items + else + self._Index = tonumber(Index) + end + else + return self._Index + end +end + +function UIMenuSliderItem:ItemToIndex(Item) + for i = 1, #self.Items do + if type(Item) == type(self.Items[i]) and Item == self.Items[i] then + return i + end + end +end + +function UIMenuSliderItem:IndexToItem(Index) + if tonumber(Index) then + if tonumber(Index) == 0 then Index = 1 end + if self.Items[tonumber(Index)] then + return self.Items[tonumber(Index)] + end + end +end + +function UIMenuSliderItem:SetLeftBadge() + error("This item does not support badges") +end + +function UIMenuSliderItem:SetRightBadge() + error("This item does not support badges") +end + +function UIMenuSliderItem:RightLabel() + error("This item does not support a right label") +end + +function UIMenuSliderItem:Draw() + self.Base:Draw() + + if self:Enabled() then + if self:Selected() then + self.LeftArrow:Colour(0, 0, 0, 255) + self.RightArrow:Colour(0, 0, 0, 255) + else + self.LeftArrow:Colour(245, 245, 245, 255) + self.RightArrow:Colour(245, 245, 245, 255) + end + else + self.LeftArrow:Colour(163, 159, 148, 255) + self.RightArrow:Colour(163, 159, 148, 255) + end + + local Offset = ((self.Background.Width - self.Slider.Width) / (#self.Items - 1)) * (self._Index - 1) + + self.Slider:Position(250 + self.Base._Offset.X + Offset + self.Base.ParentMenu.WidthOffset, self.Slider.Y) + + if self:Selected() then + self.LeftArrow:Draw() + self.RightArrow:Draw() + end + + self.Background:Draw() + self.Slider:Draw() + if self.ShowDivider then + self.Divider:Draw() + end +end + +--[[ + UIMenuColouredItem.lua + Items +--]] + +function UIMenuColouredItem.New(Text, Description, MainColour, HighlightColour) + if type(Colour) ~= "table" then Colour = { R = 0, G = 0, B = 0, A = 255 } end + if type(HighlightColour) ~= "table" then Colour = { R = 255, G = 255, B = 255, A = 255 } end + local _UIMenuColouredItem = { + Base = UIMenuItem.New(Text or "", Description or ""), + Rectangle = UIResRectangle.New(0, 0, 431, 38, MainColour.R, MainColour.G, MainColour.B, MainColour.A), + MainColour = MainColour, + HighlightColour = HighlightColour, + Activated = function(menu, item) end, + } + _UIMenuColouredItem.Base.SelectedSprite:Colour(HighlightColour.R, HighlightColour.G, HighlightColour.B, HighlightColour.A) + return setmetatable(_UIMenuColouredItem, UIMenuColouredItem) +end + +function UIMenuColouredItem:SetParentMenu(Menu) + if Menu() == "UIMenu" then + self.Base.ParentMenu = Menu + else + return self.Base.ParentMenu + end +end + +function UIMenuColouredItem:Position(Y) + if tonumber(Y) then + self.Base:Position(Y) + self.Rectangle:Position(self.Base._Offset.X, Y + 144 + self.Base._Offset.Y) + end +end + +function UIMenuColouredItem:Selected(bool) + if bool ~= nil then + self.Base._Selected = tobool(bool) + else + return self.Base._Selected + end +end + +function UIMenuColouredItem:Hovered(bool) + if bool ~= nil then + self.Base._Hovered = tobool(bool) + else + return self.Base._Hovered + end +end + +function UIMenuColouredItem:Enabled(bool) + if bool ~= nil then + self.Base._Enabled = tobool(bool) + else + return self.Base._Enabled + end +end + +function UIMenuColouredItem:Description(str) + if tostring(str) and str ~= nil then + self.Base._Description = tostring(str) + else + return self.Base._Description + end +end + +function UIMenuColouredItem:Offset(X, Y) + if tonumber(X) or tonumber(Y) then + if tonumber(X) then + self.Base._Offset.X = tonumber(X) + end + if tonumber(Y) then + self.Base._Offset.Y = tonumber(Y) + end + else + return self.Base._Offset + end +end + +function UIMenuColouredItem:Text(Text) + if tostring(Text) and Text ~= nil then + self.Base.Text:Text(tostring(Text)) + else + return self.Base.Text:Text() + end +end + +function UIMenuColouredItem:RightLabel(Text, MainColour, HighlightColour) + if tostring(Text) and Text ~= nil then + if type(MainColour) == "table" then + self.Base.Label.MainColour = MainColour + end + if type(HighlightColour) == "table" then + self.Base.Label.HighlightColour = HighlightColour + end + self.Base.Label.Text:Text(tostring(Text)) + else + return self.Base.Label.Text:Text() + end +end + +function UIMenuColouredItem:SetLeftBadge(Badge) + if tonumber(Badge) then + self.Base.LeftBadge.Badge = tonumber(Badge) + end +end + +function UIMenuColouredItem:SetRightBadge(Badge) + if tonumber(Badge) then + self.Base.RightBadge.Badge = tonumber(Badge) + end +end + +function UIMenuColouredItem:Draw() + self.Rectangle:Size(431 + self.ParentMenu.WidthOffset, self.Rectangle.Height) + self.Rectangle:Draw() + self.Base:Draw() +end + +--[[ + UIMenuProgressItem.lua + Items +--]] + +function UIMenuProgressItem.New(Text, Items, Index, Description, Counter) + if type(Items) ~= "table" then Items = {} end + if Index == 0 then Index = 1 end + local _UIMenuProgressItem = { + Base = UIMenuItem.New(Text or "", Description or ""), + Data = { + Items = Items, + Counter = tobool(Counter), + Max = 407.5, + Index = tonumber(Index) or 1, + }, + Background = UIResRectangle.New(0, 0, 415, 20), + Bar = UIResRectangle.New(0, 0, 407.5, 12.5), + OnProgressChanged = function(menu, item, newindex) end, + OnProgressSelected = function(menu, item, newindex) end, + } + + _UIMenuProgressItem.Base.Rectangle.Height = 60 + _UIMenuProgressItem.Base.SelectedSprite.Height = 60 + + if _UIMenuProgressItem.Data.Counter then + _UIMenuProgressItem.Base:RightLabel(_UIMenuProgressItem.Data.Index .. "/" .. #_UIMenuProgressItem.Data.Items) + else + _UIMenuProgressItem.Base:RightLabel((type(_UIMenuProgressItem.Data.Items[_UIMenuProgressItem.Data.Index]) == "table") and tostring(_UIMenuProgressItem.Data.Items[_UIMenuProgressItem.Data.Index].Name) or tostring(_UIMenuProgressItem.Data.Items[_UIMenuProgressItem.Data.Index])) + end + + _UIMenuProgressItem.Bar.Width = _UIMenuProgressItem.Data.Index / #_UIMenuProgressItem.Data.Items * _UIMenuProgressItem.Data.Max + + return setmetatable(_UIMenuProgressItem, UIMenuProgressItem) +end + +function UIMenuProgressItem:SetParentMenu(Menu) + if Menu() == "UIMenu" then + self.Base.ParentMenu = Menu + else + return self.Base.ParentMenu + end +end + +function UIMenuProgressItem:Position(Y) + if tonumber(Y) then + self.Base:Position(Y) + self.Background:Position(8 + self.Base._Offset.X + self.Base.ParentMenu.WidthOffset, 177 + Y + self.Base._Offset.Y) + self.Bar:Position(11.75 + self.Base._Offset.X + self.Base.ParentMenu.WidthOffset, 180.75 + Y + self.Base._Offset.Y) + end +end + +function UIMenuProgressItem:Selected(bool) + if bool ~= nil then + self.Base._Selected = tobool(bool) + else + return self.Base._Selected + end +end + +function UIMenuProgressItem:Hovered(bool) + if bool ~= nil then + self.Base._Hovered = tobool(bool) + else + return self.Base._Hovered + end +end + +function UIMenuProgressItem:Enabled(bool) + if bool ~= nil then + self.Base._Enabled = tobool(bool) + else + return self.Base._Enabled + end +end + +function UIMenuProgressItem:Description(str) + if tostring(str) and str ~= nil then + self.Base._Description = tostring(str) + else + return self.Base._Description + end +end + +function UIMenuProgressItem:Offset(X, Y) + if tonumber(X) or tonumber(Y) then + if tonumber(X) then + self.Base._Offset.X = tonumber(X) + end + if tonumber(Y) then + self.Base._Offset.Y = tonumber(Y) + end + else + return self.Base._Offset + end +end + +function UIMenuProgressItem:Text(Text) + if tostring(Text) and Text ~= nil then + self.Base.Text:Text(tostring(Text)) + else + return self.Base.Text:Text() + end +end + +function UIMenuProgressItem:Index(Index) + if tonumber(Index) then + if tonumber(Index) > #self.Data.Items then + self.Data.Index = 1 + elseif tonumber(Index) < 1 then + self.Data.Index = #self.Data.Items + else + self.Data.Index = tonumber(Index) + end + + if self.Data.Counter then + self.Base:RightLabel(self.Data.Index .. "/" .. #self.Data.Items) + else + self.Base:RightLabel((type(self.Data.Items[self.Data.Index]) == "table") and tostring(self.Data.Items[self.Data.Index].Name) or tostring(self.Data.Items[self.Data.Index])) + end + + self.Bar.Width = self.Data.Index / #self.Data.Items * self.Data.Max + else + return self.Data.Index + end +end + +function UIMenuProgressItem:ItemToIndex(Item) + for i = 1, #self.Data.Items do + if type(Item) == type(self.Data.Items[i]) and Item == self.Data.Items[i] then + return i + elseif type(self.Data.Items[i]) == "table" and (type(Item) == type(self.Data.Items[i].Name) or type(Item) == type(self.Data.Items[i].Value)) and (Item == self.Data.Items[i].Name or Item == self.Data.Items[i].Value) then + return i + end + end +end + +function UIMenuProgressItem:IndexToItem(Index) + if tonumber(Index) then + if tonumber(Index) == 0 then Index = 1 end + if self.Data.Items[tonumber(Index)] then + return self.Data.Items[tonumber(Index)] + end + end +end + +function UIMenuProgressItem:SetLeftBadge() + error("This item does not support badges") +end + +function UIMenuProgressItem:SetRightBadge() + error("This item does not support badges") +end + +function UIMenuProgressItem:RightLabel() + error("This item does not support a right label") +end + +function UIMenuProgressItem:CalculateProgress(CursorX) + local Progress = CursorX - self.Bar.X + self:Index(math.round(#self.Data.Items * (((Progress >= 0 and Progress <= self.Data.Max) and Progress or ((Progress < 0) and 0 or self.Data.Max)) / self.Data.Max))) +end + +function UIMenuProgressItem:Draw() + self.Base:Draw() + + if self.Base._Selected then + self.Background:Colour(table.unpack(Colours.Black)) + self.Bar:Colour(table.unpack(Colours.White)) + else + self.Background:Colour(table.unpack(Colours.White)) + self.Bar:Colour(table.unpack(Colours.Black)) + end + + self.Background:Draw() + self.Bar:Draw() +end + +--[[ + UIMenuHeritageWindow.lua + Windows +--]] + +function UIMenuHeritageWindow.New(Mum, Dad) + if not tonumber(Mum) then Mum = 0 end + if not (Mum >= 0 and Mum <= 21) then Mum = 0 end + if not tonumber(Dad) then Dad = 0 end + if not (Dad >= 0 and Dad <= 23) then Dad = 0 end + _UIMenuHeritageWindow = { + Background = Sprite.New("pause_menu_pages_char_mom_dad", "mumdadbg", 0, 0, 431, 228), -- Background is required, must be a sprite or a rectangle. + MumSprite = Sprite.New("char_creator_portraits", ((Mum < 21) and "female_" .. Mum or "special_female_" .. (tonumber(string.sub(Mum, 2, 2)) - 1)), 0, 0, 228, 228), + DadSprite = Sprite.New("char_creator_portraits", ((Dad < 21) and "male_" .. Dad or "special_male_" .. (tonumber(string.sub(Dad, 2, 2)) - 1)), 0, 0, 228, 228), + Mum = Mum, + Dad = Dad, + _Offset = { X = 0, Y = 0 }, -- required + ParentMenu = nil, -- required + } + return setmetatable(_UIMenuHeritageWindow, UIMenuHeritageWindow) +end + +function UIMenuHeritageWindow:SetParentMenu(Menu) -- required + if Menu() == "UIMenu" then + self.ParentMenu = Menu + else + return self.ParentMenu + end +end + +function UIMenuHeritageWindow:Offset(X, Y) -- required + if tonumber(X) or tonumber(Y) then + if tonumber(X) then + self._Offset.X = tonumber(X) + end + if tonumber(Y) then + self._Offset.Y = tonumber(Y) + end + else + return self._Offset + end +end + +function UIMenuHeritageWindow:Position(Y) -- required + if tonumber(Y) then + self.Background:Position(self._Offset.X, 144 + Y + self._Offset.Y) + self.MumSprite:Position(self._Offset.X + (self.ParentMenu.WidthOffset / 2) + 25, 144 + Y + self._Offset.Y) + self.DadSprite:Position(self._Offset.X + (self.ParentMenu.WidthOffset / 2) + 195, 144 + Y + self._Offset.Y) + end +end + +function UIMenuHeritageWindow:Index(Mum, Dad) + if not tonumber(Mum) then Mum = self.Mum end + if not (Mum >= 0 and Mum <= 21) then Mum = self.Mum end + if not tonumber(Dad) then Dad = self.Dad end + if not (Dad >= 0 and Dad <= 23) then Dad = self.Dad end + + self.Mum = Mum + self.Dad = Dad + + self.MumSprite.TxtName = ((self.Mum < 21) and "female_" .. self.Mum or "special_female_" .. (tonumber(string.sub(Mum, 2, 2)) - 1)) + self.DadSprite.TxtName = ((self.Dad < 21) and "male_" .. self.Dad or "special_male_" .. (tonumber(string.sub(Dad, 2, 2)) - 1)) +end + +function UIMenuHeritageWindow:Draw() -- required + self.Background:Size(431 + self.ParentMenu.WidthOffset, 228) + self.Background:Draw() + self.DadSprite:Draw() + self.MumSprite:Draw() +end + +--[[ + UIMenuGridPanel.lua + Panels +--]] + +UIMenuGridPanel = setmetatable({}, UIMenuGridPanel) +UIMenuGridPanel.__index = UIMenuGridPanel +UIMenuGridPanel.__call = function() return "UIMenuPanel", "UIMenuGridPanel" end + +function UIMenuGridPanel.New(TopText, LeftText, RightText, BottomText) + _UIMenuGridPanel = { + Data = { + Enabled = true, + }, + Background = Sprite.New("commonmenu", "gradient_bgd", 0, 0, 431, 275), + Grid = Sprite.New("pause_menu_pages_char_mom_dad", "nose_grid", 0, 0, 200, 200, 0), + Circle = Sprite.New("mpinventory", "in_world_circle", 0, 0, 20, 20, 0), + Audio = { Slider = "CONTINUOUS_SLIDER", Library = "HUD_FRONTEND_DEFAULT_SOUNDSET", Id = nil }, + ParentItem = nil, + Text = { + Top = UIResText.New(TopText or "Top", 0, 0, 0.35, 255, 255, 255, 255, 0, "Centre"), + Left = UIResText.New(LeftText or "Left", 0, 0, 0.35, 255, 255, 255, 255, 0, "Centre"), + Right = UIResText.New(RightText or "Right", 0, 0, 0.35, 255, 255, 255, 255, 0, "Centre"), + Bottom = UIResText.New(BottomText or "Bottom", 0, 0, 0.35, 255, 255, 255, 255, 0, "Centre"), + }, + } + return setmetatable(_UIMenuGridPanel, UIMenuGridPanel) +end + +function UIMenuGridPanel:SetParentItem(Item) -- required + if Item() == "UIMenuItem" then + self.ParentItem = Item + else + return self.ParentItem + end +end + +function UIMenuGridPanel:Enabled(Enabled) + if type(Enabled) == "boolean" then + self.Data.Enabled = Enabled + else + return self.Data.Enabled + end +end + +function UIMenuGridPanel:CirclePosition(X, Y) + if tonumber(X) and tonumber(Y) then + self.Circle.X = (self.Grid.X + 20) + ((self.Grid.Width - 40) * ((X >= 0.0 and X <= 1.0) and X or 0.0)) - (self.Circle.Width / 2) + self.Circle.Y = (self.Grid.Y + 20) + ((self.Grid.Height - 40) * ((Y >= 0.0 and Y <= 1.0) and Y or 0.0)) - (self.Circle.Height / 2) + else + return math.round((self.Circle.X - (self.Grid.X + 20) + (self.Circle.Width / 2)) / (self.Grid.Width - 40), 2), math.round((self.Circle.Y - (self.Grid.Y + 20) + (self.Circle.Height / 2)) / (self.Grid.Height - 40), 2) + end +end + +function UIMenuGridPanel:Position(Y) -- required + if tonumber(Y) then + local ParentOffsetX, ParentOffsetWidth = self.ParentItem:Offset().X, self.ParentItem:SetParentMenu().WidthOffset + + self.Background:Position(ParentOffsetX, Y) + self.Grid:Position(ParentOffsetX + 115.5 + (ParentOffsetWidth / 2), 37.5 + Y) + self.Text.Top:Position(ParentOffsetX + 215.5 + (ParentOffsetWidth / 2), 5 + Y) + self.Text.Left:Position(ParentOffsetX + 57.75 + (ParentOffsetWidth / 2), 120 + Y) + self.Text.Right:Position(ParentOffsetX + 373.25 + (ParentOffsetWidth / 2), 120 + Y) + self.Text.Bottom:Position(ParentOffsetX + 215.5 + (ParentOffsetWidth / 2), 240 + Y) + + if not self.CircleLocked then + self.CircleLocked = true + self:CirclePosition(0.5, 0.5) + end + end +end + +function UIMenuGridPanel:UpdateParent(X, Y) + local _, ParentType = self.ParentItem() + if ParentType == "UIMenuListItem" then + local PanelItemIndex = self.ParentItem:FindPanelItem() + if PanelItemIndex then + self.ParentItem.Items[PanelItemIndex].Value[self.ParentItem:FindPanelIndex(self)] = { X = X, Y = Y } + self.ParentItem:Index(PanelItemIndex) + self.ParentItem.Base.ParentMenu.OnListChange(self.ParentItem.Base.ParentMenu, self.ParentItem, self.ParentItem._Index) + self.ParentItem.OnListChanged(self.ParentItem.Base.ParentMenu, self.ParentItem, self.ParentItem._Index) + else + local PanelIndex = self.ParentItem:FindPanelIndex(self) + for Index = 1, #self.ParentItem.Items do + if type(self.ParentItem.Items[Index]) == "table" then + if not self.ParentItem.Items[Index].Panels then self.ParentItem.Items[Index].Panels = {} end + self.ParentItem.Items[Index].Panels[PanelIndex] = { X = X, Y = Y } + else + self.ParentItem.Items[Index] = { Name = tostring(self.ParentItem.Items[Index]), Value = self.ParentItem.Items[Index], Panels = { [PanelIndex] = { X = X, Y = Y } } } + end + end + self.ParentItem.Base.ParentMenu.OnListChange(self.ParentItem.Base.ParentMenu, self.ParentItem, self.ParentItem._Index) + self.ParentItem.OnListChanged(self.ParentItem.Base.ParentMenu, self.ParentItem, self.ParentItem._Index) + end + elseif ParentType == "UIMenuItem" then + self.ParentItem.ActivatedPanel(self.ParentItem.ParentMenu, self.ParentItem, self, { X = X, Y = Y }) + end +end + +function UIMenuGridPanel:Functions() + local SafeZone = { X = 0, Y = 0 } + if self.ParentItem:SetParentMenu().Settings.ScaleWithSafezone then + SafeZone = GetSafeZoneBounds() + end + + if IsMouseInBounds(self.Grid.X + 20 + SafeZone.X, self.Grid.Y + 20 + SafeZone.Y, self.Grid.Width - 40, self.Grid.Height - 40) then + if IsDisabledControlJustPressed(0, 24) then + if not self.Pressed then + self.Pressed = true + Citizen.CreateThread(function() + self.Audio.Id = GetSoundId() + PlaySoundFrontend(self.Audio.Id, self.Audio.Slider, self.Audio.Library, 1) + while IsDisabledControlPressed(0, 24) and IsMouseInBounds(self.Grid.X + 20 + SafeZone.X, self.Grid.Y + 20 + SafeZone.Y, self.Grid.Width - 40, self.Grid.Height - 40) do + Citizen.Wait(0) + local CursorX, CursorY = math.round(GetControlNormal(0, 239) * 1920) - SafeZone.X - (self.Circle.Width / 2), math.round(GetControlNormal(0, 240) * 1080) - SafeZone.Y - (self.Circle.Height / 2) + + self.Circle:Position(((CursorX > (self.Grid.X + 10 + self.Grid.Width - 40)) and (self.Grid.X + 10 + self.Grid.Width - 40) or ((CursorX < (self.Grid.X + 20 - (self.Circle.Width / 2))) and (self.Grid.X + 20 - (self.Circle.Width / 2)) or CursorX)), ((CursorY > (self.Grid.Y + 10 + self.Grid.Height - 40)) and (self.Grid.Y + 10 + self.Grid.Height - 40) or ((CursorY < (self.Grid.Y + 20 - (self.Circle.Height / 2))) and (self.Grid.Y + 20 - (self.Circle.Height / 2)) or CursorY))) + end + StopSound(self.Audio.Id) + ReleaseSoundId(self.Audio.Id) + self.Pressed = false + end) + Citizen.CreateThread(function() + while IsDisabledControlPressed(0, 24) and IsMouseInBounds(self.Grid.X + 20 + SafeZone.X, self.Grid.Y + 20 + SafeZone.Y, self.Grid.Width - 40, self.Grid.Height - 40) do + Citizen.Wait(75) + local ResultX, ResultY = math.round((self.Circle.X - (self.Grid.X + 20) + (self.Circle.Width / 2)) / (self.Grid.Width - 40), 2), math.round((self.Circle.Y - (self.Grid.Y + 20) + (self.Circle.Height / 2)) / (self.Grid.Height - 40), 2) + + self:UpdateParent((((ResultX >= 0.0 and ResultX <= 1.0) and ResultX or ((ResultX <= 0) and 0.0) or 1.0) * 2) - 1, (((ResultY >= 0.0 and ResultY <= 1.0) and ResultY or ((ResultY <= 0) and 0.0) or 1.0) * 2) - 1) + end + end) + end + end + end +end + +function UIMenuGridPanel:Draw() -- required + if self.Data.Enabled then + self.Background:Size(431 + self.ParentItem:SetParentMenu().WidthOffset, 275) + + self.Background:Draw() + self.Grid:Draw() + self.Circle:Draw() + self.Text.Top:Draw() + self.Text.Left:Draw() + self.Text.Right:Draw() + self.Text.Bottom:Draw() + self:Functions() + end +end + +--[[ + UIMenuColourPanel.lua + Panels +--]] + +UIMenuColourPanel = setmetatable({}, UIMenuColourPanel) +UIMenuColourPanel.__index = UIMenuColourPanel +UIMenuColourPanel.__call = function() return "UIMenuPanel", "UIMenuColourPanel" end + +function UIMenuColourPanel.New(Title, Colours) + _UIMenuColourPanel = { + Data = { + Pagination = { + Min = 1, + Max = 8, + Total = 8, + }, + Index = 1000, + Items = Colours, + Title = Title or "Title", + Enabled = true, + Value = 1, + }, + Background = Sprite.New("commonmenu", "gradient_bgd", 0, 0, 431, 112), + Bar = {}, + LeftArrow = Sprite.New("commonmenu", "arrowleft", 0, 0, 30, 30), + RightArrow = Sprite.New("commonmenu", "arrowright", 0, 0, 30, 30), + SelectedRectangle = UIResRectangle.New(0, 0, 44.5, 8), + Text = UIResText.New(Title .. " (1 of " .. #Colours .. ")" or "Title" .. " (1 of " .. #Colours .. ")", 0, 0, 0.35, 255, 255, 255, 255, 0, "Centre"), + ParentItem = nil, + } + + for Index = 1, #Colours do + if Index < 10 then + table.insert(_UIMenuColourPanel.Bar, UIResRectangle.New(0, 0, 44.5, 44.5, table.unpack(Colours[Index]))) + else + break + end + end + + if #_UIMenuColourPanel.Data.Items ~= 0 then + _UIMenuColourPanel.Data.Index = 1000 - (1000 % #_UIMenuColourPanel.Data.Items) + _UIMenuColourPanel.Data.Pagination.Max = _UIMenuColourPanel.Data.Pagination.Total + 1 + _UIMenuColourPanel.Data.Pagination.Min = 0 + end + return setmetatable(_UIMenuColourPanel, UIMenuColourPanel) +end + +function UIMenuColourPanel:SetParentItem(Item) -- required + if Item() == "UIMenuItem" then + self.ParentItem = Item + else + return self.ParentItem + end +end + +function UIMenuColourPanel:Enabled(Enabled) + if type(Enabled) == "boolean" then + self.Data.Enabled = Enabled + else + return self.Data.Enabled + end +end + +function UIMenuColourPanel:Position(Y) -- required + if tonumber(Y) then + local ParentOffsetX, ParentOffsetWidth = self.ParentItem:Offset().X, self.ParentItem:SetParentMenu().WidthOffset + + self.Background:Position(ParentOffsetX, Y) + for Index = 1, #self.Bar do + self.Bar[Index]:Position(15 + (44.5 * (Index - 1)) + ParentOffsetX + (ParentOffsetWidth / 2), 55 + Y) + end + self.SelectedRectangle:Position(15 + (44.5 * ((self:CurrentSelection() - self.Data.Pagination.Min) - 1)) + ParentOffsetX + (ParentOffsetWidth / 2), 47 + Y) + self.LeftArrow:Position(7.5 + ParentOffsetX + (ParentOffsetWidth / 2), 15 + Y) + self.RightArrow:Position(393.5 + ParentOffsetX + (ParentOffsetWidth / 2), 15 + Y) + self.Text:Position(215.5 + ParentOffsetX + (ParentOffsetWidth / 2), 15 + Y) + end +end + +function UIMenuColourPanel:CurrentSelection(value, PreventUpdate) + if tonumber(value) then + if #self.Data.Items == 0 then + self.Data.Index = 0 + end + + self.Data.Index = 1000000 - (1000000 % #self.Data.Items) + tonumber(value) + + if self:CurrentSelection() > self.Data.Pagination.Max then + self.Data.Pagination.Min = self:CurrentSelection() - (self.Data.Pagination.Total + 1) + self.Data.Pagination.Max = self:CurrentSelection() + elseif self:CurrentSelection() < self.Data.Pagination.Min then + self.Data.Pagination.Min = self:CurrentSelection() - 1 + self.Data.Pagination.Max = self:CurrentSelection() + (self.Data.Pagination.Total + 1) + end + + self:UpdateSelection(PreventUpdate) + else + if #self.Data.Items == 0 then + return 1 + else + if self.Data.Index % #self.Data.Items == 0 then + return 1 + else + return self.Data.Index % #self.Data.Items + 1 + end + end + end +end + +function UIMenuColourPanel:UpdateParent(Colour) + local _, ParentType = self.ParentItem() + if ParentType == "UIMenuListItem" then + local PanelItemIndex = self.ParentItem:FindPanelItem() + local PanelIndex = self.ParentItem:FindPanelIndex(self) + if PanelItemIndex then + self.ParentItem.Items[PanelItemIndex].Value[PanelIndex] = Colour + self.ParentItem:Index(PanelItemIndex) + self.ParentItem.Base.ParentMenu.OnListChange(self.ParentItem.Base.ParentMenu, self.ParentItem, self.ParentItem._Index) + self.ParentItem.OnListChanged(self.ParentItem.Base.ParentMenu, self.ParentItem, self.ParentItem._Index) + else + for Index = 1, #self.ParentItem.Items do + if type(self.ParentItem.Items[Index]) == "table" then + if not self.ParentItem.Items[Index].Panels then self.ParentItem.Items[Index].Panels = {} end + self.ParentItem.Items[Index].Panels[PanelIndex] = Colour + else + self.ParentItem.Items[Index] = { Name = tostring(self.ParentItem.Items[Index]), Value = self.ParentItem.Items[Index], Panels = { [PanelIndex] = Colour } } + end + end + self.ParentItem.Base.ParentMenu.OnListChange(self.ParentItem.Base.ParentMenu, self.ParentItem, self.ParentItem._Index) + self.ParentItem.OnListChanged(self.ParentItem.Base.ParentMenu, self.ParentItem, self.ParentItem._Index) + end + elseif ParentType == "UIMenuItem" then + self.ParentItem.ActivatedPanel(self.ParentItem.ParentMenu, self.ParentItem, self, Colour) + end +end + +function UIMenuColourPanel:UpdateSelection(PreventUpdate) + local CurrentSelection = self:CurrentSelection() + if not PreventUpdate then + self:UpdateParent(CurrentSelection) + end + self.SelectedRectangle:Position(15 + (44.5 * ((CurrentSelection - self.Data.Pagination.Min) - 1)) + self.ParentItem:Offset().X, self.SelectedRectangle.Y) + for Index = 1, 9 do + self.Bar[Index]:Colour(table.unpack(self.Data.Items[self.Data.Pagination.Min + Index])) + end + self.Text:Text(self.Data.Title .. " (" .. CurrentSelection .. " of " .. #self.Data.Items .. ")") +end + +function UIMenuColourPanel:Functions() + + local SafeZone = { X = 0, Y = 0 } + if self.ParentItem:SetParentMenu().Settings.ScaleWithSafezone then + SafeZone = GetSafeZoneBounds() + end + + + if IsMouseInBounds(self.LeftArrow.X + SafeZone.X, self.LeftArrow.Y + SafeZone.Y, self.LeftArrow.Width, self.LeftArrow.Height) then + if IsDisabledControlJustPressed(0, 24) then + if #self.Data.Items > self.Data.Pagination.Total + 1 then + if self:CurrentSelection() <= self.Data.Pagination.Min + 1 then + if self:CurrentSelection() == 1 then + self.Data.Pagination.Min = #self.Data.Items - (self.Data.Pagination.Total + 1) + self.Data.Pagination.Max = #self.Data.Items + self.Data.Index = 1000 - (1000 % #self.Data.Items) + self.Data.Index = self.Data.Index + (#self.Data.Items - 1) + self:UpdateSelection() + else + self.Data.Pagination.Min = self.Data.Pagination.Min - 1 + self.Data.Pagination.Max = self.Data.Pagination.Max - 1 + self.Data.Index = self.Data.Index - 1 + self:UpdateSelection() + end + else + self.Data.Index = self.Data.Index - 1 + self:UpdateSelection() + end + else + self.Data.Index = self.Data.Index - 1 + self:UpdateSelection() + end + end + end + + if IsMouseInBounds(self.RightArrow.X + SafeZone.X, self.RightArrow.Y + SafeZone.Y, self.RightArrow.Width, self.RightArrow.Height) then + if IsDisabledControlJustPressed(0, 24) then + if #self.Data.Items > self.Data.Pagination.Total + 1 then + if self:CurrentSelection() >= self.Data.Pagination.Max then + if self:CurrentSelection() == #self.Data.Items then + self.Data.Pagination.Min = 0 + self.Data.Pagination.Max = self.Data.Pagination.Total + 1 + self.Data.Index = 1000 - (1000 % #self.Data.Items) + self:UpdateSelection() + else + self.Data.Pagination.Max = self.Data.Pagination.Max + 1 + self.Data.Pagination.Min = self.Data.Pagination.Max - (self.Data.Pagination.Total + 1) + self.Data.Index = self.Data.Index + 1 + self:UpdateSelection() + end + else + self.Data.Index = self.Data.Index + 1 + self:UpdateSelection() + end + else + self.Data.Index = self.Data.Index + 1 + self:UpdateSelection() + end + end + end + + for Index = 1, #self.Bar do + if IsMouseInBounds(self.Bar[Index].X + SafeZone.X, self.Bar[Index].Y + SafeZone.Y, self.Bar[Index].Width, self.Bar[Index].Height) then + if IsDisabledControlJustPressed(0, 24) then + self:CurrentSelection(self.Data.Pagination.Min + Index - 1) + end + end + end +end + +function UIMenuColourPanel:Draw() -- required + if self.Data.Enabled then + self.Background:Size(431 + self.ParentItem:SetParentMenu().WidthOffset, 112) + + self.Background:Draw() + self.LeftArrow:Draw() + self.RightArrow:Draw() + self.Text:Draw() + self.SelectedRectangle:Draw() + for Index = 1, #self.Bar do + self.Bar[Index]:Draw() + end + self:Functions() + end +end + +--[[ + UIMenuPercentagePanel.lua + Panels +--]] + +UIMenuPercentagePanel = setmetatable({}, UIMenuPercentagePanel) +UIMenuPercentagePanel.__index = UIMenuPercentagePanel +UIMenuPercentagePanel.__call = function() return "UIMenuPanel", "UIMenuPercentagePanel" end + +function UIMenuPercentagePanel.New(MinText, MaxText) + _UIMenuPercentagePanel = { + Data = { + Enabled = true, + }, + Background = Sprite.New("commonmenu", "gradient_bgd", 0, 0, 431, 76), + ActiveBar = UIResRectangle.New(0, 0, 413, 10, 245, 245, 245, 255), + BackgroundBar = UIResRectangle.New(0, 0, 413, 10, 87, 87, 87, 255), + Text = { + Min = UIResText.New(MinText or "0%", 0, 0, 0.35, 255, 255, 255, 255, 0, "Centre"), + Max = UIResText.New("100%", 0, 0, 0.35, 255, 255, 255, 255, 0, "Centre"), + Title = UIResText.New(MaxText or "Opacity", 0, 0, 0.35, 255, 255, 255, 255, 0, "Centre"), + }, + Audio = { Slider = "CONTINUOUS_SLIDER", Library = "HUD_FRONTEND_DEFAULT_SOUNDSET", Id = nil }, + ParentItem = nil, + } + + return setmetatable(_UIMenuPercentagePanel, UIMenuPercentagePanel) +end + +function UIMenuPercentagePanel:SetParentItem(Item) -- required + if Item() == "UIMenuItem" then + self.ParentItem = Item + else + return self.ParentItem + end +end + +function UIMenuPercentagePanel:Enabled(Enabled) + if type(Enabled) == "boolean" then + self.Data.Enabled = Enabled + else + return self.Data.Enabled + end +end + +function UIMenuPercentagePanel:Position(Y) -- required + if tonumber(Y) then + local ParentOffsetX, ParentOffsetWidth = self.ParentItem:Offset().X, self.ParentItem:SetParentMenu().WidthOffset + self.Background:Position(ParentOffsetX, Y) + self.ActiveBar:Position(ParentOffsetX + (ParentOffsetWidth / 2) + 9, 50 + Y) + self.BackgroundBar:Position(ParentOffsetX + (ParentOffsetWidth / 2) + 9, 50 + Y) + self.Text.Min:Position(ParentOffsetX + (ParentOffsetWidth / 2) + 25, 15 + Y) + self.Text.Max:Position(ParentOffsetX + (ParentOffsetWidth / 2) + 398, 15 + Y) + self.Text.Title:Position(ParentOffsetX + (ParentOffsetWidth / 2) + 215.5, 15 + Y) + end +end + +function UIMenuPercentagePanel:Percentage(Value) + if tonumber(Value) then + local Percent = ((Value < 0.0) and 0.0) or ((Value > 1.0) and 1.0 or Value) + self.ActiveBar:Size(self.BackgroundBar.Width * Percent, self.ActiveBar.Height) + else + local SafeZone = { X = 0, Y = 0 } + if self.ParentItem:SetParentMenu().Settings.ScaleWithSafezone then + SafeZone = GetSafeZoneBounds() + end + + local Progress = (math.round(GetControlNormal(0, 239) * 1920) - SafeZone.X) - self.ActiveBar.X + return math.round(((Progress >= 0 and Progress <= 413) and Progress or ((Progress < 0) and 0 or 413)) / self.BackgroundBar.Width, 2) + end +end + +function UIMenuPercentagePanel:UpdateParent(Percentage) + local _, ParentType = self.ParentItem() + if ParentType == "UIMenuListItem" then + local PanelItemIndex = self.ParentItem:FindPanelItem() + if PanelItemIndex then + self.ParentItem.Items[PanelItemIndex].Value[self.ParentItem:FindPanelIndex(self)] = Percentage + self.ParentItem:Index(PanelItemIndex) + self.ParentItem.Base.ParentMenu.OnListChange(self.ParentItem.Base.ParentMenu, self.ParentItem, self.ParentItem._Index) + self.ParentItem.OnListChanged(self.ParentItem.Base.ParentMenu, self.ParentItem, self.ParentItem._Index) + else + local PanelIndex = self.ParentItem:FindPanelIndex(self) + for Index = 1, #self.ParentItem.Items do + if type(self.ParentItem.Items[Index]) == "table" then + if not self.ParentItem.Items[Index].Panels then self.ParentItem.Items[Index].Panels = {} end + self.ParentItem.Items[Index].Panels[PanelIndex] = Percentage + else + self.ParentItem.Items[Index] = { Name = tostring(self.ParentItem.Items[Index]), Value = self.ParentItem.Items[Index], Panels = { [PanelIndex] = Percentage } } + end + end + self.ParentItem.Base.ParentMenu.OnListChange(self.ParentItem.Base.ParentMenu, self.ParentItem, self.ParentItem._Index) + self.ParentItem.OnListChanged(self.ParentItem.Base.ParentMenu, self.ParentItem, self.ParentItem._Index) + end + elseif ParentType == "UIMenuItem" then + self.ParentItem.ActivatedPanel(self.ParentItem.ParentMenu, self.ParentItem, self, Percentage) + end +end + +function UIMenuPercentagePanel:Functions() + + local SafeZone = { X = 0, Y = 0 } + if self.ParentItem:SetParentMenu().Settings.ScaleWithSafezone then + SafeZone = GetSafeZoneBounds() + end + + if IsMouseInBounds(self.BackgroundBar.X + SafeZone.X, self.BackgroundBar.Y - 4 + SafeZone.Y, self.BackgroundBar.Width, self.BackgroundBar.Height + 8) then + if IsDisabledControlJustPressed(0, 24) then + if not self.Pressed then + self.Pressed = true + Citizen.CreateThread(function() + self.Audio.Id = GetSoundId() + PlaySoundFrontend(self.Audio.Id, self.Audio.Slider, self.Audio.Library, 1) + while IsDisabledControlPressed(0, 24) and IsMouseInBounds(self.BackgroundBar.X + SafeZone.X, self.BackgroundBar.Y - 4 + SafeZone.Y, self.BackgroundBar.Width, self.BackgroundBar.Height + 8) do + Citizen.Wait(0) + local Progress = (math.round(GetControlNormal(0, 239) * 1920) - SafeZone.X) - self.ActiveBar.X + self.ActiveBar:Size(((Progress >= 0 and Progress <= 413) and Progress or ((Progress < 0) and 0 or 413)), self.ActiveBar.Height) + end + StopSound(self.Audio.Id) + ReleaseSoundId(self.Audio.Id) + self.Pressed = false + end) + Citizen.CreateThread(function() + while IsDisabledControlPressed(0, 24) and IsMouseInBounds(self.BackgroundBar.X + SafeZone.X, self.BackgroundBar.Y - 4 + SafeZone.Y, self.BackgroundBar.Width, self.BackgroundBar.Height + 8) do + Citizen.Wait(75) + local Progress = (math.round(GetControlNormal(0, 239) * 1920) - SafeZone.X) - self.ActiveBar.X + self:UpdateParent(math.round(((Progress >= 0 and Progress <= 413) and Progress or ((Progress < 0) and 0 or 413)) / self.BackgroundBar.Width, 2)) + end + end) + end + end + end +end + +function UIMenuPercentagePanel:Draw() -- required + if self.Data.Enabled then + self.Background:Size(431 + self.ParentItem:SetParentMenu().WidthOffset, 76) + self.Background:Draw() + self.BackgroundBar:Draw() + self.ActiveBar:Draw() + self.Text.Min:Draw() + self.Text.Max:Draw() + self.Text.Title:Draw() + self:Functions() + end +end + +--[[ + UIMenu.lua + Menus +--]] + +function UIMenu.New(Title, Subtitle, X, Y, TxtDictionary, TxtName) + local X, Y = tonumber(X) or 0, tonumber(Y) or 0 + if Title ~= nil then Title = tostring(Title) or "" else Title = "" end + if Subtitle ~= nil then Subtitle = tostring(Subtitle) or "" else Subtitle = "" end + if TxtDictionary ~= nil then TxtDictionary = tostring(TxtDictionary) or "commonmenu" else TxtDictionary = "commonmenu" end + if TxtName ~= nil then TxtName = tostring(TxtName) or "interaction_bgd" else TxtName = "interaction_bgd" end + local _UIMenu = { + Logo = Sprite.New(TxtDictionary, TxtName, 0 + X, 0 + Y, 431, 107), + Banner = nil, + Title = UIResText.New(Title, 215 + X, 20 + Y, 1.15, 255, 255, 255, 255, 1, 1), + Subtitle = { ExtraY = 0 }, + WidthOffset = 0, + Position = { X = X, Y = Y }, + Pagination = { Min = 0, Max = 9, Total = 9 }, + PageCounter = { PreText = "" }, + Extra = {}, + Description = {}, + Items = {}, + Windows = {}, + Children = {}, + Controls = { + Back = { + Enabled = true, + }, + Select = { + Enabled = true, + }, + Left = { + Enabled = true, + }, + Right = { + Enabled = true, + }, + Up = { + Enabled = true, + }, + Down = { + Enabled = true, + }, + Increment = { + Enabled = true, + } + }, + ParentMenu = nil, + ParentItem = nil, + _Visible = false, + ActiveItem = 1000, + Dirty = false; + ReDraw = true, + InstructionalScaleform = RequestScaleformMovie("INSTRUCTIONAL_BUTTONS"), + InstructionalButtons = {}, + OnIndexChange = function(menu, newindex) end, + OnListChange = function(menu, list, newindex) end, + OnSliderChange = function(menu, slider, newindex) end, + OnProgressChange = function(menu, progress, newindex) end, + OnCheckboxChange = function(menu, item, checked) end, + OnListSelect = function(menu, list, index) end, + OnSliderSelect = function(menu, slider, index) end, + OnProgressSelect = function(menu, progress, index) end, + OnItemSelect = function(menu, item, index) end, + OnMenuChanged = function(menu, newmenu, forward) end, + OnMenuClosed = function(menu) end, + Settings = { + InstructionalButtons = true, + MultilineFormats = true, + ScaleWithSafezone = true, + ResetCursorOnOpen = false, + MouseControlsEnabled = false, + MouseEdgeEnabled = false, + ControlDisablingEnabled = true, + Audio = { + Library = "HUD_FRONTEND_DEFAULT_SOUNDSET", + UpDown = "NAV_UP_DOWN", + LeftRight = "NAV_LEFT_RIGHT", + Select = "SELECT", + Back = "BACK", + Error = "ERROR", + }, + EnabledControls = { + Controller = { + { 0, 2 }, -- Look Up and Down + { 0, 1 }, -- Look Left and Right + { 0, 25 }, -- Aim + { 0, 24 }, -- Attack + }, + Keyboard = { + { 0, 0 }, -- Camera + { 0, 1 }, -- Look Left and Right + { 0, 2 }, -- Look Up and Down + { 0, 8 }, -- Fly Up and Down + { 0, 9 }, -- Fly Left and Right + { 0, 21 }, -- Sprint + { 0, 22 }, -- Jump + { 0, 23 }, -- Enter + { 0, 24 }, -- Attack + { 0, 25 }, -- Aim + { 0, 26 }, -- C + { 0, 30 }, -- Move Left and Right + { 0, 31 }, -- Move Up and Down + { 0, 47 }, -- G + { 0, 59 }, -- Move Vehicle Left and Right + { 0, 71 }, -- Accelerate Vehicle + { 0, 72 }, -- Vehicle Brake + { 0, 73 }, -- X + { 0, 75 }, -- Exit Vehicle + { 0, 76 }, -- Vehicle Handbrake + { 0, 89 }, -- Fly Yaw Left + { 0, 90 }, -- Fly Yaw Right + { 0, 108 }, -- Num Pad 4 + { 0, 109 }, -- Num Pad 6 + { 0, 110 }, -- Num Pad 5 + { 0, 111 }, -- Num Pad 8 + { 0, 117 }, -- Num Pad 7 + { 0, 118 }, -- Num Pad 9 + { 0, 171 }, -- CAPSLOCK + { 0, 187 }, -- Down + { 0, 188 }, -- Up + { 0, 189 }, -- Left + { 0, 190 }, -- Right + { 0, 195 }, -- X axis + { 0, 196 }, -- Y axis + { 0, 201 }, -- Select + { 0, 202 }, -- Back + { 0, 203 }, -- Spacebar? + { 0, 217 }, -- Select + { 0, 239 }, -- Cursor X + { 0, 240 }, -- Cursor Y + { 0, 241 }, -- Scroll up + { 0, 242 }, -- Scroll down + { 0, 249 }, -- N + { 0, 305 }, -- B + { 0, 306 }, -- N + }, + } + } + } + + if Subtitle ~= "" and Subtitle ~= nil then + _UIMenu.Subtitle.Rectangle = UIResRectangle.New(0 + _UIMenu.Position.X, 107 + _UIMenu.Position.Y, 431, 37, 0, 0, 0, 255) + _UIMenu.Subtitle.Text = UIResText.New(Subtitle, 8 + _UIMenu.Position.X, 110 + _UIMenu.Position.Y, 0.35, 245, 245, 245, 255, 0) + _UIMenu.Subtitle.BackupText = Subtitle + _UIMenu.Subtitle.Formatted = false + if string.starts(Subtitle, "~") then + _UIMenu.PageCounter.PreText = string.sub(Subtitle, 1, 3) + end + _UIMenu.PageCounter.Text = UIResText.New("", 425 + _UIMenu.Position.X, 110 + _UIMenu.Position.Y, 0.35, 245, 245, 245, 255, 0, "Right") + _UIMenu.Subtitle.ExtraY = 37 + end + + _UIMenu.ArrowSprite = Sprite.New("commonmenu", "shop_arrows_upanddown", 190 + _UIMenu.Position.X, 147 + 37 * (_UIMenu.Pagination.Total + 1) + _UIMenu.Position.Y - 37 + _UIMenu.Subtitle.ExtraY, 50, 50) + _UIMenu.Extra.Up = UIResRectangle.New(0 + _UIMenu.Position.X, 144 + 38 * (_UIMenu.Pagination.Total + 1) + _UIMenu.Position.Y - 37 + _UIMenu.Subtitle.ExtraY, 431, 18, 0, 0, 0, 200) + _UIMenu.Extra.Down = UIResRectangle.New(0 + _UIMenu.Position.X, 144 + 18 + 38 * (_UIMenu.Pagination.Total + 1) + _UIMenu.Position.Y - 37 + _UIMenu.Subtitle.ExtraY, 431, 18, 0, 0, 0, 200) + + _UIMenu.Description.Bar = UIResRectangle.New(_UIMenu.Position.X, 123, 431, 4, 0, 0, 0, 255) + _UIMenu.Description.Rectangle = Sprite.New("commonmenu", "gradient_bgd", _UIMenu.Position.X, 127, 431, 30) + _UIMenu.Description.Text = UIResText.New("Description", _UIMenu.Position.X + 5, 125, 0.35) + + _UIMenu.Background = Sprite.New("commonmenu", "gradient_bgd", _UIMenu.Position.X, 144 + _UIMenu.Position.Y - 37 + _UIMenu.Subtitle.ExtraY, 290, 25) + + Citizen.CreateThread(function() + if not HasScaleformMovieLoaded(_UIMenu.InstructionalScaleform) then + _UIMenu.InstructionalScaleform = RequestScaleformMovie("INSTRUCTIONAL_BUTTONS") + while not HasScaleformMovieLoaded(_UIMenu.InstructionalScaleform) do + Citizen.Wait(0) + end + end + end) + return setmetatable(_UIMenu, UIMenu) +end + +function UIMenu:SetMenuWidthOffset(Offset) + if tonumber(Offset) then + self.WidthOffset = math.floor(tonumber(Offset)) + self.Logo:Size(431 + self.WidthOffset, 107) + self.Title:Position(((self.WidthOffset + 431) / 2) + self.Position.X, 20 + self.Position.Y) + if self.Subtitle.Rectangle ~= nil then + self.Subtitle.Rectangle:Size(431 + self.WidthOffset + 100, 37) + self.PageCounter.Text:Position(425 + self.Position.X + self.WidthOffset, 110 + self.Position.Y) + end + if self.Banner ~= nil then + self.Banner:Size(431 + self.WidthOffset, 107) + end + end +end + +function UIMenu:DisEnableControls(bool) + if bool then + EnableAllControlActions(2) + else + DisableAllControlActions(2) + end + + if bool then + return + else + if Controller() then + for Index = 1, #self.Settings.EnabledControls.Controller do + EnableControlAction(self.Settings.EnabledControls.Controller[Index][1], self.Settings.EnabledControls.Controller[Index][2], true) + end + else + for Index = 1, #self.Settings.EnabledControls.Keyboard do + EnableControlAction(self.Settings.EnabledControls.Keyboard[Index][1], self.Settings.EnabledControls.Keyboard[Index][2], true) + end + end + end +end + +function UIMenu:InstructionalButtons(bool) + if bool ~= nil then + self.Settings.InstrucitonalButtons = tobool(bool) + end +end + +function UIMenu:SetBannerSprite(Sprite, IncludeChildren) + if Sprite() == "Sprite" then + self.Logo = Sprite + self.Logo:Size(431 + self.WidthOffset, 107) + self.Logo:Position(self.Position.X, self.Position.Y) + self.Banner = nil + if IncludeChildren then + for Item, Menu in pairs(self.Children) do + Menu.Logo = Sprite + Menu.Logo:Size(431 + self.WidthOffset, 107) + Menu.Logo:Position(self.Position.X, self.Position.Y) + Menu.Banner = nil + end + end + end +end + +function UIMenu:SetBannerRectangle(Rectangle, IncludeChildren) + if Rectangle() == "Rectangle" then + self.Banner = Rectangle + self.Banner:Size(431 + self.WidthOffset, 107) + self.Banner:Position(self.Position.X, self.Position.Y) + self.Logo = nil + if IncludeChildren then + for Item, Menu in pairs(self.Children) do + Menu.Banner = Rectangle + Menu.Banner:Size(431 + self.WidthOffset, 107) + Menu:Position(self.Position.X, self.Position.Y) + Menu.Logo = nil + end + end + end +end + +function UIMenu:CurrentSelection(value) + if tonumber(value) then + if #self.Items == 0 then + self.ActiveItem = 0 + end + + self.Items[self:CurrentSelection()]:Selected(false) + self.ActiveItem = 1000000 - (1000000 % #self.Items) + tonumber(value) + + if self:CurrentSelection() > self.Pagination.Max then + self.Pagination.Min = self:CurrentSelection() - self.Pagination.Total + self.Pagination.Max = self:CurrentSelection() + elseif self:CurrentSelection() < self.Pagination.Min then + self.Pagination.Min = self:CurrentSelection() + self.Pagination.Max = self:CurrentSelection() + self.Pagination.Total + end + else + if #self.Items == 0 then + return 1 + else + if self.ActiveItem % #self.Items == 0 then + return 1 + else + return self.ActiveItem % #self.Items + 1 + end + end + end +end + +function UIMenu:CalculateWindowHeight() + local Height = 0 + for i = 1, #self.Windows do + Height = Height + self.Windows[i].Background:Size().Height + end + return Height +end + +function UIMenu:CalculateItemHeightOffset(Item) + if Item.Base then + return Item.Base.Rectangle.Height + else + return Item.Rectangle.Height + end +end + +function UIMenu:CalculateItemHeight() + local ItemOffset = 0 + self.Subtitle.ExtraY - 37 + for i = self.Pagination.Min + 1, self.Pagination.Max do + local Item = self.Items[i] + if Item ~= nil then + ItemOffset = ItemOffset + self:CalculateItemHeightOffset(Item) + end + end + return ItemOffset +end + +function UIMenu:RecalculateDescriptionPosition() + local WindowHeight = self:CalculateWindowHeight() + self.Description.Bar:Position(self.Position.X, 149 + self.Position.Y + WindowHeight) + self.Description.Rectangle:Position(self.Position.X, 149 + self.Position.Y + WindowHeight) + self.Description.Text:Position(self.Position.X + 8, 155 + self.Position.Y + WindowHeight) + + self.Description.Bar:Size(431 + self.WidthOffset, 4) + self.Description.Rectangle:Size(431 + self.WidthOffset, 30) + + self.Description.Bar:Position(self.Position.X, self:CalculateItemHeight() + ((#self.Items > (self.Pagination.Total + 1)) and 37 or 0) + self.Description.Bar:Position().Y) + self.Description.Rectangle:Position(self.Position.X, self:CalculateItemHeight() + ((#self.Items > (self.Pagination.Total + 1)) and 37 or 0) + self.Description.Rectangle:Position().Y) + self.Description.Text:Position(self.Position.X + 8, self:CalculateItemHeight() + ((#self.Items > (self.Pagination.Total + 1)) and 37 or 0) + self.Description.Text:Position().Y) +end + +function UIMenu:CaclulatePanelPosition(HasDescription) + local Height = self:CalculateWindowHeight() + 149 + self.Position.Y + + if HasDescription then + Height = Height + self.Description.Rectangle:Size().Height + 5 + end + + return self:CalculateItemHeight() + ((#self.Items > (self.Pagination.Total + 1)) and 37 or 0) + Height +end + +function UIMenu:AddWindow(Window) + if Window() == "UIMenuWindow" then + Window:SetParentMenu(self) + Window:Offset(self.Position.X, self.Position.Y) + table.insert(self.Windows, Window) + self.ReDraw = true + self:RecalculateDescriptionPosition() + end +end + +function UIMenu:RemoveWindowAt(Index) + if tonumber(Index) then + if self.Windows[Index] then + table.remove(self.Windows, Index) + self.ReDraw = true + self:RecalculateDescriptionPosition() + end + end +end + +function UIMenu:AddItem(Item) + if Item() == "UIMenuItem" then + local SelectedItem = self:CurrentSelection() + Item:SetParentMenu(self) + Item:Offset(self.Position.X, self.Position.Y) + Item:Position((#self.Items * 25) - 37 + self.Subtitle.ExtraY) + table.insert(self.Items, Item) + self:RecalculateDescriptionPosition() + self:CurrentSelection(SelectedItem) + end +end + +function UIMenu:RemoveItemAt(Index) + if tonumber(Index) then + if self.Items[Index] then + local SelectedItem = self:CurrentSelection() + if #self.Items > self.Pagination.Total and self.Pagination.Max == #self.Items - 1 then + self.Pagination.Min = self.Pagination.Min - 1 + self.Pagination.Max = self.Pagination.Max + 1 + end + table.remove(self.Items, tonumber(Index)) + self:RecalculateDescriptionPosition() + self:CurrentSelection(SelectedItem) + end + end +end + +function UIMenu:RefreshIndex() + if #self.Items == 0 then + self.ActiveItem = 1000 + self.Pagination.Max = self.Pagination.Total + 1 + self.Pagination.Min = 0 + return + end + self.Items[self:CurrentSelection()]:Selected(false) + self.ActiveItem = 1000 - (1000 % #self.Items) + self.Pagination.Max = self.Pagination.Total + 1 + self.Pagination.Min = 0 + self.ReDraw = true +end + +function UIMenu:Clear() + self.Items = {} + self.ReDraw = true + self:RecalculateDescriptionPosition() +end + +function UIMenu:MultilineFormat(str) + if tostring(str) then + + local PixelPerLine = 425 + self.WidthOffset + local AggregatePixels = 0 + local output = "" + local words = string.split(tostring(str), " ") + + for i = 1, #words do + local offset = MeasureStringWidth(words[i], 0, 0.35) + AggregatePixels = AggregatePixels + offset + if AggregatePixels > PixelPerLine then + output = output .. "\n" .. words[i] .. " " + AggregatePixels = offset + MeasureString(" ") + else + output = output .. words[i] .. " " + AggregatePixels = AggregatePixels + MeasureString(" ") + end + end + return output + end +end + +function UIMenu:DrawCalculations() + local WindowHeight = self:CalculateWindowHeight() + + if self.Settings.MultilineFormats then + if self.Subtitle.Rectangle and not self.Subtitle.Formatted then + self.Subtitle.Formatted = true + self.Subtitle.Text:Text(self:MultilineFormat(self.Subtitle.Text:Text())) + + local Linecount = #string.split(self.Subtitle.Text:Text(), "\n") + self.Subtitle.ExtraY = ((Linecount == 1) and 37 or ((Linecount + 1) * 22)) + self.Subtitle.Rectangle:Size(431 + self.WidthOffset, self.Subtitle.ExtraY) + end + elseif self.Subtitle.Formatted then + self.Subtitle.Formatted = false + self.Subtitle.ExtraY = 37 + self.Subtitle.Rectangle:Size(431 + self.WidthOffset, self.Subtitle.ExtraY) + self.Subtitle.Text:Text(self.Subtitle.BackupText) + end + + self.Background:Size(431 + self.WidthOffset, self:CalculateItemHeight() + WindowHeight + ((self.Subtitle.ExtraY > 0) and 0 or 37)) + + self.Extra.Up:Size(431 + self.WidthOffset, 18) + self.Extra.Down:Size(431 + self.WidthOffset, 18) + + self.Extra.Up:Position(self.Position.X, 144 + self:CalculateItemHeight() + self.Position.Y + WindowHeight) + self.Extra.Down:Position(self.Position.X, 144 + 18 + self:CalculateItemHeight() + self.Position.Y + WindowHeight) + + if self.WidthOffset > 0 then + self.ArrowSprite:Position(190 + self.Position.X + (self.WidthOffset / 2), 137 + self:CalculateItemHeight() + self.Position.Y + WindowHeight) + else + self.ArrowSprite:Position(190 + self.Position.X + self.WidthOffset, 137 + self:CalculateItemHeight() + self.Position.Y + WindowHeight) + end + + self.ReDraw = false + + if #self.Items ~= 0 and self.Items[self:CurrentSelection()]:Description() ~= "" then + self:RecalculateDescriptionPosition() + + local description = self.Items[self:CurrentSelection()]:Description() + if self.Settings.MultilineFormats then + self.Description.Text:Text(self:MultilineFormat(description)) + else + self.Description.Text:Text(description) + end + + local Linecount = #string.split(self.Description.Text:Text(), "\n") + self.Description.Rectangle:Size(431 + self.WidthOffset, ((Linecount == 1) and 37 or ((Linecount + 1) * 22))) + end +end + +function UIMenu:Visible(bool) + if bool ~= nil then + self._Visible = tobool(bool) + self.JustOpened = tobool(bool) + self.Dirty = tobool(bool) + self:UpdateScaleform() + if self.ParentMenu ~= nil or tobool(bool) == false then + return + end + if self.Settings.ResetCursorOnOpen then + local W, H = GetScreenResolution() + SetCursorLocation(W / 2, H / 2) + SetCursorSprite(1) + end + else + return self._Visible + end +end + +local paginationValue = 1 + +function UIMenu:ProcessControl() + if not self._Visible then + return + end + + if self.JustOpened then + self.JustOpened = false + return + end + + if self.Controls.Back.Enabled and (IsDisabledControlJustReleased(0, 177) or IsDisabledControlJustReleased(1, 177) or IsDisabledControlJustReleased(2, 177) or IsDisabledControlJustReleased(0, 199) or IsDisabledControlJustReleased(1, 199) or IsDisabledControlJustReleased(2, 199)) then + self:GoBack() + end + + if self.Controls.Increment.Enabled and (IsDisabledControlJustReleased(0, 19) or IsDisabledControlJustReleased(1, 19) or IsDisabledControlJustReleased(2, 19)) then + if paginationValue == 1 then + paginationValue = 10 + else + paginationValue = 1 + end + self:Visible(true) + end + + if #self.Items == 0 then + return + end + + if not self.UpPressed then + if self.Controls.Up.Enabled and (IsDisabledControlJustPressed(0, 172) or IsDisabledControlJustPressed(1, 172) or IsDisabledControlJustPressed(2, 172) or IsDisabledControlJustPressed(0, 241) or IsDisabledControlJustPressed(1, 241) or IsDisabledControlJustPressed(2, 241) or IsDisabledControlJustPressed(2, 241)) then + self.UpPressed = true + Citizen.CreateThread(function() + if #self.Items > self.Pagination.Total + 1 then + self:GoUpOverflow() + else + self:GoUp() + end + self:UpdateScaleform() + Citizen.Wait(120) + while self.Controls.Up.Enabled and (IsDisabledControlPressed(0, 172) or IsDisabledControlPressed(1, 172) or IsDisabledControlPressed(2, 172) or IsDisabledControlPressed(0, 241) or IsDisabledControlPressed(1, 241) or IsDisabledControlPressed(2, 241) or IsDisabledControlPressed(2, 241)) do + if #self.Items > self.Pagination.Total + 1 then + self:GoUpOverflow() + else + self:GoUp() + end + self:UpdateScaleform() + Citizen.Wait(50) + end + self.UpPressed = false + end) + end + end + + if not self.DownPressed then + if self.Controls.Down.Enabled and (IsDisabledControlJustPressed(0, 173) or IsDisabledControlJustPressed(1, 173) or IsDisabledControlJustPressed(2, 173) or IsDisabledControlJustPressed(0, 242) or IsDisabledControlJustPressed(1, 242) or IsDisabledControlJustPressed(2, 242)) then + self.DownPressed = true + Citizen.CreateThread(function() + if #self.Items > self.Pagination.Total + 1 then + self:GoDownOverflow() + else + self:GoDown() + end + self:UpdateScaleform() + Citizen.Wait(120) + while self.Controls.Down.Enabled and (IsDisabledControlPressed(0, 173) or IsDisabledControlPressed(1, 173) or IsDisabledControlPressed(2, 173) or IsDisabledControlPressed(0, 242) or IsDisabledControlPressed(1, 242) or IsDisabledControlPressed(2, 242)) do + if #self.Items > self.Pagination.Total + 1 then + self:GoDownOverflow() + else + self:GoDown() + end + self:UpdateScaleform() + Citizen.Wait(50) + end + self.DownPressed = false + end) + end + end + + if not self.LeftPressed then + if self.Controls.Left.Enabled and (IsDisabledControlPressed(0, 174) or IsDisabledControlPressed(1, 174) or IsDisabledControlPressed(2, 174)) then + self.LeftPressed = true + Citizen.CreateThread(function() + self:GoLeft() + Citizen.Wait(175) + while self.Controls.Left.Enabled and (IsDisabledControlPressed(0, 174) or IsDisabledControlPressed(1, 174) or IsDisabledControlPressed(2, 174)) do + self:GoLeft() + Citizen.Wait(125) + end + self.LeftPressed = false + end) + end + end + + if not self.RightPressed then + if self.Controls.Right.Enabled and (IsDisabledControlPressed(0, 175) or IsDisabledControlPressed(1, 175) or IsDisabledControlPressed(2, 175)) then + self.RightPressed = true + Citizen.CreateThread(function() + self:GoRight() + Citizen.Wait(175) + while self.Controls.Right.Enabled and (IsDisabledControlPressed(0, 175) or IsDisabledControlPressed(1, 175) or IsDisabledControlPressed(2, 175)) do + self:GoRight() + Citizen.Wait(125) + end + self.RightPressed = false + end) + end + end + + if self.Controls.Select.Enabled and (IsDisabledControlJustPressed(0, 201) or IsDisabledControlJustPressed(1, 201) or IsDisabledControlJustPressed(2, 201)) then + self:SelectItem() + end +end + +function UIMenu:GoUpOverflow() + if self:CurrentSelection() < 10 then + paginationValue = 1 + end + + if #self.Items <= self.Pagination.Total + 1 then + return + end + + if self:CurrentSelection() <= self.Pagination.Min + 1 then + if self:CurrentSelection() == 1 then + self.Pagination.Min = #self.Items - (self.Pagination.Total + 1) + self.Pagination.Max = #self.Items + self.Items[self:CurrentSelection()]:Selected(false) + self.ActiveItem = 1000 - (1000 % #self.Items) + self.ActiveItem = self.ActiveItem + (#self.Items - 1) + self.Items[self:CurrentSelection()]:Selected(true) + else + self.Pagination.Min = self.Pagination.Min - paginationValue + self.Pagination.Max = self.Pagination.Max - paginationValue + self.Items[self:CurrentSelection()]:Selected(false) + self.ActiveItem = self.ActiveItem - paginationValue + self.Items[self:CurrentSelection()]:Selected(true) + end + else + self.Items[self:CurrentSelection()]:Selected(false) + self.ActiveItem = self.ActiveItem - 1 + self.Items[self:CurrentSelection()]:Selected(true) + end + PlaySoundFrontend(-1, self.Settings.Audio.UpDown, self.Settings.Audio.Library, true) + self.OnIndexChange(self, self:CurrentSelection()) + self.ReDraw = true +end + +function UIMenu:GoUp() + if #self.Items > self.Pagination.Total + 1 then + return + end + self.Items[self:CurrentSelection()]:Selected(false) + self.ActiveItem = self.ActiveItem - 1 + self.Items[self:CurrentSelection()]:Selected(true) + PlaySoundFrontend(-1, self.Settings.Audio.UpDown, self.Settings.Audio.Library, true) + self.OnIndexChange(self, self:CurrentSelection()) + self.ReDraw = true +end + +function UIMenu:GoDownOverflow() + if self:CurrentSelection() > (#self.Items - 10) then + paginationValue = 1 + end + + if #self.Items <= self.Pagination.Total + 1 then + return + end + + if self:CurrentSelection() >= self.Pagination.Max then + if self:CurrentSelection() == #self.Items then + self.Pagination.Min = 0 + self.Pagination.Max = self.Pagination.Total + 1 + self.Items[self:CurrentSelection()]:Selected(false) + self.ActiveItem = 1000 - (1000 % #self.Items) + self.Items[self:CurrentSelection()]:Selected(true) + else + self.Pagination.Max = self.Pagination.Max + paginationValue + self.Pagination.Min = self.Pagination.Max - (self.Pagination.Total + 1) + self.Items[self:CurrentSelection()]:Selected(false) + self.ActiveItem = self.ActiveItem + paginationValue + self.Items[self:CurrentSelection()]:Selected(true) + end + else + self.Items[self:CurrentSelection()]:Selected(false) + self.ActiveItem = self.ActiveItem + 1 + self.Items[self:CurrentSelection()]:Selected(true) + end + PlaySoundFrontend(-1, self.Settings.Audio.UpDown, self.Settings.Audio.Library, true) + self.OnIndexChange(self, self:CurrentSelection()) + self.ReDraw = true +end + +function UIMenu:GoDown() + if #self.Items > self.Pagination.Total + 1 then + return + end + + self.Items[self:CurrentSelection()]:Selected(false) + self.ActiveItem = self.ActiveItem + 1 + self.Items[self:CurrentSelection()]:Selected(true) + PlaySoundFrontend(-1, self.Settings.Audio.UpDown, self.Settings.Audio.Library, true) + self.OnIndexChange(self, self:CurrentSelection()) + self.ReDraw = true +end + +function UIMenu:GoLeft() + local type, subtype = self.Items[self:CurrentSelection()]() + if subtype ~= "UIMenuListItem" and subtype ~= "UIMenuSliderItem" and subtype ~= "UIMenuProgressItem" then + return + end + + if not self.Items[self:CurrentSelection()]:Enabled() then + PlaySoundFrontend(-1, self.Settings.Audio.Error, self.Settings.Audio.Library, true) + return + end + + if subtype == "UIMenuListItem" then + local Item = self.Items[self:CurrentSelection()] + Item:Index(Item._Index - 1) + self.OnListChange(self, Item, Item._Index) + Item.OnListChanged(self, Item, Item._Index) + PlaySoundFrontend(-1, self.Settings.Audio.LeftRight, self.Settings.Audio.Library, true) + elseif subtype == "UIMenuSliderItem" then + local Item = self.Items[self:CurrentSelection()] + Item:Index(Item._Index - 1) + self.OnSliderChange(self, Item, Item:Index()) + Item.OnSliderChanged(self, Item, Item._Index) + PlaySoundFrontend(-1, self.Settings.Audio.LeftRight, self.Settings.Audio.Library, true) + elseif subtype == "UIMenuProgressItem" then + local Item = self.Items[self:CurrentSelection()] + Item:Index(Item.Data.Index - 1) + self.OnProgressChange(self, Item, Item.Data.Index) + Item.OnProgressChanged(self, Item, Item.Data.Index) + PlaySoundFrontend(-1, self.Settings.Audio.LeftRight, self.Settings.Audio.Library, true) + end +end + +function UIMenu:GoRight() + local type, subtype = self.Items[self:CurrentSelection()]() + if subtype ~= "UIMenuListItem" and subtype ~= "UIMenuSliderItem" and subtype ~= "UIMenuProgressItem" then + return + end + + if not self.Items[self:CurrentSelection()]:Enabled() then + PlaySoundFrontend(-1, self.Settings.Audio.Error, self.Settings.Audio.Library, true) + return + end + + if subtype == "UIMenuListItem" then + local Item = self.Items[self:CurrentSelection()] + Item:Index(Item._Index + 1) + self.OnListChange(self, Item, Item._Index) + Item.OnListChanged(self, Item, Item._Index) + PlaySoundFrontend(-1, self.Settings.Audio.LeftRight, self.Settings.Audio.Library, true) + elseif subtype == "UIMenuSliderItem" then + local Item = self.Items[self:CurrentSelection()] + Item:Index(Item._Index + 1) + self.OnSliderChange(self, Item, Item:Index()) + Item.OnSliderChanged(self, Item, Item._Index) + PlaySoundFrontend(-1, self.Settings.Audio.LeftRight, self.Settings.Audio.Library, true) + elseif subtype == "UIMenuProgressItem" then + local Item = self.Items[self:CurrentSelection()] + Item:Index(Item.Data.Index + 1) + self.OnProgressChange(self, Item, Item.Data.Index) + Item.OnProgressChanged(self, Item, Item.Data.Index) + PlaySoundFrontend(-1, self.Settings.Audio.LeftRight, self.Settings.Audio.Library, true) + end +end + +function UIMenu:SelectItem() + if not self.Items[self:CurrentSelection()]:Enabled() then + PlaySoundFrontend(-1, self.Settings.Audio.Error, self.Settings.Audio.Library, true) + return + end + local Item = self.Items[self:CurrentSelection()] + local type, subtype = Item() + if subtype == "UIMenuCheckboxItem" then + Item.Checked = not Item.Checked + PlaySoundFrontend(-1, self.Settings.Audio.Select, self.Settings.Audio.Library, true) + self.OnCheckboxChange(self, Item, Item.Checked) + Item.CheckboxEvent(self, Item, Item.Checked) + elseif subtype == "UIMenuListItem" then + PlaySoundFrontend(-1, self.Settings.Audio.Select, self.Settings.Audio.Library, true) + self.OnListSelect(self, Item, self:CurrentSelection(), Item._Index) + Item.OnListSelected(self, Item, self:CurrentSelection(), Item._Index) + elseif subtype == "UIMenuSliderItem" then + PlaySoundFrontend(-1, self.Settings.Audio.Select, self.Settings.Audio.Library, true) + self.OnSliderSelect(self, Item, Item._Index) + Item.OnSliderSelected(Item._Index) + elseif subtype == "UIMenuProgressItem" then + PlaySoundFrontend(-1, self.Settings.Audio.Select, self.Settings.Audio.Library, true) + self.OnProgressSelect(self, Item, Item.Data.Index) + Item.OnProgressSelected(Item.Data.Index) + else + PlaySoundFrontend(-1, self.Settings.Audio.Select, self.Settings.Audio.Library, true) + self.OnItemSelect(self, Item, self:CurrentSelection()) + Item.Activated(self, Item) + if not self.Children[Item] then + return + end + self:Visible(false) + self.Children[Item]:Visible(true) + self.OnMenuChanged(self, self.Children[self.Items[self:CurrentSelection()]], true) + end +end + +function UIMenu:GoBack() + PlaySoundFrontend(-1, self.Settings.Audio.Back, self.Settings.Audio.Library, true) + self:Visible(false) + if self.ParentMenu ~= nil then + self.ParentMenu:Visible(true) + self.OnMenuChanged(self, self.ParentMenu, false) + if self.Settings.ResetCursorOnOpen then + local W, H = GetActiveScreenResolution() + SetCursorLocation(W / 2, H / 2) + end + end + self.OnMenuClosed(self) +end + +function UIMenu:BindMenuToItem(Menu, Item) + if Menu() == "UIMenu" and Item() == "UIMenuItem" then + Menu.ParentMenu = self + Menu.ParentItem = Item + self.Children[Item] = Menu + end +end + +function UIMenu:ReleaseMenuFromItem(Item) + if Item() == "UIMenuItem" then + if not self.Children[Item] then + return false + end + self.Children[Item].ParentMenu = nil + self.Children[Item].ParentItem = nil + self.Children[Item] = nil + return true + end +end + +function UIMenu:Draw() + if not self._Visible then + return + end + + HideHudComponentThisFrame(19) + + if self.Settings.ControlDisablingEnabled then + self:DisEnableControls(false) + end + + if self.Settings.InstructionalButtons then + DrawScaleformMovieFullscreen(self.InstructionalScaleform, 255, 255, 255, 255, 0) + end + + if self.Settings.ScaleWithSafezone then + ScreenDrawPositionBegin(76, 84) + ScreenDrawPositionRatio(0, 0, 0, 0) + end + + if self.ReDraw then + self:DrawCalculations() + end + + if self.Logo then + self.Logo:Draw() + elseif self.Banner then + self.Banner:Draw() + end + + self.Title:Draw() + + if self.Subtitle.Rectangle then + self.Subtitle.Rectangle:Draw() + self.Subtitle.Text:Draw() + end + + if #self.Items ~= 0 or #self.Windows ~= 0 then + self.Background:Draw() + end + + if #self.Windows ~= 0 then + local WindowOffset = 0 + for index = 1, #self.Windows do + if self.Windows[index - 1] then + WindowOffset = WindowOffset + self.Windows[index - 1].Background:Size().Height + end + local Window = self.Windows[index] + Window:Position(WindowOffset + self.Subtitle.ExtraY - 37) + Window:Draw() + end + end + + if #self.Items == 0 then + if self.Settings.ScaleWithSafezone then + ScreenDrawPositionEnd() + end + return + end + + local CurrentSelection = self:CurrentSelection() + self.Items[CurrentSelection]:Selected(true) + + if self.Items[CurrentSelection]:Description() ~= "" then + self.Description.Bar:Draw() + self.Description.Rectangle:Draw() + self.Description.Text:Draw() + end + + if self.Items[CurrentSelection].Panels ~= nil then + if #self.Items[CurrentSelection].Panels ~= 0 then + local PanelOffset = self:CaclulatePanelPosition(self.Items[CurrentSelection]:Description() ~= "") + for index = 1, #self.Items[CurrentSelection].Panels do + if self.Items[CurrentSelection].Panels[index - 1] then + PanelOffset = PanelOffset + self.Items[CurrentSelection].Panels[index - 1].Background:Size().Height + 5 + end + self.Items[CurrentSelection].Panels[index]:Position(PanelOffset) + self.Items[CurrentSelection].Panels[index]:Draw() + end + end + end + + local WindowHeight = self:CalculateWindowHeight() + + if #self.Items <= self.Pagination.Total + 1 then + local ItemOffset = self.Subtitle.ExtraY - 37 + WindowHeight + for index = 1, #self.Items do + Item = self.Items[index] + Item:Position(ItemOffset) + Item:Draw() + ItemOffset = ItemOffset + self:CalculateItemHeightOffset(Item) + end + else + local ItemOffset = self.Subtitle.ExtraY - 37 + WindowHeight + for index = self.Pagination.Min + 1, self.Pagination.Max, 1 do + if self.Items[index] then + Item = self.Items[index] + Item:Position(ItemOffset) + Item:Draw() + ItemOffset = ItemOffset + self:CalculateItemHeightOffset(Item) + end + end + + self.Extra.Up:Draw() + self.Extra.Down:Draw() + self.ArrowSprite:Draw() + + if self.PageCounter.Text ~= nil then + local Caption = self.PageCounter.PreText .. CurrentSelection .. " / " .. #self.Items + self.PageCounter.Text:Text(Caption) + self.PageCounter.Text:Draw() + end + end + + if self.Settings.ScaleWithSafezone then + ScreenDrawPositionEnd() + end +end + +function UIMenu:ProcessMouse() + if not self._Visible or self.JustOpened or #self.Items == 0 or tobool(Controller()) or not self.Settings.MouseControlsEnabled then + EnableControlAction(0, 2, true) + EnableControlAction(0, 1, true) + EnableControlAction(0, 25, true) + EnableControlAction(0, 24, true) + if self.Dirty then + for _, Item in pairs(self.Items) do + if Item:Hovered() then + Item:Hovered(false) + end + end + end + return + end + + local SafeZone = { X = 0, Y = 0 } + local WindowHeight = self:CalculateWindowHeight() + if self.Settings.ScaleWithSafezone then + SafeZone = GetSafeZoneBounds() + end + + local Limit = #self.Items + local ItemOffset = 0 + + ShowCursorThisFrame() + + if #self.Items > self.Pagination.Total + 1 then + Limit = self.Pagination.Max + end + + if IsMouseInBounds(0, 0, 30, 1080) and self.Settings.MouseEdgeEnabled then + SetGameplayCamRelativeHeading(GetGameplayCamRelativeHeading() + 5) + SetCursorSprite(6) + elseif IsMouseInBounds(1920 - 30, 0, 30, 1080) and self.Settings.MouseEdgeEnabled then + SetGameplayCamRelativeHeading(GetGameplayCamRelativeHeading() - 5) + SetCursorSprite(7) + elseif self.Settings.MouseEdgeEnabled then + SetCursorSprite(1) + end + + for i = self.Pagination.Min + 1, Limit, 1 do + local X, Y = self.Position.X + SafeZone.X, self.Position.Y + 144 - 37 + self.Subtitle.ExtraY + ItemOffset + SafeZone.Y + WindowHeight + local Item = self.Items[i] + local Type, SubType = Item() + local Width, Height = 431 + self.WidthOffset, self:CalculateItemHeightOffset(Item) + + if IsMouseInBounds(X, Y, Width, Height) then + Item:Hovered(true) + if not self.Controls.MousePressed then + if IsDisabledControlJustPressed(0, 24) then + Citizen.CreateThread(function() + local _X, _Y, _Width, _Height = X, Y, Width, Height + self.Controls.MousePressed = true + if Item:Selected() and Item:Enabled() then + if SubType == "UIMenuListItem" then + if IsMouseInBounds(Item.LeftArrow.X + SafeZone.X, Item.LeftArrow.Y + SafeZone.Y, Item.LeftArrow.Width, Item.LeftArrow.Height) then + self:GoLeft() + elseif not IsMouseInBounds(Item.RightArrow.X + SafeZone.X, Item.RightArrow.Y + SafeZone.Y, Item.RightArrow.Width, Item.RightArrow.Height) then + self:SelectItem() + end + if IsMouseInBounds(Item.RightArrow.X + SafeZone.X, Item.RightArrow.Y + SafeZone.Y, Item.RightArrow.Width, Item.RightArrow.Height) then + self:GoRight() + elseif not IsMouseInBounds(Item.LeftArrow.X + SafeZone.X, Item.LeftArrow.Y + SafeZone.Y, Item.LeftArrow.Width, Item.LeftArrow.Height) then + self:SelectItem() + end + elseif SubType == "UIMenuSliderItem" then + if IsMouseInBounds(Item.LeftArrow.X + SafeZone.X, Item.LeftArrow.Y + SafeZone.Y, Item.LeftArrow.Width, Item.LeftArrow.Height) then + self:GoLeft() + elseif not IsMouseInBounds(Item.RightArrow.X + SafeZone.X, Item.RightArrow.Y + SafeZone.Y, Item.RightArrow.Width, Item.RightArrow.Height) then + self:SelectItem() + end + if IsMouseInBounds(Item.RightArrow.X + SafeZone.X, Item.RightArrow.Y + SafeZone.Y, Item.RightArrow.Width, Item.RightArrow.Height) then + self:GoRight() + elseif not IsMouseInBounds(Item.LeftArrow.X + SafeZone.X, Item.LeftArrow.Y + SafeZone.Y, Item.LeftArrow.Width, Item.LeftArrow.Height) then + self:SelectItem() + end + elseif SubType == "UIMenuProgressItem" then + if IsMouseInBounds(Item.Bar.X + SafeZone.X, Item.Bar.Y + SafeZone.Y - 12, Item.Data.Max, Item.Bar.Height + 24) then + Item:CalculateProgress(math.round(GetControlNormal(0, 239) * 1920) - SafeZone.X) + self.OnProgressChange(self, Item, Item.Data.Index) + Item.OnProgressChanged(self, Item, Item.Data.Index) + else + self:SelectItem() + end + else + self:SelectItem() + end + elseif not Item:Selected() then + self:CurrentSelection(i - 1) + PlaySoundFrontend(-1, self.Settings.Audio.Error, self.Settings.Audio.Library, true) + self.OnIndexChange(self, self:CurrentSelection()) + self.ReDraw = true + self:UpdateScaleform() + elseif not Item:Enabled() and Item:Selected() then + PlaySoundFrontend(-1, self.Settings.Audio.Error, self.Settings.Audio.Library, true) + end + Citizen.Wait(175) + while IsDisabledControlPressed(0, 24) and IsMouseInBounds(_X, _Y, _Width, _Height) do + if Item:Selected() and Item:Enabled() then + if SubType == "UIMenuListItem" then + if IsMouseInBounds(Item.LeftArrow.X + SafeZone.X, Item.LeftArrow.Y + SafeZone.Y, Item.LeftArrow.Width, Item.LeftArrow.Height) then + self:GoLeft() + end + if IsMouseInBounds(Item.RightArrow.X + SafeZone.X, Item.RightArrow.Y + SafeZone.Y, Item.RightArrow.Width, Item.RightArrow.Height) then + self:GoRight() + end + elseif SubType == "UIMenuSliderItem" then + if IsMouseInBounds(Item.LeftArrow.X + SafeZone.X, Item.LeftArrow.Y + SafeZone.Y, Item.LeftArrow.Width, Item.LeftArrow.Height) then + self:GoLeft() + end + if IsMouseInBounds(Item.RightArrow.X + SafeZone.X, Item.RightArrow.Y + SafeZone.Y, Item.RightArrow.Width, Item.RightArrow.Height) then + self:GoRight() + end + elseif SubType == "UIMenuProgressItem" then + if IsMouseInBounds(Item.Bar.X + SafeZone.X, Item.Bar.Y + SafeZone.Y - 12, Item.Data.Max, Item.Bar.Height + 24) then + Item:CalculateProgress(math.round(GetControlNormal(0, 239) * 1920) - SafeZone.X) + self.OnProgressChange(self, Item, Item.Data.Index) + Item.OnProgressChanged(self, Item, Item.Data.Index) + else + self:SelectItem() + end + end + elseif not Item:Selected() then + self:CurrentSelection(i - 1) + PlaySoundFrontend(-1, self.Settings.Audio.Error, self.Settings.Audio.Library, true) + self.OnIndexChange(self, self:CurrentSelection()) + self.ReDraw = true + self:UpdateScaleform() + elseif not Item:Enabled() and Item:Selected() then + PlaySoundFrontend(-1, self.Settings.Audio.Error, self.Settings.Audio.Library, true) + end + Citizen.Wait(125) + end + self.Controls.MousePressed = false + end) + end + end + else + Item:Hovered(false) + end + ItemOffset = ItemOffset + self:CalculateItemHeightOffset(Item) + end + + local ExtraX, ExtraY = self.Position.X + SafeZone.X, 144 + self:CalculateItemHeight() + self.Position.Y + SafeZone.Y + WindowHeight + + if #self.Items <= self.Pagination.Total + 1 then return end + + if IsMouseInBounds(ExtraX, ExtraY, 431 + self.WidthOffset, 18) then + self.Extra.Up:Colour(30, 30, 30, 255) + if not self.Controls.MousePressed then + if IsDisabledControlJustPressed(0, 24) then + Citizen.CreateThread(function() + local _ExtraX, _ExtraY = ExtraX, ExtraY + self.Controls.MousePressed = true + if #self.Items > self.Pagination.Total + 1 then + self:GoUpOverflow() + else + self:GoUp() + end + Citizen.Wait(175) + while IsDisabledControlPressed(0, 24) and IsMouseInBounds(_ExtraX, _ExtraY, 431 + self.WidthOffset, 18) do + if #self.Items > self.Pagination.Total + 1 then + self:GoUpOverflow() + else + self:GoUp() + end + Citizen.Wait(125) + end + self.Controls.MousePressed = false + end) + end + end + else + self.Extra.Up:Colour(0, 0, 0, 200) + end + + if IsMouseInBounds(ExtraX, ExtraY + 18, 431 + self.WidthOffset, 18) then + self.Extra.Down:Colour(30, 30, 30, 255) + if not self.Controls.MousePressed then + if IsDisabledControlJustPressed(0, 24) then + Citizen.CreateThread(function() + local _ExtraX, _ExtraY = ExtraX, ExtraY + self.Controls.MousePressed = true + if #self.Items > self.Pagination.Total + 1 then + self:GoDownOverflow() + else + self:GoDown() + end + Citizen.Wait(175) + while IsDisabledControlPressed(0, 24) and IsMouseInBounds(_ExtraX, _ExtraY + 18, 431 + self.WidthOffset, 18) do + if #self.Items > self.Pagination.Total + 1 then + self:GoDownOverflow() + else + self:GoDown() + end + Citizen.Wait(125) + end + self.Controls.MousePressed = false + end) + end + end + else + self.Extra.Down:Colour(0, 0, 0, 200) + end +end + +function UIMenu:AddInstructionButton(button) + if type(button) == "table" and #button == 2 then + table.insert(self.InstructionalButtons, button) + end +end + +function UIMenu:RemoveInstructionButton(button) + if type(button) == "table" then + for i = 1, #self.InstructionalButtons do + if button == self.InstructionalButtons[i] then + table.remove(self.InstructionalButtons, i) + break + end + end + else + if tonumber(button) then + if self.InstructionalButtons[tonumber(button)] then + table.remove(self.InstructionalButtons, tonumber(button)) + end + end + end +end + +function UIMenu:AddEnabledControl(Inputgroup, Control, Controller) + if tonumber(Inputgroup) and tonumber(Control) then + table.insert(self.Settings.EnabledControls[(Controller and "Controller" or "Keyboard")], { Inputgroup, Control }) + end +end + +function UIMenu:RemoveEnabledControl(Inputgroup, Control, Controller) + local Type = (Controller and "Controller" or "Keyboard") + for Index = 1, #self.Settings.EnabledControls[Type] do + if Inputgroup == self.Settings.EnabledControls[Type][Index][1] and Control == self.Settings.EnabledControls[Type][Index][2] then + table.remove(self.Settings.EnabledControls[Type], Index) + break + end + end +end + +function UIMenu:UpdateScaleform() + if not self._Visible or not self.Settings.InstructionalButtons then + return + end + + PushScaleformMovieFunction(self.InstructionalScaleform, "CLEAR_ALL") + PopScaleformMovieFunction() + + PushScaleformMovieFunction(self.InstructionalScaleform, "TOGGLE_MOUSE_BUTTONS") + PushScaleformMovieFunctionParameterInt(0) + PopScaleformMovieFunction() + + PushScaleformMovieFunction(self.InstructionalScaleform, "CREATE_CONTAINER") + PopScaleformMovieFunction() + + PushScaleformMovieFunction(self.InstructionalScaleform, "SET_DATA_SLOT") + PushScaleformMovieFunctionParameterInt(0) + PushScaleformMovieFunctionParameterString(GetControlInstructionalButton(2, 176, 0)) + PushScaleformMovieFunctionParameterString(Config.Languages[lang]['btn_select']) + PopScaleformMovieFunction() + + if self.Controls.Back.Enabled then + PushScaleformMovieFunction(self.InstructionalScaleform, "SET_DATA_SLOT") + PushScaleformMovieFunctionParameterInt(1) + PushScaleformMovieFunctionParameterString(GetControlInstructionalButton(2, 177, 0)) + PushScaleformMovieFunctionParameterString(Config.Languages[lang]['btn_back']) + PopScaleformMovieFunction() + end + + if self.Controls.Increment.Enabled then + PushScaleformMovieFunction(self.InstructionalScaleform, "SET_DATA_SLOT") + PushScaleformMovieFunctionParameterInt(3) + PushScaleformMovieFunctionParameterString(GetControlInstructionalButton(2, 19, 0)) + PushScaleformMovieFunctionParameterString(Config.Languages[lang]['btn_increment']..(paginationValue and ': '..paginationValue or ": "..paginationValue)) + PopScaleformMovieFunction() + end + + local count = 3 + + for i = 1, #self.InstructionalButtons do + if self.InstructionalButtons[i] then + if #self.InstructionalButtons[i] == 3 then + PushScaleformMovieFunction(self.InstructionalScaleform, "SET_DATA_SLOT") + PushScaleformMovieFunctionParameterInt(count) + PushScaleformMovieFunctionParameterString(self.InstructionalButtons[i][1]) + PushScaleformMovieFunctionParameterString(self.InstructionalButtons[i][2]) + PushScaleformMovieFunctionParameterString(self.InstructionalButtons[i][3]) + PopScaleformMovieFunction() + count = count + 1 + end + end + end + + PushScaleformMovieFunction(self.InstructionalScaleform, "DRAW_INSTRUCTIONAL_BUTTONS") + PushScaleformMovieFunctionParameterInt(-1) + PopScaleformMovieFunction() +end + +--[[ + MenuPool.lua + Menus +--]] + +function MenuPool.New() + local _MenuPool = { + Menus = {} + } + return setmetatable(_MenuPool, MenuPool) +end + +function MenuPool:AddSubMenu(Menu, Text, Description, KeepPosition, KeepBanner) + if Menu() == "UIMenu" then + local Item = UIMenuItem.New(tostring(Text), Description or "") + Menu:AddItem(Item) + local SubMenu + if KeepPosition then + SubMenu = UIMenu.New(Menu.Title:Text(), Text, Menu.Position.X, Menu.Position.Y) + else + SubMenu = UIMenu.New(Menu.Title:Text(), Text) + end + if KeepBanner then + if Menu.Logo ~= nil then + SubMenu.Logo = Menu.Logo + else + SubMenu.Logo = nil + SubMenu.Banner = Menu.Banner + end + end + self:Add(SubMenu) + Menu:BindMenuToItem(SubMenu, Item) + return SubMenu + end +end + +function MenuPool:Add(Menu) + if Menu() == "UIMenu" then + table.insert(self.Menus, Menu) + end +end + +function MenuPool:Clear() + self = { + Menus = {} + } +end + +function MenuPool:Remove() + self = nil +end + +function MenuPool:MouseEdgeEnabled(bool) + if bool ~= nil then + for _, Menu in pairs(self.Menus) do + Menu.Settings.MouseEdgeEnabled = tobool(bool) + end + end +end + +function MenuPool:ControlDisablingEnabled(bool) + if bool ~= nil then + for _, Menu in pairs(self.Menus) do + Menu.Settings.ControlDisablingEnabled = tobool(bool) + end + end +end + +function MenuPool:ResetCursorOnOpen(bool) + if bool ~= nil then + for _, Menu in pairs(self.Menus) do + Menu.Settings.ResetCursorOnOpen = tobool(bool) + end + end +end + +function MenuPool:MultilineFormats(bool) + if bool ~= nil then + for _, Menu in pairs(self.Menus) do + Menu.Settings.MultilineFormats = tobool(bool) + end + end +end + +function MenuPool:Audio(Attribute, Setting) + if Attribute ~= nil and Setting ~= nil then + for _, Menu in pairs(self.Menus) do + if Menu.Settings.Audio[Attribute] then + Menu.Settings.Audio[Attribute] = Setting + end + end + end +end + +function MenuPool:WidthOffset(offset) + if tonumber(offset) then + for _, Menu in pairs(self.Menus) do + Menu:SetMenuWidthOffset(tonumber(offset)) + end + end +end + +function MenuPool:CounterPreText(str) + if str ~= nil then + for _, Menu in pairs(self.Menus) do + Menu.PageCounter.PreText = tostring(str) + end + end +end + +function MenuPool:DisableInstructionalButtons(bool) + if bool ~= nil then + for _, Menu in pairs(self.Menus) do + Menu.Settings.InstructionalButtons = tobool(bool) + end + end +end + +function MenuPool:MouseControlsEnabled(bool) + if bool ~= nil then + for _, Menu in pairs(self.Menus) do + Menu.Settings.MouseControlsEnabled = tobool(bool) + end + end +end + +function MenuPool:RefreshIndex() + for _, Menu in pairs(self.Menus) do + Menu:RefreshIndex() + end +end + +function MenuPool:ProcessMenus() + self:ProcessControl() + self:ProcessMouse() + self:Draw() +end + +function MenuPool:ProcessControl() + for _, Menu in pairs(self.Menus) do + if Menu:Visible() then + Menu:ProcessControl() + end + end +end + +function MenuPool:ProcessMouse() + for _, Menu in pairs(self.Menus) do + if Menu:Visible() then + Menu:ProcessMouse() + end + end +end + +function MenuPool:Draw() + for _, Menu in pairs(self.Menus) do + if Menu:Visible() then + Menu:Draw() + end + end +end + +function MenuPool:IsAnyMenuOpen() + local open = false + for _, Menu in pairs(self.Menus) do + if Menu:Visible() then + open = true + break + end + end + return open +end + +function MenuPool:CloseAllMenus() + for _, Menu in pairs(self.Menus) do + if Menu:Visible() then + Menu:Visible(false) + Menu.OnMenuClosed(Menu) + end + end +end + +function MenuPool:SetBannerSprite(Sprite) + if Sprite() == "Sprite" then + for _, Menu in pairs(self.Menus) do + Menu:SetBannerSprite(Sprite) + end + end +end + +function MenuPool:SetBannerRectangle(Rectangle) + if Rectangle() == "Rectangle" then + for _, Menu in pairs(self.Menus) do + Menu:SetBannerRectangle(Rectangle) + end + end +end + +function MenuPool:TotalItemsPerPage(Value) + if tonumber(Value) then + for _, Menu in pairs(self.Menus) do + Menu.Pagination.Total = Value - 1 + end + end +end + +--[[ + Wrappers +--]] + +function NativeUI.CreatePool() + return MenuPool.New() +end + +function NativeUI.CreateMenu(Title, Subtitle, X, Y, TxtDictionary, TxtName) + return UIMenu.New(Title, Subtitle, X, Y, TxtDictionary, TxtName) +end + +function NativeUI.CreateItem(Text, Description) + return UIMenuItem.New(Text, Description) +end + +function NativeUI.CreateColouredItem(Text, Description, MainColour, HighlightColour) + return UIMenuColouredItem.New(Text, Description, MainColour, HighlightColour) +end + +function NativeUI.CreateCheckboxItem(Text, Check, Description) + return UIMenuCheckboxItem.New(Text, Check, Description) +end + +function NativeUI.CreateListItem(Text, Items, Index, Description) + return UIMenuListItem.New(Text, Items, Index, Description) +end + +function NativeUI.CreateSliderItem(Text, Items, Index, Description, Divider) + return UIMenuSliderItem.New(Text, Items, Index, Description, Divider) +end + +function NativeUI.CreateProgressItem(Text, Items, Index, Description, Counter) + return UIMenuProgressItem.New(Text, Items, Index, Description, Counter) +end + +function NativeUI.CreateHeritageWindow(Mum, Dad) + return UIMenuHeritageWindow.New(Mum, Dad) +end + +function NativeUI.CreateGridPanel(TopText, LeftText, RightText, BottomText) + return UIMenuGridPanel.New(TopText, LeftText, RightText, BottomText) +end + +function NativeUI.CreateColourPanel(Title, Colours) + return UIMenuColourPanel.New(Title, Colours) +end + +function NativeUI.CreatePercentagePanel(MinText, MaxText) + return UIMenuPercentagePanel.New(MinText, MaxText) +end + +function NativeUI.CreateSprite(TxtDictionary, TxtName, X, Y, Width, Height, Heading, R, G, B, A) + return Sprite.New(TxtDictionary, TxtName, X, Y, Width, Height, Heading, R, G, B, A) +end + +function NativeUI.CreateRectangle(X, Y, Width, Height, R, G, B, A) + return UIResRectangle.New(X, Y, Width, Height, R, G, B, A) +end + +function NativeUI.CreateText(Text, X, Y, Scale, R, G, B, A, Font, Alignment, DropShadow, Outline, WordWrap) + return UIResText.New(Text, X, Y, Scale, R, G, B, A, Font, Alignment, DropShadow, Outline, WordWrap) +end diff --git a/resources/[standalone]/dpemotes/README.md b/resources/[standalone]/dpemotes/README.md new file mode 100644 index 0000000..cc99b36 --- /dev/null +++ b/resources/[standalone]/dpemotes/README.md @@ -0,0 +1,565 @@ +# dpemotes 🏋️ + +dpemotes is a community driven FiveM emote menu allowing players to express themselves in roleplay with custom animations, countless facial expressions, walkstyles and props, inspired by [DullPear](https://github.com/andristum/dpemotes). + + + + + +# **Join Our Official Discord 💬** + +sw3NwDq6C8 + +- Report Issues ⚠️ + +- Report Bugs 🪲 + +- Contribute Code 🛠️ + +- Contribute Translations 🌎 + +- Chat With Our Amazing Community 🗨️ + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# Available in 🌏 + +* Brazilian Portuguese 🇧🇷 + +* Chinese Simplified 🇨🇳 + +* Chinese Traditional 🇨🇳 + +* Czech 🇨🇿 + +* Danish 🇩🇰 + +* Dutch 🇳🇱 + +* English 🇬🇧 + +* Finnish 🇫🇮 + +* French 🇫🇷 + +* German 🇩🇪 + +* Hungarian 🇭🇺 + +* Italian 🇮🇹 + +* Norwegian 🇳🇴 + +* Persian 🇮🇷 + +* Polish 🇵🇱 + +* Romanian 🇷🇴 + +* Russian 🇷🇺 + +* Sinhala 🇱🇰 + +* Spanish 🇪🇸 + +* Swedish 🇸🇪 + +* Turkish 🇹🇷 + +* Vietnamese 🇻🇳 + +All languages were translated or contributed by you, the community with the odd exception of using Google Translate. + +If you happen to find any incorrect translations or would like to add more languages, please feel free to make a pull request with the correct / additional translations or join our discord. + +Languages can be selected and / or added in the config.lua. + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# Features 🛠️ + +- Multiple Translations 🌏 + +- Search Function 🔎 + +- Custom Animations with **permission from the community** 🏃 + +- Facial Expressions 🤪 + +- Animal Emotes 🐩 + +- Shared Dances 🕺💃 + +- Persistent Walkstyles via client KVP 🚶‍♂️ + +- Persisent Moods via client KVP 😜 + +- Crouching + +- Crawling + +- Shared Particle Effects 💨 + +- QB-Core Framework & SQL Keybinding Support ⚙️ + +- Further support for shared and couple poses / animations 👫 + +- Easily convert Menyoo to dpemotes 🔄 + +- Hide Adult Emotes 🔞 + +- Hide Animal Emotes ⛔ + +- Easy To Understand Configuration File ⚙️ + +- Exit Emotes 😎 + +- Standalone exports + +- Props Extractor + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# Exports + +```lua +exports["dpemotes"]:EmoteCommandStart(emoteName, textureVariation) +exports["dpemotes"]:EmoteCancel(forceCancel) – forceCancel is optional +exports["dpemotes"]:CanCancelEmote(state) +exports["dpemotes"]:IsPlayerCrouched() +exports["dpemotes"]:IsPlayerProne() +exports["dpemotes"]:IsPlayerCrawling() +exports["dpemotes"]:IsPlayerPointing() +exports["dpemotes"]:IsPlayerInAnim() +``` + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# Menu Keybind 🎛️ + +The keybind uses RegisterKeyMapping. By default the configured keybind in the *initial* config.lua will be the default key, however once the keybind is set for a user it'll remain and can be changed in the users settings under `Esc > settings > keybinds > fivem`. + + +**Menu key:** F4 + +Server owners can change this in the `config.lua`. + +Alternatively, the player base can set their own menu keybind to open dpemotes + +`Esc > settings > keybinds > fivem` + +* More keybinds are now using key mappings which means that they are now available in your FiveM settings to change (`FavKeybind` and `RagdollKeybind`) + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# Keybinds and SQL 🎛️ + +To use the SQL features, install the latest version of the [oxmysql](https://github.com/overextended/oxmysql) resource and enable the setting in `config.lua` + +```lua +SqlKeybinding = false, +``` + +If you do not want to use the SQL features keep the `oxmysql` region in fxmanifest.lua commented out. + +Alternatively, you can use the keybind command that comes with FiveM without having to use SQL, by entering the following into F8: + +`bind keyboard "Yourbutton" "e youremote"`. To remove the keybind, type `"unbind keyboard "Yourbutton"`. + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# Ragdoll 🥴 + +* To enable ragdoll, change `RagdollEnabled = false,` to true in config.lua. + +Much like the menu key, `RagdollKeybind` is also using RegisterKeyMapping. It is currently set to `U` by default *(server side)* however can be set to the player's preferred keybind in the FiveM keybinds setting found in the settings menu within the Esc Menu. + +* New setting: `RagdollAsToggle`, this will make either the ragdoll be a toggle or a hold key + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# Finger Pointing & Hands Up 👆 + +Once enabled, players can press `B` on the keyboard to enable standalone finger pointing, and `H` to put their hands up, without the need for unnecessary frameworks or "small resources". + +Much like everything else in the menu, server owners can change these keybinds to their own preferences. + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# Crouching & Crawling + +**Crawling:** + +Server owners can opt in to either overriding the stealth/action animation when pressing the LEFT CONTROL keybind or have players tap LEFT CONTROL twice to switch from stealth to crouch (when enabled in the config.lua file) + + +**Crouching:** + +RIGHT CONTROL. Players can move forward, back, left and right as well as turning around. Press SPACEBAR to switch from stomach to back. Pressing RIGHT CONTROL key while running will have the player "dive into" a crouching animation. + +# Chat Commands + +/crouch + +/crawl + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# Moods & Walkstyles 😜🚶‍♂️ + +Moods and walkstyles can be set from the menu (/mood, /walk, /emotemenu) or via pressing F4 (default menu key) + +These will save to your character and reapply when exiting a vehicle, or loading back into the server as they are saved via client side KVP. + +To see a list of walkstyles type /walks + +To see a list of moods type /moods + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# Favorite Emote + +Players can search for an emote (so long as search is enabled) and press LEFT SHIFT and CAPLOCKS on their keyboard to add it to their 'Favorites'. Pressing CAPLOCKS will toggle the emote. + +Alternatively, you can use the 🌟 Favorite menu to find an emote and press enter. + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# Exit Emotes + +Exit Emotes are used to make cancelling an animation more smoother and dynamic, such as getting up off a chair or throwing a cigarette out instead of dropping it. + +You can add your own Exit Emotes under `AnimationListCustom.lua`'s new `CustomDP.Exits = {}` array. + +Below is an example of how this would look: + +```lua + }, + ["sit"] = { + "anim@amb@business@bgen@bgen_no_work@", + "sit_phone_phoneputdown_idle_nowork", + "Sit", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, +``` + +The ExitEmote calls for the 'getup' emote, which is noted as the following: + +```lua +["getup"] = { + "get_up@sat_on_floor@to_stand", + "getup_0", + "Get Up", + AnimationOptions = { + EmoteDuration = 2000 + } + } +} +``` + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# Adult Emotes 🔞 + +Adult Emotes can be hidden from the menu by setting `AdultEmotesDisabled` to `true` in the config.lua file. + +This will completely conceal the emotes from the lists *(Emotes, Shared Emotes, etc)* at startup making them unusable. + +The emotes that are concealed, are the ones flagged in the animation list with `AdultAnimation`. You can see how it is done with `fspose`. + +Alternatively, you can also hide animal emotes. + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# QB-Core ⚙️ + +**QBCore integration to match their fork of dpemotes** + +- Config option which supports the QB Framework in their fork of the original dpemotes. + +If you’re using qb-core, you can now set + +```lua +Framework = "qb-core", +``` + +in the config file, otherwise leave it as + +```lua +Framework = false, +``` + +*You may need to alter some code within qbcore to work with dpemotes.* + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# Prop Extractor ⬇️ + +Many people have expressed concerns over anticheat scripts kicking or banning their community members due to the fact dpemotes uses props and anticheats detecting said props being spawned. + +To make server owners' jobs a little easier, we have added a prop extractor command that you can enter into the server console which will automate a file inside the dpemotes resource folder appropriately named, `.prop_list.lua`. + +### Command: + +`emoteextract` + +```lua + +Available output formats: +1 - 'prop_name', +2 - "prop_name", +3 - prop_name + +Command usage example: emoteextract 1 +``` + + + + + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + + + + + + +# Screenshots 📸 + +| | | | +|-|-|-| +| | | | +| | | | +| | | | +| | | | +| | | | + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# Installation Instructions ⚙️: + +* Add `ensure dpemotes` to your `server.cfg` + +* Download the latest recommended artifacts [for Windows](https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/) or [for Linux](https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/) + +* [Enforce gamebuild to latest build](https://forum.cfx.re/t/tutorial-forcing-gamebuild-to-casino-cayo-perico-or-tuners-update/4784977) for all emotes and props to work as intended. + +**Onesync Infinity is required for the particle effects to work as intended** This can be done via txadmin or your localhost .bat file.** + +For localhost servers, comment out onesync from your server.cfg and add the following to your `.bat` file: + +```lua + ++set onesync on +set onesync_enableInfinity 1 +set onesync_enableBeyond 1 +set onesync_population true + +``` + +You can put this before your gamebuild enforcement, aka `+set sv_enforceGameBuild XXXX` + +* Set the desired language and settings in the config.lua under `MenuLanguage = 'en',` + +* Qb-Core server owners, set `Framework = 'qb-core'` in the config file, otherwise leave it as false. + +* To use the SQL features, install the [oxmysql](https://github.com/overextended/oxmysql) resource then open `keybinds.lua` in dpemotes. If you do not want to use the SQL features, comment out the `oxmysql` region in fxmanifest.lua. + +Alternatively, you can use the keybind command that comes with FiveM without having the SQL, by entering the following into F8: + +`bind keyboard "Yourbutton" "e youremote"`. To remove the keybind, type `"unbind keyboard "Yourbutton"`. + +* Type `/refresh` and `/start dpemotes` into your chat resource, or simply restart your server + +# Additional Instructions ⚙️ + +- **Check out my youtube playlist below:** + +[![Video Preview](https://img.youtube.com/vi/Uk_ggRRlFuo/0.jpg)](https://www.youtube.com/watch?v=3uVe0hvWwPQ&list=PLzFM1zdDHFn2vKWT323wVJoEkGhWiyyeC) + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# Shared emotes 👩🏻‍❤️‍💋‍👨🏼 + +Emotes will work with either `SyncOffset` or `Attachto`. + +- If it is with `SyncOffsetFront` or `SyncOffsetSide`, then the offset used is the one of the emote the player started.
+For example, if player one starts the emote `handshake` which has `SyncOffsetFront`, then player one will have the `SyncOffsetFront` but not the other player. + + +- If it is with `Attachto`, then it'll either be player one's data used for attaching, or the player two's data.
+For example, if player one start the emote carry, then the other player will be attached but not the player one because Attachto is set in `carry2` and not `carry`.
+- If player one starts the emote `carry2`, then player one will be attached and not the other player. +it's the player who start the animation who will in most cases be moved + + +*Special case, if both emote have the `Attachto` then only the player who started the emote will be attached.* + +You can find a list of ped bones to attach the other player here: [Ped Bones](https://wiki.rage.mp/index.php?title=Bones) or alternatively if the link is down for some reason, you can check [here](https://wiki.rage.mp/index.php?title=Bones) + +Using the websites provided above, enter the bone ID, ie `1356` and not `111`, which is the Bone Index. + +Understandably, this can be confusing for some people. We suggest using the `Attachto` approach. + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# Particle Effects 💨 + +**REQUIRES ONESYNC INFINITY** + +Particle effects can be found using the [DurtyFree GTA V Dump](https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json). You will need to add the particle assest, name, and placement. Placement is done via XYZ, Pitch, Roll, Yaw, and scale. + +Onesync is required for them to work across all clients. + +Big thanks to DurtyFree for his amazing work. + + +```lua +PtfxPlacement = { + -0.15, -- X + -0.35, -- Y + 0.0, -- Z + 0.0, -- ROTATION X + 90.0, -- ROTATION Y + 180.0, -- ROTATION Z + 1.0 -- SCALE +}, +``` + + + +By default, the main prop will share it's coordinates with the particle effect, so just put 0.0 for the particle effects and you will be good to go. + +If no prop is used in the animation or you require the particle effect to be in a different location, use `PtfxNoProp = true`, and 0.0 will 9/10 times be the human peds' stomach; you can then offset your coordinates based on that with the first 3 entries being XYZ, and the last 3 being rotation XYZ. + +Alternatively, you can use the `PtfxBone =` AnimationOption to attach the PTFX to the ped's bone, simiarly to how you attach props. + +Using Menyoo, spawn down a tennis ball and attach it to human, by default menyoo will attach it to the SKEL_ROOT bone (stomach), so from that, what we can do is is either offset the coordinates, say, up to the human ped's mouth, or change the bone all together. Once we've got it correct, we can transfer those coordinates over to dpemotes, and tah dah, we have our Ptfx Placement. + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# Adding Your Own Animations ⚙️ + +Because the menu gets updated frequently, the files get overwritten. To avoid this, you can add your own / downloaded animation files `(.ycd)` inside of a newly created folder, give it a name, and place it in the `dpemotes\stream\[Custom Emotes]` folder. + +Add your animation code to the `AnimationListCustom.lua` and make a backup of this file, call it `BackUpAnimationListCustom.lua`. + +Whenever an update is released, rename `BackUpAnimationListCustom.lua` to `AnimationListCustom.lua`, click yes to overwrite, and you're good to go. + +It is also a good idea to keep a backup of your config file. +Below is an example: + + + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# Add-Ons 🛠️ + +* Fixed an issue with the clipboard and added textures to paper (/e clipboard) + +* Changed umbrella texture to black (/e umbrella) + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Police Badge 👮 + +- Custom LSPD police badge by [LSPDFR member Sam](https://www.lcpdfr.com/downloads/gta5mods/misc/23386-lspd-police-badge/) + +- LSPD reskinned badge by [GTA5Mods user Sladus_Slawonkus](https://www.gta5-mods.com/misc/lspd-police-badge-replace-sladus_slawonkus) + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# 📜 LICENSE & DISCLAIMER + +This project is under the GPL V3 license, however all custom props and animations were provided to dpemotes by the community with express permission and must not be extracted from [dpemotes](https://github.com/TayMcKenzieNZ/dpemotes), reuploaded to any websites, forums or discord servers. + +If you want to modify dpemotes ***(does not apply if you want to use it for personal purposes)*** or make an agreement, you can contact TayMcKenzieNZ via Discord. Pull requests are actively reviewed and discussed with TayMcKenzieNZ and contributors, and will be accepted as long as they do not contain animation / prop files *(we need permission before adding them)* breaking changes or suspicious code. + + + +✅ You are allowed to use the custom animations explicitly provided within this repository only + +✅ You are allowed to add your own custom animations to this resource and use it on your server. The entire content must remain on your server and not be reuploaded. + +❌ You are not allowed to re-distribute the custom animations provided with this repository either on websites, forums, tebex store or discord. + +❌ You are not allowed to claim the custom animations provided within this resource as your own work + +❌ You are not allowed to sell this script + +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +# Credits 🤝 + +**All** custom animations and props were added with permissions from the creators and does **not** contain any paid or leaked work. + +All animation creators have ***specifically*** asked that their content remains free and that the dpemotes team and community do not try to profit from them, claim them as their own or reupload them anywhere else but TayMcKenzieNZ's GitHub unless express permission has been arranged and granted by their respective creators, therefore you may not extract the animations and / or use them for your own menus. + + +A huge thank you to the following people for their amazing contributions made to the menu 🫶🏻 : + +- Thank you to [Tigerle](https://forum.cfx.re/u/tigerle_studios) for providing the additional code required to make Shared Emotes work to it's full extent + +- Thank you to [SMGMissy](https://forum.cfx.re/u/smgmissy/) for assisting with custom pride flags and how to stream them + +- Thank you to [MissSnowie](https://www.gta5-mods.com/users/MissySnowie) for the Explicit Usage Rights Agreement to add free custom animations either publicly available or on their discord and for the motivational and overal moral support + +- A huge thank you to [Kibook](https://github.com/kibook) for the addition of the Animal Emotes sub menu + +- Thank you to [AvaN0x](https://github.com/AvaN0x) for reformatting and assisting with code, additional features and figuring out shared particle effects + +- Thank you to [Scullyy](https://github.com/Scullyy) for reformatting and assisting with code, rebranding of dpemotes, providing a much more cleaner version checker, and firework RGB research + +- Thank you to [GeekGarage](https://github.com/geekgarage) for their knowledge, time and dedication, helping to bring new and exciting features to the menu + +- Thank you to [Smokey](https://www.gta5-mods.com/users/struggleville) for the Explicit Usage Rights Agreement to add free custom animations either publicly available on on their discord + +- Thank you to [BzZzi](https://forum.cfx.re/u/bzzzi/summary) for the Explicit Usage Rights Agreement to add free donut, croissant and fire torch props + +- Thank you to [Natty3d](https://forum.cfx.re/u/natty3d/summary) for the Explicit Usage Rights Agreement to add free lollipop props + +- Thank you to [northsqrd](https://github.com/0sqrd) for adding the search function, Animal Emotes config, mobile phone prop texture variants and general contributions + +- Thank you to crusopaul and Eki for discussing KVP and initializing it to the menu for persistent walkstyles + +- Thank you to [Amnilka](https://www.gta5-mods.com/users/frabi) for the Explicit Usage Rights Agreement to add free custom animations either publicly available or on their discord + +- Thank you to [LittleSpoon](https://discord.gg/safeword) for the Explicit Usage Rights Agreement to add free custom animations either publicly available or on their discord + +- Thank you to [Pupppy](https://discord.gg/rsN35X4s4N) for the Explicit Usage Rights Agreement to add free custom animations either publicly available or on their discord + +- Thank you to [SapphireMods](https://discord.gg/Hf8F4nTyzt) for the Explicit Usage Rights Agreement to add free custom animations either publicly available or on their discord + +- Thank you to [QueenSisters Animations](https://discord.gg/qbPtGwQuep) for the Explicit Usage Rights Agreement to add free custom animations either publicly available or on their discord + +- Thank you to [Kri's Graphic House](https://discord.gg/JueRG3fCy6) for the custom banners + +- Thank you to [BoringNeptune](https://www.gta5-mods.com/users/BoringNeptune) for the custom dance emotes + +- Thank you to [CMG Mods](https://www.gta5-mods.com/users/-moses-) for the custom emotes + +- Thank you to [prue颜](discord.gg/lunyxmods) for being a great friend and providing us with custom animations + +- Thank you to [PataMods](https://forum.cfx.re/u/Pata_PataMods) for the custom Christmas props + +- Thank you to [Crowded1337](https://www.gta5-mods.com/users/crowded1337) for the custom Gucci bag. I have removed the Gucci logo to comply with Rockstar Games & TakeTwo Interactive + +- Thanks to [EnchantedBrownie](https://www.gta5-mods.com/users/EnchantedBrownie) for the custom animations + +- Thanks to [Copofiscool](https://forum.cfx.re/u/copofiscool/) for adding a toggle to the Favorite Keybinds + +- Thank you to [Mads](https://github.com/MadsLeander) for contributing to the menu and adding Exit Emotes + +- Thank you to [iSentrie](https://forum.cfx.re/u/isentrie/) for additional code and support + +- Thank you to Chocoholic Animations for the custom animations + +- Thank you to [CrunchyCat](https://www.gta5-mods.com/users/crunchycat) for the custom animations + +- Thank you [KayKayMods](https://discord.gg/5bYQVWVaxG) for the custom props + +- Thank you to you, the community for being patient, showing love and appreciation, and for providing translations. + +You pay a big role in making this script what it is today and we could not do it without you 🙏 + +------------------------------------------------------------------------------- diff --git a/resources/[standalone]/dpemotes/Translations.lua b/resources/[standalone]/dpemotes/Translations.lua new file mode 100644 index 0000000..64fc9eb --- /dev/null +++ b/resources/[standalone]/dpemotes/Translations.lua @@ -0,0 +1,1429 @@ +Config.Languages = { + ['pt'] = { -- Brazilian Portuguese 🇧🇷 + ['emotes'] = 'Emotes 🎬', + ['danceemotes'] = "🕺 Emotes de Danças", + ['animalemotes'] = "🐩 Emotes de Animais", + ['propemotes'] = "📦 Emotes com Props", + ['favoriteemotes'] = "🌟 Favoritos", + ['favoriteinfo'] = "Selecione um emote para colocá-lo nos seus favoritos", + ['rfavorite'] = "Limpar favoritos", + ['prop2info'] = "❓ Emotes de props podem ser localizados no fim", + ['set'] = "Set (", + ['setboundemote'] = ") para ser seu emote vinculado?", + ['newsetemote'] = "~w~ é o seu emote vinculado, pressione ~g~CapsLock~w~ para usá-lo", + ['cancelemote'] = "Cancelar emote 🚷", + ['cancelemoteinfo'] = "~r~X~w~ Cancela os emotes rodando atualmente", + ['walkingstyles'] = "Estilos de Caminhada 🚶🏻‍♂️", + ['resetdef'] = "Resetar para o padrão", + ['normalreset'] = "Normal (Resetar)", + ['moods'] = "Humores 😒", + ['infoupdate'] = "Crédito e agradecimento 🙏🏻", + ['infoupdateav'] = "Informação (Atualização disponível)", + ['infoupdateavtext'] = "Uma atualização disponível, veja ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~ para pegar", + ['suggestions'] = "Sugestões?", + ['suggestionsinfo'] = "~r~TayMcKenzieNZ~s~ no fórum do FiveM para qualquer sugestão de recurso/emotes! ✉️", + ['notvaliddance'] = "não é uma dança válida.", + ['notvalidemote'] = "não é um emote válido.", + ['nocancel'] = "Nenhum emote para cancelar", + ['maleonly'] = "Este emote é para homens, desculpe!", + ['emotemenucmd'] = "Use /emotemenu para abrir o menu.", + ['shareemotes'] = "👫 Emotes compartilhados", + ['shareemotesinfo'] = "Convide uma pessoa próxima para realizar a animação", + ['sharedanceemotes'] = "🕺 Danças compartilhadas", + ['notvalidsharedemote'] = "não é um emote compartilhado válido.", + ['sentrequestto'] = "Enviar solicitação para ~y~", + ['nobodyclose'] = "Ninguém próximo o ~r~suficiente~w~.", + ['doyouwanna'] = "~y~Y~w~ para aceitar, ~r~L~w~ para recusar (~g~", + ['refuseemote'] = "Emote recusado", + ['makenearby'] = "Faz o jogador próximo participar", + ['useleafblower'] = "Pressione ~y~G~w~ para usar o soprador de folhas", + ['camera'] = "Pressione ~y~G~w~ para usar o flash da câmera", + ['makeitrain'] = "Pressione ~y~G~w~ para fazer chover.", + ['pee'] = "Mantenha pressionado ~y~G~w~ para fazer xixi.", + ['spraychamp'] = "Mantenha pressionado ~y~G~w~ jogar champagne", + ['stun'] = "Pressione ~y~G~w~ para 'usar' stun gun.", + ['vape'] = "Pressione ~y~G~w~ para vape.", + ['bound'] = "Vinculado ", + ['to'] = "para", + ['currentlyboundemotes'] = "Emotes atualmente vinculados: ", + ['notvalidkey'] = "isto não é uma chave válida", + ['keybinds'] = "🔢 Keybinds", + ['keybindsinfo'] = "Usar", + ['searchemotes'] = "🔍 Procure por Emotes", + ['searchinputtitle'] = "Procurar:", + ['searchmenudesc'] = "%s resultado(s) para '~r~%s~w~':", + ['searchnoresult'] = "Nenhum resultado para a pesquisa '~r~%s~w~'.", + ['searchshifttofav'] = "Segure Shift Esquerdo e pressione enter para setar como favorito.", + ['searchcantsetfav'] = "Emotes compartilhados não podem ser setados como favorito.", + ['invalidvariation'] = "Variação de textura inválida. As opções válidas são: %s", + ['firework'] = "Pressione ~y~G~w~ para usar o fogo de artifício", + ['poop'] = "Pressione ~y~G~w~ para fazer cocô", -- Translated using smodin.io + ['puke'] = "Pressione ~y~G~w~ para vomitar", + ['btn_select'] = "Selecionar", + ['btn_back'] = "Voltar", + ['btn_switch'] = "Movimento", + ['btn_increment'] = "Incremento" + }, + ['zhcn'] = { -- Chinese simplified + ['emotes'] = '动作 🎬', + ['danceemotes'] = "🕺 舞蹈动作", + ['animalemotes'] = "🐩 动物动作", + ['propemotes'] = "📦 物品动作", + ['favoriteemotes'] = "🌟 收藏", + ['favoriteinfo'] = "在此处选择一个动作并将其设为收藏。", + ['rfavorite'] = "重置收藏", + ['prop2info'] = "❓ 物品动作在最后面", + ['set'] = "设置 (", + ['setboundemote'] = ") 为绑定动作?", + ['newsetemote'] = "~w~ 已设置为你的绑定动作,按 ~g~CapsLock~w~ 使用。", + ['cancelemote'] = "取消动作 🚷", + ['cancelemoteinfo'] = "~r~X~w~ 取消当前动作", + ['walkingstyles'] = "行走风格 🚶🏻‍♂️", + ['resetdef'] = "重置为默认", + ['normalreset'] = "正常 (重置)", + ['moods'] = "情绪 😒", + ['infoupdate'] = "致谢 & 建议 🙏🏻", + ['infoupdateav'] = "信息 (有更新)", + ['infoupdateavtext'] = "已有新版本可用,请前往 ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~ 获取最新版。", + ['suggestions'] = "想提出建议?", + ['suggestionsinfo'] = "请在 FiveM 论坛上联系 ~r~TayMcKenzieNZ~s~ 提出功能 / 动作建议! ✉️", + ['notvaliddance'] = "不是有效的舞蹈动作。", + ['notvalidemote'] = "不是有效的动作。", + ['nocancel'] = "没有要取消的动作。", + ['maleonly'] = "抱歉,此动作仅适用于男性!", + ['emotemenucmd'] = "使用命令 /emotemenu 打开动作菜单。", + ['shareemotes'] = "👫 共享动作", + ['shareemotesinfo'] = "邀请附近的人动作", + ['sharedanceemotes'] = "🕺 共享舞蹈动作", + ['notvalidsharedemote'] = "不是有效的共享动作。", + ['sentrequestto'] = "已向此人发送请求 ~y~", + ['nobodyclose'] = "没有人 ~r~靠近~w~。", + ['doyouwanna'] = "按 ~y~Y~w~ 接受,按 ~r~L~w~ 拒绝 (~g~", + ['refuseemote'] = "已拒绝动作。", + ['makenearby'] = "让附近的玩家播放", + ['useleafblower'] = "按 ~y~G~w~ 使用吹叶机。", + ['camera'] = "按 ~y~G~w~ 使用闪光灯。", + ['makeitrain'] = "按 ~y~G~w~ 撒出。", + ['pee'] = "按住 ~y~G~w~ 尿尿。", + ['spraychamp'] = "按住 ~y~G~w~ 喷洒香槟", + ['stun'] = "按 ~y~G~w~ '使用' 麻醉枪。", + ['vape'] = "按 ~y~G~w~ 使用电子烟。", + ['bound'] = "绑定 ", + ['to'] = "到", + ['currentlyboundemotes'] = " 当前绑定的动作:", + ['notvalidkey'] = "不是有效的按键。", + ['keybinds'] = "🔢 按键设置", + ['keybindsinfo'] = "使用", + ['searchemotes'] = "🔍 搜索动作", + ['searchinputtitle'] = "搜索:", + ['searchmenudesc'] = "'~r~%s~w~' 有 %s 个结果:", + ['searchnoresult'] = "'~r~%s~w~' 没有搜索结果。", + ['searchshifttofav'] = "按住 L-Shift 并按回车键设置为收藏。", + ['searchcantsetfav'] = "共享动作无法设置为收藏。", + ['invalidvariation'] = "纹理颜色无效。有效选择为: %s", + ['firework'] = "按 ~y~G~w~ 放烟花", + ['poop'] = "按 ~y~G~w~ 排便", + ['puke'] = "按 ~y~G~w~ 呕吐", + ['btn_select'] = "选择", + ['btn_back'] = "返回", + ['btn_switch'] = "移动", + ['btn_increment'] = "移动量" + }, + ['zhtw'] = { -- Chinese Traditional + ['emotes'] = '動作 🎬', + ['danceemotes'] = "🕺 舞蹈動作", + ['animalemotes'] = "🐩 動物動作", + ['propemotes'] = "📦 物品動作", + ['favoriteemotes'] = "🌟 收藏", + ['favoriteinfo'] = "在此處選擇壹個動作並將其設為收藏。", + ['rfavorite'] = "重置收藏", + ['prop2info'] = "❓ 物品動作在最後面", + ['set'] = "設置 (", + ['setboundemote'] = ") 為綁定動作?", + ['newsetemote'] = "~w~ 已設置為妳的綁定動作,按 ~g~CapsLock~w~ 使用。", + ['cancelemote'] = "取消動作 🚷", + ['cancelemoteinfo'] = "~r~X~w~ 取消當前動作", + ['walkingstyles'] = "行走風格 🚶🏻‍♂️", + ['resetdef'] = "重置為默認", + ['normalreset'] = "正常 (重置)", + ['moods'] = "情緒 😒", + ['infoupdate'] = "致謝 & 建議 🙏🏻", + ['infoupdateav'] = "信息 (有更新)", + ['infoupdateavtext'] = "已有新版本可用,請前往 ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~ 獲取最新版。", + ['suggestions'] = "想提出建議?", + ['suggestionsinfo'] = "請在 FiveM 論壇上聯系 ~r~TayMcKenzieNZ~s~ 提出功能 / 動作建議! ✉️", + ['notvaliddance'] = "不是有效的舞蹈動作。", + ['notvalidemote'] = "不是有效的動作。", + ['nocancel'] = "沒有要取消的動作。", + ['maleonly'] = "抱歉,此動作僅適用於男性!", + ['emotemenucmd'] = "使用命令 /emotemenu 打開動作菜單。", + ['shareemotes'] = "👫 共享動作", + ['shareemotesinfo'] = "邀請附近的人動作", + ['sharedanceemotes'] = "🕺 共享舞蹈動作", + ['notvalidsharedemote'] = "不是有效的共享動作。", + ['sentrequestto'] = "已向此人發送請求 ~y~", + ['nobodyclose'] = "沒有人 ~r~靠近~w~。", + ['doyouwanna'] = "按 ~y~Y~w~ 接受,按 ~r~L~w~ 拒絕 (~g~", + ['refuseemote'] = "已拒絕動作。", + ['makenearby'] = "讓附近的玩家播放", + ['useleafblower'] = "按 ~y~G~w~ 使用吹葉機。", + ['camera'] = "按 ~y~G~w~ 使用閃光燈。", + ['makeitrain'] = "按 ~y~G~w~ 撒出。", + ['pee'] = "按住 ~y~G~w~ 尿尿。", + ['spraychamp'] = "按住 ~y~G~w~ 噴灑香檳", + ['stun'] = "按 ~y~G~w~ '使用' 麻醉槍。", + ['vape'] = "按 ~y~G~w~ 使用電子煙。", + ['bound'] = "綁定 ", + ['to'] = "到", + ['currentlyboundemotes'] = " 當前綁定的動作:", + ['notvalidkey'] = "不是有效的按鍵。", + ['keybinds'] = "🔢 按鍵設置", + ['keybindsinfo'] = "使用", + ['searchemotes'] = "🔍 搜索動作", + ['searchinputtitle'] = "搜索:", + ['searchmenudesc'] = "'~r~%s~w~' 有 %s 個結果:", + ['searchnoresult'] = "'~r~%s~w~' 沒有搜索結果。", + ['searchshifttofav'] = "按住 L-Shift 並按回車鍵設置為收藏。", + ['searchcantsetfav'] = "共享動作無法設置為收藏。", + ['invalidvariation'] = "紋理顏色無效。有效選擇為: %s", + ['firework'] = "按 ~y~G~w~ 放煙花", + ['poop'] = "按 ~y~G~w~ 排便", + ['puke'] = "按 ~y~G~w~ 嘔吐", + ['btn_select'] = "選擇", + ['btn_back'] = "返回", + ['btn_switch'] = "移動", + ['btn_increment'] = "移動量" + }, + ['cs'] = { -- Czech 🇨🇿 + ['emotes'] = 'Animace 🎬', + ['danceemotes'] = "🕺 Taneční Animace", + ['animalemotes'] = "🐩 zvířecí Animace", + ['propemotes'] = "📦 Animace s předměty", + ['favoriteemotes'] = "🌟 Oblíbené", + ['favoriteinfo'] = "Vyberte si animaci a nastavte ji jako svou oblíbenou.", + ['rfavorite'] = "Obnovit oblíbené", + ['prop2info'] = "❓ Pomůcky se mohou nacházet na konci", + ['set'] = "Nastavit", + ['setboundemote'] = "Nastavit jako vaši animaci?", + ['newsetemote'] = "~w~ je nyní vaší novou nastavenou animací. Chcete-li jej použít, stiskněte ~g~CapsLock~w~.", + ['cancelemote'] = "Zrušit animaci 🚷", + ['cancelemoteinfo'] = "~r~X~w~ Zruší aktuálně přehrávanou animaci", + ['walkingstyles'] = "Styly chůze 🚶🏻‍♂️", + ['resetdef'] = "Obnovit do základního nastavení", + ['normalreset'] = "Neutrální výraz", + ['moods'] = "Výrazy 😒", + ['infoupdate'] = "Kredity a nápady 🙏🏻", + ['infoupdateav'] = "Informace (aktualizace dostupná)", + ['infoupdateavtext'] = "Je k dispozici aktualizace, stáhněte si nejnovější verzi z ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~", + ['suggestions'] = "Nápady?", + ['suggestionsinfo'] = "~r~TayMcKenzieNZ~s~ na FiveM forums je pro jakýkoliv návrh! ✉️", + ['notvaliddance'] = "Není platný tanec.", + ['notvalidemote'] = "Není platná animace.", + ['nocancel'] = "Žádné animace ke zrušení.", + ['maleonly'] = "Tato emoce je pouze pro muže, omlouvám se!", + ['emotemenucmd'] = "Použíj /emotemenu pro otevření menu.", + ['shareemotes'] = "👫 Sdílené animace", + ['shareemotesinfo'] = "Pozvěte osobu v okolí, k tanci", + ['sharedanceemotes'] = "🕺 Sdílený tanece", + ['notvalidsharedemote'] = "Není platný Sdílený tanec.", + ['sentrequestto'] = "Odeslal jsi ~y~ žádost o tanec ", + ['nobodyclose'] = "Nikdo ~r~není~w~ v dostatečné blízkosti.", + ['doyouwanna'] = "~y~Y~w~ pro příjmutí, ~r~L~w~ pro odmitnutí (~g~", + ['refuseemote'] = "Emote odmítnut.", + ['makenearby'] = "nechat hráče poblíž hrát", + ['useleafblower'] = "Stiskněte ~yG~w~ pro použití foukače listí", -- GOOGLE TRANSLATED + ['camera'] = "Stiskni ~y~G~w~ pro použítí blesku u fotoaparátu.", + ['makeitrain'] = "Stiskni ~y~G~w~ pro spuštení deště.", + ['pee'] = "Podrž ~y~G~w~ pro čůraní.", + ['spraychamp'] = "Podrž ~y~G~w~ pro stříkaní šampaňského", + ['stun'] = "Stiskni ~y~G~w~ pro 'použití' paralyzéru.", + ['vape'] = "Press ~y~G~w~ to vape.", + ['bound'] = "Bound ", + ['to'] = "na", + ['currentlyboundemotes'] = "Momentálně nastavené animace:", + ['notvalidkey'] = "Není platná klávesa.", + ['keybinds'] = "🔢 Klávesové Zkratky", + ['keybindsinfo'] = "Use", + ['searchemotes'] = "🔍 Vyhledat animace", + ['searchinputtitle'] = "Vyhledáno:", + ['searchmenudesc'] = "%s výsledek pro '~r~%s~w~':", + ['searchnoresult'] = "Žádna animace nebyla nalezena '~r~%s~w~'.", + ['searchshifttofav'] = "Podrž L-Shift a stiskni enter pro nastavení animace do oblíbeních.", + ['searchcantsetfav'] = "Sdílené animace nelze nastavit jako oblíbené.", + ['invalidvariation'] = "Neplatná variace textury. Platné výběry jsou: %s", + ['firework'] = "Stiskni ~y~G~w~ pro použití ohňostroje", + ['poop'] = "Stisknutím ~y~G~w~ se vykakáte", + ['puke'] = "Stiskni ~y~G~w~ pro zvracení", + ['btn_select'] = "Vybrat", + ['btn_back'] = "Zpět", + ['btn_switch'] = "Pohyb", + ['btn_increment'] = "Increment" + }, + ['da'] = { -- Danish 🇩🇰 + ['emotes'] = 'Animationer', + ['danceemotes'] = "🕺 Danse Animationer", + ['animalemotes'] = "🐩 Dyr Animationer", + ['propemotes'] = "📦 Rekvisit Animationer", + ['favoriteemotes'] = "🌟 Favorit", + ['favoriteinfo'] = "Vælg en animation her for at sætte den som din favorit.", + ['rfavorite'] = "Nulstil Favorit", + ['prop2info'] = "❓ Rekvisit animationer findes i slutningen", + ['set'] = "Sæt (", + ['setboundemote'] = ") til din favorit animation?", + ['newsetemote'] = "~w~ er nu din favorit animation, tryk ~g~CapsLock~w~ for at bruge den.", + ['cancelemote'] = "Afbryd animation", + ['cancelemoteinfo'] = "~r~X~w~ annullerer din igangværende animation.", + ['walkingstyles'] = "Gågange", + ['resetdef'] = "Nulstil til standard", + ['normalreset'] = "Normal (Nulstil)", + ['moods'] = "Humør 😒", + ['infoupdate'] = "Info / Opdateringer", + ['infoupdateav'] = "Information (Opdatering tilgængelig)", + ['infoupdateavtext'] = "En opdatering er tilgænglig, hent den nyeste version fra ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~", + ['suggestions'] = "Forslag?", + ['suggestionsinfo'] = "~r~TayMcKenzieNZ~s~ på FiveM-forum for alle funktioner/emote-forslag! ✉️", + ['notvaliddance'] = "er ikke en gyldig dans", + ['notvalidemote'] = "er ikke en gyldig animation", + ['nocancel'] = "Ingen animationer bruges lige nu", + ['maleonly'] = "Denne animation virker kun til mænd!", + ['emotemenucmd'] = "Skriv /emotemenu for animationsmenuen", + ['shareemotes'] = "👫 Delte animationer", + ['shareemotesinfo'] = "Inviter en person i nærheden til at dele en animationer", + ['sharedanceemotes'] = "🕺 Delete Danse", + ['notvalidsharedemote'] = "er ikke en gyldig delt animation.", + ['sentrequestto'] = "Anmodning sendt til ~y~", + ['nobodyclose'] = "Ingen ~r~personer~w~ i nærheden.", + ['doyouwanna'] = "~y~Y~w~ for at acceptere, ~r~L~w~ for at afvist (~g~", + ['refuseemote'] = "Animation afvist.", + ['makenearby'] = "får den nærliggende person til at bruge", + ['useleafblower'] = "Tryk på ~yG~w~ for at bruge løvblæseren", + ['camera'] = "Tryk ~y~G~w~ for at bruge kameraets blitz.", + ['makeitrain'] = "Tryk ~y~G~w~ for at regne med penge.", + ['pee'] = "Hold ~y~G~w~ for at tisse.", + ['spraychamp'] = "Hold ~y~G~w~ for at sprøjte med champagnen", + ['stun'] = "Tryk på ~y~G~w~ for at bruge elektrisk pistol.", + ['vape'] = "Press ~y~G~w~ to vape.", + ['bound'] = "Bundet ", + ['to'] = "til", + ['currentlyboundemotes'] = " Keybind animationer:", + ['notvalidkey'] = "er ikke en gyldigt nøgle.", + ['keybinds'] = "🔢 Keybinds", + ['keybindsinfo'] = "Brug", + ['searchemotes'] = "🔍 Søg efter animation", + ['searchinputtitle'] = "Søg:", + ['searchmenudesc'] = "%s resultat(er) for '~r~%s~w~':", + ['searchnoresult'] = "Ingen resultater fundet med '~r~%s~w~'.", + ['searchshifttofav'] = "Hold L-Shift og tryk enter for at sætte som favorit.", + ['searchcantsetfav'] = "Delte animationer kan ikke være favoritter.", + ['invalidvariation'] = "Ugyldig teksturvariation. Gyldige valg er: %s", + ['firework'] = "Tryk på ~y~G~w~ for at bruge fyrværkeri", + ['poop'] = "Tryk på ~y~G~w~ for at skide", + ['puke'] = "Tryk ~y~G~w~ for at kaste op",---- Translated via smodin.io + ['btn_select'] = "Vælg", + ['btn_back'] = "Tilbage", + ['btn_switch'] = "Bevægelse", + ['btn_increment'] = "Trin" + }, + ['nl'] = { -- Dutch 🇳🇱 + ['emotes'] = 'Animaties 🎬', + ['danceemotes'] = "🕺 Dans Animaties", + ['animalemotes'] = "🐩 Dier Animaties", + ['propemotes'] = "📦 Prop Animaties", + ['favoriteemotes'] = "🌟 Favorieten", + ['favoriteinfo'] = "Selecteer hier een animatie om deze als favoriete in te stellen.", + ['rfavorite'] = "Reset Favorieten", + ['prop2info'] = "❓ Prop animaties staan aan het einde.", + ['set'] = "Maak (", + ['setboundemote'] = ") je toegewezen animatie?", + ['newsetemote'] = "~w~ is nu je toegewezen animatie, druk op ~g~CapsLock~w~ om hem te gebruiken.", + ['cancelemote'] = "Stop Animatie 🚷", + ['cancelemoteinfo'] = "~r~X~w~ Stopt je huidige animatie", + ['walkingstyles'] = "Loopjes 🚶🏻‍♂️", + ['resetdef'] = "Reset naar standaard", + ['normalreset'] = "Normaal (Reset)", + ['moods'] = "Stemmingen 😒", + ['infoupdate'] = "Credits en bedankt 🙏🏻", + ['infoupdateav'] = "Informatie (Update beschikbaar)", + ['infoupdateavtext'] = "Een update is beschikbaar, download de laatste versie via ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~", + ['suggestions'] = "Suggesties?", + ['suggestionsinfo'] = "~r~TayMcKenzieNZ~s~ op de FiveM forums om suggesties in te dienen! ✉️", + ['notvaliddance'] = "Is geen geldige dans.", + ['notvalidemote'] = "Is geen geldige animatie.", + ['nocancel'] = "Er is geen animatie om te annuleren.", + ['maleonly'] = "Deze animatie is alleen voor mannen, sorry!", + ['emotemenucmd'] = "Doe /emotemenu voor het animatiemenu.", + ['shareemotes'] = "👫 Gedeelde Animaties", + ['shareemotesinfo'] = "Nodig een persoon in de buurt uit om een animatie te doen.", + ['sharedanceemotes'] = "🕺 Gedeelde Dansjes", + ['notvalidsharedemote'] = "Is geen geldige gedeelde animatie.", + ['sentrequestto'] = "Verzoek gestuurd naar ~y~", + ['nobodyclose'] = "Er is niemand ~r~dichtbij~w~ genoeg.", + ['doyouwanna'] = "~y~Y~w~ om te accepteren, ~r~L~w~ om te weigeren (~g~", + ['refuseemote'] = "Animatie geweigerd.", + ['makenearby'] = "laat de dichtstbijzijnde persoon de animatie doen", + ['useleafblower'] = "Druk op ~y~G~w~ om de bladblazer te gebruiken.", + ['camera'] = "Druk op ~y~G~w~ om de flitser te gebruiken..", + ['makeitrain'] = "Druk op ~y~G~w~ om geld te gooien.", + ['pee'] = "Druk op ~y~G~w~ om te plassen.", + ['spraychamp'] = "Druk op ~y~G~w~ om Champagne te spuiten.", + ['stun'] = "Druk op ~y~G~w~ om de taser te 'gebruiken'.", + ['vape'] = "Druk op ~y~Gw~ om te vapen.", + ['bound'] = "Gebonden ", + ['to'] = "aan", + ['currentlyboundemotes'] = " Huidig gebonden animaties:", + ['notvalidkey'] = "Is geen geldige knop.", + ['keybinds'] = "🔢 Keybinds", + ['keybindsinfo'] = "Gebruik", + ['searchemotes'] = "🔍 Zoeken naar emotes", + ['searchinputtitle'] = "Zoeken:", + ['searchmenudesc'] = "%s Resultaat(s) voor'~r~%s~w~':", + ['searchnoresult'] = "Geen resultaat voor zoekopdracht '~r~%s~w~'.", + ['searchshifttofav'] = "Houd L-Shift ingedrukt en druk enter om als favoriet op te slaan.", + ['searchcantsetfav'] = "Gedeelde emotes kunnen niet als favoriet worden ingesteld.", + ['invalidvariation'] = "Ongeldige textuur variatie. Geldige selecties zijn: %s", + ['firework'] = "Druk op ~y~G~w~ om vuurwerk te gebruiken", + ['poop'] = "Druk op ~y~G~w~ om te poepen", + ['puke'] = "Druk op ~y~G~w~ om te kotsen", + ['btn_select'] = "Selecteren", + ['btn_back'] = "Terug", + ['btn_switch'] = "Bewegen", + ['btn_increment'] = "Increment" + }, + ['en'] = { -- English 🇬🇧 + ['emotes'] = 'Emotes 🎬', + ['danceemotes'] = "🕺 Dance Emotes", + ['animalemotes'] = "🐩 Animal Emotes", + ['propemotes'] = "📦 Prop Emotes", + ['favoriteemotes'] = "🌟 Favorite", + ['favoriteinfo'] = "Select an emote here to set it as your favorite.", + ['rfavorite'] = "Reset favorite", + ['prop2info'] = "❓ Prop Emotes can be located at the end", + ['set'] = "Set (", + ['setboundemote'] = ") to be your bound emote?", + ['newsetemote'] = "~w~ is now your bound emote, press ~g~CapsLock~w~ to use it.", + ['cancelemote'] = "Cancel Emote 🚷", + ['cancelemoteinfo'] = "~r~X~w~ Cancels the currently playing emote", + ['walkingstyles'] = "Walking Styles 🚶🏻‍♂️", + ['resetdef'] = "Reset to default", + ['normalreset'] = "Normal (Reset)", + ['moods'] = "Moods 😒", + ['infoupdate'] = "Credits & Suggestions 🙏🏻", + ['infoupdateav'] = "Information (Update available)", + ['infoupdateavtext'] = "An update is available, get the latest version from ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~", + ['suggestions'] = "Suggestions?", + ['suggestionsinfo'] = "~r~TayMcKenzieNZ~s~ on FiveM forums for any feature/emote suggestions! ✉️", + ['notvaliddance'] = "is not a valid dance.", + ['notvalidemote'] = "is not a valid emote.", + ['nocancel'] = "No emote to cancel.", + ['maleonly'] = "This emote is male only, sorry!", + ['emotemenucmd'] = "Use command /emotemenu to open animations menu.", + ['shareemotes'] = "👫 Shared Emotes", + ['shareemotesinfo'] = "Invite a nearby person to emote", + ['sharedanceemotes'] = "🕺 Shared Dances", + ['notvalidsharedemote'] = "is not a valid shared emote.", + ['sentrequestto'] = "Sent request to ~y~", + ['nobodyclose'] = "Nobody ~r~close~w~ enough.", + ['doyouwanna'] = "~y~Y~w~ to accept, ~r~L~w~ to refuse (~g~", + ['refuseemote'] = "Emote refused.", + ['makenearby'] = "makes the nearby player play", + ['useleafblower'] = "Press ~y~G~w~ to use the leaf blower.", + ['camera'] = "Press ~y~G~w~ to use camera flash.", + ['makeitrain'] = "Press ~y~G~w~ to make it rain.", + ['pee'] = "Hold ~y~G~w~ to pee.", + ['spraychamp'] = "Hold ~y~G~w~ to spray champagne", + ['stun'] = "Press ~y~G~w~ to 'use' stun gun.", + ['vape'] = "Press ~y~G~w~ to vape.", + ['bound'] = "Bound ", + ['to'] = "to", + ['currentlyboundemotes'] = " Currently bound emotes:", + ['notvalidkey'] = "is not a valid key.", + ['keybinds'] = "🔢 Keybinds", + ['keybindsinfo'] = "Use", + ['searchemotes'] = "🔍 Search for Emotes", + ['searchinputtitle'] = "Search:", + ['searchmenudesc'] = "%s result(s) for '~r~%s~w~':", + ['searchnoresult'] = "No results for search '~r~%s~w~'.", + ['searchshifttofav'] = "Hold L-Shift and press enter to set as favorite.", + ['searchcantsetfav'] = "Shared emotes cannot be set as favorites.", + ['invalidvariation'] = "Invalid texture variation. Valid selections are: %s", + ['firework'] = "Press ~y~G~w~ to use the firework", + ['poop'] = "Press ~y~G~w~ to poop", + ['puke'] = "Press ~y~G~w~ to puke", + ['btn_select'] = "Select", + ['btn_back'] = "Back", + ['btn_switch'] = "Movement", + ['btn_increment'] = "Increment" + }, + ['fi'] = { -- Finnish 🇫🇮 + ['emotes'] = 'Animaatiot 🎬', + ['danceemotes'] = "🕺 Tanssi Animaatiot", + ['animalemotes'] = "🐩 Eläin Animaatiot", + ['propemotes'] = "📦 Esine Animaatiot", + ['favoriteemotes'] = "🌟 Suosikit", + ['favoriteinfo'] = "Valitse animaatio asettaaksesi sen suosikiksi.", + ['rfavorite'] = "Resetoi suosikit.", + ['prop2info'] = "❓ Esine animaatiot voivat sijaita lopussa", + ['set'] = "Aseta (", + ['setboundemote'] = ") bindatuksi animaatioksi?", + ['newsetemote'] = "~w~ on nyt bindattu animaatio, paina ~g~CapsLock~w~ käyttääksesi", + ['cancelemote'] = "Peru animaatio 🚷", + ['cancelemoteinfo'] = "~r~X~w~ Peruu tämän hetkisen animaation", + ['walkingstyles'] = "Kävelytyylit 🚶🏻‍♂️", + ['resetdef'] = "Resetoi oletuksen", + ['normalreset'] = "Normaali (Reset)", + ['moods'] = "Mielialat 😒", + ['infoupdate'] = "Krediitit & Ehdotukset 🙏🏻", + ['infoupdateav'] = "Informaatio (Päivitys saatavilla)", + ['infoupdateavtext'] = "Uusin versio saatavilla täältä ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~", + ['suggestions'] = "Ehdotukset?", + ['suggestionsinfo'] = "~r~TayMcKenzieNZ~s~ FiveM foorumeilla liittyen mihin tahansa ominaisuus/animaatio ehdotukseen! ✉️", + ['notvaliddance'] = "Ei ole tanssi.", + ['notvalidemote'] = "Ei ole animaatio.", + ['nocancel'] = "Ei ole animaatiota peruutettavaksi.", + ['maleonly'] = "Tämä animaatio on ainostaan miehille, pahoittelut!", + ['emotemenucmd'] = "Käytä /emotemenu avataksesi animaatio valikon", + ['shareemotes'] = "👫 Yhteiset Animaatiot", + ['shareemotesinfo'] = "Kutsu lähin pelaaja animaatioon ", + ['sharedanceemotes'] = "🕺 Yhteiset Tanssit", + ['notvalidsharedemote'] = "Ei ole yhteinen tanssi animaatio.", + ['sentrequestto'] = "Kutsu lähetetty pelaajalle ~y~", + ['nobodyclose'] = "Kukaan ei ole ~r~lähelläsi~w~.", + ['doyouwanna'] = "~y~Y~w~ hyväksyäksesi, ~r~L~w~ kieltäytyäksesi (~g~", + ['refuseemote'] = "Kieltäytyi animaatiosta.", + ['makenearby'] = "lähellä oleva pelaaja tekee", + ['useleafblower'] = "Paina ~y~G~w~ käyttääksesi lehtipuhallinta.", + ['camera'] = "Paina ~y~G~w~ käyttääksesi kameran salamaa.", + ['makeitrain'] = "Paina ~y~G~w~ heittääksesi rahaa.", + ['pee'] = "Pidä ~y~G~w~ pissataksesi.", + ['spraychamp'] = "Pidä ~y~G~w~ suihkuttaaksesi shamppanjaa", + ['stun'] = "Paina ~y~G~w~ 'käyttääksesi' etälamautinta.", + ['vape'] = "Paina ~y~G~w~ käyttääksesi vapea.", + ['bound'] = "Bindata", + ['to'] = ' Näppäimeen', + ['currentlyboundemotes'] = "Bindatut animaatiot:", + ['notvalidkey'] = "ei ole käytettävä näppäin.", + ['keybinds'] = "🔢 Pikanäppäimet", + ['keybindsinfo'] = "Käytä", + ['searchemotes'] = "🔍 Etsiäksesi emoten", + ['searchinputtitle'] = "Etsi:", + ['searchmenudesc'] = "%s tulokset '~r~%s~w~':", + ['searchnoresult'] = "Ei tuloksia haulle '~r~%s~w~'.", + ['searchshifttofav'] = "Pidä L-Shift painettuna ja aseta suosikiksi painamalla Enter.", + ['searchcantsetfav'] = "Jaettuja emoteja ei voi asettaa suosikeiksi.", + ['invalidvariation'] = "Virheellinen tekstuurimuunnelma. Kelvollisia valintoja ovat: %s", + ['firework'] = "Käytä ilotulitteita painamalla ~y~G~w~", + ['poop'] = "Paina ~y~G~w~ kakataksesi.", + ['puke'] = "Paina ~y~G~w~ oksentaaksesi.", + ['btn_select'] = "Valitse", + ['btn_back'] = "Takaisin", + ['btn_switch'] = "Liike", + ['btn_increment'] = "Lisäys" + }, + ['fr'] = { -- French 🇫🇷 + ['emotes'] = 'Emotes 🎬', + ['danceemotes'] = "🕺 Danses", + ['animalemotes'] = "🐩 Emotes d'animaux", + ['propemotes'] = "📦 Emotes objet", + ['favoriteemotes'] = "🌟 Favori", + ['favoriteinfo'] = "Définir une emote comme favori.", + ['rfavorite'] = "Réinitialiser le favori.", + ['prop2info'] = "❓ Les emotes d'objet peuvent être à la fin", + ['set'] = "Mettre (", + ['setboundemote'] = ") en emote favorite?", + ['newsetemote'] = "~w~ est maintenant votre emote favorite, appuyez sur ~g~CapsLock~w~ pour l'utiliser.", + ['cancelemote'] = "Annuler Emote 🚷", + ['cancelemoteinfo'] = "~r~X~w~ Annule l'emote en cours", + ['walkingstyles'] = "Styles de marche 🚶🏻‍♂️", + ['resetdef'] = "Réinitialiser aux valeurs par défaut", + ['normalreset'] = "Normal (réinitialiser)", + ['moods'] = "Humeurs 😒", + ['infoupdate'] = "Crédits et suggestions 🙏🏻", + ['infoupdateav'] = "Information (Mise à jour disponible)", + ['infoupdateavtext'] = "Une mise à jour est disponible ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~", + ['suggestions'] = "Suggestions?", + ['suggestionsinfo'] = "~r~TayMcKenzieNZ~s~ sur les forums FiveM pour toutes les suggestions! ✉️", + ['notvaliddance'] = "n'est pas une danse valide", + ['notvalidemote'] = "n'est pas une emote valide", + ['nocancel'] = "Pas d'emote à annuler", + ['maleonly'] = "Cet emote est réservé aux hommes, désolé!", + ['emotemenucmd'] = "Fait /emotemenu pour ouvrir le menu", + ['shareemotes'] = "👫 Emotes partagées", + ['shareemotesinfo'] = "Invite une personne proche à faire une emote avec toi", + ['sharedanceemotes'] = "🕺 Dances partagées", + ['notvalidsharedemote'] = "n'est pas un emote partagée valide.", + ['sentrequestto'] = "Demande envoyée à ~g~", + ['nobodyclose'] = "Personne n'est assez proche.", + ['doyouwanna'] = "~y~Y~w~ accepter, ~r~L~w~ refuser (~g~", + ['refuseemote'] = "Emote refusée.", + ['makenearby'] = "fait jouer le joueur à proximité", + ['useleafblower'] = "Appuyez sur ~y~G~w~ pour utiliser le souffleur à feuilles.", + ['camera'] = "Appuyez sur ~y~G~w~ pour utiliser le flash de l'appareil.", + ['makeitrain'] = "Appuyez sur ~y~G~w~ pour jeter de l'argent.", + ['pee'] = "Appuyez sur ~y~G~w~ pour faire pipi.", + ['spraychamp'] = "Appuyez sur ~y~G~w~ pour vaporiser du champagne.", + ['vape'] = "Appuyez sur ~y~G~w~ pour vapoter.", + ['bound'] = "Liée ", + ['to'] = "à", + ['currentlyboundemotes'] = " Emotes actuellement liées:", + ['notvalidkey'] = "n'est pas une clé valide.", + ['keybinds'] = "🔢 Raccourcis clavier", + ['keybindsinfo'] = "Utilise", + ['searchemotes'] = "🔍 Rechercher des emotes", + ['searchinputtitle'] = "Recherche:", + ['searchmenudesc'] = "%s resultat(s) pour '~r~%s~w~':", + ['searchnoresult'] = "Aucun résultat pour la recherche : '~r~%s~w~'.", + ['searchshifttofav'] = "Maintenir L-Shift et appuyer sur entrer pour marquer comme favorie.", + ['searchcantsetfav'] = "Les emotes partagées ne peuvent pas être mise en favorie.", + ['invalidvariation'] = "Variation de texture invalide. Les sélections valides sont : %s", + ['firework'] = "Appuyez sur ~y~G~w~ pour utiliser des feux d'artifice", -- GOOGLE TRANSLATED + ['poop'] = "Appuyez sur ~y~G~w~ pour faire caca.", -- Translated using smodin.io + ['puke'] = "Appuyez sur ~y~G~w~ pour vomir.", + ['btn_select'] = "Sélectionner", + ['btn_back'] = "Retour", + ['btn_switch'] = "Mouvement", + ['btn_increment'] = "Vitesse déplacement" + }, + ['de'] = { -- German 🇩🇪 + ['emotes'] = 'Emotes 🎬', + ['danceemotes'] = "🕺 Tanz-Emotes", + ['animalemotes'] = "🐩 Tier Emotes", + ['propemotes'] = "📦 Prop-Emotes", + ['favoriteemotes'] = "🌟 Favorit", + ['favoriteinfo'] = "Wählen Sie hier ein Emote aus, um es als gebundenes Emote festzulegen.", + ['rfavorite'] = "Keybind zurücksetzen", + ['prop2info'] = "❓ Prop-Emotes können am Ende platziert werden", + ['set'] = "Set (", + ['setboundemote'] = ") soll dein gebundenes Emote sein?", + ['newsetemote'] = "~w~ ist jetzt ein gebundenes Emote, drücke ~g~CapsLock~w~, um es zu verwenden.", + ['cancelemote'] = "Emote abbrechen 🚷", + ['cancelemoteinfo'] = "~r~ X ~w~ Bricht das aktuell wiedergegebene Emote ab", + ['walkingstyles'] = "Gehstile 🚶🏻‍♂️", + ['resetdef'] = "Auf Standard zurücksetzen", + ['normalreset'] = "Normal (Zurücksetzen)", + ['moods'] = "Stimmungen 😒", + ['infoupdate'] = "Credits und Dank 🙏🏻", + ['infoupdateav'] = "Information (Update verfügbar)", + ['infoupdateavtext'] = "Eine Aktualisierung ist verfügbar ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~", + ['suggestions'] = "Vorschläge?", + ['suggestionsinfo'] = "~r~TayMcKenzieNZ~s~ in FiveM-Foren für alle Feature- / Emote-Vorschläge! ✉️", + ['notvaliddance'] = "ist kein gültiger Tanz", + ['notvalidemote'] = "ist kein gültiges Emote", + ['nocancel'] = "Kein Emote zum Abbrechen", + ['maleonly'] = "Dieses Emote ist nur für Männer, sorry!", + ['emotemenucmd'] = "Gebe den Befehl /emotemenu ein, um das Menü zu öffnen", + ['shareemotes'] = "👫 Geteilte Emotes", + ['shareemotesinfo'] = "Laden Sie eine Person in Ihrer Nähe zum Emoten ein", + ['sharedanceemotes'] = "🕺 Geteilte Tänze", + ['notvalidsharedemote'] = "ist kein gültiges geteiltes Emote.", + ['sentrequestto'] = "Anfrage an ~g~ gesendet", + ['nobodyclose'] = "Niemand ist nah genug dran.", + ['doyouwanna'] = "~y~Z~w~ zu akzeptieren, ~r~L~w~ zu verweigern (~g~", + ['refuseemote'] = "Emote abgelehnt.", + ['makenearby'] = "Starte einen Emote mit einer Person in deiner Nähe", + ['useleafblower'] = "Drücke ~y~G~w~ um den Laubbläser zu benutzen.", + ['camera'] = "Drücke ~y~G~w~ um den Kamerablitz zu verwenden.", + ['makeitrain'] = "Drücke ~y~G~w~ zum Geld werfen.", + ['pee'] = "Halte ~y~G~w~ zum urinieren.", + ['spraychamp'] = "Halte ~y~G~w~ um Champagner zu sprühen", + ['vape'] = "Halte ~y~G~w~ um zu vapen.", + ['bound'] = "Gebunden ", + ['to'] = "zu", + ['currentlyboundemotes'] = " Derzeit gebundene Emotes:", + ['notvalidkey'] = "ist kein gültiger Schlüssel.", + ['keybinds'] = "🔢 Tastenkombinationen", + ['keybindsinfo'] = "verwenden", + ['searchemotes'] = "🔍 Suche nach Bestimmten Emotes", + ['searchinputtitle'] = "Suche:", + ['searchmenudesc'] = "%s Ergebnis(se) für '~r~%s~w~':", + ['searchnoresult'] = "Es wurden keine Ergebnisse gefunden für '~r~%s~w~'.", + ['searchshifttofav'] = "Halte L-Shift und drücke Enter um das Emote als Favorit zu setzen.", + ['searchcantsetfav'] = "Geteilte Emotes können nicht als Favorit gesetzt werden.", + ['invalidvariation'] = "Ungültige Texturvariante. Korrekte auswahlen sind: %s", + ['firework'] = "Drücke ~y~G~w~, um das Feuerwerk zu benutzen", + ['poop'] = "Drücke ~y~G~w~, um zu kacken", --Translated using smodin.io + ['puke'] = "Drücke ~y~G~w~ um dich zu übergeben", + ['btn_select'] = "Auswählen", + ['btn_back'] = "Zurück", + ['btn_switch'] = "Bewegung", + ['btn_increment'] = "Increment" + }, + ['hu'] = { -- Hungarian 🇭🇺 + ['emotes'] = 'Animációs Menü 🎬', + ['danceemotes'] = "🕺 Tánc Animációk", + ['animalemotes'] = "🐩 Állatos Animációk", + ['propemotes'] = "📦 Tárgyas Animációk", + ['favoriteemotes'] = "🌟 Kedvenc", + ['favoriteinfo'] = "Válassz ki itt egy animációt, hogy kedvenceddé tedd.", + ['rfavorite'] = "Kedvenc alaphelyzetbe állítása", + ['prop2info'] = "❓ A Prop Emote-ok a végén találhatók", + ['set'] = "Kiválasztod (", + ['setboundemote'] = ") hogy ez legyen a kedvenc animációd?", + ['newsetemote'] = "~w~ lett a kedvenc animációd, nyomj egy ~g~CapsLock~w~-ot a használatához.", + ['cancelemote'] = "Animáció Befejezése 🚷", + ['cancelemoteinfo'] = "~r~X~w~ Megszünteti az aktuálisan lejátszott animációt", + ['walkingstyles'] = "Séta Stílusok 🚶🏻‍♂️", + ['resetdef'] = "Séta alaphelyzetbe állítása", + ['normalreset'] = "Normális (Alaphelyzet)", + ['moods'] = "Archangulatok 😒", + ['infoupdate'] = "Kreditek és javaslatok 🙏🏻", + ['infoupdateav'] = "Információ (frissítés elérhető)", + ['infoupdateavtext'] = "A frissítés elérhető, a legfrissebb verziót a következő címen tudod beszerezni ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~", + ['suggestions'] = "Javaslatok?", + ['suggestionsinfo'] = "~r~TayMcKenzieNZ~s~ a FiveM fórumokon bármilyen funkcióra/animációra vonatkozó javaslatért! ✉️", + ['notvaliddance'] = "nem érvényes tánc.", + ['notvalidemote'] = "nem érvényes animáció.", + ['nocancel'] = "Nincs animáció amit visszavonhatnál.", + ['maleonly'] = "Ez az animáció csak férfi karaktereknek szól, sajnálom!", + ['emotemenucmd'] = "A /emotemenu paranccsal nyisd meg az animációk menüt.", + ['shareemotes'] = "👫 Megosztott animációk", + ['shareemotesinfo'] = "Hívj meg egy közeli személyt animációra", + ['sharedanceemotes'] = "🕺 Közös Táncok", + ['notvalidsharedemote'] = "nem érvényes megosztott animáció.", + ['sentrequestto'] = "Elküldted a kérelmet a(z) ~y~", + ['nobodyclose'] = "Senki sincs elég ~r~közel~w~.", + ['doyouwanna'] = "~y~Y~w~ gomb az elfogadáshoz, ~r~L~w~ gomb az elutasításhoz (~g~", + ['refuseemote'] = "Animáció elutasítva.", + ['makenearby'] = "a közelben lévő játékos játsza le ezt az animációt:", + ['useleafblower'] = "Nyomj ~y~G~w~ gombot a lombfúvó használatához.", + ['camera'] = "Nyomj ~y~G~w~ gombot a fényképezőgép vakujának használatához.", + ['makeitrain'] = "Nyomj ~y~G~w~ gombot hogy elkezdd szórni a pénzt.", + ['pee'] = "Nyomj ~y~G~w~ gombot a pisiléshez.", + ['spraychamp'] = "Nyomj ~y~G~w~ gombot a pezsgő fröcsköléséhez.", + ['stun'] = "Nyomj ~y~G~w~ gombot hogy 'használd' a sokkolót.", + ['vape'] = "Nyomj ~y~G~w~ gombot a vapeeléshez.", + ['bound'] = "Rögzített ", + ['to'] = "ehhez", + ['currentlyboundemotes'] = " Jelenleg rögzített animációk:", + ['notvalidkey'] = "nem érvényes gombkiosztás.", + ['keybinds'] = "🔢 Gombkiosztások", + ['keybindsinfo'] = "Használat", + ['searchemotes'] = "🔍 Animációk Keresése", + ['searchinputtitle'] = "Keresés:", + ['searchmenudesc'] = "%s eredmény erre: '~r~%s~w~':", + ['searchnoresult'] = "Nincs eredmény erre: '~r~%s~w~'.", + ['searchshifttofav'] = "Tartsd lenyomva az L-Shift billentyűt, és nyomd meg az enter billentyűt a kedvencek beállításához.", + ['searchcantsetfav'] = "A megosztott animációkat nem lehet kedvencekként beállítani.", + ['invalidvariation'] = "Érvénytelen textúra variáció. Érvényes választások a következők: %s", + ['firework'] = "Nyomj ~y~G~w~ gombot a tűzijáték használatához", + ['poop'] = "Nyomj ~y~G~w~ gombot a kakiláshoz", + ['puke'] = "Nyomja meg az ~y~G~w~ gombot a hányáshoz",---- Translated via smodin.io + ['btn_select'] = "Kiválasztás", + ['btn_back'] = "Vissza", + ['btn_switch'] = "Mozgás", + ['btn_increment'] = "Increment" + }, + ['it'] = { -- Italian 🇮🇹 + ['emotes'] = 'Animazioni 🎬', + ['danceemotes'] = "🕺 Animazioni Di Danza", + ['animalemotes'] = "🐩 Animazioni Di Animali", + ['propemotes'] = "📦 Animazioni Prop", + ['favoriteemotes'] = "🌟 Emote preferite", + ['favoriteinfo'] = "Seleziona un'animazione per metterla nei preferiti.", + ['rfavorite'] = "Rimuovi preferito", + ['prop2info'] = "❓ Le animazioni Prop possono essere trovate in fondo.", + ['set'] = "Imposta (", + ['setboundemote'] = ") come tua animazione corrente?", + ['newsetemote'] = "~w~ è ora la tua animazione corrente, premi ~g~CapsLock~w~ per usarla.", + ['cancelemote'] = "Annulla animazione 🚷", + ['cancelemoteinfo'] = "~r~X~w~ Cancella l'animazione in corso.", + ['walkingstyles'] = "Stili di camminata 🚶🏻‍♂️", + ['resetdef'] = "Ripristina predefiniti", + ['normalreset'] = "Normale (Reset)", + ['moods'] = "Umori 😒", + ['infoupdate'] = "Crediti e grazie 🙏🏻", + ['infoupdateav'] = "Informazioni (Aggiornamento disponibile)", + ['infoupdateavtext'] = "Un aggiornamento è disponibile, ottieni l'ulima versione qui ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~", + ['suggestions'] = "Suggerimenti?", + ['suggestionsinfo'] = "~r~TayMcKenzieNZ~s~ nei forum di FiveM per suggerimenti su funzionalitá/animazioni! ✉️", + ['notvaliddance'] = "non è un ballo valido.", + ['notvalidemote'] = "non è un'animazione valida.", + ['nocancel'] = "Nessun'animazione da cancellare.", + ['maleonly'] = "Quest'animazione è solo maschile!", + ['emotemenucmd'] = "Esegui /emotemenu per aprire il menù.", + ['shareemotes'] = "👫 Animazioni di coppia", + ['shareemotesinfo'] = "Invita un giocatore vicino ad un'animazione", + ['sharedanceemotes'] = "🕺 Balli di coppia", + ['notvalidsharedemote'] = "non è un'animazione di coppia valida.", + ['sentrequestto'] = "Richiesta mandata a ~y~", + ['nobodyclose'] = "Nessun giocatore abbastanza ~r~vicino~w~.", + ['doyouwanna'] = "~y~Y~w~ per accettare, ~r~L~w~ per rifiutare (~g~", + ['refuseemote'] = "Animazione rifiutata.", + ['makenearby'] = "fa eseguire l'animazione al giocatore vicino", + ['useleafblower'] = "Premi ~yG~w~ per usare il soffia foglie.", -- GOOGLE TRANSLATED + ['camera'] = "Premi ~y~G~w~ per usare il flash della fotocamera.", + ['makeitrain'] = "Premi ~y~G~w~ per far piovere.", + ['pee'] = "Tieni premuto ~y~G~w~ per urinare.", + ['spraychamp'] = "Tieni premuto ~y~G~w~ per spruzzare champagne", + ['stun'] = "Premi ~y~G~w~ per 'usare' la pistola stordente.", + ['bound'] = "É stato impostato ", + ['vape'] = "Press ~y~G~w~ to vape.", + ['to'] = "per", + ['currentlyboundemotes'] = " Animazioni correnti:", + ['notvalidkey'] = "non è una chiave valida.", + ['keybinds'] = "🔢 Tasti", + ['keybindsinfo'] = "Utilizza", + ['searchemotes'] = "🔍 Search for Emotes", + ['searchinputtitle'] = "Search:", + ['searchmenudesc'] = "%s result(s) for '~r~%s~w~':", + ['searchnoresult'] = "No results for search '~r~%s~w~'.", + ['searchshifttofav'] = "Hold L-Shift and press enter to set as favorite.", + ['searchcantsetfav'] = "Shared emotes cannot be set as favorites.", + ['invalidvariation'] = "Opzioni colore non valide. scelte valide sono: %s", + ['firework'] = "Premere ~y~G~w~ per utilizzare il fuoco d'artificio", + ['poop'] = "Premere ~y~G w~ per fare la cacca", + ['puke'] = "Premi ~y~G~w~ per vomitare", ---- Translated via smodin.io + ['btn_select'] = "Seleziona", + ['btn_back'] = "Indietro", + ['btn_switch'] = "Movimento", + ['btn_increment'] = "Increment" + }, + ['no'] = { -- Norwegian 🇳🇴 + ['emotes'] = 'Animasjoner 🎬', + ['danceemotes'] = "🕺 Danse Animasjoner", + ['animalemotes'] = "🐩 Dyreanimasjoner", + ['propemotes'] = "📦 Rekvisitt Animasjoner", + ['favoriteemotes'] = "🌟 Favoritt", + ['favoriteinfo'] = "Her kan du velge en favoritt animasjon.", + ['rfavorite'] = "Reset favoritt", + ['prop2info'] = "❓ Rekvisitt Animasjoner er på bunnen", + ['set'] = "Vil du sette (", + ['setboundemote'] = ") som din favoritt?", + ['newsetemote'] = "~w~ er nå lagret som din favoritt, trykk ~g~CapsLock~w~ for å bruke den.", + ['cancelemote'] = "Avbryt Animasjonen 🚷", + ['cancelemoteinfo'] = "~r~X~w~ Avbryt den nåværende animasjonen", + ['walkingstyles'] = "Gangart 🚶🏻‍♂️", + ['resetdef'] = "Reset til standard", + ['normalreset'] = "Normal (Reset)", + ['moods'] = "Ansiktsuttrykk 😒", + ['infoupdate'] = "Anerkjennelser & Forslag 🙏🏻", + ['infoupdateav'] = "Informasjon (Oppdatering tilgjengelig)", + ['infoupdateavtext'] = "En oppdatering er tilgjengelig, du finner den nyeste versjonen her: ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~", + ['suggestions'] = "Forslag?", + ['suggestionsinfo'] = "~r~TayMcKenzieNZ~s~ på FiveM forumet vist du har forslag til forbedringer/ animasjoner! ✉️", + ['notvaliddance'] = "er ikke en gyldig dans.", + ['notvalidemote'] = "er ikke en gyldig animasjon.", + ['nocancel'] = "Fant ingen animasjon å avbryte.", + ['maleonly'] = "Denne animasjonen er kun for men, beklager!", + ['emotemenucmd'] = "Use command /emotemenu to open animations menu.", + ['shareemotes'] = "👫 Felles Animasjoner", + ['shareemotesinfo'] = "Inviter den nærmeste personen til en felles animasjon", + ['sharedanceemotes'] = "🕺 Felles Danser", + ['notvalidsharedemote'] = "er ikke en gyldig felles animasjon.", + ['sentrequestto'] = "Sendte en forespørsel til ~y~", + ['nobodyclose'] = "Ingen ~r~personer~w~ er i nærheten.", + ['doyouwanna'] = "~y~Y~w~ for å akseptere, ~r~L~w~ for å avvise (~g~", + ['refuseemote'] = "Du avviste animasjonen.", + ['makenearby'] = "får personen i nærheten til å spille", + ['useleafblower'] = "Trykk ~y~G~w~ for å bruke løvblåseren.", + ['camera'] = "Trykk ~y~G~w~ for å bruke kamerablitsen.", + ['makeitrain'] = "Trykk ~y~G~w~ for å få det til å regne penger.", + ['pee'] = "Hold ~y~G~w~ for å tisse.", + ['spraychamp'] = "Hold ~y~G~w~ for å sprute champagne", + ['stun'] = "Trykk ~y~G~w~ for å 'bruke' elektrosjokkvåpenet.", + ['vape'] = "Trykk ~y~G~w~ for å vape.", + ['bound'] = "Du har bundet ", + ['to'] = "til", + ['currentlyboundemotes'] = " Dine bundne animasjoner:", + ['notvalidkey'] = "er ikke en gyldig tast.", + ['keybinds'] = "🔢 Hurtigtaster", + ['keybindsinfo'] = "Bruk", + ['searchemotes'] = "🔍 Søk for Animasjoner", + ['searchinputtitle'] = "Søk:", + ['searchmenudesc'] = "%s resultat(er) for '~r~%s~w~':", + ['searchnoresult'] = "Ingen resultater for søk '~r~%s~w~'.", + ['searchshifttofav'] = "Hold L-Shift og trykk Enter for å sette som favoritt.", + ['searchcantsetfav'] = "Du kan ikke sitte en Felles Animasjon som favoritt.", + ['invalidvariation'] = "Ugyldig tekstur variant. Gyldige varianter: %s", + ['firework'] = "Trykk ~y~G~w~ for å avfyre fyrverkeriet", + ['poop'] = "Hold ~y~G~w~ for å bæsje", + ['puke'] = "Trykk ~y~G~w~ for å spy",---- Translated via smodin.io + ['btn_select'] = "Velg", + ['btn_back'] = "Tilbake", + ['btn_switch'] = "Bevegelse", + ['btn_increment'] = "Increment" + }, + ['fa'] = { -- persian 🇮🇷 + ['emotes'] = 'Emotes 🎬', + ['danceemotes'] = "🕺 raghs Emotes", + ['animalemotes'] = "🐩 hevanat Emotes", + ['propemotes'] = "📦 tekye dadan Emotes", + ['favoriteemotes'] = "🌟 alaghemandiha", + ['favoriteinfo'] = "yek emote ra baray ezafe kardan be alaghe mandi ha entekhab konid.", + ['rfavorite'] = "bazneshani alaghe mandi ha", + ['prop2info'] = "❓ bad az tekye dadan be yek ja motavaghef mishavad", + ['set'] = "Set (", + ['setboundemote'] = ") che kelid baray dastressi sari entekhab shavad?", + ['newsetemote'] = "~w~ baray dastresi sari, press ~g~CapsLock~w~ baray ejra", + ['cancelemote'] = "laghv emote🚷", + ['cancelemoteinfo'] = "~r~X~w~ baray laghv emote ", + ['walkingstyles'] = "style rah raftan🚶🏻‍♂️", + ['resetdef'] = "bazneshani pishfarz", + ['normalreset'] = "mamoli (pishfarz)", + ['moods'] = "halat sorat 😒", + ['infoupdate'] = "pishnahad va etebar🙏🏻", + ['infoupdateav'] = "etelaate (berozresani mojod)", + ['infoupdateavtext'] = "update jadid vojod darad baray daryaft ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~", + ['suggestions'] = "pishnahad?", + ['suggestionsinfo'] = "~r~TayMcKenzieNZ~s~ on FiveM forums for any feature/emote suggestions! ✉️", + ['notvaliddance'] = "raghsi vojod nadarad.", + ['notvalidemote'] = "emote motabar nist.", + ['nocancel'] = "emote baray laghv vojod nadarad.", + ['maleonly'] = "in emote faghat baray mardan ast motasefam!", + ['emotemenucmd'] = "ba farman /emotemenu be menu emote ha miravid", + ['shareemotes'] = "👫 eshterak emote", + ['shareemotesinfo'] = "peyvastan afrad atraf be in emote", + ['sharedanceemotes'] = "🕺 eshtrak raghs", + ['notvalidsharedemote'] = "in emote baray eshtrak motabar nist.", + ['sentrequestto'] = "ersal darkhast ~y~", + ['nobodyclose'] = "hichkas nist ~r~bastan~w~ kafi nist.", + ['doyouwanna'] = "~y~Y~w~ baray ghabol, ~r~L~w~ baray rad kardan (~g~", + ['refuseemote'] = "Emote rad shod.", + ['makenearby'] = "sakht baray bazi ba atrafian", + ['useleafblower'] = "entekhab ~y~G~w~ baray entekhab barg rob.", + ['camera'] = "entekhab ~y~G~w~ baray entekhab cheragh.", + ['makeitrain'] = "entekhab ~y~G~w~ baray sakht chatr.", + ['pee'] = "negahdarid ~y~G~w~ baray shashidan.", + ['spraychamp'] = "negahdarid ~y~G~w~ baray rikhtan mashrob", + ['stun'] = "Press ~y~G~w~ baray 'use' tofang bihoshi.", + ['vape'] = "entekhab ~y~G~w~ to vape.", + ['bound'] = "Bound ", + ['to'] = "baray", + ['currentlyboundemotes'] = " emote mahdod ast:", + ['notvalidkey'] = "vojod nadarad.", + ['keybinds'] = "🔢 kilid sari", + ['keybindsinfo'] = "entekhab", + ['searchemotes'] = "🔍 jostjo Emotes", + ['searchinputtitle'] = "jostojo:", + ['searchmenudesc'] = "%s result(s) for '~r~%s~w~':", + ['searchnoresult'] = "No results for search '~r~%s~w~'.", + ['searchshifttofav'] = "Hold L-Shift and press enter to set as favorite.", + ['searchcantsetfav'] = "Shared emotes cannot be set as favorites.", + ['invalidvariation'] = "Invalid texture variation. Valid selections are: %s", + ['firework'] = "Press ~y~G~w~ to use the firework", + ['poop'] = "Press ~y~G~w~ to poop", + ['puke'] = "Press ~y~G~w~ to vomit", + ['btn_select'] = "Select", + ['btn_back'] = "Back", + ['btn_switch'] = "Movement", + ['btn_increment'] = "Increment" + }, + ['pl'] = { -- Polish 🇵🇱 + ['emotes'] = 'Animacje 🎬', + ['danceemotes'] = "🕺 Tańce", + ['animalemotes'] = "🐩 Animacje zwierząt", + ['propemotes'] = "📦 Animacje z propami", + ['favoriteemotes'] = "🌟 Ulubione", + ['favoriteinfo'] = "Wybierz animację i ustaw ją jako ulubioną.", + ['rfavorite'] = "Zresetuj ulubione animacje", + ['prop2info'] = "❓ Animacje z propami są zlokalizowane na samym końcu listy", + ['set'] = "Ustaw (", + ['setboundemote'] = ") jako Twoją przypisaną animację?", + ['newsetemote'] = "~w~ jest teraz Twoją przypisaną animacją, wciśnij ~g~CapsLock~w~ by jej użyć.", + ['cancelemote'] = "Anuluj animację 🚷", + ['cancelemoteinfo'] = "~r~X~w~ Anuluje aktualnie graną animację", + ['walkingstyles'] = "Style chodzenia 🚶🏻‍♂️", + ['resetdef'] = "Zresetuj do ustawień domyślnych", + ['normalreset'] = "Normal (Reset)", + ['moods'] = "Nastroje 😒", + ['infoupdate'] = "Creditsy & sugestie 🙏🏻", + ['infoupdateav'] = "Informacje (aktualizacja dostępna)", + ['infoupdateavtext'] = "Dostępna jest nowa aktualizacja, pobierz ją z: ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~", + ['suggestions'] = "Masz sugestie?", + ['suggestionsinfo'] = "Napisz do ~r~TayMcKenzieNZ~s~ na forum FiveMa odnośnie przyszłych ficzerów czy propozycji! ✉️", + ['notvaliddance'] = "nie jest poprawnym tańcem.", + ['notvalidemote'] = "nie jest poprawną animacją.", + ['nocancel'] = "Brak animacji do anulowania.", + ['maleonly'] = "Niestety ta animacja działa tylko dla męskich modeli postaci!", + ['emotemenucmd'] = "Użyj komendy /emotemenu by otworzyć menu animacji.", + ['shareemotes'] = "👫 Współdzielone animacje", + ['shareemotesinfo'] = "Zaproś pobliską osobę do wspólnej animacji", + ['sharedanceemotes'] = "🕺 Współdzielone tańce", + ['notvalidsharedemote'] = "nie jest poprawną współdzieloną animacją.", + ['sentrequestto'] = "Wysyłasz prośbę do ~y~", + ['nobodyclose'] = "Nie ma nikogo ~r~w pobliżu~w~.", + ['doyouwanna'] = "~y~Y~w~ by zaakceptować, ~r~L~w~ by odrzucić (~g~", + ['refuseemote'] = "Odrzucono Twoją prośbę.", + ['makenearby'] = "sprawia, że pobliski gracz gra animację", + ['useleafblower'] = "Naciśnij ~y~G~w~ by użyć dmuchawy do liści.", + ['camera'] = "Wciśnij ~y~G~w~ by użyć lampy błyskowej aparatu.", + ['makeitrain'] = "Wciśnij ~y~G~w~ by zrobić deszcz pieniędzy.", + ['pee'] = "Przytrzymaj ~y~G~w~ by oddać mocz.", + ['spraychamp'] = "Przytrzymaj ~y~G~w~ by opryskać szampanem", + ['stun'] = "Wciśnij ~y~G~w~ by 'użyć' tazera.", + ['vape'] = "Press ~y~G~w~ to vape.", + ['bound'] = "Przypisz ", + ['to'] = "do", + ['currentlyboundemotes'] = " Aktualnie przypisane animacje:", + ['notvalidkey'] = "nie jest poprawnym klawiszem.", + ['keybinds'] = "🔢 Przypisane klawisze", + ['keybindsinfo'] = "Użyj", + ['searchemotes'] = "🔍 Szukaj animacji", + ['searchinputtitle'] = "Szukaj:", + ['searchmenudesc'] = "%s wyników dla frazy '~r~%s~w~':", + ['searchnoresult'] = "Brak wyników dla frazy '~r~%s~w~'.", + ['searchshifttofav'] = "Przytrzymaj L-Shift i naciśnij Enter by dodać do ulubionych.", + ['searchcantsetfav'] = "Współdzielona animacja nie może być dodana do ulubionych.", + ['invalidvariation'] = "Niepoprawny wariant tekstury. Dostępne tekstury to: %s", + ['firework'] = "Naciśnij ~y~G~w~ aby odpalić fajerwerki", + ['poop'] = "Naciśnij ~y~G~w~ by zrobić kupę", + ['puke'] = "Naciśnij ~y~G~w~, aby zwymiotować",---- Translated via smodin.io + ['btn_select'] = "Wybierz", + ['btn_back'] = "Wstecz", + ['btn_switch'] = "Ruch", + ['btn_increment'] = "Increment" + }, + ['ro'] = { -- Romanian 🇷🇴 + ['emotes'] = 'Emote-uri 🎬', + ['danceemotes'] = "🕺 Dansuri", + ['animalemotes'] = "🐩 Emote-uri pentru animale", + ['propemotes'] = "📦 Prop Emote-uri", + ['favoriteemotes'] = "🌟 Favorite", + ['favoriteinfo'] = "Selecteaza un emote aici pentru a îl alege ca favorit.", + ['rfavorite'] = "Reseteaza emote-uri favorite", + ['prop2info'] = "❓ Prop Emote-urile pot fi gasite la final", + ['set'] = "Seteaza (", + ['setboundemote'] = ") sa fie emote-ul binduit?", + ['newsetemote'] = "~w~ este acum emote-ul tau binduit, apasa ~g~CapsLock~w~ pentru a folosi.", + ['cancelemote'] = "Anuleaza animatia 🚷", + ['cancelemoteinfo'] = "~r~X~w~ Anuleaza animatia curenta", + ['walkingstyles'] = "Stiluri de mers 🚶🏻‍♂️", + ['resetdef'] = "Reseteaza la default", + ['normalreset'] = "Normal (Reset)", + ['moods'] = "Expresii 😒", + ['infoupdate'] = "Credits & Sugestii 🙏🏻", + ['infoupdateav'] = "Informatii", + ['infoupdateavtext'] = "Credits: AvaN0x, TayMCKenzieNZ", + ['suggestions'] = "Sugestii?", + ['suggestionsinfo'] = "~r~TayMcKenzieNZ~s~ pe forumurile FiveM pentru orice sugestie de feature/emote nou! ✉️", + ['notvaliddance'] = "nu este un emote valid.", + ['notvalidemote'] = "nu este un emote valid.", + ['nocancel'] = "Niciun emote de anulat.", + ['maleonly'] = "Acest emote este doar pentru barbati, scuze!", + ['emotemenucmd'] = "Foloseste comanda /emotemenu pentru a deschide meniul de animatii.", + ['shareemotes'] = "👫 Shared Emotes", + ['shareemotesinfo'] = "Invita persoana de langa tine", + ['sharedanceemotes'] = "🕺 Shared Dances", + ['notvalidsharedemote'] = "nu este un emote shared valid.", + ['sentrequestto'] = "Am trimis propunerea catre ~y~", + ['nobodyclose'] = "Nu este nici o persoana ~r~langa tine~w~.", + ['doyouwanna'] = "~y~Y~w~ pentru a accepta, ~r~L~w~ pentru a refuza (~g~", + ['refuseemote'] = "Emote refuzat.", + ['makenearby'] = "face jucatorul de langa sa aiba animatia", + ['useleafblower'] = "Apasă ~y~G~w~ pentru a folosi suflătorul de frunze.", + ['camera'] = "Apasa ~y~G~w~ pentru a folosi blitz-ul.", + ['makeitrain'] = "Apasa ~y~G~w~ pentru a da bani fara numar.", + ['pee'] = "tine apasat ~y~G~w~ pentru a urina.", + ['spraychamp'] = "tine apasat ~y~G~w~ pentru a stropi cu sampanie", + ['stun'] = "Apasa ~y~G~w~ pentru a 'folosi' electrosocul.", + ['vape'] = "Press ~y~G~w~ to vape.", + ['bound'] = "Binduite ", + ['to'] = "la", + ['currentlyboundemotes'] = " Emote-uri prezent binduite:", + ['notvalidkey'] = "nu este o tasta valida.", + ['keybinds'] = "🔢 Bind-uri", + ['keybindsinfo'] = "Foloseste", + ['searchemotes'] = "🔍 Cautare Emote-uri", + ['searchinputtitle'] = "Cautare:", + ['searchmenudesc'] = "%s rezultat(e) pentru '~r~%s~w~':", + ['searchnoresult'] = "Fara rezultate pentru cautarea '~r~%s~w~'.", + ['searchshifttofav'] = "Tine apasat L-Shift si apasa enter pentru a seta ca favorit.", + ['searchcantsetfav'] = "Emote-urile Shared nu pot fi setate ca favorite.", + ['invalidvariation'] = "Variație nevalidă a texturii. Selectările valide sunt: ​​%s", + ['firework'] = "Apasa ~y~G~w~ pentru a folosi artificiile", + ['poop'] = "Apăsați pe ~y~G~w~ pentru a face caca", --Trannslated using smodin.io + ['puke'] = "Apăsați pe ~y~G~w~ pentru a vomita",---- Translated via smodin.io + ['btn_select'] = "Selectare", + ['btn_back'] = "Înapoi", + ['btn_switch'] = "Mișcare", + ['btn_increment'] = "Increment" + }, + ['ru'] = { -- Russian 🇷🇺 + ['emotes'] = 'Эмоции 🎬', + ['danceemotes'] = "🕺 Танцевальные эмоции", + ['animalemotes'] = "🐩 Эмоции животных", + ['propemotes'] = "📦 Эмоции с пропом", + ['favoriteemotes'] = "🌟 Избранные", + ['favoriteinfo'] = "Выберите здесь эмоцию, чтобы сделать ее избранной.", + ['rfavorite'] = "Сбросить избранное", + ['prop2info'] = "❓ Эмоции с пропом могут быть расположены в конце", + ['set'] = "Установить (", + ['setboundemote'] = ") как привязанную эмоцию?", + ['newsetemote'] = "~w~ теперь привязанная эмоция, нажмите ~g~CapsLock~w~ для использования.", + ['cancelemote'] = "Остановить эмоцию 🚷", + ['cancelemoteinfo'] = "~r~X~w~ Отменяет воспроизводимую эмоцию", + ['walkingstyles'] = "Стили ходьбы 🚶🏻‍♂️", + ['resetdef'] = "Сбросить на обычную", + ['normalreset'] = "Обычная (Сбросить)", + ['moods'] = "Настроение 😒", + ['infoupdate'] = "Признательность и предложения 🙏🏻", + ['infoupdateav'] = "Информация (Доступно обновление)", + ['infoupdateavtext'] = "Доступно обновление, загрузите последнюю версию с ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~", + ['suggestions'] = "Предложения?", + ['suggestionsinfo'] = "~r~TayMcKenzieNZ~s~ на форумах FiveM для любых предложений по функциям/эмоциям! ✉️", + ['notvaliddance'] = "не существующий танец.", + ['notvalidemote'] = "не существующая эмоция.", + ['nocancel'] = "Нет эмоций для отмены.", + ['maleonly'] = "Эта эмоция только для мужчин, извините!", + ['emotemenucmd'] = "Используйте команду /emotemenu, чтобы открыть меню анимации.", + ['shareemotes'] = "👫 Совместные эмоции", + ['shareemotesinfo'] = "Пригласите человека рядом для воспроизведения эмоции", + ['sharedanceemotes'] = "🕺 Совместные танцы", + ['notvalidsharedemote'] = "не существующая совместная эмоция.", + ['sentrequestto'] = "Отправлен запрос ~y~", + ['nobodyclose'] = "Никого ~r~close~w~ нет поблизости.", + ['doyouwanna'] = "~y~Y~w~ для принятия, ~r~L~w~ для отмены (~g~", + ['refuseemote'] = "Эмоция откленена.", + ['makenearby'] = "заставляет соседнего игрока играть", + ['useleafblower'] = "Нажмите ~y~G~w~ для использование воздуходувки.", + ['camera'] = "Нажмите ~y~G~w~ для вспышки.", + ['makeitrain'] = "Нажмите ~y~G~w~ для дождя.", + ['pee'] = "Удерживайте ~y~G~w~ чтоб писать.", + ['spraychamp'] = "Удерживайте ~y~G~w~ для спрея шампанского", + ['stun'] = "Нажмите ~y~G~w~ ,чтобы 'использовать' шокер.", + ['vape'] = "Нажмите ~y~G~w~ чтобы вейпить.", + ['bound'] = "Связать ", + ['to'] = "для", + ['currentlyboundemotes'] = " Текущие привязанные эмоции:", + ['notvalidkey'] = "недопустимая клавиша.", + ['keybinds'] = "🔢 Бинды клавиш", + ['keybindsinfo'] = "Использовать", + ['searchemotes'] = "🔍 Поиск эмоции", + ['searchinputtitle'] = "Поиск:", + ['searchmenudesc'] = "%s результат(ы) для '~r~%s~w~':", + ['searchnoresult'] = "Нет результатов по поиску '~r~%s~w~'.", + ['searchshifttofav'] = "Удерживайте L-Shift и нажмите Enter, чтобы установить в избранное.", + ['searchcantsetfav'] = "Парные эмоции не могут быть добавлены в избранное.", + ['invalidvariation'] = "Недопустимая вариация текстуры. Допустимые варианты: %s", + ['firework'] = "Нажмите ~y~G~w~, чтобы запустить фейерверк.", -- GOOGLE TRANSLATED + ['poop'] = "Нажмите ~y~G~w~, чтобы какать", + ['puke'] = "Нажмите ~y~G~w~ для рвоты", + ['btn_select'] = "Выбрать", + ['btn_back'] = "Назад", + ['btn_switch'] = "Движение", + ['btn_increment'] = "Increment" + }, + ['lk'] = { -- Sinhala 🇱🇰 + ['emotes'] = 'Emotes 🎬', + ['danceemotes'] = "🕺 Natana Emotes", + ['animalemotes'] = "🐩 Sattunge Emotes", + ['propemotes'] = "📦 Prop Emotes", + ['favoriteemotes'] = "🌟 Favorite Emotes", + ['favoriteinfo'] = "Methanin oyage favorite emote eka thoraganna.", + ['rfavorite'] = "Favorite emote eka reset karanna", + ['prop2info'] = "❓ Prop emotes tiyenne anthimata", + ['set'] = "Set karanna (", + ['setboundemote'] = ") favorite emote eka widiyata?", + ['newsetemote'] = "~w~ thamai oyage favorite emote eka, ~g~CapsLock~w~ eken use karanna.", + ['cancelemote'] = "Emote Eka Nawattanna 🚷", + ['cancelemoteinfo'] = "~r~X~w~ Wetila thiyana emote eka nawattanawa", + ['walkingstyles'] = "Awidina Styles 🚶🏻‍♂️", + ['resetdef'] = "Yathã thatweta path karanna", + ['normalreset'] = "Normal (Reset karanna)", + ['moods'] = "Mood Eka 😒", + ['infoupdate'] = "Credits & Suggestions 🙏🏻", + ['infoupdateav'] = "Information (Update ekak tiyanawa)", + ['infoupdateavtext'] = "Update ekak tiyanawa, alutma update eka methanin ganna ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~", + ['suggestions'] = "Suggestions?", + ['suggestionsinfo'] = "~r~TayMcKenzieNZ~s~ on FiveM forums for any feature/emote suggestions! ✉️", + ['notvaliddance'] = "kiyanne weradi natana emote ekak.", + ['notvalidemote'] = "kiyanne weradi emote ekak.", + ['nocancel'] = "Nawattanna emote ekak na.", + ['maleonly'] = "Me emote eka piriminta witharai, sorry!", + ['emotemenucmd'] = "/emotemenu kiyana command eken animations menu eka ganna.", + ['shareemotes'] = "👫 Shared Emotes", + ['shareemotesinfo'] = "Laga inna kenata emote eka danna katha krnna", + ['sharedanceemotes'] = "🕺 Shared Natana Emotes", + ['notvalidsharedemote'] = "kiyanne weradi shared emote ekak.", + ['sentrequestto'] = "Request ekak yewwa ~y~", + ['nobodyclose'] = "Kawruwat ~r~Laga~w~ na.", + ['doyouwanna'] = "~y~Y~w~ accept karanna, ~r~L~w~ decline karanna (~g~", + ['refuseemote'] = "Emote eka decline kara.", + ['makenearby'] = "laga inna playerta play karawanna", + ['useleafblower'] = "Meka weda karawanna ~y~G~w~ press karanna.", + ['camera'] = "Camera flash ekata ~y~G~w~ press karanna.", + ['makeitrain'] = "Salli wattanna ~y~G~w~ press karanna.", + ['pee'] = "Chuu danna ~y~G~w~ obagena inna.", + ['spraychamp'] = "Spray karanna ~y~G~w~ press karanna", + ['stun'] = "Stun karanna ~y~G~w~ press karanna.", + ['vape'] = "Vape ekata ~y~G~w~ press karanna.", + ['bound'] = "Bound karanna ", + ['to'] = "ta", + ['currentlyboundemotes'] = " Denata bound karapu emotes:", + ['notvalidkey'] = "kiyanne weradi key ekak.", + ['keybinds'] = "🔢 Keybinds", + ['keybindsinfo'] = "Use karanna", + ['searchemotes'] = "🔍 Emotes Hoyaganna", + ['searchinputtitle'] = "Search karanna:", + ['searchmenudesc'] = "%s result(s) for '~r~%s~w~':", + ['searchnoresult'] = "Mukut hambune na '~r~%s~w~'.", + ['searchshifttofav'] = "L-Shift obagena Enter press karala, favorite karaganna.", + ['searchcantsetfav'] = "Shared emotes favorite karanna ba.", + ['invalidvariation'] = "Weradi texture variation ekak. Hari ewa thamai: %s", + ['firework'] = "Firework ekata ~y~G~w~ press karanna", + ['poop'] = "Kakki danna ~y~G~w~ press karanna", + ['puke'] = "Wamane danna ~y~G~w~ press karanna", + ['btn_select'] = "Select Karanna", + ['btn_back'] = "Aapassata", + ['btn_switch'] = "Movement eka", + ['btn_increment'] = "Wedi karanna" + }, + ['es'] = { -- Spanish 🇪🇸 + ['emotes'] = "Animaciones 🎬", + ['danceemotes'] = "🕺 Bailes", + ['animalemotes'] = "🐩 Emotes de animales", + ['propemotes'] = "📦 Objetos", + ['favoriteemotes'] = "🌟 Favoritos", + ['favoriteinfo'] = "Seleccione una animación aquí para configurarlo como su favorito.", + ['rfavorite'] = "Restablecer favoritos", + ['prop2info'] = "❓ Los Prop Emotes se pueden encontrar al final", + ['set'] = "Elegir (", + ['setboundemote'] = ") como tu animación favorita?", + ['newsetemote'] = "~w~ es ahora tu animación favorita, presiona ~g~[CapsLock]~w~ para usarla.", + ['cancelemote'] = "Cancelar animación 🚷", + ['cancelemoteinfo'] = "~r~X~w~ Cancela la animación actual.", + ['walkingstyles'] = "Formas de caminar 🚶🏻‍♂️", + ['resetdef'] = "Reiniciar a por defecto", + ['normalreset'] = "Normal (Reiniciar)", + ['moods'] = "Estados de animo 😒", + ['infoupdate'] = "Créditos Y Sugerencias 🙏🏻", + ['infoupdateav'] = "Información (Actualización disponible)", + ['infoupdateavtext'] = "Hay una actualización disponible, para conseguir la ultima version ingrese a ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~", + ['suggestions'] = "Sugerencias?", + ['suggestionsinfo'] = "~r~TayMcKenzieNZ~s~ en el foro de FiveM para cualquier sugerencia! ✉️", + ['notvaliddance'] = "no es un baile valido.", + ['notvalidemote'] = "no es una animación valida.", + ['nocancel'] = "No hay animación para cancelar.", + ['maleonly'] = "Esta animación es solo de hombre!", + ['emotemenucmd'] = "Escribe /emotemenu para abrir el menu.", + ['shareemotes'] = "👫 Animaciones compartidas", + ['shareemotesinfo'] = "Invita a una persona cercana para la animación.", + ['sharedanceemotes'] = "🕺 Bailes compartidos", + ['notvalidsharedemote'] = "no es una animación compartida valida.", + ['sentrequestto'] = "Solicitud enviada ~y~", + ['nobodyclose'] = "Nadie ~r~cerca~w~.", + ['doyouwanna'] = "~y~Y~w~ para aceptar, ~r~L~w~ para rechazar (~g~", + ['refuseemote'] = "Animacion rechazada.", + ['makenearby'] = "hacer que el jugador cercano juegue", + ['useleafblower'] = "Presione ~y~G~w~ para utilizar el soplador de hojas.", + ['camera'] = "Presione ~y~G~w~ para usar el flash de la cámara.", + ['makeitrain'] = "Presione ~y~G~w~ para hacer llover.", + ['pee'] = "Mantén la ~y~G~w~ para mear.", + ['spraychamp'] = "Mantén la ~y~G~w~ para rociar champán.", + ['vape'] = "Presione ~y~G~w~ para vapear.", + ['bound'] = "Unida ", + ['to'] = "a", + ['currentlyboundemotes'] = " Emotes vinculados actualmente:", + ['notvalidkey'] = "no es una clave válida.", + ['keybinds'] = "🔢 Keybinds", + ['keybindsinfo'] = "Utilizar", + ['searchemotes'] = "🔍 Busca animaciones", + ['searchinputtitle'] = "Buscar:", + ['searchmenudesc'] = "%s resultado(s) para '~r~%s~w~':", + ['searchnoresult'] = "No se encontró nada con '~r~%s~w~'.", + ['searchshifttofav'] = "Mantén L-Shift y presiona Enter para guardar como favorito.", + ['searchcantsetfav'] = "Las animaciones compartidas no pueden ser guardadas como favoritas.", + ['invalidvariation'] = "Variación de textura no válida. Las opciones válidas son: %s", + ['firework'] = "Presione ~y~G~w~ para usar los fuegos artificiales", + ['poop'] = "Presione ~y~G~w~ para hacer caca", + ['puke'] = "Presiona ~y~G~w~ para vomitar", ---- Translated via smodin.io + ['btn_select'] = "Seleccionar", + ['btn_back'] = "Atrás ", + ['btn_switch'] = "Movimiento ", + ['btn_increment'] = "Increment" + }, + ['sv'] = { -- Swedish 🇸🇪 + ['emotes'] = 'Emotes 🎬', + ['danceemotes'] = "🕺 Dans Emotes", + ['animalemotes'] = "🐩 Djur Emotes", + ['propemotes'] = "📦 Objekt Emotes", + ['favoriteemotes'] = "🌟 Favorit", + ['favoriteinfo'] = "Välj en emote för att ställa in den som din favorit.", + ['rfavorite'] = "Återställ favorit.", + ['prop2info'] = "❓ Objekt Emotes finns längst ner i listan.", + ['set'] = "Sätt (", + ['setboundemote'] = ") till din favorit emote?", + ['newsetemote'] = "~w~ är nu din favorit emote, tryck ~g~CapsLock~w~ för att använda den.", + ['cancelemote'] = "Avbryt Emote 🚷", + ['cancelemoteinfo'] = "~r~X~w~ avbryter nuvarande spelande emote.", + ['walkingstyles'] = "Gångstil 🚶🏻‍♂️", + ['resetdef'] = "Återställ till standard", + ['normalreset'] = "Normal (Återställ)", + ['moods'] = "Humör 😒", + ['infoupdate'] = "Krediter Och Förslag 🙏🏻", + ['infoupdateav'] = "Information (Uppdatering tillgänglig)", + ['infoupdateavtext'] = "En uppdatering är tillgänglig ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~", + ['suggestions'] = "Förslag?", + ['suggestionsinfo'] = "~r~TayMcKenzieNZ~s~ på FiveM-forum för förslag på funktioner/emotes! ✉️", + ['notvaliddance'] = "är inte en giltig dans", + ['notvalidemote'] = "är inte en giltig emote", + ['nocancel'] = "Ingen emote att avbryta", + ['maleonly'] = "Den här emoten är endast för män.", + ['emotemenucmd'] = "Använd /emotemenu för att öppna animationsmenyn", + ['shareemotes'] = "👫 Delade Emotes", + ['shareemotesinfo'] = "Bjud in en närliggande person till en emote", + ['sharedanceemotes'] = "🕺 Delade Danser", + ['notvalidsharedemote'] = "är inte en giltig delad emote.", + ['sentrequestto'] = "Skickad förfrågan till ~g~", + ['nobodyclose'] = "Ingen ~r~närliggande~w~ person hittades.", + ['doyouwanna'] = "~y~Y~w~ för att acceptera, ~r~L~w~ för att avböja (~g~", + ['refuseemote'] = "Emote avvisats.", + ['makenearby'] = "får spelaren i närheten att spela", + ['useleafblower'] = "Tryck ~y~G~w~ för att blåsa.", + ['camera'] = "Tryck ~y~G~w~ för att använda kamera blixt.", + ['makeitrain'] = "Tryck ~y~G~w~ för att låta det regna pengar.", + ['pee'] = "Håll ~y~G~w~ att kissa.", + ['spraychamp'] = "Håll ~y~G~w~ för att spraya champagne.", + ['stun'] = "Tryck ~y~G~w~ för att \"änvända\" elpistol", + ['vape'] = "Tryck ~y~G~w~ för att puffa på din vape.", + ['bound'] = "bunden", + ['to'] = "till", + ['currentlyboundemotes'] = " För närvarande bundna emotes:", + ['notvalidkey'] = "är inte en giltig tangent.", + ['keybinds'] = "🔢 Keybinds", + ['keybindsinfo'] = "Använd", + ['searchemotes'] = "🔍 Sök Emotes", + ['searchinputtitle'] = "Sök:", + ['searchmenudesc'] = "%s resultat på '~r~%s~w~':", + ['searchnoresult'] = "Inga resultat hittades på '~r~%s~w~'.", + ['searchshifttofav'] = "Håll ned L-Shift och tryck på enter för att ställa in som favorit.", + ['searchcantsetfav'] = "Delade Emotes kan inte ställas in som favoriter.", + ['invalidvariation'] = "Ogiltig texturvariation. Giltiga val är: %s", + ['firework'] = "Tryck ~y~G~w~ för att avfyra dina fyrverkerier", + ['poop'] = "Tryck ~y~G~w~ för att bajsa", -- Translated using smodin.io + ['puke'] = "Tryck ~y~G~w~ För att Spy", + ['btn_select'] = "Välj", + ['btn_back'] = "Tillbaka", + ['btn_switch'] = "Rörelse", + ['btn_increment'] = "Increment" + }, + ['tr'] = { -- Turkish 🇹🇷 + ['emotes'] = 'İfadeler 🎬', + ['danceemotes'] = "🕺 Dans İfadeleri", + ['animalemotes'] = "🐩 Hayvan'lı İfadeleri", + ['propemotes'] = "📦 Eşyalı İfadeler", + ['favoriteemotes'] = "🌟 Favoriler", + ['favoriteinfo'] = "Favoriniz olarak ayarlamak için buradan bir ifade seçin.", + ['rfavorite'] = "Favoriyi sıfırla", + ['prop2info'] = "❓ Favoriyi sıfırla", + ['set'] = "Favori ifaden (", + ['setboundemote'] = ") olarak ayarlandı!", + ['newsetemote'] = "~w~ artık bağlı ifadenizdir, kullanmak için ~g~CapsLock~w~ tuşlarına basın.", + ['cancelemote'] = "İfadeyi İptal Et 🚷", + ['cancelemoteinfo'] = "~r~X~w~ Oynamakta olan ifadeyi iptal eder", + ['walkingstyles'] = "Yürüyüş Stilleri 🚶🏻‍♂️", + ['resetdef'] = "Varsayılana sıfırla", + ['normalreset'] = "Normal (Reset)", + ['moods'] = "Ruh Halleri 😒", + ['infoupdate'] = "Krediler & Öneriler 🙏🏻", + ['infoupdateav'] = "Bilgi (Güncelleme mevcut)", + ['infoupdateavtext'] = "Bir güncelleme mevcuttur, en son sürümü şu adresten edinin ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~", + ['suggestions'] = "Öneriler?", + ['suggestionsinfo'] = "~r~TayMcKenzieNZ~s~ on FiveM forums for any feature/emote suggestions! ✉️", + ['notvaliddance'] = "geçerli bir dans komutu değildir.", + ['notvalidemote'] = "geçerli bir ifade komutu değildir.", + ['nocancel'] = "İptal edilecek ifade yok.", + ['maleonly'] = "Bu ifade sadece erkeklere özeldir, üzgünüm!", + ['emotemenucmd'] = "Animasyonlar menüsünü açmak için /emotemenu komutunu kullanın.", + ['shareemotes'] = "👫 Paylaşılan İfadeler", + ['shareemotesinfo'] = "Yakınınızdaki bir kişiyi ifade vermeye davet edin", + ['sharedanceemotes'] = "🕺 Paylaşılan Danslar", + ['notvalidsharedemote'] = "geçerli bir ifade değil.", + ['sentrequestto'] = "Talep gönderildi ~y~", + ['nobodyclose'] = "Kimse yeterince ~r~yakın~w~ değil.", + ['doyouwanna'] = "~y~Y~w~ to accept, ~r~L~w~ to refuse (~g~", + ['refuseemote'] = "İfade reddedildi.", + ['makenearby'] = "yakındaki oyuncunun oynamasını sağlar", + ['useleafblower'] = "Yaprak üfleyiciyi kullanmak için ~y~G~w~ düğmesine basın.", + ['camera'] = "Kamera flaşını kullanmak için ~y~G~w~ düğmesine basın.", + ['makeitrain'] = "Şemsiyeyi açmak için ~y~G~w~ tuşlarına basın.", + ['pee'] = "İşemek için ~y~G~w~ tut.", + ['spraychamp'] = "Şampanya püskürtmek için ~y~G~w~ tuşunu basılı tutun", + ['stun'] = "Şok tabancasını 'kullanmak' için ~y~G~w~ tuşlarına basın.", + ['vape'] = "Kullanmak için ~y~G~w~ tuşlarına basın.", + ['bound'] = "Bound ", + ['to'] = "to", + ['currentlyboundemotes'] = " Şu anda bağlı ifade:", + ['notvalidkey'] = "geçerli bir tuş değildir.", + ['keybinds'] = "🔢 Tuş Bağlamaları", + ['keybindsinfo'] = "Kullan", + ['searchemotes'] = "🔍 İfadeleri Arayın", + ['searchinputtitle'] = "Arama:", + ['searchmenudesc'] = "%s için sonuç(lar) '~r~%s~w~':", + ['searchnoresult'] = "'~r~%s~w~' Arama sonucu bulunamadı.", + ['searchshifttofav'] = "Favori olarak ayarlamak için L-Shift tuşunu basılı tutun ve enter tuşuna basın.", + ['searchcantsetfav'] = "Paylaşılan ifadeler favori olarak ayarlanamıyor.", + ['invalidvariation'] = "Geçersiz doku varyasyonu. Geçerli seçimler şunlardır: %s", + ['firework'] = "Havai fişeği kullanmak için ~y~G~w~ tuşlarına basın", + ['poop'] = "Kaka yapmak için ~y~G~w~ tuşlarına basın", + ['puke'] = "Kusmak için ~y~G~w~ tuşlarına basın", + ['btn_select'] = "Seç", + ['btn_back'] = "Geri", + ['btn_switch'] = "Hareket Et", + ['btn_increment'] = "Increment" + }, + ['vi'] = { -- Tiếng việt + ['emotes'] = 'Hành động 🎬', + ['danceemotes'] = "🕺 Nhảy nhót", + ['animalemotes'] = "🐩 Thú cưng", + ['propemotes'] = "📦 Đồ vật", + ['favoriteemotes'] = "🌟 Ưa thích", + ['favoriteinfo'] = "Hãy chọn 1 hành động và đưa vào mục ưa thích.", + ['rfavorite'] = "Xóa toàn bộ Ưa thích", + ['prop2info'] = "❓ Hành động liên quan đến đồ vật sẽ ở cuối.", + ['set'] = "Đặt (", + ['setboundemote'] = ") Làm hành động ưa thích?", + ['newsetemote'] = "~w~ đã được đặt, Bấm ~g~CapsLock~w~ để sử dụng.", + ['cancelemote'] = "Hủy hành động 🚷", + ['cancelemoteinfo'] = "~r~X~w~ để hủy hành động", + ['walkingstyles'] = "Dáng đi 🚶🏻‍♂️", + ['resetdef'] = "Đặt về mặc định", + ['normalreset'] = "Bình thường (Mặc định)", + ['moods'] = "Biểu cảm 😒", + ['infoupdate'] = "Thông tin 🙏🏻", + ['infoupdateav'] = "Thông tin (cập nhật)", + ['infoupdateavtext'] = "Đang cập nhật", + ['suggestions'] = "Đề xuất?", + ['suggestionsinfo'] = "~r~RDCodename~s~ Trong diễn đàn tìm thấy bất kỳ đề xuất tài nguyên/emote nào! ✉️", + ['notvaliddance'] = "Không khả dụng.", + ['notvalidemote'] = "Không khả dụng.", + ['nocancel'] = "Không có hành động để hủy.", + ['maleonly'] = "Hành động chỉ dành cho nhân vật Nam.", + ['emotemenucmd'] = "Sử dụng lệnh /emotemenu để mở danh mục hành động.", + ['shareemotes'] = "👫 Hành động chung", + ['shareemotesinfo'] = "Mời người ở gần tham gia hành động.", + ['sharedanceemotes'] = "🕺 Nhảy nhót chung", + ['notvalidsharedemote'] = "không khả dụng.", + ['sentrequestto'] = "Đã gửi yêu cầu tới ~y~", + ['nobodyclose'] = "Không có ai ~r~ở gần~w~.", + ['doyouwanna'] = "~y~Y~w~ Đồng ý, ~r~L~w~ Từ chối (~g~", + ['refuseemote'] = "Từ chối hành dộng", + ['makenearby'] = "mời người ở gần cùng hành động", + ['useleafblower'] = "Nhấn ~y~G~w~ để sử dụng máy thổi lá", + ['camera'] = "Nhấn ~y~G~w~ để sử dụng đèn flash", + ['makeitrain'] = "Nhấn ~y~G~w~ để làm cho trời mưa.", + ['pee'] = "Tiếp tục nhấn ~y~G~w~ đi tiểu.", + ['spraychamp'] = "Tiếp tục nhấn ~y~G~w~ để súc rượu sâm banh", + ['stun'] = "Nhấn ~y~G~w~ Để 'sử dụng' súng gây choáng.", + ['vape'] = "Nhấn ~y~G~w~ để sử dụng thuốc lá điện tử.", + ['bound'] = "Đặt ", + ['to'] = "thành", + ['currentlyboundemotes'] = "Hành động đã gắn: ", + ['notvalidkey'] = "không khả dụng.", + ['keybinds'] = "🔢 Phím tắt", + ['keybindsinfo'] = "Sử dụng", + ['searchemotes'] = "🔍 Tìm kiếm hành động", + ['searchinputtitle'] = "Tìm kiếm:", + ['searchmenudesc'] = "%s Kết quả cho '~r~%s~w~':", + ['searchnoresult'] = "Không có kết quả '~r~%s~w~'.", + ['searchshifttofav'] = "Giữ l-shift và nhấn enter để đặt làm hành động yêu thích.", + ['searchcantsetfav'] = "ác biểu tượng được chia sẻ không thể được đặt làm mục yêu thích.", + ['invalidvariation'] = "Biến thể kết cấu không hợp lệ.Các lựa chọn hợp lệ là: %s", + ['firework'] = "Nhấn ~y~G~w~ Để sử dụng pháo hoa", + ['poop'] = "Nhấn ~y~G~w~ để ị", -- Translated using smodin.io + ['puke'] = "Nhấn ~y~G~w~ để nôn", + ['btn_select'] = "Chọn", + ['btn_back'] = "Trở lại", + ['btn_switch'] = "Chuyển động", + ['btn_increment'] = "Tăng" + }, +} diff --git a/resources/[standalone]/dpemotes/client/AnimationList.lua b/resources/[standalone]/dpemotes/client/AnimationList.lua new file mode 100644 index 0000000..b5ec0c5 --- /dev/null +++ b/resources/[standalone]/dpemotes/client/AnimationList.lua @@ -0,0 +1,19088 @@ +-- ALL custon animations added to this repository were added with express permission from the creators and does not contain any paid content -- +-- If an emote does not work, you may be on an older gamebuild. -- +-- To get a higher gamebuild, see ReadMe on github repository -- + + +RP = {} + +-- EXPRESSIONS -- + +RP.Expressions = { + ["Aiming"] = { + "mood_aiming_1" + }, + ["Angry"] = { + "mood_angry_1" + }, + ["Burning"] = { + "burning_1" + }, + ["Crying"] = { + "console_wasnt_fun_end_loop_floyd_facial" + }, + ["Dead"] = { + "dead_1" + }, + ["Drunk"] = { + "mood_drunk_1" + }, + ["Dumb"] = { + "pose_injured_1" + }, + ["Electrocuted"] = { + "electrocuted_1" + }, + ["Excited"] = { + "mood_excited_1" + }, + ["Frustrated"] = { + "mood_frustrated_1" + }, + ["Grumpy"] = { + "effort_1" + }, + ["Grumpy2"] = { + "mood_drivefast_1", + "Grumpy 2" + }, + ["Grumpy3"] = { + "pose_angry_1", + "Grumpy 3" + }, + ["Happy"] = { + "mood_happy_1" + }, + ["Injured"] = { + "mood_injured_1" + }, + ["Joyful"] = { + "mood_dancing_low_1" + }, + ["Mouthbreather"] = { + "smoking_hold_1" + }, + ["Neverblink"] = { + "pose_normal_1", + "Never Blink" + }, + ["Oneeye"] = { + "pose_aiming_1", + "One Eye" + }, + ["Shocked"] = { + "shocked_1" + }, + ["Shocked2"] = { + "shocked_2", + "Shocked 2" + }, + ["Sleeping"] = { + "mood_sleeping_1" + }, + ["Sleeping2"] = { + "dead_1", + "Sleeping 2" + }, + ["Sleeping3"] = { + "dead_2", + "Sleeping 3" + }, + ["Smug"] = { + "mood_smug_1" + }, + ["Speculative"] = { + "mood_aiming_1" + }, + ["Stressed"] = { + "mood_stressed_1" + }, + ["Sulking"] = { + "mood_sulk_1" + }, + ["Weird"] = { + "effort_2" + }, + ["Weird2"] = { + "effort_3", + "Weird 2" + }, +} + + +--- WALKSTYLES --- + +RP.Walks = { + -- The key shouldn't have any other uppercase letter than the first one! + -- The first letter HAS to be uppercase! + -- First element of array is the walk animation + -- Second element is the label, this is optional + ["Alien"] = { + "move_m@alien" + }, + ["Armored"] = { + "anim_group_move_ballistic" + }, + ["Arrogant"] = { + "move_f@arrogant@a" + }, + ["Butch"] = { + "move_m@hurry_butch@a" + }, + ["Butch2"] = { + "move_m@hurry_butch@b", + "Butch 2" + }, + ["Butch3"] = { + "move_m@hurry_butch@c", + "Butch 3" + }, + ["Buzzed"] = { + "move_m@buzzed" + }, + ["Brave"] = { + "move_m@brave" + }, + ["Brave2"] = { + "move_m@brave@a", + "Brave 2" + }, + ["Casey"] = { + "move_casey" + }, + ["Casual"] = { + "move_m@casual@a" + }, + ["Casual2"] = { + "move_m@casual@b", + "Casual 2" + }, + ["Casual3"] = { + "move_m@casual@c", + "Casual 3" + }, + ["Casual4"] = { + "move_m@casual@d", + "Casual 4" + }, + ["Casual5"] = { + "move_m@casual@e", + "Casual 5" + }, + ["Casual6"] = { + "move_m@casual@f", + "Casual 6" + }, + ["Chichi"] = { + "move_f@chichi" + }, + ["Confident"] = { + "move_m@confident" + }, + ["Cop"] = { + "move_m@business@a" + }, + ["Cop2"] = { + "move_m@business@b", + "Cop 2" + }, + ["Cop3"] = { + "move_m@business@c", + "Cop 3" + }, + ["Coward"] = { + "move_m@coward" + }, + ["Chubbymale"] = { + "move_chubby", + "Chubby Male" + }, + ["Chubbyfemale"] = { + "move_f@chubby@a", + "Chubby Female" + }, + ["Dave"] = { + "move_characters@dave_n" + }, + ["Defaultfemale"] = { + "move_f@multiplayer", + "Default Female" + }, + ["Defaultmale"] = { + "move_m@multiplayer", + "Default Male" + }, + ["Depressed"] = { + "move_m@depressed@a" + }, + ["Depressed2"] = { + "move_m@depressed@b", + "Depressed 2" + }, + ["Depressed3"] = { + "move_f@depressed@a", + "Depressed 3" + }, + ["Depressed4"] = { + "move_f@depressed@c", + "Depressed 4" + }, + ["Dreyfuss"] = { + "move_dreyfuss" + }, + ["Drunk"] = { + "move_m@drunk@a" + }, + ["Drunk2"] = { + "move_m@buzzed", + "Drunk 2 - Buzzed" + }, + ["Drunk3"] = { + "move_m@drunk@moderatedrunk", + "Drunk 3 - Moderate" + }, + ["Drunk4"] = { + "move_m@drunk@moderatedrunk_head_up", + "Drunk 4 - Moderate 2" + }, + ["Drunk5"] = { + "move_m@drunk@slightlydrunk", + "Drunk 5 - Slightly Drunk" + }, + ["Drunk6"] = { + "move_m@drunk@verydrunk", + "Drunk 6 - Very Drunk" + }, + ["Fat"] = { + "move_m@fat@a", + "Fat Male" + }, + ["Fat2"] = { + "move_f@fat@a", + "Fat Female" + }, + ["Fat3"] = { + "move_m@fat@bulky", + "Fat & Bulky" + }, + ["Fat4"] = { + "move_f@fat@a_no_add", + "Fat Female 2" + }, + ["Femme"] = { + "move_f@femme@" + }, + ["Femme2"] = { + "move_m@femme@", + "Femme 2" + }, + ["Fire"] = { + "move_characters@franklin@fire" + }, + ["Fire2"] = { + "move_characters@michael@fire", + "Fire 2" + }, + ["Fire3"] = { + "move_m@fire", + "Fire 3" + }, + ["Flee"] = { + "move_f@flee@a" + }, + ["Flee2"] = { + "move_f@flee@c", + "Flee 2" + }, + ["Flee3"] = { + "move_m@flee@a", + "Flee 3" + }, + ["Flee4"] = { + "move_m@flee@b", + "Flee 4" + }, + ["Flee5"] = { + "move_m@flee@c", + "Flee 5" + }, + ["Floyd"] = { + "move_characters@floyd" + }, + ["Franklin"] = { + "move_p_m_one" + }, + ["Gangster"] = { + "move_m@gangster@generic" + }, + ["Gangsterb"] = { + "move_gangster", + "Gangster 2" + }, + ["Gangsterc"] = { + "move_m@gangster@ng", + "Gangster 3" + }, + ["Gangsterd"] = { + "move_m@gangster@var_a", + "Gangster 4" + }, + ["Gangstere"] = { + "move_m@gangster@var_b", + "Gangster 5" + }, + ["Gangsterf"] = { + "move_m@gangster@var_c", + "Gangster 6" + }, + ["Gangsterg"] = { + "move_m@gangster@var_d", + "Gangster 7" + }, + ["Gangsterh"] = { + "move_m@gangster@var_e", + "Gangster 8" + }, + ["Gangsteri"] = { + "move_m@gangster@var_f", + "Gangster 9" + }, + ["Gangsterj"] = { + "move_m@gangster@var_g", + "Gangster 10" + }, + ["Gangsterk"] = { + "move_m@gangster@var_h", + "Gangster 11" + }, + ["Gangsterl"] = { + "move_m@gangster@var_i", + "Gangster 12" + }, + ["Gangsterm"] = { + "move_m@gangster@var_j", + "Gangster 13" + }, + ["Gangstern"] = { + "move_m@gangster@var_k", + "Gangster 14" + }, + ["Generic"] = { + "move_m@generic", + "Generic Male" + }, + ["Generic2"] = { + "move_f@generic", + "Generic Female" + }, + ["Grooving"] = { + "anim@move_m@grooving@", + "Grooving Male" + }, + ["Grooving2"] = { + "anim@move_f@grooving@", + "Grooving Female" + }, + ["Guard"] = { + "move_m@prison_gaurd" + }, + ["Handcuffs"] = { + "move_m@prisoner_cuffed" + }, + ["Heels"] = { + "move_f@heels@c" + }, + ["Heels2"] = { + "move_f@heels@d", + "Heels 2" + }, + ["Hiking"] = { + "move_m@hiking" + }, + ["Hiking2"] = { + "move_f@hiking", + "Hiking 2" + }, + ["Hipster"] = { + "move_m@hipster@a" + }, + ["Hobo"] = { + "move_m@hobo@a", + "Hobo" + }, + ["Hobo2"] = { + "move_m@hobo@b", + "Hobo 2" + }, + ["Injured2"] = { + "move_f@injured", + "Injured 2 - Female" + }, + ["Intimidation"] = { + "move_m@intimidation@1h", + "Intimidation" + }, + ["Intimidation2"] = { + "move_m@intimidation@cop@unarmed", + "Intimidation 2" + }, + ["Intimidation3"] = { + "move_m@intimidation@unarmed", + "Intimidation 3" + }, + ["Janitor"] = { + "move_p_m_zero_janitor" + }, + ["Janitor2"] = { + "move_p_m_zero_slow", + "Janitor 2" + }, + ["Jimmy"] = { + "move_characters@jimmy" + }, + ["Jog"] = { + "move_m@jog@" + }, + ["Lamar"] = { + "move_characters@lamar" + }, + ["Lamar2"] = { + "anim_group_move_lemar_alley", + "Lamar 2" + }, + ["Lester"] = { + "move_heist_lester" + }, + ["Lester2"] = { + "move_lester_caneup", + "Lester 2" + }, + ["Maneater"] = { + "move_f@maneater" + }, + ["Michael"] = { + "move_ped_bucket" + }, + ["Money"] = { + "move_m@money" + }, + ["Muscle"] = { + "move_m@muscle@a" + }, + ["Nervous"] = { + "move_characters@jimmy@nervous@" + }, + ["Patricia"] = { + "move_characters@patricia" + }, + ["Paramedic"] = { + "move_paramedic" + }, + ["Posh"] = { + "move_m@posh@" + }, + ["Posh2"] = { + "move_f@posh@", + "Posh 2" + }, + ["Quick"] = { + "move_m@quick" + }, + ["Ron"] = { + "move_characters@ron" + }, + ["Runner"] = { + "female_fast_runner" + }, + ["Sad"] = { + "move_m@sad@a", + "Sad Male" + }, + ["Sad2"] = { + "move_m@sad@b", + "Sad Male 2" + }, + ["Sad3"] = { + "move_m@sad@c", + "Sad Male 3" + }, + ["Sad4"] = { + "move_f@sad@a", + "Sad Female" + }, + ["Sad5"] = { + "move_f@sad@b", + "Sad Female 2" + }, + ["Sassy"] = { + "move_m@sassy" + }, + ["Sassy2"] = { + "move_f@sassy", + "Sassy 2" + }, + ["Scared"] = { + "move_f@scared" + }, + ["Sexy"] = { + "move_f@sexy@a" + }, + ["Shady"] = { + "move_m@shadyped@a" + }, + ["Slow"] = { + "move_characters@jimmy@slow@" + }, + ["Stripper"] = { + "move_f@stripper@a" + }, + ["Swagger"] = { + "move_m@swagger" + }, + ["Swagger2"] = { + "move_m@swagger@b", + "Swagger 2" + }, + ["Tough"] = { + "move_m@tough_guy@" + }, + ["Tough2"] = { + "move_f@tough_guy@", + "Tough 2" + }, + ["Toolbelt"] = { + "move_m@tool_belt@a", + "Toolbelt Male" + + }, + ["Toolbelt2"] = { + "move_f@tool_belt@a", + "Toolbelt Female" + }, + ["Trash"] = { + "clipset@move@trash_fast_turn" + }, + ["Trash2"] = { + "missfbi4prepp1_garbageman", + "Trash 2" + }, + ["Tracey"] = { + "move_characters@tracey" + }, + ["Trevor"] = { + "move_p_m_two" + }, + ["Veryslow"] = { + "move_m@leaf_blower", + "Very Slow" + }, + ["Wide"] = { + "move_m@bag" + }, +} + + +--- SHARED EMOTES --- + +RP.Shared = { + + --[emotename] = {dictionary, animation, displayname, targetemotename, additionalanimationoptions} -- + -- You don't have to specify targetemotename; If you don't, it will just play the same animation on both.-- + -- targetemote is used for animations that have a corresponding animation to the other player, ie Carry and Be Carried -- + -- Emotes will work with either SyncOffset or Attachto. We can attach players either in front of us, to a specific bone, or either side of us. -- + + + ["handshake"] = { + "mp_ped_interaction", + "handshake_guy_a", + "Handshake", + "handshake2", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 3000, + SyncOffsetFront = 0.9 + } + }, + ["handshake2"] = { + "mp_ped_interaction", + "handshake_guy_b", + "Handshake 2", + "handshake", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 3000 + } + }, + ["hug"] = { + "mp_ped_interaction", + "kisses_guy_a", + "Hug", + "hug2", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 5000, + SyncOffsetFront = 1.05 + } + }, + ["hug2"] = { + "mp_ped_interaction", + "kisses_guy_b", + "Hug 2", + "hug", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 5000, + SyncOffsetFront = 1.18 + } + }, + ["hugr"] = { + "misscarsteal2chad_goodbye", + "chad_armsaround_chad", + "Hug Romantic 1", + "hugr2", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + SyncOffsetSide = -0.05, + SyncOffsetFront = 0.52 + } + }, + ["hugr2"] = { + "misscarsteal2chad_goodbye", + "chad_armsaround_girl", + "Hug Romantic 2", + "hugr", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + SyncOffsetSide = -0.05, + SyncOffsetFront = 0.52 + } + }, + ["bro"] = { + "mp_ped_interaction", + "hugs_guy_a", + "Bro", + "bro2", + AnimationOptions = { + SyncOffsetFront = 1.14 + } + }, + ["bro2"] = { + "mp_ped_interaction", + "hugs_guy_b", + "Bro 2", + "bro", + AnimationOptions = { + SyncOffsetFront = 1.14 + } + }, + ["give"] = { + "mp_common", + "givetake1_a", + "Give", + "give2", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 2000 + } + }, + ["give2"] = { + "mp_common", + "givetake1_b", + "Give 2", + "give", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 2000 + } + }, + ["baseball"] = { + "anim@arena@celeb@flat@paired@no_props@", + "baseball_a_player_a", + "Baseball", + "baseballthrow" + }, + ["baseballthrow"] = { + "anim@arena@celeb@flat@paired@no_props@", + "baseball_a_player_b", + "Baseball Throw", + "baseball" + }, + ["stickup"] = { + "random@countryside_gang_fight", + "biker_02_stickup_loop", + "Stick Up", + "stickupscared", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["stickupscared"] = { + "missminuteman_1ig_2", + "handsup_base", + "Stickup Scared", + "stickup", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + } + }, + ["punch"] = { + "melee@unarmed@streamed_variations", + "plyr_takedown_rear_lefthook", + "Punch", + "punched" + }, + ["punched"] = { + "melee@unarmed@streamed_variations", + "victim_takedown_front_cross_r", + "Punched", + "punch" + }, + ["headbutt"] = { + "melee@unarmed@streamed_variations", + "plyr_takedown_front_headbutt", + "Headbutt", + "headbutted" + }, + ["headbutted"] = { + "melee@unarmed@streamed_variations", + "victim_takedown_front_headbutt", + "Headbutted", + "headbutt" + }, + ["slap2"] = { + "melee@unarmed@streamed_variations", + "plyr_takedown_front_backslap", + "Slap 2", + "slapped2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true, + EmoteDuration = 2000 + } + }, + ["slap"] = { + "melee@unarmed@streamed_variations", + "plyr_takedown_front_slap", + "Slap", + "slapped", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true, + EmoteDuration = 2000 + } + }, + ["slapped"] = { + "melee@unarmed@streamed_variations", + "victim_takedown_front_slap", + "Slapped", + "slap" + }, + ["slapped2"] = { + "melee@unarmed@streamed_variations", + "victim_takedown_front_backslap", + "Slapped 2", + "slap2" + }, + ["receiveblowjob"] = { + "misscarsteal2pimpsex", + "pimpsex_punter", + "Receive Blowjob", + "giveblowjob", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 30000, + SyncOffsetFront = 0.63 + }, + AdultAnimation = true + }, + ["giveblowjob"] = { + "misscarsteal2pimpsex", + "pimpsex_hooker", + "Give Blowjob", + "receiveblowjob", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 30000, + SyncOffsetFront = 0.63 + }, + AdultAnimation = true + }, + ["streetsexmale"] = { + "misscarsteal2pimpsex", + "shagloop_pimp", + "Street Sex Male", + "streetsexfemale", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + SyncOffsetFront = 0.50 + }, + AdultAnimation = true + }, + ["streetsexfemale"] = { + "misscarsteal2pimpsex", + "shagloop_hooker", + "Street Sex Female", + "streetsexmale", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + SyncOffsetFront = 0.50 + }, + AdultAnimation = true + }, + ["carry"] = { + "missfinale_c2mcs_1", + "fin_c2_mcs_1_camman", + "Carry", + "carry2", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + } + }, + ["carry2"] = { + "nm", + "firemans_carry", + "Be carried", + "carry", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 40269, + xPos = -0.14, + yPos = 0.15, + zPos = 0.14, + xRot = 0.0, + yRot = -59.0, + zRot = -4.5 + } + }, + ["carry3"] = { + "anim@heists@box_carry@", + "idle", + "Carry 2", + "carry4", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + } + }, + ["carry4"] = { + "amb@code_human_in_car_idles@generic@ps@base", + "base", + "Be carried 2", + "carry3", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 28252, + xPos = 0.350, + yPos = 0.15, + zPos = -0.15, + xRot = -42.50, + yRot = -22.50, + zRot = 22.50 + } + }, + ["carrymecute"] = { -- Male Custom emote by Amnilka + "amnilka@photopose@couple@couplefirst", + "amnilka_couple_mal_002", + "Carry Me Cute", + "carrymecute2", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + } + }, + ["carrymecute2"] = { -- Female Custom emote by Amnilka + "amnilka@photopose@couple@couplefirst", + "amnilka_couple_fem_002", + "Carry Me Cute 2", + "carrymecute", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 0, + xPos = 0.0000, + yPos = 0.0000, + zPos = 0.0000, + xRot = 0.0000, + yRot = 0.0000, + zRot = 0.0000 + } + }, + ["carrycmg"] = { -- Male Custom emote by CMG Mods + "couplepose1cmg@animation", + "couplepose1cmg_clip", + "Carry Me Cute 3", + "carrycmg2", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + } + }, + ["carrycmg2"] = { -- Female Custom emote by CMG Mods + "couplepose2cmg@animation", + "couplepose2cmg_clip", + "Carry Me Cute 4", + "carrycmg", + AnimationOptions = { + EmoteLoop = true, + Attachto = true, + bone = 0, + xPos = 0.0100, + yPos = 0.3440, + zPos = -0.0100, + xRot = 180.0000, + yRot = 180.0000, + zRot = -1.9999 + } + }, + ["bff"] = { + "anim@male_couple_03_b", + "m_couple_03_b_clip", + "BFF Pose", + "bffb", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + }, + }, + ["bffb"] = { + "anim@female_couple_03_b", + "f_couple_03_b_clip", + "BFF Pose 2", + "bff", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 0, + xPos = 0.0100, + yPos = 0.1300, + zPos = 0.0, + xRot = 0.0, + yRot = 0.0, + zRot = 76.0000 + }, + }, + ["sitwithmepose"] = { -- Male Custom emote by Amnilka + "amnilka@photopose@couple@couplefirst", + "amnilka_couple_mal_003", + "Sit With Me", + "sitwithmepose2", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + } + }, + ["sitwithmepose2"] = { -- Female Custom emote by Amnilka + "amnilka@photopose@couple@couplefirst", + "amnilka_couple_fem_003", + "Sit With Me Please?", + "carrymecute", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 0, + xPos = 0.3540, + yPos = 0.5110, + zPos = 0.8310, + xRot = 0.0000, + yRot = 0.0000, + zRot = -2.8000 + } + }, + ["hugpose"] = { -- Male Custom emote by Amnilka + "amnilka@photopose@couple@couplefirst", + "amnilka_couple_mal_001", + "Hug Pose", + "hugpose2", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + } + }, + ["hugpose2"] = { -- Female Custom emote by Amnilka + "amnilka@photopose@couple@couplefirst", + "amnilka_couple_fem_001", + "Hug Pose With Me?", + "hugpose", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 0, + xPos = 0.1400, + yPos = 0.2500, + zPos = 0.0000, + xRot = 0.0000, + yRot = 0.0000, + zRot = 0.0000 + } + }, + ["hugtip"] = { -- Male Custom emote by Little Spoon + "littlespoon@friendship007", + "friendship007", + "Hug Pose Tippy Toes", + "hugtip2", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + } + }, + ["hugtip2"] = { -- Female Custom emote by Little Spoon + "littlespoon@friendship008", + "friendship008", + "Hug Pose Tippy Toes 2", + "hugtip", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 0, + xPos = 0.0100, + yPos = 0.2700, + zPos = 0.0, + xRot = -180.0000, + yRot = -180.0000, + zRot = 10.0000 + } + }, + ["cutepicpose"] = { -- Male Custom emote by Amnilka + "amnilka@photopose@couple@couplefirst", + "amnilka_couple_mal_004", + "Cute Pic Pose", + "cutepicpose2", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + } + }, + ["cutepicpose2"] = { -- Female Custom emote by Amnilka + "amnilka@photopose@couple@couplefirst", + "amnilka_couple_fem_004", + "Cute Pic Pose 2", + "cutepicpose", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 0, + xPos = 0.2700, + yPos = 0.1200, + zPos = 0.0000, + xRot = 0.0000, + yRot = 0.0000, + zRot = 0.0000 + } + }, + ["couplehhands"] = { -- Male Custom emote by Amnilka + "amnilka@photopose@couple@couplefirst", + "amnilka_couple_mal_005", + "Couple Heart Hands", + "couplehhands2", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + } + }, + ["couplehhands2"] = { -- Female Custom emote by Amnilka + "amnilka@photopose@couple@couplefirst", + "amnilka_couple_fem_005", + "Couple Heart Hands 2", + "couplehhands", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 0, + xPos = -0.1230, + yPos = 0.4740, + zPos = 0.0000, + xRot = 0.0000, + yRot = 0.0000, + zRot = 94.0000 + } + }, + ["couplewed1a"] = { -- Male Custom emote by EnchantedBrownie + "EnchantedBrwny@wedding1a", + "wedding1a", + "Couple Wedding Pose 1A", + "couplewed1b", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + } + }, + ["couplewed1b"] = { -- Female Custom emote by EnchantedBrownie + "EnchantedBrwny@wedding1b", + "wedding1b", + "Couple Wedding Pose 1B", + "couplewed1a", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 0, + xPos = 0.0300, + yPos = 1.0000, + zPos = 0.0200, + xRot = 0.0000, + yRot = 0.0000, + zRot = 130.0000 + } + }, + ["couplewed2a"] = { -- Male Custom emote by EnchantedBrownie + "EnchantedBrwny@wedding2b", + "wedding2b", + "Couple Wedding Pose 2A", + "couplewed2b", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + } + }, + ["couplewed2b"] = { -- Female Custom emote by EnchantedBrownie + "EnchantedBrwny@wedding2a", + "wedding2a", + "Couple Wedding Pose 2B", + "couplewed2a", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 0, + xPos = 0.0100, + yPos = 0.2500, + zPos = 0.0, + xRot = 0.0, + yRot = 0.0, + zRot = -88.9000 + } + }, + ["liftme"] = { -- Male Custom emote by -Moses- + "couplepose1pack1anim2@animation", + "couplepose1pack1anim2_clip", + "Lift Me", + "liftme2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["liftme2"] = { -- Female Custom emote by -Moses- + "couplepose1pack1anim1@animation", + "couplepose1pack1anim1_clip", + "Lift Me 2", + "liftme", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 0, + xPos = 0.0020, + yPos = 0.2870, + zPos = 0.2500, + xRot = 0.0000, + yRot = 0.0000, + zRot = 180.0000 + } + }, + ["liftme3"] = { -- Male Custom emote by -Moses- + "couplepose2pack1anim2@animation", + "couplepose2pack1anim2_clip", + "Lift Me 3", + "liftme4", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + } + }, + ["liftme4"] = { -- Female Custom emote by -Moses- + "couplepose2pack1anim1@animation", + "couplepose2pack1anim1_clip", + "Lift Me 4", + "liftme3", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 0, + xPos = 0.0100, + yPos = 0.4800, + zPos = 0.5300, + xRot = 0.0000, + yRot = 0.0000, + zRot = 180.0000 + } + }, + ["liftme5"] = { -- Male Custom emote by -Moses- + "couplepose3pack1anim2@animation", + "couplepose3pack1anim2_clip", + "Lift Me 5", + "liftme6", + AnimationOptions = { + EmoteLoop = true + } + }, + ["liftme6"] = { -- Female Custom emote by -Moses- + "couplepose3pack1anim1@animation", + "couplepose3pack1anim1_clip", + "Lift Me 6", + "liftme5", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 0, + xPos = -0.2120, + yPos = -0.5400, + zPos = -0.1000, + xRot = 0.0000, + yRot = 0.0000, + zRot = 0.0000 + } + }, + ["csdog"] = { + "anim@heists@box_carry@", + "idle", + "Carry Small Dog", + "csdog2", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + }, + AnimalEmote = true + }, + ["csdog2"] = { -- Emote by MissSnowie + "misssnowie@little_doggy_lying_down", + "base", + "Small Dog Carried", + "csdog", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + xPos = -0.040, + yPos = 0.330, + zPos = 0.280, + xRot = 0.0, + yRot = 0.0, + zRot = 80.0, + }, + AnimalEmote = true + }, + ["csdog3"] = { -- Custom Emote by MissSnowie + "hooman@hugging_little_doggy", + "base", + "Carry Small Dog 2", + "csdog4", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + }, + AnimalEmote = true + }, + ["csdog4"] = { -- Custom Emote by MissSnowie + "little_doggy@hugging_hooman", + "base", + "Small Dog Carried 2", + "csdog3", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 24818, + xPos = -0.95, + yPos = 0.16, + zPos = -0.15, + xRot = 3.70, + yRot = 75.00, + zRot = -161.90, + }, + AnimalEmote = true + }, + ["cbdog"] = { + "anim@heists@box_carry@", + "idle", + "Carry Big Dog", + "cbdog2", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + }, + AnimalEmote = true + }, + ["cbdog2"] = { + "creatures@rottweiler@amb@sleep_in_kennel@", + "sleep_in_kennel", + "Big Dog Carried", + "cbdog", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + xPos = -0.100, + yPos = 0.650, + zPos = 0.430, + xRot = 0.0, + yRot = 0.0, + zRot = -100.00, + }, + AnimalEmote = true + }, + ["pback"] = { -- Custom Animation By SapphireMods + "mx@piggypack_a", + "mxclip_a", + "Offer Piggy Back", + "pback2", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + } + }, + ["pback2"] = { -- Custom Animation By SapphireMods + "mx@piggypack_b", + "mxanim_b", + "Be Piggy Backed", + "pback", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 0, + xPos = 0.0200, + yPos = -0.4399, + zPos = 0.4200, + xRot = 0.0, + yRot = 0.0, + zRot = 0.0 + } + }, + ["cprs"] = { + "mini@cpr@char_a@cpr_str", + "cpr_pumpchest", + "Give CPR", + "cprs2", + AnimationOptions = { + EmoteLoop = true, + StartDelay = 250 + } + }, + ["cprs2"] = { + "mini@cpr@char_b@cpr_str", + "cpr_pumpchest", + "Get CPR", + "cprs", + AnimationOptions = { + EmoteLoop = true, + Attachto = true, + xPos = 0.35, + yPos = 0.8, + zPos = 0.0, + xRot = 0.0, + yRot = 0.0, + zRot = 270.0 + } + }, + ["cprs3"] = { + "missheistfbi3b_ig8_2", + "cpr_loop_paramedic", + "Give CPR 2", + "cprs4", + AnimationOptions = { + EmoteLoop = true, + StartDelay = 250 + } + }, + ["cprs4"] = { + "missheistfbi3b_ig8_2", + "cpr_loop_victim", + "Get CPR 2", + "cprs3", + AnimationOptions = { + EmoteLoop = true, + Attachto = true, + xPos = 0.35, + yPos = 0.65, + zPos = 0.0, + xRot = 0.0, + yRot = 0.0, + zRot = 270.0 + } + }, + ["hostage"] = { + "anim@gangops@hostage@", + "perp_idle", + "Take hostage", + "hostage2", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + } + }, + ["hostage2"] = { + "anim@gangops@hostage@", + "victim_idle", + "Be hostage", + "hostage", + AnimationOptions = { + EmoteLoop = true, + Attachto = true, + xPos = -0.3, + yPos = 0.1, + zPos = 0.0, + xRot = 0.0, + yRot = 0.0, + zRot = 0.0 + } + }, + ["search"] = { -- Custom Emote By ultrahacx + "custom@police", + "police", + "Search", + "search2", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = false, + -- EmoteDuration = 9700 + } + }, + ["search2"] = { + "missfam5_yoga", + "a2_pose", + "Be searched", + "search", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = false, + -- EmoteDuration = 9700, + Attachto = true, + xPos = 0.0, + yPos = 0.5, + zPos = 0.0, + xRot = 0.0, + yRot = 0.0, + zRot = 0.0 + } + }, + ["followa"] = { -- Custom Ped In Front Emote By Dollie Mods + "dollie_mods@follow_me_001", + "follow_me_001", + "Follow A (Front)", + "followb", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false, + -- We can set this to true for lols, however it messes up if you walk through doors. Either player can press X to cancel the shared emotes + } + }, + ["followb"] = { -- Custom Ped At Back Emote by Dollie Mods + "dollie_mods@follow_me_002", + "follow_me_002", + "Follow B (Back)", + "followa", + AnimationOptions = { + EmoteLoop = true, + Attachto = true, + xPos = 0.078, + yPos = 0.018, + zPos = 0.00, + xRot = 0.00, + yRot = 0.00, + zRot = 0.00 + } + }, + ["kiss"] = { + "hs3_ext-20", + "cs_lestercrest_3_dual-20", + "Kiss", + "kiss2", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 10000, + SyncOffsetFront = 0.08 + } + }, + ["kiss2"] = { + "hs3_ext-20", + "csb_georginacheng_dual-20", + "Kiss 2", + "kiss", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 10000, + SyncOffsetFront = 0.08 + } + }, + ["kiss3"] = { + "hs3_ext-19", + "cs_lestercrest_3_dual-19", + "Kiss 3", + "kiss4", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 10000, + SyncOffsetFront = 0.08 + } + }, + ["kiss4"] = { + "hs3_ext-19", + "csb_georginacheng_dual-19", + "Kiss 4", + "kiss3", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 10000, + SyncOffsetFront = 0.08 + } + }, + ["kisscuteneck"] = { + "genesismods_kissme@kissmale8", + "kissmale8", + "Kiss Cute - Neck (Male)", + "kisscuteneck2", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + --SyncOffsetFront = 0.05, + --bone = 0, + xPos = -0.56, + yPos = 0.0, + zPos = 0.0, + xRot = 0.0, + yRot = 0.0, + zRot = 0.0, + + } + }, + ["kisscuteneck2"] = { + "genesismods_kissme@kissfemale8", + "kissfemale8", + "Kiss Cute - Neck (Female)", + "kisscuteneck", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + --SyncOffsetFront = 0.05, + + } + }, + ["kisscutecheek"] = { + "genesismods_kissme@kissmale9", + "kissmale9", + "Kiss Cute Cheek (Male)", + "kisscutecheek2", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + --SyncOffsetFront = 0.05, + --bone = 0, + xPos = 0.35, + yPos = 0.0, + zPos = 0.0, + xRot = 0.0, + yRot = 0.0, + zRot = 0.0, + + } + }, + ["kisscutecheek2"] = { + "genesismods_kissme@kissfemale9", + "kissfemale9", + "Kiss Cute Cheek (Female)", + "kisscutecheek", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + --SyncOffsetFront = 0.05, + + } + }, + ["kisscutefh"] = { + "genesismods_kissme@kissmale10", + "kissmale10", + "Kiss Forehead (Male)", + "kisscutefh2", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + --SyncOffsetFront = 0.05, + --bone = 0, + xPos = 0.38, + yPos = 0.0, + zPos = 0.0, + xRot = 0.0, + yRot = 0.0, + zRot = 0.0, + + } + }, + ["kisslips"] = { + "chocoholic@couple13", + "couple13_clip", + "Kiss Cute Lips (Female)", + "kisslips2", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 0, + xPos = 0.1600, + yPos = 0.2700, + zPos = 0.0, + xRot = 0.0, + yRot = 0.0, + zRot = 130.0, + + } + }, + ["kisslips2"] = { + "chocoholic@couple14", + "couple14_clip", + "Kiss Cute Lips (Male)", + "kisslips", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + + } + }, + ["kisscutefh2"] = { + "genesismods_kissme@kissfemale10", + "kissfemale10", + "Kiss Forehead (Female)", + "kisscutefh", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + --SyncOffsetFront = 0.05, + + } + }, + ["coupleanim"] = { + "anim@scripted@robbery@tun_prep_uni_ig1_couple@", + "action_var_01_bank_manager", + "Couple Drinking (Wine Glasses)", + "coupleanim2", + AnimationOptions = { + Prop = 'p_wine_glass_s', + PropBone = 60309, + PropPlacement = { + -0.0500, + -0.0100, + -0.1700, + 0.0, + 0.0, + 0.0, + }, + EmoteMoving = false, + EmoteLoop = true + } + }, + ["coupleanim2"] = { + "anim@scripted@robbery@tun_prep_uni_ig1_couple@", + "action_var_01_female", + "Couple Drinking F (Wine Glasses)", + "coupleanim", + AnimationOptions = { + Prop = 'p_wine_glass_s', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + }, + SyncOffsetSide = -0.04125, + SyncOffsetFront = 0.11, + EmoteMoving = false, + EmoteLoop = true + } + }, + ["holdme"] = { -- Custom Animation By SapphireMods + "mx_couple5_1_a", + "mx_couple5_1_a_clip", + "Hold Me", + "holdmeb", + AnimationOptions = { + EmoteLoop = true + }, + }, + ["holdmeb"] = { -- Custom Animation By SapphireMods + "mx_couple5_1_b", + "mx_couple5_1_b_clip", + "Be Held", + "holdme", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 0, + xPos = -0.0200, + yPos = 0.2400, + zPos = -0.0100, + xRot = 0.0, + yRot = 0.0, + zRot = 0.0 + }, + }, + ["holdmec"] = { -- Custom Animation By SapphireMods + "mx_couple5_2_a", + "mx_couple5_2_a_clip", + "Hold Me 2", + "holdmed", + AnimationOptions = { + EmoteLoop = true + }, + }, + ["holdmed"] = { -- Custom Animation By SapphireMods + "mx_couple5_2_b", + "mx_couple5_2_b_clip", + "Be Held 2", + "holdmec", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 0, + xPos = -0.1200, + yPos = 0.3600, + zPos = -0.0100, + xRot = 0.0, + yRot = 0.0, + zRot = -180.0 + }, + }, + ["holdmee"] = { -- Custom Animation By SapphireMods + "mx_couple5_3_a", + "mx_couple5_3_a_clip", + "Hold Me 3", + "holdmef", + AnimationOptions = { + EmoteLoop = true + } + }, + ["holdmef"] = { -- Custom Animation By SapphireMods + "mx_couple5_3_b", + "mx_couple5_3_b_clip", + "Be Held 3", + "holdmee", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Attachto = true, + bone = 0, + xPos = 0.0400, + yPos = 0.2100, + zPos = -0.0300, + xRot = 0.0, + yRot = 0.0, + zRot = 0.0 + }, + }, + ["bdoghumping"] = { + "creatures@rottweiler@amb@", + "hump_loop_chop", + "Dogs Humping (Male)", + "bdoghumping2", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + SyncOffsetFront = 0.0, + SyncOffsetSide = -0.028, + SyncOffsetHeading = 0.0 + }, + AdultAnimation = true, + AnimalEmote = true + }, + ["bdoghumping2"] = { + "creatures@rottweiler@amb@", + "hump_loop_ladydog", + "Dogs Humping (Female)", + "bdoghumping", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + SyncOffsetFront = 0.0, + SyncOffsetSide = -0.028, + SyncOffsetHeading = 0.0 + }, + AdultAnimation = true, + AnimalEmote = true + } +} + +--- DANCING EMOTES, SOME WITH PROPS --- + +RP.Dances = { + ["dance"] = { + "anim@amb@nightclub@dancers@podium_dancers@", + "hi_dance_facedj_17_v2_male^5", + "Dance", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dance2"] = { + "anim@amb@nightclub@mini@dance@dance_solo@male@var_b@", + "high_center_down", + "Dance 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dance3"] = { + "anim@amb@nightclub@mini@dance@dance_solo@male@var_a@", + "high_center", + "Dance 3", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dance4"] = { + "anim@amb@nightclub@mini@dance@dance_solo@male@var_b@", + "high_center_up", + "Dance 4", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dance5"] = { + "anim@amb@casino@mini@dance@dance_solo@female@var_a@", + "med_center", + "Dance 5", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dance6"] = { + "misschinese2_crystalmazemcs1_cs", + "dance_loop_tao", + "Dance 6", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dance7"] = { + "misschinese2_crystalmazemcs1_ig", + "dance_loop_tao", + "Dance 7", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dance8"] = { + "missfbi3_sniping", + "dance_m_default", + "Dance 8", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dance9"] = { + "anim@amb@nightclub@mini@dance@dance_solo@female@var_a@", + "med_center_up", + "Dance 9", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancef"] = { + "anim@amb@nightclub@dancers@solomun_entourage@", + "mi_dance_facedj_17_v1_female^1", + "Dance F", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancef2"] = { + "anim@amb@nightclub@mini@dance@dance_solo@female@var_a@", + "high_center", + "Dance F2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancef3"] = { + "anim@amb@nightclub@mini@dance@dance_solo@female@var_a@", + "high_center_up", + "Dance F3", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancef4"] = { + "anim@amb@nightclub@dancers@crowddance_facedj@hi_intensity", + "hi_dance_facedj_09_v2_female^1", + "Dance F4", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancef5"] = { + "anim@amb@nightclub@dancers@crowddance_facedj@hi_intensity", + "hi_dance_facedj_09_v2_female^3", + "Dance F5", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancef6"] = { + "anim@amb@nightclub@mini@dance@dance_solo@female@var_a@", + "high_center_up", + "Dance F6", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceclub"] = { + "anim@amb@nightclub_island@dancers@beachdance@", + "hi_idle_a_m03", + "Dance Club", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceclubb"] = { + "anim@amb@nightclub_island@dancers@beachdance@", + "hi_idle_a_m05", + "Dance Club 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceclubc"] = { + "anim@amb@nightclub_island@dancers@beachdance@", + "hi_idle_a_m02", + "Dance Club 3", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceclubd"] = { + "anim@amb@nightclub_island@dancers@beachdance@", + "hi_idle_b_f01", + "Dance Club 4", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceclube"] = { + "anim@amb@nightclub_island@dancers@club@", + "hi_idle_a_f02", + "Dance Club 5", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceclubf"] = { + "anim@amb@nightclub_island@dancers@club@", + "hi_idle_b_m03", + "Dance Club 6", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceclubg"] = { + "anim@amb@nightclub_island@dancers@club@", + "hi_idle_d_f01", + "Dance Club 7", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceclubh"] = { + "anim@amb@nightclub_island@dancers@crowddance_facedj@", + "mi_dance_facedj_17_v2_male^4", + "Dance Club 8 ", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceclubi"] = { + "anim@amb@nightclub_island@dancers@crowddance_single_props@", + "mi_dance_prop_13_v1_male^3", + "Dance Club 9 ", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceclubj"] = { + "anim@amb@nightclub_island@dancers@crowddance_groups@groupd@", + "mi_dance_crowd_13_v2_male^1", + "Dance Club 10 ", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceclubk"] = { + "anim@amb@nightclub_island@dancers@crowddance_facedj@", + "mi_dance_facedj_15_v2_male^4", + "Dance Club 11 ", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceclubl"] = { + "anim@amb@nightclub@mini@dance@dance_solo@female@var_a@", + "high_center_up", + "Dance Club 12", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceclubm"] = { + "anim@amb@nightclub_island@dancers@crowddance_facedj@", + "hi_dance_facedj_hu_15_v2_male^5", + "Dance Club 13 ", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceclubn"] = { + "anim@amb@nightclub_island@dancers@crowddance_facedj@", + "hi_dance_facedj_hu_17_male^5", + "Dance Club 14 ", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceclubo"] = { + "anim@amb@nightclub@mini@dance@dance_solo@shuffle@", + "high_center", + "Dance Club 15 ", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceclubp"] = { + "anim@amb@nightclub@mini@dance@dance_solo@shuffle@", + "high_left_down", + "Dance Club 16 ", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancedrink"] = { + "anim@amb@nightclub_island@dancers@beachdanceprop@", + "mi_idle_c_m01", + "Dance Drink (Beer)", + AnimationOptions = { + Prop = 'prop_beer_amopen', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.00, + 0.0, + 0.0, + 0.0, + 20.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dancedrink2"] = { + "anim@amb@nightclub_island@dancers@beachdanceprop@", + "mi_loop_f1", + "Dance Drink 2 (Wine)", + AnimationOptions = { + Prop = 'p_wine_glass_s', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + -0.0900, + 0.0, + 0.0, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dancedrink3"] = { + "anim@amb@nightclub_island@dancers@beachdanceprop@", + "mi_loop_m04", + "Dance Drink 3 (Whiskey)", + AnimationOptions = { + Prop = 'ba_prop_battle_whiskey_opaque_s', + PropBone = 28422, + PropPlacement = { + -0.0100, + 0.00, + 0.0, + 0.0, + 0.0, + 10.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dancedrink4"] = { + "anim@amb@nightclub_island@dancers@beachdanceprops@male@", + "mi_idle_b_m04", + "Dance Drink 4 (Whiskey)", + AnimationOptions = { + Prop = 'ba_prop_battle_whiskey_opaque_s', + PropBone = 28422, + PropPlacement = { + -0.0100, + 0.00, + 0.0, + 0.0, + 0.0, + 10.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dancedrink5"] = { + "anim@amb@nightclub_island@dancers@crowddance_single_props@", + "hi_dance_prop_09_v1_female^3", + "Dance Drink 5 (Wine)", + AnimationOptions = { + Prop = 'p_wine_glass_s', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + -0.0900, + 0.0, + 0.0, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dancedrink6"] = { + "anim@amb@nightclub_island@dancers@crowddance_single_props@", + "hi_dance_prop_09_v1_male^3", + "Dance Drink 6 (Beer)", + AnimationOptions = { + Prop = 'prop_beer_logopen', + PropBone = 28422, + PropPlacement = { + 0.0090, + 0.0010, + -0.0310, + 180.0, + 180.0, + -69.99 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dancedrink7"] = { + "anim@amb@nightclub_island@dancers@crowddance_single_props@", + "hi_dance_prop_11_v1_female^3", + "Dance Drink 7 (Wine)", + AnimationOptions = { + Prop = 'p_wine_glass_s', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + -0.0900, + 0.0, + 0.0, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dancedrink8"] = { + "anim@amb@nightclub_island@dancers@crowddance_single_props@", + "hi_dance_prop_11_v1_female^1", + "Dance Drink 8 (Wine)", + AnimationOptions = { + Prop = 'p_wine_glass_s', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + -0.0900, + 0.0, + 0.0, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["danceslow2"] = { + "anim@amb@nightclub@mini@dance@dance_solo@female@var_a@", + "low_center", + "Dance Slow 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceslow3"] = { + "anim@amb@nightclub@mini@dance@dance_solo@female@var_a@", + "low_center_down", + "Dance Slow 3", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceslow4"] = { + "anim@amb@nightclub@mini@dance@dance_solo@female@var_b@", + "low_center", + "Dance Slow 4", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceupper"] = { + "anim@amb@nightclub@mini@dance@dance_solo@female@var_b@", + "high_center", + "Dance Upper", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["danceupper2"] = { + "anim@amb@nightclub@mini@dance@dance_solo@female@var_b@", + "high_center_up", + "Dance Upper 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["danceshy"] = { + "anim@amb@nightclub@mini@dance@dance_solo@male@var_a@", + "low_center", + "Dance Shy", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceshy2"] = { + "anim@amb@nightclub@mini@dance@dance_solo@female@var_b@", + "low_center_down", + "Dance Shy 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceslow"] = { + "anim@amb@nightclub@mini@dance@dance_solo@male@var_b@", + "low_center", + "Dance Slow", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancesilly1"] = { + "rcmnigel1bnmt_1b", + "dance_loop_tyler", + "Dance Silly 1", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancesilly"] = { + "special_ped@mountain_dancer@monologue_3@monologue_3a", + "mnt_dnc_buttwag", + "Dance Silly", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancesilly2"] = { + "move_clown@p_m_zero_idles@", + "fidget_short_dance", + "Dance Silly 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancesilly3"] = { + "move_clown@p_m_two_idles@", + "fidget_short_dance", + "Dance Silly 3", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancesilly4"] = { + "anim@amb@nightclub@lazlow@hi_podium@", + "danceidle_hi_11_buttwiggle_b_laz", + "Dance Silly 4", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancesilly5"] = { + "timetable@tracy@ig_5@idle_a", + "idle_a", + "Dance Silly 5", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancesilly6"] = { + "timetable@tracy@ig_8@idle_b", + "idle_d", + "Dance Silly 6", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancesilly7"] = { + "anim@amb@casino@mini@dance@dance_solo@female@var_b@", + "med_center", + "Dance Silly 7", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancesilly8"] = { + "anim@amb@casino@mini@dance@dance_solo@female@var_b@", + "high_center", + "Dance Silly 8", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancesilly9"] = { + "anim@mp_player_intcelebrationfemale@the_woogie", + "the_woogie", + "Dance Silly 9", + AnimationOptions = { + EmoteLoop = true + } + }, + ["danceold"] = { + "anim@mp_player_intupperuncle_disco", + "idle_a", + "Dance Old", + AnimationOptions = { + EmoteLoop = true, + -- EmoteMoving = true,-- Removing the comment will allow for you to mix and match dance emotes, ie /e danceold and /e dance to control the bottom half of the body. + } + }, + ["danceglowstick"] = { + "anim@amb@nightclub@lazlow@hi_railing@", + "ambclub_13_mi_hi_sexualgriding_laz", + "Dance Glowsticks", + AnimationOptions = { + Prop = 'ba_prop_battle_glowstick_01', + PropBone = 28422, + PropPlacement = { + 0.0700, + 0.1400, + 0.0, + -80.0, + 20.0 + }, + SecondProp = 'ba_prop_battle_glowstick_01', + SecondPropBone = 60309, + SecondPropPlacement = { + 0.0700, + 0.0900, + 0.0, + -120.0, + -20.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["danceglowstick2"] = { + "anim@amb@nightclub@lazlow@hi_railing@", + "ambclub_12_mi_hi_bootyshake_laz", + "Dance Glowsticks 2", + AnimationOptions = { + Prop = 'ba_prop_battle_glowstick_01', + PropBone = 28422, + PropPlacement = { + 0.0700, + 0.1400, + 0.0, + -80.0, + 20.0 + }, + SecondProp = 'ba_prop_battle_glowstick_01', + SecondPropBone = 60309, + SecondPropPlacement = { + 0.0700, + 0.0900, + 0.0, + -120.0, + -20.0 + }, + EmoteLoop = true + } + }, + ["danceglowstick3"] = { + "anim@amb@nightclub@lazlow@hi_railing@", + "ambclub_09_mi_hi_bellydancer_laz", + "Dance Glowsticks 3", + AnimationOptions = { + Prop = 'ba_prop_battle_glowstick_01', + PropBone = 28422, + PropPlacement = { + 0.0700, + 0.1400, + 0.0, + -80.0, + 20.0 + }, + SecondProp = 'ba_prop_battle_glowstick_01', + SecondPropBone = 60309, + SecondPropPlacement = { + 0.0700, + 0.0900, + 0.0, + -120.0, + -20.0 + }, + EmoteLoop = true + } + }, + ["dancehorse"] = { + "anim@amb@nightclub@lazlow@hi_dancefloor@", + "dancecrowd_li_15_handup_laz", + "Dance Horse", + AnimationOptions = { + Prop = "ba_prop_battle_hobby_horse", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["dancehorse2"] = { + "anim@amb@nightclub@lazlow@hi_dancefloor@", + "crowddance_hi_11_handup_laz", + "Dance Horse 2", + AnimationOptions = { + Prop = "ba_prop_battle_hobby_horse", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true + } + }, + ["dancehorse3"] = { + "anim@amb@nightclub@lazlow@hi_dancefloor@", + "dancecrowd_li_11_hu_shimmy_laz", + "Dance Horse 3", + AnimationOptions = { + Prop = "ba_prop_battle_hobby_horse", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true + } + }, + ["dancewave"] = { -- Custom Emote By BoringNeptune + "dancing_wave_part_one@anim", + "wave_dance_1", + "Wave Dance", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancewave02"] = { -- Custom Emote By BoringNeptune + "dancing_wave_part_one@anim", + "wave_dance_2", + "Wave Dance 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancewave03"] = { -- Custom Emote By BoringNeptune + "dancing_wave_part_one@anim", + "wave_dance_3", + "Wave Dance 3", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancewave04"] = { -- Custom Emote By BoringNeptune + "dancing_wave_part_one@anim", + "wave_dance_4", + "Wave Dance 4", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancewave05"] = { -- Custom Emote By BoringNeptune + "dancing_wave_part_one@anim", + "tutankhamun_dance_1", + "Wave Dance 5 - Tutankhamen", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancewave06"] = { -- Custom Emote By BoringNeptune + "dancing_wave_part_one@anim", + "tutankhamun_dance_2", + "Wave Dance 6 - Tutankhamen 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancewave07"] = { -- Custom Emote By BoringNeptune + "dancing_wave_part_one@anim", + "snake_dance_1", + "Wave Dance 7 - Snake Dance", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancewave08"] = { -- Custom Emote By BoringNeptune + "dancing_wave_part_one@anim", + "slide_dance", + "Wave Dance 8 - Slide Dance", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancewave09"] = { -- Custom Emote By BoringNeptune + "dancing_wave_part_one@anim", + "slide_dance_2", + "Wave Dance 9 - Slide Dance 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancewave10"] = { -- Custom Emote By BoringNeptune + "dancing_wave_part_one@anim", + "robot_dance", + "Wave Dance 10 - Robot Dance", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancewave11"] = { -- Custom Emote By BoringNeptune + "dancing_wave_part_one@anim", + "locking_dance", + "Wave Dance 11 - Locking Dance", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancewave12"] = { -- Custom Emote By BoringNeptune + "dancing_wave_part_one@anim", + "headspin", + "Wave Dance 12 - Headspin", + AnimationOptions = { + EmoteLoop = false + } + }, + ["dancewave13"] = { -- Custom Emote By BoringNeptune + "dancing_wave_part_one@anim", + "flaire_dance", + "Wave Dance 13 - Flaire Dance", + AnimationOptions = { + EmoteLoop = false + } + }, + ["dancewave14"] = { -- Custom Emote By BoringNeptune + "dancing_wave_part_one@anim", + "crowd_girl_dance", + "Wave Dance 14 - Female Crowd Dance", + AnimationOptions = { + EmoteLoop = false + } + }, + ["dancewave15"] = { -- Custom Emote By BoringNeptune + "dancing_wave_part_one@anim", + "uprock_dance_1", + "Wave Dance 15 - Uprock Dance", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancethriller"] = { -- Custom Emote By BoringNeptune + "mj_thriller", + "mj_thriller_dance", + "Dance - MJ Thriller", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dj"] = { + "anim@amb@nightclub@djs@dixon@", + "dixn_dance_cntr_open_dix", + "DJ", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["dj2"] = { + "anim@amb@nightclub@djs@solomun@", + "sol_idle_ctr_mid_a_sol", + "DJ 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dj3"] = { + "anim@amb@nightclub@djs@solomun@", + "sol_dance_l_sol", + "DJ 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dj4"] = { + "anim@amb@nightclub@djs@black_madonna@", + "dance_b_idle_a_blamadon", + "DJ 4", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dj1"] = { + "anim@amb@nightclub@djs@dixon@", + "dixn_end_dix", + "DJ 1", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dj5"] = { + "anim@amb@nightclub@djs@dixon@", + "dixn_idle_cntr_a_dix", + "DJ 5", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dj6"] = { + "anim@amb@nightclub@djs@dixon@", + "dixn_idle_cntr_b_dix", + "DJ 6", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dj7"] = { + "anim@amb@nightclub@djs@dixon@", + "dixn_idle_cntr_g_dix", + "DJ 7", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dj8"] = { + "anim@amb@nightclub@djs@dixon@", + "dixn_idle_cntr_gb_dix", + "DJ 8", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dj9"] = { + "anim@amb@nightclub@djs@dixon@", + "dixn_sync_cntr_j_dix", + "DJ 9", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["twerk"] = { + "switch@trevor@mocks_lapdance", + "001443_01_trvs_28_idle_stripper", + "Twerk", + AnimationOptions = { + EmoteLoop = true + } + }, + ["lapdance"] = { + "mp_safehouse", + "lap_dance_girl", + "Lapdance" + }, + ["lapdance2"] = { + "mini@strip_club@private_dance@idle", + "priv_dance_idle", + "Lapdance 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["lapdance3"] = { + "mini@strip_club@private_dance@part1", + "priv_dance_p1", + "Lapdance 3", + AnimationOptions = { + EmoteLoop = true + } + }, + ["lapdance4"] = { + "mini@strip_club@private_dance@part2", + "priv_dance_p2", + "Lapdance 4", + AnimationOptions = { + EmoteLoop = true + } + }, + ["lapdance5"] = { + "mini@strip_club@private_dance@part3", + "priv_dance_p3", + "Lapdance 5", + AnimationOptions = { + EmoteLoop = true + } + }, + ["lapdance6"] = { + "oddjobs@assassinate@multi@yachttarget@lapdance", + "yacht_ld_f", + "Lapdance 6", + AnimationOptions = { + EmoteLoop = true + } + }, + ["lapdancewith"] = { + "mini@strip_club@lap_dance_2g@ld_2g_p3", + "ld_2g_p3_s2", + "Lapdance With", + AnimationOptions = { + EmoteLoop = true + } + }, + ["lapdancewith2"] = { + "mini@strip_club@lap_dance_2g@ld_2g_p2", + "ld_2g_p2_s2", + "Lapdance With2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["lapdancewith3"] = { + "mini@strip_club@lap_dance_2g@ld_2g_p1", + "ld_2g_p1_s2", + "Lapdance With3", + AnimationOptions = { + EmoteLoop = true + } + }, + ["lapchair"] = { + "mini@strip_club@lap_dance@ld_girl_a_song_a_p1", + "ld_girl_a_song_a_p1_f", + "Lap Chair", + AnimationOptions = { + EmoteLoop = true + } + }, + ["lapchair2"] = { + "mini@strip_club@lap_dance@ld_girl_a_song_a_p2", + "ld_girl_a_song_a_p2_f", + "Lap Chair2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["lapchair3"] = { + "mini@strip_club@lap_dance@ld_girl_a_song_a_p3", + "ld_girl_a_song_a_p3_f", + "Lap Chair3", + AnimationOptions = { + EmoteLoop = true + } + }, + ["salsa"] = { + "anim@mp_player_intuppersalsa_roll", + "idle_a", + "Salso Roll", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancecrankdat"] = { + "anim@amb@nightclub@mini@dance@dance_solo@shuffle@", + "high_right_up", + "Dance Crank Dat", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancecrankdat2"] = { + "anim@amb@nightclub@mini@dance@dance_solo@shuffle@", + "high_right_down", + "Dance Crank Dat 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancemonkey"] = { + "anim@amb@nightclub@mini@dance@dance_solo@techno_monkey@", + "high_center", + "Monkey Dance ", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancemonkey2"] = { + "anim@amb@nightclub@mini@dance@dance_solo@techno_monkey@", + "high_center_down", + "Monkey Dance 2 ", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancemonkey3"] = { + "anim@amb@nightclub@mini@dance@dance_solo@techno_monkey@", + "med_center_down", + "Monkey Dance 3 ", + AnimationOptions = { + EmoteLoop = true + } + }, + ["boxdance"] = { + "anim@amb@nightclub@mini@dance@dance_solo@beach_boxing@", + "med_right_down", + "Boxing Dance Solo ", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancehiphop"] = { + "anim@amb@nightclub@mini@dance@dance_paired@dance_d@", + "ped_a_dance_idle", + "Hip Hop Dance ", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancehiphop2"] = { + "anim@amb@nightclub@mini@dance@dance_paired@dance_b@", + "ped_a_dance_idle", + "Hip Hop Dance 2 ", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancehiphop3"] = { + "anim@amb@nightclub@mini@dance@dance_paired@dance_a@", + "ped_a_dance_idle", + "Hip Hop Dance 3 ", + AnimationOptions = { + EmoteLoop = true + } + }, + ["dancepride"] = { + "anim@amb@nightclub@lazlow@hi_railing@", + "ambclub_09_mi_hi_bellydancer_laz", + "Dance Pride A", + AnimationOptions = { + Prop = 'lilprideflag1', --- Rainbow + PropBone = 18905, + PropPlacement = { + 0.0900, + 0.0000, + 0.0300, + -39.911, + 93.9166, + -5.8062 + }, + SecondProp = 'lilprideflag1', + SecondPropBone = 57005, + SecondPropPlacement = { + 0.0900, + -0.0200, + -0.0300, + -90.2454, + 5.7068, + -28.7797 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["danceprideb"] = { + "anim@amb@nightclub@lazlow@hi_railing@", + "ambclub_09_mi_hi_bellydancer_laz", + "Dance Pride B - LGBTQIA", + AnimationOptions = { + Prop = 'lilprideflag2', -- LGBTQIA + PropBone = 18905, + PropPlacement = { + 0.0900, + 0.0000, + 0.0300, + -39.911, + 93.9166, + -5.8062 + }, + SecondProp = 'lilprideflag2', + SecondPropBone = 57005, + SecondPropPlacement = { + 0.0900, + -0.0200, + -0.0300, + -90.2454, + 5.7068, + -28.7797 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dancepridea"] = { + "anim@amb@nightclub@lazlow@hi_railing@", + "ambclub_09_mi_hi_bellydancer_laz", + "Dance Pride A - Bisexual", + AnimationOptions = { + Prop = 'lilprideflag3', -- Bisexual + PropBone = 18905, + PropPlacement = { + 0.0900, + 0.0000, + 0.0300, + -39.911, + 93.9166, + -5.8062 + }, + SecondProp = 'lilprideflag3', + SecondPropBone = 57005, + SecondPropPlacement = { + 0.0900, + -0.0200, + -0.0300, + -90.2454, + 5.7068, + -28.7797 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dancepridec"] = { + "anim@amb@nightclub@lazlow@hi_railing@", + "ambclub_09_mi_hi_bellydancer_laz", + "Dance Pride C - Lesbian", + AnimationOptions = { + Prop = 'lilprideflag4', -- Lesbian + PropBone = 18905, + PropPlacement = { + 0.0900, + 0.0000, + 0.0300, + -39.911, + 93.9166, + -5.8062 + }, + SecondProp = 'lilprideflag4', + SecondPropBone = 57005, + SecondPropPlacement = { + 0.0900, + -0.0200, + -0.0300, + -90.2454, + 5.7068, + -28.7797 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["danceprided"] = { + "anim@amb@nightclub@lazlow@hi_railing@", + "ambclub_09_mi_hi_bellydancer_laz", + "Dance Pride D - Pansexual", + AnimationOptions = { + Prop = 'lilprideflag5', -- Pansexual + PropBone = 18905, + PropPlacement = { + 0.0900, + 0.0000, + 0.0300, + -39.911, + 93.9166, + -5.8062 + }, + SecondProp = 'lilprideflag5', + SecondPropBone = 57005, + SecondPropPlacement = { + 0.0900, + -0.0200, + -0.0300, + -90.2454, + 5.7068, + -28.7797 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dancepridee"] = { + "anim@amb@nightclub@lazlow@hi_railing@", + "ambclub_09_mi_hi_bellydancer_laz", + "Dance Pride E - Transgender ", + AnimationOptions = { + Prop = 'lilprideflag6', -- Transgender + PropBone = 18905, + PropPlacement = { + 0.0900, + 0.0000, + 0.0300, + -39.911, + 93.9166, + -5.8062 + }, + SecondProp = 'lilprideflag6', + SecondPropBone = 57005, + SecondPropPlacement = { + 0.0900, + -0.0200, + -0.0300, + -90.2454, + 5.7068, + -28.7797 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dancepridef"] = { + "anim@amb@nightclub@lazlow@hi_railing@", + "ambclub_09_mi_hi_bellydancer_laz", + "Dance Pride F - Non Binary", + AnimationOptions = { + Prop = 'lilprideflag7', -- Lesbian + PropBone = 18905, + PropPlacement = { + 0.0900, + 0.0000, + 0.0300, + -39.911, + 93.9166, + -5.8062 + }, + SecondProp = 'lilprideflag7', + SecondPropBone = 57005, + SecondPropPlacement = { + 0.0900, + -0.0200, + -0.0300, + -90.2454, + 5.7068, + -28.7797 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["danceprideg"] = { + "anim@amb@nightclub@lazlow@hi_railing@", + "ambclub_09_mi_hi_bellydancer_laz", + "Dance Pride G - Asexual", + AnimationOptions = { + Prop = 'lilprideflag8', -- Asexual + PropBone = 18905, + PropPlacement = { + 0.0900, + 0.0000, + 0.0300, + -39.911, + 93.9166, + -5.8062 + }, + SecondProp = 'lilprideflag8', + SecondPropBone = 57005, + SecondPropPlacement = { + 0.0900, + -0.0200, + -0.0300, + -90.2454, + 5.7068, + -28.7797 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["danceprideh"] = { + "anim@amb@nightclub@lazlow@hi_railing@", + "ambclub_09_mi_hi_bellydancer_laz", + "Dance Pride H - Straight Ally", + AnimationOptions = { + Prop = 'lilprideflag9', -- Straight Ally + PropBone = 18905, + PropPlacement = { + 0.0900, + 0.0000, + 0.0300, + -39.911, + 93.9166, + -5.8062 + }, + SecondProp = 'lilprideflag9', + SecondPropBone = 57005, + SecondPropPlacement = { + 0.0900, + -0.0200, + -0.0300, + -90.2454, + 5.7068, + -28.7797 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, +} + + +---- ANIMAL EMOTES ---- +---- BIG DOG ---- + +RP.AnimalEmotes = { + ["bdogbark"] = { + "creatures@rottweiler@amb@world_dog_barking@idle_a", + "idle_a", + "Bark (big dog)", + AnimationOptions = { + EmoteLoop = true + } + }, + ["bdogindicateahead"] = { + "creatures@rottweiler@indication@", + "indicate_ahead", + "Indicate Ahead (big dog)", + AnimationOptions = { + EmoteLoop = true + } + }, + ["bdogindicatehigh"] = { + "creatures@rottweiler@indication@", + "indicate_high", + "Indicate High (big dog)", + AnimationOptions = { + EmoteLoop = true + } + }, + ["bdogindicatelow"] = { + "creatures@rottweiler@indication@", + "indicate_low", + "Indicate Low (big dog)", + AnimationOptions = { + EmoteLoop = true + } + }, + ["bdogbeg"] = { + "creatures@rottweiler@tricks@", + "beg_loop", + "Beg (big dog)", + AnimationOptions = { + EmoteLoop = true + } + }, + ["bdogbeg2"] = { + "creatures@rottweiler@tricks@", + "paw_right_loop", + "Beg 2 (big dog)", + AnimationOptions = { + EmoteLoop = true + } + }, + ["bdoglayright"] = { + "creatures@rottweiler@move", + "dead_right", + "Lay Right (big dog)", + AnimationOptions = { + EmoteLoop = true + } + }, + ["bdoglayleft"] = { + "creatures@rottweiler@move", + "dead_left", + "Lay Left (big dog)", + AnimationOptions = { + EmoteLoop = true + } + }, + ["bdogsitcar"] = { + "creatures@rottweiler@incar@", + "sit", + "Sit in car (big dog)", + AnimationOptions = { + EmoteLoop = true + } + }, + ["bdogfhump"] = { + "creatures@rottweiler@amb@", + "hump_loop_ladydog", + "Female Hump (big dog)", + AnimationOptions = { + EmoteLoop = true + }, + AdultAnimation = true, + AnimalEmote = true + }, + ["bdogmhump"] = { + "creatures@rottweiler@amb@", + "hump_loop_chop", + "Male Hump (big dog)", + AnimationOptions = { + EmoteLoop = true + }, + AdultAnimation = true, + AnimalEmote = true + }, + ["bdogshit"] = { + "creatures@rottweiler@move", + "dump_loop", + "Shit (big dog)", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_amb_chop", + PtfxName = "ent_anim_dog_poo", + PtfxNoProp = true, + PtfxPlacement = { + 0.10, + -0.08, + 0.0, + 0.0, + 90.0, + 180.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['poop'], + PtfxWait = 200, + PtfxCanHold = true + } + }, + ["bdogitch"] = { + "creatures@rottweiler@amb@world_dog_sitting@idle_a", + "idle_a", + "Itch (big dog)", + AnimationOptions = { + EmoteDuration = 2000 + } + }, + ["bdogsleep"] = { + "creatures@rottweiler@amb@sleep_in_kennel@", + "sleep_in_kennel", + "Sleep (big dog)", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "bdogupk", + ExitEmoteType = "Exits" + } + }, + ["bdogsit"] = { + "creatures@rottweiler@amb@world_dog_sitting@base", + "base", + "Sit (big dog)", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "bdogup", + ExitEmoteType = "Exits" + } + }, + ["bdogpee"] = { + "creatures@rottweiler@move", + "pee_left_idle", + "Pee (big dog)", + AnimationOptions = { + EmoteLoop = true, + PtfxAsset = "scr_amb_chop", + PtfxName = "ent_anim_dog_peeing", + PtfxNoProp = true, + PtfxPlacement = { + -0.15, + -0.35, + 0.0, + 0.0, + 90.0, + 180.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['pee'], + PtfxWait = 3000, + PtfxCanHold = true + } + }, + ["bdogpee2"] = { + "creatures@rottweiler@move", + "pee_right_idle", + "Pee 2 (big dog)", + AnimationOptions = { + EmoteLoop = true, + PtfxAsset = "scr_amb_chop", + PtfxName = "ent_anim_dog_peeing", + PtfxNoProp = true, + PtfxPlacement = { + 0.15, + -0.35, + 0.0, + 0.0, + 90.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['pee'], + PtfxWait = 3000, + PtfxCanHold = true + } + }, + ["bdogglowa"] = { + "creatures@rottweiler@amb@world_dog_sitting@base", + "nill", + "Glow Stick (big dog)", + AnimationOptions = { + Prop = 'ba_prop_battle_glowstick_01', + PropBone = 31086, + PropPlacement = { + 0.2000, + 0.000, + -0.0600, + 90.00, + 0.00, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["bdogglowb"] = { + "creatures@rottweiler@amb@world_dog_sitting@base", + "base", + "Glow Stick Sitting (big dog)", + AnimationOptions = { + Prop = 'ba_prop_battle_glowstick_01', + PropBone = 31086, + PropPlacement = { + 0.2000, + 0.000, + -0.0600, + 90.00, + 0.00, + 0.00 + }, + EmoteLoop = true, + ExitEmote = "bdogup", + ExitEmoteType = "Exits" + } + }, + ["bdogpridea"] = { + "creatures@rottweiler@amb@world_dog_sitting@base", + "base", + "Sit Pride A (big dog)", + AnimationOptions = { + Prop = 'lilprideflag1', -- Rainbow + PropBone = 31086, + PropPlacement = { + 0.1900, + 0.0000, + -0.0500, + 100.0000, + 90.0000, + 0.0000 + }, + SecondProp = 'lilprideflag1', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.1940, + 0.020, + -0.0500, + -90.0000, + -90.0000, + 0.0000 + }, + EmoteLoop = true, + ExitEmote = "bdogup", + ExitEmoteType = "Exits" + } + }, + ["bdogprideb"] = { + "creatures@rottweiler@amb@world_dog_sitting@base", + "base", + "Sit Pride B - LGBTQIA (big dog)", + AnimationOptions = { + Prop = 'lilprideflag2', -- LGBTQIA + PropBone = 31086, + PropPlacement = { + 0.1900, + 0.0000, + -0.0500, + 100.0000, + 90.0000, + 0.0000 + }, + SecondProp = 'lilprideflag2', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.1940, + 0.020, + -0.0500, + -90.0000, + -90.0000, + 0.0000 + }, + EmoteLoop = true, + ExitEmote = "bdogup", + ExitEmoteType = "Exits" + } + }, + ["bdogpridec"] = { + "creatures@rottweiler@amb@world_dog_sitting@base", + "base", + "Sit Pride C - Bisexual (big dog)", + AnimationOptions = { + Prop = 'lilprideflag3', -- Bisexual + PropBone = 31086, + PropPlacement = { + 0.1900, + 0.0000, + -0.0500, + 100.0000, + 90.0000, + 0.0000 + }, + SecondProp = 'lilprideflag3', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.1940, + 0.020, + -0.0500, + -90.0000, + -90.0000, + 0.0000 + }, + EmoteLoop = true, + ExitEmote = "bdogup", + ExitEmoteType = "Exits" + } + }, + ["bdogprided"] = { + "creatures@rottweiler@amb@world_dog_sitting@base", + "base", + "Sit Pride D - Lesbian (big dog)", + AnimationOptions = { + Prop = 'lilprideflag4', -- Lesbian + PropBone = 31086, + PropPlacement = { + 0.1900, + 0.0000, + -0.0500, + 100.0000, + 90.0000, + 0.0000 + }, + SecondProp = 'lilprideflag4', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.1940, + 0.020, + -0.0500, + -90.0000, + -90.0000, + 0.0000 + }, + EmoteLoop = true, + ExitEmote = "bdogup", + ExitEmoteType = "Exits" + } + }, + ["bdogpridee"] = { + "creatures@rottweiler@amb@world_dog_sitting@base", + "base", + "Sit Pride E - Pansexual (big dog)", + AnimationOptions = { + Prop = 'lilprideflag5', -- Pansexual + PropBone = 31086, + PropPlacement = { + 0.1900, + 0.0000, + -0.0500, + 100.0000, + 90.0000, + 0.0000 + }, + SecondProp = 'lilprideflag5', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.1940, + 0.020, + -0.0500, + -90.0000, + -90.0000, + 0.0000 + }, + EmoteLoop = true, + ExitEmote = "bdogup", + ExitEmoteType = "Exits" + } + }, + ["bdogpridef"] = { + "creatures@rottweiler@amb@world_dog_sitting@base", + "base", + "Sit Pride F - Transgender (big dog)", + AnimationOptions = { + Prop = 'lilprideflag6', -- Transgender + PropBone = 31086, + PropPlacement = { + 0.1900, + 0.0000, + -0.0500, + 100.0000, + 90.0000, + 0.0000 + }, + SecondProp = 'lilprideflag6', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.1940, + 0.020, + -0.0500, + -90.0000, + -90.0000, + 0.0000 + }, + EmoteLoop = true, + ExitEmote = "bdogup", + ExitEmoteType = "Exits" + } + }, + ["bdogprideg"] = { + "creatures@rottweiler@amb@world_dog_sitting@base", + "base", + "Sit Pride G - Non Binary (big dog)", + AnimationOptions = { + Prop = 'lilprideflag7', -- Non Binary + PropBone = 31086, + PropPlacement = { + 0.1900, + 0.0000, + -0.0500, + 100.0000, + 90.0000, + 0.0000 + }, + SecondProp = 'lilprideflag7', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.1940, + 0.020, + -0.0500, + -90.0000, + -90.0000, + 0.0000 + }, + EmoteLoop = true, + ExitEmote = "bdogup", + ExitEmoteType = "Exits" + } + }, + ["bdogprideh"] = { + "creatures@rottweiler@amb@world_dog_sitting@base", + "base", + "Sit Pride H - Asexual (big dog)", + AnimationOptions = { + Prop = 'lilprideflag8', -- Asexual + PropBone = 31086, + PropPlacement = { + 0.1900, + 0.0000, + -0.0500, + 100.0000, + 90.0000, + 0.0000 + }, + SecondProp = 'lilprideflag8', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.1940, + 0.020, + -0.0500, + -90.0000, + -90.0000, + 0.0000 + }, + EmoteLoop = true, + ExitEmote = "bdogup", + ExitEmoteType = "Exits" + } + }, + ["bdogpridei"] = { + "creatures@rottweiler@amb@world_dog_sitting@base", + "base", + "Sit Pride I - Straight Ally (big dog)", + AnimationOptions = { + Prop = 'lilprideflag9', -- Straight Ally + PropBone = 31086, + PropPlacement = { + 0.1900, + 0.0000, + -0.0500, + 100.0000, + 90.0000, + 0.0000 + }, + SecondProp = 'lilprideflag9', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.1940, + 0.020, + -0.0500, + -90.0000, + -90.0000, + 0.0000 + }, + EmoteLoop = true, + ExitEmote = "bdogup", + ExitEmoteType = "Exits" + } + }, + ["bdogfw"] = { + "creatures@rottweiler@amb@world_dog_sitting@base", + "nill", + "Firework - Big Dog", + AnimationOptions = { + Prop = 'ind_prop_firework_01', --- blue, green, red, purple pink, cyan, yellow, white + PtfxColor = {{R = 255, G = 0, B = 0, A = 1.0}, {R = 0, G = 255, B = 0, A = 1.0}, {R = 0, G = 0, B = 255, A = 1.0}, {R = 177, G = 5, B = 245, A = 1.0}, {R = 251, G = 3, B = 255, A = 1.0}, {R = 2, G = 238, B = 250, A = 1.0}, {R = 252, G = 248, B = 0, A = 1.0}, {R = 245, G = 245, B = 245, A = 1.0}}, + PropBone = 31086, + PropPlacement = { + 0.1400, + 0.3300, + -0.0800, + -85.6060, + -176.7400, + -9.8767 + }, + EmoteLoop = true, + EmoteMoving = true, + PtfxAsset = "scr_indep_fireworks", + PtfxName = "scr_indep_firework_trail_spawn", + PtfxPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['firework'], + PtfxWait = 200 + } + }, + + ---- ANIMAL EMOTES ---- + ---- SMALL DOG ---- + + ["sdogbark"] = { + "creatures@pug@amb@world_dog_barking@idle_a", + "idle_a", + "Bark (small dog)", + AnimationOptions = { + EmoteLoop = true + } + }, + ["sdogitch"] = { + "creatures@pug@amb@world_dog_sitting@idle_a", + "idle_a", + "Itch (small dog)", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdogsit"] = { + "creatures@pug@amb@world_dog_sitting@idle_a", + "idle_b", + "Sit (small dog)", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdogld"] = { + "misssnowie@little_doggy_lying_down", + "base", + "Lay Down (small dog)", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdogshake"] = { + "creatures@pug@amb@world_dog_barking@idle_a", + "idle_c", + "Shake (small dog)", + AnimationOptions = { + EmoteLoop = true + } + }, + ["sdogdance"] = { + "creatures@pug@move", + "idle_turn_0", + "Dance (small dog)", + AnimationOptions = { + Prop = 'ba_prop_battle_glowstick_01', + PropBone = 31086, + PropPlacement = { + 0.1500, + -0.0300, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogdance2"] = { + "creatures@pug@move", + "idle_turn_0", + "Dance 2 (small dog)", + AnimationOptions = { + Prop = 'ba_prop_battle_glowstick_01', + PropBone = 31086, + PropPlacement = { + 0.1500, + -0.0300, + 0.0, + 0.0, + 0.0 + }, + SecondProp = 'prop_cs_sol_glasses', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.0500, + 0.0300, + 0.000, + -100.0000003, + 90.00, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogdancepridea"] = { + "creatures@pug@move", + "idle_turn_0", + "Dance Pride A (small dog)", + AnimationOptions = { + Prop = 'lilprideflag1', + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + SecondProp = 'prop_cs_sol_glasses', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.0500, + 0.0300, + 0.000, + -100.0000003, + 90.00, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogdanceprideb"] = { + "creatures@pug@move", + "idle_turn_0", + "Dance Pride B - LGBTQIA (small dog)", + AnimationOptions = { + Prop = 'lilprideflag2', -- LGBTQIA + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + SecondProp = 'prop_cs_sol_glasses', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.0500, + 0.0300, + 0.000, + -100.0000003, + 90.00, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogdancepridec"] = { + "creatures@pug@move", + "idle_turn_0", + "Dance Pride C - Bisexual (small dog)", + AnimationOptions = { + Prop = 'lilprideflag3', -- Bisexual + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + SecondProp = 'prop_cs_sol_glasses', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.0500, + 0.0300, + 0.000, + -100.0000003, + 90.00, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogdanceprided"] = { + "creatures@pug@move", + "idle_turn_0", + "Dance Pride D - Lesbian (small dog)", + AnimationOptions = { + Prop = 'lilprideflag4', -- Lesbian + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + SecondProp = 'prop_cs_sol_glasses', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.0500, + 0.0300, + 0.000, + -100.0000003, + 90.00, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogdancepridee"] = { + "creatures@pug@move", + "idle_turn_0", + "Dance Pride E - Pansexual (small dog)", + AnimationOptions = { + Prop = 'lilprideflag5', -- Pansexual + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + SecondProp = 'prop_cs_sol_glasses', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.0500, + 0.0300, + 0.000, + -100.0000003, + 90.00, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogdancepridef"] = { + "creatures@pug@move", + "idle_turn_0", + "Dance Pride F - Transgender (small dog)", + AnimationOptions = { + Prop = 'lilprideflag6', -- Transgender + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + SecondProp = 'prop_cs_sol_glasses', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.0500, + 0.0300, + 0.000, + -100.0000003, + 90.00, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogdanceprideg"] = { + "creatures@pug@move", + "idle_turn_0", + "Dance Pride G - Non Binary (small dog)", + AnimationOptions = { + Prop = 'lilprideflag7', -- Non Binary + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + SecondProp = 'prop_cs_sol_glasses', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.0500, + 0.0300, + 0.000, + -100.0000003, + 90.00, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogdanceprideh"] = { + "creatures@pug@move", + "idle_turn_0", + "Dance Pride H - Asexual (small dog)", + AnimationOptions = { + Prop = 'lilprideflag8', -- Asexual + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + SecondProp = 'prop_cs_sol_glasses', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.0500, + 0.0300, + 0.000, + -100.0000003, + 90.00, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogdancepridei"] = { + "creatures@pug@move", + "idle_turn_0", + "Dance Pride I - Straight Ally (small dog)", + AnimationOptions = { + Prop = 'lilprideflag9', -- Straight Ally + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + SecondProp = 'prop_cs_sol_glasses', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.0500, + 0.0300, + 0.000, + -100.0000003, + 90.00, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogbb"] = { + "creatures@pug@move", + "nill", + "Baseball (small dog)", + AnimationOptions = { + Prop = 'w_am_baseball', + PropBone = 31086, + PropPlacement = { + 0.1500, + -0.0500, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogburger"] = { + "creatures@pug@move", + "nill", + "Burger (small dog)", + AnimationOptions = { + Prop = 'prop_cs_burger_01', + PropBone = 31086, + PropPlacement = { + 0.1500, + -0.0400, + 0.0000, + -90.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogcontroller"] = { + "creatures@pug@move", + "nill", + "Controller (small dog)", + AnimationOptions = { + Prop = 'prop_controller_01', + PropBone = 31086, + PropPlacement = { + 0.1800, + -0.0300, + 0.0000, + -180.000, + 90.0000, + 0.0000 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogdolla"] = { + "creatures@pug@move", + "nill", + "Dollar Bill (small dog)", + AnimationOptions = { + Prop = 'p_banknote_onedollar_s', + PropBone = 31086, + PropPlacement = { + 0.1700, + -0.0100, + 0.0000, + 90.0000, + 0.0000, + 0.000 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogdolla2"] = { + "creatures@pug@move", + "nill", + "Dollar Bill Scrunched (small dog)", + AnimationOptions = { + Prop = 'bkr_prop_scrunched_moneypage', + PropBone = 31086, + PropPlacement = { + 0.1700, + 0.000, + 0.0000, + 90.0000, + 00.0000, + 00.0000 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogdolla3"] = { + "creatures@pug@move", + "nill", + "Money Stack (small dog)", + AnimationOptions = { + Prop = 'bkr_prop_money_wrapped_01', + PropBone = 31086, + PropPlacement = { + 0.1700, + -0.0100, + 0.0000, + 90.0000, + 0.0000, + 0.000 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogdolla4"] = { + "creatures@pug@move", + "nill", + "Money Bag (small dog)", + AnimationOptions = { + Prop = 'ch_prop_ch_moneybag_01a', + PropBone = 31086, + PropPlacement = { + 0.1200, + -0.2000, + 0.0000, + -79.9999997, + 90.00, + 0.0000 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogmic"] = { + "creatures@pug@move", + "nill", + "Microphone (small dog)", + AnimationOptions = { + Prop = 'p_ing_microphonel_01', + PropBone = 31086, + PropPlacement = { + 0.1500, + -0.0170, + 0.0300, + 0.000, + 0.0000, + 0.0000 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogteddy"] = { + "creatures@pug@move", + "nill", + "Teddy (small dog)", + AnimationOptions = { + Prop = 'v_ilev_mr_rasberryclean', + PropBone = 31086, + PropPlacement = { + 0.1500, + -0.1100, + -0.23, + 0.000, + 0.0000, + 0.0000 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogteddy2"] = { + "creatures@pug@amb@world_dog_sitting@idle_a", + "idle_b", + "Teddy 2 (small dog)", + AnimationOptions = { + Prop = 'v_ilev_mr_rasberryclean', + PropBone = 31086, + PropPlacement = { + 0.1500, + -0.1100, + -0.23, + 0.000, + 0.0000, + 0.0000 + }, + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdogtennis"] = { + "creatures@pug@move", + "nill", + "Tennis Ball (small dog)", + AnimationOptions = { + Prop = 'prop_tennis_ball', + PropBone = 31086, + PropPlacement = { + 0.1500, + -0.0600, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogtennisr"] = { + "creatures@pug@move", + "nill", + "Tennis Racket (small dog)", + AnimationOptions = { + Prop = 'prop_tennis_rack_01', + PropBone = 31086, + PropPlacement = { + 0.1500, + -0.0200, + 0.00, + 0.000, + 0.0000, + -28.0000 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogrose"] = { + "creatures@pug@move", + "nill", + "Rose (small dog)", + AnimationOptions = { + Prop = 'prop_single_rose', + PropBone = 12844, + PropPlacement = { + 0.1090, + -0.0140, + 0.0500, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogrose2"] = { + "creatures@pug@amb@world_dog_sitting@idle_a", + "idle_b", + "Rose Sit (small dog)", + AnimationOptions = { + Prop = 'prop_single_rose', + PropBone = 12844, + PropPlacement = { + 0.1090, + -0.0140, + 0.0500, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdogggun"] = { + "creatures@pug@move", + "nill", + "Gun Gold (small dog)", + AnimationOptions = { + Prop = 'w_pi_pistol_luxe', + PropBone = 12844, + PropPlacement = { + 0.2010, + -0.0080, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdoggun2"] = { + "creatures@pug@amb@world_dog_sitting@idle_a", + "idle_b", + "Gun Gold Sit (small dog)", + AnimationOptions = { + Prop = 'w_pi_pistol_luxe', + PropBone = 12844, + PropPlacement = { + 0.2010, + -0.0080, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdogstun"] = { + "creatures@pug@move", + "nill", + "Stun Gun (small dog)", + AnimationOptions = { + Prop = 'w_pi_stungun', + PropBone = 12844, + PropPlacement = { + 0.1400, + -0.0100, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "core", + PtfxName = "blood_stungun", + PtfxPlacement = { + 0.208, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['stun'], + PtfxWait = 200 + } + }, + ["sdoggl1"] = { + "creatures@pug@move", + "nill", + "Aviators (small dog)", + AnimationOptions = { + Prop = 'prop_aviators_01', + PropBone = 31086, + PropPlacement = { + 0.0500, + 0.0400, + 0.000, + -90.00, + 90.00, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdoggl2"] = { + "creatures@pug@amb@world_dog_sitting@idle_a", + "idle_b", + "Aviators Sitting (small dog)", + AnimationOptions = { + Prop = 'prop_aviators_01', + PropBone = 31086, + PropPlacement = { + 0.0500, + 0.0400, + 0.000, + -90.00, + 90.00, + 0.00 + }, + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdoggl3"] = { + "creatures@pug@move", + "nill", + "Sunglasses (small dog)", + AnimationOptions = { + Prop = 'prop_cs_sol_glasses', + PropBone = 31086, + PropPlacement = { + 0.0500, + 0.0300, + 0.000, + -100.0000003, + 90.00, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdoggl4"] = { + "creatures@pug@amb@world_dog_sitting@idle_a", + "idle_b", + "Sunglasses Sitting (small dog)", + AnimationOptions = { + Prop = 'prop_cs_sol_glasses', + PropBone = 31086, + PropPlacement = { + 0.0500, + 0.0300, + 0.000, + -100.0000003, + 90.00, + 0.00 + }, + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdoghd1"] = { + "creatures@pug@move", + "nill", + "Hot Dog (small dog)", + AnimationOptions = { + Prop = 'prop_cs_hotdog_01', + PropBone = 31086, + PropPlacement = { + 0.1300, + -0.0250, + 0.000, + -88.272053, + -9.8465858, + -0.1488562 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdoghd2"] = { + "creatures@pug@amb@world_dog_sitting@idle_a", + "idle_b", + "Hot Dog Sitting (small dog)", + AnimationOptions = { + Prop = 'prop_cs_hotdog_01', + PropBone = 31086, + PropPlacement = { + 0.1300, + -0.0250, + 0.000, + -88.272053, + -9.8465858, + -0.1488562 + }, + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdoghlmt1"] = { + "creatures@pug@move", + "nill", + "Helmet 1 (small dog)", + AnimationOptions = { + Prop = 'ba_prop_battle_sports_helmet', + PropBone = 31086, + PropPlacement = { + 0.00, + -0.0200, + 0.000, + -90.00, + 90.00, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdoghlmt2"] = { + "creatures@pug@move", + "nill", + "Helmet 2 (small dog)", + AnimationOptions = { + Prop = 'prop_hard_hat_01', + PropBone = 31086, + PropPlacement = { + 0.00, + 0.1300, + 0.000, + -90.00, + 90.00, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdoghat"] = { + "creatures@pug@move", + "nill", + "Hat 1 (small dog)", + AnimationOptions = { + Prop = 'prop_proxy_hat_01', + PropBone = 31086, + PropPlacement = { + 0.0, + 0.1200, + 0.000, + -99.8510766, + 80.1489234, + 1.7279411 + }, + SecondProp = 'prop_aviators_01', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.0500, + 0.0400, + 0.000, + -90.00, + 90.00, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdoghat2"] = { + "creatures@pug@amb@world_dog_sitting@idle_a", + "idle_b", + "Hat 2 Sitting (small dog)", + AnimationOptions = { + Prop = 'prop_proxy_hat_01', + PropBone = 31086, + PropPlacement = { + 0.0, + 0.1200, + 0.000, + -99.8510766, + 80.1489234, + 1.7279411 + }, + SecondProp = 'prop_aviators_01', + SecondPropBone = 31086, + SecondPropPlacement = { + 0.0500, + 0.0400, + 0.000, + -90.00, + 90.00, + 0.00 + }, + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdogsteak"] = { + "creatures@pug@move", + "nill", + "Steak (small dog)", + AnimationOptions = { + Prop = 'prop_cs_steak', + PropBone = 31086, + PropPlacement = { + 0.1800, + -0.0200, + 0.000, + 90.00, + 0.00, + 0.00 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogsteak2"] = { + "creatures@pug@amb@world_dog_sitting@idle_a", + "idle_c", + "Steak 2 Lay Down (small dog)", + AnimationOptions = { + Prop = 'prop_cs_steak', + PropBone = 31086, + PropPlacement = { + 0.1800, + -0.0200, + 0.000, + 90.00, + 0.00, + 0.00 + }, + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdogpridea"] = { + "creatures@pug@move", + "nill", + "Pride A (small dog)", + AnimationOptions = { + Prop = 'lilprideflag1', + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogprideb"] = { + "creatures@pug@move", + "nill", + "Pride B - LGBTQIA (small dog)", + AnimationOptions = { + Prop = 'lilprideflag2', -- LGBTQIA + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogpridec"] = { + "creatures@pug@move", + "nill", + "Pride C - Bisexual (small dog)", + AnimationOptions = { + Prop = 'lilprideflag3', -- Bisexual + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogprided"] = { + "creatures@pug@move", + "nill", + "Pride D - Lesbian (small dog)", + AnimationOptions = { + Prop = 'lilprideflag4', -- Lesbian + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogpridee"] = { + "creatures@pug@move", + "nill", + "Pride E - Pansexual (small dog)", + AnimationOptions = { + Prop = 'lilprideflag5', -- Pansexual + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogpridef"] = { + "creatures@pug@move", + "nill", + "Pride F - Transgender (small dog)", + AnimationOptions = { + Prop = 'lilprideflag6', -- Transgender + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogprideg"] = { + "creatures@pug@move", + "nill", + "Pride G - Non Binary (small dog)", + AnimationOptions = { + Prop = 'lilprideflag6', -- Non Binary + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogprideh"] = { + "creatures@pug@move", + "nill", + "Pride H - Non Binary (small dog)", + AnimationOptions = { + Prop = 'lilprideflag7', -- Non Binary + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogpridei"] = { + "creatures@pug@move", + "nill", + "Pride I - Asexual (small dog)", + AnimationOptions = { + Prop = 'lilprideflag8', -- Asexual + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sdogpridesita"] = { + "creatures@pug@amb@world_dog_sitting@idle_a", + "idle_b", + "Pride A Sit (small dog)", + AnimationOptions = { + Prop = 'lilprideflag1', + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdogpridesitb"] = { + "creatures@pug@amb@world_dog_sitting@idle_a", + "idle_b", + "Pride B Sit LGBTQIA (small dog)", + AnimationOptions = { + Prop = 'lilprideflag2', -- LGBTQIA + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdogpridesitc"] = { + "creatures@pug@amb@world_dog_sitting@idle_a", + "idle_b", + "Pride C Sit Bisexual (small dog)", + AnimationOptions = { + Prop = 'lilprideflag3', -- Bisexual + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdogpridesitd"] = { + "creatures@pug@amb@world_dog_sitting@idle_a", + "idle_b", + "Pride D Sit Lesbian (small dog)", + AnimationOptions = { + Prop = 'lilprideflag4', -- Lesbian + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdogpridesite"] = { + "creatures@pug@amb@world_dog_sitting@idle_a", + "idle_b", + "Pride E Sit Pansexual (small dog)", + AnimationOptions = { + Prop = 'lilprideflag5', -- Pansexual + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdogpridesitf"] = { + "creatures@pug@amb@world_dog_sitting@idle_a", + "idle_b", + "Pride F Sit Transgender (small dog)", + AnimationOptions = { + Prop = 'lilprideflag6', -- Transgender + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdogpridesitg"] = { + "creatures@pug@amb@world_dog_sitting@idle_a", + "idle_b", + "Pride G Sit Non Binary (small dog)", + AnimationOptions = { + Prop = 'lilprideflag7', -- Non Binary + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdogpridesith"] = { + "creatures@pug@amb@world_dog_sitting@idle_a", + "idle_b", + "Pride H Sit Asexual (small dog)", + AnimationOptions = { + Prop = 'lilprideflag8', + -- Asexual + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdogpridesiti"] = { + "creatures@pug@amb@world_dog_sitting@idle_a", + "idle_b", + "Pride I Sit Straight Ally (small dog)", + AnimationOptions = { + Prop = 'lilprideflag9', -- Straight Ally + PropBone = 31086, + PropPlacement = { + 0.1240, + -0.0080, + 0.000, + 0.0, + 0.0, + -74.6999 + }, + EmoteLoop = true, + ExitEmote = "sdogup", + ExitEmoteType = "Exits" + } + }, + ["sdogpee"] = { + "creatures@pug@move", + "nill", + "Pee (Small Dog)", + AnimationOptions = { + EmoteLoop = true, + PtfxAsset = "scr_amb_chop", + PtfxName = "ent_anim_dog_peeing", + PtfxNoProp = true, + PtfxPlacement = { + -0.01, + -0.17, + 0.09, + 0.0, + 90.0, + 140.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['pee'], + PtfxWait = 3000, + PtfxCanHold = true + } + }, + ["sdogshit"] = { + "creatures@pug@move", + "nill", + "Shit (Small Dog)", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true, + PtfxAsset = "scr_amb_chop", + PtfxName = "ent_anim_dog_poo", + PtfxNoProp = true, + PtfxBone = 11816, + PtfxPlacement = { + -0.0330, + 0.0210, + -0.0040, + 0.0, + 0.0, + 0.0, + 0.4 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['poop'], + PtfxWait = 2000, + PtfxCanHold = true + } + }, + ["sdogfw"] = { + "creatures@pug@move", + "nill", + "Firework - Small Dog", + AnimationOptions = { + Prop = 'ind_prop_firework_01', --- blue, green, red, purple pink, cyan, yellow, white + PtfxColor = {{R = 255, G = 0, B = 0, A = 1.0}, {R = 0, G = 255, B = 0, A = 1.0}, {R = 0, G = 0, B = 255, A = 1.0}, {R = 177, G = 5, B = 245, A = 1.0}, {R = 251, G = 3, B = 255, A = 1.0}, {R = 2, G = 238, B = 250, A = 1.0}, {R = 252, G = 248, B = 0, A = 1.0}, {R = 245, G = 245, B = 245, A = 1.0}}, + PropBone = 31086, + PropPlacement = { + 0.1330, + -0.0210, + -0.2760, + 0.0, + -180.0, + 44.0000 + }, + EmoteLoop = true, + EmoteMoving = true, + PtfxAsset = "scr_indep_fireworks", + PtfxName = "scr_indep_firework_trail_spawn", + PtfxPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['firework'], + PtfxWait = 200 + } + } +} + + +--- EXIT EMOTES --- + +RP.Exits = { + ["getup"] = { + "get_up@sat_on_floor@to_stand", + "getup_0", + "Get Up", + AnimationOptions = { + EmoteDuration = 2000 + } + }, + ["meditateup"] = { + "rcmcollect_paperleadinout@", + "meditate_getup", + "Meditate Get Up", + AnimationOptions = { + EmoteDuration = 2000 + } + }, + ["surrender_exit"] = { + "random@arrests", + "kneeling_arrest_get_up", + "Surrender Exit", + AnimationOptions = { + EmoteDuration = 2200 + } + }, + ["offchair"] = { + "switch@michael@sitting", + "exit_forward", + "Off Chair", + AnimationOptions = { + EmoteDuration = 1000 + } + }, + ["sdogup"] = { + "creatures@pug@amb@world_dog_sitting@exit", + "exit", + "Small Dog Get Up", + AnimationOptions = { + EmoteDuration = 1000 + } + }, + ["bdogup"] = { + "creatures@rottweiler@amb@world_dog_sitting@exit", + "exit", + "Big Dog Get Up", + AnimationOptions = { + EmoteDuration = 1000 + } + }, + ["bdogupk"] = { + "creatures@rottweiler@amb@sleep_in_kennel@", + "exit_kennel", + "Big Dog Get Up V2", + AnimationOptions = { + EmoteDuration = 5000 + } + } +} + + +--- EMOTES NO PROPS --- + +RP.Emotes = { + ["dispenser"] = { + "mini@sprunk", + "plyr_buy_drink_pt1", + "Dispenser", + AnimationOptions = + { + EmoteLoop = false + } + }, + ["beast"] = { + "anim@mp_fm_event@intro", + "beast_transform", + "Beast", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 5000 + } + }, + ["chill"] = { + "switch@trevor@scares_tramp", + "trev_scares_tramp_idle_tramp", + "Chill", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["cloudgaze"] = { + "switch@trevor@annoys_sunbathers", + "trev_annoys_sunbathers_loop_girl", + "Cloudgaze", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["cloudgaze2"] = { + "switch@trevor@annoys_sunbathers", + "trev_annoys_sunbathers_loop_guy", + "Cloudgaze 2", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["prone"] = { + "missfbi3_sniping", + "prone_dave", + "Prone", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["pullover"] = { + "misscarsteal3pullover", + "pull_over_right", + "Pullover", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 1300 + } + }, + ["idle"] = { + "anim@heists@heist_corona@team_idles@male_a", + "idle", + "Idle", + AnimationOptions = { + EmoteLoop = true + } + }, + ["idle8"] = { + "amb@world_human_hang_out_street@male_b@idle_a", + "idle_b", + "Idle 8" + }, + ["idle9"] = { + "friends@fra@ig_1", + "base_idle", + "Idle 9", + AnimationOptions = { + EmoteLoop = true + } + }, + ["idle10"] = { + "mp_move@prostitute@m@french", + "idle", + "Idle 10", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["idle11"] = { + "random@countrysiderobbery", + "idle_a", + "Idle 11", + AnimationOptions = { + EmoteLoop = true + } + }, + ["idle2"] = { + "anim@heists@heist_corona@team_idles@female_a", + "idle", + "Idle 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["idle3"] = { + "anim@heists@humane_labs@finale@strip_club", + "ped_b_celebrate_loop", + "Idle 3", + AnimationOptions = { + EmoteLoop = true + } + }, + ["idle4"] = { + "anim@mp_celebration@idles@female", + "celebration_idle_f_a", + "Idle 4", + AnimationOptions = { + EmoteLoop = true + } + }, + ["idle5"] = { + "anim@mp_corona_idles@female_b@idle_a", + "idle_a", + "Idle 5", + AnimationOptions = { + EmoteLoop = true + } + }, + ["idle6"] = { + "anim@mp_corona_idles@male_c@idle_a", + "idle_a", + "Idle 6", + AnimationOptions = { + EmoteLoop = true + } + }, + ["idle7"] = { + "anim@mp_corona_idles@male_d@idle_a", + "idle_a", + "Idle 7", + AnimationOptions = { + EmoteLoop = true + } + }, + ["idledrunk"] = { + "random@drunk_driver_1", + "drunk_driver_stand_loop_dd1", + "Idle Drunk", + AnimationOptions = { + EmoteLoop = true + } + }, + ["idledrunk2"] = { + "random@drunk_driver_1", + "drunk_driver_stand_loop_dd2", + "Idle Drunk 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["idledrunk3"] = { + "missarmenian2", + "standing_idle_loop_drunk", + "Idle Drunk 3", + AnimationOptions = { + EmoteLoop = true + } + }, + ["airguitar"] = { + "anim@mp_player_intcelebrationfemale@air_guitar", + "air_guitar", + "Air Guitar" + }, + ["airsynth"] = { + "anim@mp_player_intcelebrationfemale@air_synth", + "air_synth", + "Air Synth" + }, + ["argue"] = { + "misscarsteal4@actor", + "actor_berating_loop", + "Argue", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["argue2"] = { + "oddjobs@assassinate@vice@hooker", + "argue_a", + "Argue 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["argue3"] = { + "missheistdockssetup1leadinoutig_1", + "lsdh_ig_1_argue_wade", + "Argue 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["argue4"] = { + "car_2_mcs_1-6", + "cs_devin_dual-6", + "Argue 4", + AnimationOptions = { + EmoteDuration = 6000, + EmoteMoving = true + } + }, + ["argue5"] = { + "anim@amb@casino@brawl@fights@argue@", + "arguement_loop_mp_m_brawler_01", + "Argue Angry 1", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["argue6"] = { + "anim@amb@casino@brawl@fights@argue@", + "arguement_loop_mp_m_brawler_02", + "Argue Angry 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["bartender"] = { + "anim@amb@clubhouse@bar@drink@idle_a", + "idle_a_bartender", + "Bartender", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["blowkiss"] = { + "anim@mp_player_intcelebrationfemale@blow_kiss", + "blow_kiss", + "Blow Kiss" + }, + ["blowkiss2"] = { + "anim@mp_player_intselfieblow_kiss", + "exit", + "Blow Kiss 2", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 2000 + } + }, + ["curtsy"] = { + "anim@mp_player_intcelebrationpaired@f_f_sarcastic", + "sarcastic_left", + "Curtsy" + }, + ["bringiton"] = { + "misscommon@response", + "bring_it_on", + "Bring It On", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 3000 + } + }, + ["comeatmebro"] = { + "mini@triathlon", + "want_some_of_this", + "Come at me bro", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 2000 + } + }, + ["cop2"] = { + "anim@amb@nightclub@peds@", + "rcmme_amanda1_stand_loop_cop", + "Cop 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["cop3"] = { + "amb@code_human_police_investigate@idle_a", + "idle_b", + "Cop 3", + AnimationOptions = { + EmoteLoop = true + } + }, + ["crossarms"] = { + "amb@world_human_hang_out_street@female_arms_crossed@idle_a", + "idle_a", + "Crossarms", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["crossarms2"] = { + "amb@world_human_hang_out_street@male_c@idle_a", + "idle_b", + "Crossarms 2", + AnimationOptions = { + EmoteMoving = true + } + }, + ["crossarms3"] = { + "anim@heists@heist_corona@single_team", + "single_team_loop_boss", + "Crossarms 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["crossarms4"] = { + "random@street_race", + "_car_b_lookout", + "Crossarms 4", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["crossarms5"] = { + "anim@amb@nightclub@peds@", + "rcmme_amanda1_stand_loop_cop", + "Crossarms 5", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["foldarms2"] = { + "anim@amb@nightclub@peds@", + "rcmme_amanda1_stand_loop_cop", + "Fold Arms 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["crossarms6"] = { + "random@shop_gunstore", + "_idle", + "Crossarms 6", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["foldarms"] = { + "anim@amb@business@bgen@bgen_no_work@", + "stand_phone_phoneputdown_idle_nowork", + "Fold Arms", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["crossarmsside"] = { + "rcmnigel1a_band_groupies", + "base_m2", + "Crossarms Side", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["damn"] = { + "gestures@m@standing@casual", + "gesture_damn", + "Damn", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 1000 + } + }, + ["damn2"] = { + "anim@am_hold_up@male", + "shoplift_mid", + "Damn 2", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 1000 + } + }, + ["pointdown"] = { + "gestures@f@standing@casual", + "gesture_hand_down", + "Point Down", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 1000 + } + }, + ["surrender"] = { + "random@arrests@busted", + "idle_a", + "Surrender", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "surrender_exit", + ExitEmoteType = "Exits" + } + }, + ["surrender2"] = { + "mp_bank_heist_1", + "f_cower_02", + "Surrender 2", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["surrender3"] = { + "mp_bank_heist_1", + "m_cower_01", + "Surrender 3", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["surrender4"] = { + "mp_bank_heist_1", + "m_cower_02", + "Surrender 4", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["surrender5"] = { + "random@arrests", + "kneeling_arrest_idle", + "Surrender 5", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "surrender_exit", + ExitEmoteType = "Exits" + } + }, + ["surrender6"] = { + "rcmbarry", + "m_cower_01", + "Surrender 6", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["facepalm2"] = { + "anim@mp_player_intcelebrationfemale@face_palm", + "face_palm", + "Facepalm 2", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 8000 + } + }, + ["facepalm"] = { + "random@car_thief@agitated@idle_a", + "agitated_idle_a", + "Facepalm", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 8000 + } + }, + ["facepalm3"] = { + "missminuteman_1ig_2", + "tasered_2", + "Facepalm 3", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 8000 + } + }, + ["facepalm4"] = { + "anim@mp_player_intupperface_palm", + "idle_a", + "Facepalm 4", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + } + }, + ["fallover"] = { + "random@drunk_driver_1", + "drunk_fall_over", + "Fall Over" + }, + ["fallover2"] = { + "mp_suicide", + "pistol", + "Fall Over 2" + }, + ["fallover3"] = { + "mp_suicide", + "pill", + "Fall Over 3" + }, + ["fallover4"] = { + "friends@frf@ig_2", + "knockout_plyr", + "Fall Over 4" + }, + ["fallover5"] = { + "anim@gangops@hostage@", + "victim_fail", + "Fall Over 5" + }, + ["fallasleep"] = { + "mp_sleep", + "sleep_loop", + "Fall Asleep", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + } + }, + ["fightme"] = { + "anim@deathmatch_intros@unarmed", + "intro_male_unarmed_c", + "Fight Me" + }, + ["fightme2"] = { + "anim@deathmatch_intros@unarmed", + "intro_male_unarmed_e", + "Fight Me 2" + }, + ["finger"] = { + "anim@mp_player_intselfiethe_bird", + "idle_a", + "Finger", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["finger2"] = { + "anim@mp_player_intupperfinger", + "idle_a_fp", + "Finger 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["handshake"] = { + "mp_ped_interaction", + "handshake_guy_a", + "Handshake", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 3000 + } + }, + ["handshake2"] = { + "mp_ped_interaction", + "handshake_guy_b", + "Handshake 2", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 3000 + } + }, + ["wait"] = { + "random@shop_tattoo", + "_idle_a", + "Wait", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wait2"] = { + "missbigscore2aig_3", + "wait_for_van_c", + "Wait 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wait3"] = { + "amb@world_human_hang_out_street@female_hold_arm@idle_a", + "idle_a", + "Wait 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wait4"] = { + "amb@world_human_hang_out_street@Female_arm_side@idle_a", + "idle_a", + "Wait 4", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wait5"] = { + "missclothing", + "idle_storeclerk", + "Wait 5", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wait6"] = { + "timetable@amanda@ig_2", + "ig_2_base_amanda", + "Wait 6", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wait7"] = { + "rcmnigel1cnmt_1c", + "base", + "Wait 7", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wait8"] = { + "rcmjosh1", + "idle", + "Wait 8", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wait9"] = { + "rcmjosh2", + "josh_2_intp1_base", + "Wait 9", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wait10"] = { + "timetable@amanda@ig_3", + "ig_3_base_tracy", + "Wait 10", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wait11"] = { + "misshair_shop@hair_dressers", + "keeper_base", + "Wait 11", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wait12"] = { + "rcmjosh1", + "keeper_base", + "Wait 12", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wait13"] = { + "rcmnigel1a", + "base", + "Wait 13", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["hiking"] = { + "move_m@hiking", + "idle", + "Hiking", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["hugme"] = { + "mp_ped_interaction", + "kisses_guy_a", + "Hug Me" + }, + ["hugme2"] = { + "mp_ped_interaction", + "kisses_guy_b", + "Hug Me 2" + }, + ["inspect"] = { + "random@train_tracks", + "idle_e", + "Inspect" + }, + ["jazzhands"] = { + "anim@mp_player_intcelebrationfemale@jazz_hands", + "jazz_hands", + "Jazzhands", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 6000 + } + }, + ["jog2"] = { + "amb@world_human_jog_standing@male@idle_a", + "idle_a", + "Jog 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["jog3"] = { + "amb@world_human_jog_standing@female@idle_a", + "idle_a", + "Jog 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["jog4"] = { + "amb@world_human_power_walker@female@idle_a", + "idle_a", + "Jog 4", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["jog5"] = { + "move_m@joy@a", + "walk", + "Jog 5", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["jumpingjacks"] = { + "timetable@reunited@ig_2", + "jimmy_getknocked", + "Jumping Jacks", + AnimationOptions = { + EmoteLoop = true + } + }, + ["kneel2"] = { + "rcmextreme3", + "idle", + "Kneel 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["kneel3"] = { + "amb@world_human_bum_wash@male@low@idle_a", + "idle_a", + "Kneel 3", + AnimationOptions = { + EmoteLoop = true + } + }, + ["kneelthot"] = { + "anim@model_kylie_insta", + "kylie_insta_clip", + "Kneel Thot Instagram", + AnimationOptions = { + EmoteLoop = true + } + }, + ["knock"] = { + "timetable@jimmy@doorknock@", + "knockdoor_idle", + "Knock", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + } + }, + ["knock2"] = { + "missheistfbi3b_ig7", + "lift_fibagent_loop", + "Knock 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["knucklecrunch"] = { + "anim@mp_player_intcelebrationfemale@knuckle_crunch", + "knuckle_crunch", + "Knuckle Crunch", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["lean2"] = { + "amb@world_human_leaning@female@wall@back@hand_up@idle_a", + "idle_a", + "Lean 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["lean3"] = { + "amb@world_human_leaning@female@wall@back@holding_elbow@idle_a", + "idle_a", + "Lean 3", + AnimationOptions = { + EmoteLoop = true + } + }, + ["lean4"] = { + "amb@world_human_leaning@male@wall@back@foot_up@idle_a", + "idle_a", + "Lean 4", + AnimationOptions = { + EmoteLoop = true + } + }, + ["lean5"] = { + "amb@world_human_leaning@male@wall@back@hands_together@idle_b", + "idle_b", + "Lean 5", + AnimationOptions = { + EmoteLoop = true + } + }, + ["leanflirt"] = { + "random@street_race", + "_car_a_flirt_girl", + "Lean Flirt", + AnimationOptions = { + EmoteLoop = true + } + }, + ["leanbar2"] = { + "amb@prop_human_bum_shopping_cart@male@idle_a", + "idle_c", + "Lean Bar 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["leanbar3"] = { + "anim@amb@nightclub@lazlow@ig1_vip@", + "clubvip_base_laz", + "Lean Bar 3", + AnimationOptions = { + EmoteLoop = true + } + }, + ["leanbar4"] = { + "anim@heists@prison_heist", + "ped_b_loop_a", + "Lean Bar 4", + AnimationOptions = { + EmoteLoop = true + } + }, + ["leanhigh"] = { + "anim@mp_ferris_wheel", + "idle_a_player_one", + "Lean High", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["leanhigh2"] = { + "anim@mp_ferris_wheel", + "idle_a_player_two", + "Lean High 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["leanside"] = { + "timetable@mime@01_gc", + "idle_a", + "Leanside", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["leanside2"] = { + "misscarstealfinale", + "packer_idle_1_trevor", + "Leanside 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["leanside3"] = { + "misscarstealfinalecar_5_ig_1", + "waitloop_lamar", + "Leanside 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["leanside4"] = { + "misscarstealfinalecar_5_ig_1", + "waitloop_lamar", + "Leanside 4", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["leanside5"] = { + "rcmjosh2", + "josh_2_intp1_base", + "Leanside 5", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["me"] = { + "gestures@f@standing@casual", + "gesture_me_hard", + "Me", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 1000 + } + }, + ["mechanic"] = { + "mini@repair", + "fixing_a_ped", + "Mechanic", + AnimationOptions = { + EmoteLoop = true + } + }, + ["mechanic2"] = { + "mini@repair", + "fixing_a_player", + "Mechanic 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["mechanic3"] = { + "amb@world_human_vehicle_mechanic@male@base", + "base", + "Mechanic 3", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["mechanic4"] = { + "anim@amb@clubhouse@tutorial@bkr_tut_ig3@", + "machinic_loop_mechandplayer", + "Mechanic 4", + AnimationOptions = { + EmoteLoop = true + } + }, + ["mechanic5"] = { + "amb@prop_human_movie_bulb@idle_a", + "idle_b", + "Mechanic 5", + AnimationOptions = { + EmoteLoop = true + } + }, + ["medic2"] = { + "amb@medic@standing@tendtodead@base", + "base", + "Medic 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["meditate"] = { + "rcmcollect_paperleadinout@", + "meditiate_idle", + "Meditiate", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "meditateup", + ExitEmoteType = "Exits" + } + }, + ["meditate2"] = { + "rcmepsilonism3", + "ep_3_rcm_marnie_meditating", + "Meditiate 2", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "meditateup", + ExitEmoteType = "Exits" + } + }, + ["meditate3"] = { + "rcmepsilonism3", + "base_loop", + "Meditiate 3", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "meditateup", + ExitEmoteType = "Exits" + } + }, + ["metal"] = { + "anim@mp_player_intincarrockstd@ps@", + "idle_a", + "Metal", + AnimationOptions = { + -- CHANGE ME + EmoteLoop = true, + EmoteMoving = true + } + }, + ["no"] = { + "anim@heists@ornate_bank@chat_manager", + "fail", + "No", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["no2"] = { + "mp_player_int_upper_nod", + "mp_player_int_nod_no", + "No 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["nosepick"] = { + "anim@mp_player_intcelebrationfemale@nose_pick", + "nose_pick", + "Nose Pick", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["noway"] = { + "gestures@m@standing@casual", + "gesture_no_way", + "No Way", + AnimationOptions = { + EmoteDuration = 1500, + EmoteMoving = true + } + }, + ["ok"] = { + "anim@mp_player_intselfiedock", + "idle_a", + "OK", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["dock"] = { + "anim@mp_player_intincardockstd@rds@", + "idle_a", + "Dock", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["outofbreath"] = { + "re@construction", + "out_of_breath", + "Out of Breath", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["pickup"] = { + "random@domestic", + "pickup_low", + "Pickup" + }, + ["push"] = { + "missfinale_c2ig_11", + "pushcar_offcliff_f", + "Push", + AnimationOptions = { + EmoteLoop = true + } + }, + ["push2"] = { + "missfinale_c2ig_11", + "pushcar_offcliff_m", + "Push 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["point"] = { + "gestures@f@standing@casual", + "gesture_point", + "Point", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["pushup"] = { + "amb@world_human_push_ups@male@idle_a", + "idle_d", + "Pushup", + AnimationOptions = { + EmoteLoop = true + } + }, + ["countdown"] = { + "random@street_race", + "grid_girl_race_start", + "Countdown", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["pointright"] = { + "mp_gun_shop_tut", + "indicate_right", + "Point Right", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["salute"] = { + "anim@mp_player_intincarsalutestd@ds@", + "idle_a", + "Salute", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["salute2"] = { + "anim@mp_player_intincarsalutestd@ps@", + "idle_a", + "Salute 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["salute3"] = { + "anim@mp_player_intuppersalute", + "idle_a", + "Salute 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["scared"] = { + "random@domestic", + "f_distressed_loop", + "Scared", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["scared2"] = { + "random@homelandsecurity", + "knees_loop_girl", + "Scared 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["screwyou"] = { + "misscommon@response", + "screw_you", + "Screw You", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["shakeoff"] = { + "move_m@_idles@shake_off", + "shakeoff_1", + "Shake Off", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 3500 + } + }, + ["shot"] = { + "random@dealgonewrong", + "idle_a", + "Shot", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["sleep"] = { + "timetable@tracy@sleep@", + "base", + "Sleep", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["shrug"] = { + "gestures@f@standing@casual", + "gesture_shrug_hard", + "Shrug", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 1000 + } + }, + ["shrug2"] = { + "gestures@m@standing@casual", + "gesture_shrug_hard", + "Shrug 2", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 1000 + } + }, + ["sit"] = { + "anim@amb@business@bgen@bgen_no_work@", + "sit_phone_phoneputdown_idle_nowork", + "Sit", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["sit2"] = { + "rcm_barry3", + "barry_3_sit_loop", + "Sit 2", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["sit3"] = { + "amb@lo_res_idles@", + "world_human_picnic_male_lo_res_base", + "Sit 3", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["sit4"] = { + "amb@lo_res_idles@", + "world_human_picnic_female_lo_res_base", + "Sit 4", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["sit5"] = { + "anim@heists@fleeca_bank@ig_7_jetski_owner", + "owner_idle", + "Sit 5", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["sit6"] = { + "timetable@jimmy@mics3_ig_15@", + "idle_a_jimmy", + "Sit 6", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["sit7"] = { + "anim@amb@nightclub@lazlow@lo_alone@", + "lowalone_base_laz", + "Sit 7", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["sit8"] = { + "timetable@jimmy@mics3_ig_15@", + "mics3_15_base_jimmy", + "Sit 8", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["sit9"] = { + "amb@world_human_stupor@male@idle_a", + "idle_a", + "Sit 9", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["sitfu"] = { + "chocoholic@single80", + "single80_clip", + "Sit Middle Finger", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["elbow"] = { + "anim@veh@lowrider@std@ds@arm@base", + "sit_low_lowdoor", + "Window Elbow", + AnimationOptions = { + EmoteLoop = true + } + }, + ["elbow2"] = { -- Custom Emote By Chocoholic Animations + "chocoholic@single47", + "single47_clip", + "Window Elbow 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["sitlean"] = { + "timetable@tracy@ig_14@", + "ig_14_base_tracy", + "Sit Lean", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["sitsad"] = { + "anim@amb@business@bgen@bgen_no_work@", + "sit_phone_phoneputdown_sleeping-noworkfemale", + "Sit Sad", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["sitscared"] = { + "anim@heists@ornate_bank@hostages@hit", + "hit_loop_ped_b", + "Sit Scared", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["sitscared2"] = { + "anim@heists@ornate_bank@hostages@ped_c@", + "flinch_loop", + "Sit Scared 2", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["sitscared3"] = { + "anim@heists@ornate_bank@hostages@ped_e@", + "flinch_loop", + "Sit Scared 3", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["sitdrunk"] = { + "timetable@amanda@drunk@base", + "base", + "Sit Drunk", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["sitchair2"] = { + "timetable@ron@ig_5_p3", + "ig_5_p3_base", + "Sit Chair 2", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "offchair", + ExitEmoteType = "Exits" + } + }, + ["sitchair3"] = { + "timetable@reunited@ig_10", + "base_amanda", + "Sit Chair 3 (Female)", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "offchair", + ExitEmoteType = "Exits" + } + }, + ["sitchair4"] = { + "timetable@ron@ig_3_couch", + "base", + "Sit Chair 4", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "offchair", + ExitEmoteType = "Exits" + } + }, + ["sitchair5"] = { + "timetable@jimmy@mics3_ig_15@", + "mics3_15_base_tracy", + "Sit Chair Legs Crossed", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "offchair", + ExitEmoteType = "Exits" + } + }, + ["sitchair6"] = { + "timetable@maid@couch@", + "base", + "Sit Chair Lean Back", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "offchair", + ExitEmoteType = "Exits" + } + }, + ["sitchairside"] = { + "timetable@ron@ron_ig_2_alt1", + "ig_2_alt1_base", + "Sit Chair Side", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "offchair", + ExitEmoteType = "Exits" + } + }, + ["sitcute"] = { -- Custom Emote By QueenSistersAnimations + "sitkylie@queensisters", + "kylie_clip", + "Sit Cute", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false, + ExitEmote = "offchair", + ExitEmoteType = "Exits" + } + }, + ["situp"] = { + "amb@world_human_sit_ups@male@idle_a", + "idle_a", + "Sit Up", + AnimationOptions = { + EmoteLoop = true + } + }, + ["clapangry"] = { + "anim@arena@celeb@flat@solo@no_props@", + "angry_clap_a_player_a", + "Clap Angry", + AnimationOptions = { + EmoteLoop = true + } + }, + ["slowclap3"] = { + "anim@mp_player_intupperslow_clap", + "idle_a", + "Slow Clap 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["clap"] = { + "amb@world_human_cheering@male_a", + "base", + "Clap", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["slowclap"] = { + "anim@mp_player_intcelebrationfemale@slow_clap", + "slow_clap", + "Slow Clap", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["slowclap2"] = { + "anim@mp_player_intcelebrationmale@slow_clap", + "slow_clap", + "Slow Clap 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["smell"] = { + "move_p_m_two_idles@generic", + "fidget_sniff_fingers", + "Smell", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["stickup"] = { + "random@countryside_gang_fight", + "biker_02_stickup_loop", + "Stick Up", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["stumble"] = { + "misscarsteal4@actor", + "stumble", + "Stumble", + AnimationOptions = { + EmoteLoop = true + } + }, + ["stunned"] = { + "stungun@standing", + "damage", + "Stunned", + AnimationOptions = { + EmoteLoop = true + } + }, + ["sunbathe"] = { + "amb@world_human_sunbathe@male@back@base", + "base", + "Sunbathe", + AnimationOptions = { + EmoteLoop = true, + NotInVehicle = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["sunbathe2"] = { + "amb@world_human_sunbathe@female@back@base", + "base", + "Sunbathe 2", + AnimationOptions = { + EmoteLoop = true, + NotInVehicle = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["t"] = { + "missfam5_yoga", + "a2_pose", + "T Pose", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["t2"] = { + "mp_sleep", + "bind_pose_180", + "T Pose 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["think5"] = { + "mp_cp_welcome_tutthink", + "b_think", + "Think 5", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 2000 + } + }, + ["think"] = { + "misscarsteal4@aliens", + "rehearsal_base_idle_director", + "Think", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["think3"] = { + "timetable@tracy@ig_8@base", + "base", + "Think 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["think2"] = { + "missheist_jewelleadinout", + "jh_int_outro_loop_a", + "Think 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["thumbsup3"] = { + "anim@mp_player_intincarthumbs_uplow@ds@", + "enter", + "Thumbs Up 3", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 3000 + } + }, + ["thumbsup2"] = { + "anim@mp_player_intselfiethumbs_up", + "idle_a", + "Thumbs Up 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["thumbsup"] = { + "anim@mp_player_intupperthumbs_up", + "idle_a", + "Thumbs Up", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["type"] = { + "anim@heists@prison_heiststation@cop_reactions", + "cop_b_idle", + "Type", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["type2"] = { + "anim@heists@prison_heistig1_p1_guard_checks_bus", + "loop", + "Type 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["type3"] = { + "mp_prison_break", + "hack_loop", + "Type 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["type4"] = { + "mp_fbi_heist", + "loop", + "Type 4", + AnimationOptions = { + EmoteLoop = true + } + }, + ["warmth"] = { + "amb@world_human_stand_fire@male@idle_a", + "idle_a", + "Warmth", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wave4"] = { + "random@mugging5", + "001445_01_gangintimidation_1_female_idle_b", + "Wave 4", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 3000 + } + }, + ["wave2"] = { + "anim@mp_player_intcelebrationfemale@wave", + "wave", + "Wave 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wave3"] = { + "friends@fra@ig_1", + "over_here_idle_a", + "Wave 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wave"] = { + "friends@frj@ig_1", + "wave_a", + "Wave", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wave5"] = { + "friends@frj@ig_1", + "wave_b", + "Wave 5", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wave6"] = { + "friends@frj@ig_1", + "wave_c", + "Wave 6", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wave7"] = { + "friends@frj@ig_1", + "wave_d", + "Wave 7", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wave8"] = { + "friends@frj@ig_1", + "wave_e", + "Wave 8", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wave9"] = { + "gestures@m@standing@casual", + "gesture_hello", + "Wave 9", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["whistle"] = { + "taxi_hail", + "hail_taxi", + "Whistle", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 1300 + } + }, + ["whistle2"] = { + "rcmnigel1c", + "hailing_whistle_waive_a", + "Whistle 2", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 2000 + } + }, + ["yeah"] = { + "anim@mp_player_intupperair_shagging", + "idle_a", + "Yeah", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["lift"] = { + "random@hitch_lift", + "idle_f", + "Lift", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["lol"] = { + "anim@arena@celeb@flat@paired@no_props@", + "laugh_a_player_b", + "LOL", + AnimationOptions = { + EmoteLoop = true + } + }, + ["lol2"] = { + "anim@arena@celeb@flat@solo@no_props@", + "giggle_a_player_b", + "LOL 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["statue2"] = { + "fra_0_int-1", + "cs_lamardavis_dual-1", + "Statue 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["statue3"] = { + "club_intro2-0", + "csb_englishdave_dual-0", + "Statue 3", + AnimationOptions = { + EmoteLoop = true + } + }, + ["gangsign"] = { + "mp_player_int_uppergang_sign_a", + "mp_player_int_gang_sign_a", + "Gang Sign", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["gangsign2"] = { + "mp_player_int_uppergang_sign_b", + "mp_player_int_gang_sign_b", + "Gang Sign 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["gangsign3"] = { + "amb@code_human_in_car_mp_actions@gang_sign_b@low@ps@base", + "idle_a", + "Gang Sign 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["gangsign4"] = { + "amb@code_human_in_car_mp_actions@v_sign@std@rds@base", + "idle_a", + "Gang Sign 4", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["passout"] = { + "missarmenian2", + "drunk_loop", + "Passout", + AnimationOptions = { + EmoteLoop = true, + NotInVehicle = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["passout2"] = { + "missarmenian2", + "corpse_search_exit_ped", + "Passout 2", + AnimationOptions = { + EmoteLoop = true, + NotInVehicle = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["passout3"] = { + "anim@gangops@morgue@table@", + "body_search", + "Passout 3", + AnimationOptions = { + EmoteLoop = true, + NotInVehicle = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["passout4"] = { + "mini@cpr@char_b@cpr_def", + "cpr_pumpchest_idle", + "Passout 4", + AnimationOptions = { + EmoteLoop = true, + NotInVehicle = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["passout5"] = { + "random@mugging4", + "flee_backward_loop_shopkeeper", + "Passout 5", + AnimationOptions = { + EmoteLoop = true, + NotInVehicle = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["petting"] = { + "creatures@rottweiler@tricks@", + "petting_franklin", + "Petting", + AnimationOptions = { + EmoteLoop = true + } + }, + ["crawl"] = { + "move_injured_ground", + "front_loop", + "Crawl", + AnimationOptions = { + EmoteLoop = true + } + }, + ["flip2"] = { + "anim@arena@celeb@flat@solo@no_props@", + "cap_a_player_a", + "Flip 2" + }, + ["flip"] = { + "anim@arena@celeb@flat@solo@no_props@", + "flip_a_player_a", + "Flip" + }, + ["slide"] = { + "anim@arena@celeb@flat@solo@no_props@", + "slide_a_player_a", + "Slide" + }, + ["slide2"] = { + "anim@arena@celeb@flat@solo@no_props@", + "slide_b_player_a", + "Slide 2" + }, + ["slide3"] = { + "anim@arena@celeb@flat@solo@no_props@", + "slide_c_player_a", + "Slide 3" + }, + ["slugger"] = { + "anim@arena@celeb@flat@solo@no_props@", + "slugger_a_player_a", + "Slugger" + }, + ["flipoff"] = { + "anim@arena@celeb@podium@no_prop@", + "flip_off_a_1st", + "Flip Off", + AnimationOptions = { + EmoteMoving = true + } + }, + ["flipoff2"] = { + "anim@arena@celeb@podium@no_prop@", + "flip_off_c_1st", + "Flip Off 2", + AnimationOptions = { + EmoteMoving = true + } + }, + ["bow"] = { + "anim@arena@celeb@podium@no_prop@", + "regal_c_1st", + "Bow", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["bow2"] = { + "anim@arena@celeb@podium@no_prop@", + "regal_a_1st", + "Bow 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["keyfob"] = { + "anim@mp_player_intmenu@key_fob@", + "fob_click", + "Key Fob", + AnimationOptions = { + EmoteLoop = false, + EmoteMoving = true, + EmoteDuration = 1000 + } + }, + ["holster"] = { + "move_m@intimidation@cop@unarmed", + "idle", + "Holster", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["holster2"] = { --- Custom Emote Provided To dpemotes By Mads + "mads@police_reaching_holster", + "idle", + "Holster 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["holster3"] = { + "anim@hlstr_7360_walk", + "holster_walk", + "Holster 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true, + } + }, + ["holster4"] = { + "anim@hlstr_7360_hold", + "holster_stop", + "Holster 4 - Stop", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true, + } + }, + ["holster5"] = { + "anim@holster_hold_there", + "holster_hold", + "Holster 5 - Stop 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true, + } + }, + ["slap"] = { + "melee@unarmed@streamed_variations", + "plyr_takedown_front_slap", + "Slap", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true, + EmoteDuration = 2000 + } + }, + ["headbutt"] = { + "melee@unarmed@streamed_variations", + "plyr_takedown_front_headbutt", + "Headbutt" + }, + ["fishdance"] = { + "anim@mp_player_intupperfind_the_fish", + "idle_a", + "Fish Dance", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["peace"] = { + "mp_player_int_upperpeace_sign", + "mp_player_int_peace_sign", + "Peace", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["peace2"] = { + "anim@mp_player_intupperpeace", + "idle_a", + "Peace 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["peace3"] = { + "anim@mp_player_intupperpeace", + "idle_a_fp", + "Peace 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["peace4"] = { + "anim@mp_player_intincarpeacestd@ds@", + "idle_a", + "Peace 4", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["peace5"] = { + "anim@mp_player_intincarpeacestd@ds@", + "idle_a_fp", + "Peace 5", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["peace6"] = { + "anim@mp_player_intincarpeacebodhi@ds@", + "idle_a", + "Peace 6", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["peace7"] = { + "anim@mp_player_intincarpeacebodhi@ds@", + "idle_a_fp", + "Peace 7", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["peacef"] = { + "anim@mp_player_intcelebrationfemale@peace", + "peace", + "Peace Female", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["cpr"] = { + "mini@cpr@char_a@cpr_str", + "cpr_pumpchest", + "CPR", + AnimationOptions = { + EmoteLoop = true + } + }, + ["cpr2"] = { + "mini@cpr@char_a@cpr_str", + "cpr_pumpchest", + "CPR 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["ledge"] = { + "missfbi1", + "ledge_loop", + "Ledge", + AnimationOptions = { + EmoteLoop = true + } + }, + ["airplane"] = { + "missfbi1", + "ledge_loop", + "Air Plane", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["peek"] = { + "random@paparazzi@peek", + "left_peek_a", + "Peek", + AnimationOptions = { + EmoteLoop = true + } + }, + ["cough"] = { + "timetable@gardener@smoking_joint", + "idle_cough", + "Cough", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["stretch"] = { + "mini@triathlon", + "idle_e", + "Stretch", + AnimationOptions = { + EmoteLoop = true + } + }, + ["stretch2"] = { + "mini@triathlon", + "idle_f", + "Stretch 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["stretch3"] = { + "mini@triathlon", + "idle_d", + "Stretch 3", + AnimationOptions = { + EmoteLoop = true + } + }, + ["stretch4"] = { + "rcmfanatic1maryann_stretchidle_b", + "idle_e", + "Stretch 4", + AnimationOptions = { + EmoteLoop = true + } + }, + ["celebrate"] = { + "rcmfanatic1celebrate", + "celebrate", + "Celebrate", + AnimationOptions = { + EmoteLoop = true + } + }, + ["punching"] = { + "rcmextreme2", + "loop_punching", + "Punching", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["superhero"] = { + "rcmbarry", + "base", + "Superhero", + AnimationOptions = { + EmoteLoop = true + } + }, + ["superhero2"] = { + "rcmbarry", + "base", + "Superhero 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["mindcontrol"] = { + "rcmbarry", + "mind_control_b_loop", + "Mind Control", + AnimationOptions = { + EmoteLoop = true + } + }, + ["mindcontrol2"] = { + "rcmbarry", + "bar_1_attack_idle_aln", + "Mind Control 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["clown"] = { + "rcm_barry2", + "clown_idle_0", + "Clown", + AnimationOptions = { + EmoteLoop = true + } + }, + ["clown2"] = { + "rcm_barry2", + "clown_idle_1", + "Clown 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["clown3"] = { + "rcm_barry2", + "clown_idle_2", + "Clown 3", + AnimationOptions = { + EmoteLoop = true + } + }, + ["clown4"] = { + "rcm_barry2", + "clown_idle_3", + "Clown 4", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["clown5"] = { + "rcm_barry2", + "clown_idle_6", + "Clown 5", + AnimationOptions = { + EmoteLoop = true + } + }, + ["tryclothes"] = { + "mp_clothing@female@trousers", + "try_trousers_neutral_a", + "Try Clothes", + AnimationOptions = { + EmoteLoop = true + } + }, + ["tryclothes2"] = { + "mp_clothing@female@shirt", + "try_shirt_positive_a", + "Try Clothes 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["tryclothes3"] = { + "mp_clothing@female@shoes", + "try_shoes_positive_a", + "Try Clothes 3", + AnimationOptions = { + EmoteLoop = true + } + }, + ["nervous2"] = { + "mp_missheist_countrybank@nervous", + "nervous_idle", + "Nervous 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["nervous"] = { + "amb@world_human_bum_standing@twitchy@idle_a", + "idle_c", + "Nervous", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["nervous3"] = { + "rcmme_tracey1", + "nervous_loop", + "Nervous 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["uncuff"] = { + "mp_arresting", + "a_uncuff", + "Uncuff", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["namaste"] = { + "timetable@amanda@ig_4", + "ig_4_base", + "Namaste", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["threaten"] = { + "random@atmrobberygen", + "b_atm_mugging", + "Threaten", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["radio"] = { + "random@arrests", + "generic_radio_chatter", + "Radio", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["pull"] = { + "random@mugging4", + "struggle_loop_b_thief", + "Pull", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["bird"] = { + "random@peyote@bird", + "wakeup", + "Bird" + }, + ["chicken"] = { + "random@peyote@chicken", + "wakeup", + "Chicken", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["bark"] = { + "random@peyote@dog", + "wakeup", + "Bark" + }, + ["rabbit"] = { + "random@peyote@rabbit", + "wakeup", + "Rabbit" + }, + ["spiderman"] = { + "missexile3", + "ex03_train_roof_idle", + "Spider-Man", + AnimationOptions = { + EmoteLoop = true, + NotInVehicle = true + } + }, + ["boi"] = { + "special_ped@jane@monologue_5@monologue_5c", + "brotheradrianhasshown_2", + "BOI", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 3000 + } + }, + ["adjust"] = { + "missmic4", + "michael_tux_fidget", + "Adjust", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 4000 + } + }, + ["handsup"] = { + "missminuteman_1ig_2", + "handsup_base", + "Hands Up", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + } + }, + ["handsup2"] = { + "anim@mp_player_intuppersurrender", + "idle_a_fp", + "Hands Up 2", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + } + }, + ['handsup3'] = { + 'anim@mp_rollarcoaster', + 'hands_up_idle_a_player_one', + 'Hands Up 3', + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + } + }, + ["valet"] = { + "anim@amb@casino@valet_scenario@pose_a@", + "base_a_m_y_vinewood_01", + "Valet", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["valet2"] = { + "anim@amb@casino@valet_scenario@pose_b@", + "base_a_m_y_vinewood_01", + "Valet 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["valet3"] = { + "anim@amb@casino@valet_scenario@pose_d@", + "base_a_m_y_vinewood_01", + "Valet 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["tighten"] = { + "timetable@denice@ig_1", + "idle_b", + "Tigten (Yoga)", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["fspose"] = { + "missfam5_yoga", + "c2_pose", + "F Sex Pose", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + }, + AdultAnimation = true + }, + ["fspose2"] = { + "missfam5_yoga", + "c6_pose", + "F Sex Pose 2", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + }, + AdultAnimation = true + }, + ["fspose3"] = { + "anim@amb@carmeet@checkout_car@", + "female_c_idle_d", + "F Sex Pose 3", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + }, + AdultAnimation = true + }, + ["showerf"] = { + "mp_safehouseshower@female@", + "shower_enter_into_idle", + "Shower Enter Female", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + } + }, + ["showerf2"] = { + "mp_safehouseshower@female@", + "shower_idle_a", + "Shower Female", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + } + }, + ["showerf3"] = { + "mp_safehouseshower@female@", + "shower_idle_b", + "Shower Female 2", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + } + }, + ["showerm"] = { + "mp_safehouseshower@male@", + "male_shower_idle_a", + "Shower Enter Male", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + } + }, + ["showerm2"] = { + "mp_safehouseshower@male@", + "male_shower_idle_b", + "Shower Male 2", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + } + }, + ["showerm3"] = { + "mp_safehouseshower@male@", + "male_shower_idle_c", + "Shower Male 3", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + } + }, + ["showerm4"] = { + "mp_safehouseshower@male@", + "male_shower_idle_d", + "Shower Male 4", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + } + }, + ["picklock"] = { + "missheistfbisetup1", + "hassle_intro_loop_f", + "Picklock", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + } + }, + ["cleanhands"] = { + "missheist_agency3aig_23", + "urinal_sink_loop", + "Clean Them Filthy Hands", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + } + }, + ["cleanface"] = { + "switch@michael@wash_face", + "loop_michael", + "Clean Your Face", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + } + }, + ["buzz"] = { + "anim@apt_trans@buzzer", + "buzz_reg", + "Buzz Door", + AnimationOptions = { + EmoteLoop = false, + EmoteMoving = false + } + }, + ["grieve"] = { + "anim@miss@low@fin@vagos@", + "idle_ped05", + "Grieve The Dead", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + } + }, + ["respect"] = { + "anim@mp_player_intcelebrationmale@respect", + "respect", + "Respect Male", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = false + } + }, + ["respectf"] = { + "anim@mp_player_intcelebrationfemale@respect", + "respect", + "Respect Female", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = false + } + }, + ["bang"] = { + "anim@mp_player_intcelebrationfemale@bang_bang", + "bang_bang", + "Bang Bang ", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 2500 + } + }, + ["checkcar"] = { + "anim@amb@carmeet@checkout_car@male_a@idles", + "idle_b", + "Check Out · Female ", + AnimationOptions = { + EmoteLoop = true + } + }, + ["checkcar2"] = { + "anim@amb@carmeet@checkout_car@male_c@idles", + "idle_a", + "Check Out 2 · Male ", + AnimationOptions = { + EmoteLoop = true + } + }, + ["showboobs"] = { + "mini@strip_club@backroom@", + "stripper_b_backroom_idle_b", + "Show Boobs ", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 6000, + }, + AdultAnimation = true + }, + ["showboobs2"] = { + "mini@strip_club@idles@stripper", + "stripper_idle_05", + "Show Boobs 2", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 6000, + }, + AdultAnimation = true + }, + ["watchstripper"] = { + "amb@world_human_strip_watch_stand@male_c@idle_a", + "idle_b", + "Watch Stripper ", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 6000, + }, + AdultAnimation = true + }, + ["hhands"] = { + "misssnowie@hearthands", + "base", + "Heart Hands", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["posecutef"] = { -- Custom Emote By Pupppy + "pupppy@freepose01", + "freepose01", + "Cute Pose Female", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["posecutef2"] = { -- Custom Emote By Pupppy + "pupppy@freepose03", + "freepose03", + "Cute Pose Female 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["posecutef3"] = { -- Custom Emote By Pupppy + "pupppy@freepose04", + "freepose04", + "Cute Pose Female 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["posecutef4"] = { -- Custom Emote By QueenSistersAnimations + "handkylie@queensisters", + "kylie_clip", + "Cute Pose Female 4", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["posecutem"] = { -- Custom Emote By Pupppy + "pupppy@freepose02", + "freepose02", + "Cute Pose Male", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["checkwatch"] = { -- Custom Emote By MissSnowie + "watch@looking_at", + "base", + "Check Watch", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["pee"] = { + "misscarsteal2peeing", + "peeing_loop", + "Pee (Male)", + AnimationOptions = { + EmoteStuck = true, + PtfxAsset = "scr_amb_chop", + PtfxName = "ent_anim_dog_peeing", + PtfxNoProp = true, + PtfxPlacement = { + -0.05, + 0.3, + 0.0, + 0.0, + 90.0, + 90.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['pee'], + PtfxWait = 3000, + PtfxCanHold = true, + }, + AdultAnimation = true + }, + ["pee2"] = { + "missbigscore1switch_trevor_piss", + "piss_loop", + "Pee 2 (Male)", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + PtfxAsset = "scr_amb_chop", + PtfxName = "ent_anim_dog_peeing", + PtfxNoProp = true, + PtfxPlacement = { + 0.0130, + 0.1030, + 0.0, + 0.0, + 90.0, + 90.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['pee'], + PtfxWait = 3000, + PtfxCanHold = true, + }, + AdultAnimation = true + }, + ["hump"] = { + "timetable@trevor@skull_loving_bear", + "skull_loving_bear", + "Hump", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true + }, + AdultAnimation = true + }, + ["wank"] = { + "anim@mp_player_intselfiewank", + "idle_a", + "Wank", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + }, + AdultAnimation = true + }, + ["wank2"] = { + "anim@mp_player_intupperwank", + "idle_a", + "Wank 2", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + }, + AdultAnimation = true + }, + ["wank3"] = { + "mp_player_int_upperwank", + "mp_player_int_wank_02", + "Wank 3", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + }, + AdultAnimation = true + }, + ["wank4"] = { + "mp_player_int_upperwank", + "mp_player_int_wank_02_fp", + "Wank 4", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + }, + AdultAnimation = true + }, + ["wank5"] = { + "mp_player_intwank", + "mp_player_int_wank", + "Wank 5", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = false + }, + AdultAnimation = true + }, + ["calldog"] = { + "switch@franklin@plays_w_dog", + "001916_01_fras_v2_9_plays_w_dog_idle", + "Call Dog", + AnimationOptions = { + EmoteLoop = true, + } + }, + ["calldogr"] = { + "missfra0_chop_find", + "call_chop_r", + "Call Dog - Right", + AnimationOptions = { + EmoteLoop = false, + } + }, + ["calldogl"] = { + "missfra0_chop_find", + "call_chop_l", + "Call Dog - Left", + AnimationOptions = { + EmoteLoop = false, + } + }, + ["block"] = { + "missheist_agency3ashield_face", + "idle", + "Block Face", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + } + }, + ["policecrowd"] = { + "amb@code_human_police_crowd_control@idle_a", + "idle_a", + "Police Crowd", + AnimationOptions = { + EmoteLoop = true + } + }, + ["policecrowd2"] = { + "amb@code_human_police_crowd_control@idle_b", + "idle_d", + "Police Crowd 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["k9pose"] = { + "anim@k9_pose", + "hug_dog", + "Hug Dog", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false, + } + }, + ["snot"] = { + "move_p_m_two_idles@generic", + "fidget_blow_snot", + "Blow Snot", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 4500, + } + }, + ["scratch"] = { + "move_p_m_two_idles@generic", + "fidget_scratch_balls", + "Scratch Balls", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 4000, + }, + AdultAnimation = true + }, + ["cartaunt"] = { + "missarmenian1driving_taunts@lamar_1", + "cmonfrank", + "Car Taunt", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 2000, + } + }, + ["cartauntb"] = { + "missarmenian1driving_taunts@lamar_1", + "cmonmynigga", + "Car Taunt 2", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 2000, + } + }, + ["cartauntc"] = { + "missarmenian1driving_taunts@lamar_1", + "hahahakeepup", + "Car Taunt 3", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 2000, + } + }, + ["cartauntd"] = { + "missarmenian1driving_taunts@lamar_1", + "manthisismeanttobe", + "Car Taunt 4", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 2000, + } + }, + ["cartaunte"] = { + "missarmenian1driving_taunts@lamar_1", + "rememberthis", + "Car Taunt 5", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 3000, + } + }, + ["cartauntf"] = { + "missarmenian1driving_taunts@lamar_1", + "skoolinyoass", + "Car Taunt 6", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 3000, + } + }, + ["cartauntg"] = { + "missarmenian1driving_taunts@lamar_1", + "youaintfuckin", + "Car Taunt 7", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 2000, + } + }, + ["cartaunth"] = { + "missarmenian1driving_taunts@franklin", + "heyidontneedanybody", + "Car Taunt 8", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 2000, + } + }, + ["cartaunti"] = { + "missarmenian1driving_taunts@franklin", + "heymotherfuckayoudriveslowasfuck", + "Car Taunt 9", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 3000, + } + }, + ["cartauntj"] = { + "missarmenian1driving_taunts@franklin", + "kids_on_bicycles", + "Car Taunt 10", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 2000, + } + }, + ["cartauntk"] = { + "missarmenian1driving_taunts@franklin", + "learnhowtouseastick", + "Car Taunt 11", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 2000, + } + }, + ["cartauntl"] = { + "missarmenian1driving_taunts@franklin", + "slowassshit", + "Car Taunt 12", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 2000, + } + }, + ["cartauntm"] = { + "mp_intro_seq@mcs_7_race_taunt", + "mcs_7_taunt_female", + "Car Taunt 13", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 5000, + } + }, + ["cartauntn"] = { + "mp_intro_seq@mcs_7_race_taunt", + "mcs_7_taunt_male", + "Car Taunt 14", + AnimationOptions = { + EmoteMoving = false, + EmoteDuration = 5000, + } + }, + + + ----------------------------------------------------------------------------------------------------------- + ------ The male and female 'interaction menu' emotes from GTA Online can be found under the following animation directories: + ------ + ------ Male: anim@mp_player_intcelebrationmale + ------ + ------ Female: anim@mp_player_intcelebrationfemale + + ----------------------------------------------------------------------------------------------------------- + + + + + ----------------------------------------------------------------------------------------------------------- + ------ These are Scenarios, some of these dont work on women and some other issues, but still good to have. + ----------------------------------------------------------------------------------------------------------- + ["atm"] = { + "Scenario", + "PROP_HUMAN_ATM", + "ATM" + }, + ["bbq"] = { + "MaleScenario", + "PROP_HUMAN_BBQ", + "BBQ" + }, + ["bumbin"] = { + "Scenario", + "PROP_HUMAN_BUM_BIN", + "Bum Bin" + }, + ["bumsleep"] = { + "Scenario", + "WORLD_HUMAN_BUM_SLUMPED", + "Bum Sleep" + }, + ["cheer"] = { + "Scenario", + "WORLD_HUMAN_CHEERING", + "Cheer" + }, + ["chinup"] = { + "Scenario", + "PROP_HUMAN_MUSCLE_CHIN_UPS", + "Chinup" + }, + ["clipboard2"] = { + "MaleScenario", + "WORLD_HUMAN_CLIPBOARD", + "Clipboard 2" + }, + ["cop"] = { + "Scenario", + "WORLD_HUMAN_COP_IDLES", + "Cop" + }, + ["drill"] = { + "Scenario", + "WORLD_HUMAN_CONST_DRILL", + "Construction Drilling" + }, + ["filmshocking"] = { + "Scenario", + "WORLD_HUMAN_MOBILE_FILM_SHOCKING", + "Film Shocking" + }, + ["flex"] = { + "Scenario", + "WORLD_HUMAN_MUSCLE_FLEX", + "Flex" + }, + ["flex2"] = { -- Custom Emote By Amnilka + "frabi@malepose@solo@firstsport", + "pose_sport_002", + "Flex 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true, --- Allows us to flex while performing another animation + } + }, + ["gympose"] = { -- Custom Emote By Amnilka + "frabi@malepose@solo@firstsport", + "pose_sport_001", + "Gym Pose", + AnimationOptions = { + EmoteLoop = true + } + }, + ["gympose2"] = { -- Custom Emote By Amnilka + "frabi@malepose@solo@firstsport", + "pose_sport_005", + "Gym Pose 2 - One Handed Push Up", + AnimationOptions = { + + EmoteLoop = true + } + }, + ["gympose3"] = { -- Custom Female Emote By Frabi + "frabi@femalepose@solo@firstsport", + "fem_pose_sport_004", + "Gym Pose 3 - Planking Pose", + AnimationOptions = { + + EmoteLoop = true + } + }, + ["gympose4"] = { -- Custom Female Emote By Frabi + "frabi@femalepose@solo@firstsport", + "fem_pose_sport_005", + "Gym Pose 4 - Sit Ups Pose", + AnimationOptions = { + + EmoteLoop = true + } + }, + ["guard"] = { + "Scenario", + "WORLD_HUMAN_GUARD_STAND", + "Guard" + }, + ["garden"] = { + "Scenario", + "WORLD_HUMAN_GARDENER_PLANT", + "Gardening" + }, + ["hammer"] = { + "Scenario", + "WORLD_HUMAN_HAMMERING", + "Hammer" + }, + ["hangout"] = { + "Scenario", + "WORLD_HUMAN_HANG_OUT_STREET", + "Hangout" + }, + ["impatient"] = { + "Scenario", + "WORLD_HUMAN_STAND_IMPATIENT", + "Impatient" + }, + ["janitor"] = { + "Scenario", + "WORLD_HUMAN_JANITOR", + "Janitor" + }, + ["jog"] = { + "Scenario", + "WORLD_HUMAN_JOG_STANDING", + "Jog" + }, + ["kneel"] = { + "Scenario", + "CODE_HUMAN_MEDIC_KNEEL", + "Kneel" + }, + ["lean"] = { + "Scenario", + "WORLD_HUMAN_LEANING", + "Lean" + }, + ["leanbar"] = { + "Scenario", + "PROP_HUMAN_BUM_SHOPPING_CART", + "Lean Bar" + }, + ["lookout"] = { + "Scenario", + "CODE_HUMAN_CROSS_ROAD_WAIT", + "Lookout" + }, + ["maid"] = { + "Scenario", + "WORLD_HUMAN_MAID_CLEAN", + "Maid" + }, + ["medic"] = { + "Scenario", + "CODE_HUMAN_MEDIC_TEND_TO_DEAD", + "Medic" + }, + ["musician"] = { + "MaleScenario", + "WORLD_HUMAN_MUSICIAN", + "Musician" + }, + -- Ambient Music Doesn't Seem To Work For Female, Hence It's Male Only + ["notepad2"] = { + "Scenario", + "CODE_HUMAN_MEDIC_TIME_OF_DEATH", + "Notepad 2" + }, + ["parkingmeter"] = { + "Scenario", + "PROP_HUMAN_PARKING_METER", + "Parking Meter" + }, + ["party"] = { + "Scenario", + "WORLD_HUMAN_PARTYING", + "Party" + }, + ["texting"] = { + "Scenario", + "WORLD_HUMAN_STAND_MOBILE", + "Texting" + }, + ["prosthigh"] = { + "Scenario", + "WORLD_HUMAN_PROSTITUTE_HIGH_CLASS", + "Prostitue High" + }, + ["prostlow"] = { + "Scenario", + "WORLD_HUMAN_PROSTITUTE_LOW_CLASS", + "Prostitue Low" + }, + ["puddle"] = { + "Scenario", + "WORLD_HUMAN_BUM_WASH", + "Puddle" + }, + ["record"] = { + "Scenario", + "WORLD_HUMAN_MOBILE_FILM_SHOCKING", + "Record" + }, + + -- Sitchair is a litte special, since you want the player to be seated correctly. + -- So we set it as "ScenarioObject" and do TaskStartScenarioAtPosition() instead of "AtPlace" + ["sitchair"] = { + "ScenarioObject", + "PROP_HUMAN_SEAT_CHAIR_MP_PLAYER", + "Sit Chair" + }, + ["smoke"] = { + "Scenario", + "WORLD_HUMAN_SMOKING", + "Smoke" + }, + ["smokeweed"] = { + "MaleScenario", + "WORLD_HUMAN_DRUG_DEALER", + "Smoke Weed (Male)" + }, + -- Male + ["smokepot"] = { + "Scenario", + "WORLD_HUMAN_SMOKING_POT", + "Smoke Weed (Female)" + }, + -- Female + ["statue"] = { + "Scenario", + "WORLD_HUMAN_HUMAN_STATUE", + "Statue" + }, + ["sunbathe3"] = { + "Scenario", + "WORLD_HUMAN_SUNBATHE", + "Sunbathe 3" + }, + ["sunbatheback"] = { + "Scenario", + "WORLD_HUMAN_SUNBATHE_BACK", + "Sunbathe Back" + }, + ["weld"] = { + "Scenario", + "WORLD_HUMAN_WELDING", + "Weld" + }, + ["windowshop"] = { + "Scenario", + "WORLD_HUMAN_WINDOW_SHOP_BROWSE", + "Window Shop" + }, + ["yoga"] = { + "Scenario", + "WORLD_HUMAN_YOGA", + "Yoga" + }, + + -- CASINO DLC EMOTES (Requires gamebuild 2060 or higher) + ["karate"] = { + "anim@mp_player_intcelebrationfemale@karate_chops", + "karate_chops", + "Karate" + }, + ["karate2"] = { + "anim@mp_player_intcelebrationmale@karate_chops", + "karate_chops", + "Karate 2" + }, + ["cutthroat"] = { + "anim@mp_player_intcelebrationmale@cut_throat", + "cut_throat", + "Cut Throat" + }, + ["cutthroat2"] = { + "anim@mp_player_intcelebrationfemale@cut_throat", + "cut_throat", + "Cut Throat 2" + }, + ["mindblown"] = { + "anim@mp_player_intcelebrationmale@mind_blown", + "mind_blown", + "Mind Blown", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 4000 + } + }, + ["mindblown2"] = { + "anim@mp_player_intcelebrationfemale@mind_blown", + "mind_blown", + "Mind Blown 2", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 4000 + } + }, + ["boxing"] = { + "anim@mp_player_intcelebrationmale@shadow_boxing", + "shadow_boxing", + "Boxing", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 4000 + } + }, + ["boxing2"] = { + "anim@mp_player_intcelebrationfemale@shadow_boxing", + "shadow_boxing", + "Boxing 2", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 4000 + } + }, + ["stink"] = { + "anim@mp_player_intcelebrationfemale@stinker", + "stinker", + "Stink", + AnimationOptions = { + EmoteMoving = true, + EmoteLoop = true + } + }, + ["think4"] = { + "anim@amb@casino@hangout@ped_male@stand@02b@idles", + "idle_a", + "Think 4", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["adjusttie"] = { + "clothingtie", + "try_tie_positive_a", + "Adjust Tie", + AnimationOptions = { + EmoteMoving = true, + EmoteDuration = 5000 + } + }, + ["shaka"] = { + "sign@hang_loose", + "base", + "Shaka 'Hang Loose'", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["shaka2"] = { + "sign@hang_loose_casual", + "base", + "Shaka 'Hang Loose Casual'", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["relax"] = { + "lying@on_grass", + "base", + "Relax ", + AnimationOptions = { + EmoteLoop = true, + NotInVehicle = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["relax2"] = { + "lying@on_couch_legs_crossed", + "base", + "Relax 2", + AnimationOptions = { + EmoteLoop = true, + NotInVehicle = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["uwu"] = { + "uwu@egirl", + "base", + "UwU", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, + ["sexypose"] = { -- Custom Emote By Little Spoon + "littlespoon@sexy003", + "sexy003", + "Sexy Pose", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sexypose2"] = { -- Custom Emote By Little Spoon + "littlespoon@sexy004", + "sexy004", + "Sexy Pose 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sexypose3"] = { -- Custom Emote By Little Spoon + "littlespoon@sexy005", + "sexy005", + "Sexy Pose 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sexypose4"] = { -- Custom Emote By Little Spoon + "littlespoon@sexy006", + "sexy006", + "Sexy Pose 4", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sexypose5"] = { -- Custom Emote By Little Spoon + "littlespoon@sexy009", + "sexy009", + "Sexy Pose 5", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sexypose6"] = { -- Custom Emote By Little Spoon + "littlespoon@sexy012", + "sexy012", + "Sexy Pose 6", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["laydownsexy"] = { -- Custom emote by Struggleville + "anim@female_laying_sexy", + "laying_sexy_clip", + "Laying Down Sexy", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["model"] = { -- Custom emote by Struggleville + "anim@female_model_showoff", + "model_showoff_clip", + "Model Pose Sexy", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["model2"] = { -- Custom Emote By QueenSistersAnimations + "sitdownonknees@queensisters", + "sitdown_clip", + "Model Pose 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false, + } + }, + ["model3"] = { -- Custom emote by Struggleville + "anim@female_model_photo_cute", + "photo_cute_clip", + "Model Pose 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["layncry"] = { + "anim@amb@nightclub@lazlow@lo_sofa@", + "lowsofa_dlg_fuckedup_laz", + "Lay & Cry", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["layncry2"] = { + "anim@amb@nightclub@lazlow@lo_sofa@", + "lowsofa_base_laz", + "Lay & Cry 2", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["layncry3"] = { + "anim@amb@nightclub@lazlow@lo_sofa@", + "lowsofa_dlg_notagain_laz", + "Lay & Cry 3", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["layncry4"] = { + "anim@amb@nightclub@lazlow@lo_sofa@", + "lowsofa_dlg_notagain_laz", + "Lay & Cry 4", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["layncry5"] = { + "anim@amb@nightclub@lazlow@lo_sofa@", + "lowsofa_dlg_shit2strong_laz", + "Lay & Cry 5", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["layncry6"] = { + "misschinese2_crystalmaze", + "2int_loop_a_taocheng", + "Lay & Cry 6", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["airforce01"] = { -- MissSnowie + "airforce@at_ease", + "base", + "Airforce - At Ease", -- MissSnowie + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["airforce02"] = { -- MissSnowie + "airforce@attention", + "base", + "Airforce - Attention", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["airforce03"] = { -- MissSnowie + "airforce@parade_rest", + "base", + "Airforce - Parade Rest", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["airforce04"] = { + "airforce@salute", + "base", + "Airforce - Salute", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false + } + }, + ["zombiewalk"] = { -- Custom Emote By BoringNeptune + "zombies_animations", + "zombi_walk_01", + "Zombie Walk", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = false -- true looks weird but the option is here + } + }, + ["zombiewalk2"] = { -- Custom Emote By BoringNeptune + "zombies_animations", + "zombi_walk_02", + "Zombie Walk 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["zombieagony"] = { -- Custom Emote By BoringNeptune + "zombies_animations", + "agony", + "Zombie Agony", + AnimationOptions = { + EmoteLoop = true + } + }, + ["zombiescream"] = { -- Custom Emote By BoringNeptune + "zombies_animations", + "scream", + "Zombie Scream", + AnimationOptions = { + EmoteLoop = true + } + }, + ["zombiecrawl"] = { -- Custom Emote By BoringNeptune + "zombies_animations", + "crawl_01", + "Zombie Crawl", + AnimationOptions = { + EmoteLoop = true + } + }, + ["laysexy"] = { -- Custom Emote By Amnilka + "amnilka@photopose@female@homepack001", + "amnilka_femalehome_photopose_004", + "Lay Sexy", + AnimationOptions = { + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["gungirl1"] = { -- Custom Emote By Struggleville + "anim@female_gunbunny_rifle_photo", + "rifle_photo_clip", + "Rifle Pose", + AnimationOptions = { + EmoteLoop = true + } + }, + ["vest"] = { + "anim@male@holding_vest", + "holding_vest_clip", + "Hold Vest", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true, + } + }, + ["vest2"] = { + "anim@holding_side_vest", + "holding_side_vest_clip", + "Hold Vest 2", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true, + } + }, + ["vest3"] = { + "anim@holding_siege_vest_side", + "holding_siege_vest_side_clip", + "Hold Vest 3", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true, + } + }, + ["vest4"] = { + "anim@male@holding_vest_2", + "holding_vest_2_clip", + "Hold Vest 4", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true, + } + }, + ["vest5"] = { + "anim@male@holding_vest_siege", + "holding_vest_siege_clip", + "Hold Vest 5", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true, + } + }, + ["vest6"] = { + "anim@male@holding_vest_siege_2", + "holding_vest_siege_2_clip", + "Hold Vest 6", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true, + } + }, + ["kick"] = { + "missheistdockssetup1ig_13@kick_idle", + "guard_beatup_kickidle_guard1", + "Kick", + AnimationOptions = { + EmoteLoop = true + } + }, + ["kick2"] = { + "missheistdockssetup1ig_13@kick_idle", + "guard_beatup_kickidle_guard2", + "Kick 2", + AnimationOptions = { + EmoteLoop = true + } + }, + ["kick3"] = { + "melee@unarmed@streamed_core", + "kick_close_a", + "Kick 3", + AnimationOptions = { + EmoteDuration = 1750 + } + }, + ["crosshands"] = { + "anim@amb@carmeet@checkout_car@", + "male_e_base", + "Cross hands", + AnimationOptions = { + EmoteLoop = true, + EmoteMoving = true + } + }, +} + +--- EMOTES WITH 1 OR 2 PROPS --- +RP.PropEmotes = { + --Jim- + + --Jim-CatCafe + ["uwu1"] = {"amb@world_human_drinking@coffee@male@idle_a", "idle_c", "", AnimationOptions = + { Prop = 'uwu_sml_drink', PropBone = 28422, PropPlacement = {0.0, 0.0, 0.0, 0.0, 0.0, 130.0}, + EmoteLoop = true, EmoteMoving = true, }}, + ["uwu2"] = {"amb@world_human_drinking@coffee@male@idle_a", "idle_c", "", AnimationOptions = + { Prop = 'uwu_lrg_drink', PropBone = 28422, PropPlacement = {0.03, 0.0, -0.08, 0.0, 0.0, 130.0}, + EmoteLoop = true, EmoteMoving = true, }}, + ["uwu3"] = {"amb@world_human_drinking@coffee@male@idle_a", "idle_c", "", AnimationOptions = + { Prop = 'uwu_cup_straw', PropBone = 28422, PropPlacement = {0.0, 0.0, 0.0, 0.0, 0.0, 130.0}, + EmoteLoop = true, EmoteMoving = true, }}, + ["uwu4"] = {"amb@world_human_drinking@coffee@male@idle_a", "idle_c", "", AnimationOptions = + { Prop = 'uwu_mug', PropBone = 28422, PropPlacement = {0.0, 0.0, 0.0, 0.0, 0.0, 130.0}, + EmoteLoop = true, EmoteMoving = true, }}, + ["uwu5"] = {"mp_player_inteat@burger", "mp_player_int_eat_burger", "", AnimationOptions = + { Prop = 'uwu_pastry', PropBone = 18905, PropPlacement = {0.16, 0.06, -0.03, -50.0, 16.0, 60.0}, + EmoteMoving = true, }}, + ["uwu6"] = {"mp_player_inteat@burger", "mp_player_int_eat_burger", "", AnimationOptions = + { Prop = 'uwu_cookie', PropBone = 18905, PropPlacement = {0.16, 0.08, -0.01, -225.0, 20.0, 60.0}, + EmoteMoving = true, }}, + ["uwu7"] = {"mp_player_inteat@burger", "mp_player_int_eat_burger", "", AnimationOptions = + { Prop = 'uwu_sushi', PropBone = 18905, PropPlacement = {0.18, 0.03, 0.02, -50.0, 16.0, 60.0}, + EmoteMoving = true, }}, + ["uwu8"] = {"amb@world_human_seat_wall_eating@male@both_hands@idle_a", "idle_c", "", AnimationOptions = + { Prop = 'uwu_eggroll', PropBone = 60309, PropPlacement = {0.10, 0.03, 0.08, -95.0, 60.0, 0.0}, + EmoteMoving = true, }}, + ["uwu9"] = {"anim@scripted@island@special_peds@pavel@hs4_pavel_ig5_caviar_p1", "base_idle", "", AnimationOptions = + { Prop = "uwu_salad_bowl", PropBone = 60309, PropPlacement = {0.0, 0.0300, 0.0100, 0.0, 0.0, 0.0}, + SecondProp = 'uwu_salad_spoon', SecondPropBone = 28422, SecondPropPlacement = {0.0, 0.0 ,0.0, 0.0, 0.0, 0.0}, + EmoteLoop = true, EmoteMoving = true, }}, + ["uwu10"] = {"mp_player_inteat@burger", "mp_player_int_eat_burger", "", AnimationOptions = + { Prop = 'uwu_sandy', PropBone = 18905, PropPlacement = {0.16, 0.08, 0.05, -225.0, 20.0, 60.0}, + EmoteMoving = true, }}, + ["uwu11"] = {"amb@world_human_drinking@coffee@male@idle_a", "idle_c", "", AnimationOptions = + { Prop = 'uwu_cupcake', PropBone = 28422, PropPlacement = {0.0, 0.0, -0.03, 0.0, 0.0, 130.0}, + EmoteLoop = true, EmoteMoving = true, }}, + ["uwu12"] = {"amb@world_human_drinking@coffee@male@idle_a", "idle_c", "", AnimationOptions = + { Prop = 'uwu_btea', PropBone = 28422, PropPlacement = {0.02, 0.0, -0.05, 0.0, 0.0, 130.0}, + EmoteLoop = true, EmoteMoving = true, }}, + ["uwu13"] = {"mp_player_inteat@burger", "mp_player_int_eat_burger", "", AnimationOptions = + { Prop = 'uwu_gdasik', PropBone = 18905, PropPlacement = {0.16, 0.08, 0.02, -225.0, 20.0, 60.0}, + EmoteMoving = true, }}, + + ["redwine"] = {"mp_player_intdrink", "loop_bottle", "Red Wine Bottle", AnimationOptions = + { Prop = "prop_wine_rose", PropBone = 18905, PropPlacement = {0.00, -0.26, 0.10, 240.0, -60.0}, + EmoteMoving = true, EmoteLoop = true, }}, + ["whitewine"] = {"mp_player_intdrink", "loop_bottle", "White Wine Bottle", AnimationOptions = + { Prop = "prop_wine_white", PropBone = 18905, PropPlacement = {0.00, -0.26, 0.10, 240.0, -60.0}, + EmoteMoving = true, EmoteLoop = true, }}, + ["ecola"] = {"mp_player_intdrink", "loop_bottle", "E-cola", AnimationOptions = + { Prop = "prop_ecola_can", PropBone = 18905, PropPlacement = {0.12, 0.008, 0.03, 240.0, -60.0}, + EmoteMoving = true, EmoteLoop = true, }}, + ["sprunk"] = {"mp_player_intdrink", "loop_bottle", "Sprunk", AnimationOptions = + { Prop = "v_res_tt_can03", PropBone = 18905, PropPlacement = {0.12, 0.008, 0.03, 240.0, -60.0}, + EmoteMoving = true, EmoteLoop = true, }}, + ["crisps"] = {"amb@world_human_drinking@coffee@male@idle_a", "idle_c", "Crisps", AnimationOptions = + { Prop = 'v_ret_ml_chips2', PropBone = 28422, PropPlacement = {0.01, -0.05, -0.1, 0.0, 0.0, 90.0}, + EmoteLoop = true, EmoteMoving = true, }}, + ["whiskeyb"] = {"mp_player_intdrink", "loop_bottle", "(Don't Use) Whiskey Bottle", AnimationOptions = + { Prop = "prop_cs_whiskey_bottle", PropBone = 60309, PropPlacement = {0.0, 0.0, 0.0, 0.0, 0.0}, + EmoteMoving = true, EmoteLoop = true }}, + ["rumb"] = {"mp_player_intdrink", "loop_bottle", "(Don't Use) Rum Bottle", AnimationOptions = + { Prop = "prop_rum_bottle", PropBone = 18905, PropPlacement = {0.03, -0.18, 0.10, 240.0, -60.0}, + EmoteMoving = true, EmoteLoop = true }}, + ["icream"] = {"mp_player_intdrink", "loop_bottle", "Irish Cream Bottle", AnimationOptions = + { Prop = "prop_bottle_brandy", PropBone = 18905, PropPlacement = {0.00, -0.26, 0.10, 240.0, -60.0}, + EmoteMoving = true, EmoteLoop = true }}, + ["ginb"] = {"mp_player_intdrink", "loop_bottle", "(Don't Use) Gin Bottle", AnimationOptions = + { Prop = "prop_tequila_bottle", PropBone = 18905, PropPlacement = {0.00, -0.26, 0.10, 240.0, -60.0}, + EmoteMoving = true, EmoteLoop = true }}, + ["vodkab"] = {"mp_player_intdrink", "loop_bottle", "(Don't Use) Vodka Bottle", AnimationOptions = + { Prop = 'prop_vodka_bottle', PropBone = 18905, PropPlacement = {0.00, -0.26, 0.10, 240.0, -60.0}, + EmoteMoving = true, EmoteLoop = true }}, + ["beer1"] = {"mp_player_intdrink", "loop_bottle", "Dusche", AnimationOptions = + { Prop = "prop_beerdusche", PropBone = 18905, PropPlacement = {0.04, -0.14, 0.10, 240.0, -60.0}, + EmoteMoving = true, EmoteLoop = true, }}, + ["beer2"] = {"mp_player_intdrink", "loop_bottle", "Logger", AnimationOptions = + { Prop = "prop_beer_logopen", PropBone = 18905, PropPlacement = {0.03, -0.18, 0.10, 240.0, -60.0}, + EmoteMoving = true, EmoteLoop = true, }}, + ["beer3"] = {"mp_player_intdrink", "loop_bottle", "AM Beer", AnimationOptions = + { Prop = "prop_beer_amopen", PropBone = 18905, PropPlacement = {0.03, -0.18, 0.10, 240.0, -60.0}, + EmoteMoving = true, EmoteLoop = true, }}, + ["beer4"] = {"mp_player_intdrink", "loop_bottle", "Pisswasser1", AnimationOptions = + { Prop = "prop_beer_pissh", PropBone = 18905, PropPlacement = {0.03, -0.18, 0.10, 240.0, -60.0}, + EmoteMoving = true, EmoteLoop = true, }}, + ["beer5"] = {"mp_player_intdrink", "loop_bottle", "Pisswasser2", AnimationOptions = + { Prop = "prop_amb_beer_bottle", PropBone = 18905, PropPlacement = {0.12, 0.008, 0.03, 240.0, -60.0}, + EmoteMoving = true, EmoteLoop = true, }}, + ["beer6"] = {"mp_player_intdrink", "loop_bottle", "Pisswasser3", AnimationOptions = + { Prop = "prop_cs_beer_bot_02", PropBone = 18905, PropPlacement = {0.12, 0.008, 0.03, 240.0, -60.0}, + EmoteMoving = true, EmoteLoop = true, }}, + ["bmcoffee1"] = {"amb@world_human_drinking@coffee@male@idle_a", "idle_c", "Coffee2", AnimationOptions = + { Prop = 'prop_fib_coffee', PropBone = 28422, PropPlacement = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, + EmoteLoop = true, EmoteMoving = true, }}, + ["bmcoffee2"] = {"amb@world_human_drinking@coffee@male@idle_a", "idle_c", "Coffee3", AnimationOptions = + { Prop = 'ng_proc_coffee_01a', PropBone = 28422, PropPlacement = {0.0, 0.0, -0.06, 0.0, 0.0, 0.0}, + EmoteLoop = true, EmoteMoving = true, }}, + ["bmcoffee3"] = {"amb@world_human_drinking@coffee@male@idle_a", "idle_c", "Coffee3", AnimationOptions = + { Prop = 'v_club_vu_coffeecup', PropBone = 28422, PropPlacement = {0.0, 0.0, -0.06, 0.0, 0.0, 0.0}, + EmoteLoop = true, EmoteMoving = true, }}, + ["milk"] = {"mp_player_intdrink", "loop_bottle", "Milk", AnimationOptions = + { Prop = "v_res_tt_milk", PropBone = 18905, PropPlacement = {0.10, 0.008, 0.07, 240.0, -60.0}, + EmoteMoving = true, EmoteLoop = true, }}, + ["donut2"] = {"mp_player_inteat@burger", "mp_player_int_eat_burger", "Donut2", AnimationOptions = + { Prop = 'prop_donut_02', PropBone = 18905, PropPlacement = {0.13, 0.05, 0.02, -50.0, 100.0, 270.0}, + EmoteMoving = true, EmoteLoop = true, }}, + ["pizza"] = {"mp_player_inteat@burger", "mp_player_int_eat_burger_fp", "Pizza", AnimationOptions = + { Prop = "v_res_tt_pizzaplate", PropBone = 18905, PropPlacement = {0.20, 0.038, 0.051, 15.0, 155.0}, + EmoteMoving = true, EmoteLoop = true, }}, + ["bowl"] = {"amb@world_human_drinking@coffee@male@idle_a", "idle_c", "bowl", AnimationOptions = + { Prop = "h4_prop_h4_coke_plasticbowl_01", PropBone = 28422, PropPlacement = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, + EmoteMoving = true, EmoteLoop = true, }}, + ["foodbowl"] = {"amb@world_human_drinking@coffee@male@idle_a", "idle_c", "bowl", AnimationOptions = + { Prop = "prop_cs_bowl_01", PropBone = 28422, PropPlacement = {0.0, 0.0, 0.050, 0.0, 0.0, 0.0}, + EmoteMoving = true, EmoteLoop = true, }}, + ["umbrella"] = { + "amb@world_human_drinking@coffee@male@base", + "base", + "Umbrella", + AnimationOptions = { + Prop = "p_amb_brolly_01", + PropBone = 57005, + PropPlacement = { + 0.15, + 0.005, + 0.0, + 87.0, + -20.0, + 180.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ['umbrella2'] = { + 'rcmnigel1d', + 'base_club_shoulder', + 'Umbrella 2', + AnimationOptions = { + Prop = 'p_amb_brolly_01', + PropBone = 28422, + PropPlacement = { + 0.0700, + 0.0100, + 0.1100, + 2.3402393, + -150.9605721, + 57.3374916 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ----------------------------------------------------------------------------------------------------- + ------ This is an example of an emote with 2 props, pretty simple! ---------------------------------- + ----------------------------------------------------------------------------------------------------- + ["notepad"] = { + "missheistdockssetup1clipboard@base", + "base", + "Notepad", + AnimationOptions = { + Prop = 'prop_notepad_01', + PropBone = 18905, + PropPlacement = { + 0.1, + 0.02, + 0.05, + 10.0, + 0.0, + 0.0 + }, + SecondProp = 'prop_pencil_01', + SecondPropBone = 58866, + SecondPropPlacement = { + 0.11, + -0.02, + 0.001, + -120.0, + 0.0, + 0.0 + }, + -- EmoteLoop is used for emotes that should loop, its as simple as that. + -- Then EmoteMoving is used for emotes that should only play on the upperbody. + -- The code then checks both values and sets the MovementType to the correct one + EmoteLoop = true, + EmoteMoving = true + } + }, + ["box"] = { + "anim@heists@box_carry@", + "idle", + "Box", + AnimationOptions = { + Prop = "hei_prop_heist_box", + PropBone = 60309, + PropPlacement = { + 0.025, + 0.08, + 0.255, + -145.0, + 290.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["gift"] = { --- Custom Prop & Emote By BzZzi + "bz@give_love@anim", + "bz_give", + "Gift", + AnimationOptions = { + Prop = 'bzzz_prop_gift_orange', + PropBone = 57005, + PropPlacement = { + 0.15, + -0.03, + -0.14, + -77.0, + -120.0, + 40.0 + }, + EmoteMoving = true + } + }, + ["gift2"] = { --- Custom Prop & Emote By BzZzi + "bz@give_love@anim", + "bz_give", + "Gift 2", + AnimationOptions = { + Prop = 'bzzz_prop_gift_purple', + PropBone = 57005, + PropPlacement = { + 0.15, + -0.03, + -0.14, + -77.0, + -120.0, + 40.0 + }, + EmoteMoving = true + } + }, + ["cake"] = { --- Custom Prop & Emote By BzZzi + "anim@heists@box_carry@", + "idle", + "Birthday Cake", + AnimationOptions = { + Prop = 'bzzz_prop_cake_birthday_001', + PropBone = 18905, + PropPlacement = { + 0.33, + 0.09, + 0.2, + -128.0, + -245.0, + 2.0 + }, + EmoteMoving = true + } + }, + ["cake2"] = { --- Custom Prop & Emote By BzZzi + "anim@heists@box_carry@", + "idle", + "Baby Cake", + AnimationOptions = { + Prop = 'bzzz_prop_cake_baby_001', + PropBone = 18905, + PropPlacement = { + 0.33, + 0.09, + 0.2, + -94.0, + -162.0, + -44.0 + }, + EmoteMoving = true + } + }, + ["cake3"] = { --- Custom Prop & Emote By BzZzi + "anim@heists@box_carry@", + "idle", + "Casino Cake", + AnimationOptions = { + Prop = 'bzzz_prop_cake_casino001', + PropBone = 18905, + PropPlacement = { + 0.33, + 0.09, + 0.2, + -54.0, + -72.0, + -6.0 + }, + EmoteMoving = true + } + }, + ["cake4"] = { --- Custom Prop & Emote By BzZzi + "anim@heists@box_carry@", + "idle", + "Love Cake", + AnimationOptions = { + Prop = 'bzzz_prop_cake_love_001', + PropBone = 18905, + PropPlacement = { + 0.28, + 0.06, + 0.2, + -54.0, + -72.0, + -6.0 + }, + EmoteMoving = true + } + }, + ["cake5"] = { + "anim@heists@box_carry@", + "idle", + "Unicorn Cake", + AnimationOptions = { -- Custom Prop By PataMods + Prop = 'pata_cake', + PropBone = 28422, + PropPlacement = { + 0.0, + -0.0700, + -0.0400, + 10.0000, + 0.0000, + 0.0000 + }, + EmoteMoving = true + } + }, + ["cake6"] = { + "anim@heists@box_carry@", + "idle", + "Pride Cake", + AnimationOptions = { -- Custom Prop By PataMods + Prop = 'pata_cake2', + PropBone = 28422, + PropPlacement = { + 0.0, + -0.0700, + -0.0400, + 10.0000, + 0.0000, + 0.0000 + }, + EmoteMoving = true + } + }, + ["cake7"] = { -- Custom Prop By PataMods + "anim@heists@box_carry@", + "idle", + "Chocolate Mud Cake", + AnimationOptions = { + Prop = 'pata_cake3', + PropBone = 28422, + PropPlacement = { + -0.0100, + -0.0390, + -0.0800, + 10.0000, + 0.0000, + 0.0000 + }, + EmoteMoving = true + } + }, + ["cakew"] = { + "anim@move_f@waitress", + "idle", + "Cake Waiter - Birthday", + AnimationOptions = { + Prop = "bzzz_prop_cake_birthday_001", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0100, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["cakew2"] = { --- Custom Prop & Emote By BzZzi + "anim@move_f@waitress", + "idle", + "Cake Waiter - Baby", + AnimationOptions = { + Prop = "bzzz_prop_cake_baby_001", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0100, + 0.0, + 0.0, + 80.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["cakew3"] = { --- Custom Prop & Emote By BzZzi + "anim@move_f@waitress", + "idle", + "Cake Waiter - Casino", + AnimationOptions = { + Prop = "bzzz_prop_cake_casino001", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0100, + 0.0, + 0.0, + -160.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["cakew4"] = { --- Custom Prop & Emote By BzZzi + "anim@move_f@waitress", + "idle", + "Cake Waiter - Love", + AnimationOptions = { + Prop = "bzzz_prop_cake_love_001", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0100, + 0.0, + 0.0, + 180.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["cakew5"] = { + "anim@move_f@waitress", + "idle", + "Cake Waiter - Unicorn", + AnimationOptions = { + Prop = "pata_cake", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.1100, + 0.0, + 0.0, + 30.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["cakew6"] = { + "anim@move_f@waitress", + "idle", + "Cake Waiter - Pride", + AnimationOptions = { + Prop = "pata_cake2", + PropBone = 28422, + PropPlacement = { + 0.0000, + 0.0000, + 0.1100, + 0.0, + 0.0, + 20.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["cakew7"] = { --- Custom Prop & Emote By BzZzi + "anim@move_f@waitress", + "idle", + "Cake Waiter - Chocolate Mud", + AnimationOptions = { + Prop = "pata_cake3", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.1100, + 0.0, + 0.0, + 30.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["rose"] = { + "anim@heists@humane_labs@finale@keycards", + "ped_a_enter_loop", + "Rose", + AnimationOptions = { + Prop = "prop_single_rose", + PropBone = 18905, + PropPlacement = { + 0.13, + 0.15, + 0.0, + -100.0, + 0.0, + -20.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["smoke2"] = { + "amb@world_human_aa_smoke@male@idle_a", + "idle_c", + "Smoke 2", + AnimationOptions = { + Prop = 'prop_cs_ciggy_01', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["hitvape"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Hit Vape", + AnimationOptions = { + Prop = 'ba_prop_battle_vape_01', + PropBone = 18905, + PropPlacement = { + 0.08, -0.00, 0.03, -150.0, 90.0, -10.0 + }, + EmoteMoving = true, + EmoteLoop = true, + } + }, + ["smoke3"] = { + "amb@world_human_aa_smoke@male@idle_a", + "idle_b", + "Smoke 3", + AnimationOptions = { + Prop = 'prop_cs_ciggy_01', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["smoke4"] = { + "amb@world_human_smoking@female@idle_a", + "idle_b", + "Smoke 4", + AnimationOptions = { + Prop = 'prop_cs_ciggy_01', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["vape"] = { + "amb@world_human_smoking@male@male_b@base", + "base", + "Vape", + AnimationOptions = { + Prop = 'ba_prop_battle_vape_01', + PropBone = 28422, + PropPlacement = { + -0.0290, + 0.0070, + -0.0050, + 91.0, + 270.0, + -360.0 + }, + EmoteMoving = true, + EmoteLoop = true, + PtfxAsset = "scr_agencyheistb", + PtfxName = "scr_agency3b_elec_box", + PtfxNoProp = true, + PtfxBone = 31086, + PtfxPlacement = { + 0.0, + 0.170, + 0.0, + 0.0, + 0.0, + 0.0, + 1.4 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['vape'], + PtfxWait = 0.8, + PtfxCanHold = true + } + }, + ["vape2"] = { + "amb@world_human_smoking@male@male_b@base", + "base", + "Vape 2", + AnimationOptions = { + Prop = 'xm3_prop_xm3_vape_01a', + PropBone = 28422, + PropPlacement = { + -0.02, + -0.02, + 0.02, + 58.0, + 110.0, + 10.0 + }, + EmoteMoving = true, + EmoteLoop = true, + PtfxAsset = "scr_agencyheistb", + PtfxName = "scr_agency3b_elec_box", + PtfxNoProp = true, + PtfxBone = 31086, + PtfxPlacement = { + 0.0, + 0.170, + 0.0, + 0.0, + 0.0, + 0.0, + 1.4 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['vape'], + PtfxWait = 1.8, + PtfxCanHold = true + } + }, + ["bong"] = { + "anim@safehouse@bong", + "bong_stage3", + "Bong", + AnimationOptions = { + Prop = 'hei_heist_sh_bong_01', + PropBone = 18905, + PropPlacement = { + 0.10, + -0.25, + 0.0, + 95.0, + 190.0, + 180.0 + } + } + }, + ["bong2"] = { + "anim@safehouse@bong", + "bong_stage3", + "Bong 2", + AnimationOptions = { + Prop = 'xm3_prop_xm3_bong_01a', + PropBone = 18905, + PropPlacement = { + 0.10, + -0.25, + 0.0, + 95.0, + 190.0, + 180.0 + } + } + }, + ["fishing1"] = { + "amb@world_human_stand_fishing@idle_a", + "idle_a", + "Fishing 1", + AnimationOptions = { + Prop = 'prop_fishing_rod_01', + PropBone = 60309, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["fishing2"] = { + "amb@world_human_stand_fishing@idle_a", + "idle_b", + "Fishing 2", + AnimationOptions = { + Prop = 'prop_fishing_rod_01', + PropBone = 60309, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["fishing3"] = { + "amb@world_human_stand_fishing@idle_a", + "idle_c", + "Fishing 3", + AnimationOptions = { + Prop = 'prop_fishing_rod_01', + PropBone = 60309, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["suitcase"] = { + "move_weapon@jerrycan@generic", + "idle", + "Suitcase", + AnimationOptions = { + Prop = "prop_ld_suitcase_01", + PropBone = 57005, + PropPlacement = { + 0.35, + 0.0, + 0.0, + 0.0, + 266.0, + 90.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["suitcase2"] = { + "move_weapon@jerrycan@generic", + "idle", + "Suitcase 2", + AnimationOptions = { + Prop = "prop_security_case_01", + PropBone = 57005, + PropPlacement = { + 0.13, + 0.0, + -0.01, + 0.0, + 280.0, + 90.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["boombox"] = { + "move_weapon@jerrycan@generic", + "idle", + "Boombox", + AnimationOptions = { + Prop = "prop_boombox_01", + PropBone = 57005, + PropPlacement = { + 0.27, + 0.0, + 0.0, + 0.0, + 263.0, + 58.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["boombox2"] = { + "molly@boombox1", + "boombox1_clip", + "Boombox 2", + AnimationOptions = { + Prop = "prop_cs_sol_glasses", + PropBone = 31086, + PropPlacement = { + 0.0440, + 0.0740, + 0.0000, + -160.9843, + -88.7288, + -0.6197 + }, + SecondProp = 'prop_ghettoblast_02', + SecondPropBone = 10706, + SecondPropPlacement = { + -0.2310, + -0.0770, + 0.2410, + -179.7256, + 176.7406, + 23.0190 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["toolbox"] = { + "move_weapon@jerrycan@generic", + "idle", + "Toolbox", + AnimationOptions = { + Prop = "prop_tool_box_04", + PropBone = 28422, + PropPlacement = { + 0.3960, + 0.0410, + -0.0030, + -90.00, + 0.0, + 90.00 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["toolbox2"] = { + "move_weapon@jerrycan@generic", + "idle", + "Toolbox 2", + AnimationOptions = { + Prop = "imp_prop_tool_box_01a", + PropBone = 28422, + PropPlacement = { + 0.3700, + 0.0200, + 0.0, + 90.00, + 0.0, + -90.00 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["toolbox3"] = { + "move_weapon@jerrycan@generic", + "idle", + "Toolbox 3", + AnimationOptions = { + Prop = "xm3_prop_xm3_tool_box_01a", + PropBone = 28422, + PropPlacement = { + 0.3700, + 0.0200, + 0.0, + 90.00, + 0.0, + -90.00 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["toolbox4"] = { + "move_weapon@jerrycan@generic", + "idle", + "Toolbox 4", + AnimationOptions = { + Prop = "xm3_prop_xm3_tool_box_02a", + PropBone = 28422, + PropPlacement = { + 0.3700, + 0.0200, + 0.0, + 90.00, + 0.0, + -90.00 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["gbag"] = { + "missfbi4prepp1", + "_idle_garbage_man", + "Garbage Bag", + AnimationOptions = { + Prop = "prop_cs_street_binbag_01", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0400, + -0.0200, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["beerbox"] = { + "move_weapon@jerrycan@generic", + "idle", + "Beer Box 1", + AnimationOptions = { + Prop = "v_ret_ml_beerdus", + PropBone = 57005, + PropPlacement = { + 0.22, + 0.0, + 0.0, + 0.0, + 266.0, + 48.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["beerbox2"] = { + "move_weapon@jerrycan@generic", + "idle", + "Beer Box 2", + AnimationOptions = { + Prop = "v_ret_ml_beeram", + PropBone = 57005, + PropPlacement = { + 0.22, + 0.0, + 0.0, + 0.0, + 266.0, + 48.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["beerbox3"] = { + "move_weapon@jerrycan@generic", + "idle", + "Beer Box 3", + AnimationOptions = { + Prop = "v_ret_ml_beerpride", + PropBone = 57005, + PropPlacement = { + 0.22, + 0.0, + 0.0, + 0.0, + 266.0, + 48.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["beerbox4"] = { + "move_weapon@jerrycan@generic", + "idle", + "Beer Box 4", + AnimationOptions = { + Prop = "v_ret_ml_beerbar", + PropBone = 57005, + PropPlacement = { + 0.22, + 0.0, + 0.0, + 0.0, + 266.0, + 60.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["mugshot"] = { + "mp_character_creation@customise@male_a", + "loop", + "Mugshot", + AnimationOptions = { + Prop = 'prop_police_id_board', + PropBone = 58868, + PropPlacement = { + 0.12, + 0.24, + 0.0, + 5.0, + 0.0, + 70.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["coffee"] = { + "amb@world_human_drinking@coffee@male@idle_a", + "idle_c", + "Coffee", + AnimationOptions = { + Prop = 'p_amb_coffeecup_01', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["whiskey"] = { + "amb@world_human_drinking@coffee@male@idle_a", + "idle_c", + "Whiskey", + AnimationOptions = { + Prop = 'prop_drink_whisky', + PropBone = 28422, + PropPlacement = { + 0.01, + -0.01, + -0.06, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["whiskeyb"] = { + "amb@world_human_drinking@beer@male@idle_a", + "idle_a", + "Whiskey Bottle", + AnimationOptions = { + Prop = 'ba_prop_battle_whiskey_bottle_2_s', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.05, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["beer"] = { + "amb@world_human_drinking@beer@male@idle_a", + "idle_c", + "Beer", + AnimationOptions = { + Prop = 'prop_amb_beer_bottle', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.06, + 0.0, + 15.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["beer2"] = { + "amb@world_human_drinking@beer@male@idle_a", + "idle_c", + "Beer 2", + AnimationOptions = { + Prop = 'prop_amb_beer_bottle', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.06, + 0.0, + 15.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["beer3"] = { + "amb@world_human_drinking@beer@male@idle_a", + "idle_a", + "Beer 3", + AnimationOptions = { + Prop = 'p_cs_bottle_01', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["beer4"] = { + "amb@world_human_drinking@beer@male@idle_a", + "idle_b", + "Beer 4 - Pour One Out For The Homies", + AnimationOptions = { + Prop = 'p_cs_bottle_01', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = false, + EmoteMoving = true + } + }, + ["beer5"] = { + "amb@world_human_drinking@beer@male@idle_a", + "idle_c", + "Beer 5", + AnimationOptions = { + Prop = 'p_cs_bottle_01', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["whiskeyb2"] = { + "amb@world_human_drinking@beer@male@idle_a", + "idle_a", + "Whiskey Bottle 2", + AnimationOptions = { + Prop = 'ba_prop_battle_whiskey_bottle_2_s', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.05, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["whiskeyb3"] = { + "amb@world_human_drinking@beer@male@idle_a", + "idle_a", + "Whiskey Bottle 3", + AnimationOptions = { + Prop = 'ba_prop_battle_whiskey_bottle_2_s', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.05, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["beerf"] = { + "amb@world_human_drinking@beer@female@idle_a", + "idle_a", + "Beer Female", + AnimationOptions = { + Prop = 'prop_amb_beer_bottle', + PropBone = 28422, + PropPlacement = { + 0.0, + -0.0, + 0.05, + 15.0, + 15.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["beercan"] = { + "amb@world_human_drinking@coffee@male@idle_a", + "idle_c", + "Beer Can", + AnimationOptions = { + Prop = 'v_res_tt_can01', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 80.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["beercan2"] = { + "amb@world_human_drinking@coffee@male@idle_a", + "idle_c", + "Beer Can 2", + AnimationOptions = { + Prop = 'v_res_tt_can02', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -150.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["beercan3"] = { + "amb@world_human_drinking@coffee@male@idle_a", + "idle_c", + "Beer Can 3", + AnimationOptions = { + Prop = 'h4_prop_h4_can_beer_01a', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + -0.0700, + 0.0, + 0.0, + 90.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wine2"] = { + "amb@world_human_drinking@beer@female@idle_a", + "idle_e", + "Wine 2 - Bottle", + AnimationOptions = { + Prop = 'prop_wine_rose', + PropBone = 28422, + PropPlacement = { + -0.0, + 0.04, + -0.19, + 10.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true, + --- PropPlacement = {-0.0, 0.03, -0.20, 5.0, 0.0, 0.0}, + --- F&B L&R U&D R.F&B + } + }, + ["beerf3"] = { + "amb@world_human_drinking@beer@female@idle_a", + "idle_a", + "Beer Female 3", + AnimationOptions = { + Prop = 'prop_amb_beer_bottle', + PropBone = 28422, + PropPlacement = { + 0.0, + -0.0, + 0.05, + 15.0, + 15.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["wine3"] = { + "amb@world_human_drinking@beer@female@idle_a", + "idle_e", + "Wine 3 - Bottle", + AnimationOptions = { + Prop = 'prop_wine_rose', + PropBone = 28422, + PropPlacement = { + -0.0, + 0.04, + -0.19, + 10.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["cup"] = { + "amb@world_human_drinking@coffee@male@idle_a", + "idle_c", + "Cup", + AnimationOptions = { + Prop = 'prop_plastic_cup_02', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["apple"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Apple", + AnimationOptions = { + Prop = 'sf_prop_sf_apple_01b', + PropBone = 60309, + PropPlacement = { + 0.0, + 0.0150, + -0.0200, + -124.6964, + -166.5760, + 8.4572 + }, + EmoteMoving = true + } + }, + ["taco"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Taco", + AnimationOptions = { + Prop = 'prop_taco_01', + PropBone = 60309, + PropPlacement = { + -0.0170, + 0.0070, + -0.0210, + 107.9846, + -105.0251, + 55.7779 + }, + EmoteMoving = true + } + }, + ["hotdog"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Hotdog", + AnimationOptions = { + Prop = 'prop_cs_hotdog_02', + PropBone = 60309, + PropPlacement = { + -0.0300, + 0.0100, + -0.0100, + 95.1071, + 94.7001, + -66.9179 + }, + EmoteMoving = true + } + }, + ["donut"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Donut", + AnimationOptions = { + Prop = 'prop_amb_donut', + PropBone = 18905, + PropPlacement = { + 0.13, + 0.05, + 0.02, + -50.0, + 16.0, + 60.0 + }, + EmoteMoving = true + } + }, + ["donut2"] = { --- Custom Prop by Bzzzi + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Donut Chocolate", + AnimationOptions = { + Prop = 'bzzz_foodpack_donut002', + PropBone = 60309, + PropPlacement = { + 0.0000, + -0.0300, + -0.0100, + 10.0000, + 0.0000, + -1.0000 + }, + EmoteMoving = true + } + }, + ["donut3"] = { --- Custom Prop by Bzzzi + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Donut Raspberry", + AnimationOptions = { + Prop = 'bzzz_foodpack_donut001', + PropBone = 60309, + PropPlacement = { + 0.0000, + -0.0300, + -0.0100, + 10.0000, + 0.0000, + -1.0000 + }, + EmoteMoving = true + } + }, + ["desert"] = { --- Custom Prop by Bzzzi + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Eat dessert", + AnimationOptions = { + Prop = 'bzzz_food_dessert_a', + PropBone = 18905, + PropPlacement = { + 0.15, + 0.03, + 0.03, + -42.0, + -36.0, + 0.0 + }, + EmoteMoving = true + } + }, + ["croissant"] = { --- Custom Prop by Bzzzi + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Croissant", + AnimationOptions = { + Prop = 'bzzz_foodpack_croissant001', + PropBone = 60309, + PropPlacement = { + 0.0000, + 0.0000, + -0.0100, + 0.0000, + 0.0000, + 90.0000 + }, + EmoteMoving = true + } + }, + ["gingerbread"] = { --- Custom Prop by Bzzzi + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Xmas Gingerbread Man", + AnimationOptions = { + Prop = 'bzzz_food_xmas_gingerbread_a', + PropBone = 18905, + PropPlacement = { + 0.16, + 0.04, + 0.03, + 18.0, + 164.0, + -5.0 + }, + EmoteMoving = true + } + }, + ["candycane"] = { --- Custom Prop by Bzzzi + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Xmas Candy Cane - Red", + AnimationOptions = { + Prop = 'bzzz_food_xmas_lollipop_a', + PropBone = 18905, + PropPlacement = { + 0.16, + 0.02, + 0.03, + -73.0, + 146.0, + -5.0 + }, + EmoteMoving = true + } + }, + ["candycaneb"] = { --- Custom Prop by Bzzzi + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Xmas Candy Cane - Green", + AnimationOptions = { + Prop = 'bzzz_food_xmas_lollipop_b', + PropBone = 18905, + PropPlacement = { + 0.16, + 0.02, + 0.03, + -73.0, + 146.0, + -5.0 + }, + EmoteMoving = true + } + }, + ["candycanec"] = { --- Custom Prop by Bzzzi + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Xmas Candy Cane - Purple", + AnimationOptions = { + Prop = 'bzzz_food_xmas_lollipop_c', + PropBone = 18905, + PropPlacement = { + 0.16, + 0.02, + 0.03, + -73.0, + 146.0, + -5.0 + }, + EmoteMoving = true + } + }, + ["candycaned"] = { --- Custom Prop by Bzzzi + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Xmas Candy Cane - Yellow", + AnimationOptions = { + Prop = 'bzzz_food_xmas_lollipop_d', + PropBone = 18905, + PropPlacement = { + 0.16, + 0.02, + 0.03, + -73.0, + 146.0, + -5.0 + }, + EmoteMoving = true + } + }, + ["candycanee"] = { --- Custom Prop by Bzzzi + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Xmas Candy Cane - Blue", + AnimationOptions = { + Prop = 'bzzz_food_xmas_lollipop_e', + PropBone = 18905, + PropPlacement = { + 0.16, + 0.02, + 0.03, + -73.0, + 146.0, + -5.0 + }, + EmoteMoving = true + } + }, + ["macaroon"] = { --- Custom Prop by Bzzzi + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Macaroon", + AnimationOptions = { + Prop = 'bzzz_food_xmas_macaroon_a', + PropBone = 18905, + PropPlacement = { + 0.15, + 0.07, + 0.00, + 38.0, + 7.0, + 7.0 + }, + EmoteMoving = true + } + }, + ["xmasmug"] = { --- Custom Prop by Bzzzi + "mp_player_intdrink", + "loop_bottle", + "Xmas Mug - Tea", + AnimationOptions = { + Prop = 'bzzz_food_xmas_mug_a', + PropBone = 18905, + PropPlacement = { + 0.09, + -0.01, + 0.08, + -44.0, + 137.0, + 9.0 + }, + EmoteMoving = true + } + }, + ["xmasmug2"] = { --- Custom Prop by Bzzzi + "mp_player_intdrink", + "loop_bottle", + "Xmas Mug - Coffee", + AnimationOptions = { + Prop = 'bzzz_food_xmas_mug_b', + PropBone = 18905, + PropPlacement = { + 0.09, + -0.01, + 0.08, + -44.0, + 137.0, + 9.0 + }, + EmoteMoving = true + } + }, + ["xmaswine"] = { --- Custom Prop by Bzzzi + "mp_player_intdrink", + "loop_bottle", + "Xmas Mulled Wine", + AnimationOptions = { + Prop = 'bzzz_food_xmas_mulled_wine_a', + PropBone = 18905, + PropPlacement = { + 0.13, + 0.03, + 0.05, + -110.0, + -47.0, + 7.0 + }, + EmoteMoving = true + } + }, + ["cocoa"] = { + "amb@world_human_aa_coffee@base", + "base", + "Xmas Cocoa", + AnimationOptions = { + Prop = 'pata_christmasfood1', + PropBone = 28422, + PropPlacement = { + 0.0100, + -0.1100, + -0.1300, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["xmassf"] = { --- Custom Prop by PataMods + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Xmas Snowflake Cookie", + AnimationOptions = { + Prop = 'pata_christmasfood2', + PropBone = 60309, + PropPlacement = { + 0.0200, + -0.0500, + 0.0200, + 0.0, + 0.0, + 0.0 + }, + EmoteMoving = true + } + }, + ["xmascc"] = { --- Custom Prop by PataMods + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Xmas Cupcake", + AnimationOptions = { + Prop = 'pata_christmasfood6', + PropBone = 60309, + PropPlacement = { + 0.0100, + 0.0200, + -0.0100, + -170.1788, + 87.6716, + 30.0540 + }, + EmoteMoving = true + } + }, + ["xmascc2"] = { --- Custom Prop by PataMods + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Xmas Cupcake 2", + AnimationOptions = { + Prop = 'pata_christmasfood8', + PropBone = 60309, + PropPlacement = { + 0.0200, + 0.0, + -0.0100, + 9.3608, + -90.1809, + 66.3689 + }, + EmoteMoving = true + } + }, + ["xmasic"] = { + "anim@scripted@island@special_peds@pavel@hs4_pavel_ig5_caviar_p1", + "base_idle", + "Xmas Ice Cream", + AnimationOptions = { + Prop = "pata_christmasfood7", + PropBone = 60309, + PropPlacement = { + -0.0460, + 0.0000, + -0.0300, + 0.0, + 0.0, + -50.0000 + }, + SecondProp = 'h4_prop_h4_coke_spoon_01', + SecondPropBone = 28422, + SecondPropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 20.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["pizzaslice"] = { --- Custom Prop by knjgh + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Pizza Slice - Jalapeño And Peperoni", + AnimationOptions = { + Prop = 'knjgh_pizzaslice1', + PropBone = 60309, + PropPlacement = { + 0.0500, + -0.0200, + -0.0200, + 73.6928, + -66.7427, + 68.3677 + }, + EmoteMoving = true + } + }, + ["pizzas"] = { --- Custom Prop by knjgh + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Pizza Slice - Jalapeño And Peperoni", + AnimationOptions = { + Prop = 'knjgh_pizzaslice1', + PropBone = 60309, + PropPlacement = { + 0.0500, + -0.0200, + -0.0200, + 73.6928, + -66.7427, + 68.3677 + }, + EmoteMoving = true + } + }, + ["pizzas2"] = { --- Custom Prop by knjgh + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Pizza Slice - Tomato And Pesto", + AnimationOptions = { + Prop = 'knjgh_pizzaslice2', + PropBone = 60309, + PropPlacement = { + 0.0500, + -0.0200, + -0.0200, + 73.6928, + -66.7427, + 68.3677 + }, + EmoteMoving = true + } + }, + ["pizzas3"] = { --- Custom Prop by knjgh + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Pizza Slice - Mushroom", + AnimationOptions = { + Prop = 'knjgh_pizzaslice3', + PropBone = 60309, + PropPlacement = { + 0.0500, + -0.0200, + -0.0200, + 73.6928, + -66.7427, + 68.3677 + }, + EmoteMoving = true + } + }, + ["pizzas4"] = { --- Custom Prop by knjgh + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Pizza Slice - Margherita", + AnimationOptions = { + Prop = 'knjgh_pizzaslice4', + PropBone = 60309, + PropPlacement = { + 0.0500, + -0.0200, + -0.0200, + 73.6928, + -66.7427, + 68.3677 + }, + EmoteMoving = true + } + }, + ["pizzas5"] = { --- Custom Prop by knjgh + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Pizza Slice - Double Peperoni", + AnimationOptions = { + Prop = 'knjgh_pizzaslice5', + PropBone = 60309, + PropPlacement = { + 0.0500, + -0.0200, + -0.0200, + 73.6928, + -66.7427, + 68.3677 + }, + EmoteMoving = true + } + }, + ["burger"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Burger", + AnimationOptions = { + Prop = 'prop_cs_burger_01', + PropBone = 18905, + PropPlacement = { + 0.13, + 0.05, + 0.02, + -50.0, + 16.0, + 60.0 + }, + EmoteMoving = true + } + }, + ["sandwich"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Sandwich", + AnimationOptions = { + Prop = 'prop_sandwich_01', + PropBone = 18905, + PropPlacement = { + 0.13, + 0.05, + 0.02, + -50.0, + 16.0, + 60.0 + }, + EmoteMoving = true + } + }, + ["soda"] = { + "amb@world_human_drinking@coffee@male@idle_a", + "idle_c", + "Soda - eCola Can", + AnimationOptions = { + Prop = 'prop_ecola_can', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 130.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["soda2"] = { + "amb@world_human_drinking@coffee@male@idle_a", + "idle_c", + "Soda 2 - Sprunk Can", + AnimationOptions = { + Prop = 'ng_proc_sodacan_01b', + PropBone = 28422, + PropPlacement = { + 0.0050, + -0.0010, + -0.0800, + 0.0, + 0.0, + 160.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["soda3"] = { + "amb@code_human_wander_drinking@male@base", + "static", + "Soda 3 - P's & Q's Cup", + AnimationOptions = { + Prop = 'v_ret_fh_bscup', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0400, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["soda4"] = { + "amb@code_human_wander_drinking@male@base", + "static", + "Soda 4 - Burger Shot Cup", + AnimationOptions = { + Prop = 'prop_cs_bs_cup', + PropBone = 28422, + PropPlacement = { + 0.0060, + 0.0010, + 0.0, + 0.0, + 0.0, + -150.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["soda5"] = { + "amb@code_human_wander_drinking@male@base", + "static", + "Soda 5 - eCola Cup", + AnimationOptions = { + Prop = 'prop_dpemotes_soda03', + PropBone = 28422, + PropPlacement = { + 0.0060, + 0.0010, + 0.0, + 0.0, + 0.0, + 80.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["soda6"] = { + "amb@code_human_wander_drinking@male@base", + "static", + "Soda 6 - eCola Light Cup", + AnimationOptions = { + Prop = 'prop_dpemotes_soda04', + PropBone = 28422, + PropPlacement = { + 0.0060, + 0.0010, + 0.0, + 0.0, + 0.0, + 80.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["soda7"] = { + "amb@code_human_wander_drinking@male@base", + "static", + "Soda 7- Sprunk Cup", + AnimationOptions = { + Prop = 'prop_dpemotes_soda01', + PropBone = 28422, + PropPlacement = { + 0.0060, + 0.0010, + 0.0, + 0.0, + 0.0, + 80.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["soda8"] = { + "amb@code_human_wander_drinking@male@base", + "static", + "Soda 8 - Sprunk Light Cup", + AnimationOptions = { + Prop = 'prop_dpemotes_soda02', + PropBone = 28422, + PropPlacement = { + 0.0060, + 0.0010, + 0.0, + 0.0, + 0.0, + 80.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["soda9"] = { + "amb@world_human_drinking@coffee@male@idle_a", + "idle_c", + "Soda - Orange Flavoured Can", + AnimationOptions = { + Prop = 'prop_orang_can_01', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 130.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["frappe"] = { + "amb@code_human_wander_drinking@male@base", + "static", + "Frappe", + AnimationOptions = { + Prop = 'brum_heartfrappe', + PropBone = 28422, + PropPlacement = { + 0.0, + -0.0150, + -0.0100, + 0.0, + -3.9999, + 0.0, + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["frappe2"] = { + "amb@code_human_wander_drinking@female@base", + "static", + "Frappe 2 ", + AnimationOptions = { + Prop = 'starbuckscup', + PropBone = 28422, + PropPlacement = { + -0.0060, + 0.0150, + -0.0780, + 0.0, + 0.0, + 0.0, + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["edrink"] = { + "mp_player_intdrink", + "loop_bottle", + "Energy Drink - Bottle", + AnimationOptions = + { + Prop = "prop_energy_drink", + PropBone = 60309, + PropPlacement = { + 0.0080, + 0.0010, + 0.0160, + 3.5690, + 4.6611, + -49.9065 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["edrink2"] = { + "amb@world_human_drinking@coffee@male@idle_a", + "idle_c", + "Energy Drink - Can", + AnimationOptions = + { + Prop = "sf_prop_sf_can_01a", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -110.0 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["edrink3"] = { + "amb@world_human_drinking@coffee@male@idle_a", + "idle_c", + "Energy Drink - XXL Can", + AnimationOptions = + { + Prop = "sf_p_sf_grass_gls_s_01a", + PropBone = 28422, + PropPlacement = { + 0.0000, + 0.0000, + -0.1400, + 0.0000, + 0.0000, + 9.0000 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["water"] = { + "mp_player_intdrink", + "loop_bottle", + "Water Bottle", + AnimationOptions = + { + Prop = "vw_prop_casino_water_bottle_01a", + PropBone = 60309, + PropPlacement = { + 0.0080, + 0.0, + -0.0500, + 0.0, + 0.0, + -40.0000 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["egobar"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Ego Bar", + AnimationOptions = { + Prop = 'prop_choc_ego', + PropBone = 60309, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteMoving = true + } + }, + ["candy"] = { + "mp_player_inteat@pnq", + "loop", + "Candy", + AnimationOptions = { + Prop = 'prop_candy_pqs', + PropBone = 60309, + PropPlacement = { + -0.0300, + 0.0180, + 0.0, + 180.0, + 180.0, + -88.099 + }, + EmoteMoving = true + } + }, + ["lollipop1"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Lollipop Spiral Red", + AnimationOptions = { + Prop = 'natty_lollipop_spiral01', + PropBone = 60309, + PropPlacement = { + -0.0100, + 0.0200, + -0.0100, + -175.1935, + 97.6975, + 20.9598 + }, + EmoteMoving = true + } + }, + ["lollipop1b"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Lollipop Spiral Pink", + AnimationOptions = { + Prop = 'natty_lollipop_spiral02', + PropBone = 60309, + PropPlacement = { + -0.0100, + 0.0200, + -0.0100, + -175.1935, + 97.6975, + 20.9598 + }, + EmoteMoving = true + } + }, + ["lollipop1c"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Lollipop Spiral Green", + AnimationOptions = { + Prop = 'natty_lollipop_spiral03', + PropBone = 60309, + PropPlacement = { + -0.0100, + 0.0200, + -0.0100, + -175.1935, + 97.6975, + 20.9598 + }, + EmoteMoving = true + } + }, + ["lollipop1d"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Lollipop Spiral Blue", + AnimationOptions = { + Prop = 'natty_lollipop_spiral04', + PropBone = 60309, + PropPlacement = { + -0.0100, + 0.0200, + -0.0100, + -175.1935, + 97.6975, + 20.9598 + }, + EmoteMoving = true + } + }, + ["lollipop1e"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Lollipop Spiral Yellow", + AnimationOptions = { + Prop = 'natty_lollipop_spiral05', + PropBone = 60309, + PropPlacement = { + -0.0100, + 0.0200, + -0.0100, + -175.1935, + 97.6975, + 20.9598 + }, + EmoteMoving = true + } + }, + ["lollipop1f"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Lollipop Spiral Purple", + AnimationOptions = { + Prop = 'natty_lollipop_spiral06', + PropBone = 60309, + PropPlacement = { + -0.0100, + 0.0200, + -0.0100, + -175.1935, + 97.6975, + 20.9598 + }, + EmoteMoving = true + } + }, + ["lollipop2a"] = { + "anim@heists@humane_labs@finale@keycards", + "ped_a_enter_loop", + "Lollipop Spin Red", + AnimationOptions = { + Prop = "natty_lollipop_spin01", + PropBone = 60309, + PropPlacement = { + -0.0300, + -0.0500, + 0.0500, + 112.4227, + -128.8559, + 15.6107 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["lollipop2b"] = { + "anim@heists@humane_labs@finale@keycards", + "ped_a_enter_loop", + "Lollipop Spin Yellow And Pink", + AnimationOptions = { + Prop = "natty_lollipop_spin02", + PropBone = 60309, + PropPlacement = { + -0.0300, + -0.0500, + 0.0500, + 112.4227, + -128.8559, + 15.6107 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["lollipop2c"] = { + "anim@heists@humane_labs@finale@keycards", + "ped_a_enter_loop", + "Lollipop Spin Yellow And Green", + AnimationOptions = { + Prop = "natty_lollipop_spin03", + PropBone = 60309, + PropPlacement = { + -0.0300, + -0.0500, + 0.0500, + 112.4227, + -128.8559, + 15.6107 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["lollipop2d"] = { + "anim@heists@humane_labs@finale@keycards", + "ped_a_enter_loop", + "Lollipop Spin Yellow And White", + AnimationOptions = { + Prop = "natty_lollipop_spin04", + PropBone = 60309, + PropPlacement = { + -0.0300, + -0.0500, + 0.0500, + 112.4227, + -128.8559, + 15.6107 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["lollipop2e"] = { + "anim@heists@humane_labs@finale@keycards", + "ped_a_enter_loop", + "Lollipop Spin Pink And White", + AnimationOptions = { + Prop = "natty_lollipop_spin05", + PropBone = 60309, + PropPlacement = { + -0.0300, + -0.0500, + 0.0500, + 112.4227, + -128.8559, + 15.6107 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["lollipop3a"] = { + "amb@world_human_smoking@male@male_a@enter", + "enter", + "Lollipop Suck", + AnimationOptions = { + Prop = 'natty_lollipop01', + PropBone = 47419, + PropPlacement = { + 0.0100, + 0.0300, + 0.0100, + -90.0000, + 10.0000, + -10.0000 + }, + EmoteMoving = true, + EmoteDuration = 2600 + } + }, + ["icecreama"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Ice cream Cherry", + AnimationOptions = { + Prop = 'bzzz_icecream_cherry', + PropBone = 18905, + PropPlacement = { + 0.14, + 0.03, + 0.01, + 85.0, + 70.0, + -203.0 + }, + EmoteMoving = true + } + }, + ["icecreamb"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Ice cream Chocolate", + AnimationOptions = { + Prop = 'bzzz_icecream_chocolate', + PropBone = 18905, + PropPlacement = { + 0.14, + 0.03, + 0.01, + 85.0, + 70.0, + -203.0 + }, + EmoteMoving = true + } + }, + ["icecreamc"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Ice cream Lemon", + AnimationOptions = { + Prop = 'bzzz_icecream_lemon', + PropBone = 18905, + PropPlacement = { + 0.14, + 0.03, + 0.01, + 85.0, + 70.0, + -203.0 + }, + EmoteMoving = true + } + }, + ["icecreamd"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Ice cream Pistachio", + AnimationOptions = { + Prop = 'bzzz_icecream_pistachio', + PropBone = 18905, + PropPlacement = { + 0.14, + 0.03, + 0.01, + 85.0, + 70.0, + -203.0 + }, + EmoteMoving = true + } + }, + ["icecreame"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Ice cream Raspberry", + AnimationOptions = { + Prop = 'bzzz_icecream_raspberry', + PropBone = 18905, + PropPlacement = { + 0.14, + 0.03, + 0.01, + 85.0, + 70.0, + -203.0 + }, + EmoteMoving = true + } + }, + ["icecreamf"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Ice cream Stracciatella", + AnimationOptions = { + Prop = 'bzzz_icecream_stracciatella', + PropBone = 18905, + PropPlacement = { + 0.14, + 0.03, + 0.01, + 85.0, + 70.0, + -203.0 + }, + EmoteMoving = true + } + }, + ["icecreamg"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Ice cream Strawberry", + AnimationOptions = { + Prop = 'bzzz_icecream_strawberry', + PropBone = 18905, + PropPlacement = { + 0.14, + 0.03, + 0.01, + 85.0, + 70.0, + -203.0 + }, + EmoteMoving = true + } + }, + ["icecreamh"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Ice cream Walnut", + AnimationOptions = { + Prop = 'bzzz_icecream_walnut', + PropBone = 18905, + PropPlacement = { + 0.14, + 0.03, + 0.01, + 85.0, + 70.0, + -203.0 + }, + EmoteMoving = true + } + }, + ["wine"] = { + "anim@heists@humane_labs@finale@keycards", + "ped_a_enter_loop", + "Wine", + AnimationOptions = { + Prop = 'prop_drink_redwine', + PropBone = 18905, + PropPlacement = { + 0.10, + -0.03, + 0.03, + -100.0, + 0.0, + -10.0 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["flute"] = { + "anim@heists@humane_labs@finale@keycards", + "ped_a_enter_loop", + "Flute", + AnimationOptions = { + Prop = 'prop_champ_flute', + PropBone = 18905, + PropPlacement = { + 0.10, + -0.03, + 0.03, + -100.0, + 0.0, + -10.0 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["champagne"] = { + "anim@heists@humane_labs@finale@keycards", + "ped_a_enter_loop", + "Champagne", + AnimationOptions = { + Prop = 'prop_drink_champ', + PropBone = 18905, + PropPlacement = { + 0.10, + -0.03, + 0.03, + -100.0, + 0.0, + -10.0 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["cigar"] = { + "amb@world_human_smoking@male@male_a@enter", + "enter", + "Cigar", + AnimationOptions = { + Prop = 'prop_cigar_02', + PropBone = 47419, + PropPlacement = { + 0.010, + 0.0, + 0.0, + 50.0, + 0.0, + -80.0 + }, + EmoteMoving = true, + EmoteDuration = 2600 + } + }, + ["cigar2"] = { + "amb@world_human_smoking@male@male_a@enter", + "enter", + "Cigar 2", + AnimationOptions = { + Prop = 'prop_cigar_01', + PropBone = 47419, + PropPlacement = { + 0.010, + 0.0, + 0.0, + 50.0, + 0.0, + -80.0 + }, + EmoteMoving = true, + EmoteDuration = 2600 + } + }, + ["guitar"] = { + "amb@world_human_musician@guitar@male@idle_a", + "idle_b", + "Guitar", + AnimationOptions = { + Prop = 'prop_acc_guitar_01', + PropBone = 24818, + PropPlacement = { + -0.1, + 0.31, + 0.1, + 0.0, + 20.0, + 150.0 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["guitar2"] = { + "switch@trevor@guitar_beatdown", + "001370_02_trvs_8_guitar_beatdown_idle_busker", + "Guitar 2", + AnimationOptions = { + Prop = 'prop_acc_guitar_01', + PropBone = 24818, + PropPlacement = { + -0.05, + 0.31, + 0.1, + 0.0, + 20.0, + 150.0 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["guitarelectric"] = { + "amb@world_human_musician@guitar@male@idle_a", + "idle_b", + "Guitar Electric", + AnimationOptions = { + Prop = 'prop_el_guitar_01', + PropBone = 24818, + PropPlacement = { + -0.1, + 0.31, + 0.1, + 0.0, + 20.0, + 150.0 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["guitarelectric2"] = { + "amb@world_human_musician@guitar@male@idle_a", + "idle_b", + "Guitar Electric 2", + AnimationOptions = { + Prop = 'prop_el_guitar_03', + PropBone = 24818, + PropPlacement = { + -0.1, + 0.31, + 0.1, + 0.0, + 20.0, + 150.0 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["guitarcarry"] = { + "move_weapon@jerrycan@generic", + "idle", + "Guitar Case Carry", + AnimationOptions = { + Prop = "sf_prop_sf_guitar_case_01a", + PropBone = 28422, + PropPlacement = { + 0.2800, + -0.2000, + -0.0600, + 0.0, + 0.0, + 15.0000 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["guitarcarry2"] = { + "move_weapon@jerrycan@generic", + "idle", + "Guitar Carry Accoustic", + AnimationOptions = { + Prop = "prop_acc_guitar_01", + PropBone = 28422, + PropPlacement = { + 0.1500, + -0.1400, + -0.0200, + -101.5083, + 5.7251, + 29.4987 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["guitarcarry3"] = { + "move_weapon@jerrycan@generic", + "idle", + "Guitar Carry Electric ", + AnimationOptions = { + Prop = "prop_el_guitar_01", + PropBone = 28422, + PropPlacement = { + 0.1100, + -0.1200, + -0.0500, + -80.0000, + 0.0, + 21.9999 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["guitarcarry4"] = { + "move_weapon@jerrycan@generic", + "idle", + "Guitar Carry Electric 2 ", + AnimationOptions = { + Prop = "prop_el_guitar_02", + PropBone = 28422, + PropPlacement = { + 0.1100, + -0.1200, + -0.0500, + -80.0000, + 0.0, + 21.9999 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["guitarcarry5"] = { + "move_weapon@jerrycan@generic", + "idle", + "Guitar Carry Electric 3 ", + AnimationOptions = { + Prop = "prop_el_guitar_03", + PropBone = 28422, + PropPlacement = { + 0.1100, + -0.1200, + -0.0500, + -80.0000, + 0.0, + 21.9999 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["guitarcarry6"] = { + "move_weapon@jerrycan@generic", + "idle", + "Guitar Carry Electric 4 ", + AnimationOptions = { + Prop = "vw_prop_casino_art_guitar_01a", + PropBone = 28422, + PropPlacement = { + 0.1100, + -0.1200, + -0.0500, + -80.0000, + 0.0, + 21.9999 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["guitarcarry7"] = { + "move_weapon@jerrycan@generic", + "idle", + "Guitar Carry Electric 5 ", + AnimationOptions = { + Prop = "sf_prop_sf_el_guitar_02a", + PropBone = 28422, + PropPlacement = { + 0.1100, + -0.1200, + -0.0500, + -80.0000, + 0.0, + 21.9999 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["guitarsit"] = { + "misssnowie@gatlax", + "base", + "Guitar Sit And Play", + AnimationOptions = { + Prop = "prop_acc_guitar_01", + PropBone = 24818, + PropPlacement = { + -0.0510, + 0.2770, + -0.0299, + -140.3349, + 166.3300, + 29.7590 + }, + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["book"] = { + "cellphone@", + "cellphone_text_read_base", + "Book", + AnimationOptions = { + Prop = 'prop_novel_01', + PropBone = 6286, + PropPlacement = { + 0.15, + 0.03, + -0.065, + 0.0, + 180.0, + 90.0 + }, + -- This positioning isnt too great, was to much of a hassle + EmoteMoving = true, + EmoteLoop = true + } + }, + ["bouquet"] = { + "impexp_int-0", + "mp_m_waremech_01_dual-0", + "Bouquet", + AnimationOptions = { + Prop = 'prop_snow_flower_02', + PropBone = 24817, + PropPlacement = { + -0.29, + 0.40, + -0.02, + -90.0, + -90.0, + 0.0 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["bouquet2"] = { + "impexp_int-0", + "mp_m_waremech_01_dual-0", + "Bouquet 2", + AnimationOptions = { + Prop = 'pata_freevalentinesday3', + PropBone = 28422, + PropPlacement = { + -0.0100, + 0.0300, + -0.1700, + -6.0697, + 60.1852, + 3.4934 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["teddy"] = { + "impexp_int-0", + "mp_m_waremech_01_dual-0", + "Teddy", + AnimationOptions = { + Prop = 'v_ilev_mr_rasberryclean', + PropBone = 24817, + PropPlacement = { + -0.20, + 0.46, + -0.016, + -180.0, + -90.0, + 0.0 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["teddy2"] = { + "impexp_int-0", + "mp_m_waremech_01_dual-0", + "Teddy 2 - Gremlin", + AnimationOptions = { + Prop = 'gremlin_plush', + PropBone = 57005, + PropPlacement = { + 0.2610, + -0.1220, + -0.0290, + -96.2588, + 62.8313, + 9.2446 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["backpack"] = { + "move_p_m_zero_rucksack", + "nill", + "Backpack", + AnimationOptions = { + Prop = 'p_michael_backpack_s', + PropBone = 24818, + PropPlacement = { + 0.07, + -0.11, + -0.05, + 0.0, + 90.0, + 175.0 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["clipboard"] = { + "missfam4", + "base", + "Clipboard", + AnimationOptions = { + Prop = 'p_amb_clipboard_01', + PropBone = 36029, + PropPlacement = { + 0.16, + 0.08, + 0.1, + -130.0, + -50.0, + 0.0 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["map"] = { + "amb@world_human_tourist_map@male@base", + "base", + "Map", + AnimationOptions = { + Prop = 'prop_tourist_map_01', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["map2"] = { + "amb@code_human_in_bus_passenger_idles@female@tablet@idle_a", + "idle_a", + "Map 2", + AnimationOptions = { + Prop = "prop_tourist_map_01", + PropBone = 28422, + PropPlacement = { + -0.05, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["beg"] = { + "amb@world_human_bum_freeway@male@base", + "base", + "Beg", + AnimationOptions = { + Prop = 'prop_beggers_sign_03', + PropBone = 58868, + PropPlacement = { + 0.19, + 0.18, + 0.0, + 5.0, + 0.0, + 40.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["newspaper"] = { + "amb@world_human_clipboard@male@idle_a", + "idle_a", + "Newspaper", + AnimationOptions = { + Prop = 'prop_cliff_paper', + PropBone = 60309, + PropPlacement = { + 0.0970, + -0.0280, + -0.0170, + 107.4008, + 3.2712, + -10.5080 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["newspaper2"] = { + "amb@world_human_clipboard@male@idle_a", + "idle_a", + "Newspaper 2", + AnimationOptions = { + Prop = 'ng_proc_paper_news_quik', + PropBone = 60309, + PropPlacement = { + 0.1590, + 0.0290, + -0.0100, + 90.9998, + 0.0087, + 0.5000 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["newspaper3"] = { + "amb@world_human_clipboard@male@idle_a", + "idle_a", + "Newspaper 3", + AnimationOptions = { + Prop = 'ng_proc_paper_news_rag', + PropBone = 60309, + PropPlacement = { + 0.1760, + -0.00070, + 0.0200, + 99.8306, + 3.2841, + -4.7185 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["pornmag"] = { + "amb@world_human_clipboard@male@base", + "base", + "Porn Magazine", + AnimationOptions = { + Prop = 'prop_porn_mag_02', + PropBone = 60309, + PropPlacement = { + 0.1000, + -0.0360, + -0.0300, + -86.9096, + 179.2527, + 13.8804 + }, + EmoteMoving = true, + EmoteLoop = true + }, + AdultAnimation = true + }, + ["pornmag2"] = { + "amb@world_human_clipboard@male@base", + "base", + "Porn Magazine 2", + AnimationOptions = { + Prop = 'prop_cs_magazine', + PropBone = 60309, + PropPlacement = { + 0.0800, + -0.0490, + -0.0500, + 87.9369, + -0.4292, + -14.3925 + }, + EmoteMoving = true, + EmoteLoop = true + }, + AdultAnimation = true + }, + ["pornmag3"] = { + "amb@world_human_clipboard@male@base", + "base", + "Porn Magazine 3", + AnimationOptions = { + Prop = 'prop_porn_mag_03', + PropBone = 60309, + PropPlacement = { + 0.1000, + -0.0700, + -0.0200, + -90.0000, + -180.0000, + 22.7007 + }, + EmoteMoving = true, + EmoteLoop = true + }, + AdultAnimation = true + }, + ["pornmag4"] = { + "amb@world_human_clipboard@male@base", + "base", + "Porn Magazine 4", + AnimationOptions = { + Prop = 'v_res_tt_pornmag01', + PropBone = 60309, + PropPlacement = { + -0.0200, + -0.0300, + 0.0000, + 88.9862, + 0.2032, + -20.0016 + }, + EmoteMoving = true, + EmoteLoop = true + }, + AdultAnimation = true + }, + ["pornmag5"] = { + "amb@world_human_clipboard@male@base", + "base", + "Porn Magazine 5", + AnimationOptions = { + Prop = 'v_res_tt_pornmag02', + PropBone = 60309, + PropPlacement = { + -0.0200, + -0.0300, + 0.0000, + 88.9862, + 0.2032, + -20.0016 + }, + EmoteMoving = true, + EmoteLoop = true + }, + AdultAnimation = true + }, + ["pornmag6"] = { + "amb@world_human_clipboard@male@base", + "base", + "Porn Magazine 6", + AnimationOptions = { + Prop = 'v_res_tt_pornmag03', + PropBone = 60309, + PropPlacement = { + -0.0200, + -0.0300, + 0.0000, + 88.9862, + 0.2032, + -20.0016 + }, + EmoteMoving = true, + EmoteLoop = true + }, + AdultAnimation = true + }, + ["pornmag7"] = { + "amb@world_human_clipboard@male@base", + "base", + "Porn Magazine 7", + AnimationOptions = { + Prop = 'v_res_tt_pornmag04', + PropBone = 60309, + PropPlacement = { + -0.0200, + -0.0300, + 0.0000, + 88.9862, + 0.2032, + -20.0016 + }, + EmoteMoving = true, + EmoteLoop = true + }, + AdultAnimation = true + }, + ["makeitrain"] = { + "anim@mp_player_intupperraining_cash", + "idle_a", + "Make It Rain", + AnimationOptions = { + Prop = 'prop_anim_cash_pile_01', + PropBone = 60309, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 180.0, + 0.0, + 70.0 + }, + EmoteMoving = true, + EmoteLoop = true, + PtfxAsset = "scr_xs_celebration", + PtfxName = "scr_xs_money_rain", + PtfxPlacement = { + 0.0, + 0.0, + -0.09, + -80.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['makeitrain'], + PtfxWait = 500, + PtfxCanHold = true + } + }, + ["camera"] = { + "amb@world_human_paparazzi@male@base", + "base", + "Camera", + AnimationOptions = { + Prop = 'prop_pap_camera_01', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true, + PtfxAsset = "scr_bike_business", + PtfxName = "scr_bike_cfid_camera_flash", + PtfxPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["camera2"] = { + "cellphone@female", + "cellphone_text_read_base_cover_low", + "Camera 2", + AnimationOptions = { + Prop = "prop_ing_camera_01", + PropBone = 28422, + PropPlacement = { + 0.0100, + -0.0300, + 0.0520, + -172.0487, + -163.9389, + -29.0221 + }, + EmoteLoop = false, + EmoteMoving = true, + PtfxAsset = "scr_bike_business", + PtfxName = "scr_bike_cfid_camera_flash", + PtfxPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["champagnespray"] = { + "anim@mp_player_intupperspray_champagne", + "idle_a", + "Champagne Spray", + AnimationOptions = { + Prop = 'ba_prop_battle_champ_open', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteMoving = true, + EmoteLoop = true, + PtfxAsset = "scr_ba_club", + PtfxName = "scr_ba_club_champagne_spray", + PtfxPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['spraychamp'], + PtfxWait = 500, + PtfxCanHold = true + } + }, + ["joint"] = { + "amb@world_human_smoking@male@male_a@enter", + "enter", + "Joint", + AnimationOptions = { + Prop = 'p_cs_joint_02', + PropBone = 47419, + PropPlacement = { + 0.015, + -0.009, + 0.003, + 55.0, + 0.0, + 110.0 + }, + EmoteMoving = true, + EmoteDuration = 2600 + } + }, + ["cig"] = { + "amb@world_human_smoking@male@male_a@enter", + "enter", + "Cig", + AnimationOptions = { + Prop = 'prop_amb_ciggy_01', + PropBone = 47419, + PropPlacement = { + 0.015, + -0.009, + 0.003, + 55.0, + 0.0, + 110.0 + }, + EmoteMoving = true, + EmoteDuration = 2600 + } + }, + ["brief"] = { + "move_weapon@jerrycan@generic", + "idle", + "Briefcase", + AnimationOptions = { + Prop = "prop_ld_case_01", + PropBone = 57005, + PropPlacement = { + 0.12, + 0.0, + 0.0, + 0.0, + 255.0, + 80.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["brief2"] = { -- Added for compatibility + "missheistdocksprep1hold_cellphone", + "static", + "Briefcase 2", + AnimationOptions = + { + Prop = "prop_ld_case_01", + PropBone = 57005, + PropPlacement = { + 0.10, + 0.0, + 0.0, + 0.0, + 280.0, + 53.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["guncase"] = { + "move_weapon@jerrycan@generic", + "idle", + "Guncase", + AnimationOptions = + { + Prop = "prop_gun_case_01", + PropBone = 57005, + PropPlacement = { + 0.10, + 0.02, + -0.02, + 40.0, + 145.0, + 115.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["tablet"] = { + "amb@world_human_tourist_map@male@base", + "base", + "Tablet", + AnimationOptions = { + Prop = "prop_cs_tablet", + PropBone = 28422, + PropPlacement = { + 0.0, + -0.03, + 0.0, + 20.0, + -90.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["tablet2"] = { + "amb@code_human_in_bus_passenger_idles@female@tablet@idle_a", + "idle_a", + "Tablet 2", + AnimationOptions = { + Prop = "prop_cs_tablet", + PropBone = 28422, + PropPlacement = { + -0.05, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["tablet3"] = { + "amb@world_human_tourist_map@male@base", + "base", + "Tablet", + AnimationOptions = { + Prop = "sf_prop_sf_tablet_01a", + PropBone = 28422, + PropPlacement = { + 0.0, + -0.03, + 0.0, + 20.0, + -90.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["tablet4"] = { + "amb@code_human_in_bus_passenger_idles@female@tablet@idle_a", + "idle_a", + "Tablet 2", + AnimationOptions = { + Prop = "sf_prop_sf_tablet_01a", + PropBone = 28422, + PropPlacement = { + -0.05, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["phonecall"] = { + "cellphone@", + "cellphone_call_listen_base", + "Phone Call", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7}, + }, + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["phonecall2"] = { + "random@kidnap_girl", + "ig_1_girl_on_phone_loop", + "Phone Call 2", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7}, + }, + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wt"] = { + "cellphone@", + "cellphone_text_read_base", + "Walkie Talkie", + AnimationOptions = { + Prop = "prop_cs_hand_radio", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wt2"] = { + "anim@radio_pose_3", + "radio_holding_gun", + "Walkie Talkie 2", + AnimationOptions = { + Prop = "prop_cs_hand_radio", + PropBone = 60309, + PropPlacement = { + 0.0750, + 0.0470, + 0.0110, + -97.9442, + 3.7058, + -23.2367 + }, + EmoteLoop = true, + + } + }, + ["wt3"] = { + "anim@radio_left", + "radio_left_clip", + "Walkie Talkie 3 Left", + AnimationOptions = { + Prop = "prop_cs_hand_radio", + PropBone = 60309, + PropPlacement = { + 0.0750, + 0.0470, + 0.0110, + -97.9442, + 3.7058, + -23.2367 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["wt4"] = { + "anim@male@holding_radio", + "holding_radio_clip", + "Walkie Talkie 4", + AnimationOptions = { + Prop = "prop_cs_hand_radio", + PropBone = 28422, + PropPlacement = { + 0.0750, + 0.0230, + -0.0230, + -90.0000, + 0.0, + -59.9999 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["clean"] = { + "timetable@floyd@clean_kitchen@base", + "base", + "Clean", + AnimationOptions = { + Prop = "prop_sponge_01", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + -0.01, + 90.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["clean2"] = { + "amb@world_human_maid_clean@", + "base", + "Clean 2", + AnimationOptions = { + Prop = "prop_sponge_01", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + -0.01, + 90.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["protest"] = { + "rcmnigel1d", + "base_club_shoulder", + "Protest", + AnimationOptions = { + Prop = "prop_cs_protest_sign_01", + PropBone = 57005, + PropPlacement = { + 0.1820, + 0.2400, + 0.0600, + -69.3774235, + 5.9142048, + -13.9572354 + }, + -- + EmoteLoop = true, + EmoteMoving = true + } + }, + ["protest2"] = { + "rcmnigel1d", + "base_club_shoulder", + "Protest 2 - Pride ", + AnimationOptions = { + Prop = "pride_sign_01", + PropBone = 57005, + PropPlacement = { + 0.1820, + 0.2400, + 0.0600, + -69.3774235, + 5.9142048, + -13.9572354 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["binoculars"] = { + "amb@world_human_binoculars@male@idle_b", + "idle_f", + "Binoculars", + AnimationOptions = { + Prop = "prop_binoc_01", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["binoculars2"] = { + "amb@world_human_binoculars@male@idle_a", + "idle_c", + "Binoculars 2", + AnimationOptions = { + Prop = "prop_binoc_01", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["tennisplay"] = { + "move_weapon@jerrycan@generic", + "idle", + "Tennis Play", + AnimationOptions = { + Prop = "prop_tennis_bag_01", + PropBone = 57005, + PropPlacement = { + 0.27, + 0.0, + 0.0, + 91.0, + 0.0, + -82.9999951 + }, + SecondProp = 'prop_tennis_rack_01', + SecondPropBone = 60309, + SecondPropPlacement = { + 0.0800, + 0.0300, + 0.0, + -130.2907295, + 3.8782324, + 6.588224 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["weights"] = { + "amb@world_human_muscle_free_weights@male@barbell@base", + "base", + "Weights", + AnimationOptions = { + Prop = "prop_curl_bar_01", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["weights2"] = { + "amb@world_human_muscle_free_weights@male@barbell@idle_a", + "idle_d", + "Weights 2", + AnimationOptions = { + Prop = "prop_curl_bar_01", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["weights3"] = { -- Custom Emote By Amnilka + "frabi@malepose@solo@firstsport", + "pose_sport_004", + "Weights 3 - Pose", + AnimationOptions = { + Prop = 'prop_barbell_01', + PropBone = 28422, + PropPlacement = { + 0.0660, + 0.0100, + -0.0300, + 90.0000, + 90.0000, + -79.9999 + }, + EmoteLoop = true, + } + }, + ["weights4"] = { -- Custom Emote By Amnilka + "frabi@malepose@solo@firstsport", + "pose_sport_003", + "Weights 4 - Pose", + AnimationOptions = { + Prop = 'prop_barbell_01', -- Left Wrist + PropBone = 60309, + PropPlacement = { + 0.0520, + -0.0010, + 0.0131, + 21.5428, + 70.2098, + 74.5019 + }, + SecondProp = 'prop_barbell_01', -- Right Wrist + SecondPropBone = 28422, + SecondPropPlacement = { + 0.0660, + 0.0100, + -0.0300, + 90.0000, + 90.0000, + -79.9999 + }, + EmoteLoop = true, + } + }, + ["weights5"] = { -- Custom Female Emote By Frabi + "frabi@femalepose@solo@firstsport", + "fem_pose_sport_001", + "Weights 5 - Female Pose", + AnimationOptions = { + Prop = 'v_res_tre_weight', + PropBone = 28422, -- Right Wrist + PropPlacement = { + 0.0580, + -0.0060, + 0.0300, + -11.8498, + 170.2644, + 7.8352 + }, + SecondProp = 'v_res_tre_weight', + SecondPropBone = 60309, -- Left Wrist + SecondPropPlacement = { + 0.0880, + 0.0000, + 0.0590, + -29.1132, + -128.5627, + 13.7517 + }, + EmoteLoop = true, + } + }, + ["weights6"] = { -- Custom Female Emote By Frabi + "frabi@femalepose@solo@firstsport", + "fem_pose_sport_002", + "Weights 6 - Female Pose 2", + AnimationOptions = { + Prop = 'v_res_tre_weight', + PropBone = 28422, -- Right Wrist + PropPlacement = { + 0.0700, + 0.0400, + -0.0600, + 24.5966, + 6.4814, + -13.9845 + }, + SecondProp = 'v_res_tre_weight', + SecondPropBone = 60309, -- Left Wrist + SecondPropPlacement = { + 0.0550, + -0.0070, + -0.0309, + -20.5854, + -15.0123, + 0.5710 + }, + EmoteLoop = true, + EmoteMoving = false, + } + }, + ["weights7"] = { -- Custom Female Emote By Frabi + "frabi@femalepose@solo@firstsport", + "fem_pose_sport_003", + "Weights 7 - Female Pose 3", + AnimationOptions = { + Prop = 'prop_freeweight_01', + PropBone = 28422, -- Right Wrist + PropPlacement = { + 0.0500, + 0.0100, + -0.0200, + 88.6283, + -51.8805, + 54.3903 + }, + EmoteLoop = true, + EmoteMoving = false, + } + }, + ["fuel"] = { + "weapons@misc@jerrycan@", + "fire", + "Fuel", + AnimationOptions = { + Prop = "w_am_jerrycan", + PropBone = 57005, + PropPlacement = { + 0.1800, + 0.1300, + -0.2400, + -165.8693883, + -11.2122753, + -32.9453021 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["fuel2"] = { + "weapons@misc@jerrycan@franklin", + "idle", + "Fuel 2 (Carry)", + AnimationOptions = { + Prop = "w_am_jerrycan", + PropBone = 28422, + PropPlacement = { + 0.26, + 0.050, + 0.0300, + 80.00, + 180.000, + 79.99 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["hitchhike"] = { + "random@hitch_lift", + "idle_f", + "Hitchhike", + AnimationOptions = { + Prop = "w_am_jerrycan", + PropBone = 18905, + PropPlacement = { + 0.32, + -0.0100, + 0.0, + -162.423, + 74.83, + 58.79 + }, + SecondProp = 'prop_michael_backpack', + SecondPropBone = 40269, + SecondPropPlacement = { + -0.07, + -0.21, + -0.11, + -144.93, + 117.358, + -6.16 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["ssign"] = { + "rcmnigel1d", + "base_club_shoulder", + "Steal Stop Sign ", + AnimationOptions = { + Prop = "prop_sign_road_01a", + PropBone = 60309, + PropPlacement = { + -0.1390, + -0.9870, + 0.4300, + -67.3315314, + 145.0627869, + -4.4318885 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["ssign2"] = { + "rcmnigel1d", + "base_club_shoulder", + "Steal Yield Sign ", + AnimationOptions = { + Prop = "prop_sign_road_02a", + PropBone = 60309, + PropPlacement = { + -0.1390, + -0.9870, + 0.4300, + -67.3315314, + 145.0627869, + -4.4318885 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["ssign3"] = { + "rcmnigel1d", + "base_club_shoulder", + "Steal Hospital Sign ", + AnimationOptions = { + Prop = "prop_sign_road_03d", + PropBone = 60309, + PropPlacement = { + -0.1390, + -0.9870, + 0.4300, + -67.3315314, + 145.0627869, + -4.4318885 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["ssign4"] = { + "rcmnigel1d", + "base_club_shoulder", + "Steal Parking Sign ", + AnimationOptions = { + Prop = "prop_sign_road_04a", + PropBone = 60309, + PropPlacement = { + -0.1390, + -0.9870, + 0.4300, + -67.3315314, + 145.0627869, + -4.4318885 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["ssign5"] = { + "rcmnigel1d", + "base_club_shoulder", + "Steal Parking Sign 2 ", + AnimationOptions = { + Prop = "prop_sign_road_04w", + PropBone = 60309, + PropPlacement = { + -0.1390, + -0.9870, + 0.4300, + -67.3315314, + 145.0627869, + -4.4318885 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["ssign6"] = { + "rcmnigel1d", + "base_club_shoulder", + "Steal Pedestrian Sign ", + AnimationOptions = { + Prop = "prop_sign_road_05a", + PropBone = 60309, + PropPlacement = { + -0.1390, + -0.9870, + 0.4300, + -67.3315314, + 145.0627869, + -4.4318885 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["ssign7"] = { + "rcmnigel1d", + "base_club_shoulder", + "Steal Street Sign ", + AnimationOptions = { + Prop = "prop_sign_road_05t", + PropBone = 60309, + PropPlacement = { + -0.1390, + -0.9870, + 0.4300, + -67.3315314, + 145.0627869, + -4.4318885 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["ssign8"] = { + "rcmnigel1d", + "base_club_shoulder", + "Steal Freeway Sign ", + AnimationOptions = { + Prop = "prop_sign_freewayentrance", + PropBone = 60309, + PropPlacement = { + -0.1390, + -0.9870, + 0.4300, + -67.3315314, + 145.0627869, + -4.4318885 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["ssign9"] = { + "rcmnigel1d", + "base_club_shoulder", + "Steal Stop Sign Snow ", + AnimationOptions = { + Prop = "prop_snow_sign_road_01a", + PropBone = 60309, + PropPlacement = { + -0.1390, + -0.9870, + 0.4300, + -67.3315314, + 145.0627869, + -4.4318885 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["conehead"] = { + "move_m@drunk@verydrunk_idles@", + "fidget_07", + "Cone Head ", + AnimationOptions = { + Prop = "prop_roadcone02b", + PropBone = 31086, + PropPlacement = { + 0.0500, + 0.0200, + -0.000, + 30.0000004, + 90.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["foodtraya"] = { + "anim@heists@box_carry@", + "idle", + "Food Tray", + AnimationOptions = { + Prop = "prop_food_bs_tray_03", + PropBone = 28422, + PropPlacement = { + 0.0100, + -0.0400, + -0.1390, + 20.0000007, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["foodtrayb"] = { + "anim@heists@box_carry@", + "idle", + "Food Tray B", + AnimationOptions = { + Prop = "prop_food_bs_tray_02", + PropBone = 28422, + PropPlacement = { + 0.0100, + -0.0400, + -0.1390, + 20.0000007, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["foodtrayc"] = { + "anim@heists@box_carry@", + "idle", + "Food Tray C", + AnimationOptions = { + Prop = "prop_food_cb_tray_02", + PropBone = 28422, + PropPlacement = { + 0.0100, + -0.0400, + -0.1390, + 20.0000007, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["foodtrayd"] = { + "anim@heists@box_carry@", + "idle", + "Food Tray D", + AnimationOptions = { + Prop = "prop_food_tray_02", + PropBone = 28422, + PropPlacement = { + 0.0100, + -0.0400, + -0.1390, + 20.0000007, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["foodtraye"] = { + "anim@heists@box_carry@", + "idle", + "Food Tray E", + AnimationOptions = { + Prop = "prop_food_tray_03", + PropBone = 28422, + PropPlacement = { + 0.0100, + -0.0400, + -0.1390, + 20.0000007, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["foodtrayf"] = { + "anim@heists@box_carry@", + "idle", + "Food Tray F", + AnimationOptions = { + Prop = "prop_food_bs_tray_02", + PropBone = 57005, + PropPlacement = { + 0.2500, + 0.1000, + 0.0700, + -110.5483936, + 73.3529273, + -16.338362 + }, + SecondProp = 'prop_food_bs_tray_03', + SecondPropBone = 18905, + SecondPropPlacement = { + 0.2200, + 0.1300, + -0.1000, + -127.7725487, + 110.2074758, + -3.5886263 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["foodtrayg"] = { + "anim@heists@box_carry@", + "idle", + "Food Tray G", + AnimationOptions = { + Prop = "prop_food_cb_tray_02", + PropBone = 57005, + PropPlacement = { + 0.2500, + 0.1000, + 0.0700, + -110.5483936, + 73.3529273, + -16.338362 + }, + SecondProp = 'prop_food_cb_tray_02', + SecondPropBone = 18905, + SecondPropPlacement = { + 0.2200, + 0.1300, + -0.1000, + -127.7725487, + 110.2074758, + -3.5886263 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["foodtrayh"] = { + "anim@heists@box_carry@", + "idle", + "Food Tray H", + AnimationOptions = { + Prop = "prop_food_tray_02", + PropBone = 57005, + PropPlacement = { + 0.2500, + 0.1000, + 0.0700, + -110.5483936, + 73.3529273, + -16.338362 + }, + SecondProp = 'prop_food_tray_03', + SecondPropBone = 18905, + SecondPropPlacement = { + 0.2200, + 0.1300, + -0.1000, + -127.7725487, + 110.2074758, + -3.5886263 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["foodtrayi"] = { + "anim@heists@box_carry@", + "idle", + "Food Tray I", + AnimationOptions = { + Prop = "prop_food_tray_02", + PropBone = 57005, + PropPlacement = { + 0.2500, + 0.1000, + 0.0700, + -110.5483936, + 73.3529273, + -16.338362 + }, + SecondProp = 'prop_food_tray_02', + SecondPropBone = 18905, + SecondPropPlacement = { + 0.2200, + 0.1300, + -0.1000, + -127.7725487, + 110.2074758, + -3.5886263 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["foodtrayj"] = { + "anim@move_f@waitress", + "idle", + "Food Tray J", + AnimationOptions = { + Prop = "prop_food_bs_tray_02", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0200, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["foodtrayk"] = { + "anim@move_f@waitress", + "idle", + "Food Tray K", + AnimationOptions = { + Prop = "prop_food_bs_tray_02", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0200, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["foodtrayl"] = { + "anim@move_f@waitress", + "idle", + "Food Tray L", + AnimationOptions = { + Prop = "prop_food_bs_tray_03", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0200, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["foodtraym"] = { + "anim@move_f@waitress", + "idle", + "Food Tray M", + AnimationOptions = { + Prop = "prop_food_cb_tray_02", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0200, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["foodtrayn"] = { + "anim@move_f@waitress", + "idle", + "Food Tray N", + AnimationOptions = { + Prop = "prop_food_tray_02", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0200, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["foodtrayo"] = { + "anim@move_f@waitress", + "idle", + "Food Tray O", + AnimationOptions = { + Prop = "prop_food_tray_02", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0200, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["carrypizza"] = { + "anim@heists@box_carry@", + "idle", + "Carry Pizza Box", + AnimationOptions = { + Prop = "prop_pizza_box_02", + PropBone = 28422, + PropPlacement = { + 0.0100, + -0.1000, + -0.1590, + 20.0000007, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["carryfoodbag"] = { + "move_weapon@jerrycan@generic", + "idle", + "Carry Food Bag", + AnimationOptions = { + Prop = "prop_food_bs_bag_01", + PropBone = 57005, + PropPlacement = { + 0.3300, + 0.0, + -0.0300, + 0.0017365, + -79.9999997, + 110.0651988 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["carryfoodbag2"] = { + "move_weapon@jerrycan@generic", + "idle", + "Carry Food Bag 2", + AnimationOptions = { + Prop = "prop_food_cb_bag_01", + PropBone = 57005, + PropPlacement = { + 0.3800, + 0.0, + -0.0300, + 0.0017365, + -79.9999997, + 110.0651988 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["carryfoodbag3"] = { + "move_weapon@jerrycan@generic", + "idle", + "Carry Food Bag 3", + AnimationOptions = { + Prop = "prop_food_bag1", + PropBone = 57005, + PropPlacement = { + 0.3800, + 0.0, + -0.0300, + 0.0017365, + -79.9999997, + 110.0651988 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["tag"] = { + "anim@scripted@freemode@postertag@graffiti_spray@male@", + "shake_can_male", + "Tagging Shake Can Male", + AnimationOptions = { + Prop = "prop_cs_spray_can", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0700, + 0.0017365, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["tag2"] = { + "anim@scripted@freemode@postertag@graffiti_spray@heeled@", + "shake_can_female", + "Tagging Shake Can Female", + AnimationOptions = { + Prop = "prop_cs_spray_can", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0700, + 0.0017365, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["tag3"] = { + "anim@scripted@freemode@postertag@graffiti_spray@male@", + "spray_can_var_01_male", + "Tagging Male 1", + AnimationOptions = { + Prop = "prop_cs_spray_can", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0700, + 0.0017365, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["tag4"] = { + "anim@scripted@freemode@postertag@graffiti_spray@male@", + "spray_can_var_02_male", + "Tagging Male 2", + AnimationOptions = { + Prop = "prop_cs_spray_can", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0700, + 0.0017365, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["tag5"] = { + "anim@scripted@freemode@postertag@graffiti_spray@heeled@", + "spray_can_var_01_female", + "Tagging Female 1", + AnimationOptions = { + Prop = "prop_cs_spray_can", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0700, + 0.0017365, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["tag6"] = { + "anim@scripted@freemode@postertag@graffiti_spray@heeled@", + "spray_can_var_02_female", + "Tagging Female 2", + AnimationOptions = { + Prop = "prop_cs_spray_can", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0700, + 0.0017365, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["beans"] = { + "anim@scripted@island@special_peds@pavel@hs4_pavel_ig5_caviar_p1", + "base_idle", + "Beans", + AnimationOptions = { + Prop = "h4_prop_h4_caviar_tin_01a", + PropBone = 60309, + PropPlacement = { + 0.0, + 0.0300, + 0.0100, + 0.0, + 0.0, + 0.0 + }, + SecondProp = 'h4_prop_h4_caviar_spoon_01a', + SecondPropBone = 28422, + SecondPropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["dinner"] = { + "anim@scripted@island@special_peds@pavel@hs4_pavel_ig5_caviar_p1", + "base_idle", + "Dinner", + AnimationOptions = { + Prop = "prop_cs_plate_01", + PropBone = 60309, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + SecondProp = 'h4_prop_h4_caviar_spoon_01a', + SecondPropBone = 28422, + SecondPropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["newscam"] = { + "missfinale_c2mcs_1", + "fin_c2_mcs_1_camman", + "News Camera", + AnimationOptions = { + Prop = "prop_v_cam_01", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0300, + 0.0100, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["newsmic"] = { + "anim@heists@humane_labs@finale@keycards", + "ped_a_enter_loop", + "News Microphone", + AnimationOptions = { + Prop = "p_ing_microphonel_01", + PropBone = 4154, + PropPlacement = { + -0.00, + -0.0200, + 0.1100, + 0.00, + 0.0, + 60.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["newsbmic"] = { + "missfra1", + "mcs2_crew_idle_m_boom", + "News Boom Microphone", + AnimationOptions = { + Prop = "prop_v_bmike_01", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["microck"] = { --- Custom Emote Provided To dpemotes By Prue颜 + "lunyx@mic@p1", + "mic@p1", + "Microphone Rock", + AnimationOptions = { + Prop = "sf_prop_sf_mic_01a", + PropBone = 28422, + PropPlacement = { + 0.0300, + 0.0200, + -0.0300, + 162.9608, + -91.1712, + -3.8249 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["microckb"] = { --- Custom Emote Provided To dpemotes By Prue颜 + "lunyx@mic@p2", + "mic@p2", + "Microphone Rock 2", + AnimationOptions = { + Prop = "sf_prop_sf_mic_01a", + PropBone = 60309, -- Left Wrist + PropPlacement = { + 0.0350, + 0.0180, + 0.0290, + -180.0000, + -13.0000, + 0.0000 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["microckc"] = { --- Custom Emote Provided To dpemotes By Prue颜 + "lunyx@mic@p3", + "mic@p3", + "Microphone Rock 3", + AnimationOptions = { + Prop = "sf_prop_sf_mic_01a", + PropBone = 28422, + PropPlacement = { + 0.0300, + 0.0200, + -0.0300, + 162.9608, + -91.1712, + -3.8249 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["microckd"] = { --- Custom Emote Provided To dpemotes By Prue颜 + "lunyx@mic@p4", + "mic@p4", + "Microphone Rock 4", + AnimationOptions = { + Prop = "sf_prop_sf_mic_01a", + PropBone = 28422, + PropPlacement = { + 0.0300, + 0.0200, + -0.0300, + 162.9608, + -91.1712, + -3.8249 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["microcke"] = { --- Custom Emote Provided To dpemotes By Prue颜 + "lunyx@mic@p5", + "mic@p5", + "Microphone Rock 5", + AnimationOptions = { + Prop = "sf_prop_sf_mic_01a", + PropBone = 60309, + PropPlacement = { + 0.0370, + 0.0130, + 0.0150, + -173.6259, + -93.5253, + 4.6450 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["microckf"] = { --- Custom Emote Provided To dpemotes By Prue颜 + "lunyx@mic@p6", + "mic@p6", + "Microphone Rock 6", + AnimationOptions = { + Prop = "v_ilev_fos_mic", + PropBone = 28422, + PropPlacement = { + -0.4410, + -1.0600, + -0.4800, + -57.7266, + 51.8164, + 3.0976 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["microckg"] = { --- Custom Emote Provided To dpemotes By Prue颜 + "lunyx@mic@p7", + "mic@p7", + "Microphone Rock 7", + AnimationOptions = { + Prop = "v_ilev_fos_mic", + PropBone = 28422, + PropPlacement = { + -0.8210, + -0.0900, + -1.1900, + -2.5478, + 36.3684, + -11.7503 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["microckh"] = { --- Custom Emote Provided To dpemotes By Prue颜 + "lunyx@mic@p8", + "mic@p8", + "Microphone Rock 8", + AnimationOptions = { + Prop = "sf_prop_sf_mic_01a", + PropBone = 60309, + PropPlacement = { + 0.0370, + 0.0130, + 0.0150, + -173.6259, + -93.5253, + 4.6450 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["microcki"] = { --- Custom Emote Provided To dpemotes By Prue颜 + "lunyx@mic@p9", + "mic@p9", + "Microphone Rock 9", + AnimationOptions = { + Prop = "sf_prop_sf_mic_01a", + PropBone = 28422, + PropPlacement = { + 0.0300, + 0.0200, + -0.0300, + 162.9608, + -91.1712, + -3.8249 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["microckj"] = { --- Custom Emote Provided To dpemotes By Prue颜 + "lunyx@mic@p10", + "mic@p10", + "Microphone Rock 10", + AnimationOptions = { + Prop = "sf_prop_sf_mic_01a", + PropBone = 28422, + PropPlacement = { + 0.0300, + 0.0200, + -0.0300, + 162.9608, + -91.1712, + -3.8249 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["leafblower"] = { + "amb@world_human_gardener_leaf_blower@base", + "base", + "Leaf Blower", + AnimationOptions = { + Prop = "prop_leaf_blower_01", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true, + PtfxAsset = "scr_armenian3", + PtfxName = "ent_anim_leaf_blower", + PtfxPlacement = { + 1.0, + 0.0, + -0.25, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['useleafblower'], + PtfxWait = 2000, + PtfxCanHold = true + } + }, + ["bbqf"] = { + "amb@prop_human_bbq@male@idle_a", + "idle_b", + "BBQ (Female)", + AnimationOptions = { + Prop = "prop_fish_slice_01", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["pump"] = { + "missfbi4prepp1", + "idle", + "Pumpkin", + AnimationOptions = { + Prop = "prop_veg_crop_03_pump", + PropBone = 28422, + PropPlacement = { + 0.0200, + 0.0600, + -0.1200, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["pump2"] = { + "anim@heists@box_carry@", + "idle", + "Pumpkin 2", + AnimationOptions = { + Prop = "prop_veg_crop_03_pump", + PropBone = 28422, + PropPlacement = { + 0.0100, + -0.16000, + -0.2100, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["pump3"] = { + "missfbi4prepp1", + "idle", + "Pumpkin 3", + AnimationOptions = { + Prop = "reh_prop_reh_lantern_pk_01a", + PropBone = 28422, + PropPlacement = { + 0.0010, + 0.0660, + -0.0120, + 171.9169, + 179.8707, + -39.9860 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["pump4"] = { + "missfbi4prepp1", + "idle", + "Pumpkin 4", + AnimationOptions = { + Prop = "reh_prop_reh_lantern_pk_01b", + PropBone = 28422, + PropPlacement = { + 0.0010, + 0.0660, + -0.0120, + 171.9169, + 179.8707, + -39.9860 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["pump5"] = { + "missfbi4prepp1", + "idle", + "Pumpkin 5", + AnimationOptions = { + Prop = "reh_prop_reh_lantern_pk_01c", + PropBone = 28422, + PropPlacement = { + 0.0010, + 0.0660, + -0.0120, + 171.9169, + 179.8707, + -39.9860 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["mop"] = { + "missfbi4prepp1", + "idle", + "Mop", + AnimationOptions = { + Prop = "prop_cs_mop_s", + PropBone = 28422, + PropPlacement = { + -0.0200, + -0.0600, + -0.2000, + -13.377, + 10.3568, + 17.9681 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["mop2"] = { + "move_mop", + "idle_scrub_small_player", + "Mop 2", + AnimationOptions = { + Prop = "prop_cs_mop_s", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.1200, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["jerkf"] = { + "switch@trevor@jerking_off", + "trev_jerking_off_loop", + "JerkOff! Female", + AnimationOptions = { + Prop = 'prop_cs_dildo_01', + PropBone = 28422, + PropPlacement = { + 0.09, + 0.05, + -0.03, + 90.0, + 80.0, + 30.0 + }, + EmoteLoop = true, + EmoteMoving = true + }, + AdultAnimation = true + }, + ["rake"] = { + "anim@amb@drug_field_workers@rake@male_a@base", + "base", + "Rake", + AnimationOptions = { + Prop = "prop_tool_rake", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + -0.0300, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true + } + }, + ["rake2"] = { + "anim@amb@drug_field_workers@rake@male_a@idles", + "idle_b", + "Rake 2", + AnimationOptions = { + Prop = "prop_tool_rake", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + -0.0300, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true + } + }, + ["rake3"] = { + "anim@amb@drug_field_workers@rake@male_b@base", + "base", + "Rake 3", + AnimationOptions = { + Prop = "prop_tool_rake", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + -0.0300, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true + } + }, + ["rake4"] = { + "anim@amb@drug_field_workers@rake@male_b@idles", + "idle_d", + "Rake 4", + AnimationOptions = { + Prop = "prop_tool_rake", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + -0.0300, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true + } + }, + ["broom"] = { + "anim@amb@drug_field_workers@rake@male_a@base", + "base", + "Broom", + AnimationOptions = { + Prop = "prop_tool_broom", + PropBone = 28422, + PropPlacement = { + -0.0100, + 0.0400, + -0.0300, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true + } + }, + ["broom2"] = { + "anim@amb@drug_field_workers@rake@male_a@idles", + "idle_b", + "Broom 2", + AnimationOptions = { + Prop = "prop_tool_broom", + PropBone = 28422, + PropPlacement = { + -0.0100, + 0.0400, + -0.0300, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true + } + }, + ["broom3"] = { + "anim@amb@drug_field_workers@rake@male_b@base", + "base", + "Broom 3", + AnimationOptions = { + Prop = "prop_tool_broom", + PropBone = 28422, + PropPlacement = { + -0.0100, + 0.0400, + -0.0300, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true + } + }, + ["broom4"] = { + "anim@amb@drug_field_workers@rake@male_b@idles", + "idle_d", + "Broom 4", + AnimationOptions = { + Prop = "prop_tool_broom", + PropBone = 28422, + PropPlacement = { + -0.0100, + 0.0400, + -0.0300, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true + } + }, + ["champw"] = { + "anim@move_f@waitress", + "idle", + "Champagne Waiter", + AnimationOptions = { + Prop = "vw_prop_vw_tray_01a", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0100, + 0.0, + 0.0, + 0.0 + }, + SecondProp = 'prop_champ_cool', + SecondPropBone = 28422, + SecondPropPlacement = { + 0.0, + 0.0, + 0.010, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["shit"] = { + "missfbi3ig_0", + "shit_loop_trev", + "Shit", + AnimationOptions = { + Prop = "prop_toilet_roll_01", + PropBone = 28422, + PropPlacement = { + 0.0700, + -0.02000, + -0.2100, + 0, + 0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_amb_chop", + PtfxName = "ent_anim_dog_poo", + PtfxNoProp = true, + PtfxBone = 11816, + PtfxPlacement = { + 0.0, + 0.0, + -0.1, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['poop'], + PtfxWait = 200, + PtfxCanHold = true + } + }, + ["puke"] = { + "missheistpaletoscore1leadinout", + "trv_puking_leadout", + "Puke", + AnimationOptions = { + EmoteLoop = false, + EmoteMoving = true, + PtfxAsset = "scr_paletoscore", + PtfxName = "scr_trev_puke", + PtfxNoProp = true, + PtfxBone = 31086, + PtfxPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['puke'], + PtfxWait = 200, + PtfxCanHold = true + }, + }, + ["puke2"] = { + "anim@scripted@ulp_missions@injured_agent@", + "idle", + "Puke 2", + AnimationOptions = { + EmoteLoop = true, + PtfxAsset = "scr_paletoscore", + PtfxName = "scr_trev_puke", + PtfxNoProp = true, + PtfxBone = 31086, + PtfxPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['puke'], + PtfxWait = 200, + PtfxCanHold = true + }, + }, + ["puke3"] = { + "anim@scripted@freemode@throw_up_toilet@male@", + "vomit", + "Puke 3", + AnimationOptions = { + EmoteLoop = true, + PtfxAsset = "scr_paletoscore", + PtfxName = "scr_trev_puke", + PtfxNoProp = true, + PtfxBone = 31086, + PtfxPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['puke'], + PtfxWait = 200, + PtfxCanHold = true + }, + }, + ["selfie"] = { + "anim@mp_player_intuppertake_selfie", + "idle_a", + "Selfie", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 60309, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["selfie2"] = { + "cellphone@self@franklin@", + "peace", + "Selfie 2", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["selfie3"] = { + "cellphone@self@franklin@", + "west_coast", + "Selfie 3 - West Side", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["selfie4"] = { + "cellphone@self@trevor@", + "aggressive_finger", + "Selfie 4 - Finger", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["selfie5"] = { + "cellphone@self@trevor@", + "proud_finger", + "Selfie 5 - Finger 2", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7}, + }, + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["selfie6"] = { + "cellphone@self@trevor@", + "throat_slit", + "Selfie 6 - Throat Slit", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["selfie7"] = { + "cellphone@self@franklin@", + "chest_bump", + "Selfie 7 - Chest Bump", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["selfiepeace"] = { -- MissSnowie Custom Emote + "mirror_selfie@peace_sign", + "base", + "Selfie Peace", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 57005, + PropPlacement = { + 0.1700, + 0.0299, + -0.0159, + -126.2687, + -139.9058, + 35.6203 + }, + EmoteLoop = true, + EmoteMoving = true, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiecrouch"] = { -- MissSnowie Custom Emote + "crouching@taking_selfie", + "base", + "Selfie Crouching", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 18905, + PropPlacement = { + 0.1580, + 0.0180, + 0.0300, + -150.4798, + -67.8240, + -46.0417 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiecrouch2"] = { -- Wolf's Square Custom Emote + "eagle@girlphonepose13", + "girl", + "Selfie Crouching 2", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 60309, + PropPlacement = { + 0.0670, + 0.0300, + 0.0300, + -90.0000, + 0.0000, + -25.9000 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiecrouch3"] = { -- Custom Emote By Struggleville + "anim@male_insta_selfie", + "insta_selfie_clip", + "Selfie Crouching 3", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 60309, + PropPlacement = { + 0.0700, + 0.0100, + 0.0690, + 0.0, + 0.0, + -150.0000 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiecrouch4"] = { -- Custom emote by Struggleville + "anim@female_selfie_risque", + "selfie_risque_clip", + "Selfie Crouching 4", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 18905, + PropPlacement = { + 0.1580, + 0.0180, + 0.0300, + -150.4798, + -67.8240, + -46.0417 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfieegirl"] = { -- Custom emote by Struggleville + "anim@female_egirl_cute_selfie", + "cute_selfie_clip", + "Selfie E Girl", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 26613, -- Left Finger 30 + PropPlacement = { + 0.0760, + -0.0220, + 0.0350, + -22.0968, + 30.4351, + -7.9339 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfieslut"] = { -- Custom Emote By Struggleville + "anim@female_floor_slutarch_selfie", + "slutarch_selfie_clip", + "Selfie Slut Pose", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 58868, -- Right Finger 20 + PropPlacement = { + 0.0350, + 0.0140, + 0.0290, + 167.9999, + 180.0000, + -8.8999 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + + }, + AdultAnimation = true + }, + ["selfiesit"] = { -- Emote by WhiskerValeMod. Need to configure camera flash and texture variants + "mouse@female_sitting_selfie", + "female_sitting_selfie_clip", + "Selfie Sitting", + AnimationOptions = { + Prop = 'prop_phone_taymckenzienz', + PropBone = 57005, + PropPlacement = { + 0.1380, + 0.0300, + -0.0430, + -111.0946, + -117.8069, + 11.7386 + }, + SecondProp = 'apa_mp_h_stn_chairarm_23', + SecondPropBone = 0, + SecondPropPlacement = { + -0.0100, + -0.0800, + -0.6800, + -180.0000, + -180.0000, + 10.0000 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["selfiesit2"] = { -- Emote by WolfSquareEmotes + "eagle@boypose05", + "boy", + "Selfie Sitting 2", + AnimationOptions = { + Prop = 'prop_phone_taymckenzienz', + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 4090, -- Left Finger 2 + PropPlacement = { + 0.0130, + 0.0120, + -0.0070, + -103.6673, + -11.0026, + 18.2605 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiesit3"] = { -- Emote by Chocoholic Animations + "chocoholic@single77", + "single77_clip", + "Selfie Sitting 3", + AnimationOptions = { + Prop = 'prop_phone_taymckenzienz', + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 4185, + PropPlacement = { + 0.0130, + -0.0190, + 0.0320, + 0.0, + 0.0000, + 0.0, + }, + EmoteLoop = true, + EmoteMoving = false, + ExitEmote = "getup", + ExitEmoteType = "Exits", + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiefu"] = { -- Struggleville + "anim@fuck_you_selfie", + "fuck_you_selfie_clip", + "Selfie Middle Finger", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 28422, + PropPlacement = { + 0.1200, + 0.0220, + -0.0210, + 98.6822, + -4.9809, + 109.6216 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiethot"] = { -- Struggleville + "anim@sitting_thot", + "sitting_thot_clip", + "Selfie Thot Instagram", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 28422, + PropPlacement = { + 0.1030, + 0.0440, + -0.0270, + -160.2802, + -99.4080, + -3.4048 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiefloor"] = { -- Custom Emote By Struggleville + "anim@selfie_floor_cute", + "floor_cute_clip", + "Selfie Floor Instagram", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 60309, + PropPlacement = { + 0.0930, + 0.0230, + 0.0260, + -158.8271, + -82.9040, + -18.7472 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiesexy"] = { -- Custom Emote By Little Spoon, designed for a custom iFruit phone model, however I am sticking with default game props for now + "littlespoon@selfie001", + "selfie001", + "Selfie Sexy", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 58870, -- Right Finger 40 Bone + PropPlacement = { + 0.0150, + 0.0230, + 0.0700, + 0.0, + 0.0, + 170.0000 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiesexy2"] = { -- Custom Emote By Little Spoon, designed for a custom iFruit phone model, however I am sticking with default game props for now + "littlespoon@selfie002", + "selfie002", + "Selfie Sexy 2", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 64064, -- Right Finger 31 Bone + PropPlacement = { + 0.0290, + 0.0140, + 0.0490, + 174.9616, + -149.6187, + 8.6491 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiesexy3"] = { -- Custom Emote By Little Spoon, designed for a custom iFruit phone model, however I am sticking with default game props for now + "littlespoon@selfie003", + "selfie003", + "Selfie Sexy 3", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 64064, -- Right Finger 31 Bone + PropPlacement = { + 0.0290, + 0.0140, + 0.0490, + 174.9616, + -149.6187, + 8.6491 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiesexy4"] = { -- Custom Emote By Little Spoon, designed for a custom iFruit phone model, however I am sticking with default game props for now + "littlespoon@selfie004", + "selfie004", + "Selfie Sexy 4", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 64064, -- Right Finger 31 Bone + PropPlacement = { + 0.0290, + 0.0140, + 0.0490, + 174.9616, + -149.6187, + 8.6491 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiesexy5"] = { -- Custom Emote By Little Spoon, designed for a custom iFruit phone model, however I am sticking with default game props for now + "littlespoon@selfie005", + "selfie005", + "Selfie Sexy 5", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 64064, -- Right Finger 31 Bone + PropPlacement = { + 0.0290, + 0.0140, + 0.0490, + 174.9616, + -149.6187, + 8.6491 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiecute"] = { -- Custom Emote By Puppy, designed for a custom iFruit phone model, however I am sticking with default game props for now + "pupppy@freeselfie01", + "freeselfie01", + "Selfie Cute", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 26613, -- Left Finger 30 Bone + PropPlacement = { + 0.0380, + -0.0310, + 0.0590, + 0.0000, + 0.0000, + 10.0000 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiecute2"] = { -- Custom Emote By Puppy, designed for a custom iFruit phone model, however I am sticking with default game props for now + "pupppy@freeselfie02", + "freeselfie02", + "Selfie Cute 2", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 60309, -- Left Wrist, worked better. + PropPlacement = { + 0.0960, + 0.0160, + 0.0420, + -155.3515, + -84.4828, + 4.7551 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiecute3"] = { -- Custom Emote By Puppy, designed for a custom iFruit phone model, however I am sticking with default game props for now + "pupppy@freeselfie03", + "freeselfie03", + "Selfie Cute 3", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 26614, -- Left Finger 40, worked better. + PropPlacement = { + 0.0310, + -0.0430, + 0.0720, + 0.0000, + 3.9999, + 0.0000 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiecute4"] = { -- Custom Emote By Struggleville, designed for a custom iFruit phone model, however I am sticking with default game props for now + "anim@egirl_1foot_selfie", + "1foot_selfie_clip", + "Selfie Cute 4", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 4185, -- Left Finger 21 + PropPlacement = { + 0.0290, + -0.0230, + 0.0190, + -14.7860, + 67.8030, + 6.1827 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiecute5"] = { -- Custom Emote By Wolf's Square + "eagle@girlphonepose21", + "girl", + "Selfie Cute 5", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 4185, + PropPlacement = { + 0.0210, + -0.0150, + 0.0110, + -45.8936, + 41.8372, + -26.6415 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiebbum"] = { -- Custom Emote By Struggleville, designed for a custom iFruit phone model, however I am sticking with default game props for now + "anim@female_beach_booty_selfie", + "booty_selfie_clip", + "Selfie Beach Bum", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 26613, -- Left Finger 30 + PropPlacement = { + 0.0680, + -0.0250, + 0.0340, + -13.4299, + 47.2288, + -14.9588 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ['selfiehb'] = { -- Custom prop by crowded1337, unbranded by TayMcKenzieNZ + 'anim@female_selfie_cute', + 'selfie_cute_clip', + 'Selfie Hand Bag', + AnimationOptions = { + Prop = 'prop_amb_handbag_01', + PropBone = 28422, -- Right Wrist + PropPlacement = { + 0.1700, + 0.0020, + -0.1000, + 105.4525, + -178.3549, + 69.1794 + }, + SecondProp = 'prop_phone_taymckenzienz',-- Cell Phone Left Finger 21 + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + SecondPropBone = 4185, + SecondPropPlacement = { + 0.0200, + -0.0250, + 0.0000, + -8.5947, + 30.6141, + -5.1311 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiehhands"] = { -- Custom Emote By QueenSistersAnimations, designed for a custom iFruit phone model, however I am sticking with default game props for now + "heartselfiemirror@queensisters", + "heartselfie_clip", + "Selfie Heart Hands", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 64096, -- Right Finger 11 + PropPlacement = { + 0.0390, + 0.0200, + 0.0330, + 90.0000, + 180.0000, + 13.0000 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiefu2"] = { -- Custom Emote By QueenSistersAnimations, designed for a custom iFruit phone model, however I am sticking with default game props for now + "fuckyouselfie@queensisters", + "mirrorselfie_clip", + "Selfie Middle Finger 2", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 64097, -- Right Finger 12 + PropPlacement = { + -0.0210, + 0.0300, + -0.0030, + -180.0000, + -180.0000, + 0.0000 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiefu3"] = { -- Custom Emote By QueenSistersAnimations, designed for a custom iFruit phone model, however I am sticking with default game props for now + "selfiekilye@queensisters", + "kilye_clip", + "Selfie Middle Finger Thot Pose", + AnimationOptions = { + Prop = 'prop_cs_dildo_01', + PropBone = 28422, -- Right Wrist + PropPlacement = { + 0.0450, + 0.0050, + -0.0150, + 92.0810, + 1.3049, + -2.8863 + }, + SecondProp = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + SecondPropBone = 26613, -- Left Finger 30 + SecondPropPlacement = { + 0.0650, + -0.0280, + 0.0440, + 10.6808, + 13.7526, + 2.6457 + }, + EmoteLoop = true, + EmoteMoving = false, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200, + }, + AdultAnimation = true + }, + ["selfiemale"] = { -- Custom Emote By Wolf's Square + "eagle@boypose04", + "boy", + "Selfie Male Pose", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 60309, + PropPlacement = { + 0.0730, + 0.0220, + 0.0460, + -142.1374, + -92.4142, + 33.1691 + }, + EmoteLoop = true, + EmoteMoving = true, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiemeh"] = { -- Custom Animation By Chocoholic Animations + "chocoholic@single81", + "single81_clip", + "Selfie Meh", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 58868, + PropPlacement = { + 0.0450, + 0.0310, + 0.0280, + 165.3005, + -174.8342, + -8.4770 + }, + EmoteLoop = true, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["selfiewine"] = { -- Custom Emote By Wolf's Square + "holding_wine@taking_selfie", + "base", + "Selfie Wine", + AnimationOptions = { + Prop = 'p_wine_glass_s', + PropBone = 28422, + PropPlacement = { + 0.0420, + -0.0700, + -0.0440, + -82.6657, + 1.2898, + -19.9222 + }, + SecondProp = 'prop_phone_taymckenzienz', + PropTextureVariations = { + { Name = "Blue", Value = 0 }, + { Name = "Green", Value = 1 }, + { Name = "Dark Red", Value = 2 }, + { Name = "Orange", Value = 3 }, + { Name = "Grey", Value = 4 }, + { Name = "Purple", Value = 5 }, + { Name = "Pink", Value = 6 }, + { Name = "Black", Value = 7 }, + }, + SecondPropBone = 4090, + SecondPropPlacement = { + 0.0250, + -0.0080, + -0.0050, + -140.5541, + -24.7476, + 13.7795 + }, + EmoteLoop = true, + EmoteMoving = true, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["sittv"] = { + "anim@heists@heist_safehouse_intro@variations@male@tv", + "tv_part_one_loop", + "Sit TV", + AnimationOptions = { + Prop = "v_res_tre_remote", + PropBone = 57005, + PropPlacement = { + 0.0990, + 0.0170, + -0.0300, + -64.760, + -109.544, + 18.717 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sitchairf"] = { -- Emote by WhiskerValeMods + "mouse@femalearmchair", + "female_armchair_clip_01", + "Sit Chair - Armchair", + AnimationOptions = { + Prop = "p_armchair_01_s", + PropBone = 11816, + PropPlacement = { + 0.5320, + -0.3310, + 0.2000, + -90.0000, + -180.0000, + -40.9999 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sitchairf2"] = { -- Custom Emote by WhiskerValeMods + "mouse@female_sitting_folded", + "female_sitting_folded_clip", + "Sit Chair - Arms Folded", + AnimationOptions = { + Prop = "ba_prop_battle_club_chair_03", + PropBone = 0, + PropPlacement = { 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -170.0000 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sitchairf3"] = { -- Custom Emote by WhiskerValeMods + "mouse@female_sitting_forward", + "female_sitting_forward_clip", + "Sit Chair - Leaning Forward", + AnimationOptions = { + Prop = "ba_prop_battle_club_chair_03", + PropBone = 0, + PropPlacement = { 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -170.0000 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sitchairf4"] = { -- Custom Emote by WhiskerValeMods + "mouse@female_smart_sitting", + "female_smart_sitting_clip", + "Sit Chair - Smart", + AnimationOptions = { + Prop = "ba_prop_battle_club_chair_03", + PropBone = 0, + PropPlacement = { 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -170.0000 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sitchairf5"] = { -- Custom Emote By WhiskerValeMods + "mouse@female_smart_sitting_crossed", + "female_smart_sitting_crossed_clip", + "Sit Chair - Legs Crossed", + AnimationOptions = { + Prop = "ba_prop_battle_club_chair_03", + PropBone = 0, + PropPlacement = { 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -170.0000 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sitchairf6"] = { -- Custom Emote By WhiskerValeMods + "mouse@female_sitting_laptop", + "female_sitting_laptop_clip", + "Sit Chair - Laptop", + AnimationOptions = { + Prop = 'ba_prop_club_laptop_dj_02', + PropBone = 57005, + PropPlacement = { + 0.0860, + -0.1370, + -0.1750, + -79.9999, + -90.0000, + 0.0000 + }, + SecondProp = 'ba_prop_battle_club_chair_02', + SecondPropBone = 0, + SecondPropPlacement = { + -0.0400, + -0.1900, + 0.0000, + -180.0000, + -180.0000, + 9.0999 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sitchairf7"] = { -- Custom Emote By Emote by WhiskerValeMods + "mouse@female_sitting_tablet", + "female_sitting_tablet_clip", + "Sit Chair - Tablet", + AnimationOptions = { + Prop = 'hei_prop_dlc_tablet', + PropBone = 28422, + PropPlacement = { + 0.0870, + 0.1030, + -0.1240, + 144.3540, + 157.8527, + -4.6318 + }, + SecondProp = 'ba_prop_battle_club_chair_02', + SecondPropBone = 0, + SecondPropPlacement = { + 0.0100, + -0.0800, + 0.0200, + 150.0000, + -180.0000, + 10.0000 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["sitchairf8"] = { -- Custom Emote By Emote by WhiskerValeMods + "mouse@female_sitting_tablet", + "female_sitting_tablet_clip", + "Sit Chair - Book", + AnimationOptions = { + Prop = 'v_ilev_mp_bedsidebook', + PropBone = 28422, + PropPlacement = { + 0.1300, + 0.1100, + -0.1200, + 120.3356, + -15.9891, + 26.1497 + }, + SecondProp = 'ba_prop_battle_club_chair_02', + SecondPropBone = 0, + SecondPropPlacement = { + 0.0100, + -0.0800, + 0.0200, + 150.0000, + -180.0000, + 10.0000 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["dig"] = { + "random@burial", + "a_burial", + "Dig", + AnimationOptions = { + Prop = "prop_tool_shovel", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.24, + 0, + 0, + 0.0, + 0.0 + }, + SecondProp = 'prop_ld_shovel_dirt', + SecondPropBone = 28422, + SecondPropPlacement = { + 0.0, + 0.0, + 0.24, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["bongos"] = { + "amb@world_human_musician@bongos@male@base", + "base", + "Bongo Drums", + AnimationOptions = { + Prop = "prop_bongos_01", + PropBone = 60309, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["medbag"] = { + "move_weapon@jerrycan@generic", + "idle", + "Medic Bag", + AnimationOptions = { + Prop = "xm_prop_x17_bag_med_01a", + PropBone = 57005, + PropPlacement = { + 0.3900, + -0.0600, + -0.0600, + -100.00, + -180.00, + -78.00 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["dufbag"] = { + "move_weapon@jerrycan@generic", + "idle", + "Duffel Bag", + AnimationOptions = { + Prop = "bkr_prop_duffel_bag_01a", + PropBone = 28422, + PropPlacement = { + 0.2600, + 0.0400, + 0.00, + 90.00, + 0.00, + -78.99 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["shopbag"] = { + "move_weapon@jerrycan@generic", + "idle", + "Shopping Bag", + AnimationOptions = { + Prop = "vw_prop_casino_shopping_bag_01a", + PropBone = 28422, + PropPlacement = { + 0.24, + 0.03, + -0.04, + 0.00, + -90.00, + 10.00 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["shopbag2"] = { + "move_weapon@jerrycan@generic", + "idle", + "Shopping Bag 2", + AnimationOptions = { + Prop = "prop_shopping_bags02", + PropBone = 28422, + PropPlacement = { + 0.05, + 0.02, + 0.00, + 178.80, + 91.19, + 9.97 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["shopbag3"] = { + "move_weapon@jerrycan@generic", + "idle", + "Shopping Bag 3", + AnimationOptions = { + Prop = "prop_cs_shopping_bag", + PropBone = 28422, + PropPlacement = { + 0.24, + 0.03, + -0.04, + 0.00, + -90.00, + 10.00 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ['shopbag4'] = { + 'chocoholic@single54', + 'single54_clip', + 'Shopping Bag 4', + AnimationOptions = { + Prop = 'prop_carrier_bag_01', + PropBone = 28422, + PropPlacement = { + 0.2280, + 0.0070, + -0.1230, + 1.2556, + -53.8020, + -34.4621 + }, + SecondProp = 'prop_phone_taymckenzienz', + PropTextureVariations = { + { Name = "Blue", Value = 0 }, + { Name = "Green", Value = 1 }, + { Name = "Dark Red", Value = 2 }, + { Name = "Orange", Value = 3 }, + { Name = "Grey", Value = 4 }, + { Name = "Purple", Value = 5 }, + { Name = "Pink", Value = 6 }, + { Name = "Black", Value = 7 } + }, + SecondPropBone = 60309, -- Left Wrist + SecondPropPlacement = { + 0.0910, + 0.0410, + -0.0040, + -129.2433, + -18.1966, + -41.2633 + }, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["guccibag"] = { -- Custom prop by crowded1337, unbranded by TayMcKenzieNZ + "move_weapon@jerrycan@generic", + "idle", + "Gucci Bag", + AnimationOptions = { + Prop = 'prop_amb_handbag_01', + PropBone = 28422, -- Right Wrist + PropPlacement = { + 0.2000, + 0.0300, + -0.0200, + 90.4294, + -177.4267, + 83.0011 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["idcard"] = { + "paper_1_rcm_alt1-8", + "player_one_dual-8", + "ID Card 1", + AnimationOptions = { + Prop = "prop_franklin_dl", + PropBone = 57005, + PropPlacement = { + 0.1000, + 0.0200, + -0.0300, + -90.000, + 170.000, + 78.999 + }, + EmoteStuck = true, + EmoteLoop = false, + EmoteMoving = true + } + }, + ["idcardb"] = { + "paper_1_rcm_alt1-8", + "player_one_dual-8", + "ID Card 2 - FIB", + AnimationOptions = { + Prop = "prop_fib_badge", + PropBone = 28422, + PropPlacement = { + 0.0600, + 0.0210, + -0.0400, + -90.00, + -180.00, + 78.999 + }, + EmoteStuck = true, + EmoteLoop = false, + EmoteMoving = true + } + }, + ["idcardc"] = { + "paper_1_rcm_alt1-8", + "player_one_dual-8", + "ID Card 3", + AnimationOptions = { + Prop = "prop_michael_sec_id", + PropBone = 28422, + PropPlacement = { + 0.1000, + 0.0200, + -0.0300, + -90.00, + -180.00, + 78.999 + }, + EmoteStuck = true, + EmoteLoop = false, + EmoteMoving = true + } + }, + ["idcardd"] = { + "paper_1_rcm_alt1-8", + "player_one_dual-8", + "ID Card 4", + AnimationOptions = { + Prop = "prop_trev_sec_id", + PropBone = 28422, + PropPlacement = { + 0.1000, + 0.0200, + -0.0300, + -90.00, + -180.00, + 78.999 + }, + EmoteStuck = true, + EmoteLoop = false, + EmoteMoving = true + } + }, + ["idcarde"] = { + "paper_1_rcm_alt1-8", + "player_one_dual-8", + "ID Card 5", + AnimationOptions = { + Prop = "p_ld_id_card_002", + PropBone = 28422, + PropPlacement = { + 0.1000, + 0.0200, + -0.0300, + -90.00, + -180.00, + 78.999 + }, + EmoteStuck = true, + EmoteLoop = false, + EmoteMoving = true + } + }, + ["idcardf"] = { + "paper_1_rcm_alt1-8", + "player_one_dual-8", + "ID Card 6", + AnimationOptions = { + Prop = "prop_cs_r_business_card", + PropBone = 28422, + PropPlacement = { + 0.1000, + 0.0200, + -0.0300, + -90.00, + -180.00, + 78.999 + }, + EmoteStuck = true, + EmoteLoop = false, + EmoteMoving = true + } + }, + ["idcardg"] = { + "paper_1_rcm_alt1-8", + "player_one_dual-8", + "ID Card 7", + AnimationOptions = { + Prop = "prop_michael_sec_id", + PropBone = 28422, + PropPlacement = { + 0.1000, + 0.0200, + -0.0300, + -90.00, + -180.00, + 78.999 + }, + EmoteStuck = true, + EmoteLoop = false, + EmoteMoving = true + } + }, + ["idcardh"] = { + "paper_1_rcm_alt1-8", + "player_one_dual-8", + "ID Card 8", + AnimationOptions = { + Prop = "prop_cop_badge", + PropBone = 28422, + PropPlacement = { + 0.0800, + -0.0120, + -0.0600, + -90.00, + 180.00, + 69.99 + }, + EmoteStuck = true, + EmoteLoop = false, + EmoteMoving = true + } + }, + ["idcardi"] = { + "paper_1_rcm_alt1-8", + "player_one_dual-8", + "ID Card 9 - Drivers License", + AnimationOptions = { + Prop = "bkr_prop_fakeid_singledriverl", + PropBone = 28422, + PropPlacement = { + 0.0700, + 0.0260, + -0.0320, + -10.8683, + -177.8499, + 23.6377 + }, + EmoteStuck = true, + EmoteLoop = false, + EmoteMoving = true + } + }, + ["idcardj"] = { + "amb@code_human_wander_clipboard@male@base", + "static", + "ID Card 10 - Passport", + AnimationOptions = { + Prop = "bkr_prop_fakeid_openpassport", + PropBone = 60309, + PropPlacement = { + -0.0230, + 0.0330, + -0.0600, + -80.7083, + 90.8670, + 41.4814 + }, + EmoteStuck = true, + EmoteLoop = false, + EmoteMoving = true + } + }, + ["phone"] = { + "cellphone@", + "cellphone_text_read_base", + "Phone", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["sms"] = { + "cellphone@", + "cellphone_text_read_base", + "SMS", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["sms2"] = { + "cellphone@female", + "cellphone_text_read_base", + "SMS 2", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 28422, + PropPlacement = { + 0.00, + 0.00, + 0.0301, + 0.000, + 00.00, + 00.00 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["sms3"] = { + "cellphone@female", + "cellphone_email_read_base", + "SMS 3", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 28422, + PropPlacement = { + -0.0190, + -0.0240, + 0.0300, + 18.99, + -72.07, + 6.39 + }, + EmoteLoop = false, + EmoteMoving = true + } + }, + ["sms4"] = { + "cellphone@female", + "cellphone_text_read_base_cover_low", + "SMS 4", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 28422, + PropPlacement = { + -0.0190, + -0.0250, + 0.0400, + 19.17, + -78.50, + 14.97 + }, + EmoteLoop = false, + EmoteMoving = true, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200 + } + }, + ["sms5"] = { + "amb@code_human_wander_texting_fat@male@base", + "static", + "SMS 5", + AnimationOptions = { + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 28422, + PropPlacement = { + -0.0200, + -0.0100, + 0.00, + 2.309, + 88.845, + 29.979 + }, + EmoteLoop = false, + EmoteMoving = true + } + }, + ["tire"] = { + "anim@heists@box_carry@", + "idle", + "Tire", + AnimationOptions = { + Prop = "prop_wheel_tyre", + PropBone = 60309, + PropPlacement = { + -0.05, + 0.16, + 0.32, + -130.0, + -55.0, + 150.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["golfswing"] = { + "rcmnigel1d", + "swing_a_mark", + "Golf Swing", + AnimationOptions = { + EmoteLoop = true, + Prop = "prop_golf_wood_01", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + } + } + }, + ["register"] = { + "anim@heists@box_carry@", + "idle", + "Register", + AnimationOptions = { + Prop = "v_ret_gc_cashreg", + PropBone = 60309, + PropPlacement = { + 0.138, + 0.2, + 0.2, + -50.0, + 290.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["weedbrick"] = { + "impexp_int-0", + "mp_m_waremech_01_dual-0", + "Weed Brick", + AnimationOptions = { + Prop = "prop_weed_block_01", + PropBone = 60309, + PropPlacement = { + 0.1, + 0.1, + 0.05, + 0.0, + -90.0, + 90.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["weedbrick2"] = { + "anim@heists@box_carry@", + "idle", + "Weed Brick BIG", + AnimationOptions = { + Prop = "bkr_prop_weed_bigbag_01a", + PropBone = 60309, + PropPlacement = { + 0.158, + -0.05, + 0.23, + -50.0, + 290.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["potplant"] = { + "anim@heists@box_carry@", + "idle", + "Pot Plant (Small)", + AnimationOptions = { + Prop = "bkr_prop_weed_01_small_01c", + PropBone = 60309, + PropPlacement = { + 0.138, + -0.05, + 0.23, + -50.0, + 290.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["potplant2"] = { + "anim@heists@box_carry@", + "idle", + "Pot Plant (Medium)", + AnimationOptions = { + Prop = "bkr_prop_weed_01_small_01b", + PropBone = 60309, + PropPlacement = { + 0.138, + -0.05, + 0.23, + -50.0, + 290.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["potplant3"] = { + "anim@heists@box_carry@", + "idle", + "Pot Plant (Large)", + AnimationOptions = { + Prop = "bkr_prop_weed_lrg_01b", + PropBone = 60309, + PropPlacement = { + 0.138, + -0.05, + 0.23, + -50.0, + 290.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["weedbucket"] = { + "anim@heists@box_carry@", + "idle", + "Weed Bucket", + AnimationOptions = { + Prop = "bkr_prop_weed_bucket_open_01a", + PropBone = 28422, + PropPlacement = { + 0.0, + -0.1000, + -0.1800, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["lawnchair"] = { + "timetable@ron@ig_5_p3", + "ig_5_p3_base", + "Lawnchair", + AnimationOptions = { + Prop = "prop_skid_chair_02", + PropBone = 0, + PropPlacement = { + 0.025, + -0.2, + -0.1, + 45.0, + -5.0, + 180.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["lawnchair2"] = { + "timetable@reunited@ig_10", + "base_amanda", + "Lawnchair 2", + AnimationOptions = { + Prop = "prop_skid_chair_02", + PropBone = 0, + PropPlacement = { + 0.025, + -0.15, + -0.1, + 45.0, + 5.0, + 180.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["lawnchair3"] = { + "timetable@ron@ig_3_couch", + "base", + "Lawnchair 3", + AnimationOptions = { + Prop = "prop_skid_chair_02", + PropBone = 0, + PropPlacement = { + -0.05, + 0.0, + -0.2, + 5.0, + 0.0, + 180.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["rose2"] = { + "missheistdocksprep1hold_cellphone", + "static", + "Rose 2 (Male)", + AnimationOptions = { + Prop = "prop_single_rose", + PropBone = 31086, + PropPlacement = { + -0.0140, + 0.1030, + 0.0620, + -2.932, + 4.564, + 39.910 + }, + EmoteLoop = false, + EmoteMoving = true + } + }, + ["rose3"] = { + "missheistdocksprep1hold_cellphone", + "static", + "Rose 3 (Female)", + AnimationOptions = { + Prop = "prop_single_rose", + PropBone = 31086, + PropPlacement = { + -0.0140, + 0.1070, + 0.0720, + 0.00, + 0.00, + 2.99 + }, + EmoteLoop = false, + EmoteMoving = true + } + }, + ["cbbox"] = { + "anim@heists@box_carry@", + "idle", + "Carry Beer Box", + AnimationOptions = { + Prop = "v_ret_ml_beerben1", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["cbbox2"] = { + "anim@heists@box_carry@", + "idle", + "Carry Beer Box 2", + AnimationOptions = { + Prop = "v_ret_ml_beerbla1", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["cbbox3"] = { + "anim@heists@box_carry@", + "idle", + "Carry Beer Box 3", + AnimationOptions = { + Prop = "v_ret_ml_beerjak1", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["cbbox4"] = { + "anim@heists@box_carry@", + "idle", + "Carry Beer Box 4", + AnimationOptions = { + Prop = "v_ret_ml_beerlog1", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["cbbox5"] = { + "anim@heists@box_carry@", + "idle", + "Carry Beer Box 5", + AnimationOptions = { + Prop = "v_ret_ml_beerpis1", + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["cbbox6"] = { + "anim@heists@box_carry@", + "idle", + "Carry Beer Box 6", + AnimationOptions = { + Prop = "prop_beer_box_01", + PropBone = 28422, + PropPlacement = { + 0.0200, + -0.0600, + -0.1200, + -180.00, + -180.00, + 1.99 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["gbin"] = { + "anim@heists@box_carry@", + "idle", + "Garbage Bin", + AnimationOptions = { + Prop = "prop_bin_08open", + PropBone = 28422, + PropPlacement = { + 0.00, + -0.420, + -1.290, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["gbin2"] = { + "anim@heists@box_carry@", + "idle", + "Garbage Bin 2", + AnimationOptions = { + Prop = "prop_cs_bin_01", + PropBone = 28422, + PropPlacement = { + 0.00, + -0.420, + -1.290, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["gbin3"] = { + "anim@heists@box_carry@", + "idle", + "Garbage Bin 3", + AnimationOptions = { + Prop = "prop_cs_bin_03", + PropBone = 28422, + PropPlacement = { + 0.00, + -0.420, + -1.290, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["gbin4"] = { + "anim@heists@box_carry@", + "idle", + "Garbage Bin 4", + AnimationOptions = { + Prop = "prop_bin_08a", + PropBone = 28422, + PropPlacement = { + 0.00, + -0.420, + -1.290, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["gbin5"] = { + "anim@heists@box_carry@", + "idle", + "Garbage Bin 5", + AnimationOptions = { + Prop = "prop_bin_07d", + PropBone = 28422, + PropPlacement = { + -0.0100, + -0.2200, + -0.8600, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ['pflag'] = { + 'rcmnigel1d', + 'base_club_shoulder', + 'Pride Flag - Rainbow', + AnimationOptions = { + Prop = 'prideflag1', + PropBone = 18905, + PropPlacement = { + 0.0800, + -0.2090, + 0.0900, + -82.6677, + -141.2988, + 12.3308 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ['pflag2'] = { + 'rcmnigel1d', + 'base_club_shoulder', + 'Pride Flag 2 - LGBTQ', + AnimationOptions = { + Prop = 'prideflag2', + PropBone = 18905, + PropPlacement = { + 0.0800, + -0.2090, + 0.0900, + -82.6677, + -141.2988, + 12.3308 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ['pflag3'] = { + 'rcmnigel1d', + 'base_club_shoulder', + 'Pride Flag 3 - Bisexual ', + AnimationOptions = { + Prop = 'prideflag3', + PropBone = 18905, + PropPlacement = { + 0.0800, + -0.2090, + 0.0900, + -82.6677, + -141.2988, + 12.3308 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ['pflag4'] = { + 'rcmnigel1d', + 'base_club_shoulder', + 'Pride Flag 4 - Lesbian ', + AnimationOptions = { + Prop = 'prideflag4', + PropBone = 18905, + PropPlacement = { + 0.0800, + -0.2090, + 0.0900, + -82.6677, + -141.2988, + 12.3308 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ['pflag5'] = { + 'rcmnigel1d', + 'base_club_shoulder', + 'Pride Flag 5 - Pansexual ', + AnimationOptions = { + Prop = 'prideflag5', + PropBone = 18905, + PropPlacement = { + 0.0800, + -0.2090, + 0.0900, + -82.6677, + -141.2988, + 12.3308 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ['pflag6'] = { + 'rcmnigel1d', + 'base_club_shoulder', + 'Pride Flag 6 - Transgender ', + AnimationOptions = { + Prop = 'prideflag6', + PropBone = 18905, + PropPlacement = { + 0.0800, + -0.2090, + 0.0900, + -82.6677, + -141.2988, + 12.3308 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ['pflag7'] = { + 'rcmnigel1d', + 'base_club_shoulder', + 'Pride Flag 7 - Non Binary ', + AnimationOptions = { + Prop = 'prideflag7', + PropBone = 18905, + PropPlacement = { + 0.0800, + -0.2090, + 0.0900, + -82.6677, + -141.2988, + 12.3308 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ['pflag8'] = { + 'rcmnigel1d', + 'base_club_shoulder', + 'Pride Flag 8 - Asexual ', + AnimationOptions = { + Prop = 'prideflag8', + PropBone = 18905, + PropPlacement = { + 0.0800, + -0.2090, + 0.0900, + -82.6677, + -141.2988, + 12.3308 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ['pflag9'] = { + 'rcmnigel1d', + 'base_club_shoulder', + 'Pride Flag 9 - Straight Ally ', + AnimationOptions = { + Prop = 'prideflag9', + PropBone = 18905, + PropPlacement = { + 0.0800, + -0.2090, + 0.0900, + -82.6677, + -141.2988, + 12.3308 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ['old'] = { + 'missbigscore2aleadinout@bs_2a_2b_int', + 'lester_base_idle', + 'Old Man Walking Stick', + AnimationOptions = { + Prop = 'prop_cs_walking_stick', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + SecondProp = 'prop_phone_taymckenzienz', + PropTextureVariations = { + { Name = "Blue", Value = 0 }, + { Name = "Green", Value = 1 }, + { Name = "Dark Red", Value = 2 }, + { Name = "Orange", Value = 3 }, + { Name = "Grey", Value = 4 }, + { Name = "Purple", Value = 5 }, + { Name = "Pink", Value = 6 }, + { Name = "Black", Value = 7 }, + }, + SecondPropBone = 60309, -- Left Wrist + SecondPropPlacement = { + 0.0740, + 0.0410, + 0.0090, + -127.9136, + -10.6186, + 4.7536 + }, + PtfxAsset = "scr_tn_meet", + PtfxName = "scr_tn_meet_phone_camera_flash", + PtfxPlacement = { + -0.015, + 0.0, + 0.041, + 0.0, + 0.0, + 0.0, + 1.0 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['camera'], + PtfxWait = 200, + EmoteLoop = true, + EmoteMoving = true + } + }, + ['digiscan'] = { + 'weapons@misc@digi_scanner', + 'aim_med_loop', + 'Digiscan 1 ', + AnimationOptions = { + Prop = 'w_am_digiscanner', + PropBone = 28422, + PropPlacement = { + 0.0480, + 0.0780, + 0.0040, + -81.6893, + 2.5616, + -15.7909 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ['digiscan2'] = { + 'weapons@misc@digi_scanner', + 'aim_low_loop', + 'Digiscan 2 ', + AnimationOptions = { + Prop = 'w_am_digiscanner', + PropBone = 28422, + PropPlacement = { + 0.0480, + 0.0780, + 0.0040, + -81.6893, + 2.5616, + -15.7909 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ['digiscan3'] = { + 'weapons@misc@digi_scanner', + 'aim_high_loop', + 'Digiscan 3 ', + AnimationOptions = { + Prop = 'w_am_digiscanner', + PropBone = 28422, + PropPlacement = { + 0.0480, + 0.0780, + 0.0040, + -81.6893, + 2.5616, + -15.7909 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["cop4"] = { + "amb@world_human_car_park_attendant@male@base", + "base", + "Cop 4", + AnimationOptions = { + Prop = "prop_parking_wand_01", + PropBone = 57005, + PropPlacement = { + 0.12, + 0.05, + 0.0, + 80.0, + -20.0, + 180.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["copbeacon"] = { -- Added for compatibility + "amb@world_human_car_park_attendant@male@base", + "base", + "Cop Beacon", + AnimationOptions = { + Prop = "prop_parking_wand_01", + PropBone = 57005, + PropPlacement = { + 0.12, + 0.05, + 0.0, + 80.0, + -20.0, + 180.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["leanphone"] = { + "amb@world_human_leaning@male@wall@back@mobile@base", + "base", + "Leaning With Phone", + AnimationOptions = { + EmoteMoving = false, + EmoteLoop = true, + Prop = "prop_phone_taymckenzienz", + PropTextureVariations = { + {Name = "Blue", Value = 0}, + {Name = "Green", Value = 1}, + {Name = "Dark Red", Value = 2}, + {Name = "Orange", Value = 3}, + {Name = "Grey", Value = 4}, + {Name = "Purple", Value = 5}, + {Name = "Pink", Value = 6}, + {Name = "Black", Value = 7} + }, + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + } + } + }, + ["hump2"] = { + "timetable@trevor@skull_loving_bear", + "skull_loving_bear", + "Hump (Bear)", + AnimationOptions = { + Prop = 'prop_mr_raspberry_01', + PropBone = 28422, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteMoving = false, + EmoteLoop = true + }, + AdultAnimation = true + }, + ["eat"] = { + "mp_player_inteat@burger", + "mp_player_int_eat_burger", + "Eat", + AnimationOptions = { + Prop = 'prop_cs_burger_01', + PropBone = 18905, + PropPlacement = { + 0.13, + 0.05, + 0.02, + -50.0, + 16.0, + 60.0 + }, + EmoteMoving = true + } + }, + ["drink"] = { + "mp_player_intdrink", + "loop_bottle", + "Drink", + AnimationOptions = + { + Prop = "prop_ld_flow_bottle", + PropBone = 18905, + PropPlacement = { + 0.12, + 0.008, + 0.03, + 240.0, + -60.0 + }, + EmoteMoving = true, + EmoteLoop = true + } + }, + ["surfboard"] = { -- Emote by Molly + "beachanims@molly", + "beachanim_surf_clip", + "Surf Board", + AnimationOptions = + { + Prop = "prop_surf_board_01", + PropBone = 28252, + PropPlacement = { + 0.1020, + -0.1460, + -0.1160, + -85.5416, + 176.1446, + -2.1500 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["stealtv"] = { -- Emote by Molly + "beachanims@molly", + "beachanim_surf_clip", + "Steal TV", + AnimationOptions = + { + Prop = "xs_prop_arena_screen_tv_01", + PropBone = 28252, + PropPlacement = { + 0.2600, + 0.1100, + -0.1400, + 96.1620, + 168.9069, + 84.2402 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["beachring"] = { -- Emote by Molly + "beachanims@free", + "beachanim_clip", + "Beach Floatie Thingy", + AnimationOptions = { + + Prop = "prop_beach_ring_01", + PropBone = 0, + PropPlacement = { + 0.0, + 0.0, + 0.0100, + -12.0, + 0.0, + -2.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["cashcase"] = { + "move_weapon@jerrycan@generic", + "idle", + "Cash Briefcase", + AnimationOptions = { + Prop = "bkr_prop_biker_case_shut", + PropBone = 28422, + PropPlacement = { + 0.1000, + 0.0100, + 0.0040, + 0.0, + 0.0, + -90.00 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["cashcase2"] = { + "anim@heists@box_carry@", + "idle", + "Cash Briefcase 2", + AnimationOptions = { + Prop = "prop_cash_case_01", + PropBone = 28422, + PropPlacement = { + -0.0050, + -0.1870, + -0.1400, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["cashcase3"] = { + "anim@heists@box_carry@", + "idle", + "Cash Briefcase 3", + AnimationOptions = { + Prop = "prop_cash_case_02", + PropBone = 28422, + PropPlacement = { + 0.0050, + -0.1170, + -0.1400, + 14.000, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["cashcase4"] = { + "anim@heists@box_carry@", + "idle", + "Cash Briefcase 4 - Diamonds", + AnimationOptions = { + Prop = "ch_prop_ch_security_case_01a", + PropBone = 28422, + PropPlacement = { + 0.0, + -0.0900, + -0.1800, + 14.4000, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["airportbag"] = { + "anim@heists@narcotics@trash", + "idle", + "Airport Bag", + AnimationOptions = { + Prop = "prop_suitcase_01c", + PropBone = 28422, + PropPlacement = { + 0.1100, + -0.2100, + -0.4300, + -11.8999, + 0.0, + 30.0000 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["airportbag2"] = { -- Custom Emote By Chocoholic Animations + "chocoholic@single63", + "single63_clip", + "Airport Bag Pose", + AnimationOptions = { + Prop = "prop_suitcase_03", + PropBone = 58869, + PropPlacement = { + 0.2100, + 0.4100, + -0.3600, + 56.9074, + -6.1917, + -24.3334 + }, + EmoteLoop = true, + } + }, + ["megaphone"] = { -- Custom Emote By MollyEmotes + "molly@megaphone", + "megaphone_clip", + "Megaphone", + AnimationOptions = { + Prop = "prop_megaphone_01", + PropBone = 28422, + PropPlacement = { + 0.0500, + 0.0540, + -0.0060, + -71.8855, + -13.0889, + -16.0242 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["megaphone2"] = { -- Custom Emote By MollyEmotes + "molly@megaphone2", + "megaphone_clip", + "Megaphone 2", + AnimationOptions = { + Prop = "prop_megaphone_01", + PropBone = 28422, + PropPlacement = { + 0.0500, + 0.0540, + -0.0060, + -71.8855, + -13.0889, + -16.0242 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["megaphone3"] = { + "anim@rifle_megaphone", + "rifle_holding_megaphone", + "Megaphone 3", + AnimationOptions = { + Prop = "prop_megaphone_01", + PropBone = 60309, + PropPlacement = { + 0.0480, + 0.0190, + 0.0160, + -94.8944, + -2.3093, + -10.9030 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["bball"] = { -- Custom Emote By Struggleville + "anim@male_bskball_hold", + "bskball_hold_clip", + "Basketball Hold", + AnimationOptions = { + Prop = "prop_bskball_01", + PropBone = 28422, + PropPlacement = { + 0.0600, + 0.0400, + -0.1200, + 0.0, + 0.0, + 40.00 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["bball2"] = { -- Custom Emote By Struggleville + "anim@male_bskball_photo_pose", + "photo_pose_clip", + "Basketball Pose", + AnimationOptions = { + Prop = "prop_bskball_01", + PropBone = 60309, + PropPlacement = { + -0.0100, + 0.0200, + 0.1300, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["bball3"] = { -- Custom Emote By Struggleville + "anim@male_basketball_03", + "m_basketball_03_clip", + "Basketball Hold 2", + AnimationOptions = { + Prop = "prop_bskball_01", + PropBone = 28422, + PropPlacement = { + 0.0400, + 0.0200, + -0.1400, + 90.0000, + -99.9999, + 79.9999 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["bball4"] = { -- Custom Emote By SapphireMods + "mx@pose2", + "mx_clippose2", + "Basketball Hold 3", + AnimationOptions = { + Prop = "prop_bskball_01", + PropBone = 28422, + PropPlacement = { + 0.0400, + 0.0200, + -0.1400, + 90.0000, + -99.9999, + 79.9999 + }, + EmoteLoop = true + } + }, + ["ftorch"] = { + "anim@heists@humane_labs@finale@keycards", + "ped_a_enter_loop", + "Fire Torch", + AnimationOptions = { + Prop = "bzzz_prop_torch_fire001", -- Custom Prop By Bzzzz Used With Permission + PropBone = 18905, + PropPlacement = { + 0.14, + 0.21, + -0.08, + -110.0, + -1.0, + -10.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ['ftorch2'] = { + 'rcmnigel1d', + 'base_club_shoulder', + 'Fire Torch 2', + AnimationOptions = { + Prop = "bzzz_prop_torch_fire001", -- Custom Prop By Bzzzz Used With Permission + PropBone = 28422, + PropPlacement = { + -0.0800, + -0.0300, + -0.1700, + 11.4181, + -159.1026, + 15.0338 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["watchstripper2"] = { + "amb@world_human_strip_watch_stand@male_c@base", + "base", + "Watch Stripper 2", + AnimationOptions = { + Prop = "prop_beer_am", + PropBone = 60309, + PropPlacement = { + 0.0880, + -0.1360, + 0.1450, + -102.9624, + 81.7098, + -39.2734 + }, + EmoteLoop = true, + EmoteMoving = true + }, + AdultAnimation = true + }, + ["candyapple"] = { -- Custom Prop by hollywoodiownu + "anim@heists@humane_labs@finale@keycards", + "ped_a_enter_loop", + "Candy Apple", + AnimationOptions = { + Prop = "apple_1", + PropBone = 18905, + PropPlacement = { + 0.12, + 0.15, + 0.0, + -100.0, + 0.0, + -12.0 + }, + EmoteLoop = true, + EmoteMoving = true, + }, + }, + ["gamer"] = { --- Custom Emote By MissSnowie + "playing@with_controller", + "base", + "Gamer", + AnimationOptions = { + Prop = 'prop_controller_01', + PropBone = 24818, --- Chest bone, works fine for sitting down, not soo much with emote moving. + PropPlacement = { + 0.2890, + 0.4110, + 0.0020, + -44.0174, + 88.6103, + -1.4385 + }, + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["crackhead"] = { + "special_ped@zombie@base", + "base", + "Crack Head", + AnimationOptions = { + Prop = 'prop_cs_bowie_knife', -- Knife + PropBone = 28422, -- Right Wrist + PropPlacement = { + -0.1280, + -0.0220, + 0.0210, + -150.0005, + 179.9989, + -30.0105 + }, + SecondProp = 'ng_proc_cigpak01a', + SecondPropBone = 26614, + SecondPropPlacement = { + 0.010, + -0.0190, + 0.0920, + -82.4073, + 178.6009, + 29.9195 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["propose"] = { --- Custom Emote By ultrahacx + "ultra@propose", + "propose", + "Propose", + AnimationOptions = { + Prop = 'ultra_ringcase', --- Custom prop by ultrahacx + PropBone = 28422, + PropPlacement = { + 0.0980, + 0.0200, + -0.0540, + -138.6571, + 4.4141, + -79.3552 + }, + EmoteLoop = true + } + }, + ["propose2"] = { --- Custom Emote By ultrahacx + "ultra@propose", + "propose", + "Propose 2 - Valentines Day", + AnimationOptions = { + Prop = 'pata_freevalentinesday', --- Custom prop by PataMods + PropBone = 64064, + PropPlacement = { + 0.0190, + 0.0480, + 0.0110, + -9.0350, + 88.4373, + -9.8783 + }, + EmoteLoop = true + } + }, + ["propose3"] = { --- Custom Emote By ultrahacx + "ultra@propose", + "propose", + "Propose 3", + AnimationOptions = { + Prop = 'pata_freevalentinesday2', --- Custom prop by PataMods + PropBone = 64064, + PropPlacement = { + 0.0190, + 0.0480, + 0.0110, + -9.0350, + 88.4373, + -9.8783 + }, + EmoteLoop = true + } + }, + ["holdfw"] = { + "anim@heists@humane_labs@finale@keycards", + "ped_a_enter_loop", + "Hold Firework", + AnimationOptions = { + Prop = 'ind_prop_firework_01', --- blue, green, red, purple pink, cyan, yellow, white + PtfxColor = {{R = 255, G = 0, B = 0, A = 1.0}, {R = 0, G = 255, B = 0, A = 1.0}, {R = 0, G = 0, B = 255, A = 1.0}, {R = 177, G = 5, B = 245, A = 1.0}, {R = 251, G = 3, B = 255, A = 1.0}, {R = 2, G = 238, B = 250, A = 1.0}, {R = 252, G = 248, B = 0, A = 1.0}, {R = 245, G = 245, B = 245, A = 1.0}}, + PropBone = 18905, + PropPlacement = { + 0.1100, + 0.3200, + -0.2400, + -130.0688, + -2.5736, + -3.0631 + }, + EmoteLoop = true, + EmoteMoving = true, + PtfxAsset = "scr_indep_fireworks", + PtfxName = "scr_indep_firework_trail_spawn", + PtfxPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.6 + }, + PtfxInfo = Config.Languages[Config.MenuLanguage]['firework'], + PtfxWait = 200 + } + }, + ["chillteq"] = { --- Custom Emote By Amnilka + "amnilka@photopose@female@homepack001", + "amnilka_femalehome_photopose_003", + "Chill Tequila", + AnimationOptions = { + Prop = 'prop_tequila', + PropBone = 60309, + PropPlacement = { + 0.0810, + -0.0460, + 0.0430, + -110.1784, + 2.9283, + -12.5092 + }, + EmoteLoop = true, + ExitEmote = "getup", + ExitEmoteType = "Exits" + } + }, + ["patrolf1"] = { + "amb@world_human_security_shine_torch@male@base", + "base", + "Patrol - On Foot", + AnimationOptions = { + Prop = 'prop_cs_police_torch_02', + PropBone = 60309, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 80.0000 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["patrolf2"] = { + "amb@world_human_security_shine_torch@male@idle_b", + "idle_e", + "Patrol - On Foot 2", + AnimationOptions = { + Prop = 'prop_cs_police_torch_02', + PropBone = 60309, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 80.0000 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["patrolf3"] = { + "amb@world_human_security_shine_torch@male@idle_a", + "idle_a", + "Patrol - On Foot 3", + AnimationOptions = { + Prop = 'prop_cs_police_torch_02', + PropBone = 60309, + PropPlacement = { + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 80.0000 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["patrolf4"] = { -- Huge thanks to MadsLeander on GitHub + "amb@incar@male@patrol@torch@base", + "base", + "Patrol - On Foot 4 Over The Shoulder", + AnimationOptions = { + Prop = 'prop_cs_police_torch_02', + PropBone = 28422, -- Right Wrist + PropPlacement = { + 0.0, + -0.00100, + 0.0, + 0.0, + 0.0, + 90.0 + }, + SecondProp = 'prop_cs_hand_radio', + SecondPropBone = 60309, -- Left Wrist + SecondPropPlacement = { + 0.0560, + 0.0470, + 0.0110, + -43.82733, + 164.6747, + -7.5569 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["patrolcar"] = { + "amb@incar@male@patrol@torch@base", + "base", + "Patrol Car - Front", + AnimationOptions = { + Prop = 'prop_cs_police_torch_02', + PropBone = 28422, + PropPlacement = { + 0.0, + -0.0100, + -0.0100, + 0.0, + 0.0, + 100.0000 + }, + EmoteLoop = true + } + }, + ["pineapple"] = { -- Custom Prop by hollywoodiownu + "anim@heists@humane_labs@finale@keycards", + "ped_a_enter_loop", + "Pineapple", + AnimationOptions = { + Prop = "xm3_prop_xm3_pineapple_01a", + PropBone = 18905, + PropPlacement = { + 0.1, + -0.11, + 0.05, + -100.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true, + }, + }, + ["present"] = { + "anim@heists@box_carry@", + "idle", + "Present", + AnimationOptions = { + Prop = "xm3_prop_xm3_present_01a", + PropBone = 28422, + PropPlacement = { + 0.0, + -0.18, + -0.16, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["patrolcarl"] = { + "amb@incar@male@patrol@torch@idle_b", + "idle_d", + "Patrol Car - Left", + AnimationOptions = { + Prop = 'prop_cs_police_torch_02', + PropBone = 28422, + PropPlacement = { + 0.0, + -0.0100, + -0.0100, + 0.0, + 0.0, + 100.0000 + }, + EmoteLoop = true + } + }, + ["patrolcarr"] = { + "amb@incar@male@patrol@torch@idle_a", + "idle_a", + "Patrol Car - Right", + AnimationOptions = { + Prop = 'prop_cs_police_torch_02', + PropBone = 28422, + PropPlacement = { + 0.0, + -0.0100, + -0.0100, + 0.0, + 0.0, + 100.0000 + }, + EmoteLoop = true + } + }, + ["papers"] = { + "missheistdocksprep1hold_cellphone", + "static", + "Papers", + AnimationOptions = { + Prop = "xm3_prop_xm3_papers_01a", + PropBone = 18905, + PropPlacement = { + 0.13, + 0.0, + 0.04, + -110.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["vlog"] = { + "amb@world_human_mobile_film_shocking@male@base", + "base", + "Vlog", + AnimationOptions = { + Prop = 'prop_ing_camera_01', + PropBone = 28422, + PropPlacement = { + -0.07, + -0.01, + 0.0, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true, + } + }, + ["vlog2"] = { + "anim@heists@humane_labs@finale@keycards", + "ped_a_enter_loop", + "Vlog 2", + AnimationOptions = { + Prop = 'prop_ing_camera_01', + PropBone = 18905, + PropPlacement = { + 0.15, + 0.03, + 0.1, + 280.0, + 110.0, + -11.0 + }, + EmoteLoop = true, + EmoteMoving = true, + } + }, + ["skatesit"] = { -- Custom Emote By CMG Mods + "skateboardposecmganimation", + "skateboardposecmg_clip", + "Skateboard - Sit", + AnimationOptions = { + Prop = 'taymckenzienz_skateboard01', + PropBone = 0, + PropPlacement = { + 0.0, + 0.0400, + -0.2300, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + } + }, + ["skatesit2"] = { -- Custom Emote By Chocoholic Animations + "chocoholic@skate2", + "skate2_clip", + "Skateboard - Sit 2", + AnimationOptions = { + Prop = "taymckenzienz_skateboard02", + PropBone = 0, + PropPlacement = { + 0.0, + -0.0200, + -0.2900, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["skatehold"] = { + "molly@boombox1", + "boombox1_clip", + "Skateboard - Hold Female", + AnimationOptions = { + Prop = "prop_cs_sol_glasses", + PropBone = 31086, + PropPlacement = { + 0.0440, + 0.0740, + 0.0000, + -160.9843, + -88.7288, + -0.6197 + }, + SecondProp = 'taymckenzienz_skateboard01', + SecondPropBone = 60309, + SecondPropPlacement = { + -0.0050, + 0.0320, + 0.1640, + 44.6076, + -112.2983, + -86.1199 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["skatehold2"] = { -- Emote by Molly + "beachanims@molly", + "beachanim_surf_clip", + "Skateboard - Hold Female 2", + AnimationOptions = { + Prop = "taymckenzienz_skateboard01", + PropBone = 28422, + PropPlacement = { + -0.1020, + 0.2240, + 0.0840, + 5.6655, + 175.3526, + 49.7964 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["skatehold3"] = { -- Custom Emote By Chocoholic Animations + "chocoholic@skate4", + "skate4_clip", + "Skateboard - Hold Female 3", + AnimationOptions = { + Prop = "taymckenzienz_skateboard01", + PropBone = 28422, + PropPlacement = { + 0.2780, + -0.0200, + -0.0700, + -180.0000, + 28.0000, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["skatehold4"] = { + "molly@boombox1", + "boombox1_clip", + "Skateboard - Hold Male", + AnimationOptions = { + Prop = "prop_cs_sol_glasses", + PropBone = 31086, + PropPlacement = { + 0.0440, + 0.0740, + 0.0000, + -160.9843, + -88.7288, + -0.6197 + }, + SecondProp = 'taymckenzienz_skateboard02', + SecondPropBone = 60309, + SecondPropPlacement = { + -0.0050, + 0.0320, + 0.1640, + 44.6076, + -112.2983, + -86.1199 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["skatehold5"] = { -- Emote by Molly + "beachanims@molly", + "beachanim_surf_clip", + "Skateboard - Hold Male 2", + AnimationOptions = { + Prop = "taymckenzienz_skateboard02", + PropBone = 28422, + PropPlacement = { + -0.1020, + 0.2240, + 0.0840, + 5.6655, + 175.3526, + 49.7964 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["skatehold6"] = { -- Custom Emote By Chocoholic Animations + "chocoholic@skate4", + "skate4_clip", + "Skateboard - Hold Male 3", + AnimationOptions = { + Prop = "taymckenzienz_skateboard02", + PropBone = 28422, + PropPlacement = { + 0.2780, + -0.0200, + -0.0700, + -180.0000, + 28.0000, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = false + } + }, + ["mafia"] = { -- Custom Emote By Chocoholic Animations + "chocoholic@single12", + "single12_clip", + "Mafia Boss - Gun Point", + AnimationOptions = { + Prop = "w_pi_revolver_b", + PropBone = 28422, + PropPlacement = { + 0.1150, + 0.0590, + -0.0100, + -69.7101, + 1.4074, + -13.7554 + }, + SecondProp = 'prop_cigar_01', + SecondPropBone = 17188, + SecondPropPlacement = { + 0.0450, + 0.0130, + 0.0170, + 0.0, + 0.0, + 0.0 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["shield"] = { + "beachanims@molly", + "beachanim_surf_clip", + "Shield", + AnimationOptions = { + Prop = "prop_riot_shield", + PropBone = 18905, + PropPlacement = { + -0.04, + -0.06, + 0.0, + 4.04, + 108.17, + -17.48 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["shield2"] = { + "beachanims@molly", + "beachanim_surf_clip", + "Shield 2", + AnimationOptions = { + Prop = "prop_ballistic_shield", + PropBone = 18905, + PropPlacement = { + 0.01, + -0.1, + -0.07, + 1.83, + 105.38, + -10.14 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["cofpose"] = { + "chocoholic@single23", + "single23_clip", + "Coffee & Burger Pose", + AnimationOptions = { + Prop = "prop_fib_coffee", + PropBone = 28422, + PropPlacement = { + 0.0720, + 0.0390, + -0.0230, + -125.8797, + -168.4347, + 17.4518 + }, + SecondProp = 'prop_cs_burger_01', + SecondPropBone = 60309, + SecondPropPlacement = { + 0.1240, + 0.0230, + 0.0520, + 89.8585, + -179.9282, + -39.9999 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["holster6"] = { + "anim@hlstr_7360_torch", + "flsh_ps", + "Holster 6 - Flash Light", + AnimationOptions = { + Prop = 'prop_cs_police_torch_02', + PropBone = 60309, + PropPlacement = { + 0.0550, + -0.0200, + 0.0370, + -29.6216, + -8.6822, + 4.9809 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["holster8"] = { + "anim@holster_walk_torch", + "flash_ps", + "Holster 8 Flashlight 2", + AnimationOptions = { + Prop = 'prop_cs_police_torch_02', + PropBone = 60309, + PropPlacement = { + 0.0600, + -0.0100, + 0.0200, + -20.0000, + 0.0000, + 3.9999 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["heartprop"] = { + "anim@heists@box_carry@", + "idle", + "Heart Prop", + AnimationOptions = { + Prop = 'brum_heart', + PropBone = 28422, + PropPlacement = { + -0.5600, + 0.0240, + -0.3690, + -10.0000, + 0.0000, + -0.0000 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, + ["popcorn"] = { + "amb@code_human_wander_drinking@female@base", + "static", + "Popcorn", + AnimationOptions = { + Prop = 'prop_taymckenzienz_popcorn', + PropBone = 28422, + PropPlacement = { + -0.0200, + -0.0100, + -0.0700, + -179.3626, + 176.9331, + 11.9833 + }, + EmoteLoop = true, + EmoteMoving = true + } + }, +} diff --git a/resources/[standalone]/dpemotes/client/AnimationListCustom.lua b/resources/[standalone]/dpemotes/client/AnimationListCustom.lua new file mode 100644 index 0000000..4646031 --- /dev/null +++ b/resources/[standalone]/dpemotes/client/AnimationListCustom.lua @@ -0,0 +1,31 @@ +-- Emotes you add in the file will automatically be added to AnimationList.lua +-- If you have multiple custom list files they MUST be added between AnimationList.lua and Emote.lua in fxmanifest.lua! +-- Don't change 'CustomDP' it is local to this file! + +local CustomDP = {} + +CustomDP.Expressions = {} +CustomDP.Walks = {} +CustomDP.Shared = {} +CustomDP.Dances = {} +CustomDP.AnimalEmotes = {} +CustomDP.Exits = {} +CustomDP.Emotes = {} +CustomDP.PropEmotes = {} + +----------------------------------------------------------------------------------------- +--| I don't think you should change the code below unless you know what you are doing |-- +----------------------------------------------------------------------------------------- + +-- Add the custom emotes to dpemotes main array +for arrayName, array in pairs(CustomDP) do + if RP[arrayName] then + for emoteName, emoteData in pairs(array) do + RP[arrayName][emoteName] = emoteData + end + end + -- Free memory + CustomDP[arrayName] = nil +end +-- Free memory +CustomDP = nil diff --git a/resources/[standalone]/dpemotes/client/Crouch.lua b/resources/[standalone]/dpemotes/client/Crouch.lua new file mode 100644 index 0000000..75526a9 --- /dev/null +++ b/resources/[standalone]/dpemotes/client/Crouch.lua @@ -0,0 +1,486 @@ +IsProne = false +local isCrouched = false +local isCrawling = false +local inAction = false +local proneType = "onfront" +local lastKeyPress = 0 + + +-- Utils -- +local function LoadAnimDict(dict) + RequestAnimDict(dict) + while not HasAnimDictLoaded(dict) do + Citizen.Wait(0) + end +end + +local function LoadAnimSet(set) + RequestAnimSet(set) + while not HasAnimSetLoaded(set) do + Citizen.Wait(0) + end +end + +local function IsPlayerAiming(player) + return IsPlayerFreeAiming(player) or IsAimCamActive() or IsAimCamThirdPersonActive() +end + +local function CanPlayerCrouchCrawl(playerPed) + if not IsPedOnFoot(playerPed) or IsPedJumping(playerPed) or IsPedFalling(playerPed) or IsPedInjured(playerPed) or IsPedInMeleeCombat(playerPed) or IsPedRagdoll(playerPed) then + return false + end + + return true +end + +local function PlayAnimOnce(playerPed, animDict, animName, blendInSpeed, blendOutSpeed, duration, startTime) + LoadAnimDict(animDict) + TaskPlayAnim(playerPed, animDict, animName, blendInSpeed or 2.0, blendOutSpeed or 2.0, duration or -1, 0, startTime or 0.0, false, false, false) + RemoveAnimDict(animDict) +end + +local function ChangeHeadingSmooth(playerPed, amount, time) + local times = math.abs(amount) + local test = amount / times + local wait = time / times + + for _i = 1, times do + Wait(wait) + SetEntityHeading(playerPed, GetEntityHeading(playerPed) + test) + end +end + + +-- Crouching -- +local function ResetCrouch() + local playerPed = PlayerPedId() + + ResetPedStrafeClipset(playerPed) + ResetPedWeaponMovementClipset(playerPed) + SetPedMaxMoveBlendRatio(playerPed, 1.0) + SetPedCanPlayAmbientAnims(playerPed, true) + + -- Applies the previous walk style (or resets to default if non had been set) + local walkStyle = GetResourceKvpString("walkstyle") + if walkStyle ~= nil then + LoadAnimSet(walkStyle) + SetPedMovementClipset(playerPed, walkStyle, 0.6) + RemoveAnimSet(walkStyle) + else + ResetPedMovementClipset(playerPed, 0.5) + end + + RemoveAnimSet("move_ped_crouched") +end + +local function CrouchThread() + CreateThread(function() + local playerId = PlayerId() + + while isCrouched do + local playerPed = PlayerPedId() + + -- Checks if the player is falling, in vehicle, dead etc. + if not CanPlayerCrouchCrawl(playerPed) then + isCrouched = false + break + end + + -- Limit the speed that the player can walk when aiming + if IsPlayerAiming(playerId) then + SetPedMaxMoveBlendRatio(playerPed, 0.15) + end + + -- This blocks the ped from standing up and playing idle anims (this needs to be looped) + SetPedCanPlayAmbientAnims(playerPed, false) + + -- Disables "INPUT_DUCK" and blocks action mode + DisableControlAction(0, 36, true) + if IsPedUsingActionMode(playerPed) == 1 then + SetPedUsingActionMode(playerPed, false, -1, "DEFAULT_ACTION") + end + + -- Disable first person + DisableFirstPersonCamThisFrame() + + Wait(0) + end + + -- Reset walk style and ped variables + ResetCrouch() + end) +end + +local function StartCrouch() + isCrouched = true + LoadAnimSet("move_ped_crouched") + local playerPed = PlayerPedId() + + -- Force leave stealth mode + if GetPedStealthMovement(playerPed) == 1 then + SetPedStealthMovement(playerPed, false, "DEFAULT_ACTION") + Wait(100) + end + + -- Force leave first person view + if GetFollowPedCamViewMode() == 4 then + SetFollowPedCamViewMode(0) -- THIRD_PERSON_NEAR + end + + SetPedMovementClipset(playerPed, "move_ped_crouched", 0.6) + SetPedStrafeClipset(playerPed, "move_ped_crouched_strafing") + + CrouchThread() +end + +local function AttemptCrouch(playerPed) + if CanPlayerCrouchCrawl(playerPed) then + StartCrouch() + return true + else + return false + end +end + +local function CrouchKeyPressed() + -- If we already are doing something, then don't continue + if inAction then + return + end + + -- If crouched then stop crouching + if isCrouched then + isCrouched = false + return + end + + -- Get the player ped + local playerPed = PlayerPedId() + + if Config.CrouchOverride then + DisableControlAction(0, 36, true) -- Disable INPUT_DUCK this frame + else + -- Get +crouch and INPUT_DUCK keys + local crouchKey = GetControlInstructionalButton(0, 0xD2D0BEBA, false) + local duckKey = GetControlInstructionalButton(0, 36, false) + + -- If they are the same and we aren't prone, then check if we are in stealth mode and how long ago the last button press was. + if crouchKey == duckKey and not IsProne then + local timer = GetGameTimer() + + -- If we are in stealth mode and we have already pressed the button in the last second + if GetPedStealthMovement(playerPed) == 1 and timer - lastKeyPress < 1000 then + DisableControlAction(0, 36, true) -- Disable INPUT_DUCK this frame + lastKeyPress = 0 + AttemptCrouch(playerPed) + return + end + lastKeyPress = timer + return + end + end + + -- Attempt to crouch, if we were successful, then also check if we are prone, if so then play an animaiton + if AttemptCrouch(playerPed) and IsProne then + inAction = true + IsProne = false + PlayAnimOnce(playerPed, "get_up@directional@transition@prone_to_knees@crawl", "front", nil, nil, 780) + Wait(780) + inAction = false + end +end + + +-- Crawling -- +local function ShouldPlayerDiveToCrawl(playerPed) + if IsPedRunning(playerPed) or IsPedSprinting(playerPed) then + return true + end + + return false +end + +local function PlayIdleCrawlAnim(playerPed, heading, blendInSpeed) + local playerCoords = GetEntityCoords(playerPed) + TaskPlayAnimAdvanced(playerPed, "move_crawl", proneType.."_fwd", playerCoords.x, playerCoords.y, playerCoords.z, 0.0, 0.0, heading or GetEntityHeading(playerPed), blendInSpeed or 2.0, 2.0, -1, 2, 1.0, false, false) +end + +local function PlayExitCrawlAnims(forceEnd) + if not forceEnd then + inAction = true + local playerPed = PlayerPedId() + + if proneType == "onfront" then + PlayAnimOnce(playerPed, "get_up@directional@transition@prone_to_knees@crawl", "front", nil, nil, 780) + + -- Only stand fully up if we are not crouching + if not isCrouched then + Wait(780) + PlayAnimOnce(playerPed, "get_up@directional@movement@from_knees@standard", "getup_l_0", nil, nil, 1300) + end + else + PlayAnimOnce(playerPed, "get_up@directional@transition@prone_to_seated@crawl", "back", 16.0, nil, 950) + + -- Only stand fully up if we are not crouching + if not isCrouched then + Wait(950) + PlayAnimOnce(playerPed, "get_up@directional@movement@from_seated@standard", "get_up_l_0", nil, nil, 1300) + end + end + end +end + +local function Crawl(playerPed, type, direction) + isCrawling = true + + TaskPlayAnim(playerPed, "move_crawl", type.."_"..direction, 8.0, -8.0, -1, 2, 0.0, false, false, false) + + local time = { + ["onfront"] = { + ["fwd"] = 820, + ["bwd"] = 990 + }, + ["onback"] = { + ["fwd"] = 1200, + ["bwd"] = 1200 + } + } + + SetTimeout(time[type][direction], function() + isCrawling = false + end) +end + +local function CrawlFlip(playerPed) + inAction = true + local heading = GetEntityHeading(playerPed) + + if proneType == "onfront" then + proneType = "onback" + + PlayAnimOnce(playerPed, "get_up@directional_sweep@combat@pistol@front", "front_to_prone", 2.0) + ChangeHeadingSmooth(playerPed, -18.0, 3600) + else + proneType = "onfront" + + PlayAnimOnce(playerPed, "move_crawlprone2crawlfront", "back", 2.0, nil, -1) + ChangeHeadingSmooth(playerPed, 12.0, 1700) + end + + PlayIdleCrawlAnim(playerPed, heading + 180.0) + Wait(400) + inAction = false +end + +local function CrawlThread() + CreateThread(function() + Wait(400) + + local forceEnd = false + + while IsProne do + local playerPed = PlayerPedId() + + -- Checks if the player is falling, in vehicle, dead etc. + if not CanPlayerCrouchCrawl(playerPed) or IsEntityInWater(playerPed) then + ClearPedTasks(playerPed) + IsProne = false + forceEnd = true + break + end + + -- Handles forwad/backward movement + local forward, backwards = IsControlPressed(0, 32), IsControlPressed(0, 33) -- INPUT_MOVE_UP_ONLY, INPUT_MOVE_DOWN_ONLY + if not isCrawling then + if forward then -- Forward + Crawl(playerPed, proneType, "fwd") + elseif backwards then -- Back + Crawl(playerPed, proneType, "bwd") + end + end + + -- Moving left/right + if IsControlPressed(0, 34) then -- INPUT_MOVE_LEFT_ONLY + if isCrawling then + local headingDiff = forward and 1.0 or -1.0 + SetEntityHeading(playerPed, GetEntityHeading(playerPed) + headingDiff) + else + inAction = true + if proneType == "onfront" then + local playerCoords = GetEntityCoords(playerPed) + TaskPlayAnimAdvanced(playerPed, "move_crawlprone2crawlfront", "left", playerCoords.x, playerCoords.y, playerCoords.z, 0.0, 0.0, GetEntityHeading(playerPed), 2.0, 2.0, -1, 2, 0.1, false, false) + ChangeHeadingSmooth(playerPed, -10.0, 300) + Wait(700) + else + PlayAnimOnce(playerPed, "get_up@directional_sweep@combat@pistol@left", "left_to_prone") + ChangeHeadingSmooth(playerPed, 25.0, 400) + PlayIdleCrawlAnim(playerPed) + Wait(600) + end + inAction = false + end + elseif IsControlPressed(0, 35) then -- INPUT_MOVE_RIGHT_ONLY + if isCrawling then + local headingDiff = backwards and 1.0 or -1.0 + SetEntityHeading(playerPed, GetEntityHeading(playerPed) + headingDiff) + else + inAction = true + if proneType == "onfront" then + local playerCoords = GetEntityCoords(playerPed) + TaskPlayAnimAdvanced(playerPed, "move_crawlprone2crawlfront", "right", playerCoords.x, playerCoords.y, playerCoords.z, 0.0, 0.0, GetEntityHeading(playerPed), 2.0, 2.0, -1, 2, 0.1, false, false) + ChangeHeadingSmooth(playerPed, 10.0, 300) + Wait(700) + else + PlayAnimOnce(playerPed, "get_up@directional_sweep@combat@pistol@right", "right_to_prone") + ChangeHeadingSmooth(playerPed, -25.0, 400) + PlayIdleCrawlAnim(playerPed) + Wait(600) + end + inAction = false + end + end + + -- Flipping around + if not isCrawling then + if IsControlPressed(0, 22) then -- INPUT_JUMP + CrawlFlip(playerPed) + end + end + + Wait(0) + end + + -- If the crawling wasn't forcefully ended, then play the get up animations + PlayExitCrawlAnims(forceEnd) + + -- Reset variabels + isCrawling = false + inAction = false + proneType = "onfront" + SetPedConfigFlag(PlayerPedId(), 48, false) -- CPED_CONFIG_FLAG_BlockWeaponSwitching + + -- Unload animation dictionaries + RemoveAnimDict("move_crawl") + RemoveAnimDict("move_crawlprone2crawlfront") + end) +end + +local function CrawlKeyPressed() + -- If we already are doing something, then don't continue + if inAction then + return + end + + -- Don't start/stop to crawl if we are in the pause menu + if IsPauseMenuActive() then + return + end + + -- If already prone, then stop + if IsProne then + IsProne = false + return + end + + -- If we are playing an animation, then cancel it first + if IsInAnimation then + EmoteCancel() + end + + -- If we are crouching we should stop that first + local wasCrouched = false + if isCrouched then + isCrouched = false + wasCrouched = true + end + + local playerPed = PlayerPedId() + if not CanPlayerCrouchCrawl(playerPed) or IsEntityInWater(playerPed) then + return + end + inAction = true + + -- If we are pointing then stop pointing + if Pointing then + Pointing = false + end + + IsProne = true + SetPedConfigFlag(playerPed, 48, true) -- CPED_CONFIG_FLAG_BlockWeaponSwitching + + -- Force leave stealth mode + if GetPedStealthMovement(playerPed) == 1 then + SetPedStealthMovement(playerPed, false, "DEFAULT_ACTION") + Wait(100) + end + + -- Load animations that the crawling is going to use + LoadAnimDict("move_crawl") + LoadAnimDict("move_crawlprone2crawlfront") + + if ShouldPlayerDiveToCrawl(playerPed) then + PlayAnimOnce(playerPed, "explosions", "react_blown_forwards", nil, 3.0) + Wait(1100) + elseif wasCrouched then + PlayAnimOnce(playerPed, "amb@world_human_sunbathe@male@front@enter", "enter", nil, nil, -1, 0.3) + Wait(1500) + else + PlayAnimOnce(playerPed, "amb@world_human_sunbathe@male@front@enter", "enter") + Wait(3000) + end + + -- Set the player into the idle position (but only if we can still crawl) + if CanPlayerCrouchCrawl(playerPed) and not IsEntityInWater(playerPed) then + PlayIdleCrawlAnim(playerPed, nil, 3.0) + end + inAction = false + + CrawlThread() +end + + +-- Commands & KeyMapping -- +if Config.CrouchEnabled then + if Config.CrouchKeybindEnabled then + RegisterKeyMapping('+crouch', "Crouch", "keyboard", Config.CrouchKeybind) + RegisterCommand('+crouch', function() CrouchKeyPressed() end, false) + RegisterCommand('-crouch', function() end, false) -- This needs to be here to prevent errors/warnings + end + RegisterCommand('crouch', function() + if isCrouched then + isCrouched = false + return + end + + AttemptCrouch(PlayerPedId()) + end, false) + TriggerEvent('chat:addSuggestion', '/crouch', 'Crouch') +end + +if Config.CrawlEnabled then + if Config.CrawlKeybindEnabled then + RegisterKeyMapping('crawl', "Crawl", "keyboard", Config.CrawlKeybind) + end + RegisterCommand('crawl', function() CrawlKeyPressed() end, false) +end + + +-- Exports -- +-- Returns weather or not the player is crouched +local function IsPlayerCrouched() + return isCrouched +end + +-- Returns if the player is prone (both when laying still and when moving) +local function IsPlayerProne() + return IsProne +end + +-- Returns if the player is crawling (only when moving forward/backwards) +local function IsPlayerCrawling() + return isCrawling +end + +exports('IsPlayerCrouched', IsPlayerCrouched) +exports('IsPlayerProne', IsPlayerProne) +exports('IsPlayerCrawling', IsPlayerCrawling) diff --git a/resources/[standalone]/dpemotes/client/Emote.lua b/resources/[standalone]/dpemotes/client/Emote.lua new file mode 100644 index 0000000..02bf9e1 --- /dev/null +++ b/resources/[standalone]/dpemotes/client/Emote.lua @@ -0,0 +1,666 @@ +-- You probably shouldnt touch these. +local AnimationDuration = -1 +local ChosenAnimation = "" +local ChosenDict = "" +local ChosenAnimOptions = false +local MovementType = 0 +local PlayerGender = "male" +local PlayerHasProp = false +local PlayerProps = {} +local PlayerParticles = {} +local SecondPropEmote = false +local lang = Config.MenuLanguage +local PtfxNotif = false +local PtfxPrompt = false +local PtfxWait = 500 +local PtfxCanHold = false +local PtfxNoProp = false +local AnimationThreadStatus = false +local CanCancel = true +local InExitEmote = false +IsInAnimation = false + +-- Remove emotes if needed + +local emoteTypes = { + "Shared", + "Dances", + "AnimalEmotes", + "Emotes", + "PropEmotes", +} + +for i = 1, #emoteTypes do + local emoteType = emoteTypes[i] + for emoteName, emoteData in pairs(RP[emoteType]) do + local shouldRemove = false + if Config.AdultEmotesDisabled and emoteData.AdultAnimation then shouldRemove = true end + if not Config.AnimalEmotesEnabled and emoteData.AnimalEmote then shouldRemove = true RP.AnimalEmotes = {} end + if emoteData[1] and not ((emoteData[1] == 'Scenario') or (emoteData[1] == 'ScenarioObject') or (emoteData[1] == 'MaleScenario')) and not DoesAnimDictExist(emoteData[1]) then shouldRemove = true end + if shouldRemove then RP[emoteType][emoteName] = nil end + end +end + +local function IsPlayerAiming(player) + return IsPlayerFreeAiming(player) or IsAimCamActive() or IsAimCamThirdPersonActive() +end + +local function RunAnimationThread() + local playerId = PlayerId() + if AnimationThreadStatus then return end + AnimationThreadStatus = true + CreateThread(function() + local sleep + while AnimationThreadStatus and (IsInAnimation or PtfxPrompt) do + sleep = 500 + + if IsInAnimation then + sleep = 0 + if IsPlayerAiming(playerId) then + EmoteCancel() + end + end + + if PtfxPrompt then + sleep = 0 + if not PtfxNotif then + SimpleNotify(PtfxInfo) + PtfxNotif = true + end + if IsControlPressed(0, 47) then + PtfxStart() + Wait(PtfxWait) + if PtfxCanHold then + while IsControlPressed(0, 47) and IsInAnimation and AnimationThreadStatus do + Wait(5) + end + end + PtfxStop() + end + end + + Wait(sleep) + end + end) +end + +if Config.EnableXtoCancel then + RegisterKeyMapping("emotecancel", "Cancel current emote", "keyboard", Config.CancelEmoteKey) +end + +if Config.HandsupKeybindEnabled then + RegisterKeyMapping("handsup", "Put your arms up", "keyboard", Config.HandsupKeybind) +end + +----------------------------------------------------------------------------------------------------- +-- Commands / Events -------------------------------------------------------------------------------- +----------------------------------------------------------------------------------------------------- + +Citizen.CreateThread(function() + TriggerEvent('chat:addSuggestion', '/e', 'Play an emote', + { { name = "emotename", help = "dance, camera, sit or any valid emote." }, + { name = "texturevariation", help = "(Optional) 1, 2, 3 or any number. Will change the texture of some props used in emotes, for example the color of a phone. Enter -1 to see a list of variations." } }) + TriggerEvent('chat:addSuggestion', '/em', 'Open dpemotes menu . This may differ from server to server.') +end) + +RegisterCommand('e', function(source, args, raw) EmoteCommandStart(source, args, raw) end, false) +RegisterCommand('emote', function(source, args, raw) EmoteCommandStart(source, args, raw) end, false) +if Config.SqlKeybinding then + RegisterCommand('emotebind', function(source, args, raw) EmoteBindStart(source, args, raw) end, false) + RegisterCommand('emotebinds', function(source, args, raw) EmoteBindsStart(source, args, raw) end, false) +end +if Config.MenuKeybindEnabled then + RegisterCommand('emoteui', function() OpenEmoteMenu() end, false) + RegisterKeyMapping("emoteui", "Open dpemotes menu", "keyboard", Config.MenuKeybind) +else + RegisterCommand('emotemenu', function() OpenEmoteMenu() end, false) +end +RegisterCommand('emotes', function() EmotesOnCommand() end, false) +RegisterCommand('walk', function(source, args, raw) WalkCommandStart(source, args, raw) end, false) +RegisterCommand('walks', function() WalksOnCommand() end, false) +RegisterCommand('emotecancel', function() EmoteCancel() end, false) + +RegisterCommand('handsup', function() + if Config.HandsupKeybindEnabled then + if IsEntityPlayingAnim(PlayerPedId(), "missminuteman_1ig_2", "handsup_base", 51) then + EmoteCancel() + else + EmoteCommandStart(nil, {"handsup"}, nil) + end + end +end, false) + +AddEventHandler('onResourceStop', function(resource) + if resource == GetCurrentResourceName() then + local ply = PlayerPedId() + DestroyAllProps() + ClearPedTasksImmediately(ply) + DetachEntity(ply, true, false) + ResetPedMovementClipset(ply, 0.8) + AnimationThreadStatus = false + end +end) + +----------------------------------------------------------------------------------------------------- +------ Functions and stuff -------------------------------------------------------------------------- +----------------------------------------------------------------------------------------------------- + +function EmoteCancel(force) + -- Don't cancel if we are in an exit emote + if InExitEmote then + return + end + + local ply = PlayerPedId() + if not CanCancel and force ~= true then return end + if ChosenDict == "MaleScenario" and IsInAnimation then + ClearPedTasksImmediately(ply) + IsInAnimation = false + DebugPrint("Forced scenario exit") + elseif ChosenDict == "Scenario" and IsInAnimation then + ClearPedTasksImmediately(ply) + IsInAnimation = false + DebugPrint("Forced scenario exit") + end + + PtfxNotif = false + PtfxPrompt = false + Pointing = false + + if IsInAnimation then + if LocalPlayer.state.ptfx then + PtfxStop() + end + DetachEntity(ply, true, false) + CancelSharedEmote(ply) + + if ChosenAnimOptions and ChosenAnimOptions.ExitEmote then + -- If the emote exit type is not spesifed it defaults to Emotes + local options = ChosenAnimOptions + local ExitEmoteType = options.ExitEmoteType or "Emotes" + + -- Checks that the exit emote actually exists + if not RP[ExitEmoteType] or not RP[ExitEmoteType][options.ExitEmote] then + DebugPrint("Exit emote was invalid") + ClearPedTasks(ply) + IsInAnimation = false + return + end + + OnEmotePlay(RP[ExitEmoteType][options.ExitEmote]) + DebugPrint("Playing exit animation") + + -- Check that the exit emote has a duration, and if so, set InExitEmote variable + local animationOptions = RP[ExitEmoteType][options.ExitEmote].AnimationOptions + if animationOptions and animationOptions.EmoteDuration then + InExitEmote = true + SetTimeout(animationOptions.EmoteDuration, function() + InExitEmote = false + DestroyAllProps() + ClearPedTasks(ply) + end) + return + end + else + ClearPedTasks(ply) + IsInAnimation = false + end + DestroyAllProps() + end + AnimationThreadStatus = false +end + +function EmoteChatMessage(msg, multiline) + if msg then + TriggerEvent("chat:addMessage", { multiline = multiline == true or false, color = { 255, 255, 255 }, args = { "^5Help^0", tostring(msg) } }) + end +end + +function DebugPrint(args) + if Config.DebugDisplay then + print(args) + end +end + +--#region ptfx +function PtfxThis(asset) + while not HasNamedPtfxAssetLoaded(asset) do + RequestNamedPtfxAsset(asset) + Wait(10) + end + UseParticleFxAsset(asset) +end + +function PtfxStart() + LocalPlayer.state:set('ptfx', true, true) +end + +function PtfxStop() + LocalPlayer.state:set('ptfx', false, true) +end + +AddStateBagChangeHandler('ptfx', nil, function(bagName, key, value, _unused, replicated) + local plyId = tonumber(bagName:gsub('player:', ''), 10) + + -- We stop here if we don't need to go further + -- We don't need to start or stop the ptfx twice + if (PlayerParticles[plyId] and value) or (not PlayerParticles[plyId] and not value) then return end + + -- Only allow ptfx change on players + local ply = GetPlayerFromServerId(plyId) + if ply == 0 then return end + + local plyPed = GetPlayerPed(ply) + if not DoesEntityExist(plyPed) then return end + + local stateBag = Player(plyId).state + if value then + -- Start ptfx + + local asset = stateBag.ptfxAsset + local name = stateBag.ptfxName + local offset = stateBag.ptfxOffset + local rot = stateBag.ptfxRot + local boneIndex = stateBag.ptfxBone and GetPedBoneIndex(plyPed, stateBag.ptfxBone) or GetEntityBoneIndexByName(name, "VFX") + local scale = stateBag.ptfxScale or 1 + local color = stateBag.ptfxColor + local propNet = stateBag.ptfxPropNet + local entityTarget = plyPed + -- Only do for valid obj + if propNet then + local propObj = NetToObj(propNet) + if DoesEntityExist(propObj) then + entityTarget = propObj + end + end + PtfxThis(asset) + PlayerParticles[plyId] = StartNetworkedParticleFxLoopedOnEntityBone(name, entityTarget, offset.x, offset.y, offset.z, rot.x, rot.y, rot.z, boneIndex, scale + 0.0, 0, 0, 0, 1065353216, 1065353216, 1065353216, 0) + if color then + if color[1] and type(color[1]) == 'table' then + local randomIndex = math.random(1, #color) + color = color[randomIndex] + end + SetParticleFxLoopedAlpha(PlayerParticles[plyId], color.A) + SetParticleFxLoopedColour(PlayerParticles[plyId], color.R / 255, color.G / 255, color.B / 255, false) + end + DebugPrint("Started PTFX: " .. PlayerParticles[plyId]) + else + -- Stop ptfx + DebugPrint("Stopped PTFX: " .. PlayerParticles[plyId]) + StopParticleFxLooped(PlayerParticles[plyId], false) + RemoveNamedPtfxAsset(stateBag.ptfxAsset) + PlayerParticles[plyId] = nil + end +end) +--#endregion ptfx + +function EmotesOnCommand(source, args, raw) + local EmotesCommand = "" + for a in pairsByKeys(RP.Emotes) do + EmotesCommand = EmotesCommand .. "" .. a .. ", " + end + EmoteChatMessage(EmotesCommand) + EmoteChatMessage(Config.Languages[lang]['emotemenucmd']) +end + +function pairsByKeys(t, f) + local a = {} + for n in pairs(t) do + table.insert(a, n) + end + table.sort(a, f) + local i = 0 -- iterator variable + local iter = function() -- iterator function + i = i + 1 + if a[i] == nil then + return nil + else + return a[i], t[a[i]] + end + end + return iter +end + +function EmoteMenuStart(args, hard, textureVariation) + local name = args + local etype = hard + + if etype == "dances" then + if RP.Dances[name] ~= nil then + OnEmotePlay(RP.Dances[name]) + end + elseif etype == "animals" then + if RP.AnimalEmotes[name] ~= nil then + OnEmotePlay(RP.AnimalEmotes[name]) + end + elseif etype == "props" then + if RP.PropEmotes[name] ~= nil then + OnEmotePlay(RP.PropEmotes[name], textureVariation) + end + elseif etype == "emotes" then + if RP.Emotes[name] ~= nil then + OnEmotePlay(RP.Emotes[name]) + end + elseif etype == "expression" then + if RP.Expressions[name] ~= nil then + SetPlayerPedExpression(RP.Expressions[name][1], true) + end + end +end + +function EmoteCommandStart(source, args, raw) + if #args > 0 then + local name = string.lower(args[1]) + if name == "c" then + if IsInAnimation then + EmoteCancel() + else + EmoteChatMessage(Config.Languages[lang]['nocancel']) + end + return + elseif name == "help" then + EmotesOnCommand() + return + end + + if RP.Emotes[name] ~= nil then + OnEmotePlay(RP.Emotes[name]) + return + elseif RP.Dances[name] ~= nil then + OnEmotePlay(RP.Dances[name]) + return + elseif RP.AnimalEmotes[name] ~= nil then + OnEmotePlay(RP.AnimalEmotes[name]) + return + elseif RP.Exits[name] ~= nil then + OnEmotePlay(RP.Exits[name]) + return + elseif RP.PropEmotes[name] ~= nil then + if RP.PropEmotes[name].AnimationOptions.PropTextureVariations then + if #args > 1 then + local textureVariation = tonumber(args[2]) + if (RP.PropEmotes[name].AnimationOptions.PropTextureVariations[textureVariation] ~= nil) then + OnEmotePlay(RP.PropEmotes[name], textureVariation - 1) + return + else + local str = "" + for k, v in ipairs(RP.PropEmotes[name].AnimationOptions.PropTextureVariations) do + str = str .. string.format("\n(%s) - %s", k, v.Name) + end + + EmoteChatMessage(string.format(Config.Languages[lang]['invalidvariation'], str), true) + OnEmotePlay(RP.PropEmotes[name], 0) + return + end + end + end + OnEmotePlay(RP.PropEmotes[name]) + return + else + EmoteChatMessage("'" .. name .. "' " .. Config.Languages[lang]['notvalidemote'] .. "") + end + end +end + +function LoadAnim(dict) + if not DoesAnimDictExist(dict) then + return false + end + + while not HasAnimDictLoaded(dict) do + RequestAnimDict(dict) + Wait(10) + end + + return true +end + +function LoadPropDict(model) + while not HasModelLoaded(joaat(model)) do + RequestModel(joaat(model)) + Wait(10) + end +end + +function DestroyAllProps() + for _, v in pairs(PlayerProps) do + DeleteEntity(v) + end + PlayerHasProp = false + DebugPrint("Destroyed Props") +end + +function AddPropToPlayer(prop1, bone, off1, off2, off3, rot1, rot2, rot3, textureVariation) + local Player = PlayerPedId() + local x, y, z = table.unpack(GetEntityCoords(Player)) + + if not IsModelValid(prop1) then + DebugPrint(tostring(prop1).." is not a valid model!") + return false + end + + if not HasModelLoaded(prop1) then + LoadPropDict(prop1) + end + + prop = CreateObject(joaat(prop1), x, y, z + 0.2, true, true, true) + if textureVariation ~= nil then + SetObjectTextureVariation(prop, textureVariation) + end + AttachEntityToEntity(prop, Player, GetPedBoneIndex(Player, bone), off1, off2, off3, rot1, rot2, rot3, true, true, + false, true, 1, true) + table.insert(PlayerProps, prop) + PlayerHasProp = true + SetModelAsNoLongerNeeded(prop1) + return true +end + +----------------------------------------------------------------------------------------------------- +-- V -- This could be a whole lot better, i tried messing around with "IsPedMale(ped)" +-- V -- But i never really figured it out, if anyone has a better way of gender checking let me know. +-- V -- Since this way doesnt work for ped models. +-- V -- in most cases its better to replace the scenario with an animation bundled with prop instead. +----------------------------------------------------------------------------------------------------- + +function CheckGender() + local playerPed = PlayerPedId() + + if GetEntityModel(playerPed) == joaat("mp_f_freemode_01") then + PlayerGender = "female" + else + PlayerGender = "male" + end + + DebugPrint("Set gender as = (" .. PlayerGender .. ")") +end + +----------------------------------------------------------------------------------------------------- +------ This is the major function for playing emotes! ----------------------------------------------- +----------------------------------------------------------------------------------------------------- + +function OnEmotePlay(EmoteName, textureVariation) + InVehicle = IsPedInAnyVehicle(PlayerPedId(), true) + Pointing = false + + if not Config.AllowedInCars and InVehicle == 1 then + return + end + + if not DoesEntityExist(PlayerPedId()) then + return false + end + + -- Don't play a new animation if we are in an exit emote + if InExitEmote then + return false + end + + local animOption = EmoteName.AnimationOptions + if animOption and animOption.NotInVehicle and InVehicle then + return EmoteChatMessage("You can't play this animation while in vehicle.") + end + + if ChosenAnimOptions and ChosenAnimOptions.ExitEmote then + if RP.Exits[ChosenAnimOptions.ExitEmote][2] ~= EmoteName[2] then + return + end + end + + if IsProne then + EmoteChatMessage("You can't play animations while crawling.") + return false + end + + ChosenDict, ChosenAnimation, ename = table.unpack(EmoteName) + ChosenAnimOptions = animOption + AnimationDuration = -1 + + if Config.DisarmPlayer then + if IsPedArmed(PlayerPedId(), 7) then + SetCurrentPedWeapon(PlayerPedId(), joaat('WEAPON_UNARMED'), true) + end + end + + if animOption and animOption.Prop and PlayerHasProp then + DestroyAllProps() + end + + if ChosenDict == "MaleScenario" or "Scenario" then + CheckGender() + if ChosenDict == "MaleScenario" then if InVehicle then return end + if PlayerGender == "male" then + ClearPedTasks(PlayerPedId()) + TaskStartScenarioInPlace(PlayerPedId(), ChosenAnimation, 0, true) + DebugPrint("Playing scenario = (" .. ChosenAnimation .. ")") + IsInAnimation = true + RunAnimationThread() + else + EmoteChatMessage(Config.Languages[lang]['maleonly']) + end + return + elseif ChosenDict == "ScenarioObject" then if InVehicle then return end + BehindPlayer = GetOffsetFromEntityInWorldCoords(PlayerPedId(), 0.0, 0 - 0.5, -0.5); + ClearPedTasks(PlayerPedId()) + TaskStartScenarioAtPosition(PlayerPedId(), ChosenAnimation, BehindPlayer['x'], BehindPlayer['y'], BehindPlayer['z'], GetEntityHeading(PlayerPedId()), 0, true, false) + DebugPrint("Playing scenario = (" .. ChosenAnimation .. ")") + IsInAnimation = true + RunAnimationThread() + return + elseif ChosenDict == "Scenario" then if InVehicle then return end + ClearPedTasks(PlayerPedId()) + TaskStartScenarioInPlace(PlayerPedId(), ChosenAnimation, 0, true) + DebugPrint("Playing scenario = (" .. ChosenAnimation .. ")") + IsInAnimation = true + RunAnimationThread() + return + end + end + + -- Small delay at the start + if animOption and animOption.StartDelay then + Wait(animOption.StartDelay) + end + + if not LoadAnim(ChosenDict) then + EmoteChatMessage("'" .. ename .. "' " .. Config.Languages[lang]['notvalidemote'] .. "") + return + end + + MovementType = 0 -- Default movement type + + if InVehicle == 1 then + MovementType = 51 + elseif animOption then + if animOption.EmoteMoving then + MovementType = 51 + elseif animOption.EmoteLoop then + MovementType = 1 + elseif animOption.EmoteStuck then + MovementType = 50 + end + end + + if animOption then + if animOption.EmoteDuration == nil then + animOption.EmoteDuration = -1 + AttachWait = 0 + else + AnimationDuration = animOption.EmoteDuration + AttachWait = animOption.EmoteDuration + end + + if animOption.PtfxAsset then + PtfxAsset = animOption.PtfxAsset + PtfxName = animOption.PtfxName + if animOption.PtfxNoProp then + PtfxNoProp = animOption.PtfxNoProp + else + PtfxNoProp = false + end + Ptfx1, Ptfx2, Ptfx3, Ptfx4, Ptfx5, Ptfx6, PtfxScale = table.unpack(animOption.PtfxPlacement) + PtfxBone = animOption.PtfxBone + PtfxColor = animOption.PtfxColor + PtfxInfo = animOption.PtfxInfo + PtfxWait = animOption.PtfxWait + PtfxCanHold = animOption.PtfxCanHold + PtfxNotif = false + PtfxPrompt = true + -- RunAnimationThread() -- ? This call should not be required, see if needed with tests + + TriggerServerEvent("dpemotes:ptfx:sync", PtfxAsset, PtfxName, vector3(Ptfx1, Ptfx2, Ptfx3), vector3(Ptfx4, Ptfx5, Ptfx6), PtfxBone, PtfxScale, PtfxColor) + else + DebugPrint("Ptfx = none") + PtfxPrompt = false + end + end + + TaskPlayAnim(PlayerPedId(), ChosenDict, ChosenAnimation, 5.0, 5.0, AnimationDuration, MovementType, 0, false, false, false) + RemoveAnimDict(ChosenDict) + IsInAnimation = true + RunAnimationThread() + MostRecentDict = ChosenDict + MostRecentAnimation = ChosenAnimation + + if animOption and animOption.Prop then + PropName = animOption.Prop + PropBone = animOption.PropBone + PropPl1, PropPl2, PropPl3, PropPl4, PropPl5, PropPl6 = table.unpack(animOption.PropPlacement) + if animOption.SecondProp then + SecondPropName = animOption.SecondProp + SecondPropBone = animOption.SecondPropBone + SecondPropPl1, SecondPropPl2, SecondPropPl3, SecondPropPl4, SecondPropPl5, SecondPropPl6 = table.unpack(animOption.SecondPropPlacement) + SecondPropEmote = true + else + SecondPropEmote = false + end + Wait(AttachWait) + if not AddPropToPlayer(PropName, PropBone, PropPl1, PropPl2, PropPl3, PropPl4, PropPl5, PropPl6, textureVariation) then return end + if SecondPropEmote then + if not AddPropToPlayer(SecondPropName, SecondPropBone, SecondPropPl1, SecondPropPl2, SecondPropPl3, SecondPropPl4, SecondPropPl5, SecondPropPl6, textureVariation) then + DestroyAllProps() + return + end + end + + -- Ptfx is on the prop, then we need to sync it + if animOption.PtfxAsset and not PtfxNoProp then + TriggerServerEvent("dpemotes:ptfx:syncProp", ObjToNet(prop)) + end + end +end + + +----------------------------------------------------------------------------------------------------- +------ Some exports to make the script more standalone! (by Clem76) --------------------------------- +----------------------------------------------------------------------------------------------------- + +exports("EmoteCommandStart", function(emoteName, textureVariation) + EmoteCommandStart(nil, {emoteName, textureVariation}, nil) +end) +exports("EmoteCancel", EmoteCancel) +exports("CanCancelEmote", function(State) + CanCancel = State == true +end) +exports('IsPlayerInAnim', function() + return IsInAnimation +end) diff --git a/resources/[standalone]/dpemotes/client/EmoteMenu.lua b/resources/[standalone]/dpemotes/client/EmoteMenu.lua new file mode 100644 index 0000000..59f21ae --- /dev/null +++ b/resources/[standalone]/dpemotes/client/EmoteMenu.lua @@ -0,0 +1,594 @@ +rightPosition = { x = 1450, y = 100 } +leftPosition = { x = 0, y = 100 } +menuPosition = { x = 0, y = 200 } + +if Config.MenuPosition then + if Config.MenuPosition == "left" then + menuPosition = leftPosition + elseif Config.MenuPosition == "right" then + menuPosition = rightPosition + end +end + +if Config.CustomMenuEnabled then + local RuntimeTXD = CreateRuntimeTxd('Custom_Menu_Head') + local Object = CreateDui(Config.MenuImage, 512, 128) + _G.Object = Object + local TextureThing = GetDuiHandle(Object) + local Texture = CreateRuntimeTextureFromDuiHandle(RuntimeTXD, 'Custom_Menu_Head', TextureThing) + Menuthing = "Custom_Menu_Head" +else + Menuthing = "shopui_title_sm_hangar" +end + +_menuPool = NativeUI.CreatePool() +mainMenu = NativeUI.CreateMenu(Config.MenuTitle or "", "", menuPosition["x"], menuPosition["y"], Menuthing, Menuthing) +_menuPool:Add(mainMenu) + +function ShowNotification(text) + if Config.NotificationsAsChatMessage then + TriggerEvent("chat:addMessage", { color = { 255, 255, 255 }, args = { tostring(text) } }) + else + BeginTextCommandThefeedPost("STRING") + AddTextComponentSubstringPlayerName(text) + EndTextCommandThefeedPostTicker(false, false) + end +end + +local EmoteTable = {} +local FavEmoteTable = {} +local DanceTable = {} +local AnimalTable = {} +local PropETable = {} +local WalkTable = {} +local FaceTable = {} +local ShareTable = {} +local FavoriteEmote = "" + +if Config.FavKeybindEnabled then + RegisterCommand('emotefav', function() FavKeybind() end) + RegisterKeyMapping("emotefav", "Execute your favorite emote", "keyboard", Config.FavKeybind) + + local doingFavoriteEmote = false + + function FavKeybind() + if doingFavoriteEmote == false then + doingFavoriteEmote = true + if not IsPedSittingInAnyVehicle(PlayerPedId()) then + if FavoriteEmote ~= "" and (not CanUseFavKeyBind or CanUseFavKeyBind()) then + EmoteCommandStart(nil, { FavoriteEmote, 0 }) + Wait(500) + end + end + else + EmoteCancel() + doingFavoriteEmote = false + end + end +end + +lang = Config.MenuLanguage + +function AddEmoteMenu(menu) + local submenu = _menuPool:AddSubMenu(menu, Config.Languages[lang]['emotes'], "", "", Menuthing, Menuthing) + if Config.Search then + submenu:AddItem(NativeUI.CreateItem(Config.Languages[lang]['searchemotes'], "")) + table.insert(EmoteTable, Config.Languages[lang]['searchemotes']) + end + local dancemenu = _menuPool:AddSubMenu(submenu, Config.Languages[lang]['danceemotes'], "", "", Menuthing, Menuthing) + local animalmenu + if Config.AnimalEmotesEnabled then + animalmenu = _menuPool:AddSubMenu(submenu, Config.Languages[lang]['animalemotes'], "", "", Menuthing, Menuthing) + table.insert(EmoteTable, Config.Languages[lang]['animalemotes']) + end + local propmenu = _menuPool:AddSubMenu(submenu, Config.Languages[lang]['propemotes'], "", "", Menuthing, Menuthing) + table.insert(EmoteTable, Config.Languages[lang]['danceemotes']) + table.insert(EmoteTable, Config.Languages[lang]['danceemotes']) + + if Config.SharedEmotesEnabled then + sharemenu = _menuPool:AddSubMenu(submenu, Config.Languages[lang]['shareemotes'], + Config.Languages[lang]['shareemotesinfo'], "", Menuthing, Menuthing) + shareddancemenu = _menuPool:AddSubMenu(sharemenu, Config.Languages[lang]['sharedanceemotes'], "", "", Menuthing, + Menuthing) + table.insert(ShareTable, 'none') + table.insert(EmoteTable, Config.Languages[lang]['shareemotes']) + end + + -- Temp var to be able to sort every emotes in the fav list + local favEmotes = {} + if not Config.SqlKeybinding then + unbind2item = NativeUI.CreateItem(Config.Languages[lang]['rfavorite'], Config.Languages[lang]['rfavorite']) + unbinditem = NativeUI.CreateItem(Config.Languages[lang]['prop2info'], "") + favmenu = _menuPool:AddSubMenu(submenu, Config.Languages[lang]['favoriteemotes'], + Config.Languages[lang]['favoriteinfo'], "", Menuthing, Menuthing) + favmenu:AddItem(unbinditem) + favmenu:AddItem(unbind2item) + -- Add two elements as offset + table.insert(FavEmoteTable, Config.Languages[lang]['rfavorite']) + table.insert(FavEmoteTable, Config.Languages[lang]['rfavorite']) + table.insert(EmoteTable, Config.Languages[lang]['favoriteemotes']) + else + table.insert(EmoteTable, "keybinds") + keyinfo = NativeUI.CreateItem(Config.Languages[lang]['keybinds'], + Config.Languages[lang]['keybindsinfo'] .. " /emotebind [~y~num4-9~w~] [~g~emotename~w~]") + submenu:AddItem(keyinfo) + end + + for a, b in pairsByKeys(RP.Emotes) do + x, y, z = table.unpack(b) + emoteitem = NativeUI.CreateItem(z, "/e (" .. a .. ")") + submenu:AddItem(emoteitem) + table.insert(EmoteTable, a) + if not Config.SqlKeybinding then + favEmotes[a] = z + end + end + + for a, b in pairsByKeys(RP.Dances) do + x, y, z = table.unpack(b) + danceitem = NativeUI.CreateItem(z, "/e (" .. a .. ")") + dancemenu:AddItem(danceitem) + if Config.SharedEmotesEnabled then + sharedanceitem = NativeUI.CreateItem(z, "/nearby (" .. a .. ")") + shareddancemenu:AddItem(sharedanceitem) + end + table.insert(DanceTable, a) + if not Config.SqlKeybinding then + favEmotes[a] = z + end + end + + if Config.AnimalEmotesEnabled then + for a, b in pairsByKeys(RP.AnimalEmotes) do + x, y, z = table.unpack(b) + animalitem = NativeUI.CreateItem(z, "/e (" .. a .. ")") + animalmenu:AddItem(animalitem) + table.insert(AnimalTable, a) + if not Config.SqlKeybinding then + favEmotes[a] = z + end + end + end + + if Config.SharedEmotesEnabled then + for a, b in pairsByKeys(RP.Shared) do + x, y, z, otheremotename = table.unpack(b) + if otheremotename == nil then + shareitem = NativeUI.CreateItem(z, "/nearby (~g~" .. a .. "~w~)") + else + shareitem = NativeUI.CreateItem(z, + "/nearby (~g~" .. + a .. "~w~) " .. Config.Languages[lang]['makenearby'] .. " (~y~" .. otheremotename .. "~w~)") + end + sharemenu:AddItem(shareitem) + table.insert(ShareTable, a) + end + end + + for a, b in pairsByKeys(RP.PropEmotes) do + x, y, z = table.unpack(b) + + if b.AnimationOptions.PropTextureVariations then + propitem = NativeUI.CreateListItem(z, b.AnimationOptions.PropTextureVariations, 1, "/e (" .. a .. ")") + propmenu:AddItem(propitem) + else + propitem = NativeUI.CreateItem(z, "/e (" .. a .. ")") + propmenu:AddItem(propitem) + end + + table.insert(PropETable, a) + if not Config.SqlKeybinding then + favEmotes[a] = z + end + end + + if not Config.SqlKeybinding then + -- Add the emotes to the fav menu + for emoteName, emoteLabel in pairsByKeys(favEmotes) do + favemoteitem = NativeUI.CreateItem(emoteLabel, + Config.Languages[lang]['set'] .. emoteLabel .. Config.Languages[lang]['setboundemote']) + favmenu:AddItem(favemoteitem) + table.insert(FavEmoteTable, emoteName) + end + + favmenu.OnItemSelect = function(sender, item, index) + if FavEmoteTable[index] == Config.Languages[lang]['rfavorite'] then + FavoriteEmote = "" + ShowNotification(Config.Languages[lang]['rfavorite'], 2000) + return + end + if Config.FavKeybindEnabled then + FavoriteEmote = FavEmoteTable[index] + ShowNotification("~o~" .. firstToUpper(FavoriteEmote) .. Config.Languages[lang]['newsetemote']) + end + end + end + favEmotes = nil + + dancemenu.OnItemSelect = function(sender, item, index) + EmoteMenuStart(DanceTable[index], "dances") + end + + if Config.AnimalEmotesEnabled then + animalmenu.OnItemSelect = function(sender, item, index) + EmoteMenuStart(AnimalTable[index], "animals") + end + end + + if Config.SharedEmotesEnabled then + sharemenu.OnItemSelect = function(sender, item, index) + if ShareTable[index] ~= 'none' then + target, distance = GetClosestPlayer() + if (distance ~= -1 and distance < 3) then + _, _, rename = table.unpack(RP.Shared[ShareTable[index]]) + TriggerServerEvent("ServerEmoteRequest", GetPlayerServerId(target), ShareTable[index]) + SimpleNotify(Config.Languages[lang]['sentrequestto'] .. GetPlayerName(target)) + else + SimpleNotify(Config.Languages[lang]['nobodyclose']) + end + end + end + + shareddancemenu.OnItemSelect = function(sender, item, index) + target, distance = GetClosestPlayer() + if (distance ~= -1 and distance < 3) then + _, _, rename = table.unpack(RP.Dances[DanceTable[index]]) + TriggerServerEvent("ServerEmoteRequest", GetPlayerServerId(target), DanceTable[index], 'Dances') + SimpleNotify(Config.Languages[lang]['sentrequestto'] .. GetPlayerName(target)) + else + SimpleNotify(Config.Languages[lang]['nobodyclose']) + end + end + end + + propmenu.OnItemSelect = function(sender, item, index) + EmoteMenuStart(PropETable[index], "props") + end + + propmenu.OnListSelect = function(menu, item, itemIndex, listIndex) + EmoteMenuStart(PropETable[itemIndex], "props", item:IndexToItem(listIndex).Value) + end + + submenu.OnItemSelect = function(sender, item, index) + if Config.Search and EmoteTable[index] == Config.Languages[lang]['searchemotes'] then + EmoteMenuSearch(submenu) + elseif EmoteTable[index] ~= Config.Languages[lang]['favoriteemotes'] then + EmoteMenuStart(EmoteTable[index], "emotes") + end + end +end + +if Config.Search then + local ignoredCategories = { + ["Walks"] = true, + ["Expressions"] = true, + ["Shared"] = not Config.SharedEmotesEnabled + } + + function EmoteMenuSearch(lastMenu) + local favEnabled = not Config.SqlKeybinding and Config.FavKeybindEnabled + AddTextEntry("PM_NAME_CHALL", Config.Languages[lang]['searchinputtitle']) + DisplayOnscreenKeyboard(1, "PM_NAME_CHALL", "", "", "", "", "", 30) + while UpdateOnscreenKeyboard() == 0 do + DisableAllControlActions(0) + Wait(100) + end + local input = GetOnscreenKeyboardResult() + if input ~= nil then + local results = {} + for k, v in pairs(RP) do + if not ignoredCategories[k] then + for a, b in pairs(v) do + if string.find(string.lower(a), string.lower(input)) or (b[3] ~= nil and string.find(string.lower(b[3]), string.lower(input))) then + table.insert(results, {table = k, name = a, data = b}) + end + end + end + end + + if #results > 0 then + local searchMenu = _menuPool:AddSubMenu(lastMenu, string.format(Config.Languages[lang]['searchmenudesc'], #results, input), "", true, Menuthing, Menuthing) + local sharedDanceMenu + if favEnabled then + local rFavorite = NativeUI.CreateItem(Config.Languages[lang]['rfavorite'], Config.Languages[lang]['rfavorite']) + searchMenu:AddItem(rFavorite) + end + + if Config.SharedEmotesEnabled then + sharedDanceMenu = _menuPool:AddSubMenu(searchMenu, Config.Languages[lang]['sharedanceemotes'], "", true, Menuthing, Menuthing) + end + + table.sort(results, function(a, b) return a.name < b.name end) + for k, v in pairs(results) do + local desc = "" + if v.table == "Shared" then + local otheremotename = v.data[4] + if otheremotename == nil then + desc = "/nearby (~g~" .. v.name .. "~w~)" + else + desc = "/nearby (~g~" .. v.name .. "~w~) " .. Config.Languages[lang]['makenearby'] .. " (~y~" .. otheremotename .. "~w~)" + end + else + desc = "/e (" .. v.name .. ")" .. (favEnabled and "\n" .. Config.Languages[lang]['searchshifttofav'] or "") + end + + if v.data.AnimationOptions and v.data.AnimationOptions.PropTextureVariations then + local item = NativeUI.CreateListItem(v.data[3], v.data.AnimationOptions.PropTextureVariations, 1, desc) + searchMenu:AddItem(item) + else + local item = NativeUI.CreateItem(v.data[3], desc) + searchMenu:AddItem(item) + end + + if v.table == "Dances" and Config.SharedEmotesEnabled then + local item2 = NativeUI.CreateItem(v.data[3], "") + sharedDanceMenu:AddItem(item2) + end + end + + if favEnabled then + table.insert(results, 1, Config.Languages[lang]['rfavorite']) + end + + searchMenu.OnItemSelect = function(sender, item, index) + local data = results[index] + + if data == Config.Languages[lang]['sharedanceemotes'] then return end + if data == Config.Languages[lang]['rfavorite'] then + FavoriteEmote = "" + ShowNotification(Config.Languages[lang]['rfavorite'], 2000) + return + end + + if favEnabled and IsControlPressed(0, 21) then + if data.table ~= "Shared" then + FavoriteEmote = data.name + ShowNotification("~o~" .. firstToUpper(data.name) .. Config.Languages[lang]['newsetemote']) + else + SimpleNotify(Config.Languages[lang]['searchcantsetfav']) + end + elseif data.table == "Emotes" or data.table == "Dances" then + EmoteMenuStart(data.name, string.lower(data.table)) + elseif data.table == "PropEmotes" then + EmoteMenuStart(data.name, "props") + elseif data.table == "AnimalEmotes" then + EmoteMenuStart(data.name, "animals") + elseif data.table == "Shared" then + target, distance = GetClosestPlayer() + if (distance ~= -1 and distance < 3) then + _, _, rename = table.unpack(RP.Shared[data.name]) + TriggerServerEvent("ServerEmoteRequest", GetPlayerServerId(target), data.name) + SimpleNotify(Config.Languages[lang]['sentrequestto'] .. GetPlayerName(target)) + else + SimpleNotify(Config.Languages[lang]['nobodyclose']) + end + end + end + + searchMenu.OnListSelect = function(menu, item, itemIndex, listIndex) + EmoteMenuStart(results[itemIndex].name, "props", item:IndexToItem(listIndex).Value) + end + + if Config.SharedEmotesEnabled then + if #sharedDanceMenu.Items > 0 then + table.insert(results, (favEnabled and 2 or 1), Config.Languages[lang]['sharedanceemotes']) + sharedDanceMenu.OnItemSelect = function(sender, item, index) + local data = results[index] + target, distance = GetClosestPlayer() + if (distance ~= -1 and distance < 3) then + _, _, rename = table.unpack(RP.Dances[data.name]) + TriggerServerEvent("ServerEmoteRequest", GetPlayerServerId(target), data.name, 'Dances') + SimpleNotify(Config.Languages[lang]['sentrequestto'] .. GetPlayerName(target)) + else + SimpleNotify(Config.Languages[lang]['nobodyclose']) + end + end + else + sharedDanceMenu:Clear() + searchMenu:RemoveItemAt((favEnabled and 2 or 1)) + end + end + + searchMenu.OnMenuClosed = function() + searchMenu:Clear() + lastMenu:RemoveItemAt(#lastMenu.Items) + _menuPool:RefreshIndex() + results = {} + end + + _menuPool:RefreshIndex() + _menuPool:CloseAllMenus() + searchMenu:Visible(true) + else + SimpleNotify(string.format(Config.Languages[lang]['searchnoresult'], input)) + end + end + end +end + +function AddCancelEmote(menu) + local newitem = NativeUI.CreateItem(Config.Languages[lang]['cancelemote'], Config.Languages[lang]['cancelemoteinfo']) + menu:AddItem(newitem) + menu.OnItemSelect = function(sender, item, checked_) + if item == newitem then + EmoteCancel() + DestroyAllProps() + end + end +end + +function AddWalkMenu(menu) + local submenu = _menuPool:AddSubMenu(menu, Config.Languages[lang]['walkingstyles'], "", "", Menuthing, Menuthing) + + walkreset = NativeUI.CreateItem(Config.Languages[lang]['normalreset'], Config.Languages[lang]['resetdef']) + submenu:AddItem(walkreset) + table.insert(WalkTable, Config.Languages[lang]['resetdef']) + + -- This one is added here to be at the top of the list. + WalkInjured = NativeUI.CreateItem("Injured", "/walk (injured)") + submenu:AddItem(WalkInjured) + table.insert(WalkTable, "move_m@injured") + + for a, b in pairsByKeys(RP.Walks) do + x, label = table.unpack(b) + walkitem = NativeUI.CreateItem(label or a, "/walk (" .. string.lower(a) .. ")") + submenu:AddItem(walkitem) + table.insert(WalkTable, x) + end + + submenu.OnItemSelect = function(sender, item, index) + if item ~= walkreset then + WalkMenuStart(WalkTable[index]) + else + ResetPedMovementClipset(PlayerPedId()) + DeleteResourceKvp("walkstyle") + end + end +end + +function AddFaceMenu(menu) + local submenu = _menuPool:AddSubMenu(menu, Config.Languages[lang]['moods'], "", "", Menuthing, Menuthing) + + local facereset = NativeUI.CreateItem(Config.Languages[lang]['normalreset'], Config.Languages[lang]['resetdef']) + submenu:AddItem(facereset) + table.insert(FaceTable, "") + + for name, data in pairsByKeys(RP.Expressions) do + local faceitem = NativeUI.CreateItem(data[2] or name, "") + submenu:AddItem(faceitem) + table.insert(FaceTable, name) + end + + submenu.OnItemSelect = function(sender, item, index) + if item ~= facereset then + EmoteMenuStart(FaceTable[index], "expression") + else + ClearFacialIdleAnimOverride(PlayerPedId()) + end + end +end + +function AddInfoMenu(menu) + -- TODO: Add a way to check if there is an update available. + -- This got broken with the Update refactor of the name change and + -- at the time I'm fixing this, I couldn't test anything in game so + -- I won't introduce any breaking changes - AvaN0x + + -- if not UpdateAvailable then + -- infomenu = _menuPool:AddSubMenu(menu, Menuthing, Menuthing) + -- end +-- infomenu:AddItem(NativeUI.CreateItem(Config.Languages[lang]['suggestions'], +-- Config.Languages[lang]['suggestionsinfo' +-- ])) +-- infomenu:AddItem(NativeUI.CreateItem("Join the Discord 💬", +-- "Join our official discord! 💬 https://discord.gg/sw3NwDq6C8")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks ~o~DullPear 🍐~s~", "~o~DullPear~s~ for the original dpemotes ❤️")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks Kibook 🐩", +-- "Kibook for the addition of Animal Emotes 🐩 submenu.")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks ~y~AvaN0x 🇮🇹~s~", +-- "~y~AvaN0x~s~ for reformatting and assisting with code and additional features 🙏")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks northsqrd ⚙️", +-- "northsqrd for assisting with search feature and phone colours 🔎")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks Scullyy 👨‍💻", +-- "Scullyy for assisting with code and rebranding")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks GeekGarage 🤓", +-- "GeekGarage for assisting with code and features")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks SMGMissy 🪖", +-- "SMGMissy for the custom pride flags 🏳️‍🌈.")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks Dollie 👧", +-- "DollieMods for the custom emotes 💜.")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks Tigerle 🐯", +-- "Tigerle for assisting with attached Shared Emotes ⚙️.")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks MissSnowie 🐰", +-- "MissSnowie for the custom emotes 🐇.")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks Smokey 💨", +-- "Smokey for the custom emotes 🤙🏼.")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks ~b~Ultrahacx 🧑‍💻~s~", +-- "~b~Ultrahacx~s~ for the custom emotes ☺️.")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks BzZzi 🤭", +-- "BzZzi for the custom food props 🍩.")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks Natty3d 🍭", +-- "Natty3d for the custom lollipop props 🍭.")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks Amnilka 🇵🇱", +-- "Amnilka for the custom emotes ☺️.")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks LittleSpoon 🥄", +-- "LittleSpoon for the custom emotes 💗.")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks Pupppy 🐶", +-- "Pupppy for the custom emotes 🦴.")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks SapphireMods", +-- "SapphireMods for the custom emotes ✨.")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks QueenSisters Animations 👭", +-- "QueenSistersAnimations for the custom emotes 🍧")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks BoringNeptune 👽", +-- "BoringNeptune for the custom emotes 🕺")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks Moses 🐮", +-- "-Moses- for the custom emotes 🧡")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks PataMods 🍓", +-- "PataMods for the custom props 🍕")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks Crowded1337 👜", +-- "Crowded1337 for the custom Gucci bag 👜")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks EnchantedBrownie 🍪", +-- "EnchantedBrownie 🍪 for the custom animations 🍪")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks Mads 🤖", +-- "Mads 🤖 for the addition of Exit Emotes, Crouch & Crawl ⚙️")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks Copofiscool 🇦🇺", +-- "Copofiscool for the Favorite Emote keybind toggle fix 🇦🇺")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks iSentrie ", +-- "iSentrie for assisting with code 🛠️")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks Chocoholic Animations 🍫", +-- "Chocoholic Animations for the custom emotes 🍫")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks CrunchyCat 🐱", +-- "CrunchyCat 🐱 for the custom emotes 🐱")) +-- infomenu:AddItem(NativeUI.CreateItem("Thanks KayKayMods", +-- "KayKayMods for the custom props 🧋")) + +-- infomenu:AddItem(NativeUI.CreateItem("Thanks to the community", "Translations, bug reports and moral support 🌐")) +end + +function OpenEmoteMenu() + if _menuPool:IsAnyMenuOpen() then + _menuPool:CloseAllMenus() + else + mainMenu:Visible(true) + ProcessMenu() + end +end + +function firstToUpper(str) + return (str:gsub("^%l", string.upper)) +end + +AddEmoteMenu(mainMenu) +AddCancelEmote(mainMenu) +if Config.WalkingStylesEnabled then + AddWalkMenu(mainMenu) +end +if Config.ExpressionsEnabled then + AddFaceMenu(mainMenu) +end +AddInfoMenu(mainMenu) + +_menuPool:RefreshIndex() + +local isMenuProcessing = false +function ProcessMenu() + if isMenuProcessing then return end + isMenuProcessing = true + while _menuPool:IsAnyMenuOpen() do + _menuPool:ProcessMenus() + Wait(0) + end + isMenuProcessing = false +end + +-- RegisterNetEvent("rp:Update") +-- AddEventHandler("rp:Update", function(state) +-- UpdateAvailable = state +-- AddInfoMenu(mainMenu) +-- _menuPool:RefreshIndex() +-- end) + +RegisterNetEvent("rp:RecieveMenu") -- For opening the emote menu from another resource. +AddEventHandler("rp:RecieveMenu", function() + OpenEmoteMenu() +end) diff --git a/resources/[standalone]/dpemotes/client/Expressions.lua b/resources/[standalone]/dpemotes/client/Expressions.lua new file mode 100644 index 0000000..1a6eb66 --- /dev/null +++ b/resources/[standalone]/dpemotes/client/Expressions.lua @@ -0,0 +1,44 @@ +function SetPlayerPedExpression(expression, saveToKvp) + SetFacialIdleAnimOverride(PlayerPedId(), expression, 0) + if Config.PersistentExpression and saveToKvp then SetResourceKvp("expression", expression) end +end + +local function DisplayExpressions() + local moodsString = "" + for name, _ in pairs(RP.Expressions) do + moodsString = moodsString..string.lower(name)..", " + end + + EmoteChatMessage(moodsString) + EmoteChatMessage("To reset do /mood reset") +end + +if Config.ExpressionsEnabled then + RegisterCommand('mood', function(_source, args, _raw) + local expression = firstToUpper(string.lower(args[1])) + if RP.Expressions[expression] ~= nil then + SetPlayerPedExpression(RP.Expressions[expression][1], true) + else + EmoteChatMessage("'"..expression.."' is not a valid mood, do /moods to see all moods.") + end + end, false) + + RegisterCommand('moods', function() + DisplayExpressions() + end, false) + + -- Chat Suggestions + TriggerEvent('chat:addSuggestion', '/mood', 'Set your current mood/expression.', { { name = "expression", help = "/moods for a list of valid moods" } }) + TriggerEvent('chat:addSuggestion', '/moods', 'List available walking moods/expressions.') + + -- Persistent Expressions + if Config.PersistentExpression then + AddEventHandler('playerSpawned', function() + local expression = GetResourceKvpString("expression") + if expression ~= nil then + Wait(2500) -- Delay, to ensure the player ped has loaded in + SetPlayerPedExpression(expression, false) + end + end) + end +end diff --git a/resources/[standalone]/dpemotes/client/Keybinds.lua b/resources/[standalone]/dpemotes/client/Keybinds.lua new file mode 100644 index 0000000..1958b6c --- /dev/null +++ b/resources/[standalone]/dpemotes/client/Keybinds.lua @@ -0,0 +1,127 @@ +if Config.SqlKeybinding then + local emob1 = "" + local emob2 = "" + local emob3 = "" + local emob4 = "" + local emob5 = "" + local emob6 = "" + local keyb1 = "" + local keyb2 = "" + local keyb3 = "" + local keyb4 = "" + local keyb5 = "" + local keyb6 = "" + local Initialized = false + + ----------------------------------------------------------------------------------------------------- + -- Commands / Events -------------------------------------------------------------------------------- + ----------------------------------------------------------------------------------------------------- + + Citizen.CreateThread(function() + while true do + if NetworkIsPlayerActive(PlayerId()) and not Initialized then + if not Initialized then + TriggerServerEvent("rp:ServerKeybindExist") + Wait(5000) + end + end + + if not IsPedSittingInAnyVehicle(PlayerPedId()) then + for k, v in pairs(Config.KeybindKeys) do + if IsControlJustReleased(0, v) then + if k == keyb1 then if emob1 ~= "" then EmoteCommandStart(nil, { emob1, 0 }) end end + if k == keyb2 then if emob2 ~= "" then EmoteCommandStart(nil, { emob2, 0 }) end end + if k == keyb3 then if emob3 ~= "" then EmoteCommandStart(nil, { emob3, 0 }) end end + if k == keyb4 then if emob4 ~= "" then EmoteCommandStart(nil, { emob4, 0 }) end end + if k == keyb5 then if emob5 ~= "" then EmoteCommandStart(nil, { emob5, 0 }) end end + if k == keyb6 then if emob6 ~= "" then EmoteCommandStart(nil, { emob6, 0 }) end end + Wait(1000) + end + end + end + Citizen.Wait(1) + end + end) + + RegisterNetEvent("rp:ClientKeybindExist") + AddEventHandler("rp:ClientKeybindExist", function(does) + if does then + TriggerServerEvent("rp:ServerKeybindGrab") + else + TriggerServerEvent("rp:ServerKeybindCreate") + end + end) + + RegisterNetEvent("rp:ClientKeybindGet") + AddEventHandler("rp:ClientKeybindGet", function(k1, e1, k2, e2, k3, e3, k4, e4, k5, e5, k6, e6) + keyb1 = k1 + emob1 = e1 + keyb2 = k2 + emob2 = e2 + keyb3 = k3 + emob3 = e3 + keyb4 = k4 + emob4 = e4 + keyb5 = k5 + emob5 = e5 + keyb6 = k6 + emob6 = e6 + Initialized = true + end) + + RegisterNetEvent("rp:ClientKeybindGetOne") + AddEventHandler("rp:ClientKeybindGetOne", function(key, e) + SimpleNotify(Config.Languages[lang]['bound'] .. + "~y~" .. e .. "~w~ " .. Config.Languages[lang]['to'] .. " ~g~" .. firstToUpper(key) .. "~w~") + if key == "num4" then emob1 = e + keyb1 = "num4" + elseif key == "num5" then emob2 = e + keyb2 = "num5" + elseif key == "num6" then emob3 = e + keyb3 = "num6" + elseif key == "num7" then emob4 = e + keyb4 = "num7" + elseif key == "num8" then emob5 = e + keyb5 = "num8" + elseif key == "num9" then emob6 = e + keyb6 = "num9" + end + end) + + ----------------------------------------------------------------------------------------------------- + ------ Functions and stuff -------------------------------------------------------------------------- + ----------------------------------------------------------------------------------------------------- + + function EmoteBindsStart() + EmoteChatMessage(Config.Languages[lang]['currentlyboundemotes'] .. "\n" + .. firstToUpper(keyb1) .. " = '^2" .. emob1 .. "^7'\n" + .. firstToUpper(keyb2) .. " = '^2" .. emob2 .. "^7'\n" + .. firstToUpper(keyb3) .. " = '^2" .. emob3 .. "^7'\n" + .. firstToUpper(keyb4) .. " = '^2" .. emob4 .. "^7'\n" + .. firstToUpper(keyb5) .. " = '^2" .. emob5 .. "^7'\n" + .. firstToUpper(keyb6) .. " = '^2" .. emob6 .. "^7'\n") + end + + function EmoteBindStart(source, args, raw) + if #args > 0 then + local key = string.lower(args[1]) + local emote = string.lower(args[2]) + if (Config.KeybindKeys[key]) ~= nil then + if RP.Emotes[emote] ~= nil + or RP.Dances[emote] ~= nil + or RP.PropEmotes[emote] ~= nil + or RP.AnimalEmotes[emote] ~= nil + then + TriggerServerEvent("rp:ServerKeybindUpdate", key, emote) + else + EmoteChatMessage("'" .. emote .. "' " .. Config.Languages[lang]['notvalidemote'] .. "") + end + else + EmoteChatMessage("'" .. key .. "' " .. Config.Languages[lang]['notvalidkey']) + end + else + print("invalid") + end + end + +end diff --git a/resources/[standalone]/dpemotes/client/Pointing.lua b/resources/[standalone]/dpemotes/client/Pointing.lua new file mode 100644 index 0000000..b00cf48 --- /dev/null +++ b/resources/[standalone]/dpemotes/client/Pointing.lua @@ -0,0 +1,118 @@ +Pointing = false + +local function IsPlayerAiming(player) + return IsPlayerFreeAiming(player) or IsAimCamActive() or IsAimCamThirdPersonActive() +end + +local function CanPlayerPoint(playerId, playerPed) + if not DoesEntityExist(playerPed) or not IsPedOnFoot(playerPed) or IsPlayerAiming(playerId) or IsPedFalling(playerPed) or IsPedInjured(playerPed) or IsPedInMeleeCombat(playerPed) or IsPedRagdoll(playerPed) then + return false + end + + return true +end + +local function PointingStopped() + local playerPed = PlayerPedId() + + RequestTaskMoveNetworkStateTransition(playerPed, 'Stop') + SetPedConfigFlag(playerPed, 36, false) + if not IsPedInjured(playerPed) then + ClearPedSecondaryTask(playerPed) + end + RemoveAnimDict("anim@mp_point") +end + +local function PointingThread() + CreateThread(function() + local playerId = PlayerId() + local playerPed = PlayerPedId() + + while Pointing do + Wait(0) + + if not CanPlayerPoint(playerId, playerPed) then + Pointing = false + break + end + + local camPitch = GetGameplayCamRelativePitch() + if camPitch < -70.0 then + camPitch = -70.0 + elseif camPitch > 42.0 then + camPitch = 42.0 + end + + camPitch = (camPitch + 70.0) / 112.0 + + local camHeading = GetGameplayCamRelativeHeading() + local cosCamHeading = math.cos(camHeading) + local sinCamHeading = math.sin(camHeading) + + if camHeading < -180.0 then + camHeading = -180.0 + elseif camHeading > 180.0 then + camHeading = 180.0 + end + + camHeading = (camHeading + 180.0) / 360.0 + local coords = GetOffsetFromEntityInWorldCoords(playerPed, (cosCamHeading * -0.2) - (sinCamHeading * (0.4 * camHeading + 0.3)), (sinCamHeading * -0.2) + (cosCamHeading * (0.4 * camHeading + 0.3)), 0.6) + local _rayHandle, blocked = GetShapeTestResult(StartShapeTestCapsule(coords.x, coords.y, coords.z - 0.2, coords.x, coords.y, coords.z + 0.2, 0.4, 95, playerPed, 7)) + + SetTaskMoveNetworkSignalFloat(playerPed, 'Pitch', camPitch) + SetTaskMoveNetworkSignalFloat(playerPed, 'Heading', (camHeading * -1.0) + 1.0) + SetTaskMoveNetworkSignalBool(playerPed, 'isBlocked', blocked) + SetTaskMoveNetworkSignalBool(playerPed, 'isFirstPerson', GetCamViewModeForContext(GetCamActiveViewModeContext()) == 4) + end + + PointingStopped() + end) +end + +local function StartPointing() + -- Don't start to point if we are prone + if IsProne then + EmoteChatMessage("You can't point while crawling.") + return + end + + local playerPed = PlayerPedId() + if not CanPlayerPoint(PlayerId(), playerPed) then + return + end + + Pointing = not Pointing + + -- If we should point and the animation was loaded, then start pointing + if Pointing and LoadAnim("anim@mp_point") then + SetPedConfigFlag(playerPed, 36, true) + TaskMoveNetworkByName(playerPed, 'task_mp_pointing', 0.5, false, 'anim@mp_point', 24) + + -- Start thread + PointingThread() + end +end + + +-- Commands & KeyMapping -- +if Config.PointingEnabled then + RegisterCommand('pointing', function() + StartPointing() + end, false) + + if Config.PointingKeybindEnabled then + RegisterKeyMapping("pointing", "Finger pointing", "keyboard", Config.PointingKeybind) + end + + TriggerEvent('chat:addSuggestion', '/pointing', 'Finger pointing.') +end + + +-- Exports -- +-- Returns if the player is pointing +---@return boolean +local function IsPlayerPointing() + return Pointing +end + +exports('IsPlayerPointing', IsPlayerPointing) diff --git a/resources/[standalone]/dpemotes/client/Ragdoll.lua b/resources/[standalone]/dpemotes/client/Ragdoll.lua new file mode 100644 index 0000000..0eecd12 --- /dev/null +++ b/resources/[standalone]/dpemotes/client/Ragdoll.lua @@ -0,0 +1,29 @@ +if Config.RagdollEnabled then + RegisterCommand('+ragdoll', function() Ragdoll() end, false) + RegisterCommand('-ragdoll', function() StopRagdoll() end, false) + RegisterKeyMapping("+ragdoll", "Ragdoll your character", "keyboard", Config.RagdollKeybind) + + local stop = true + function Ragdoll() + if IsInAnimation then return end + + local ped = PlayerPedId() + if not IsPedOnFoot(ped) then return end + + if Config.RagdollAsToggle then + stop = not stop + else + stop = false + end + + while not stop do + SetPedToRagdoll(ped, 1000, 1000, 0, false, false, false) + Wait(0) + end + end + + function StopRagdoll() + if Config.RagdollAsToggle then return end + stop = true + end +end diff --git a/resources/[standalone]/dpemotes/client/Syncing.lua b/resources/[standalone]/dpemotes/client/Syncing.lua new file mode 100644 index 0000000..bae5e6f --- /dev/null +++ b/resources/[standalone]/dpemotes/client/Syncing.lua @@ -0,0 +1,255 @@ +local isRequestAnim = false +local requestedemote = '' +local targetPlayerId = '' + +-- Some of the work here was done by Super.Cool.Ninja / rubbertoe98 +-- https://forum.fivem.net/t/release-nanimstarget/876709 + +----------------------------------------------------------------------------------------------------- +-- Commands / Events -------------------------------------------------------------------------------- +----------------------------------------------------------------------------------------------------- +if Config.SharedEmotesEnabled then + RegisterCommand('nearby', function(source, args, raw) + if #args > 0 then + local emotename = string.lower(args[1]) + target, distance = GetClosestPlayer() + if (distance ~= -1 and distance < 3) then + if RP.Shared[emotename] ~= nil then + dict, anim, ename = table.unpack(RP.Shared[emotename]) + TriggerServerEvent("ServerEmoteRequest", GetPlayerServerId(target), emotename) + SimpleNotify(Config.Languages[lang]['sentrequestto'] .. + GetPlayerName(target) .. " ~w~(~g~" .. ename .. "~w~)") + else + EmoteChatMessage("'" .. emotename .. "' " .. Config.Languages[lang]['notvalidsharedemote'] .. "") + end + else + SimpleNotify(Config.Languages[lang]['nobodyclose']) + end + else + NearbysOnCommand() + end + end, false) +end + +RegisterNetEvent("SyncPlayEmote") +AddEventHandler("SyncPlayEmote", function(emote, player) + EmoteCancel() + Wait(300) + targetPlayerId = player + -- wait a little to make sure animation shows up right on both clients after canceling any previous emote + if RP.Shared[emote] ~= nil then + if RP.Shared[emote].AnimationOptions and RP.Shared[emote].AnimationOptions.Attachto then + -- We do not want to attach the player if the target emote already is attached to player + -- this would cause issue where both player would be attached to each other and fall under the map + local targetEmote = RP.Shared[emote][4] + if not targetEmote or not RP.Shared[targetEmote] or not RP.Shared[targetEmote].AnimationOptions or + not RP.Shared[targetEmote].AnimationOptions.Attachto then + local plyServerId = GetPlayerFromServerId(player) + local ply = PlayerPedId() + local pedInFront = GetPlayerPed(plyServerId ~= 0 and plyServerId or GetClosestPlayer()) + local bone = RP.Shared[emote].AnimationOptions.bone or -1 -- No bone + local xPos = RP.Shared[emote].AnimationOptions.xPos or 0.0 + local yPos = RP.Shared[emote].AnimationOptions.yPos or 0.0 + local zPos = RP.Shared[emote].AnimationOptions.zPos or 0.0 + local xRot = RP.Shared[emote].AnimationOptions.xRot or 0.0 + local yRot = RP.Shared[emote].AnimationOptions.yRot or 0.0 + local zRot = RP.Shared[emote].AnimationOptions.zRot or 0.0 + AttachEntityToEntity(ply, pedInFront, GetPedBoneIndex(pedInFront, bone), xPos, yPos, zPos, xRot, yRot, + zRot, false, false, false, true, 1, true) + end + end + + OnEmotePlay(RP.Shared[emote]) + return + elseif RP.Dances[emote] ~= nil then + OnEmotePlay(RP.Dances[emote]) + return + end +end) + +RegisterNetEvent("SyncPlayEmoteSource") +AddEventHandler("SyncPlayEmoteSource", function(emote, player) + -- Thx to Poggu for this part! + local ply = PlayerPedId() + local plyServerId = GetPlayerFromServerId(player) + local pedInFront = GetPlayerPed(plyServerId ~= 0 and plyServerId or GetClosestPlayer()) + + local SyncOffsetFront = 1.0 + local SyncOffsetSide = 0.0 + local SyncOffsetHeight = 0.0 + local SyncOffsetHeading = 180.1 + + local AnimationOptions = RP.Shared[emote] and RP.Shared[emote].AnimationOptions + if AnimationOptions then + if AnimationOptions.SyncOffsetFront then + SyncOffsetFront = AnimationOptions.SyncOffsetFront + 0.0 + end + if AnimationOptions.SyncOffsetSide then + SyncOffsetSide = AnimationOptions.SyncOffsetSide + 0.0 + end + if AnimationOptions.SyncOffsetHeight then + SyncOffsetHeight = AnimationOptions.SyncOffsetHeight + 0.0 + end + if AnimationOptions.SyncOffsetHeading then + SyncOffsetHeading = AnimationOptions.SyncOffsetHeading + 0.0 + end + + -- There is a priority to the source attached, if it is not set, it will use the target + if (AnimationOptions.Attachto) then + local bone = AnimationOptions.bone or -1 -- No bone + local xPos = AnimationOptions.xPos or 0.0 + local yPos = AnimationOptions.yPos or 0.0 + local zPos = AnimationOptions.zPos or 0.0 + local xRot = AnimationOptions.xRot or 0.0 + local yRot = AnimationOptions.yRot or 0.0 + local zRot = AnimationOptions.zRot or 0.0 + AttachEntityToEntity(ply, pedInFront, GetPedBoneIndex(pedInFront, bone), xPos, yPos, zPos, xRot, yRot, zRot, + false, false, false, true, 1, true) + end + end + local coords = GetOffsetFromEntityInWorldCoords(pedInFront, SyncOffsetSide, SyncOffsetFront, SyncOffsetHeight) + local heading = GetEntityHeading(pedInFront) + SetEntityHeading(ply, heading - SyncOffsetHeading) + SetEntityCoordsNoOffset(ply, coords.x, coords.y, coords.z, 0) + EmoteCancel() + Wait(300) + targetPlayerId = player + if RP.Shared[emote] ~= nil then + OnEmotePlay(RP.Shared[emote]) + return + elseif RP.Dances[emote] ~= nil then + OnEmotePlay(RP.Dances[emote]) + return + end +end) + +RegisterNetEvent("SyncCancelEmote") +AddEventHandler("SyncCancelEmote", function(player) + if targetPlayerId and targetPlayerId == player then + targetPlayerId = nil + EmoteCancel() + end +end) + +function CancelSharedEmote(ply) + if targetPlayerId then + TriggerServerEvent("ServerEmoteCancel", targetPlayerId) + targetPlayerId = nil + end +end + +RegisterNetEvent("ClientEmoteRequestReceive") +AddEventHandler("ClientEmoteRequestReceive", function(emotename, etype) + isRequestAnim = true + requestedemote = emotename + + if etype == 'Dances' then + _, _, remote = table.unpack(RP.Dances[requestedemote]) + else + _, _, remote = table.unpack(RP.Shared[requestedemote]) + end + + PlaySound(-1, "NAV", "HUD_AMMO_SHOP_SOUNDSET", 0, 0, 1) + SimpleNotify(Config.Languages[lang]['doyouwanna'] .. remote .. "~w~)") +end) + +Citizen.CreateThread(function() + while true do + Citizen.Wait(5) + if IsControlJustPressed(1, 246) and isRequestAnim then + target, distance = GetClosestPlayer() + if (distance ~= -1 and distance < 3) then + if RP.Shared[requestedemote] ~= nil then + _, _, _, otheremote = table.unpack(RP.Shared[requestedemote]) + elseif RP.Dances[requestedemote] ~= nil then + _, _, _, otheremote = table.unpack(RP.Dances[requestedemote]) + end + if otheremote == nil then otheremote = requestedemote end + TriggerServerEvent("ServerValidEmote", GetPlayerServerId(target), requestedemote, otheremote) + isRequestAnim = false + else + SimpleNotify(Config.Languages[lang]['nobodyclose']) + end + elseif IsControlJustPressed(1, 182) and isRequestAnim then + SimpleNotify(Config.Languages[lang]['refuseemote']) + isRequestAnim = false + end + end +end) + +----------------------------------------------------------------------------------------------------- +------ Functions and stuff -------------------------------------------------------------------------- +----------------------------------------------------------------------------------------------------- + +function GetPlayerFromPed(ped) + for _, player in ipairs(GetActivePlayers()) do + if GetPlayerPed(player) == ped then + return player + end + end + return -1 +end + +function GetPedInFront() + local player = PlayerId() + local plyPed = GetPlayerPed(player) + local plyPos = GetEntityCoords(plyPed, false) + local plyOffset = GetOffsetFromEntityInWorldCoords(plyPed, 0.0, 1.3, 0.0) + local rayHandle = StartShapeTestCapsule(plyPos.x, plyPos.y, plyPos.z, plyOffset.x, plyOffset.y, plyOffset.z, 10.0, 12 + , plyPed, 7) + local _, _, _, _, ped2 = GetShapeTestResult(rayHandle) + return ped2 +end + +function NearbysOnCommand(source, args, raw) + local NearbysCommand = "" + for a in pairsByKeys(RP.Shared) do + NearbysCommand = NearbysCommand .. "" .. a .. ", " + end + EmoteChatMessage(NearbysCommand) + EmoteChatMessage(Config.Languages[lang]['emotemenucmd']) +end + +function SimpleNotify(message) + if Config.NotificationsAsChatMessage then + TriggerEvent("chat:addMessage", { color = { 255, 255, 255 }, args = { tostring(message) } }) + else + BeginTextCommandThefeedPost("STRING") + AddTextComponentSubstringPlayerName(message) + EndTextCommandThefeedPostTicker(0, 1) + end +end + +function GetClosestPlayer() + local players = GetPlayers() + local closestDistance = -1 + local closestPlayer = -1 + local ply = PlayerPedId() + local plyCoords = GetEntityCoords(ply, 0) + + for index, value in ipairs(players) do + local target = GetPlayerPed(value) + if (target ~= ply) then + local targetCoords = GetEntityCoords(GetPlayerPed(value), 0) + local distance = GetDistanceBetweenCoords(targetCoords["x"], targetCoords["y"], targetCoords["z"], + plyCoords["x"], plyCoords["y"], plyCoords["z"], true) + if (closestDistance == -1 or closestDistance > distance) then + closestPlayer = value + closestDistance = distance + end + end + end + return closestPlayer, closestDistance +end + +function GetPlayers() + local players = {} + + for i = 0, 255 do + if NetworkIsPlayerActive(i) then + table.insert(players, i) + end + end + + return players +end diff --git a/resources/[standalone]/dpemotes/client/Walk.lua b/resources/[standalone]/dpemotes/client/Walk.lua new file mode 100644 index 0000000..9c808f0 --- /dev/null +++ b/resources/[standalone]/dpemotes/client/Walk.lua @@ -0,0 +1,54 @@ +function WalkMenuStart(name) + if Config.PersistentWalk then SetResourceKvp("walkstyle", name) end + RequestWalking(name) + SetPedMovementClipset(PlayerPedId(), name, 0.2) + RemoveAnimSet(name) +end + +function RequestWalking(set) + RequestAnimSet(set) + while not HasAnimSetLoaded(set) do + Citizen.Wait(1) + end +end + +function WalksOnCommand(source, args, raw) + local WalksCommand = "" + for a in pairsByKeys(RP.Walks) do + WalksCommand = WalksCommand .. "" .. string.lower(a) .. ", " + end + EmoteChatMessage(WalksCommand) + EmoteChatMessage("To reset do /walk reset") +end + +function WalkCommandStart(source, args, raw) + local name = firstToUpper(string.lower(args[1])) + + if name == "Reset" then + ResetPedMovementClipset(PlayerPedId()) + return + end + + if tableHasKey(RP.Walks, name) then + local name2 = table.unpack(RP.Walks[name]) + WalkMenuStart(name2) + elseif name == "Injured" then + WalkMenuStart("move_m@injured") + else + EmoteChatMessage("'" .. name .. "' is not a valid walk") + end +end + +function tableHasKey(table, key) + return table[key] ~= nil +end + +if Config.WalkingStylesEnabled and Config.PersistentWalk then + AddEventHandler('playerSpawned', function() + local kvp = GetResourceKvpString("walkstyle") + + if kvp ~= nil then + WalkMenuStart(kvp) + end + end) +end diff --git a/resources/[standalone]/dpemotes/client/frameworks/qb-core.lua b/resources/[standalone]/dpemotes/client/frameworks/qb-core.lua new file mode 100644 index 0000000..5f30aa0 --- /dev/null +++ b/resources/[standalone]/dpemotes/client/frameworks/qb-core.lua @@ -0,0 +1,102 @@ +if Config.Framework ~= 'qb-core' then return end + +local framework = 'qb-core' +local state = GetResourceState(framework) + +if state == 'missing' or state == "unknown" then + -- Framework can't be used if it's missing or unknown + return +end + +QBCore, PlayerData, isLoggedIn = nil, nil, false + +-- QB core parts +QBCore = exports[framework]:GetCoreObject() +PlayerData = QBCore.Functions.GetPlayerData() +isLoggedIn = false + +RegisterNetEvent('QBCore:Client:OnPlayerLoaded', function() + PlayerData = QBCore.Functions.GetPlayerData() + isLoggedIn = true +end) + +RegisterNetEvent('QBCore:Client:OnPlayerUnload', function() + PlayerData = {} + isLoggedIn = false +end) + +RegisterNetEvent('QBCore:Player:SetPlayerData', function(val) + PlayerData = val +end) + +-- This is here to get the player data when the resource is restarted instead of having to log out and back in each time +-- This won't set the player data too early as this only triggers when the server side is started and not the client side +AddEventHandler('onResourceStart', function(resource) + if resource == GetCurrentResourceName() then + Wait(200) + PlayerData = QBCore.Functions.GetPlayerData() + isLoggedIn = true + end +end) + +function CanUseFavKeyBind() + return not PlayerData.metadata['inlaststand'] and not PlayerData.metadata['isdead'] +end + +-- Added events +RegisterNetEvent('animations:client:PlayEmote', function(args) + if not PlayerData.metadata['inlaststand'] and not PlayerData.metadata['isdead'] then + EmoteCommandStart(source, args) + end +end) + +if Config.SqlKeybinding then + RegisterNetEvent('animations:client:BindEmote', function(args) + if not PlayerData.metadata['inlaststand'] and not PlayerData.metadata['isdead'] then + EmoteBindStart(source, args) + end + end) + + RegisterNetEvent('animations:client:EmoteBinds', function() + if not PlayerData.metadata['inlaststand'] and not PlayerData.metadata['isdead'] then + EmoteBindsStart() + end + end) +end + +RegisterNetEvent('animations:client:EmoteMenu', function() + if not PlayerData.metadata['inlaststand'] and not PlayerData.metadata['isdead'] then + OpenEmoteMenu() + end +end) + +RegisterNetEvent('animations:client:ListEmotes', function() + if not PlayerData.metadata['inlaststand'] and not PlayerData.metadata['isdead'] then + EmotesOnCommand() + end +end) + +RegisterNetEvent('animations:client:Walk', function(args) + if not PlayerData.metadata['inlaststand'] and not PlayerData.metadata['isdead'] then + WalkCommandStart(source, args) + end +end) + +RegisterNetEvent('animations:client:ListWalks', function() + if not PlayerData.metadata['inlaststand'] and not PlayerData.metadata['isdead'] then + WalksOnCommand() + end +end) + +-- Added by https://github.dev/qbcore-framework/dpemotes/ + +CanDoEmote = true +RegisterNetEvent('animations:ToggleCanDoAnims', function(bool) + CanDoEmote = bool +end) + +RegisterNetEvent('animations:client:EmoteCommandStart', function(args) + if CanDoEmote then + EmoteCommandStart(source, args) + end +end) diff --git a/resources/[standalone]/dpemotes/config.lua b/resources/[standalone]/dpemotes/config.lua new file mode 100644 index 0000000..97c3c55 --- /dev/null +++ b/resources/[standalone]/dpemotes/config.lua @@ -0,0 +1,91 @@ +--- Maintained by TayMcKenzieNZ for the community --- +--- Leakers and resellers are the absolute scum of the earth --- + +Config = { + -- Change the language of the menu here!. + -- Thank you to those who provided translations. + -- If you would like to provide translations or help fix them, join our Discord! + -- Check languages code below to change the MenuLanguage + MenuLanguage = 'da', + -- Set this to true to enable some extra prints + DebugDisplay = false, + -- Set this to false if you have something else on X, and then just use /e c to cancel emotes. + EnableXtoCancel = true, + CancelEmoteKey = 'c', -- Get the button string here https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/ + -- Set this to true if you want to disarm the player when they play an emote. + DisarmPlayer = false, + -- Set this if you really wanna disable emotes in cars, as of 1.7.2 they only play the upper body part if in vehicle + AllowedInCars = true, + -- You can disable the menu here / change the keybind. It is currently set to F5 + MenuKeybindEnabled = true, + MenuKeybind = 'f3', -- Get the button string here https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/ + -- You can disable the Favorite emote keybinding here. + FavKeybindEnabled = false, + FavKeybind = 'capital', -- Get the button string here https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/ + -- You can change the header image for the menu here + -- Use a 512 x 128 image! + -- Note this might cause an issue of the image getting stuck on peoples screens + CustomMenuEnabled = true, + MenuImage = "https://i.giphy.com/media/zpKIWAzNO9IhYwEGkN/giphy.gif", ----[Custom banner IMGUR or GIPHY URLs go here ]--- + -- You can change the menu image by pasting a link above. It must be the same width and length + -- You can change the name of the menu here or leave it blank to remove the text in front of the custom banners + MenuTitle = "", + -- You can change the menu position here + MenuPosition = "right", -- (left, right) + -- You can enable or disable the Ragdoll keybinding here. + RagdollEnabled = true, + RagdollKeybind = 'u', -- Get the button string here https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/ + -- You can enable or disable Ragdoll as Toggle here. Only works if RagdollEnabled is set to true. + RagdollAsToggle = true, + -- You can disable the Facial Expressions menu here. + ExpressionsEnabled = false, + -- Saves expression style to client and applies them on joining + PersistentExpression = false, + -- You can disable the Walking Styles menu here. + WalkingStylesEnabled = true, + -- Saves walk styles to client and applies them periodically + PersistentWalk = true, + -- Polling period to apply persistent walkstyles + PersistencePollPeriod = 60000, + -- You can disable the Shared Emotes here. + SharedEmotesEnabled = true, + -- If you have the SQL imported enable this to turn on keybinding. + SqlKeybinding = true, + -- If you don't like gta notifications, you can disable them here to have messages in the chat. + NotificationsAsChatMessage = true, + -- Used for few framework dependent things. Accepted values: "qb-core", false + Framework = 'qb-core', + -- You can disable the Adult Emotes here. + AdultEmotesDisabled = false, + -- You can disable the Animal Emotes here. + AnimalEmotesEnabled = false, + -- Used to enable or disable the search feature in the menu. + Search = true, + -- You can disable the handsup here / change the keybind. It is currently set to H + HandsupKeybindEnabled = false, + HandsupKeybind = 'H', -- Get the button string here https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/ + -- You can disable the fingrer pointing here / change the keybind. It is currently set to B + PointingEnabled = false, + PointingKeybindEnabled = true, + PointingKeybind = 'b', -- Get the button string here https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/ + -- If crouching should be enabled. + CrouchEnabled = false, + CrouchKeybindEnabled = true, -- If true, crouching will use keybinds. + CrouchKeybind = 'lcontrol', -- The default crouch keybind, get the button string here: https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/ + CrouchOverride = false, -- If true, you won't enter stealth mode even if the crouch key and the "duck" key are the same. + -- If crawling should be enabled. + CrawlEnabled = true, + CrawlKeybindEnabled = true, -- If true, crawling will use keybinds. + CrawlKeybind = 'rcontrol', -- The default crawl keybind, get the button string here: https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/ + -- Check for updates + CheckForUpdates = false, +} + +Config.KeybindKeys = { + ['num4'] = 108, + ['num5'] = 110, + ['num6'] = 109, + ['num7'] = 117, + ['num8'] = 111, + ['num9'] = 118 +} diff --git a/resources/[standalone]/dpemotes/fxmanifest.lua b/resources/[standalone]/dpemotes/fxmanifest.lua new file mode 100644 index 0000000..e0304c5 --- /dev/null +++ b/resources/[standalone]/dpemotes/fxmanifest.lua @@ -0,0 +1,98 @@ +--- Maintained by TayMcKenzieNZ --- +--- Check for updates at https://github.com/TayMcKenzieNZ/dpemotes --- + +fx_version 'cerulean' +game 'gta5' +version '1.1.7' +lua54 'yes' + +dependencies { + '/server:5848', + '/onesync', +} + +-- Remove the following lines if you would like to use the SQL keybinds. Requires oxmysql. + +--region oxmysql + +dependency 'oxmysql' +server_script '@oxmysql/lib/MySQL.lua' + +--endregion oxmysql + +shared_scripts { + 'config.lua', + 'Translations.lua' +} + +server_scripts { + 'printer.lua', + 'server/Server.lua', + -- 'server/Updates.lua', + 'server/frameworks/*.lua' +} + +client_scripts { + 'NativeUI.lua', + 'client/AnimationList.lua', + 'client/AnimationListCustom.lua', + 'client/Crouch.lua', + 'client/Emote.lua', + 'client/EmoteMenu.lua', + 'client/Expressions.lua', + 'client/Keybinds.lua', + 'client/Pointing.lua', + 'client/Ragdoll.lua', + 'client/Syncing.lua', + 'client/Walk.lua', + 'client/frameworks/*.lua' +} + + +---- Loads all ytyp files for custom props to stream --- + +data_file 'DLC_ITYP_REQUEST' 'stream/taymckenzienz_dpemotes.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'badge1.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'copbadge.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'bzzz_foodpack' + +data_file 'DLC_ITYP_REQUEST' 'bzzz_prop_torch_fire001.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'natty_props_lollipops.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'apple_1.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'stream/bzzz_food_icecream_pack.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'stream/bzzz_food_dessert_a.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'stream/bzzz_prop_give_gift.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'stream/ultra_ringcase.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'stream/bzzz_food_xmas22.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'stream/knjgh_pizzas.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'stream/pata_christmasfood.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'stream/pata_cake.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'stream/pata_freevalentinesday.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'stream/bzzz_prop_cake_love_001.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'stream/bzzz_prop_cake_birthday_001.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'stream/bzzz_prop_cake_baby_001.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'stream/bzzz_prop_cake_casino001.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'stream/brum_heart.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'stream/brum_heartfrappe.ytyp' + +data_file 'DLC_ITYP_REQUEST' 'stream/kaykaymods_props.ytyp' diff --git a/resources/[standalone]/dpemotes/license b/resources/[standalone]/dpemotes/license new file mode 100644 index 0000000..f288702 --- /dev/null +++ b/resources/[standalone]/dpemotes/license @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/resources/[standalone]/dpemotes/printer.lua b/resources/[standalone]/dpemotes/printer.lua new file mode 100644 index 0000000..91969c6 --- /dev/null +++ b/resources/[standalone]/dpemotes/printer.lua @@ -0,0 +1 @@ +print("dpemotes maintained by TayMcKenzieNZ loaded sucessfully.") diff --git a/resources/[standalone]/dpemotes/server/Server.lua b/resources/[standalone]/dpemotes/server/Server.lua new file mode 100644 index 0000000..ce138e2 --- /dev/null +++ b/resources/[standalone]/dpemotes/server/Server.lua @@ -0,0 +1,263 @@ +----------------------------------------------------------------------------------------------------- +-- Shared Emotes Syncing --------------------------------------------------------------------------- +----------------------------------------------------------------------------------------------------- + +RegisterNetEvent("ServerEmoteRequest", function(target, emotename, etype) + local ped = GetPlayerPed(source) + + if target == -1 then + return + end + local tped = GetPlayerPed(target) + local pedcoord = GetEntityCoords(ped) + local targetcoord = GetEntityCoords(tped) + + local distance = #(pedcoord - targetcoord) + + if distance > 3 then + return + end + + TriggerClientEvent("ClientEmoteRequestReceive", target, emotename, etype) +end) + +RegisterNetEvent("ServerValidEmote", function(target, requestedemote, otheremote) + local ped = GetPlayerPed(source) + + if target == -1 then + return + end + local tped = GetPlayerPed(target) + local pedcoord = GetEntityCoords(ped) + local targetcoord = GetEntityCoords(tped) + + local distance = #(pedcoord - targetcoord) + + if distance > 3 then + return + end + + TriggerClientEvent("SyncPlayEmote", source, otheremote, target) + TriggerClientEvent("SyncPlayEmoteSource", target, requestedemote, source) +end) + +RegisterNetEvent("ServerEmoteCancel", function(target) + TriggerClientEvent("SyncCancelEmote", target, source) +end) + +--#region ptfx +RegisterNetEvent("dpemotes:ptfx:sync", function(asset, name, offset, rot, bone, scale, color) + if type(asset) ~= "string" or type(name) ~= "string" or type(offset) ~= "vector3" or type(rot) ~= "vector3" then + print("[dpemotes] ptfx:sync: invalid arguments for source:", source) + return + end + local srcPlayerState = Player(source).state + srcPlayerState:set('ptfxAsset', asset, true) + srcPlayerState:set('ptfxName', name, true) + srcPlayerState:set('ptfxOffset', offset, true) + srcPlayerState:set('ptfxRot', rot, true) + srcPlayerState:set('ptfxBone', bone, true) + srcPlayerState:set('ptfxScale', scale, true) + srcPlayerState:set('ptfxColor', color, true) + srcPlayerState:set('ptfxPropNet', false, true) + srcPlayerState:set('ptfx', false, true) +end) + +RegisterNetEvent("dpemotes:ptfx:syncProp", function(propNet) + local srcPlayerState = Player(source).state + if propNet then + -- Prevent infinite loop to get entity + local waitForEntityToExistCount = 0 + while waitForEntityToExistCount <= 100 and not DoesEntityExist(NetworkGetEntityFromNetworkId(propNet)) do + Wait(10) + waitForEntityToExistCount = waitForEntityToExistCount + 1 + end + + -- If below 100 then we could find the loaded entity + if waitForEntityToExistCount < 100 then + srcPlayerState:set('ptfxPropNet', propNet, true) + return + end + end + -- If we reach this point then we couldn't find the entity + srcPlayerState:set('ptfxPropNet', false, true) +end) +--#endregion ptfx + +----------------------------------------------------------------------------------------------------- +-- Keybinding -------------------------------------------------------------------------------------- +----------------------------------------------------------------------------------------------------- + +local function addKeybindEventHandlers() + RegisterNetEvent("rp:ServerKeybindExist", function() + local src = source + local srcid = GetPlayerIdentifier(src) + MySQL.query('SELECT * FROM dpkeybinds WHERE `id`=@id;', { id = srcid }, function(dpkeybinds) + if dpkeybinds[1] then + TriggerClientEvent("rp:ClientKeybindExist", src, true) + else + TriggerClientEvent("rp:ClientKeybindExist", src, false) + end + end) + end) + + -- This is my first time doing SQL stuff, and after i finished everything i realized i didnt have to store the keybinds in the database at all. + -- But remaking it now is a little pointless since it does it job just fine! + + RegisterNetEvent("rp:ServerKeybindCreate", function() + local src = source + local srcid = GetPlayerIdentifier(src) + MySQL.insert('INSERT INTO dpkeybinds (`id`, `keybind1`, `emote1`, `keybind2`, `emote2`, `keybind3`, `emote3`, `keybind4`, `emote4`, `keybind5`, `emote5`, `keybind6`, `emote6`) VALUES (@id, @keybind1, @emote1, @keybind2, @emote2, @keybind3, @emote3, @keybind4, @emote4, @keybind5, @emote5, @keybind6, @emote6);' + , + { id = srcid, keybind1 = "num4", emote1 = "", keybind2 = "num5", emote2 = "", keybind3 = "num6", emote3 = "", + keybind4 = "num7", emote4 = "", keybind5 = "num8", emote5 = "", keybind6 = "num9", emote6 = "" }, + function(created) print("[rp] ^2" .. GetPlayerName(src) .. "^7 got created!") + TriggerClientEvent("rp:ClientKeybindGet" + , src, "num4", "", "num5", "", "num6", "", "num7", "", "num8", "", "num8", "") + end) + end) + + RegisterNetEvent("rp:ServerKeybindGrab", function() + local src = source + local srcid = GetPlayerIdentifier(src) + MySQL.query('SELECT keybind1, emote1, keybind2, emote2, keybind3, emote3, keybind4, emote4, keybind5, emote5, keybind6, emote6 FROM `dpkeybinds` WHERE `id` = @id' + , + { ['@id'] = srcid }, function(kb) + if kb[1].keybind1 ~= nil then + TriggerClientEvent("rp:ClientKeybindGet", src, kb[1].keybind1, kb[1].emote1, kb[1].keybind2, kb[1].emote2 + , kb[1].keybind3, kb[1].emote3, kb[1].keybind4, kb[1].emote4, kb[1].keybind5, kb[1].emote5, + kb[1].keybind6, kb[1].emote6) + else + TriggerClientEvent("rp:ClientKeybindGet", src, "num4", "", "num5", "", "num6", "", "num7", "", "num8", "" + , "num8", "") + end + end) + end) + + RegisterNetEvent("rp:ServerKeybindUpdate", function(key, emote) + local src = source + local myid = GetPlayerIdentifier(source) + if key == "num4" then chosenk = "keybind1" + elseif key == "num5" then chosenk = "keybind2" + elseif key == "num6" then chosenk = "keybind3" + elseif key == "num7" then chosenk = "keybind4" + elseif key == "num8" then chosenk = "keybind5" + elseif key == "num9" then chosenk = "keybind6" + end + if chosenk == "keybind1" then + MySQL.update("UPDATE dpkeybinds SET emote1=@emote WHERE id=@id", { id = myid, emote = emote }, + function() TriggerClientEvent("rp:ClientKeybindGetOne", src, key, emote) end) + elseif chosenk == "keybind2" then + MySQL.update("UPDATE dpkeybinds SET emote2=@emote WHERE id=@id", { id = myid, emote = emote }, + function() TriggerClientEvent("rp:ClientKeybindGetOne", src, key, emote) end) + elseif chosenk == "keybind3" then + MySQL.update("UPDATE dpkeybinds SET emote3=@emote WHERE id=@id", { id = myid, emote = emote }, + function() TriggerClientEvent("rp:ClientKeybindGetOne", src, key, emote) end) + elseif chosenk == "keybind4" then + MySQL.update("UPDATE dpkeybinds SET emote4=@emote WHERE id=@id", { id = myid, emote = emote }, + function() TriggerClientEvent("rp:ClientKeybindGetOne", src, key, emote) end) + elseif chosenk == "keybind5" then + MySQL.update("UPDATE dpkeybinds SET emote5=@emote WHERE id=@id", { id = myid, emote = emote }, + function() TriggerClientEvent("rp:ClientKeybindGetOne", src, key, emote) end) + elseif chosenk == "keybind6" then + MySQL.update("UPDATE dpkeybinds SET emote6=@emote WHERE id=@id", { id = myid, emote = emote }, + function() TriggerClientEvent("rp:ClientKeybindGetOne", src, key, emote) end) + end + end) +end + +if Config.SqlKeybinding and MySQL then + MySQL.update( + [[ + CREATE TABLE IF NOT EXISTS `dpkeybinds` ( + `id` varchar(50) NULL DEFAULT NULL, + `keybind1` varchar(50) NULL DEFAULT "num4", + `emote1` varchar(255) NULL DEFAULT "", + `keybind2` varchar(50) NULL DEFAULT "num5", + `emote2` varchar(255) NULL DEFAULT "", + `keybind3` varchar(50) NULL DEFAULT "num6", + `emote3` varchar(255) NULL DEFAULT "", + `keybind4` varchar(50) NULL DEFAULT "num7", + `emote4` varchar(255) NULL DEFAULT "", + `keybind5` varchar(50) NULL DEFAULT "num8", + `emote5` varchar(255) NULL DEFAULT "", + `keybind6` varchar(50) NULL DEFAULT "num9", + `emote6` varchar(255) NULL DEFAULT "" + ) ENGINE=InnoDB COLLATE=latin1_swedish_ci; + ]] , {}, function(success) + if success then + addKeybindEventHandlers() + else + print("[rp] ^3Error connecting to DB^7") + end + end) +else + print("[rp] ^3Sql Keybinding^7 is turned ^1off^7, if you want to enable /emotebind, set ^3SqlKeybinding = ^2true^7 in config.lua and uncomment oxmysql lines in fxmanifest.lua.") +end + +-- Emote props extractor +local function ExtractEmoteProps(format) + local format = tonumber(format) + local xt, c, total = '', '', 0 + if format == 1 then + print("Selected format: ^2\'prop_name\',") + xt = '\''; c = ',' + elseif format == 2 then + print("Selected format: ^2\"prop_name\",") + xt = '\"'; c = ',' + elseif format == 3 then + print("Selected format: ^2prop_name,") + else + print("\n### dpemotes - Props Extractor ###\n\n^3Select output format^0\nAvailable formats:\n^11^0 - ^2\'prop_name\',\n^12^0 - ^2\"prop_name\",\n^13^0 - ^2prop_name\n\n^0Command usage example: ^5emoteextract 1^0\n") + end + + local animationFile = LoadResourceFile(GetCurrentResourceName(), "client/AnimationList.lua") + if not animationFile then return nil end + + local f, err = load(animationFile .. " return RP") + if err then return nil end + + local success, res = pcall(f) + if not success then return nil end + + local RP = res + + -- table to keep track of exported values + local exportedValues = {} + local path = GetResourcePath(GetCurrentResourceName())..'/.prop_list.lua' + -- open file for writing + local file = io.open(path, 'w') + + -- loop through each key-value pair in the table + -- tables that has props: + -- RP.PropEmotes + -- RP.Shared (most likely all props mentioned in here is used in PropEmotes, so I don't check it) + for _, value in pairs(RP.PropEmotes) do + -- check if the current value is a table and has an AnimationOptions field + if type(value) == 'table' and value.AnimationOptions then + -- extract the Prop and SecondProp values and check if they're nil and not already exported + local propValue = value.AnimationOptions.Prop + local secondPropValue = value.AnimationOptions.SecondProp + if propValue and not exportedValues[propValue] then + file:write(xt .. propValue .. xt .. c ..'\n') + exportedValues[propValue] = true + total += 1 + end + if secondPropValue and not exportedValues[secondPropValue] then + file:write(xt .. secondPropValue .. c ..'\n') + exportedValues[secondPropValue] = true + total += 1 + end + end + end + + print('Exported props: '..total) + + -- close the file + file:close() +end + +RegisterCommand("emoteextract", function(source, args) + if source > 0 then return end + ExtractEmoteProps(args[1]) +end, true) diff --git a/resources/[standalone]/dpemotes/server/frameworks/qb-core.lua b/resources/[standalone]/dpemotes/server/frameworks/qb-core.lua new file mode 100644 index 0000000..05ebea7 --- /dev/null +++ b/resources/[standalone]/dpemotes/server/frameworks/qb-core.lua @@ -0,0 +1,20 @@ +if Config.Framework ~= 'qb-core' then return end + +local framework = 'qb-core' +local state = GetResourceState(framework) + +if state == 'missing' or state == "unknown" then + -- Framework can't be used if it's missing or unknown + return +end + +local QBCore = exports['qb-core']:GetCoreObject() + +-- https://github.com/qbcore-framework/dpemotes/blob/master/Server/Server.lua#L101-L141 +QBCore.Commands.Add('e', 'Play an emote', {{ name="emotename", help="dance, camera, sit or any valid emote."}}, true, function(source, args) + TriggerClientEvent('animations:client:PlayEmote', source, args) +end) + +QBCore.Commands.Add('em', 'Open dpemotes menu', {}, false, function(source) + TriggerClientEvent('animations:client:EmoteMenu', source) +end) \ No newline at end of file diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Amnilka/amnilka@photopose@couple@couplefirst.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Amnilka/amnilka@photopose@couple@couplefirst.ycd new file mode 100644 index 0000000..a9fd0c1 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Amnilka/amnilka@photopose@couple@couplefirst.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Amnilka/amnilka@photopose@female@homepack001.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Amnilka/amnilka@photopose@female@homepack001.ycd new file mode 100644 index 0000000..0db0c05 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Amnilka/amnilka@photopose@female@homepack001.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Amnilka/frabi@femalepose@solo@firstsport.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Amnilka/frabi@femalepose@solo@firstsport.ycd new file mode 100644 index 0000000..d52e9db Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Amnilka/frabi@femalepose@solo@firstsport.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Amnilka/frabi@malepose@solo@firstsport.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Amnilka/frabi@malepose@solo@firstsport.ycd new file mode 100644 index 0000000..f802fa9 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Amnilka/frabi@malepose@solo@firstsport.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/BoringNeptune/dancing_wave_part_one@anim.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/BoringNeptune/dancing_wave_part_one@anim.ycd new file mode 100644 index 0000000..fcbed32 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/BoringNeptune/dancing_wave_part_one@anim.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/BoringNeptune/mj_thriller.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/BoringNeptune/mj_thriller.ycd new file mode 100644 index 0000000..c51fe37 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/BoringNeptune/mj_thriller.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/BoringNeptune/zombies_animations.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/BoringNeptune/zombies_animations.ycd new file mode 100644 index 0000000..7e247a6 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/BoringNeptune/zombies_animations.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/BzZziEmotes/bz@give_love@anim.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/BzZziEmotes/bz@give_love@anim.ycd new file mode 100644 index 0000000..6318be0 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/BzZziEmotes/bz@give_love@anim.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose1cmg@animation.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose1cmg@animation.ycd new file mode 100644 index 0000000..4f376d7 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose1cmg@animation.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose1pack1anim1@animation.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose1pack1anim1@animation.ycd new file mode 100644 index 0000000..2fcd0d8 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose1pack1anim1@animation.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose1pack1anim2@animation.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose1pack1anim2@animation.ycd new file mode 100644 index 0000000..fc50210 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose1pack1anim2@animation.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose2cmg@animation.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose2cmg@animation.ycd new file mode 100644 index 0000000..66151c6 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose2cmg@animation.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose2pack1anim1@animation.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose2pack1anim1@animation.ycd new file mode 100644 index 0000000..13d8152 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose2pack1anim1@animation.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose2pack1anim2@animation.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose2pack1anim2@animation.ycd new file mode 100644 index 0000000..ede7b10 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose2pack1anim2@animation.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose3pack1anim1@animation.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose3pack1anim1@animation.ycd new file mode 100644 index 0000000..2b23ef8 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose3pack1anim1@animation.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose3pack1anim2@animation.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose3pack1anim2@animation.ycd new file mode 100644 index 0000000..be89302 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/couplepose3pack1anim2@animation.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/skateboardposecmganimation.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/skateboardposecmganimation.ycd new file mode 100644 index 0000000..b57c880 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CMGMods/skateboardposecmganimation.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@couple13.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@couple13.ycd new file mode 100644 index 0000000..810972a Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@couple13.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@couple14.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@couple14.ycd new file mode 100644 index 0000000..ea53c35 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@couple14.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single12.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single12.ycd new file mode 100644 index 0000000..066b9c6 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single12.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single17.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single17.ycd new file mode 100644 index 0000000..2bf5ada Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single17.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single23.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single23.ycd new file mode 100644 index 0000000..3a66a8b Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single23.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single47.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single47.ycd new file mode 100644 index 0000000..8c0a7e2 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single47.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single54.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single54.ycd new file mode 100644 index 0000000..9b98a66 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single54.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single63.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single63.ycd new file mode 100644 index 0000000..7f208bc Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single63.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single77.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single77.ycd new file mode 100644 index 0000000..1dde349 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single77.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single80.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single80.ycd new file mode 100644 index 0000000..af88445 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single80.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single81.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single81.ycd new file mode 100644 index 0000000..b3de72a Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@single81.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@skate1.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@skate1.ycd new file mode 100644 index 0000000..ead2954 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@skate1.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@skate2.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@skate2.ycd new file mode 100644 index 0000000..e7db6fe Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@skate2.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@skate4.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@skate4.ycd new file mode 100644 index 0000000..60d4a72 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ChocoholicAnimations/chocoholic@skate4.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@hlstr_7360_hold.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@hlstr_7360_hold.ycd new file mode 100644 index 0000000..6644c37 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@hlstr_7360_hold.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@hlstr_7360_torch.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@hlstr_7360_torch.ycd new file mode 100644 index 0000000..8ff64df Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@hlstr_7360_torch.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@hlstr_7360_walk.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@hlstr_7360_walk.ycd new file mode 100644 index 0000000..cba88b1 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@hlstr_7360_walk.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@holding_side_vest.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@holding_side_vest.ycd new file mode 100644 index 0000000..b07c01c Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@holding_side_vest.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@holding_siege_vest_side.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@holding_siege_vest_side.ycd new file mode 100644 index 0000000..6c2cc24 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@holding_siege_vest_side.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@holster_hold_there.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@holster_hold_there.ycd new file mode 100644 index 0000000..ed1e766 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@holster_hold_there.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@holster_walk_torch.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@holster_walk_torch.ycd new file mode 100644 index 0000000..9d4d037 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@holster_walk_torch.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@k9_pose.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@k9_pose.ycd new file mode 100644 index 0000000..89affb2 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@k9_pose.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@male@holding_radio.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@male@holding_radio.ycd new file mode 100644 index 0000000..1ebd3de Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@male@holding_radio.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@male@holding_vest.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@male@holding_vest.ycd new file mode 100644 index 0000000..d102918 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@male@holding_vest.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@male@holding_vest_2.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@male@holding_vest_2.ycd new file mode 100644 index 0000000..4f8364d Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@male@holding_vest_2.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@male@holding_vest_siege.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@male@holding_vest_siege.ycd new file mode 100644 index 0000000..359b74c Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@male@holding_vest_siege.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@male@holding_vest_siege_2.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@male@holding_vest_siege_2.ycd new file mode 100644 index 0000000..a940c7d Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@male@holding_vest_siege_2.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@male@prep_gears.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@male@prep_gears.ycd new file mode 100644 index 0000000..7926fe6 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@male@prep_gears.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@radio_left.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@radio_left.ycd new file mode 100644 index 0000000..4f2130b Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@radio_left.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@radio_pose_3.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@radio_pose_3.ycd new file mode 100644 index 0000000..3287a19 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@radio_pose_3.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@rifle_megaphone.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@rifle_megaphone.ycd new file mode 100644 index 0000000..ae141d0 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/CrunchyCat Poses/anim@rifle_megaphone.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Dollie_Mods/dollie_mods@follow_me_001.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Dollie_Mods/dollie_mods@follow_me_001.ycd new file mode 100644 index 0000000..aa050f6 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Dollie_Mods/dollie_mods@follow_me_001.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Dollie_Mods/dollie_mods@follow_me_002.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Dollie_Mods/dollie_mods@follow_me_002.ycd new file mode 100644 index 0000000..6931413 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Dollie_Mods/dollie_mods@follow_me_002.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/EnchantedBrwny/EnchantedBrwny@wedding1a.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/EnchantedBrwny/EnchantedBrwny@wedding1a.ycd new file mode 100644 index 0000000..2e05eff Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/EnchantedBrwny/EnchantedBrwny@wedding1a.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/EnchantedBrwny/EnchantedBrwny@wedding1b.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/EnchantedBrwny/EnchantedBrwny@wedding1b.ycd new file mode 100644 index 0000000..5d00323 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/EnchantedBrwny/EnchantedBrwny@wedding1b.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/EnchantedBrwny/EnchantedBrwny@wedding2a.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/EnchantedBrwny/EnchantedBrwny@wedding2a.ycd new file mode 100644 index 0000000..3a0c5c1 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/EnchantedBrwny/EnchantedBrwny@wedding2a.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/EnchantedBrwny/EnchantedBrwny@wedding2b.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/EnchantedBrwny/EnchantedBrwny@wedding2b.ycd new file mode 100644 index 0000000..47d63bc Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/EnchantedBrwny/EnchantedBrwny@wedding2b.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/GenesisMods/genesismods_kissme@kissfemale10.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/GenesisMods/genesismods_kissme@kissfemale10.ycd new file mode 100644 index 0000000..40af06d Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/GenesisMods/genesismods_kissme@kissfemale10.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/GenesisMods/genesismods_kissme@kissfemale8.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/GenesisMods/genesismods_kissme@kissfemale8.ycd new file mode 100644 index 0000000..af73e86 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/GenesisMods/genesismods_kissme@kissfemale8.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/GenesisMods/genesismods_kissme@kissfemale9.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/GenesisMods/genesismods_kissme@kissfemale9.ycd new file mode 100644 index 0000000..05bc3ba Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/GenesisMods/genesismods_kissme@kissfemale9.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/GenesisMods/genesismods_kissme@kissmale10.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/GenesisMods/genesismods_kissme@kissmale10.ycd new file mode 100644 index 0000000..5a2abdd Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/GenesisMods/genesismods_kissme@kissmale10.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/GenesisMods/genesismods_kissme@kissmale8.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/GenesisMods/genesismods_kissme@kissmale8.ycd new file mode 100644 index 0000000..8f8d477 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/GenesisMods/genesismods_kissme@kissmale8.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/GenesisMods/genesismods_kissme@kissmale9.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/GenesisMods/genesismods_kissme@kissmale9.ycd new file mode 100644 index 0000000..beb4fcd Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/GenesisMods/genesismods_kissme@kissmale9.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@friendship007.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@friendship007.ycd new file mode 100644 index 0000000..25a6d75 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@friendship007.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@friendship008.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@friendship008.ycd new file mode 100644 index 0000000..b2442e8 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@friendship008.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@selfie001.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@selfie001.ycd new file mode 100644 index 0000000..b34d368 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@selfie001.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@selfie002.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@selfie002.ycd new file mode 100644 index 0000000..e152c09 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@selfie002.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@selfie003.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@selfie003.ycd new file mode 100644 index 0000000..5c90563 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@selfie003.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@selfie004.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@selfie004.ycd new file mode 100644 index 0000000..34df200 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@selfie004.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@selfie005.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@selfie005.ycd new file mode 100644 index 0000000..ba5074e Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@selfie005.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@sexy003.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@sexy003.ycd new file mode 100644 index 0000000..aad128c Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@sexy003.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@sexy004.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@sexy004.ycd new file mode 100644 index 0000000..20be969 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@sexy004.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@sexy005.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@sexy005.ycd new file mode 100644 index 0000000..31ec757 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@sexy005.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@sexy006.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@sexy006.ycd new file mode 100644 index 0000000..b0167bc Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@sexy006.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@sexy009.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@sexy009.ycd new file mode 100644 index 0000000..2d99dd3 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@sexy009.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@sexy012.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@sexy012.ycd new file mode 100644 index 0000000..df2cfab Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/LittleSpoon/littlespoon@sexy012.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Mads/mads@police_reaching_holster.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Mads/mads@police_reaching_holster.ycd new file mode 100644 index 0000000..01ef808 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Mads/mads@police_reaching_holster.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/airforce@at_ease.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/airforce@at_ease.ycd new file mode 100644 index 0000000..e44beaa Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/airforce@at_ease.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/airforce@attention.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/airforce@attention.ycd new file mode 100644 index 0000000..e4d03c2 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/airforce@attention.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/airforce@parade_rest.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/airforce@parade_rest.ycd new file mode 100644 index 0000000..8d4ef0a Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/airforce@parade_rest.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/airforce@salute.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/airforce@salute.ycd new file mode 100644 index 0000000..7087027 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/airforce@salute.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/crouching@taking_selfie.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/crouching@taking_selfie.ycd new file mode 100644 index 0000000..dda0eb5 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/crouching@taking_selfie.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/holding_wine@taking_selfie.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/holding_wine@taking_selfie.ycd new file mode 100644 index 0000000..3cdb820 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/holding_wine@taking_selfie.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/hooman@hugging_little_doggy.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/hooman@hugging_little_doggy.ycd new file mode 100644 index 0000000..5d93f26 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/hooman@hugging_little_doggy.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/little_doggy@hugging_hooman.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/little_doggy@hugging_hooman.ycd new file mode 100644 index 0000000..9c55375 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/little_doggy@hugging_hooman.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/lying@on_couch_legs_crossed.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/lying@on_couch_legs_crossed.ycd new file mode 100644 index 0000000..f62f54a Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/lying@on_couch_legs_crossed.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/lying@on_grass.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/lying@on_grass.ycd new file mode 100644 index 0000000..7b11276 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/lying@on_grass.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/mirror_selfie@peace_sign.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/mirror_selfie@peace_sign.ycd new file mode 100644 index 0000000..0c87f4e Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/mirror_selfie@peace_sign.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/misssnowie@gatlax.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/misssnowie@gatlax.ycd new file mode 100644 index 0000000..96b6691 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/misssnowie@gatlax.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/misssnowie@hearthands.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/misssnowie@hearthands.ycd new file mode 100644 index 0000000..ac54ea5 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/misssnowie@hearthands.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/misssnowie@little_doggy_lying_down.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/misssnowie@little_doggy_lying_down.ycd new file mode 100644 index 0000000..facefec Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/misssnowie@little_doggy_lying_down.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/playing@with_controller.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/playing@with_controller.ycd new file mode 100644 index 0000000..b89215e Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/playing@with_controller.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/sign@hang_loose.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/sign@hang_loose.ycd new file mode 100644 index 0000000..25716fe Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/sign@hang_loose.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/sign@hang_loose_casual.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/sign@hang_loose_casual.ycd new file mode 100644 index 0000000..fdb68bc Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/sign@hang_loose_casual.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/uwu@egirl.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/uwu@egirl.ycd new file mode 100644 index 0000000..80f0567 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/uwu@egirl.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/watch@looking_at.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/watch@looking_at.ycd new file mode 100644 index 0000000..e1ee793 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MissSnowieEmotes/watch@looking_at.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MollyEmotes/beachanims@free.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MollyEmotes/beachanims@free.ycd new file mode 100644 index 0000000..f8fbf1f Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MollyEmotes/beachanims@free.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MollyEmotes/beachanims@molly.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MollyEmotes/beachanims@molly.ycd new file mode 100644 index 0000000..4e1b564 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MollyEmotes/beachanims@molly.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MollyEmotes/molly@boombox1.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MollyEmotes/molly@boombox1.ycd new file mode 100644 index 0000000..3ee8e1b Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MollyEmotes/molly@boombox1.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MollyEmotes/molly@megaphone.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MollyEmotes/molly@megaphone.ycd new file mode 100644 index 0000000..abe44bc Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MollyEmotes/molly@megaphone.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MollyEmotes/molly@megaphone2.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MollyEmotes/molly@megaphone2.ycd new file mode 100644 index 0000000..38542e1 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/MollyEmotes/molly@megaphone2.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p1.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p1.ycd new file mode 100644 index 0000000..9477de1 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p1.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p10.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p10.ycd new file mode 100644 index 0000000..e96cbf8 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p10.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p2.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p2.ycd new file mode 100644 index 0000000..8035fde Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p2.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p3.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p3.ycd new file mode 100644 index 0000000..8b7e715 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p3.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p4.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p4.ycd new file mode 100644 index 0000000..a1babea Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p4.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p5.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p5.ycd new file mode 100644 index 0000000..466b2ea Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p5.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p6.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p6.ycd new file mode 100644 index 0000000..a45b307 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p6.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p7.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p7.ycd new file mode 100644 index 0000000..558cd8a Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p7.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p8.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p8.ycd new file mode 100644 index 0000000..b95e059 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p8.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p9.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p9.ycd new file mode 100644 index 0000000..8911e5c Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Prue/lunyx@mic@p9.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freepose01.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freepose01.ycd new file mode 100644 index 0000000..682125e Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freepose01.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freepose02.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freepose02.ycd new file mode 100644 index 0000000..a22cb96 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freepose02.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freepose03.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freepose03.ycd new file mode 100644 index 0000000..99eaf91 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freepose03.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freepose04.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freepose04.ycd new file mode 100644 index 0000000..9b7262a Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freepose04.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freeselfie01.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freeselfie01.ycd new file mode 100644 index 0000000..fb69858 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freeselfie01.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freeselfie02.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freeselfie02.ycd new file mode 100644 index 0000000..edbd7a6 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freeselfie02.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freeselfie03.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freeselfie03.ycd new file mode 100644 index 0000000..b3f0b89 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Pupppy/pupppy@freeselfie03.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/QueenSistersAnimations/fuckyouselfie@queensisters.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/QueenSistersAnimations/fuckyouselfie@queensisters.ycd new file mode 100644 index 0000000..c3a7593 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/QueenSistersAnimations/fuckyouselfie@queensisters.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/QueenSistersAnimations/handkylie@queensisters.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/QueenSistersAnimations/handkylie@queensisters.ycd new file mode 100644 index 0000000..6b9a76a Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/QueenSistersAnimations/handkylie@queensisters.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/QueenSistersAnimations/heartselfiemirror@queensisters.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/QueenSistersAnimations/heartselfiemirror@queensisters.ycd new file mode 100644 index 0000000..ebc3197 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/QueenSistersAnimations/heartselfiemirror@queensisters.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/QueenSistersAnimations/selfiekilye@queensisters.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/QueenSistersAnimations/selfiekilye@queensisters.ycd new file mode 100644 index 0000000..0fc6a66 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/QueenSistersAnimations/selfiekilye@queensisters.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/QueenSistersAnimations/sitdownonknees@queensisters.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/QueenSistersAnimations/sitdownonknees@queensisters.ycd new file mode 100644 index 0000000..fc9498f Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/QueenSistersAnimations/sitdownonknees@queensisters.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/QueenSistersAnimations/sitkylie@queensisters.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/QueenSistersAnimations/sitkylie@queensisters.ycd new file mode 100644 index 0000000..8fee68f Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/QueenSistersAnimations/sitkylie@queensisters.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx@piggypack_a.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx@piggypack_a.ycd new file mode 100644 index 0000000..01c7eab Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx@piggypack_a.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx@piggypack_b.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx@piggypack_b.ycd new file mode 100644 index 0000000..7af1b59 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx@piggypack_b.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx@pose2.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx@pose2.ycd new file mode 100644 index 0000000..404162e Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx@pose2.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_1_a.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_1_a.ycd new file mode 100644 index 0000000..09c4d47 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_1_a.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_1_b.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_1_b.ycd new file mode 100644 index 0000000..5898cab Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_1_b.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_2_a.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_2_a.ycd new file mode 100644 index 0000000..2cc7752 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_2_a.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_2_b.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_2_b.ycd new file mode 100644 index 0000000..b12a518 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_2_b.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_3_a.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_3_a.ycd new file mode 100644 index 0000000..c26c78f Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_3_a.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_3_b.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_3_b.ycd new file mode 100644 index 0000000..e6c10a1 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_3_b.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_4_a.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_4_a.ycd new file mode 100644 index 0000000..ec22a85 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_4_a.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_4_b.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_4_b.ycd new file mode 100644 index 0000000..04a36e0 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/SapphireMods/mx_couple5_4_b.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@egirl_1foot_selfie.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@egirl_1foot_selfie.ycd new file mode 100644 index 0000000..344d1a6 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@egirl_1foot_selfie.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_beach_booty_selfie.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_beach_booty_selfie.ycd new file mode 100644 index 0000000..0d34630 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_beach_booty_selfie.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_couple_01.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_couple_01.ycd new file mode 100644 index 0000000..5745419 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_couple_01.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_couple_03.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_couple_03.ycd new file mode 100644 index 0000000..984e25d Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_couple_03.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_couple_03_b.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_couple_03_b.ycd new file mode 100644 index 0000000..73bf814 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_couple_03_b.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_egirl_cute_selfie.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_egirl_cute_selfie.ycd new file mode 100644 index 0000000..58c9c1b Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_egirl_cute_selfie.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_floor_slutarch_selfie.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_floor_slutarch_selfie.ycd new file mode 100644 index 0000000..6bef477 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_floor_slutarch_selfie.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_gunbunny_rifle_photo.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_gunbunny_rifle_photo.ycd new file mode 100644 index 0000000..70c50fe Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_gunbunny_rifle_photo.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_laying_sexy.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_laying_sexy.ycd new file mode 100644 index 0000000..47bb0f0 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_laying_sexy.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_model_photo_cute.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_model_photo_cute.ycd new file mode 100644 index 0000000..8578e9e Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_model_photo_cute.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_model_showoff.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_model_showoff.ycd new file mode 100644 index 0000000..caea652 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_model_showoff.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_model_showoff_two.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_model_showoff_two.ycd new file mode 100644 index 0000000..b99f0b7 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_model_showoff_two.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_selfie_cute.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_selfie_cute.ycd new file mode 100644 index 0000000..3926365 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_selfie_cute.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_selfie_risque.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_selfie_risque.ycd new file mode 100644 index 0000000..01924fe Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@female_selfie_risque.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@fuck_you_selfie.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@fuck_you_selfie.ycd new file mode 100644 index 0000000..ebe57b3 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@fuck_you_selfie.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_basketball_03.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_basketball_03.ycd new file mode 100644 index 0000000..b08e97f Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_basketball_03.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_bskball_hold.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_bskball_hold.ycd new file mode 100644 index 0000000..3eaf262 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_bskball_hold.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_bskball_photo_pose.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_bskball_photo_pose.ycd new file mode 100644 index 0000000..ebf8378 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_bskball_photo_pose.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_couple_01.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_couple_01.ycd new file mode 100644 index 0000000..528b265 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_couple_01.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_couple_03.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_couple_03.ycd new file mode 100644 index 0000000..bed5c53 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_couple_03.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_couple_03_b.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_couple_03_b.ycd new file mode 100644 index 0000000..f040ac2 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_couple_03_b.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_insta_selfie.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_insta_selfie.ycd new file mode 100644 index 0000000..0f1a88b Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@male_insta_selfie.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@model_kylie_insta.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@model_kylie_insta.ycd new file mode 100644 index 0000000..ce0fb24 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@model_kylie_insta.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@selfie_floor_cute.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@selfie_floor_cute.ycd new file mode 100644 index 0000000..4062c0d Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@selfie_floor_cute.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@sitting_thot.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@sitting_thot.ycd new file mode 100644 index 0000000..956d1ba Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/Struggleville/anim@sitting_thot.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_sitting_folded.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_sitting_folded.ycd new file mode 100644 index 0000000..29c92ae Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_sitting_folded.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_sitting_forward.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_sitting_forward.ycd new file mode 100644 index 0000000..7a386af Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_sitting_forward.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_sitting_laptop.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_sitting_laptop.ycd new file mode 100644 index 0000000..a61504d Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_sitting_laptop.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_sitting_selfie.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_sitting_selfie.ycd new file mode 100644 index 0000000..64a72c9 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_sitting_selfie.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_sitting_tablet.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_sitting_tablet.ycd new file mode 100644 index 0000000..db79b78 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_sitting_tablet.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_smart_sitting.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_smart_sitting.ycd new file mode 100644 index 0000000..44581f1 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_smart_sitting.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_smart_sitting_crossed.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_smart_sitting_crossed.ycd new file mode 100644 index 0000000..81ec8a9 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@female_smart_sitting_crossed.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@femalearmchair.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@femalearmchair.ycd new file mode 100644 index 0000000..d051a96 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WhiskerValeMods/mouse@femalearmchair.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WolfSquareEmotes/eagle@boypose04.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WolfSquareEmotes/eagle@boypose04.ycd new file mode 100644 index 0000000..2aae55b Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WolfSquareEmotes/eagle@boypose04.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WolfSquareEmotes/eagle@boypose05.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WolfSquareEmotes/eagle@boypose05.ycd new file mode 100644 index 0000000..6b3dd21 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WolfSquareEmotes/eagle@boypose05.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WolfSquareEmotes/eagle@girlphonepose13.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WolfSquareEmotes/eagle@girlphonepose13.ycd new file mode 100644 index 0000000..87ae17a Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WolfSquareEmotes/eagle@girlphonepose13.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WolfSquareEmotes/eagle@girlphonepose21.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WolfSquareEmotes/eagle@girlphonepose21.ycd new file mode 100644 index 0000000..6698268 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/WolfSquareEmotes/eagle@girlphonepose21.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ultrahacx/custom@police.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ultrahacx/custom@police.ycd new file mode 100644 index 0000000..a0bbf83 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ultrahacx/custom@police.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ultrahacx/ultra@propose.ycd b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ultrahacx/ultra@propose.ycd new file mode 100644 index 0000000..0b65890 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Custom Emotes]/ultrahacx/ultra@propose.ycd differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/Brummiee/brum_heart.ydr b/resources/[standalone]/dpemotes/stream/[Props]/Brummiee/brum_heart.ydr new file mode 100644 index 0000000..3ce5ce0 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/Brummiee/brum_heart.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/Brummiee/brum_heart.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/Brummiee/brum_heart.ytyp new file mode 100644 index 0000000..eabc4ab Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/Brummiee/brum_heart.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/Brummiee/brum_heartfrappe.ydr b/resources/[standalone]/dpemotes/stream/[Props]/Brummiee/brum_heartfrappe.ydr new file mode 100644 index 0000000..860dd6e Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/Brummiee/brum_heartfrappe.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/Brummiee/brum_heartfrappe.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/Brummiee/brum_heartfrappe.ytyp new file mode 100644 index 0000000..f8ca655 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/Brummiee/brum_heartfrappe.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_dessert_a.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_dessert_a.ydr new file mode 100644 index 0000000..2b72744 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_dessert_a.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_dessert_a.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_dessert_a.ytyp new file mode 100644 index 0000000..478bb54 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_dessert_a.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_icecream_pack.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_icecream_pack.ytyp new file mode 100644 index 0000000..d35d1d2 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_icecream_pack.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas22.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas22.ytyp new file mode 100644 index 0000000..5d6f14d Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas22.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_gingerbread_a.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_gingerbread_a.ydr new file mode 100644 index 0000000..5961862 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_gingerbread_a.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_lollipop_a.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_lollipop_a.ydr new file mode 100644 index 0000000..8a156d7 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_lollipop_a.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_lollipop_b.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_lollipop_b.ydr new file mode 100644 index 0000000..3592d34 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_lollipop_b.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_lollipop_c.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_lollipop_c.ydr new file mode 100644 index 0000000..d8500e0 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_lollipop_c.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_lollipop_d.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_lollipop_d.ydr new file mode 100644 index 0000000..fd51248 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_lollipop_d.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_lollipop_e.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_lollipop_e.ydr new file mode 100644 index 0000000..aea80a8 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_lollipop_e.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_macaroon_a.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_macaroon_a.ydr new file mode 100644 index 0000000..c5aa7a8 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_macaroon_a.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_mug_a.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_mug_a.ydr new file mode 100644 index 0000000..5162eaa Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_mug_a.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_mug_b.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_mug_b.ydr new file mode 100644 index 0000000..39a9ddc Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_mug_b.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_mulled_wine_a.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_mulled_wine_a.ydr new file mode 100644 index 0000000..9c7a62e Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_food_xmas_mulled_wine_a.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_foodpack.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_foodpack.ytyp new file mode 100644 index 0000000..60c254b Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_foodpack.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_foodpack_croissant001.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_foodpack_croissant001.ydr new file mode 100644 index 0000000..84e3052 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_foodpack_croissant001.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_foodpack_donut001.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_foodpack_donut001.ydr new file mode 100644 index 0000000..fe13c12 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_foodpack_donut001.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_foodpack_donut002.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_foodpack_donut002.ydr new file mode 100644 index 0000000..9c2bde8 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_foodpack_donut002.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_cherry.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_cherry.ydr new file mode 100644 index 0000000..2987306 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_cherry.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_chocolate.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_chocolate.ydr new file mode 100644 index 0000000..b85d1a3 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_chocolate.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_lemon.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_lemon.ydr new file mode 100644 index 0000000..9073f6e Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_lemon.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_pistachio.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_pistachio.ydr new file mode 100644 index 0000000..af35f85 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_pistachio.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_raspberry.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_raspberry.ydr new file mode 100644 index 0000000..f75cb6c Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_raspberry.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_stracciatella.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_stracciatella.ydr new file mode 100644 index 0000000..d027d5d Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_stracciatella.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_strawberry.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_strawberry.ydr new file mode 100644 index 0000000..d97ee5e Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_strawberry.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_walnut.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_walnut.ydr new file mode 100644 index 0000000..ec861bd Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_icecream_walnut.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_baby_001.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_baby_001.ydr new file mode 100644 index 0000000..ae2ff16 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_baby_001.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_baby_001.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_baby_001.ytyp new file mode 100644 index 0000000..ff24e2c Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_baby_001.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_birthday_001.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_birthday_001.ydr new file mode 100644 index 0000000..10eaf0e Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_birthday_001.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_birthday_001.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_birthday_001.ytyp new file mode 100644 index 0000000..7998923 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_birthday_001.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_casino001.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_casino001.ydr new file mode 100644 index 0000000..3f1568e Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_casino001.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_casino001.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_casino001.ytyp new file mode 100644 index 0000000..196ee4a Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_casino001.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_love_001.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_love_001.ydr new file mode 100644 index 0000000..589d4e4 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_love_001.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_love_001.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_love_001.ytyp new file mode 100644 index 0000000..eef1637 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_cake_love_001.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_gift_orange.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_gift_orange.ydr new file mode 100644 index 0000000..e651bc3 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_gift_orange.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_gift_purple.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_gift_purple.ydr new file mode 100644 index 0000000..4612ea9 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_gift_purple.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_give_gift.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_give_gift.ytyp new file mode 100644 index 0000000..ee36a4d Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_give_gift.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_torch_fire001.ydr b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_torch_fire001.ydr new file mode 100644 index 0000000..63df57d Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_torch_fire001.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_torch_fire001.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_torch_fire001.ytyp new file mode 100644 index 0000000..49115f7 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/BzzziProps/bzzz_prop_torch_fire001.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/CandyApple/apple_1.ydr b/resources/[standalone]/dpemotes/stream/[Props]/CandyApple/apple_1.ydr new file mode 100644 index 0000000..6e03a30 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/CandyApple/apple_1.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/CandyApple/apple_1.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/CandyApple/apple_1.ytyp new file mode 100644 index 0000000..4c71dc9 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/CandyApple/apple_1.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/CandyApple/candy_1_texture.ytd b/resources/[standalone]/dpemotes/stream/[Props]/CandyApple/candy_1_texture.ytd new file mode 100644 index 0000000..13f5442 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/CandyApple/candy_1_texture.ytd differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/Crowded1337/lambert1_albedo.dds b/resources/[standalone]/dpemotes/stream/[Props]/Crowded1337/lambert1_albedo.dds new file mode 100644 index 0000000..e194185 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/Crowded1337/lambert1_albedo.dds differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/Crowded1337/lambert1_normal.dds b/resources/[standalone]/dpemotes/stream/[Props]/Crowded1337/lambert1_normal.dds new file mode 100644 index 0000000..7b110ee Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/Crowded1337/lambert1_normal.dds differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/Crowded1337/prop_amb_handbag_01.ydr b/resources/[standalone]/dpemotes/stream/[Props]/Crowded1337/prop_amb_handbag_01.ydr new file mode 100644 index 0000000..d0b9cce Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/Crowded1337/prop_amb_handbag_01.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/FixedClipboard/p_cs_clipboard.ydr b/resources/[standalone]/dpemotes/stream/[Props]/FixedClipboard/p_cs_clipboard.ydr new file mode 100644 index 0000000..d784081 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/FixedClipboard/p_cs_clipboard.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/KayKayMods/gremlin_plush.ydr b/resources/[standalone]/dpemotes/stream/[Props]/KayKayMods/gremlin_plush.ydr new file mode 100644 index 0000000..e98c270 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/KayKayMods/gremlin_plush.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/KayKayMods/kaykaymods_props.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/KayKayMods/kaykaymods_props.ytyp new file mode 100644 index 0000000..500ba3f Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/KayKayMods/kaykaymods_props.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/KayKayMods/starbuckscup.ydr b/resources/[standalone]/dpemotes/stream/[Props]/KayKayMods/starbuckscup.ydr new file mode 100644 index 0000000..219a869 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/KayKayMods/starbuckscup.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/KnjghPizzaSlices/knjgh_pizzas.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/KnjghPizzaSlices/knjgh_pizzas.ytyp new file mode 100644 index 0000000..036aa34 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/KnjghPizzaSlices/knjgh_pizzas.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/KnjghPizzaSlices/knjgh_pizzaslice1.ydr b/resources/[standalone]/dpemotes/stream/[Props]/KnjghPizzaSlices/knjgh_pizzaslice1.ydr new file mode 100644 index 0000000..73c447d Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/KnjghPizzaSlices/knjgh_pizzaslice1.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/KnjghPizzaSlices/knjgh_pizzaslice2.ydr b/resources/[standalone]/dpemotes/stream/[Props]/KnjghPizzaSlices/knjgh_pizzaslice2.ydr new file mode 100644 index 0000000..3a86501 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/KnjghPizzaSlices/knjgh_pizzaslice2.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/KnjghPizzaSlices/knjgh_pizzaslice3.ydr b/resources/[standalone]/dpemotes/stream/[Props]/KnjghPizzaSlices/knjgh_pizzaslice3.ydr new file mode 100644 index 0000000..9b0c4ba Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/KnjghPizzaSlices/knjgh_pizzaslice3.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/KnjghPizzaSlices/knjgh_pizzaslice4.ydr b/resources/[standalone]/dpemotes/stream/[Props]/KnjghPizzaSlices/knjgh_pizzaslice4.ydr new file mode 100644 index 0000000..1e21730 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/KnjghPizzaSlices/knjgh_pizzaslice4.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/KnjghPizzaSlices/knjgh_pizzaslice5.ydr b/resources/[standalone]/dpemotes/stream/[Props]/KnjghPizzaSlices/knjgh_pizzaslice5.ydr new file mode 100644 index 0000000..f491ea9 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/KnjghPizzaSlices/knjgh_pizzaslice5.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop01.ydr b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop01.ydr new file mode 100644 index 0000000..135508a Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop01.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop02.ydr b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop02.ydr new file mode 100644 index 0000000..4d59481 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop02.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop03.ydr b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop03.ydr new file mode 100644 index 0000000..508d7d5 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop03.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop04.ydr b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop04.ydr new file mode 100644 index 0000000..c1ec050 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop04.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop05.ydr b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop05.ydr new file mode 100644 index 0000000..648a8b4 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop05.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spin01.ydr b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spin01.ydr new file mode 100644 index 0000000..3541e8d Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spin01.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spin02.ydr b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spin02.ydr new file mode 100644 index 0000000..b3404e6 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spin02.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spin03.ydr b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spin03.ydr new file mode 100644 index 0000000..6c9ff6f Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spin03.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spin04.ydr b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spin04.ydr new file mode 100644 index 0000000..fe1ae19 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spin04.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spin05.ydr b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spin05.ydr new file mode 100644 index 0000000..2ef40a4 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spin05.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spiral01.ydr b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spiral01.ydr new file mode 100644 index 0000000..cbac639 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spiral01.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spiral02.ydr b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spiral02.ydr new file mode 100644 index 0000000..e13d8e4 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spiral02.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spiral03.ydr b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spiral03.ydr new file mode 100644 index 0000000..e87d6f0 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spiral03.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spiral04.ydr b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spiral04.ydr new file mode 100644 index 0000000..fb030c3 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spiral04.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spiral05.ydr b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spiral05.ydr new file mode 100644 index 0000000..a180480 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spiral05.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spiral06.ydr b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spiral06.ydr new file mode 100644 index 0000000..65c8da6 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_lollipop_spiral06.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_props_lollipops.ytd b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_props_lollipops.ytd new file mode 100644 index 0000000..4569d61 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_props_lollipops.ytd differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_props_lollipops.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_props_lollipops.ytyp new file mode 100644 index 0000000..04e1c09 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/NattyLollipops/natty_props_lollipops.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_cake.ydr b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_cake.ydr new file mode 100644 index 0000000..19b56d9 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_cake.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_cake.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_cake.ytyp new file mode 100644 index 0000000..1177aa1 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_cake.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_cake2.ydr b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_cake2.ydr new file mode 100644 index 0000000..09421b2 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_cake2.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_cake3.ydr b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_cake3.ydr new file mode 100644 index 0000000..fdd0056 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_cake3.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_christmasfood.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_christmasfood.ytyp new file mode 100644 index 0000000..7dba11d Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_christmasfood.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_christmasfood1.ydr b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_christmasfood1.ydr new file mode 100644 index 0000000..5d117d4 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_christmasfood1.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_christmasfood2.ydr b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_christmasfood2.ydr new file mode 100644 index 0000000..8b603ba Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_christmasfood2.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_christmasfood6.ydr b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_christmasfood6.ydr new file mode 100644 index 0000000..6e6f6c3 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_christmasfood6.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_christmasfood7.ydr b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_christmasfood7.ydr new file mode 100644 index 0000000..a783425 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_christmasfood7.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_christmasfood8.ydr b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_christmasfood8.ydr new file mode 100644 index 0000000..2bb6ceb Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_christmasfood8.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_freevalentinesday.ydr b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_freevalentinesday.ydr new file mode 100644 index 0000000..8a9a943 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_freevalentinesday.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_freevalentinesday.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_freevalentinesday.ytyp new file mode 100644 index 0000000..69ea65d Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_freevalentinesday.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_freevalentinesday2.ydr b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_freevalentinesday2.ydr new file mode 100644 index 0000000..a426556 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_freevalentinesday2.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_freevalentinesday3.ydr b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_freevalentinesday3.ydr new file mode 100644 index 0000000..c194f72 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/PataMods/pata_freevalentinesday3.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag1.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag1.ydr new file mode 100644 index 0000000..88305d9 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag1.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag2.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag2.ydr new file mode 100644 index 0000000..52dffa4 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag2.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag3.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag3.ydr new file mode 100644 index 0000000..6af974a Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag3.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag4.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag4.ydr new file mode 100644 index 0000000..77481fe Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag4.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag5.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag5.ydr new file mode 100644 index 0000000..1c31f05 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag5.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag6.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag6.ydr new file mode 100644 index 0000000..62bd6f6 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag6.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag7.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag7.ydr new file mode 100644 index 0000000..070283c Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag7.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag8.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag8.ydr new file mode 100644 index 0000000..e1612a4 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag8.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag9.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag9.ydr new file mode 100644 index 0000000..53b7397 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/lilprideflag9.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/pride_sign_01.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/pride_sign_01.ydr new file mode 100644 index 0000000..0807baf Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/pride_sign_01.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag1.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag1.ydr new file mode 100644 index 0000000..6f221d8 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag1.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag2.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag2.ydr new file mode 100644 index 0000000..31a5875 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag2.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag3.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag3.ydr new file mode 100644 index 0000000..9545260 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag3.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag4.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag4.ydr new file mode 100644 index 0000000..16fb130 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag4.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag5.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag5.ydr new file mode 100644 index 0000000..6b289cc Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag5.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag6.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag6.ydr new file mode 100644 index 0000000..4550d75 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag6.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag7.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag7.ydr new file mode 100644 index 0000000..2f177e5 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag7.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag8.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag8.ydr new file mode 100644 index 0000000..8270017 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag8.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag9.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag9.ydr new file mode 100644 index 0000000..fbda9ba Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prideflag9.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_phone_taymckenzienz.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_phone_taymckenzienz.ydr new file mode 100644 index 0000000..5d168d1 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_phone_taymckenzienz.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_phone_taymckenzienz.ytd b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_phone_taymckenzienz.ytd new file mode 100644 index 0000000..47b642e Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_phone_taymckenzienz.ytd differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_rpemotes_soda01.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_rpemotes_soda01.ydr new file mode 100644 index 0000000..8117957 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_rpemotes_soda01.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_rpemotes_soda02.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_rpemotes_soda02.ydr new file mode 100644 index 0000000..a8311ca Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_rpemotes_soda02.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_rpemotes_soda03.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_rpemotes_soda03.ydr new file mode 100644 index 0000000..f1a8ad6 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_rpemotes_soda03.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_rpemotes_soda04.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_rpemotes_soda04.ydr new file mode 100644 index 0000000..7a70ff0 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_rpemotes_soda04.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_taymckenzienz_popcorn.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_taymckenzienz_popcorn.ydr new file mode 100644 index 0000000..2d9031a Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/prop_taymckenzienz_popcorn.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/taymckenzienz_rpemotes.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/taymckenzienz_rpemotes.ytyp new file mode 100644 index 0000000..0c8ccfe Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/taymckenzienz_rpemotes.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/taymckenzienz_skateboard01.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/taymckenzienz_skateboard01.ydr new file mode 100644 index 0000000..a94d5b8 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/taymckenzienz_skateboard01.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/taymckenzienz_skateboard02.ydr b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/taymckenzienz_skateboard02.ydr new file mode 100644 index 0000000..115370b Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/TayMcKenzieNZ/taymckenzienz_skateboard02.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/UltraRingCase/ultra_ringcase.ydr b/resources/[standalone]/dpemotes/stream/[Props]/UltraRingCase/ultra_ringcase.ydr new file mode 100644 index 0000000..f0cf39f Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/UltraRingCase/ultra_ringcase.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/UltraRingCase/ultra_ringcase.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/UltraRingCase/ultra_ringcase.ytyp new file mode 100644 index 0000000..61db038 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/UltraRingCase/ultra_ringcase.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/Umbrella/p_amb_brolly_01.ydr b/resources/[standalone]/dpemotes/stream/[Props]/Umbrella/p_amb_brolly_01.ydr new file mode 100644 index 0000000..8a508af Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/Umbrella/p_amb_brolly_01.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/badge1/_manifest.ymf b/resources/[standalone]/dpemotes/stream/[Props]/badge1/_manifest.ymf new file mode 100644 index 0000000..4d5d001 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/badge1/_manifest.ymf differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/badge1/badge1.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/badge1/badge1.ytyp new file mode 100644 index 0000000..c7d2446 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/badge1/badge1.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/badge1/prop_lspd_badge+hidr.ytd b/resources/[standalone]/dpemotes/stream/[Props]/badge1/prop_lspd_badge+hidr.ytd new file mode 100644 index 0000000..02b85a9 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/badge1/prop_lspd_badge+hidr.ytd differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/badge1/prop_lspd_badge.ydr b/resources/[standalone]/dpemotes/stream/[Props]/badge1/prop_lspd_badge.ydr new file mode 100644 index 0000000..6d40597 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/badge1/prop_lspd_badge.ydr differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/badge2/_manifest.ymf b/resources/[standalone]/dpemotes/stream/[Props]/badge2/_manifest.ymf new file mode 100644 index 0000000..4d5d001 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/badge2/_manifest.ymf differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/badge2/copbadge.ytyp b/resources/[standalone]/dpemotes/stream/[Props]/badge2/copbadge.ytyp new file mode 100644 index 0000000..7b2aa47 Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/badge2/copbadge.ytyp differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/badge2/prop_cop_badge+hidr.ytd b/resources/[standalone]/dpemotes/stream/[Props]/badge2/prop_cop_badge+hidr.ytd new file mode 100644 index 0000000..41998bb Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/badge2/prop_cop_badge+hidr.ytd differ diff --git a/resources/[standalone]/dpemotes/stream/[Props]/badge2/prop_cop_badge.ydr b/resources/[standalone]/dpemotes/stream/[Props]/badge2/prop_cop_badge.ydr new file mode 100644 index 0000000..408aa3d Binary files /dev/null and b/resources/[standalone]/dpemotes/stream/[Props]/badge2/prop_cop_badge.ydr differ diff --git a/resources/[standalone]/es-antidump/README.md b/resources/[standalone]/es-antidump/README.md new file mode 100644 index 0000000..711aa0d --- /dev/null +++ b/resources/[standalone]/es-antidump/README.md @@ -0,0 +1,14 @@ +
+

EYES STORE

+
+ +- **_ESCKaybeden#0488_** +- **_! Raider#0101_** +- [**Discord**](https://discord.gg/EkwWvFS) +- [**Tebex**](https://eyestore.tebex.io/) + +FiveM Anti Dump + +If the cheat downloads the files, it encounters an empty folder, and the files are read in a one-time player with load. + +![xsss](https://user-images.githubusercontent.com/53000629/210183085-eceff8e9-e85e-4a11-92a1-24192b604c67.png) diff --git a/resources/[standalone]/es-antidump/fxmanifest.lua b/resources/[standalone]/es-antidump/fxmanifest.lua new file mode 100644 index 0000000..996025c --- /dev/null +++ b/resources/[standalone]/es-antidump/fxmanifest.lua @@ -0,0 +1,16 @@ +fx_version 'cerulean' + +-- Eyes Anti Dump / Support +-- discord.gg/EkwWvFS + +game "gta5" + +server_scripts { + "server.lua" +} + +client_scripts { + "loader.lua" +} + + diff --git a/resources/[standalone]/es-antidump/loader.lua b/resources/[standalone]/es-antidump/loader.lua new file mode 100644 index 0000000..d231625 --- /dev/null +++ b/resources/[standalone]/es-antidump/loader.lua @@ -0,0 +1,24 @@ +local name = GetCurrentResourceName() +local start = false +AddEventHandler('onClientResourceStart', function(resource) + if resource == name then + Citizen.Wait(700) + TriggerServerEvent(name..":send") + end +end) + +RegisterNetEvent(name..":get") +AddEventHandler(name..":get", function(scripts) + if start then return end + TriggerEvent("esx:showNotification", "~g~Client side loaded") + for k,v in pairs(scripts) do + local loaded, err = load(v) + if loaded then + loaded() + else + print("Kompilationsfejl:", err) + end + Citizen.Wait(10) + end + start = true +end) \ No newline at end of file diff --git a/resources/[standalone]/es-antidump/script/job.lua b/resources/[standalone]/es-antidump/script/job.lua new file mode 100644 index 0000000..ad61ac0 --- /dev/null +++ b/resources/[standalone]/es-antidump/script/job.lua @@ -0,0 +1 @@ +print('YIKES') \ No newline at end of file diff --git a/resources/[standalone]/es-antidump/server.lua b/resources/[standalone]/es-antidump/server.lua new file mode 100644 index 0000000..11c90f4 --- /dev/null +++ b/resources/[standalone]/es-antidump/server.lua @@ -0,0 +1,31 @@ +local name = GetCurrentResourceName() +local path = GetResourcePath(name).."/script/" +local script = { + "job", +} +local write = {} +function readAll(file) + local f = io.open(file, "rb") + local content = f:read("*all") + f:close() + return content +end +for i,v in pairs(script) do + local code = readAll(path..v..".lua") + write[v] = code +end + +local user = {} +RegisterServerEvent(name..":send", function() + local src = source + if not user[src] then + TriggerClientEvent(name..":get", src, write) + user[src] = true + else + print('CONNECT TRIGGER IF KICKLENICEK OR BANNING SCRIPT DOES NOT LOAD') + end +end) + +AddEventHandler('playerDropped', function() + user[source] = nil +end) \ No newline at end of file diff --git a/resources/[standalone]/hacking/README.md b/resources/[standalone]/hacking/README.md new file mode 100644 index 0000000..777a397 --- /dev/null +++ b/resources/[standalone]/hacking/README.md @@ -0,0 +1,32 @@ +# Hack minigame FiveM build +Because of our great contributors there is now a FiveM version. + +## ⚠ STILL IN ALPHA ⚠ +This version has just recently been released and is still being worked on. Excpect bugs! +Do you have knowledge with FiveM? Improve the code and your changes will happily be added. + + + +## Getting started +1. Download the folder `hacking` trough git or [here](https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/Jesper-Hustad/NoPixel-minigame/tree/main/fivem-script/hacking) +2. Drop it into your FiveM server in `server\resources\` +3. Implement the hack in your client-side lua file using the `open:minigame` trigger. + + +## Example implementation +Use the Success boolean variable. +In this example implementation the outcome is "1" if succesful and "2" if failure. +```lua +exports['hacking']:OpenHackingGame(20, 5, 5, function(Success) + print(Success) + if Success then + print("1") + else + print("2") + end +end) +``` + + +## FiveM documentation +Read about scripts in FiveM from the [FiveM Docs](https://docs.fivem.net/docs/scripting-manual/introduction/introduction-to-resources/). diff --git a/resources/[standalone]/hacking/client/main.lua b/resources/[standalone]/hacking/client/main.lua new file mode 100644 index 0000000..f4bba93 --- /dev/null +++ b/resources/[standalone]/hacking/client/main.lua @@ -0,0 +1,44 @@ +local IsHacking = false +local devMode = false + +AddEventHandler('open:minigame', function(callback) + Callbackk = callback + openHack() +end) + +function OpenHackingGame(puzzleDuration, puzzleLength, puzzleAmount, callback) + Callbackk = callback + openHack(puzzleDuration, puzzleLength, puzzleAmount) +end + +RegisterNUICallback('callback', function(data, cb) + closeHack() + Callbackk(data.success) + cb('ok') +end) + +function openHack(puzzleDuration, puzzleLength, puzzleAmount) + SetNuiFocus(true, true) + SendNUIMessage({ + action = "open", + duration = puzzleDuration, + length = puzzleLength, + amount = puzzleAmount, + dev = devMode + }) + IsHacking = true +end + +function closeHack() + SetNuiFocus(false, false) + IsHacking = false +end + +function GetHackingStatus() + return IsHacking +end + +RegisterCommand('lhdev', function() + devMode = not devMode + print(devMode) +end) \ No newline at end of file diff --git a/resources/[standalone]/hacking/fxmanifest.lua b/resources/[standalone]/hacking/fxmanifest.lua new file mode 100644 index 0000000..852f453 --- /dev/null +++ b/resources/[standalone]/hacking/fxmanifest.lua @@ -0,0 +1,21 @@ +fx_version 'cerulean' +game 'gta5' + +ui_page 'html/index.html' + +client_scripts { + 'client/main.lua', +} + +files { + 'html/index.html', + 'html/*.css', + 'html/src/*.js', + 'html/assets/*.png', + 'html/assets/*.mp3' +} + +exports { + 'OpenHackingGame', + 'GetHackingStatus', +} \ No newline at end of file diff --git a/resources/[standalone]/hacking/html/assets/dialing.mp3 b/resources/[standalone]/hacking/html/assets/dialing.mp3 new file mode 100644 index 0000000..a80ea19 Binary files /dev/null and b/resources/[standalone]/hacking/html/assets/dialing.mp3 differ diff --git a/resources/[standalone]/hacking/html/assets/failed.png b/resources/[standalone]/hacking/html/assets/failed.png new file mode 100644 index 0000000..0374287 Binary files /dev/null and b/resources/[standalone]/hacking/html/assets/failed.png differ diff --git a/resources/[standalone]/hacking/html/assets/metronome.mp3 b/resources/[standalone]/hacking/html/assets/metronome.mp3 new file mode 100644 index 0000000..9ec2d32 Binary files /dev/null and b/resources/[standalone]/hacking/html/assets/metronome.mp3 differ diff --git a/resources/[standalone]/hacking/html/assets/spy-icon.png b/resources/[standalone]/hacking/html/assets/spy-icon.png new file mode 100644 index 0000000..d1b5d4c Binary files /dev/null and b/resources/[standalone]/hacking/html/assets/spy-icon.png differ diff --git a/resources/[standalone]/hacking/html/index.html b/resources/[standalone]/hacking/html/index.html new file mode 100644 index 0000000..3c739aa --- /dev/null +++ b/resources/[standalone]/hacking/html/index.html @@ -0,0 +1,61 @@ + + + + + + Hacking minigame + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/[standalone]/hacking/html/src/helpers.js b/resources/[standalone]/hacking/html/src/helpers.js new file mode 100644 index 0000000..3533dba --- /dev/null +++ b/resources/[standalone]/hacking/html/src/helpers.js @@ -0,0 +1,15 @@ +const $ = name => document.querySelector(name) +const delay = s => new Promise(res => setTimeout(res, s * 1000)); +const randomInt = (max) => Math.floor(Math.random() * Math.floor(max)) +const sample = (arr) => arr[randomInt(arr.length)] +const shuffleArray = (arr) => arr.map((a) => ({sort: Math.random(), value: a})).sort((a, b) => a.sort - b.sort).map((a) => a.value) + +function playSound(name, volume){ + const sound = new Audio(name) + sound.volume = volume || 0.15; + sound.play(); + return sound +} + + +export { $, delay, randomInt, sample, shuffleArray, playSound } \ No newline at end of file diff --git a/resources/[standalone]/hacking/html/src/puzzle-factory.js b/resources/[standalone]/hacking/html/src/puzzle-factory.js new file mode 100644 index 0000000..5205c7f --- /dev/null +++ b/resources/[standalone]/hacking/html/src/puzzle-factory.js @@ -0,0 +1,78 @@ +import { randomInt, sample } from './helpers.js' + +const SHAPES = ["square", "triangle", "rectangle", "circle"] +const COLORABLE = ['background', 'text', 'number', 'shape'] + +const COLORS = { + 'black' : 'black', + 'white' : 'white', + 'blue' : '#1991F9', + 'red' : '#8C0C00', + 'yellow' : '#FFE335', + 'orange' : '#FF9900', + 'green' : '#46A04F', + 'purple' : '#A43AB5', +} +const QUESTIONS = { + 'background color' : (d) => d.colors['background'], + 'text background color' : (d) => d.colors['text'], + 'number color' : (d) => d.colors['number'], + 'shape color' : (d) => d.colors['shape'], + 'color text' : (d) => d.text[0], + 'shape text' : (d) => d.text[1], + 'shape' : (d) => d.shape +} + +class PuzzleData { + constructor(shape, number, text, colors) { + this.shape = shape + this.number = number + this.text = text + this.colors = colors + } +} + +// generates a random puzzle +export function generateRandomPuzzle(){ + + const shape = sample(SHAPES) + const number = randomInt(9) + 1 + + const topText = sample(Object.keys(COLORS)) + const bottomText = sample(SHAPES) + + const colors = COLORABLE.reduce((obj, color) => {obj[color] = sample(Object.keys(COLORS)); return obj}, {}) + + // ensure shape and background don't blend + while(colors['text'] == colors['background']) + colors['text'] = sample(Object.keys(COLORS)) + + // ensure nothing blends with shape + while(['background', 'text', 'number'].map(i => colors[i]).includes(colors['shape'])) + colors['shape'] = sample(Object.keys(COLORS)) + + return new PuzzleData(shape, number, [topText, bottomText], colors) +} + + +export function generateQuestionAndAnswer(nums, puzzles){ + + const positionOne = randomInt(nums.length) + let tempPosTwo + do {tempPosTwo = randomInt(nums.length)} while(positionOne == tempPosTwo) + const positionTwo = tempPosTwo + + + const firstQuestion = sample(Object.keys(QUESTIONS)) + let tempSecondQuestion + do {tempSecondQuestion = sample(Object.keys(QUESTIONS))} while(tempSecondQuestion == firstQuestion) + const secondQuestion = tempSecondQuestion + + + + // this is confusing as hell, but works somehow + const question = `${firstQuestion} (${nums[positionOne]}) AND ${secondQuestion} (${nums[positionTwo]})` + const answer = QUESTIONS[firstQuestion](puzzles[positionOne]) + ' ' + QUESTIONS[secondQuestion](puzzles[positionTwo]) + + return [question, answer] +} \ No newline at end of file diff --git a/resources/[standalone]/hacking/html/src/puzzle-handler.js b/resources/[standalone]/hacking/html/src/puzzle-handler.js new file mode 100644 index 0000000..6a47b39 --- /dev/null +++ b/resources/[standalone]/hacking/html/src/puzzle-handler.js @@ -0,0 +1,89 @@ +import { $, shuffleArray, delay, playSound } from './helpers.js' +import { generateRandomPuzzle, generateQuestionAndAnswer } from './puzzle-factory.js' +import { getPuzzleSvg } from './svg-factory.js' + +const progressBar = $('.answer-progress-bar') +const inputElement = $('.answer-input') + +// handles generating puzzle and returning result +export async function doPuzzle(duration, puzzleA,dev){ + const puzzleTime = duration + const puzzleAmount = puzzleA + + // reset from previous run + $('.answer-section').classList.add('hidden') + $(".number-container").innerHTML = '' + + //Generate squares and puzzles + const squares = [...Array(puzzleAmount).keys()].map(i => { + let square = document.createElement('div') + square.id = `square-${i+1}` + square.className = 'square' + $('#number-container').appendChild(square) + return square + }) + const puzzles = [...Array(puzzleAmount)].map(_ => generateRandomPuzzle()) + + // generate numbers and display + const nums = shuffleArray([...Array(puzzleAmount)].map((v, i) => i+1)) + await displayNumbers(nums) + + const metronome = playSound('assets/metronome.mp3') + + // clear and focus input window + $('.answer-section').classList.remove('hidden') + inputElement.value = '' + inputElement.focus() + + // activate time remaining countdown bar + + progressBar.style.transition = `` + progressBar.classList.remove('answer-progress-bar-shrink') + await delay(0.1) + progressBar.style.transition = `width ${puzzleTime*1000}ms linear` + progressBar.classList.add('answer-progress-bar-shrink') + + + // display puzzle in squares + squares.forEach((square, i) => square.style.backgroundColor = puzzles[i].colors['background']) + squares.forEach((square, i) => square.innerHTML = getPuzzleSvg(puzzles[i])) + + // generate and display question + const [question, answer] = generateQuestionAndAnswer(nums, puzzles) + $('.answer-question').textContent = question.toUpperCase() + + // for learning purposes + if (dev == true){ + console.log(answer) + } + + return new Promise(async (resolve) => { + + // return written input and answer + inputElement.addEventListener("keyup", (event) => { + if (event.keyCode === 13) { + metronome.pause() + resolve([inputElement.value, answer]) + } + }); + + // return nothing by default if puzzleTime seconds go by + await delay(puzzleTime) + metronome.pause() + resolve([null, answer]) + }); +} + + +async function displayNumbers(numbers){ + + numbers.forEach((n, i) => $('#square-' + (i+1)).innerHTML = `
${n}
`) + + await delay(1.5) + numbers.forEach(n => $('#num-' + (n)).classList.add('number-shrink')) + await delay(1.5) +} + +// puzzle time settins +const timeRange = 7 +const puzzleRange = 4 \ No newline at end of file diff --git a/resources/[standalone]/hacking/html/src/script.js b/resources/[standalone]/hacking/html/src/script.js new file mode 100644 index 0000000..84973b4 --- /dev/null +++ b/resources/[standalone]/hacking/html/src/script.js @@ -0,0 +1,79 @@ +"use strict" + +import { $, delay, playSound } from './helpers.js' +import { doPuzzle } from './puzzle-handler.js' + +// runs on site load and handles entire flow +async function start(duration,puzzlelength,amount,dev){ + + // reset from previous + $('.try-again').classList.add('hidden') + $('.spy-icon').src = 'assets/spy-icon.png' + + const dialing = playSound('assets/dialing.mp3', 0.1) + + // mock loading screen + setInformationText('ESTABLISHING CONNECTION') + await delay(0.8) + setInformationText('DOING SOME HACKERMANS STUFF...') + await delay(1) + setInformationText('ACCESS CODE FLAGGED; REQUIRES HUMAN CAPTCHA INPUT..') + await delay(0.8) + + // hide text and show squares + $('#text-container').classList.toggle('hidden') + $('#number-container').classList.toggle('hidden') + + + // activate puzzle a times, break on fail + let submitted + let answer + let result = true + + for (let i = 0; i < amount && result; i++) { + [submitted, answer] = await doPuzzle(duration,puzzlelength,dev) + result = (submitted?.toLowerCase() == answer) + } + + // hide squares and show text + $('.answer-section').classList.add('hidden') + $('.number-container').classList.add('hidden') + $('#text-container').classList.remove('hidden') + + // display result + setInformationText((result) ? 'the system has been bypassed.' : "The system didn't accept your answers") + + if(!result) { + $('.spy-icon').src = 'assets/failed.png' + $('#answer-reveal').textContent = answer + await delay(5) + } + + fetch('https://hacking/callback', { + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify({ + success: result + }) + }); + + $(".bg").classList.add('hidden'); + + $('#submitted-reveal').textContent = (result) ? 'Good job, indeed the' : ((submitted == null) ? "The time ran out," : `You wrote "${submitted || ' '}", the`) +} + + +function setInformationText(text){ + + const capitalized = text.toUpperCase() + const infoText = `${capitalized.charAt(0)}${capitalized.substring(1)}` + + $("#loading-text").innerHTML = infoText +} + +window.addEventListener('message', function(event){ + if (event.data.action == "open") { + start(event.data.duration, event.data.length,event.data.amount, event.data.dev) + $(".bg").classList.remove('hidden'); + } +}) diff --git a/resources/[standalone]/hacking/html/src/svg-factory.js b/resources/[standalone]/hacking/html/src/svg-factory.js new file mode 100644 index 0000000..9ff45d3 --- /dev/null +++ b/resources/[standalone]/hacking/html/src/svg-factory.js @@ -0,0 +1,48 @@ +/** + * Generates a complete svg image from a PuzzleData object + * + * @param {PuzzleData} puzzleData + */ +export function getPuzzleSvg(puzzleData){ + + const textSize = 21 + const textWeigth = 'normal' + const textColor = puzzleData.colors['text'] + + const shapeSVG = createShape(puzzleData.shape, puzzleData.colors['shape']) + const topText = createText(puzzleData.text[0].toUpperCase(), textColor, textSize, textWeigth, 31) + const bottomText = createText(puzzleData.text[1].toUpperCase(), textColor, textSize, textWeigth, 67) + const numberText = createText(puzzleData.number, puzzleData.colors['number'], 60, 100, 50, 'Arial, Helvetica') + + return createSVG([shapeSVG, topText, bottomText, numberText]) +} + +// Takes multiple SVG strings and combines them to a svg +const createSVG = (elements) => ` ${elements.join("\n")} ` + +const createShape = (shape, color) => SHAPE_SVG[shape](color) + +const SHAPE_SVG = { + "square" : (c) => ``, + "triangle": (c) => ``, + "rectangle" : (c) =>``, + "circle" : (c) => ``, +} + + + +const createText = (text, color, size, weight, y, font) => ` + + ${text} + ` diff --git a/resources/[standalone]/hacking/html/style.css b/resources/[standalone]/hacking/html/style.css new file mode 100644 index 0000000..dcb2a57 --- /dev/null +++ b/resources/[standalone]/hacking/html/style.css @@ -0,0 +1,346 @@ +#overlay { + position: fixed; + display: none; + width: 100%; + height: 100%; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0,0,0,0.5); + z-index: 2; + cursor: pointer; +} + +#text{ + width: 45em; + height: 80%; + + padding: 4em; + + position: absolute; + top: 50%; + left: 50%; + font-size: 1em; + color: white; + transform: translate(-50%,-50%); + -ms-transform: translate(-50%,-50%); + background-color: var(--primary); + + font-family: Arial, Helvetica, sans-serif; + + overflow: auto; +} + +.tutorial-image{ + width: 100%; + border: rgba(255, 255, 255, 0.561) solid 2px; +} + +.time-display, .puzzle-display{ + padding: 5px; + background-color: rgba(0, 0, 0, 0.192); + font-weight: bolder; + font-size: large; +} + +.speed-control{ + position:absolute; + bottom:0px; + + margin: 20px; + padding: 8px; + + font-size: small; + font-family: Arial, Helvetica, sans-serif; + + color: white; + background-color: var(--secondary); +} + +#puzzle-control, #speed-control{ + margin-bottom: 8px; +} + +.puzzle-control{ + position:absolute; + bottom: 48px; + + margin: 20px; + padding: 8px; + + font-size: small; + font-family: Arial, Helvetica, sans-serif; + + color: white; + background-color: var(--secondary); +} + +/* make range slider fit better with style of site (rip firefox)*/ +input[type=range]::-webkit-slider-runnable-track { + height: 6px; + background: var(--primary); + border-radius: 1.3px; +} + +input[type=range]::-webkit-slider-thumb { margin-top: -5px; } + + +.speed-label{ + margin-left: 10px; + vertical-align: bottom; +} + + +.github-link{ + position:absolute; + bottom:8px; + right: 0px; + + padding: 10px; + margin: 15px; + + font-size: small; +} + +.question-button{ + position:absolute; + bottom:8px; + right: 70px; + + padding: 1px 10px 2px 10px; + margin: 15px; + + font-size: x-large; + font-family: 'Archivo Black', sans-serif; +} + +.credits{ + color: gray; + font-family: Arial, Helvetica, sans-serif; + font-size: 10px; + + position:absolute; + bottom:5px; + right: 5px; +} + +.try-again{ + text-align: center; + padding: 20px; + margin-top: 33em; + +} + +.try-again-hint{ + color: rgba(253, 253, 253, 0.267); + font-family: Arial, Helvetica, sans-serif; + font-size: smaller; + padding-top: 0em; + line-height: 5px; +} + +button{ + background-color: var(--secondary); + border: none; + color: white; + padding: 15px 32px; + text-align: center; + text-decoration: none; + display: inline-block; + font-size: 16px; +} + +button:hover{ + background-color: #243241; +} + +.answer-input-area{ + border-bottom: 2px solid rgb(255, 255, 255); + border-right: transparent; + border-top: transparent; + border-left: transparent; + background-color: rgba(0, 0, 0, 0); + +} + +.answer-input-icon{ + margin: 0; + display: inline-block; + vertical-align: top; + + width: 18px; + padding-top: 4px; +} + +.answer-box-description{ + text-align: left; + font-size: 12px; + margin-bottom: 5px; + + color: white; + font-weight: 100; + font-family: Arial, Helvetica, sans-serif; +} + +.answer-question{ + text-align: center; + margin-top: 170px; + color: white; +} + +.answer-input{ + color: white; + border: transparent; + background-color: rgba(0, 0, 0, 0); + padding: 5px; + + padding: 5px; + + display: inline-block; + vertical-align: top; + + font-size: 16px; + padding-top: 5px; + width: 170px; + +} + +::placeholder { + color: rgba(214, 215, 235, 0.507); +} + +.answer-box{ + margin: auto; + width: 210px; + margin-top: 20px; + text-align: center; + +} + +textarea:focus, input:focus{ + outline: none; +} + +.answer-countdown{ + + margin: 0; + position: absolute; + top: 70%; + left: 3%; + + border: #20242E; + width: 94%; + height: 4px; + background-color: #754E2E; +} + +.answer-progress-bar{ + background-color: #E7A26D; + width: 100%; + height: 100%; + margin: auto; + transition: width 0ms linear; + +} + +.answer-progress-bar-shrink{ + width: 0%; +} + +.number-container{ + display: flex; + justify-content: space-evenly; + padding-top: 7rem; + + text-align: center; + color: white; + + font-size: 10em; + + line-height: 1.3; + + font-family: Arial, Helvetica, sans-serif; +} + +.can-shrink{ + transform:scale(1); + transition: all 1500ms linear; +} + +.number-shrink{ + transform:scale(0); + transition: all 1500ms linear; +} + +.square{ + width: 200px; + height: 200px; + background-color: var(--secondary); + + padding: 30px; + margin: 20px; +} + +.hidden{ + display:none; +} + +.text-container{ + width: 100%; +} + +.loading-text{ + text-align:center; + color: white; +} + +.spy-icon{ + display:block; + margin:auto; + +} + +.screen-square{ + min-width: 1200px; + width: auto; + height: 700px; + background-color: var(--primary); + +} + +.center{ + margin: 0; + position: absolute; + top: 50%; + left: 50%; + -ms-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); +} + +body, html { +height: 100%; +margin: 0; +padding : 0; + +-webkit-font-smoothing: subpixel-antialiased; +-webkit-text-stroke:1px transparent; +} + +:root{ + font-family: 'Archivo Black', sans-serif; + + --primary : #20242E; + --secondary : #2E4561 +} + +.capital{ + font-size: x-large; +} + +.bg { +height: 100%; +background: transparent; +} + + diff --git a/resources/[standalone]/interact-sound/LICENSE b/resources/[standalone]/interact-sound/LICENSE new file mode 100644 index 0000000..11eaedb --- /dev/null +++ b/resources/[standalone]/interact-sound/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 Scott Plunkett + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/resources/[standalone]/interact-sound/README.md b/resources/[standalone]/interact-sound/README.md new file mode 100644 index 0000000..adb8d14 --- /dev/null +++ b/resources/[standalone]/interact-sound/README.md @@ -0,0 +1,3 @@ +# Interact Sound + +Play sounds using the NUI environment in FiveM's FXServer. diff --git a/resources/[standalone]/interact-sound/client/html/index.html b/resources/[standalone]/interact-sound/client/html/index.html new file mode 100644 index 0000000..457ee9b --- /dev/null +++ b/resources/[standalone]/interact-sound/client/html/index.html @@ -0,0 +1,25 @@ + + + + + + + + diff --git a/resources/[standalone]/interact-sound/client/html/sounds/Alert.ogg b/resources/[standalone]/interact-sound/client/html/sounds/Alert.ogg new file mode 100644 index 0000000..b0955d2 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/Alert.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/BellStartEnd.ogg b/resources/[standalone]/interact-sound/client/html/sounds/BellStartEnd.ogg new file mode 100644 index 0000000..435286c Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/BellStartEnd.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/Clothes1.ogg b/resources/[standalone]/interact-sound/client/html/sounds/Clothes1.ogg new file mode 100644 index 0000000..bd00195 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/Clothes1.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/Cuff.ogg b/resources/[standalone]/interact-sound/client/html/sounds/Cuff.ogg new file mode 100644 index 0000000..346d84f Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/Cuff.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/DoorClose.ogg b/resources/[standalone]/interact-sound/client/html/sounds/DoorClose.ogg new file mode 100644 index 0000000..7ca06a2 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/DoorClose.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/DoorOpen.ogg b/resources/[standalone]/interact-sound/client/html/sounds/DoorOpen.ogg new file mode 100644 index 0000000..273674f Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/DoorOpen.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/LockerOpen.ogg b/resources/[standalone]/interact-sound/client/html/sounds/LockerOpen.ogg new file mode 100644 index 0000000..2aa3167 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/LockerOpen.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/RumbleStart.ogg b/resources/[standalone]/interact-sound/client/html/sounds/RumbleStart.ogg new file mode 100644 index 0000000..c01d16f Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/RumbleStart.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/Shop.ogg b/resources/[standalone]/interact-sound/client/html/sounds/Shop.ogg new file mode 100644 index 0000000..b972845 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/Shop.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/SodaMachine.ogg b/resources/[standalone]/interact-sound/client/html/sounds/SodaMachine.ogg new file mode 100644 index 0000000..cdec338 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/SodaMachine.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/Stash.ogg b/resources/[standalone]/interact-sound/client/html/sounds/Stash.ogg new file mode 100644 index 0000000..29f8a4f Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/Stash.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/StashOpen.ogg b/resources/[standalone]/interact-sound/client/html/sounds/StashOpen.ogg new file mode 100644 index 0000000..a7225d9 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/StashOpen.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/Uncuff.ogg b/resources/[standalone]/interact-sound/client/html/sounds/Uncuff.ogg new file mode 100644 index 0000000..c379d8c Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/Uncuff.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/airwrench.ogg b/resources/[standalone]/interact-sound/client/html/sounds/airwrench.ogg new file mode 100644 index 0000000..c493dc6 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/airwrench.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/alreadyusing.ogg b/resources/[standalone]/interact-sound/client/html/sounds/alreadyusing.ogg new file mode 100644 index 0000000..1175a98 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/alreadyusing.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/announcement.ogg b/resources/[standalone]/interact-sound/client/html/sounds/announcement.ogg new file mode 100644 index 0000000..d744f17 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/announcement.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/beltalarm.ogg b/resources/[standalone]/interact-sound/client/html/sounds/beltalarm.ogg new file mode 100644 index 0000000..3515a08 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/beltalarm.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/breaking_vitrine_glass.ogg b/resources/[standalone]/interact-sound/client/html/sounds/breaking_vitrine_glass.ogg new file mode 100644 index 0000000..922f1fd Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/breaking_vitrine_glass.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/carbuckle.ogg b/resources/[standalone]/interact-sound/client/html/sounds/carbuckle.ogg new file mode 100644 index 0000000..209f7cc Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/carbuckle.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/carunbuckle.ogg b/resources/[standalone]/interact-sound/client/html/sounds/carunbuckle.ogg new file mode 100644 index 0000000..b87cb22 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/carunbuckle.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/catclosing.ogg b/resources/[standalone]/interact-sound/client/html/sounds/catclosing.ogg new file mode 100644 index 0000000..b3e82bb Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/catclosing.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/cellcall.ogg b/resources/[standalone]/interact-sound/client/html/sounds/cellcall.ogg new file mode 100644 index 0000000..e6517db Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/cellcall.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/chargestop.ogg b/resources/[standalone]/interact-sound/client/html/sounds/chargestop.ogg new file mode 100644 index 0000000..46e6281 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/chargestop.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/charging.ogg b/resources/[standalone]/interact-sound/client/html/sounds/charging.ogg new file mode 100644 index 0000000..fee8d6b Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/charging.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/clickitem.ogg b/resources/[standalone]/interact-sound/client/html/sounds/clickitem.ogg new file mode 100644 index 0000000..de773f1 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/clickitem.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/clickitem.wav b/resources/[standalone]/interact-sound/client/html/sounds/clickitem.wav new file mode 100644 index 0000000..15a91c4 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/clickitem.wav differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/coffee_machine.ogg b/resources/[standalone]/interact-sound/client/html/sounds/coffee_machine.ogg new file mode 100644 index 0000000..469c31a Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/coffee_machine.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/completed.ogg b/resources/[standalone]/interact-sound/client/html/sounds/completed.ogg new file mode 100644 index 0000000..de0a8e4 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/completed.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/completed.wav b/resources/[standalone]/interact-sound/client/html/sounds/completed.wav new file mode 100644 index 0000000..957bf94 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/completed.wav differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/consume.ogg b/resources/[standalone]/interact-sound/client/html/sounds/consume.ogg new file mode 100644 index 0000000..4f36790 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/consume.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/craftbutton.wav b/resources/[standalone]/interact-sound/client/html/sounds/craftbutton.wav new file mode 100644 index 0000000..ad7642f Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/craftbutton.wav differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/deepfried.ogg b/resources/[standalone]/interact-sound/client/html/sounds/deepfried.ogg new file mode 100644 index 0000000..bd5e9d7 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/deepfried.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/demo.ogg b/resources/[standalone]/interact-sound/client/html/sounds/demo.ogg new file mode 100644 index 0000000..0b094f6 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/demo.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/dice.ogg b/resources/[standalone]/interact-sound/client/html/sounds/dice.ogg new file mode 100644 index 0000000..41dd664 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/dice.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/doorbell.ogg b/resources/[standalone]/interact-sound/client/html/sounds/doorbell.ogg new file mode 100644 index 0000000..d766e7b Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/doorbell.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/doorknock.ogg b/resources/[standalone]/interact-sound/client/html/sounds/doorknock.ogg new file mode 100644 index 0000000..e689cb9 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/doorknock.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/failed.wav b/resources/[standalone]/interact-sound/client/html/sounds/failed.wav new file mode 100644 index 0000000..a940853 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/failed.wav differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/flatbedsound.ogg b/resources/[standalone]/interact-sound/client/html/sounds/flatbedsound.ogg new file mode 100644 index 0000000..4a2a358 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/flatbedsound.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/fuelstop.ogg b/resources/[standalone]/interact-sound/client/html/sounds/fuelstop.ogg new file mode 100644 index 0000000..b1415e9 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/fuelstop.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/handcuff.ogg b/resources/[standalone]/interact-sound/client/html/sounds/handcuff.ogg new file mode 100644 index 0000000..bbb4a69 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/handcuff.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/heartmonbeat.ogg b/resources/[standalone]/interact-sound/client/html/sounds/heartmonbeat.ogg new file mode 100644 index 0000000..92e1094 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/heartmonbeat.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/heartmondead.ogg b/resources/[standalone]/interact-sound/client/html/sounds/heartmondead.ogg new file mode 100644 index 0000000..3c93751 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/heartmondead.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/hobbs1.ogg b/resources/[standalone]/interact-sound/client/html/sounds/hobbs1.ogg new file mode 100644 index 0000000..bd3adb5 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/hobbs1.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/hobbs10.ogg b/resources/[standalone]/interact-sound/client/html/sounds/hobbs10.ogg new file mode 100644 index 0000000..b91eef6 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/hobbs10.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/hobbs2.ogg b/resources/[standalone]/interact-sound/client/html/sounds/hobbs2.ogg new file mode 100644 index 0000000..b748528 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/hobbs2.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/hobbs3.ogg b/resources/[standalone]/interact-sound/client/html/sounds/hobbs3.ogg new file mode 100644 index 0000000..a780ed8 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/hobbs3.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/hobbs4.ogg b/resources/[standalone]/interact-sound/client/html/sounds/hobbs4.ogg new file mode 100644 index 0000000..46c53bc Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/hobbs4.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/hobbs5.ogg b/resources/[standalone]/interact-sound/client/html/sounds/hobbs5.ogg new file mode 100644 index 0000000..cb7058c Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/hobbs5.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/hobbs6.ogg b/resources/[standalone]/interact-sound/client/html/sounds/hobbs6.ogg new file mode 100644 index 0000000..483e37a Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/hobbs6.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/hobbs7.ogg b/resources/[standalone]/interact-sound/client/html/sounds/hobbs7.ogg new file mode 100644 index 0000000..cfa30ef Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/hobbs7.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/hobbs8.ogg b/resources/[standalone]/interact-sound/client/html/sounds/hobbs8.ogg new file mode 100644 index 0000000..72be00a Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/hobbs8.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/hobbs9.ogg b/resources/[standalone]/interact-sound/client/html/sounds/hobbs9.ogg new file mode 100644 index 0000000..4ea6b14 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/hobbs9.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/houses_door_close.ogg b/resources/[standalone]/interact-sound/client/html/sounds/houses_door_close.ogg new file mode 100644 index 0000000..b5917ea Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/houses_door_close.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/houses_door_lock.ogg b/resources/[standalone]/interact-sound/client/html/sounds/houses_door_lock.ogg new file mode 100644 index 0000000..6d1fdfe Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/houses_door_lock.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/houses_door_open.ogg b/resources/[standalone]/interact-sound/client/html/sounds/houses_door_open.ogg new file mode 100644 index 0000000..0338df9 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/houses_door_open.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/houses_door_unlock.ogg b/resources/[standalone]/interact-sound/client/html/sounds/houses_door_unlock.ogg new file mode 100644 index 0000000..f3ec9b6 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/houses_door_unlock.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/impactdrill.ogg b/resources/[standalone]/interact-sound/client/html/sounds/impactdrill.ogg new file mode 100644 index 0000000..f742f0e Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/impactdrill.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/jail.ogg b/resources/[standalone]/interact-sound/client/html/sounds/jail.ogg new file mode 100644 index 0000000..32c6344 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/jail.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/jaildoor.ogg b/resources/[standalone]/interact-sound/client/html/sounds/jaildoor.ogg new file mode 100644 index 0000000..cba2ef8 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/jaildoor.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/jumpland.ogg b/resources/[standalone]/interact-sound/client/html/sounds/jumpland.ogg new file mode 100644 index 0000000..4b1c2f2 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/jumpland.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/keydoors.ogg b/resources/[standalone]/interact-sound/client/html/sounds/keydoors.ogg new file mode 100644 index 0000000..df41ea1 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/keydoors.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/knock_door.ogg b/resources/[standalone]/interact-sound/client/html/sounds/knock_door.ogg new file mode 100644 index 0000000..c298e5d Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/knock_door.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/lock.ogg b/resources/[standalone]/interact-sound/client/html/sounds/lock.ogg new file mode 100644 index 0000000..3bf5fea Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/lock.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/lockpick.ogg b/resources/[standalone]/interact-sound/client/html/sounds/lockpick.ogg new file mode 100644 index 0000000..edec972 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/lockpick.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/lord.ogg b/resources/[standalone]/interact-sound/client/html/sounds/lord.ogg new file mode 100644 index 0000000..7c7b498 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/lord.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/lord2.ogg b/resources/[standalone]/interact-sound/client/html/sounds/lord2.ogg new file mode 100644 index 0000000..4023924 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/lord2.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/message.ogg b/resources/[standalone]/interact-sound/client/html/sounds/message.ogg new file mode 100644 index 0000000..0ce7622 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/message.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/metaldetected.ogg b/resources/[standalone]/interact-sound/client/html/sounds/metaldetected.ogg new file mode 100644 index 0000000..8d48e7d Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/metaldetected.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/metaldetector.ogg b/resources/[standalone]/interact-sound/client/html/sounds/metaldetector.ogg new file mode 100644 index 0000000..ba5505b Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/metaldetector.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/mic_click_off.ogg b/resources/[standalone]/interact-sound/client/html/sounds/mic_click_off.ogg new file mode 100644 index 0000000..1d2950c Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/mic_click_off.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/mic_click_on.ogg b/resources/[standalone]/interact-sound/client/html/sounds/mic_click_on.ogg new file mode 100644 index 0000000..03bfad8 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/mic_click_on.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/monkeyopening.ogg b/resources/[standalone]/interact-sound/client/html/sounds/monkeyopening.ogg new file mode 100644 index 0000000..bdfc607 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/monkeyopening.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/nv.ogg b/resources/[standalone]/interact-sound/client/html/sounds/nv.ogg new file mode 100644 index 0000000..2dcf54e Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/nv.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/pager.ogg b/resources/[standalone]/interact-sound/client/html/sounds/pager.ogg new file mode 100644 index 0000000..df4b87c Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/pager.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/panic.ogg b/resources/[standalone]/interact-sound/client/html/sounds/panic.ogg new file mode 100644 index 0000000..61c476d Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/panic.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/payphoneend.ogg b/resources/[standalone]/interact-sound/client/html/sounds/payphoneend.ogg new file mode 100644 index 0000000..52f10e8 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/payphoneend.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/payphoneringing.ogg b/resources/[standalone]/interact-sound/client/html/sounds/payphoneringing.ogg new file mode 100644 index 0000000..b464111 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/payphoneringing.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/payphonestart.ogg b/resources/[standalone]/interact-sound/client/html/sounds/payphonestart.ogg new file mode 100644 index 0000000..7639281 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/payphonestart.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/photo.ogg b/resources/[standalone]/interact-sound/client/html/sounds/photo.ogg new file mode 100644 index 0000000..ef6ec5e Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/photo.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/pickupnozzle.ogg b/resources/[standalone]/interact-sound/client/html/sounds/pickupnozzle.ogg new file mode 100644 index 0000000..c8032a6 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/pickupnozzle.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/purge.ogg b/resources/[standalone]/interact-sound/client/html/sounds/purge.ogg new file mode 100644 index 0000000..aeba062 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/purge.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/putbackcharger.ogg b/resources/[standalone]/interact-sound/client/html/sounds/putbackcharger.ogg new file mode 100644 index 0000000..f1434c6 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/putbackcharger.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/putbacknozzle.ogg b/resources/[standalone]/interact-sound/client/html/sounds/putbacknozzle.ogg new file mode 100644 index 0000000..bac025e Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/putbacknozzle.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/radioclick.ogg b/resources/[standalone]/interact-sound/client/html/sounds/radioclick.ogg new file mode 100644 index 0000000..aa9c79d Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/radioclick.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/radiostatic1.ogg b/resources/[standalone]/interact-sound/client/html/sounds/radiostatic1.ogg new file mode 100644 index 0000000..4cfb6b0 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/radiostatic1.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/radiostatic2.ogg b/resources/[standalone]/interact-sound/client/html/sounds/radiostatic2.ogg new file mode 100644 index 0000000..9e7c0ce Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/radiostatic2.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/radiostatic3.ogg b/resources/[standalone]/interact-sound/client/html/sounds/radiostatic3.ogg new file mode 100644 index 0000000..706ed02 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/radiostatic3.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/rapell.ogg b/resources/[standalone]/interact-sound/client/html/sounds/rapell.ogg new file mode 100644 index 0000000..0dc5490 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/rapell.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/refuel.ogg b/resources/[standalone]/interact-sound/client/html/sounds/refuel.ogg new file mode 100644 index 0000000..8b1e416 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/refuel.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/ringing.ogg b/resources/[standalone]/interact-sound/client/html/sounds/ringing.ogg new file mode 100644 index 0000000..7ee2ea2 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/ringing.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/robberydraw.ogg b/resources/[standalone]/interact-sound/client/html/sounds/robberydraw.ogg new file mode 100644 index 0000000..c5369ab Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/robberydraw.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/robberyglass.ogg b/resources/[standalone]/interact-sound/client/html/sounds/robberyglass.ogg new file mode 100644 index 0000000..880e73b Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/robberyglass.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/seatbelt.ogg b/resources/[standalone]/interact-sound/client/html/sounds/seatbelt.ogg new file mode 100644 index 0000000..c2005fd Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/seatbelt.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/seatbeltoff.ogg b/resources/[standalone]/interact-sound/client/html/sounds/seatbeltoff.ogg new file mode 100644 index 0000000..3ee9166 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/seatbeltoff.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/security-alarm.ogg b/resources/[standalone]/interact-sound/client/html/sounds/security-alarm.ogg new file mode 100644 index 0000000..de7914e Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/security-alarm.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/shiftyclick.ogg b/resources/[standalone]/interact-sound/client/html/sounds/shiftyclick.ogg new file mode 100644 index 0000000..776e5d8 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/shiftyclick.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/speedcamera.ogg b/resources/[standalone]/interact-sound/client/html/sounds/speedcamera.ogg new file mode 100644 index 0000000..e25289f Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/speedcamera.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/tooshort.ogg b/resources/[standalone]/interact-sound/client/html/sounds/tooshort.ogg new file mode 100644 index 0000000..1fe7864 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/tooshort.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/towtruck.ogg b/resources/[standalone]/interact-sound/client/html/sounds/towtruck.ogg new file mode 100644 index 0000000..1f95761 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/towtruck.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/towtruck2.ogg b/resources/[standalone]/interact-sound/client/html/sounds/towtruck2.ogg new file mode 100644 index 0000000..4a2a358 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/towtruck2.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/unlock.ogg b/resources/[standalone]/interact-sound/client/html/sounds/unlock.ogg new file mode 100644 index 0000000..e7de99c Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/unlock.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/vending_machine.ogg b/resources/[standalone]/interact-sound/client/html/sounds/vending_machine.ogg new file mode 100644 index 0000000..d588b14 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/vending_machine.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/ventilator.ogg b/resources/[standalone]/interact-sound/client/html/sounds/ventilator.ogg new file mode 100644 index 0000000..0761cf4 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/ventilator.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/warehousealert.ogg b/resources/[standalone]/interact-sound/client/html/sounds/warehousealert.ogg new file mode 100644 index 0000000..376f866 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/warehousealert.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/warehousealert2.ogg b/resources/[standalone]/interact-sound/client/html/sounds/warehousealert2.ogg new file mode 100644 index 0000000..43edbfc Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/warehousealert2.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/warning_open.ogg b/resources/[standalone]/interact-sound/client/html/sounds/warning_open.ogg new file mode 100644 index 0000000..eefec2f Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/warning_open.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/warning_pulse.ogg b/resources/[standalone]/interact-sound/client/html/sounds/warning_pulse.ogg new file mode 100644 index 0000000..d2bed76 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/warning_pulse.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/watermachine.ogg b/resources/[standalone]/interact-sound/client/html/sounds/watermachine.ogg new file mode 100644 index 0000000..6c2bcdc Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/watermachine.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/winchsound.ogg b/resources/[standalone]/interact-sound/client/html/sounds/winchsound.ogg new file mode 100644 index 0000000..3778be6 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/winchsound.ogg differ diff --git a/resources/[standalone]/interact-sound/client/html/sounds/ziptie.ogg b/resources/[standalone]/interact-sound/client/html/sounds/ziptie.ogg new file mode 100644 index 0000000..d7a9b88 Binary files /dev/null and b/resources/[standalone]/interact-sound/client/html/sounds/ziptie.ogg differ diff --git a/resources/[standalone]/interact-sound/client/main.lua b/resources/[standalone]/interact-sound/client/main.lua new file mode 100644 index 0000000..5ac3107 --- /dev/null +++ b/resources/[standalone]/interact-sound/client/main.lua @@ -0,0 +1,45 @@ +local standardVolumeOutput = 0.3; +local hasPlayerLoaded = false + +RegisterNetEvent('QBCore:Client:OnPlayerLoaded', function() + hasPlayerLoaded = true +end) + +RegisterNetEvent('QBCore:Client:OnPlayerUnload', function() + hasPlayerLoaded = false +end) + +RegisterNetEvent('InteractSound_CL:PlayOnOne', function(soundFile, soundVolume) + if hasPlayerLoaded then + SendNUIMessage({ + transactionType = 'playSound', + transactionFile = soundFile, + transactionVolume = soundVolume + }) + end +end) + +RegisterNetEvent('InteractSound_CL:PlayOnAll', function(soundFile, soundVolume) + if hasPlayerLoaded then + SendNUIMessage({ + transactionType = 'playSound', + transactionFile = soundFile, + transactionVolume = soundVolume or standardVolumeOutput + }) + end +end) + +RegisterNetEvent('InteractSound_CL:PlayWithinDistance', function(otherPlayerCoords, maxDistance, soundFile, soundVolume) + if hasPlayerLoaded then + local myCoords = GetEntityCoords(PlayerPedId()) + local distance = #(myCoords - otherPlayerCoords) + + if distance < maxDistance then + SendNUIMessage({ + transactionType = 'playSound', + transactionFile = soundFile, + transactionVolume = soundVolume or standardVolumeOutput + }) + end + end +end) diff --git a/resources/[standalone]/interact-sound/fxmanifest.lua b/resources/[standalone]/interact-sound/fxmanifest.lua new file mode 100644 index 0000000..f434eda --- /dev/null +++ b/resources/[standalone]/interact-sound/fxmanifest.lua @@ -0,0 +1,21 @@ +-- FXVersion Version +fx_version 'cerulean' +games { 'gta5' } + +-- Client Scripts +client_script 'client/main.lua' + +-- Server Scripts +server_script 'server/main.lua' + +-- NUI Default Page +ui_page "client/html/index.html" + +-- Files needed for NUI +-- DON'T FORGET TO ADD THE SOUND FILES TO THIS! +files { + 'client/html/index.html', + -- Begin Sound Files Here... + -- client/html/sounds/ ... .ogg + 'client/html/sounds/*.ogg' +} diff --git a/resources/[standalone]/interact-sound/server/main.lua b/resources/[standalone]/interact-sound/server/main.lua new file mode 100644 index 0000000..e547230 --- /dev/null +++ b/resources/[standalone]/interact-sound/server/main.lua @@ -0,0 +1,25 @@ +RegisterNetEvent('InteractSound_SV:PlayOnOne', function(clientNetId, soundFile, soundVolume) + TriggerClientEvent('InteractSound_CL:PlayOnOne', clientNetId, soundFile, soundVolume) +end) + +RegisterNetEvent('InteractSound_SV:PlayOnSource', function(soundFile, soundVolume) + TriggerClientEvent('InteractSound_CL:PlayOnOne', source, soundFile, soundVolume) +end) + +RegisterNetEvent('InteractSound_SV:PlayOnAll', function(soundFile, soundVolume) + TriggerClientEvent('InteractSound_CL:PlayOnAll', -1, soundFile, soundVolume) +end) + +RegisterNetEvent('InteractSound_SV:PlayWithinDistance', function(maxDistance, soundFile, soundVolume) + TriggerClientEvent('InteractSound_CL:PlayWithinDistanceOS', -1, GetEntityCoords(GetPlayerPed(source)), maxDistance, soundFile, soundVolume) +end) + +RegisterNetEvent('InteractSound_SV:PlayWithinDistance', function(maxDistance, soundFile, soundVolume) + local src = source + local DistanceLimit = 300 + if maxDistance < DistanceLimit then + TriggerClientEvent('InteractSound_CL:PlayWithinDistance', -1, GetEntityCoords(GetPlayerPed(src)), maxDistance, soundFile, soundVolume) + else + print(('[interact-sound] [^3WARNING^7] %s attempted to trigger InteractSound_SV:PlayWithinDistance over the distance limit ' .. DistanceLimit):format(GetPlayerName(src))) + end +end)