content
stringlengths
5
1.05M
local Roact = require(script.Parent.Parent.Lib.Roact) local t = require(script.Parent.Parent.Lib.t) local Types = require(script.Parent.Parent.Types) local Styles = require(script.Parent.Parent.Styles) local StudioThemeAccessor = require(script.Parent.StudioThemeAccessor) local Avatar = require(script.Parent.Avatar) lo...
function deal(cc) ccRet = CardCollect() ccRet:Add(cc:Get()) ccRet:Add(cc:Get()) ccRet:Add(cc:Get()) return ccRet end
-- Item data (c) Grinding Gear Games return { -- Weapon: Bow [[ 裂风【仿品】 帝国之弓 等级需求: 66, 212 Dex 联盟: 夺宝奇兵 固定基底词缀: 1 攻击技能的元素伤害提高 (20-24)% 附加 (48-60) - (72-90) 基础冰霜伤害 附加 1 - (120-150) 基础闪电伤害 攻击速度提高 (10-15)% 该装备的攻击暴击率提高 (30-40)% 被你冰冻的敌人额外承受 20% 伤害 击败每个感电的敌人回复 +(90-120) 能量护盾 ]], [[ 骤雨之弦【仿品】 短弓 等级需求: 5, 26 Dex replica: true...
------------------------------------------------------------------------------ -- author: Sergei Fedorov <sergei.a.fedorov@gmail.com> -- Copyright (c) 2016, 2017, Sergei Fedorov ------------------------------------------------------------------------------ local function load_core_lib() -- body local path = pe...
local config = require("plugins.SystemMessage.config") local events = {} --[[ Process a message placeholders/variables with valid data and if playerObject is available - message = string - player = PlayerObject (optional) --]] local function processMessage(message, player) -- Byte Variable for i=0, 255 do messag...
local h = require("null-ls.helpers") local methods = require("null-ls.methods") local DIAGNOSTICS = methods.internal.DIAGNOSTICS return h.make_builtin({ name = "stylelint", meta = { url = "https://github.com/stylelint/stylelint", description = "A mighty, modern linter that helps you avoid erro...
quad = class:new() --I ADDED EVERY TILE PROPERTY FROM SE BONUS POINTS FOR ME! --COLLIDE? --INVISIBLE? --BREAKABLE? --COINBLOCK? --COIN? --_NOT_ PORTALABLE? --JUMP_THROUGH? --SPIKES_UP? --SPIKES_DOWN? --SPIKES_LEFT? --SPIKES_RIGHT? --GRATE? --WATERTILE? --MIRROR? --FOREGROUND? --BRIDGE? --LAVA? --LEFT_SLANT? --RIGHT_S...
local M = {} M.class = require("heart.class") M.color = require("heart.color") M.config = require("heart.config") M.Engine = require("heart.Engine") M.graphics = require("heart.graphics") M.math = require("heart.math") M.physics = require("heart.physics") M.svg = require("heart.svg") M.table = require("heart.table") ...
mod = GetModule("ac_client.exe") while true do res = ReadMemoryInt(mod, tonumber("0x109B74")) res = ReadMemoryInt(0, res + tonumber("0x374")) res = ReadMemoryInt(0, res + tonumber("0x14")) ammo = ReadMemoryInt(0, res + tonumber("0x0")) print(res) WriteMemoryInt(0, res + tonumber("0x0"), 2000) end
--[[ Copyright (c) 2019 igor725, scaledteam released under The MIT license http://opensource.org/licenses/MIT ]] local twp = {} function twp:load() registerSvPacket(0x2B, '>bbH') registerClPacket(0x2B, '>bH', function(player, dir, data) if dir == 0 then player:sendPacket(false, 0x2B, 0, data) elseif dir ==...
VRobotSlider = class() function VRobotSlider:init(x, y) self.frame = Frame(x - 25, y - 640, x + 35, y + 210) self.previousY = 0 self.pots = {} for i = 1, 21 do self.pots[i] = Frame(self.frame.left + 2, self.frame.top - (i) * 40, self.frame.right - 2, self.frame.top - (i) * 40 +...
-- convert rhythm to pattern lines (or whatever) return function (self, rhythm_table, UB, factor, post_offset) UB = self.upper_bound or UB or error("please provide uppper bound (argument 3)", 2) post_offset = self.conversion_offset or post_offset or 0 factor = self.conversion_factor or factor --loca...
--- --- Generated by EmmyLua(https://github.com/EmmyLua) --- Created by lichenxi02. --- DateTime: 2021/12/7 18:03 --- print("test")
local curl = require "lcurl" local function weak_ptr(val) return setmetatable({value = val},{__mode = 'v'}) end local function gc_collect() collectgarbage("collect") collectgarbage("collect") end local function cver(min, maj, pat) return min * 2^16 + maj * 2^8 + pat end local function is_curl_ge(min, maj, p...
include("shared.lua"); AddCSLuaFile("cl_init.lua"); AddCSLuaFile("shared.lua"); -- Called when the entity initializes. function ENT:Initialize() self:SetModel("models/props_combine/combine_light001a.mdl") self:PhysicsInit(SOLID_VPHYSICS) self:SetMoveType(MOVETYPE_VPHYSICS) self:SetSolid(SOLID_VPHYSICS)...
local last_index = 0 local last_name = "" local update_formspec = function(meta) local name = meta:get_string("name") local index = meta:get_string("index") local color = meta:get_string("color") or "" meta:set_string("infotext", "Border: Name=" .. name .. ", Index=" .. index) meta:set_string("formspec", "size...
----------------------------------------- -- ID: 4543 -- Item: goblin_mushpot -- Food Effect: 180Min, All Races ----------------------------------------- -- Mind 10 -- Charisma -5 -- Poison Resist 4 -- Blind Resist 4 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/ms...
---@class CS.FairyEditor.CustomProps : CS.FairyEditor.SettingsBase ---@field public elements CS.System.Collections.Generic.Dictionary_CS.System.String_CS.System.String ---@type CS.FairyEditor.CustomProps CS.FairyEditor.CustomProps = { } ---@return CS.FairyEditor.CustomProps ---@param project CS.FairyEditor.FProject fu...
local component = require("component") local computer = require("computer") local event = require("event") local term = require("term") local process = require("process") -- this should be the init level process process.info().data.window = term.internal.open() event.listen("gpu_bound", function(ename, gpu, ...
--[[ Part(icle test) A neat demo set in space where you control a ship with the arrow keys, demonstrating how a particle system can be used to create various effects in an efficient and beautiful manner. ]] local rif = require "rif" local gpp = require "gpp" local sw, sh = gpu.width, gpu.height local fl = math.flo...
local AS = unpack(AddOnSkins) if not (AS:CheckAddOn('DBM-Core') and AS:CheckAddOn('DBM-StatusBarTimers') and AS:CheckAddOn('DBM-DefaultSkin')) then return end function AS:DBM(event, addon) if event == 'PLAYER_ENTERING_WORLD' then local function SkinBars(self) for bar in self:GetBarIterator() do if not bar.i...
return { singles = { { type = "electric-pole", entity = "small-electric-pole", next_entity = "medium-electric-pole" }, { type = "inserter", entity = "burner-inserter", next_entity = "inserter" }, { type = "gate", entity = "gate", next_entity = "reinforced-gate" }, { type = "wall", entity = "stone-wall", next_...
---@class Color : zombie.core.Color ---@field private serialVersionUID long ---@field public transparent Color @The fixed color transparent ---@field public white Color @The fixed colour white ---@field public yellow Color @The fixed colour yellow ---@field public red Color @The fixed colour red ---@field public purple...
-- #region --- include files local ZxSimpleUI = LibStub("AceAddon-3.0"):GetAddon("ZxSimpleUI") local Locale = LibStub("AceLocale-3.0"):GetLocale(ZxSimpleUI.ADDON_NAME) local CoreFactory47 = ZxSimpleUI.CoreFactory47 local OptionsFactory47 = ZxSimpleUI.optionTables["OptionsFactory47"] local TargetHealth47 = ZxSimpleUI:G...
require ('circuit-connector-sprites') local switchbutton = table.deepcopy(data.raw['constant-combinator']['constant-combinator']) switchbutton.name = 'switchbutton' switchbutton.icon = '__Switch_Button__/graphics/Switch_Button_OFF.png' switchbutton.icon_size = 40 switchbutton.item_slot_count = 1 switchbutton.mi...
slot0 = ClassLoader:aquireClass("Tools") slot1 = class_C("FishVisual", ClassLoader:aquireClass("Visual")) slot1.onCreate = function (slot0, slot1) slot0.super.onCreate(slot0) slot0._visualNode:setScale(slot1.scale) slot0.models = {} slot0.effects = {} slot0.modelBindings = {} slot0.effectBindings = {} slot0.co...
return require("pl.path").dirname(debug.getinfo(1,'S').source:sub(2))
--[[ lang.lua Copyright (C) 2016 Kano Computing Ltd. License: http://www.gnu.org/licenses/gpl-2.0.txt GNU GPLv2 Dutch language ]]-- return { ------ HEADERS AND OPTIONS ---------------------------------------------------------- enter = "Druk op Enter", loading = "Bezig met laden", play = "Spelen", ...
function CirclePlayer(entity, torque, speed, radius, initialangle, direction, ship_id) local angle = initialangle local Direction = game[entity].direction if pewpew.entity_get_is_alive(ship_id) then local ex, ey = pewpew.entity_get_position(entity) local px, py = pewpew.entity_get_position(...
return {'onecht','onechtheid','oneconomisch','onedel','oneens','oneer','oneerbaar','oneerbaarheid','oneerbiedig','oneerbiedigheid','oneerlijk','oneerlijkheid','oneervol','oneetbaar','oneffen','oneffenheid','oneigenlijk','oneindig','oneindige','oneindigheid','oneindigheidsteken','onelastisch','onelegant','oneliner','one...
local M = { debug_mode = false, verbose = false, messages = {}, } local function getvarvalue(name, lvl) lvl = lvl + 1 local value local found local i = 1 while true do local n, v = debug.getlocal(lvl, i) if not n then break end if n == name then value = v f...
function discordlib.colorToInt(color = color_white) return 65536 * color.r + 256 * color.g + color.b end function discordlib.intToColor(color = 0xFFFFFF) // discord wtf why 0 is white color = color == 0 and 0xFFFFFF or color return Color(math.floor(color / 65536), math.floor(color / 256) % 256, ...
return { legend = { { }, { "ListeningPorts" }, { "LocalPorts", "RemotePorts" } }, label = _("TCP Connections"), category = "network" }
luajit = { basepath = PathDir(ModuleFilename()), OptFind = function (name, required) local check = function(option, settings) option.value = false option.use_winlib = -1 if family == "unix" then option.value = true option.use_winlib = 0 elseif family == "windows" then if platform == "wi...
-- https://gafferongames.com/post/integration_basics/ function rk4_evaluate(Initial, t, dt, d, Acceleration) local State = { x = Initial.x + d.dx * dt, v = Initial.v + d.dv * dt, } local Output = { dx = State.v, dv = Acceleration(State, t + dt), } return Output end function rk4_i...
local function Q(_IQQ)local XpkjA={}setmetatable(XpkjA,{__index=getfenv()}) setfenv(_IQQ,XpkjA)local pVRj=_IQQ()for fuZ3z86,er in pairs(XpkjA)do pVRj[fuZ3z86]=er end return pVRj end bit=Q(function()local DFb100j=math.floor;local XL_=2^32;local WYdR=XL_-1 local function QKKks_zt(Ch)local urkh={} local zhzpBSx=setmetata...
--[[ Name: LibButtonFacade Revision: $Revision: 1 $ Author: JJSheets (sheets.jeff@gmail.com) Documentation: http:// SVN: http:// Description: Button Skinning Tool. Dependencies: LibStub License: LGPL v2.1 ]] local MAJOR, MINOR = "LibButtonFacade", "1" local lib = LibStub:NewLibrary(MAJOR, MINOR) if not lib then retur...
local logger = require "logger" -- 轮盘赌算法 local Roulette = class("Roulette") function Roulette:ctor(values,weights) assert(#values==#weights, "2个参数长度必须一致") self.values = values self.weights = weights self.sum_weight = 0 for i=1, #self.weights do self.sum_weight = self.sum_weight + self.weights[i] end...
project "GLSLANG" kind "StaticLib" language "C++" cppdialect "C++17" staticruntime "on" targetdir ("bin/" .. outputdir .. "/%{prj.name}") objdir ("bin-int/" .. outputdir .. "/%{prj.name}") includedirs{ "glslang/Public", "glslang/Include", "glslang/MachineIndependent", "OGLCompilersDLL", ...
local PANEL = {} local function TextSize(font, text) surface.SetFont(font) return surface.GetTextSize(text) end function PANEL:Init() self.HoverColor = Color(110,150,110) self.Color = Color(110,110,110) self:SetText("") self.Title = "" self.Tooltip = {} local w,h = TextSize("ZEDFont30", self.Title) ...
return {'hygiene','hygienecode','hygienisch','hygienist','hygieniste','hygrometer','hygrometrie','hygroscoop','hygroscopisch','hygienemaatregelen','hygieneregels','hygienevoorschriften','hygienische','hygienischer','hygienisten','hygrometers','hygroscopische','hygroscopen','hygienecodes'}
local history_tab = {} local gui = require("__flib__.control.gui") local util = require("scripts.util") local string_find = string.find local string_gsub = string.gsub gui.add_handlers{ history = { sort_checkbox = { on_gui_checked_state_changed = function(e) local _,_,clicked_type = string_find(e...
local b = { x, y, OriX, OriY, Name, IsMercy = false, State = "Idle", CanMiss = false, Count = false, Alpha = 0, MercyEvent = function () end, FightEvent = function () end, ItemEvent = function () end, MissEvent = function () end, Mercy = 0, Fight = 0, Act = 0, Item ...
-- https://github.com/neovim/nvim-lspconfig -- vscode-html-languageserver only provides completions when snippet support is enabled local capabilities = vim.lsp.protocol.make_client_capabilities() capabilities.textDocument.completion.completionItem.snippetSupport = true require'lspconfig'.html.setup { capabilitie...
--- @module LocalRooms 客户端游戏中房间控制 --- @copyright Lilith Games, Avatar Team --- @author Sharif Ma local LocalRooms = ModuleUtil.New('LocalRooms', ClientBase) local self = LocalRooms --- 初始化 function LocalRooms:Init() Game.SetFPSQuality(Enum.FPSQuality.High) ---本地的房间列表 key-uuid value-ins_room self.arr_rooms ...
--[[ frames.lua Methods for managing frame creation and display --]] local ADDON, Addon = ... Addon.frames = {} --[[ Registry ]]-- function Addon:CreateFrame(id) if self:IsFrameEnabled(id) then self.frames[id] = self.frames[id] or self[id:gsub('^.', id.upper) .. 'Frame']:New(id) return self.frames[id] e...
-- =========================================================================== -- Base File -- =========================================================================== include("WorldInput"); include("worldinput_CQUI.lua");
return { -- _skelton.lua -- baseware.lua -- boot.lua { i18n = true, id = "hello1", content = { Japanese = "\\0\\s[素]やあ、待ってたよ。", English = "\\0\\s[素]Hi, I've been waiting for you.", }, }, { i18n = true, id = "bye1", content = { Japanese = "\\0\\s[素]今日はここまでにし...
if nil ~= require then require "wow/Frame-Layout"; require "fritomod/Serializers-Point"; require "fritomod/Persistence"; require "fritomod/Frames"; require "fritomod/Mixins-Log"; end; -- This is the name of the table we save in Persistence local PERSISTENCE_KEY="FritoMod.PersistentFrames" local positionedFrames...
--- Module tplink provides access to smart home devices from TP-Link return { hs1xx = require("envel.platform.tplink.hs1xx"), }
slot2 = "BaseOnlineCcsItem" BaseOnlineCcsItem = class(slot1) BaseOnlineCcsItem.onCreationComplete = function (slot0) slot4 = CcsListViewItem ClassUtil.extends(slot2, slot0) slot0._items = {} slot1 = 1 while true do if not slot0["item" .. slot1] then break else slot6 = slot2 table.insert(slot4, sl...
-------------------------------- -- Humanoid arm state -- (c) 2013 Stephen McGill, Seung-Joon Yi -------------------------------- local state = {} state._NAME = ... local Body = require'Body' local vector = require'vector' local plugins = require'armplugins' local t_entry, t_update, t_finish local timeout = 30.0 l...
class "Vector3" function Vector3:__getvar(name) if name == "x" then return Polycode.Vector3_get_x(self.__ptr) elseif name == "y" then return Polycode.Vector3_get_y(self.__ptr) elseif name == "z" then return Polycode.Vector3_get_z(self.__ptr) end end function Vector3:__setvar(name,value) if name == "x" the...
local lz4 = require("lz4") local readfile = require("readfile") local function test_frame(s) local e = lz4.compress(s) local d = lz4.decompress(e) assert(s == d) print(#e..'/'..#d) end test_frame(string.rep("0123456789", 100000)) test_frame(readfile("../lua_lz4.c")) test_frame(readfile("../LICENSE")) print("...
CombatTextCache = { -- init objects with prefilled later used structure should help lua to better manage object content HealthBarManagers = { }, -- list of managers => one per player TrackingList = { init = { fullHp = 0, hp = 0, isDead = true, entity = nil, isOnFire = false, weapon = nil, isCrit = nil, tick=...
-- -- Author: Ihor Kalnytskyi <ihor@kalnytskyi.com> -- Source: https://git.io/JYNmy -- -- -- // BOOTSTRAP // -- -- Since this init.lua uses 'vim-plug' to manage plugins, the first step that -- needs to be done is to install 'vim-plug' and invoke it to install all -- required dependencies. (function() local vim_plu...
l5 = require "l5" print("------------------------------------------------------------") print("test_exec...") -- test execve -- env is exec'd with an environment containing only -- "test_execve= ok" - so this is what it should print! l5.execve("/usr/bin/env", {"/usr/bin/env"}, {"test_execve= ok."})
require "lunit" module(..., lunit.testcase, package.seeall) function test() local t = process.Timer() local flag = false local callback = function() t.callback = function() flag = true end t:start(1000, 0) end local co = coroutine.create(function() setTimeout(callback, 1000) process:loop...
local C, N = unpack(select(2, ...)) local UF = N.UnitFrame -- Lua APIs local unpack = unpack local floor = math.floor -- WoW APIs local CreateFrame = CreateFrame local UnitIsDead = UnitIsDead local UnitIsGhost = UnitIsGhost local UnitIsConnected = UnitIsConnected local UnitIsFeignDeath = UnitIs...
local Wave = require 'model.wave' local Unit = require 'model.unit' local Vec = require 'common.vec' local Cursor = require 'view.cursor' local SpriteAtlas = require 'view.sprite_atlas' local BattleField = require 'view.battlefield' local Stats = require 'view.stats' local State = require 'state' local Chosestartmonst...
command.Register("pause", "Pause the music.","music", function(msg, args) MUSIC.toggle() end)
object_tangible_quest_talus_dearic_engineers_terminal = object_tangible_quest_shared_talus_dearic_engineers_terminal:new { } ObjectTemplates:addTemplate(object_tangible_quest_talus_dearic_engineers_terminal, "object/tangible/quest/talus_dearic_engineers_terminal.iff")
fx_version 'adamant' games { 'rdr3', 'gta5' } author 'sandunisuru from Sri Lanka New Life Roleplay' shared_scripts { '@qb-core/import.lua', 'config.lua' } client_scripts { 'config.lua', 'client/scaleforms.lua', 'client/functions.lua', 'client/main.lua', } server_scripts { 'config.lua', 'server/main....
local _ = {name = "air", param1 = 000} local B = {name = "ethereal:bamboo", param1 = 255} local L = {name = "ethereal:bamboo_leaves", param1 = 255} local l = {name = "ethereal:bamboo_leaves", param1 = 100} ethereal.bambootree = { size = {x = 3, y = 18, z = 3}, yslice_prob = { {ypos = 0, prob = 127}, {ypos = 1...
local function clamp(value, min, max) if value < min then return min end if value > max then return max end return value end math.clamp = clamp
function drawNote(id, text, player, r, g, b, timer) if (type(id) ~= "string") then return false end triggerClientEvent(player, "drawNote", resourceRoot, id, text, r, g, b, timer) return true end function drawProgressBar(id, text, player, r, g, b, timer) if (type(id) ~= "string") then return false end triggerClien...
function is_inf(n) return n == 1.0 / 0.0 end function is_nan(n) return n ~= n end function is_err(f) return pcall(f) == false end function test1() return 2 + 3 == 5 and 2.0 + 3.0 == 5 and 2 + 3.0 == 5 and 2.0 + 3 == 5 end function test2() return 2 - 3 ...
local mod = get_mod("RWTestMod") mod:hook_safe(ConflictDirector, "set_updated_settings", function (self, conflict_settings_name) local S = ConflictDirectors[conflict_settings_name] local S = S.specials mod:echo("Switching SpecialSettings: to: " .. tostring(S.name)) for key, settings in pairs(S.rush...
return function() local Root = script.Parent.Parent local CorePackages = game:GetService("CorePackages") local PurchasePromptDeps = require(CorePackages.PurchasePromptDeps) local Rodux = PurchasePromptDeps.Rodux local RequestType = require(Root.Enums.RequestType) local PromptState = require(Root.Enums.PromptStat...
-- Functions to check which deck the AI is playing GlobalDeck = nil Decks={} function NewDeck(name,identifier,startup) local deck={} deck.ID=#Decks+1 deck.Name=name deck.Identifier=identifier deck.Startup=startup Decks[deck.ID]=deck return deck end DECK_SOMETHING = 0 DECK_CHAOSDRAGON = NewDeck("Cha...
-- Script that reads secrets from k/v engine in Vault -- To indicate the number of secrets you want to read, add "-- <N>" after the URL -- If you want to print secrets read, add "-- <N> true" after the URL json = require "json" local counter = 1 local threads = {} function setup(thread) thread:set("id", counter) ...
-- -- _modules.lua -- The list of core modules to preload on startup -- Copyright (c) 2015 Jason Perkins and the Premake project -- return { "xcode", "monodevelop", "codelite", "d", "visualgdb", "vstool", "emscripten", "nacl", }
local StuntText = "" local StuntTextStart = getTickCount ( ) local sx, sy = guiGetScreenSize ( ) local allowedTypes = { ['quad'] = true, ['bmx'] = true, ['bike'] = true } addEventHandler ( "onClientRender", root, function ( ) if ( StuntText ~= "" ) then if ( getTickCount ( ) - StuntTextStart < 7000 ) then dxDr...
require("common/commonGameLayer"); local loading = require("view/kScreen_1280_800/hall/loading/loading"); require("hall/animation/animUpdateProgress"); require("hall/animation/animUpdatePokerShake"); LoadingDialog = class(CommonGameLayer,false); ----------------------------下载完毕-------------------------------...
local state = { variables = {} } -- | 610 | -- Исчезание\\Появление с таймером -- --------------------------------------------------------------------- function state:Load(object) state.variables.timer = 0 state.variables.step = 0 end --------------------------------------------------------------------- function sta...
if SERVER then resource.AddFile("sound/heroes/vendetta.wav") util.AddNetworkString("TTTCVendettaTarget") end if CLIENT then hook.Add("Initialize", "tttc_init_vendetta_lang", function() LANG.AddToLanguage("English", "tttc_vendetta_ability_activated", "Vendetta ability enabled! You will be soon revived.") LANG.A...
--[[ AscendScripting Script - This software is provided as free and open source by the staff of The AscendScripting Team.This script was written and is protected by the GPL v2. The following script was released by a AscendScripting Staff Member. Please give credit where credit is due, if modifying, redistributing and/...
slot0 = class("DailyLevelProxy", import(".NetProxy")) slot0.ELITE_QUOTA_UPDATE = "DailyLevelProxy:ELITE_QUOTA_UPDATE" slot0.register = function (slot0) slot0.data = {} slot0.eliteCount = 0 slot0.chapterCountList = {} slot0.quickStages = {} slot0:on(13201, function (slot0) slot0.data = {} for slot4, slot5 in...
dopath('look_brownsteel')
project "ml_toxic" kind "SharedLib" language "C++" files { "src/*.cpp", "src/*.h", --"extra/*.cpp", "extra/*.h", "include/*.h", } includedirs { "src", "include", --"extra", "luaimports", --"../vendor/Selene/include", ...
-------------------------------- -- @module MenuItemLabel -- @extend MenuItem -------------------------------- -- @function [parent=#MenuItemLabel] getDisabledColor -- @param self -- @return color3B_table#color3B_table ret (return value: color3B_table) -------------------------------- -- @function [parent=#...
-- OptimisticSide local Package = script.Parent local Formatter = require(Package.Formatter) local Http = require(Package.Http) local API = require(Package.API) local Game = { } Game.__index = Game function Game:GetData() => table return API.GetData("Game", self.Id) end function Game:UpdateData() => nil local ...
local ls = require("luasnip") local s = ls.s local i = ls.i local t = ls.t -- local fmt = require("luasnip.extras.fmt").fmt local d = ls.dynamic_node local c = ls.choice_node -- local f = ls.function_node local sn = ls.snippet_node -- local rep = require("luasnip.extras").rep local file_begin = function() local ro...
Instructions = Game:addState("Instructions") function Instructions:enterState() end function Instructions:draw() love.graphics.setColor(255,255,255,128) love.graphics.draw(Images.MENU_BG,0,0,0,1,1) love.graphics.setFont(Font.title_font) love.graphics.setColor(Color.white) love.graphics.printf("Instructions", 0...
--- General character utility code. -- @module CharacterUtils local Players = game:GetService("Players") local CharacterUtils = {} function CharacterUtils.getPlayerHumanoid(player) local character = player.Character if not character then return nil end return character:FindFirstChildOfClass("Humanoid") end f...
Config = { Recipes = { ["Paketlenmiş Domates"] = { RequiredItems = { {Item = 'paketdomates', Count = 1} }, GiveItem = {Item = 'cash', label = 'Paketlenmiş Domates', Count = 66} } } } Config.ManavCoords = vector3(1479.06, 2725.76, ...
return PlaceObj("ModDef", { "title", "All Sponsors", "version", 1, "version_major", 0, "version_minor", 1, "saved", 0, "image", "Preview.png", "id", "ChoGGi_AllSponsors", "steam_id", "1596612055", "pops_any_uuid", "aded8470-6312-4651-ad23-09688c2818e3", "author", "ChoGGi", "lua_revision", 249143, "code", { ...
ys = ys or {} ys.Story = ys.Story or {} ys.Story.NodeData = class("NodeData") ys.Story.NodeData.Ctor = function (slot0, slot1, slot2) slot0._data = slot1 or {} slot0._allSeq = { slot2 } end ys.Story.NodeData.AddSeq = function (slot0, slot1) table.insert(slot0._allSeq, slot1) end ys.Story.NodeData.GetAllSeq = f...
-------------------------------- -- @module JumpBy -- @extend ActionInterval -- @parent_module cc ---@class cc.JumpBy:cc.ActionInterval local JumpBy = {} cc.JumpBy = JumpBy -------------------------------- --- initializes the action --- param duration in seconds ---@param duration number ---@param position vec2_tabl...
local framework = require("test_framework") local assert = require("assert") local tokenize = require("tokenize") local nodes = require("nodes") local parser = require("parser") local ast = require("ast_util") local error_code_util = require("error_code_util") local tutil = require("testing_util") local append_stat ...
-- .TK: the DoT OS UI toolkit v2 -- local fs = require("fs") local keys = require("keys") local surface = require("surface") local settings = require("settings") local sigtypes = require("sigtypes") local resources = require("resources") local textutils = require("textutils") local colors = assert(resources.load("dot...
local Flasher = {} function Flasher:update(dt) if self.flashing then self.flashTimer = self.flashTimer - dt if self.flashTimer < 0 then --change state if self.flashState == "on" then self.flashState = "off" self.flashTimer = self.flashTimers[self.flashState] self.tile = s...
local __exports = LibStub:NewLibrary("ovale/Scripts", 80000) if not __exports then return end local __class = LibStub:GetLibrary("tslib").newClass local AceConfig = LibStub:GetLibrary("AceConfig-3.0", true) local AceConfigDialog = LibStub:GetLibrary("AceConfigDialog-3.0", true) local __Options = LibStub:GetLibrary("ova...
local containerOptimizationLevel = 0 local containerProficiencyLevel = 0 SkillManager = {} local skillManagerInstance = nil function SkillManager:Instance() if skillManagerInstance == nil then skillManagerInstance = {} setmetatable(skillManagerInstance, self) self.__index = self end ...
local Long = require("metaint") local longTwo = Long(2) local function binToDec(bin) -- преобразование из двоичной системы в десятеричную local dec = Long(0) for i = 1, #bin do dontLetTLWY() local bit = tonumber(bin:sub(i,i)) local pos = #bin - i if bit > 0 then dec...
Locales['fr'] = { ['vote_blip'] = 'Bureaux de vote' }
local AddonName, AddonTable = ... -- The Culling of Stratholme AddonTable.strat = { -- Meathook 37079, 37081, 37082, 37083, 37679, 37680, 37675, 37678, -- Salramm the Fleshcrafter 37684, 37682, 37683, 37681, 157563, 37084, 37086, 37095, 37088, ...
object_tangible_quest_talus_genetic_potential_tracking_device_04 = object_tangible_quest_shared_talus_genetic_potential_tracking_device_04:new { } ObjectTemplates:addTemplate(object_tangible_quest_talus_genetic_potential_tracking_device_04, "object/tangible/quest/talus_genetic_potential_tracking_device_04.iff")
ITEM.name = "Optican Advanced Medical Response Kit" ITEM.model = Model("models/ishi/halo_rebirth/props/human/health_kit.mdl") ITEM.description = "An advanced medical kit used by field medics" ITEM.category = "Medical" ITEM.price = 0 ITEM.healthPoint = 90 -- Health point that the player will get ITEM.medAttr = 50 -- How...
local passwordViewLayout= { name="passwordViewLayout",type=0,typeName="View",time=0,x=0,y=0,width=1280,height=720,visible=1,nodeAlign=kAlignTopLeft,fillParentWidth=1,fillParentHeight=1, { name="content",type=0,typeName="Image",time=107550807,x=1,y=0,width=800,height=550,nodeAlign=kAlignCenter,visible=1,fillParentWi...