Giter VIP home page Giter VIP logo

uwucafe's Introduction

UwU Cafe for QBCore Framework

Forked and adjusted for Gabz UwU Cafe MLO

Additions made to following files for script to work

qb-smallresources

dpemotes

qb-core/smallresources

qb-core/shared/jobs

qb-core/shared/items

qb-core/config.lua

qb-core/html/css/style.css

qb-shops

Option to add Peds in client.lua

Add to qb-target/config.lua Cat on the counter to open the store or change model to your liking ;)

["uwu"] = { models = { "A_C_Cat_01" }, options = { { type = "client", event = "idrp-shops:marketshop", icon = "fas fa-shopping-basket", label = "Open Shop", }, }, distance = 4.0 },

Add to qb-core/config.lua QBConfig.Notify.VariantDefinitions for notifications to work or you will need to change to default.

uwu = { classes = 'uwu', icon = 'fas fa-cat', position = 'bottom' },

Add to qb-core/html/css/style.css

.uwu { background-color: rgba(23, 23, 23, 90%); border-radius: 13px; box-shadow: 0rem 0rem 0.1rem 0.05rem #000000; border-left: 5px solid #ed74f1 }

Add to qb-core/shared/jobs.lua

["uwu"] = { label = "uWu Cafe", defaultDuty = true, offDutyPay = false, grades = { ['0'] = { name = "Barista", payment = 18 }, ['1'] = { name = "Chef", payment = 21 }, ['2'] = { name = "Manager", payment = 33, isboss = true }, ['3'] = { name = "Owner", payment = 33, isboss = true }, }, },

Add to qb-shops/config.lua

["uwu"] = { [1] = { name = "uwububbleteablueberry", price = 6, amount = 50, info = {}, type = "item", slot = 1, }, [2] = { name = "uwububbletearose", price = 6, amount = 50, info = {}, type = "item", slot = 2, }, [3] = { name = "uwububbleteamint", price = 6, amount = 50, info = {}, type = "item", slot = 3, }, [4] = { name = "uwucupcake", price = 6, amount = 50, info = {}, type = "item", slot = 4, }, [5] = { name = "uwuvanillasandy", price = 8, amount = 50, info = {}, type = "item", slot = 5, }, [6] = { name = "uwuchocsandy", price = 8, amount = 50, info = {}, type = "item", slot = 6, }, [7] = { name = "uwupancake", price = 12, amount = 50, info = {}, type = "item", slot = 7, }, [8] = { name = "uwusushi", price = 10, amount = 50, info = {}, type = "item", slot = 8, }, [9] = { name = "uwumisosoup", price = 15, amount = 50, info = {}, type = "item", slot = 9, }, [10] = { name = "uwubudhabowl", price = 12, amount = 50, info = {}, type = "item", slot = 10, }, },

Add to dpemotes/client/animationlist.lua

under DP.PropEmotes = {

["bubbletea"] = {"amb@world_human_drinking@coffee@male@idle_a", "idle_c", "", AnimationOptions =
{
    Prop = 'apa_prop_cs_plastic_cup_01',
    PropBone = 28422,
    PropPlacement = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
    EmoteLoop = true,
    EmoteMoving = true,
}},
["misosoup"] = {"amb@world_human_drinking@coffee@male@idle_a", "idle_c", "", AnimationOptions =
{
    Prop = 'v_ret_247_noodle1',
    PropBone = 28422,
    PropPlacement = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
    EmoteLoop = true,
    EmoteMoving = true,
}},
["uwusandy"] = {"mp_player_inteat@burger", "mp_player_int_eat_burger", "", AnimationOptions =
{
    Prop = 'ng_proc_food_ornge1a',
    PropBone = 18905,
    PropPlacement = {0.13, 0.05, 0.02, -50.0, 16.0, 60.0},
    EmoteMoving = true,
}},
["budhabowl"] = {"anim@scripted@island@special_peds@pavel@hs4_pavel_ig5_caviar_p1", "base_idle", "", AnimationOptions =
{
    Prop = "prop_cs_bowl_01b",
    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,
}},

Dependencies :

QBCore Framework - https://github.com/qbcore-framework/qb-core

PolyZone - https://github.com/mkafrin/PolyZone

qb-target - https://github.com/BerkieBb/qb-target

qb-menu - https://github.com/qbcore-framework/qb-menu

qb-input - https://github.com/qbcore-framework/qb-input

Credits :

uwucafe's People

Contributors

idrp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.