content
stringlengths
5
1.05M
--ZFUNC-fromcrockford32-v1 local function fromcrockford32( crock32str, ignore ) --> str, err local bitMap = { ["0"]="00000", ["1"]="00001", ["2"]="00010", ["3"]="00011", ["4"]="00100", ["5"]="00101", ["6"]="00110", ["7"]="00111", ["8"]="01000", ["9"]="01001", A="01010", B="01011", C="01100", D="011...
local RunService = game:GetService("RunService") local Promise = require(script.Parent.Parent.Promise) local Signal = require(script.Parent.Signal) local Animation = require(script.Parent.Animation) local SpringValue = {} SpringValue.__index = SpringValue export type SpringConfig = { from: number, to: number...
fascinate = { cast = function(player, target) local magicCost = 210 local duration = 30000 local aether = 3000 local spellName = "fascinate" if player.gmLevel > 0 then magicCost = 0 aether = 0 end if (not player:canCast(1, 1, 0)) then return end if (player.magic < magicCost) then playe...
local function create_variations(spidertron_name, weapon_list) local spidertron = data.raw["spider-vehicle"][spidertron_name] spidertron.fast_replaceable_group = "sws-group-" .. spidertron_name spidertron.localised_description = {"entity-description.sws-spidertron"} local create_alternate_items = se...
data:extend( { { type = "recipe", name = "transport-belt-5", category = "crafting-with-fluid", normal = { enabled = false, ingredients = { {"steel-gear-wheel", 5}, {"transport-belt-4", 1}, {type="fluid", name="refined-lubricant", amount=30} }, result = "transport-belt-5" }, ...
local wk = require("which-key") local M = {} wk.setup { plugins = { marks = true, -- shows a list of your marks on ' and ` registers = true, -- shows your registers on " in NORMAL or <C-r> in INSERT mode -- the presets plugin, adds help for a bunch of default keybindings in Neovim -- No actual key bi...
local CurrentWeather = "FIRST" local Hours = 12 local Mins = 0 local function NextWeather() if CurrentWeather == "CLEAR" or CurrentWeather == "CLOUDS" or CurrentWeather == "EXTRASUNNY" then local new = math.random(1,2) if new == 1 then CurrentWeather = "CLEARING" else ...
-- Draw a grid -- Animation happens in the shader VERTEX_SHADER = [[ #version 400 layout (location = 0) in vec3 vp; layout (location = 1) in vec3 vn; out vec3 color; uniform mat4 uViewMatrix, uProjectionMatrix; uniform float uTime; void main() { color = vec3(1.0, 1.0, 1.0); vec3 pt = vp * 2.0; gl_PointSize...
local pf = require "pathfinding" local canvas = require "canvas" local height = 10 local width = 10 local grid = 30 local m = pf.new { width = width, height = height, obstacle = { "......FFFF", "...IIIF...", "......D...", "......E...", "......F...", "......GCBA", } } local c = canvas.new() local fun...
return {'ikzelf'}
๏ปฟlocal ROLL_LOOTFRAME = script:GetCustomProperty("RoolLootFrame"):WaitForObject() local ACCEPT_ROLLBUTTON = script:GetCustomProperty("AcceptRollButton"):WaitForObject() local PASS_ROLLBUTTON = script:GetCustomProperty("PassRollButton"):WaitForObject() local FRAME_ITEM_HOVER = script:GetCustomProperty("PanelItemHover"):...
local computer = require("computer") local utils = require("utils") local logLevel = require("loglevel") local logHandlers = require("loghandlers") local Logging = logLevel ---------- Logger class ---------- local Logger = {} Logger.__index = Logger setmetatable(Logger, {__call = function(cls, name, level, handlers,...
project "custom_widgets" kind "ConsoleApp" defines {"_CONSOLE", "HORUS_IMPORTS"} includedirs {scriptRoot, scriptRoot.."/include"} includedirs {scriptRoot.."/examples/common"} add_sources_from("./") files { "../common/sdl2*.h" } files { "../common/sdl2*.cpp" } files { "../common/opengl*.h" } files { "...
--[[ TheNexusAvenger View for the user settings. --]] local ReplicatedStorage = game:GetService("ReplicatedStorage") local NexusVRCharacterModel = require(script.Parent.Parent.Parent) local CameraService = NexusVRCharacterModel:GetInstance("State.CameraService") local ControlService = NexusVRCharacterModel:GetInstan...
-- -- ---- ------ ---------- ---------------- -------------------------- -- -- This file is part of loveCodea. -- Copyright 2012 Stephan Effelsberg -- Licensed under the MIT license: -- http://www.opensource.org/licenses/mit-license.php -- -- -- ---- ------ ---------- ---------------- -------------------------- -...
-- Compiled with roblox-ts v1.2.3 local TS = _G[script] local promiseChildWhichIsA = TS.async(function(instance, className) local child = instance:FindFirstChildWhichIsA(className) if child then return child end local connection1 local connection2 local promise = TS.Promise.new(function(resolve, reject) conne...
local combat = Combat() combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER) combat:setArea(createCombatArea(AREA_CIRCLE3X3)) function onTargetCreature(creature, target) return doChallengeCreature(creature, target) end combat:setCallback(CALLBACK_PARAM_TARGETCREATURE, "onTargetCreature") function onCastS...
-- -- The chemical injector is a single purpose machine which places a fluid into -- an item, such as chemical warheads or grenades. -- if not yatm_machines then return end local Directions = assert(foundation.com.Directions) local ItemInterface = assert(yatm.items.ItemInterface) local FluidInterface = assert(yatm.f...
do local Executive1 = 45342395 , 30373376 --put your id here(BOT OWNER ID) local function setrank(msg, name, value) -- setrank function local hash = nil if msg.to.type == 'chat' then hash = 'rank:'..msg.to.id..':variables' end if hash then redis:hset(hash, name, value)...
local library = loadstring(game:HttpGet(("https://raw.githubusercontent.com/AikaV3rm/UiLib/master/Lib.lua")))() local w = library:CreateWindow("SHOOT OUT!") -- Creates the window local b = w:CreateFolder("Main") -- Creates the folder(U will put here your buttons,etc) weaponData = game:GetService("ReplicatedFirst")["_0x...
includeFile("rori/adolescent_pygmy_torton.lua") includeFile("rori/adult_pygmy_torton.lua") includeFile("rori/bearded_jax.lua") includeFile("rori/black_sun_minion.lua") includeFile("rori/black_sun_smuggler.lua") includeFile("rori/black_sun_initiate.lua") includeFile("rori/blood_thirsty_borgle.lua") includeFile("rori/bor...
--[[ _ ( ) _| | __ _ __ ___ ___ _ _ /'_` | /'__`\( '__)/' _ ` _ `\ /'_` ) ( (_| |( ___/| | | ( ) ( ) |( (_| | `\__,_)`\____)(_) (_) (_) (_)`\__,_) DExpandButton --]] PANEL = {} AccessorFunc( PANEL, "m_bExpanded", "Expanded", ...
require 'nn' local ntm = require '../models/ntm' -- Parameters local INPUT_SIZE = 4 local OUTPUT_SIZE = 2 local MEMORY_SLOTS = 10 -- Number of addressable slots in memory local MEMORY_SIZE = 3 -- Size of each memory slot local CONTROLLER_SIZE = 5 local SHIFT_SIZE = 1 local TEMPORAL_HORIZON = 10 -- Test the recurrent...
local math = require("__flib__.math") local constants = require("constants") local util = require("scripts.util") return function(recipe_book, dictionaries, metadata) for name, prototype in pairs(global.prototypes.technology) do local unlocks_equipment = util.unique_obj_array() local unlocks_fluids = util....
local util = require 'lspconfig.util' local bin_name = 'wgsl_analyzer' local cmd = { bin_name } if vim.fn.has 'win32' == 1 then cmd = { 'cmd.exe', '/C', bin_name } end return { default_config = { cmd = cmd, filetypes = { 'wgsl' }, root_dir = util.root_pattern '.git', settings = {}, }, docs = ...
--- Allows the creation, updating and reading of persistent settings -- @module Setting impulse.Settings = impulse.Settings or {} impulse.AdvSettings = impulse.AdvSettings or {} --- A collection of data that defines how a setting will behave -- @realm client -- @string name The pretty name for the setting (we'll see ...
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local sys = require "luci.sys" local uci = require "luci.model.uci".cursor() local testfullps = sys.exec("ps --help 2>&1 | grep BusyBox") --check which ps do we have local psstring...
return { version = "1.1", luaversion = "5.1", tiledversion = "2018.01.10", orientation = "orthogonal", renderorder = "right-down", width = 25, height = 10, tilewidth = 64, tileheight = 64, nextobjectid = 24, properties = {}, tilesets = { { name = "newmap1", firstgid = 1, fi...
local px = player:getX() local py = player:getY() weapons = {} weapons.holding = {} weapons.holding.angleX = 1.7 weapons.holding.angleY = 1.7 weapons.holding.posX = px + 20 weapons.holding.posY = py + 10 function weapons:update(dt) weaponAngle = weaponMouseAngle() mouseXPos = love.mouse.getX() local ...
๏ปฟlocal E, C, L = select(2, ...):unpack() if not C.chat.enable then return end ---------------------------------------------------------------------------------------- -- Systems spam filter ---------------------------------------------------------------------------------------- local ChatFrame_AddMessageEventFilter ...
StartState = Class{__includes = BaseState} --[[ Nothing to be initialised here. ]] function StartState:enter() end function StartState:update(dt) -- Change state to play when enter is pressed. if love.keyboard.wasPressed('enter') or love.keyboard.wasPressed('return') then gSounds['select']:p...
--- prints the string s n times -- @tparam number n how many times to print the string -- @tparam string s the string to print function printn(s, n) for i = 1, n do print(s) end end printn(10, "hello")
-- Tokenizer and Parser. -- The tkn() function is from 20kdc. local parser = {} local type = type local ip = ipairs local sm, ss, sgs = string.match, string.sub, string.gsub local tconc = table.concat -- For a string, removes whitespace, and splits it -- into the token, the token type, and the remainder. local patt...
local WEAPONS = script:GetChildren() local weaponTable = {} local counter = 1 for _, value in pairs(WEAPONS) do weaponTable[counter] = value counter = counter + 1 end function GetShortId(object) return string.sub(object.id, 1, string.find(object.id, ":") - 1) end function TablePrint(tbl, indent) local...
--[[ Copyright (c) 2016-present, Facebook, Inc. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory. ]]-- local tnt ...
ENT.Type = "anim" ENT.Base = "base_anim" ENT.PrintName = "" ENT.Author = "Maw" ENT.Purpose = "Stuff" function ENT:SetupDataTables() self:NetworkVar( "String", 0, "StringMoney" ) end function ENT:GetMoney() return tonumber(self:GetStringMoney()) or 0 end function ENT:SetMoney(money) self:SetStringMoney...
---@meta ---@class cc.TableViewCell :cc.Node local TableViewCell={ } cc.TableViewCell=TableViewCell ---* Cleans up any resources linked to this cell and resets <code>idx</code> property. ---@return self function TableViewCell:reset () end ---* The index used internally by SWTableView and its subclasses ---@return ...
require 'math' require 'os' require 'io' -- Read http://mathworld.wolfram.com/LightsOutPuzzle.html for the mathematics -- involved in making lightbox levels local levels = {} function levels.newLevel(rows, cols) math.randomseed(os.time()) -- Initialize the all-unlit board matrix. boardMatrix = {} ...
local status_ok, dap = pcall(require,'dap') if not status_ok then vim.notify("dap not found. Can't load debugger adapters") return end dap.adapters.cppdbg = { id = 'cppdbg', type = 'executable', command = os.getenv('HOME') ..'/dev/debugger/extension/debugAdapters/bin/OpenDebugAD7' } dap.configurations.cpp...
local Observer = require('utils.observer') local Timer = require('oop.timer') local Native = require('native') ---@class BattleGroundMgr: Observer BattleGroundMgr = Observer:new() function BattleGroundMgr:init() self.currentOnMap = 0 self.loseValue = 900 self:registerEvent(Events.PlayerLeave, function(pl...
-- comment ignored: if 1 + 1 < 2 do print("hello, world") return 3 end
local Buryable = Class(function(self, inst) self.inst = inst self.onBury = nil end) function Buryable:OnBury(hole, doer) if self.onBury then self.onBury(self.inst, hole, doer) end end function Buryable:SetOnBury(fn) self.onBury = fn end function Buryable:CollectUseActions(doer, target, actions...
ITEM.name = "Gauze Bandage" ITEM.description = "A small bandage for wounds." ITEM.longdesc = "A simple roll of gauze, which in a pinch can be used to apply pressure if bound tightly around a wound. It is not very effective, however it will work in a pinch." ITEM.model = "models/kek1ch/dev_bandage.mdl" ITEM.width = 1 IT...
local helpers = require 'test.unit.helpers' local prof = helpers.cimport './src/nvim/profile.h' local ffi = helpers.ffi local eq = helpers.eq local neq = helpers.neq local function split(inputstr, sep) if sep == nil then sep = "%s" end local t, i = {}, 1 for str in string.gmatch(inputstr, "([^"..sep.."]+...
local ReplicatedStorage = game:GetService("ReplicatedStorage") local TestEZ = require(ReplicatedStorage.Packages.TestEZ) TestEZ.TestBootstrap:run({ ReplicatedStorage.Packages.RECS })
-- -- โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— -- โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ• -- โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ• โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— -- โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ• โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ•šโ•โ•โ•โ•โ–ˆโ–ˆโ•‘ -- โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘ โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘ -- โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ• ...
---@class CS.UnityEngine.TargetJoint2D : CS.UnityEngine.Joint2D ---@field public anchor CS.UnityEngine.Vector2 ---@field public target CS.UnityEngine.Vector2 ---@field public autoConfigureTarget boolean ---@field public maxForce number ---@field public dampingRatio number ---@field public frequency number ---@type CS....
local E, L, V, P, G = unpack(select(2, ...)); --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB local S = E:GetModule('Skins') --Cache global variables --Lua functions local _G = _G --WoW API / Variables --Global variables that we don't cache, list them here for mikk's FindGlobals script -- GLOBALS: local fu...
import("..includes.functions") local TestSingleTouch1Scene = class("TestSingleTouch1Scene", function() return display.newScene("TestSingleTouch1Scene") end) function TestSingleTouch1Scene:ctor() -- createTouchableSprite() ๅฎšไน‰ๅœจ includes/functions.lua ไธญ self.sprite = createTouchableSprite({ imag...
--- Basic class for OOP. -- @classmod l2df.class -- @author Abelidze -- @copyright Atom-TM 2019 local core = l2df or require((...):match('(.-)[^%.]+$')) assert(type(core) == 'table' and core.version >= 1.0, 'Classes works only with l2df v1.0 and higher') local Class = { } --- Super-class metatable used for accessin...
luanovel.text._interpret = function (str) local ret = str ret = string.gsub(ret, "\\{", "\x04") ret = string.gsub(ret, "\\}", "\x05") ret = string.gsub(ret, "{(.-)}", function (s) return load("return (" .. s .. ")")() end) ret = string.gsub(ret, "\x04", "{") ret = string.gsub(ret, "\x05", ...
PipeManager = {} function PipeManager:OnInit() Log("PipeManager: Creating goal pipes"); self:ReloadScripts(); self:CreateGoalPipes(); Log("PipeManager: Finished creating goal pipes!"); end function PipeManager:ReloadScripts() --Script.ReloadScript("Scripts/AI/GoalPipes/PipeManagerGeneric.lua"); Script....
local Pcall = {} local GlobalWait = 2 function Pcall.Retry(Limit, Method, self, ...) local Success, Value = false, nil local RetryCount = 0 repeat if RetryCount >= Limit then warn("[pcall] - Retry limit exhaused") break elseif RetryCount > 0 then print("[pcall] - retrying count: ", RetryCount) wai...
#!/usr/bin/env lua require 'Test.More' d = require'dumper' dump = function(str, var) print(d.dump(str, var)) end local url = require'neturl' local s local q plan(14) local u = url.parse("http://www.example.com") u.query.net = "url" is("http://www.example.com/?net=url", tostring(u), "Test new query variable") u.qu...
local CreatePriorityQueue = import('/mods/DilliDalli/lua/FlowAI/framework/utils/PriorityQueue.lua').CreatePriorityQueue Profiler = Class({ Init = function(self) self.Trash = TrashBag() self.last = 0 self.times = {} self.period = 5 -- How many seconds to wait before logging again ...
-------------------------------------------------------------------------- -- vault.lua: Vault helper functions from more than one file. -------------------------------------------------------------------------- -- Counting Pan runes for Ignacio and for exits. function count_pan_runes() local runes = 0 for _, r in...
------------------ Face Stage --------------------- face = {} -- function face.init() face.x = 112 face.y = F6 + ANT_HEIGHT - 16 face.frame = 1 face.images = { globalImages.face1, globalImages.face2, globalImages.face3, globalImages.face4, globalImages.face5, globalImages.face6, globalImages.face8, globalIm...
--removes unhappy thoughts due to lack of clothing --[====[ fixnaked ======== Removes all unhappy thoughts due to lack of clothing. ]====] function fixnaked() local total_fixed = 0 local total_removed = 0 for fnUnitCount,fnUnit in ipairs(df.global.world.units.all) do if fnUnit.race == df.global.ui...
local t = require 'transducers' local f = require 'functional' local tr = require 'transformers' local inspect = require 'inspect' local function plus1(n) return n + 1 end local function odd(n) return n % 2 == 0 end local function push(tbl, result) table.insert(tbl, result) return tbl end local arr = {1,2,...
๏ปฟdo -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled(name) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local f...
function allwords () local line = io.read(); local pos = 1; return function() while line do local s, e = string.find(line, "%w+", pos); if s then pos = e + 1; return string.sub(line, s, e); else line = io.read(); pos = 1; end end return nil end end for word in allwords() do print...
-- liquid_sounds/init.lua sounds.register_defaults("liquid_sounds:ice", { footstep = {name = "liquid_sounds_ice_footstep", gain = 0.3}, dig = {name = "liquid_sounds_ice_dig", gain = 0.5}, dug = {name = "liquid_sounds_ice_dug", gain = 0.5} }) sounds.register_defaults("liquid_sounds:water", { footstep = {name = "li...
-- !!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!! -- This file is automaticly generated. Don't edit manualy! -- !!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!! ---@class C_Reputation C_Reputation = {} ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Reputation.GetFactionParagonInfo) ---@pa...
local radio = require('radio') local application = { name = "rx_am", description = "AM Receiver", supported_inputs = { {"rtlsdr", defaults = {_rate = 1102500}}, {"airspy", defaults = {_rate = 3000000}}, {"airspyhf", defaults = {_rate = 768000}}, {"bladerf", defaults = {_rate...
#!/usr/bin/env lua5.4 --- Whats my IP address -- Yet another Whats my IP address - Service local http_server = require('http.server') local http_headers = require('http.headers') local cerrno = require('cqueues.errno') local lfs = require('lfs') local mimetypes = require('mimetypes') local logger -------------------...
require("prototypes.entity.entities") require("prototypes.item.items") require("prototypes.recipe.recipes") require("prototypes.technology.technologies")
-- Copyright (C) 2018 David Capello -- -- This file is released under the terms of the MIT license. -- Read LICENSE.txt for more information. assert("" ~= os.getenv("PATH")) print("PATH", os.getenv("PATH")) local start_clock = os.clock() print("Start ", start_clock) local end_clock = os.clock() print("End ", end_cl...
m = Map("cpulimit", translate("cpulimit"),translate("Use cpulimit to limit app's cpu using.")) s = m:section(TypedSection, "list", translate("Settings")) s.template = "cbi/tblsection" s.anonymous = true s.addremove = true enable = s:option(Flag, "enabled", translate("enable", "enable")) enable.optional = false enable...
--------------------------------------------- -- Dreadstorm -- -- Description: Deals magical damage in an area of effect. Additional effect: Terror -- Type: Magical -- Wipes Shadows -- Range: 13' radial --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/sett...
local M = {} -- factions overview local overview_factions = { "Il Villaggio รจ una comunitร  pacifica e serena, un vero angolo di Paradiso. Gli spensierati Paesani adorano il quieto vivere, e non esitano a condannare coloro che minacciano l'ordine pubblico ad un brutale Linciaggio. Ne organizzano uno ogni Giorno. Ma ...
local function main() if client.is_key_pressed(1) or client.is_key_pressed(2) then ui.get_check_box("visuals_other_grenade_prediction"):set_value(true) else ui.get_check_box("visuals_other_grenade_prediction"):set_value(false) end end client.register_callback("paint", main)
project "${project_name}" location "." kind "${project_type}" language "C" files { "**.c", "**.h" } includedirs { "../_vendor", "../", "." }
local _, TRB = ... local _, _, classIndexId = UnitClass("player") if classIndexId == 12 then --Only do this if we're on a DemonHunter! local barContainerFrame = TRB.Frames.barContainerFrame local resourceFrame = TRB.Frames.resourceFrame local castingFrame = TRB.Frames.castingFrame local passiveFrame = TRB.Frames.pa...
-- Spider by AspireMint (fishyWET (CC-BY-SA 3.0 license for texture) foodchain:register_mob("foodchain:spider", { type = "animal", passive = false, attack_type = "dogfight", damage = 3, hp_min = 20, hp_max = 40, armor = 200, collisionbox = {-0.9, -0.01, -0.7, 0.7, 0.6, 0.7}, visual = "mesh", mesh = "mobs_sp...
function DoSubSystemDemand_Kadesh() SubSystemDemandSet(FIGHTERPRODUCTION,1) local anfidemand = ShipDemandMaxByClass(eAntiFrigate) if NumSubSystems(FIGHTERPRODUCTION) > 0 then if(ShipDemandGet(KAD_ARANEID) > 0)then SubSystemDemandSet(PLATFORMPRODUCTION,0.5) end ...
leather_hand_db = { id0 = { source = "Madfeather", drop_rate = "0.0", name = "Darkwood Sentinel's Grips", category_territory = "", territory = "War Zone", id = "0", expansion = "", location = "Darkshore" }, id1 = { source = "Alashanir", drop_rate = "0.0", name = "Deathstalker's Grips", catego...
-- mod_net_dovecotauth.lua -- -- Protocol spec: -- http://dovecot.org/doc/auth-protocol.txt -- -- Example postfix config: -- sudo postconf smtpd_sasl_path=inet:127.0.0.1:28484 -- sudo postconf smtpd_sasl_type=dovecot -- sudo postconf smtpd_sasl_auth_enable=yes module:set_global(); -- Imports local new_sasl = require ...
require("nvim-autopairs").setup({ disable_filetype = { "TelescopePrompt", "vim" }, }) local buf_nmap = require("pman.sets").buf_nmap local buf_xmap = require("pman.sets").buf_xmap local ts_util = require "nvim-lsp-ts-utils" local custom_init = function(client) client.config.flags = client.config.flags or {} clie...
package("libbpf") set_homepage("https://github.com/libbpf/libbpf") set_description("Automated upstream mirror for libbpf stand-alone build.") set_urls("https://github.com/libbpf/libbpf/archive/$(version).tar.gz", "https://github.com/libbpf/libbpf.git") add_versions("v0.3", "c168d84a75b541...
_Awesome.awful.layout.layouts = { _Awesome.awful.layout.suit.floating, _Awesome.awful.layout.suit.tile, _Awesome.awful.layout.suit.tile.left, _Awesome.awful.layout.suit.tile.bottom, _Awesome.awful.layout.suit.tile.top, _Awesome.awful.layout.suit.fair, _Awesome.awful.layout.suit.fair.horizontal, _Awesome...
local Players = GAMESTATE:GetHumanPlayers(); local t = Def.ActorFrame{ LoadActor("end.png")..{ InitCommand=function(self) self:xy(_screen.cx,_screen.cy):cropbottom(1):fadetop(1):zoom(.7):shadowlength(1) end, OnCommand=function(self) self:decelerate(0.5):cropbottom(0):fadetop(0):glow(1,1,1,1):decelerate(1):gl...
ITEM.name = "ะšะพะณะพั‚ัŒ ั…ะธะผะตั€ั‹" ITEM.desc = "ะšะพะณะพั‚ัŒ ั…ะธะผะตั€ั‹. ะ•ะณะพ ั‚ะพั‡ะฝั‹ะน ะผะพะปะตะบัƒะปัั€ะฝั‹ะน ัะพัั‚ะฐะฒ ะฝะต ะธะทัƒั‡ะตะฝ, ะฝะพ ะฒัะต ะทะฝะฐัŽั‚, ั‡ั‚ะพ ะพะฝ ะฟั€ะพั‡ะฝั‹ะน ะธ ะพัั‚ั€ั‹ะน ะบะฐะบ ะฐะปะผะฐะท. ะญั‚ะพ ะพะฑัŠััะฝัะตั‚, ะฟะพั‡ะตะผัƒ ะผะพะฝัั‚ั€ ะผะพะถะตั‚ ั€ะฐะทะพั€ะฒะฐั‚ัŒ ั ะปั‘ะณะบะพัั‚ัŒัŽ ะปัŽะฑัƒัŽ ะฑั€ะพะฝัŽ. ะŸั€ะธ ะพั‚ััƒั‚ัั‚ะฒะธะธ ะฑะพะปะตะต ะฟั€ะธะณะพะดะฝั‹ั… ะธะฝัั‚ั€ัƒะผะตะฝั‚ะพะฒ ะผะพะถะตั‚ ะธัะฟะพะปัŒะทะพะฒะฐั‚ัŒัั ะดะปั ั€ะฐะทะดะตะปะบะธ ั‚ัƒัˆ ะผัƒั‚ะฐะฝั‚ะพะฒ. \n\nะฅะะ ะะšะข...
local sub = string.sub local byte = string.byte local tab_insert = table.insert local tab_remove = table.remove local tcp = ngx.socket.tcp local null = ngx.null local type = type local pairs = pairs local setmetatable = setmetatable local tonumber = tonumber local tostring = tostring local rawget = rawget l...
local flowers = script.parent flowers:RotateContinuous(Rotation.New(0, 0, 30))
local customSpawnsForMap = cfcRandomSpawn.config.CUSTOM_SPAWNS[game.GetMap()] local mapHasCustomSpawns = customSpawnsForMap ~= nil hook.Remove( "PlayerSpawn", "CFC_PlayerSpawning" ) if mapHasCustomSpawns then cfcRandomSpawn.spawnPointRankings = cfcRandomSpawn.spawnPointRankings or {} local function...
-- Copyright 2010-2020 Jeff Stone. See LICENSE. -- Inform LPeg lexer for Scintillua. -- JMS 2010-04-25. local lexer = require('lexer') local token, word_match = lexer.token, lexer.word_match local P, S = lpeg.P, lpeg.S local lex = lexer.new('inform') -- Whitespace. lex:add_rule('whitespace', token(lexer.WHITESPACE, ...
--[[ Receiver functions for handling data communications ]] -- Processes receipt of data -- Enter all storm data into records function navcomp.com:DataReceived (sender, data) local receivedSystems = {} navcomp.data.isStormDataSaved = false local v, sysId if data.storms then for _,v in ipairs (data.storms) do ...
--- Policy module -- Policies should define a method for each of the nginx phases (rewrite, -- access, etc.) in which they want to run code. When Apicast runs each of -- those phases, if the policy has been loaded, it will run the code in the -- method with the phase name. So for example, if we want to define a policy ...
hook.Add("PlayerSay", "EventSystem:ChatCommand", function(ply, text) if not EventSystem.Config.EventCommand[string.lower(text)] then return end if not ply:IsStaff() then return end if not ply:IsEventTeam() then return end if not (ply:Team() == TEAM_EVENTTEAM) then return end if not EventSystem.Data.info.name then...
-- All the net messages defined here util.AddNetworkString("xSGroupsNetworkIDRank") util.AddNetworkString("xSGroupsNetworkExistingUsers")
return {'aikido','aike','aiko','aikes','aikos'}
reports = {} local function generateReportItem(r_menu, line, i, line_index) local time, ip, steam, usgn, id, team, name, nameTarget, steamTarget, usgnTarget, ipTarget, reason = string.match(line, "(%d+%-%d+%-%d+ %d+:%d+ [AP]M) %- %[IP: ([%d%.]+)%] %[STEAM: (%d+)%] %[USGN: (%d+)%] %[ID: (%d+)%] %[Team: (%d+)%] %...
return {'gust','gustaaf','gus','gust','gustav','gustave','gustavo','gussinklo','gustin','guste','gus','gusts','gustaafs','gustavs','gustaves','gustavos'}
local RUF = RUF or LibStub('AceAddon-3.0'):GetAddon('RUF') local LSM = LibStub('LibSharedMedia-3.0') local _, ns = ... local oUF = ns.oUF local _, uClass = UnitClass('player') function RUF.SetStagger(self, unit) if uClass ~= 'MONK' then return end local texture = LSM:Fetch('statusbar', RUF.db.profile.Appearance.Bars...
Script.Load("lua/Class.lua") local function GetClassCount() local classCount = 0 for c, m in pairs(_G) do if type(m) == "table" then classCount = classCount + 1 end end return classCount end local copyProgress = 0 local classCount = classCount or GetClassCount() lo...
local AES = require './AES' local key = 0x68C756C6C186436C9EC51C174C32AE81761389B5E5904E30BA57CCD911290ECC local plaintext = 'my secret, with extra length so that it is waaaaaaaaay over 16 bytes.' local cyphertext = AES.ECB_256(AES.encrypt, key, plaintext) local newtext = AES.ECB_256(AES.decrypt, key, cyphertext) print...
_G.GoonBase.Options = _G.GoonBase.Options or {} local Options = GoonBase.Options local mt = getmetatable( Options ) if mt == nil then mt = {} mt.__func = {} mt.__data = {} setmetatable( Options, mt ) end function mt.__index(tbl, key) return mt.__data[key] or mt.__func[key] end function mt.__newindex(tbl, key, ...
--------------------------------------------------- -- Snow Cloud -- Deals Ice damage to targets in a fan-shaped area of effect. Additional effect: Paralyze -- Range: 10' cone --------------------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/glob...
----------------------------------- -- Area: Bhaflau Thickets -- NPC: Hamta-Iramta -- Type: Alzadaal Undersea Ruins -- !pos -459.942 -20.048 -4.999 52 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- function onTrade(player, npc, trade) if (trade:getItemCount() ...
require "keybow" -- Standard number pad mapping -- -- Key mappings -- function handle_key_00(pressed) keybow.set_key("0", pressed) end function handle_key_01(pressed) keybow.set_key(".", pressed) end function handle_key_02(pressed) keybow.set_key(keybow.ENTER, pressed) end function handle_key_03(press...