content
stringlengths
5
1.05M
-- Weapons (ranged, melee, grenades) dictionary. local Weapons = {} Weapons = { Ranged = { Achilles = { Default = "Items.Preset_Achilles_Default", Military = "Items.Preset_Achilles_Military", Neon = "Items.Preset_Achilles_Neon", Pimp = "Items.Preset_Achilles_...
require "lmkbuild" local append = lmkbuild.append_local local exec = lmkbuild.exec local file_newer = lmkbuild.file_newer local function gset (name, value) lmkbuild.set_global (name, value, true) end local lset = lmk.set_local local get_var = lmkbuild.get_var local ipairs = ipairs local is_valid = lmkbuild.is_valid...
fx_version 'cerulean' game 'gta5' description 'QB-RadialMenu' version '1.0.0' ui_page 'html/index.html' shared_scripts { '@qb-core/import.lua', 'config.lua' } client_scripts { 'client/main.lua', 'client/clothing.lua', 'client/trunk.lua', 'client/brancard.lua' } server_scripts { 'server/main....
XML = require("src.xml") local xml = XML.newParser() require("src.tiled.defaults") require("src.tiled.tileset") require("src.tiled.layer") require("src.tiled.objectgroup") TILE = 16 Map = class("Map", { file = nil, obj = nil, width = 0, height = 0, tilesets = {}, layers = {}, entities = {}, collisions = {}, ...
local checks = require('checks') local dev_checks = function() end local is_dev = os.getenv('DEV') == 'ON' -- Tarantool's checks module is incompatible with LuaJIT. -- https://github.com/tarantool/checks/issues/30 -- https://github.com/tarantool/checks/issues/33 if is_dev then dev_checks = checks end return dev...
project "gts_malloc_shared" flags "FatalWarnings" kind "SharedLib" language "C++" targetdir "%{prj.location}/%{cfg.buildcfg}_%{cfg.architecture}" defines { "GTS_MALLOC_SHARED_LIB", "GTS_MALLOC_SHARED_LIB_EXPORT" } includedirs { "../../../source/gts/include" } files { "../...
-- Main Lua script of the quest. -- See the Lua API! http://www.solarus-games.org/doc/latest require("scripts/features") require("scripts/multi_events") -- Edit scripts/menus/initial_menus_config.lua to add or change menus before starting a game. local initial_menus_config = require("scripts/menus/initial_menus_confi...
require('settings') require('keymaps') require('plugins') require('modules.statusline') require('modules.telescope') require('modules.nvimtree') require('modules.autopairs') require('modules.hop') require('modules.completion') require('modules.lspconfig') require('modules.gitsigns') require('modules.go') require('modu...
Locales['br'] = { -- Cloackroom ['cloakroom'] = 'Vestiário', ['citizen_wear'] = 'Roupa casual', ['police_wear'] = 'Uniforme da Polícia', ['gilet_wear'] = 'orange reflective jacket', ['bullet_wear'] = 'bulletproof vest', ['no_outfit'] = 'there\'s no uniform that fits you!', ['open_cloackroom'] = 'Pressio...
local type = type return function(v) return 'string' == type(v) end
object_tangible_base_retrieve_quest_base = object_tangible_base_shared_retrieve_quest_base:new { } ObjectTemplates:addTemplate(object_tangible_base_retrieve_quest_base, "object/tangible/base/retrieve_quest_base.iff")
-- Copyright 2006-2015 Mitchell mitchell.att.foicica.com. See LICENSE. -- Fortran LPeg lexer. local l = require('lexer') local token, word_match = l.token, l.word_match local P, R, S = lpeg.P, lpeg.R, lpeg.S local M = {_NAME = 'fortran'} -- Whitespace. local ws = token(l.WHITESPACE, l.space^1) -- Comments. local c_...
if process.env.DEBUG == '1' then _G.d = function(...) return debug('DEBUG', ...) end else _G.d = function() end end local String = require('string') local sub, find, match, gsub, gmatch, byte, char, format = String.sub, String.find, String.match, String.gsub, String.gmatch, String.byte, String.char, String.f...
#!/usr/bin/env lua -- -- The following code could trigger a NULL dereference. -- -- bn_prepops(lua_State *L, BIGNUM **r, BIGNUM **a, BIGNUM **b, _Bool commute) { -- ... -- *b = checkbig(L, 2, &lvalue); -- ... -- } -- -- bn_sqr(lua_State *L) { -- BIGNUM *r, *a; -- -- bn_prepops(L, &r, &a, NULL, 1); -- ......
function Update() Thn = os.date("*t") th2 = (Thn.year) Bl2 = (Thn.month) tgl = (Thn.day) ht = os.date("%j") hb = ht-Bl2 if (hb >= 0) and (hb <= 31) then hb = 0 elseif (hb>=31) and (hb <=59)then hb =31 elseif (hb>=59) and (hb <=90)then ...
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local lib = ReplicatedStorage:WaitForChild("lib") local common = ReplicatedStorage:WaitForChild("common") local PizzaAlpaca = require(lib:WaitForChild("PizzaAlpaca")) local Promise = require(lib:WaitForChild("Pro...
--@ commonsfriends commonstargets commons firstrun planarvector getvectorangle -- Avoidance module (vectors only) Avoidance_MidPoint = nil Avoidance_VerticalClearance = 0 Avoidance_CheckPoints = {} -- Used for tiebreakers Avoidance_PreviousTAvoid = Vector3.right function Avoidance_FirstRun(I) local MaxDim = I:GetC...
local utils = paths.dofile('utils.lua') local istensor = utils.istensor local istable = utils.istable local istorchclass = utils.istorchclass local nnNode,parent = torch.class('nngraph.Node','graph.Node') function nnNode:__init(data) parent.__init(self,data) self.data.mapindex = self.data.mapindex or {} end -- d...
local state = { variables = {} } -- | 6 | -- Приземление --Персонаж находится в состоянии отката после прыжка. -- S→* Рывок вперед -- S←* Рывок назад -- A Сильная атака --------------------------------------------------------------------- function state:Processing(object,s) if object:timer("special1") and ((object:pre...
object_tangible_furniture_decorative_beast_stuffed = object_tangible_furniture_decorative_shared_beast_stuffed:new { } ObjectTemplates:addTemplate(object_tangible_furniture_decorative_beast_stuffed, "object/tangible/furniture/decorative/beast_stuffed.iff")
----------------------------------- -- Area: Carpenters_Landing ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[tpz.zone.CARPENTERS_LANDING] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>...
function API.Chest(id, owner_char_id, position, type, capacity, inventories, groups) local self = {} self.id = id self.owner_char_id = owner_char_id self.position = position -- Table {x, y, z, h} self.type = 0 -- GLOBAL[0] | PUBLIC[1] | PRIVATE[2] self.capacity = capacity self.groups = grou...
local LAM2 = LibStub("LibAddonMenu-2.0") if ( not LAM2 ) then return end local SI = Teleporter.SI ---- used for localization local function SetupOptionsMenu(index) local panelData = { type = "panel", name = Teleporter.var.color.colArtifact.."Luminary"..Teleporter.var.color.colTeal.." Teleporter", ...
-- Expression local expr = require "resty.taurus.expression.expr" local expr_not = require "resty.taurus.expression.expr_not" local expr_and = require "resty.taurus.expression.expr_and" local expr_or = require "resty.taurus.expression.expr_or" local _M = { _VERSION = '0.0.1' } function _M._or(conditions) return ...
local constants = require "kong.constants" local BasePlugin = require "kong.plugins.base_plugin" local type = type local _realm = 'Key realm="' .. _KONG._NAME .. '"' local KeyAuthHandler = BasePlugin:extend() KeyAuthHandler.PRIORITY = 1003 KeyAuthHandler.VERSION = "0.2.0" function KeyAuthHandler:new() KeyAuthHa...
--!A cross-platform build utility based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law...
local class = require 'middleclass' local util = require 'util' -- クラス:能力値 local Statistics = class 'Statistics' -- 組み込み Statistics:include(require 'Readonly') -- モジュール local Attribute = require 'valueobjects.Attribute' local AttributeEnum = require 'enums.Attribute' -- 初期化 function Statistics:initialize(t) t ...
local gears = require("gears") local gfs = require("gears.filesystem") local helpers = {} helpers.get_theme_dir = function() return gfs.get_configuration_dir() .. "themes/" .. theme .. "/" end helpers.get_icon_dir = function() return helpers.get_theme_dir() .. "icons/" end helpers.rounded_rect = function(radius...
function clear() for _, v in ipairs(keys(jointData)) do removeJoint(v) end for _, v in ipairs(keys(tfm.get.room.objectList)) do removeObject(v) end for _, v in ipairs(keys(groundData)) do removeGround(v) end for _, v in ipairs(keys(bulletData)) do removeBullet(v) end f...
player = { inventory = { main = {}, } } function player.get_inventory() return { contains_item = function(_, list, name) return player.inventory[list][name] end, } end function player:get_player_name() return player.name end function player:get_pos() return player.pos end function play...
-- 基于redis的订阅与发布消息队列(同步处理) local cf = require "cf" local MQ = require "MQ" require "utils" local rds = MQ:new { host = 'localhost', port = 6379, type = 'redis' } print(rds:on('/test/*', function (msg) var_dump(msg) end)) cf.at(1, function ( ... ) rds:emit("/test/admin", '{"code":100}') end) cf.sleep(10) print(...
local zlib = require "zlib" local zlib_wrap = { } function zlib_wrap.compress(data) if zlib.compress then return zlib.compress(data) end local compress = zlib.deflate() return compress(data, "finish") end return zlib_wrap
-- Generated By protoc-gen-lua Do not Edit local protobuf = require "protobuf" module('BseServerList_pb', package.seeall) local SERVER = protobuf.Descriptor(); local SERVER_SERVERID_FIELD = protobuf.FieldDescriptor(); local SERVER_HOST_FIELD = protobuf.FieldDescriptor(); local SERVER_PORT_FIELD = protobuf.FieldDescri...
dofile(minetest.get_modpath("grojmod").."/entity.lua") dofile(minetest.get_modpath("grojmod").."/instruments.lua") dofile(minetest.get_modpath("grojmod").."/spec_blocks.lua") dofile(minetest.get_modpath("grojmod").."/fireworks.lua") print("MOD: Grojmod Loaded!")
import "Vector4" import "Matrix4x4" class("Camera").extends() function Camera:init(x, y, z) self.speed = 1 self.rotation = 0 self.nearPlane = 0.1 self.farPlane = 10 self.windowRatio = 400 / 240 self.projectionMatrix = Matrix4x4() self.projectionMatrix:set(1, 1, self.windowRatio) self.projectionMatrix:set(3, 3...
_FRK_Fn= {} _FRK_Fn.version= 1 --FatRatKnight -- Various little functions for use. -- Shortly, I will list out functions and keywords that the script provides -- access to. But first, I feel a need to explain a few things... -- Option keywords are simply global variables that this auxillary script looks -- for. If t...
local path = (...):match('(.-)[^%./]+$') return { name = 'joystick', description = 'Provides an interface to the user\'s joystick.', types = { require(path .. 'types.Joystick'), }, functions = { { name = 'getGamepadMappingString', description = 'Gets the full...
-- -- Copyright (C) 2021 Masatoshi Fukunaga -- -- 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, ...
local playsession = { {"Gerkiz", {92576}}, {"Nate66873", {2051135}}, {"zektrix", {534090}}, {"The_Shadow_Sword", {545652}}, {"swic", {1285631}}, {"rutgers0419", {1931666}}, {"JuanMore", {768668}}, {"kevinma", {1946}}, {"delfiler", {173372}}, {"Conan0419", {840413}}, {"aniche", {938152}}, {"hunter117x", {227...
--***************************************************************************** --* _______ __ --* |_ _| |--.----.---.-.--.--.--.-----.-----. --* | | | | _| _ | | | | |__ --| --* |___| |__|__|__| |___._|________|__|__|_____| --* ______ --* | __ \.-----.--.--.-----.-----.-...
-- could parse in python, but meh. local function dofile(file) local f = assert(io.open(file)) return assert(loadstring(f:read("*all"):gsub("local ", "")))() -- unlocal the table end local function export(infile, outfile, var) dofile(infile) local f = assert(io.open(outfile, "w")) for _, v in next, _G[var] do ...
local Console = class("Console") local concommandMap = {} function Console:addConCommand(command, fn) concommandMap[command] = fn end function Console:runCommand(command, args) if not command or not concommandMap[command] then print("No such command: " .. tostring(command)) return end ...
pfUI:RegisterModule("buff", function () pfUI.buff = CreateFrame("Frame") pfUI.buff:RegisterEvent("PLAYER_AURAS_CHANGED") pfUI.buff:RegisterEvent("UNIT_INVENTORY_CHANGED") pfUI.buff:RegisterEvent("UNIT_AURA") pfUI.buff:RegisterEvent("UNIT_MODEL_CHANGED") pfUI.buff:SetScript("OnEvent", function () if even...
-- local logging = require('mx_py.logging') local M = {} ---@class mx.misc.LearningRateScheduler local LearningRateScheduler = class('LearningRateScheduler') M.LearningRateScheduler = LearningRateScheduler function LearningRateScheduler:ctor() self.base_lr = 0.01 end function LearningRateScheduler:__call(iterat...
ESX = nil TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) if Config.MaxInService ~= -1 then TriggerEvent('esx_service:activateService', 'taxi', Config.MaxInService) end TriggerEvent('esx_phone:registerNumber', 'taxi', _U('taxi_client'), true, true) TriggerEvent('esx_society:registerSociety', 'taxi'...
local update = {} local inventoryDownLast = false function update.update(delta) if button.fullscreen() then love.window.setFullscreen( not love.window.getFullscreen() ) end if status.check("menu") then update.menu() elseif status.check("load") then update.load() elseif status.check("game") then update.gam...
local path = require('path') local utils = require('util') local url = require('url') local fs = require('fs') local uv = require('luv') local tap = require('util/tap') local segmenter = require('hls/segmenter') local tsReader = require('hls/reader') local platform = os.platform() local basePath = ut...
------------------------------------------------------------------------------- -- Copyright (C) Hispidence 2013-2021 -- -- -- gun.lua -- -- Base class for guns. ------------------------------------------------------------------------------- local vector = require("src.external.hump.vector") local jlutil = require("s...
--- Millheat API library for Millheat electrical heaters. -- -- This library implements the session management and makes it easy to access -- individual endpoints of the API. -- -- @author Thijs Schreijer, http://www.thijsschreijer.nl -- @license millheat.lua is free software under the MIT/X11 license. -- @copyright 20...
function easyInputStringWithParams(question, maxLength, isPassword, funcOK, params) SCREENMAN:AddNewScreenToTop("ScreenTextEntry") local settings = { Question = question, MaxInputLength = maxLength, Password = isPassword, OnOK = function(answer) funcOK(answer, params) end } SCREENMAN:GetTopScreen():Loa...
local composer = require( "composer" ) local scene = composer.newScene() local runtime = require("libraries.runtime") local db = require("libraries.db") runtime.settings["currentscene"] = "gameConfig" local widget = require ("widget") --Vars... local _W = display.contentWidth local _H = display.contentHeight local s...
return { Attributes = require(script.Attributes), Events = require(script.Events), Methods = require(script.Methods), Properties = require(script.Properties), }
--[[ Netherstorm -- Cohlien Frostweaver.lua This script was written and is protected by the GPL v2. This script was released by BlackHer0 of the BLUA Scripting Project. Please give proper accredidations when re-releasing or sharing this script with others in the emulation community. ~~End of License Agreement -- Blac...
--- === hs.fs === --- --- Access/inspect the filesystem --- --- Home: http://keplerproject.github.io/luafilesystem/ --- --- This module is produced by the Kepler Project under the name "Lua File System" local module = require("hs.fs.internal") module.volume = require("hs.fs.volume") module.xattr = require("hs.fs.xatt...
require ("far2.makelang") ( ---- 1-st argument "modules/string_rc.lua", ---- 2-nd argument { { filename = "polygon_en.lng", line1 = ".Language=English,English", }, { filename = "polygon_ru.lng", line1 = ".Language=Russian,Russian (Русский)", }, -- { filename = "polygon_cze.lng", -- line1 = ".Lan...
local Api = require "graphics" return { Top = 0, Left = 0, Margin = 5, Color = { Warning = Api:color(0xFA, 0x69, 0x00), Success = Api:color(0xA7, 0xDB, 0xD8), Text = Api:color(0xE0, 0xE4, 0xCC), Border = Api:color(0xE0, 0xE4, 0xCC), Transparent = Api:color(0xFF, ...
local command = {} command.PermissionLevel = 1 command.Shorthand = "unspec" command.Params = {} command.Usage = "unspectate" command.Description = [[Returns the camera back to your character]] command.Init = function(main) end command.Run = function(main,user) if (user and user.Character) then local hum = user.Ch...
local fnutils = require('hs.fnutils') local Window = dofile('lib/window.lua') local ResizeTerminal = dofile('resizeTerminal.lua') local event = require('hs.eventtap').event function systemKey(key, flags) local keydown = event.newSystemKeyEvent(key, true) if flags then keydown:setFlags(flags) end ...
return {'bezaagd','bezaaid','bezaaien','bezaaiing','bezaan','bezaansmast','bezaansschoot','bezadigd','bezadigdheid','bezagen','bezakken','bezanden','bezatten','bezegelen','bezegeling','bezeild','bezeildheid','bezeilen','bezem','bezembinden','bezembinder','bezembinderij','bezemen','bezemkast','bezemklas','bezemkruid','b...
AtlasLootFuDB = { ["profiles"] = { ["Default"] = { ["detachedTooltip"] = { }, }, }, }
-- This file is automatically generated, do not edit! -- Item data (c) Grinding Gear Games return { { affix = "", modTags = { "resource", "life" }, "怪物的总生命额外提高 (20-29)%", statOrder = { 1654 }, level = 0, group = "MapMonsterLife", types = { ["Map"] = true, }, }, { affix = "", modTags = { "resource", "life" }, "怪物的总生命...
local sensors = require("sensors") local actuators = require("actuators") local smartthings = require("smartthings") local sensorSend = {} local dni = wifi.sta.getmac():gsub("%:", "") local timeout = tmr.create() local sensorTimer = tmr.create() local sendTimer = tmr.create() -- hack to ensure pin D8 stays low after b...
return{ name = "spiderburgonet", description = "Spider Burgonet", type = "armor", subtype = 'secondary', info = 'The wearer becomes "King of the Spiders", probably, just try talking to one.', defense = 14, directory = 'armor/', }
---@class EquipInfoPopupWindow 质点信息对比 local EquipInfoPopupWindow = DClass("EquipInfoPopupWindow", BaseWindow) _G.EquipInfoPopupWindow = EquipInfoPopupWindow function EquipInfoPopupWindow:ctor(data) self.type = data[1] and data[1] or nil ---@type EquipMgr_EquipData self.selectEquipData = data[2] and clone(d...
-- rk2.lua -- (C) 2013 Lesley De Cruz -- See LICENSE.txt for license information. ------------------------------------------------------------------------ -- A simple yet stable second order Runge-Kutta scheme (Heun's method). -- Butcher tableau: -- -- 0 | -- 1 | 1 -- +---------- -- 1/2 1/2 --------...
local scene = require"module/game/scene" local signal = require"misc/signal" local game = class("game",signal){-- all_scene = {}, scene = nil, } function game:__init() self:signal("change_scene") self:__init_callback__() end function game:__init_callback__() for i,call_name in ipairs(love_callbac...
-- server local _={} _.remove_from_hand=function(actor) local removable=_deref(actor.hand_slot) if not removable then log("warn: remove_from_hand - no item") return end Db.remove(removable) actor.hand_slot=nil end _.do_pickup=function(actor,pickable) -- todo: same code on ...
-- Global Options local o = vim.o o.background = 'dark' -- Dark mode o.backup = false -- Disable backups o.diffopt = o.diffopt .. ',vertical' -- Force diff to vertical o.hidden = true -- Allow hiding unsaved buffers o.ignorecase = true ...
-- client/conf.lua -- LÖVE configuration file love.conf = function(t) t.console = true -- Enable the debug console for Windows. t.window.width = 800 -- Game's screen width (number of pixels) t.window.height = 600 -- Game's screen height (number of pixels) end
local TextService = game:GetService("TextService") local Players = game:GetService("Players") local HttpService = game:GetService("HttpService") local GroupService = game:GetService("GroupService") local module = {} local t = {} function module.sendModalToPlayer(Player: player, Title: string) local Bindable = Instan...
-- a readline library -- local termio = require("termio") local rlid = 0 local function readline(opts) checkArg(1, opts, "table", "nil") local uid = rlid + 1 rlid = uid opts = opts or {} if opts.prompt then io.write(opts.prompt) end local history = opts.history or {} history[#history+1] = "" loca...
--[[ This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:26' using the latest game version. NOTE: This file should only be used as IDE support; it should NOT be distributed with addons! **************************************************************************** CONTENTS OF THIS FILE IS COPYRI...
InteractionsModule = InteractionsModule or BeardLib:ModuleClass("Interactions", ItemModuleBase) InteractionsModule.required_params = {} function InteractionsModule:AddInteractionsDataToTweak(i_self) for _, data in ipairs(self._config) do if data._meta == "interaction" then if i_self[data.id] the...
--[=[ @class BasicPaneUtils ]=] local require = require(script.Parent.loader).load(script) local Observable = require("Observable") local Maid = require("Maid") local Rx = require("Rx") local BasicPane = require("BasicPane") local BasicPaneUtils = {} --[=[ Observes visibility @param basicPane BasicPane @return ...
--- --- Generated by EmmyLua(https://github.com/EmmyLua) --- Created by uretgec. --- DateTime: 19.04.2020 21:22 --- --- TODO: --- external config.yaml file added --- user defined functions added --- --[[local conf = require('config.default')]] local ecdc = require('api') box.cfg{ listen=3301, wal_dir_rescan_d...
function helloWorld() print "Hello, World!\n" end
----------------------------------- -- Area: Konschtat Highlands -- NPC: qm1 (???) -- Continues Quests: Past Perfect -- !pos -201 16 80 108 ----------------------------------- local ID = require("scripts/zones/Konschtat_Highlands/IDs") require("scripts/globals/keyitems") require("scripts/globals/quests") -------------...
local buildmode = 0 local passivecost = 1000 -- Change Price Here And On Line 13 -- Set To 0 If Not On DarkRP function ulx.build( calling_ply ) if buildmode == 1 then calling_ply:ChatPrint("You Are Already In Passive Mode Or Your Passive Mode Is Cooling Down!") -- So People Cant Go Into Passive Mode If ...
local QBCore = exports['qb-core']:GetCoreObject() local type RegisterCommand("fps", function() exports['qb-menu']:openMenu({ { header = "🔥 FPS Booster Menu", isMenuHeader = true, -- Set to true to make a nonclickable title }, { header = "Reset", ...
--Complete the standard Lua functions. local Globals = (...) or {} local co = select(2,...) or {} local function callevfunc(evf, a,b,c,d,e,f) if evf and type(evf) == "function" then local ok, err = pcall(evf, a,b,c,d,e,f) if not ok then local err = tostring(err) if err:sub(1,12) == '[string ""]:...
-- Manifest resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5' -- Requiring essentialmode dependency 'essentialmode' server_script 'sv_stores.lua' server_script 'sv_drugs.lua' client_script 'cl_weapon.lua' client_script 'cl_food.lua' client_script 'cl_carwash.lua' client_script 'cl_drugs.lua'
--[[ Copyright (C) 2018 Google Inc. 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 2 of the License, or (at your option) any later version. This program is distributed in the hope th...
-- load app code local App = dofile("../code/anisopoisson.lua") local x0, y0 = 1.0, 0.0 -- location of O-point local zet = 1e9 -- Dpar/Dperp local Dpar = 1.0 -- parallel heat conduction local Dperp = Dpar/zet -- perpendicular heat conduction local bx = function(x, y) return -(y-y0)/math.sqrt((x-x0)^2+(y-y0)^2) end...
return {'fit','fitheid','fitis','fitness','fitnessapparatuur','fitnesscentrum','fitnessclub','fitnessen','fitnessprogramma','fitnessrage','fitnessruimte','fitnesstraining','fitnesszaal','fits','fitten','fitter','fitting','fitnessstudio','fitheidstest','fitnessapparaat','fitnesscenter','fitnesstrainer','fitnesszaak','fi...
--local objetos = script:GetCustomProperty("objetos"):WaitForObject()
local bit32 = require("bit") local lshift = bit32.lshift local band = bit32.band local rshift = bit32.rshift local Registers = {} function Registers.new() -- [1] = pc, [2] = sp local registers = { 0, -- pc 0, -- sp 0, -- a 0, -- b 0, -- c 0, -- d 0, -- e { false, -- z ...
--- --- Generated by EmmyLua(https://github.com/EmmyLua) --- Created by heyqule. --- DateTime: 8/8/2021 10:34 PM --- local ErmForceHelper = require('__enemyracemanager__/lib/helper/force_helper') local Compat_NewGamePlus = {} function Compat_NewGamePlus.exec(event) for _, race_settings in pairs(global.race_settin...
require 's2sa.OneHot' require 's2sa.LinearNoBias' function make_partial(data,opt) local inputs = {} local outputs = {} table.insert(inputs, nn.Identity()()) local lookup = nn.LinearNoBias( data.char_size , opt.char_vec_size) --local char_vecs = nn.View(1, -1, opt.char_vec_size):setNumInputDims(2)(lookup(OneH...
-- Petit script pour faire clignoter la LED IR à 38kHz -- ATTENTION, on utilise ici une superbe astuce pour faire la pulse, on -- précharge dans une variable locale le gpio.write, car on n'arrive pas avec -- le gpio.write à faire une pulse plus courte que 400uS print("\n ir_send3.lua zf180909.1256 \n") local pin...
require "lib.classes.class" require "Cutscenes.resources.FontBank" local CutscenesCtrl = require "Cutscenes.ctrl.CutscenesCtrl" local CutscenesView = require "Cutscenes.view.CutscenesView" local BasicCutsceneAdmin = require "Cutscenes.model.cutscene_admin.BasicCutsceneAdmin" local BasicCutsceneBuilder = require "Cuts...
-------------------------------------------------------------------- scn = mock_edit.createEditorCanvasScene() -------------------------------------------------------------------- CLASS: Deck2DEditor( mock_edit.EditorEntity ) function Deck2DEditor:onLoad() self:addSibling( mock_edit.CanvasGrid() ) self:addSibling( m...
meshes = { { vertexes = {{11,0},{21,0}, {7,4},{25,4}, {1,18},{3,8},{29,8},{31,18}, {5,26},{7,12},{25,12},{27,26}, {11,16},{21,16},{16,30}}, colors = {0xff0000ff, 0xff0000ff, 0xff0000ff, 0xff0000ff, 0x00ff00ff, 0x00ff00ff, 0x00ff00ff, 0x00ff00ff, 0x00ff00ff, 0x00ff00ff, 0x00ff00ff, 0x00ff00ff, 0x0...
local api = require 'api' local clock = require 'clock' local db = require 'db' local fiber = require 'fiber' local fnmatch = require 'fnmatch' local fun = require 'fun' local msgpack = require 'msgpack' local record = require 'record' local util = require 'util' local NULL = msgpack.NULL local assertup = util.assertu...
do return end -- disabled module. broken as shit local file_Exists = file.Exists local file_CreateDir = file.CreateDir local os_date = os.date local file_Append = file.Append local string_find = string.find local string_gsub = string.gsub local string_lower = string.lower local print = print local tostring = tostring ...
-- Lava Slimes by TomasJLuis & TenPlus1 -- sounds local lava_sounds = { damage = "mobs_slimes_damage", death = "mobs_slimes_death", jump = "mobs_slimes_jump", attack = "mobs_slimes_attack", } -- lava slime textures local lava_textures = {"mobs_lava_slime_sides.png", "mobs_lava_slime_sides.png", "mobs_lava_slime_...
return function(powerup, paddle, state) for entity, exists in pairs(state.entities) do if entity.is_paddle then state.world:remove(entity) local oldx = entity.x entity.x = 0 entity.w = math.min(love.graphics.getWidth() - 5, entity.w - 10) local width_chan...
-- Spell.lua -- @Author : Dencer (tdaddon@163.com) -- @Link : https://dengsir.github.io -- @Date : 1/27/2022, 11:27:53 AM -- ---@class ns local ns = select(2, ...) local LibTooltipExtra = LibStub('LibTooltipExtra-1.0') ---@class Spell: AceAddon-3.0, AceEvent-3.0, AceHook-3.0 local Spell = ns.AddOn:NewModule('Spel...
local SupplierSorter = {} function SupplierSorter:new(resource_suppliers) o = {} setmetatable(o, self) self.__index = self o.suppliers = {} for _, supplier_unit_number in pairs(resource_suppliers) do local supplier = global.conductor.train_stops[supplier_unit_number] if not is_train_stop_enabled(supp...
---@meta ---@class cc.CSLoader local CSLoader={ } cc.CSLoader=CSLoader ---* ---@param filename string ---@return cc.Node function CSLoader:createNodeFromJson (filename) end ---* ---@param filename string ---@return cc.Node function CSLoader:createNodeWithFlatBuffersFile (filename) end ---* ---@param fileName s...
-- this function is called when the box is initialized function initialize(box) dofile(box:get_config("${Path_Data}") .. "/plugins/stimulation/lua-stimulator-stim-codes.lua") stim = _G[box:get_setting(2)] launchTime = box:get_setting(3) end -- this function is called when the box is uninitialized function unin...