content
stringlengths
5
1.05M
return { { id = 'tile_empty', passable = false }, { id = 'tile_asphalt', movementCost = { stand = 1, crouch = 1, prone = 2, }, passable = true, spawn = true }, { id = 'tile_deep_water', pass...
object_tangible_deed_player_house_deed_ns_hut_deed = object_tangible_deed_player_house_deed_shared_ns_hut_deed:new { } ObjectTemplates:addTemplate(object_tangible_deed_player_house_deed_ns_hut_deed, "object/tangible/deed/player_house_deed/ns_hut_deed.iff")
-- Generate an Android project makefile. -- -- originally from: -- Copyright (c) 2012 Richard Swift and the Premake project local jni = premake.extensions.jni local project = premake.project function jni.cpp(prj) _p('# %s project makefile autogenerated by Premake', premake.action.current().shortname) _p('LOCAL_PATH...
-------------------------------------- -- Happy Weather API: initialization -- License: MIT -- Credits: xeranas -------------------------------------- local modpath = minetest.get_modpath("happy_weather_api"); dofile(modpath.."/api.lua") dofile(modpath.."/commands.lua")
local M = {} M.error = function(msg) vim.api.nvim_echo({ {msg, 'ErrorMsg'} }, true, {}) end M.info = function(msg) vim.api.nvim_echo({ {msg, 'WarningMsg'} }, true, {}) end return M
-- -- Licensed to the Apache Software Foundation (ASF) under one or more -- contributor license agreements. See the NOTICE file distributed with -- this work for additional information regarding copyright ownership. -- The ASF licenses this file to You under the Apache License, Version 2.0 -- (the "License"); you may ...
-- Copyright (C) 2018-2021 by KittenOS NEO contributors -- -- Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. -- -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTI...
function string:split(sep) local sep, fields = sep or ":", {} local pattern = string.format("([^%s]+)", sep) self:gsub(pattern, function(c) fields[#fields+1] = c end) return fields end function string:capitalizeFirstLetter() return (self:gsub("^%l", string.upper)) end -- Check for case-insensitive...
local dns_client = require 'resty.resolver.dns_client' describe('resty.resolver.dns_client', function() local dns = dns_client:new{ nameservers = { '127.0.0.1' } } describe(':init_resolvers', function() it('is called only once', function() local s = spy.on(dns_client, 'init_resolvers') dns:query('...
net.Receive("SendMessage", function() chat.AddText(net.ReadColor(), "[ZP] ", Color(255, 255, 255), net.ReadString()) end) net.Receive("SendConsoleMessage", function() print(net.ReadString()) end) net.Receive("SendPopupMessage", function() notification.AddLegacy(net.ReadString(), NOTIFY_GENERIC, 5) end) net.Receive("...
local lg = love.graphics local camera = Item.new(0, 0) camera.scale = 1 camera.rot = 0 function camera:set() lg.push() lg.translate( - self.x, - self.y) lg.rotate( self.rot) lg.scale( self.scale, self.scale) end function camera:unset() lg.pop() end return camera
-- Weather system for Concrete Jungle Roleplay, written by Peter Gibbons (aka. Jason) on 16/08/08 -- local weather local nextWeather local laterWeather local delay = 1 local delay2 = 1 -- Function run on resource start to set the weather to a particular type function startWeather(resource) -- tempoarily ...
-- run me with 'lua -luatrace command-line.lua' function b() return 1 end function c() return 2 end local a = b() + c() print(a + b())
-- This file is automatically generated, do not edit! -- Path of Building -- -- Active Strength skill gems -- Skill data (c) Grinding Gear Games -- local skills, mod, flag, skill = ... skills["AbyssalCry"] = { name = "Abyssal Cry", color = 1, description = "Performs a warcry, Hindering nearby enemies and causing th...
local module = {} local util = require(script.Util) local active = {} local run_threshold = 3.5 local run_transition = 0.2 local jump_transition = 0.1 local fall_transition = 0.4 function module.Start(character) if character.PrimaryPart and active[character.PrimaryPart] then return end local humanoid = character...
local WidgetBase = require("WidgetBase") local ContainerBase = WidgetBase:extend() ContainerBase.baseStyle = { gap = 0, slots = 0, } setmetatable(ContainerBase.baseStyle, {__index=WidgetBase.baseStyle}) ContainerBase.type = "ContainerBase" function ContainerBase:new(...) local args = {...} self.items ...
--[[ Drones Rewrite ]] DRONES_REWRITE = { } DRONES_REWRITE.LogDebug = function(text) if DRONES_REWRITE.ServerCVars and DRONES_REWRITE.ServerCVars.DebugMode:GetBool() then MsgC(Color(255, 100, 100), "[DRR Debug] ", SERVER and Color(137, 222, 255) or Color(255, 222, 102), text, "\n") end end DRONES_REWRITE.Versio...
object_mobile_dressed_ep3_forest_outcast_female_01 = object_mobile_shared_dressed_ep3_forest_outcast_female_01:new { } ObjectTemplates:addTemplate(object_mobile_dressed_ep3_forest_outcast_female_01, "object/mobile/dressed_ep3_forest_outcast_female_01.iff")
function script.Killed(recentDamage, maxHealth) return 0 end
-- 6061 Alumunium alloy -- https://en.wikipedia.org/wiki/6061_aluminium_alloy local Armor = ACF.RegisterArmorType("Aluminum", "RHA") function Armor:OnLoaded() self.Name = "6061 Aluminum" self.Density = 2.7 -- g/cm3 self.Tensile = 207 self.Description = "Less dense than steel at the expense of durability...
return function() local module = Deus:Load("Deus.JSON") -- Tests only reveal if the same DataType is returned, not if the data is preserved describe("serialization", function() it("should give string from table", function() expect(module.serialize( { ...
local actions = {} actions.add_monster = function(id, name) return { type = "ADD_MONSTER", payload = { id = id, name = name } } end actions.create_item = function(id, name) return { type = "CREATE_ITEM", payload = { id = id, ...
-- Copyright 2014 by Ida Bruhns -- -- This file may be distributed and/or modified -- -- 1. under the LaTeX Project Public License and/or -- 2. under the GNU Public License -- -- See the file doc/generic/pgf/licenses/LICENSE for more information --- This class implements an inital position algorithm for graph drawing,...
AddCSLuaFile() ENT.Type = "anim" ENT.PrintName = "Vending Machine" ENT.Author = "Chessnut" ENT.Category = "HL2 RP" ENT.Spawnable = true ENT.AdminOnly = true ENT.PhysgunDisable = true ENT.PhysgunAllowAdmin = true function ENT:SpawnFunction(client, trace) local entity = ents.Create("nut_vendingm") entity:SetPos(trace...
function noteMiss() if difficulty == 0 then health = getProperty('health') if getProperty('health') > 0 then setProperty('health', health+ 1); end end end function onCreate() if difficulty == 0 then setProperty('healthBar.visible', false) setProperty('healthBarBG.visible', false) setP...
assert(_OPTIONS.chip,'use --chip') local _linker_script = require 'linker_script' local toolchain_abs = nil if toolchain_path then toolchain_abs = path.rebase(_OPTIONS.toolchain_path,_WORKING_DIR,'build') end function stm32_solution( name ) solution(name) toolset 'arm_gcc' location( path.join(_WORKING_DIR,'...
-- Copyright 2015 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.openvpn", package.seeall) function rrdargs( graph, plugin, plugin_instance ) local inst = plugin_instance:gsub("^openvpn%.(.+)%.status$", "%1") return { { tit...
local LogService = game:GetService("LogService") local TextService = game:GetService("TextService") local Constants = require(script.Parent.Parent.Parent.Constants) local FONT_SIZE = Constants.DefaultFontSize.MainWindow local FONT = Constants.Font.Log local MAX_STRING_SIZE = Constants.LogFormatting.MaxStringSize loca...
-- not to be confused with a chart editor -- this one just aids on making animated characters local chareditor = { } chareditor.active = false local assets = { } local Editor = { -- actual important stuff Spritesheet = nil, XML = nil, Animations = { }, AnimationFrames = { }, -- temporary garbage...
-- Register <max> grass nodes from <base_name> to <base_name>_<max>. -- <def> is passed to aurum.flora.register() with suitable defaults. -- ... is passed to minetest.register_decoration() with suitable defaults. function aurum.flora.register_grass(base_name, max, def, ...) for i=1,max do local name = (i == 1) and b...
local guide = require 'parser.guide' return function (ast, offset, accept) local len = 999 local result guide.eachSourceContain(ast.ast, offset, function (source) if source.finish - source.start < len and accept[source.type] then result = source len = source.finish - sou...
local MOUDLE_COMMENT_NAME = "// LED 配置 //" local comment_begin = cfg:i32("pwmled注释开始", 0); local pwmled_comment_begin_htext = module_output_comment(comment_begin, MOUDLE_COMMENT_NAME); --print(MOUDLE_COMMENT_NAME); --[[ //========================...
local Util = require('opus.util') local device = _G.device local kernel = _G.kernel local os = _G.os local containers = { manipulator = true, neuralInterface = true, } local cache = { } -- manipulators will throw an error on listModules -- if the user has logged off local function getModules...
local particles = {} function particles.new() local ps = { loaded = {}, active = {}, } return setmetatable(ps, {__index=particles}) end function particles:add(folder) local p = require("assets.particles." .. tostring(folder) .. ".metadata") for i, t in ipairs(p.textures) do p.textures[i] = love.graphics.ne...
function ModelSwapStart( keys ) local caster = keys.caster local model = keys.model caster.main_ability = caster:GetAbilityByIndex(0) local cooldown = caster.main_ability:GetCooldownTimeRemaining() caster.ability_level = caster.main_ability:GetLevel() caster.main_ability_name = caster.main_ability:GetAbilityName(...
return { source = { type = 'dist', location = 'https://s3.amazonaws.com/json-c_releases/releases/json-c-0.12.tar.gz', sha256sum = '000c01b2b3f82dcb4261751eb71f1b084404fb7d6a282f06074d3c17078b9f3f' }, build = { type = 'gnu', autoreconf = true } }
gritty = { path = ... } require(gritty.path.."/generation") local gritty = gritty _G.gritty = nil gritty.path = nil return gritty
local math = math local clamp = function(value, min, max) return math.min(math.max(value, min), max) end return { clamp = clamp }
--- Eva advertisement module -- This module provide API to unityads -- @submodule eva local app = require("eva.app") local log = require("eva.log") local const = require("eva.const") local db = require("eva.modules.db") local game = require("eva.modules.game") local proto = require("eva.modules.proto") local saver =...
local ffi = require'ffi' local bit = require'bit' local C = ffi.C local setmetatable = setmetatable local type, tonumber = type, tonumber local i8p = ffi.typeof('int8_t*') local i16p = ffi.typeof('int16_t*') local i32p = ffi.typeof('int32_t*') local i64p = ffi.typeof('int64_t*') local u8p = ffi.typeof('uint8_t*') loca...
local F, G, V = unpack(select(2, ...)) ----------------------------------------------------------------------------------------- local function fixStatusbar(bar) bar:GetStatusBarTexture():SetHorizTile(false) bar:GetStatusBarTexture():SetVertTile(false) end function createStatusbar(parent, tex, layer, height, width,...
_ENV=namespace "ui" using_namespace "luaClass" using_namespace "container" class("LoaderUI"){ super(cc.ProgressTimer); super(LUIObject); public{ FUNCTION.LoaderUI(function(self,imgPath) self=self:__super(cc.Sprite:create(imgPath)) self:LUIObject() ...
-- https://stackoverflow.com/questions/38045839/lua-xterm-256-colors-gradient-scripting -- local abs, min, max, floor = math.abs, math.min, math.max, math.floor local levels = { [0] = 0x00, 0x5f, 0x87, 0xaf, 0xd7, 0xff } local function index_0_5(value) -- value = color component 0..255 return floor(max((value - 35...
return {'jen','jenaplanschool','jenever','jeneverachtig','jeneverbes','jeneverbesstruik','jeneverfles','jeneverglas','jeneverlucht','jeneverneus','jeneverstoker','jeneverstokerij','jeneverstruik','jengel','jengelen','jennen','jenoffel','jeneverkruik','jennie','jennifer','jenny','jens','jensen','jenner','jenita','jenna'...
local awful = require("awful") local common = require("common") local modkey = common.modkey local ctrlkey = common.ctrlkey local shiftkey = common.shiftkey -- Tags related keybindings awful.keyboard.append_global_keybindings({ awful.key({ modkey, }, "Left", awful.tag.viewprev, {descript...
wavemanager = {} local wavetimer = 0 function wavemanager:update(dt) if waveNumber <= #waves then if waveOngoing == true then local currentWave = waves[waveNumber] wavetimer = wavetimer + dt for i, spawner in pairs(currentWave) do if spawner.spawnCount > 0 then -- check if it still has enemies to spa...
return { HOOK_BLOCK_TO_PICKUPS = { CalledWhen = "A block is about to be dug ({{cPlayer|player}}, {{cEntity|entity}} or natural reason), plugins may override what pickups that will produce.", DefaultFnName = "OnBlockToPickups", -- also used as pagename Desc = [[ This callback gets called whenever a block is ...
-- This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild -- -- This file is compatible with Lua 5.3 local class = require("class") require("kaitaistruct") local stringstream = require("string_stream") local str_decode = require("string_decode") -- -- Apple macOS '.DS_Store'...
module 'mock' CLASS: BehaviourScript ( mock.Behaviour ) :MODEL{ Field 'comment' :string(); Field 'script' :string() :widget('codebox') :meta{ code_ext = 'lua' }; Field 'OpenExternalEdit' :action('openExternalEdit') } registerComponent( 'BehaviourScript', BehaviourScript ) local defaultScript = [[ -- adhoc sc...
local kLifeTime = 7.5 -- 10 local kNerveGasCloudLifetime = 4.5 -- 6 ReplaceLocals(GasGrenade.OnCreate, {kLifeTime = kLifeTime}) ReplaceLocals(NerveGasCloud.OnCreate, {kNerveGasCloudLifetime = kNerveGasCloudLifetime})
-------------------------------------------------------------------------------------------------------------------- -- Local functions -- Finds the greatest common divisor of the two input parameters local function greatest_common_divisor(a, b) local temp while(b > 0) do temp = b b = a % b ...
----------------------------------------------- -- Connect to vpn with Viscosity ----------------------------------------------- hyper:bind({}, "e", function() hs.osascript.applescriptFromFile("togglevpn.applescript") hyper.triggered = true end)
test_run = require('test_run').new() -- Test is about following scenario: -- 1. There's both memtx and vinyl data; -- 2. User starts checkpoint process; -- 3. In the most unsuitable moment instance crashes; -- 4. Recovering in the casual mode successes. -- test_run:cmd("create server test with script='vinyl/gh-5823-cr...
local on_tick_n = require("__flib__.on-tick-n") local constants = require("constants") local shared = require("scripts.shared") local root = require("scripts.gui.settings.root") local search_actions = require("scripts.gui.search.actions") local actions = {} function actions.close(data) root.destroy(data.player_t...
local Check = {} local function expand(format, arguments) local value = table.remove(arguments, 1) if ( value == nil ) then return '<nil>' end return string.format(format, value) end function Check.getMessage(caller, message, ...) if ( not caller ) then error('Invalid caller') end local returnValu...
local API_SE = require(script:GetCustomProperty("APIStatusEffects")) local ROOT = script:GetCustomProperty("Root"):WaitForObject() local PANEL = script:GetCustomProperty("Panel"):WaitForObject() local DISPLAY_TEMPLATE = script:GetCustomProperty("DisplayTemplate") local IS_RIGHT_ALIGNED = ROOT:GetCustomProperty("IsR...
return function(Sunshine, entity) local visible = entity.visible local gameVisible = entity.gameVisible if visible and gameVisible then Sunshine:update(function() if Sunshine.scenes[1] then local player for _, otherEntity in pairs(Sunshine.scenes[1].entiti...
--[[ LuiExtended License: The MIT License (MIT) --]] -- Called from the menu and on initialization to update timestamp color when changed. LUIE.TimeStampColorize = nil function LUIE.UpdateTimeStampColor() LUIE.TimeStampColorize = ZO_ColorDef:New(unpack(LUIE.ChatAnnouncements.SV.TimeStampColor)):ToH...
local uv = require "lluv" local socket = require "lluv.luasocket" local ut = require "lluv.utils" local FSM = require "lluv.pg.fsm" local utils = require "lluv.pg.utils" local Setup = FSM.Setup local SimpleQuery = FSM.SimpleQuery local Idle = FSM.Idle local FSMReader = FSM.FSMReader ...
local function fibonacci(n) if n < 2 then return n else return fibonacci(n-1) + fibonacci(n-2) end end fibonacci(30)
--[[ Copyright 2017 wrxck <matthew@matthewhesketh.com> This code is licensed under the MIT. See LICENSE for details. ]] local version = {} local mattata = require('mattata') function version:init() version.commands = mattata.commands( self.info.username ):command('version') :command('abo...
LokNymStrongholdScreenPlay = ScreenPlay:new { numberOfActs = 1, screenplayName = "LokNymStrongholdScreenPlay" } registerScreenPlay("LokNymStrongholdScreenPlay", true) function LokNymStrongholdScreenPlay:start() if (isZoneEnabled("lok")) then self:spawnMobiles() self:spawnSceneObjects() end end function LokN...
#!/usr/bin/env luajit --------- -- This script checks versions of all packages in the edge branch on Anitya -- <https://release-monitoring.org/> and flags outdated packages. It should -- be run for the first check or after outages. For periodic checks use -- anitya-watch. -- -- ## How does it work -- -- It iterates ove...
local playerCount = 0 local list = {} RegisterServerEvent('hardcap:playerActivated') AddEventHandler('hardcap:playerActivated', function() if not list[source] then playerCount = playerCount + 1 list[source] = true end end) AddEventHandler('playerDropped', function() if list[source] then ...
----------------------------------------- -- ID: 4781 -- Scroll of Water V -- Teaches the black magic Water V ----------------------------------------- function onItemCheck(target) return target:canLearnSpell(173) end function onItemUse(target) target:addSpell(173) end
-- -- WelcomeTones Config -- local config = {} config.help = "" config.comment = "" -- Should I stop playing when another sound is running? config.interrupt_sounds = true return config
local L = BigWigs:NewBossLocale("Erudax", "zhCN") if not L then return end if L then L.summon = "召唤无面腐蚀者" L.summon_desc = "当埃鲁达克召唤无面腐蚀者时发出警报。" L.summon_message = "无面腐蚀者" L.summon_trigger = "召唤了一个" end
package("libevent") set_homepage("https://libevent.org/") set_description("libevent – an event notification library") set_license("BSD-3-Clause") add_urls("https://github.com/libevent/libevent/releases/download/release-$(version)-stable/libevent-$(version)-stable.tar.gz") add_urls("https://github....
-- -- Created by IntelliJ IDEA. -- User: jufeng -- Date: 2/1/2020 -- Time: 下午3:08 -- 基于redis 的分布式限流 -- local ngx = ngx local require = require local rock_core = require "rock.core" local script = "local key = 'rate:limit:' .. KEY[1] ".. "local rate = tonumber(ARG[1]) " .. "local current ...
function send (self) self.value = self.value .. "." self.data:store_string ("value", 1, self.value) self.data:store_number ("time", 1, dmz.time.frame_time ()) self.log:info ('[send] self.message:send (self.message, ' .. 'self.target, data)') self.message:send (self.target, self.data) end functio...
--[[ Save and Load Tables (SALT) ]]-- -- --Url: http://github.com/VaiN474/salt.git -- --Author: VaiN474 - http://github.com/VaiN474 --Last Update: Aug 15, 2017 --Description: Recursively saves table data to a file, human-readable and -- indented. Tables are loaded using loadfile(). -- Supported ...
-- end.lua
local string = require("string") local typicons={} typicons.catalog = { adjust_brightness=0xe000, adjust_contrast=0xe001, anchor_outline=0xe002, anchor=0xe003, archive=0xe004, arrow_back_outline=0xe005, arrow_back=0xe006, arrow_down_outline=0xe007, arrow_down_thick=0xe008, arrow_down=0xe009, arrow_forward_...
object_tangible_furniture_all_emperorsday_cauldron = object_tangible_furniture_all_shared_emperorsday_cauldron:new { } ObjectTemplates:addTemplate(object_tangible_furniture_all_emperorsday_cauldron, "object/tangible/furniture/all/emperorsday_cauldron.iff")
local SpatialSameResponseNormalization, parent = torch.class('inn.SpatialSameResponseNormalization', 'nn.Sequential') function SpatialSameResponseNormalization:__init(size, alpha, beta) parent.__init(self) self.size = size or 3 self.alpha = alpha or 5e-5 self.beta = beta or 0.75 local pad = math.fl...
DPROTO_TYEP_OK = 0 DPROTO_TYEP_FAIL = -1 DPROTO_TYEP_LOGOUT = 1 DPROTO_TYEP_PUSH = 2 DPROTO_TYEP_LADDERIN = 100 --下行指天梯重新开始排队,上行指开始排队 DPROTO_TYEP_LADDERREADY = 101 DPROTO_TYEP_LADDERCON = 102 DPROTO_TYEP_LADDEROK = 103 --天梯全部确认完毕 DPROTO_TYEP_DATA_INIT = 10 DPROTO_TYEP_DATA = 11 DPROTO_TYEP_DATA_END = 12 DPROTO_TYEP_...
-- interface to GPIO provided functions by linux libgpiod CLI (https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/): -- gpioget - read values of specified GPIO lines -- gpioset - set values of specified GPIO lines, potentially keep the lines local logger if LOGGERGLOBAL then logger = LOGGERGLOBAL else ...
object_tangible_component_weapon_blaster_rifle_barrel_exceptional = object_tangible_component_weapon_shared_blaster_rifle_barrel_exceptional:new { } ObjectTemplates:addTemplate(object_tangible_component_weapon_blaster_rifle_barrel_exceptional, "object/tangible/component/weapon/blaster_rifle_barrel_exceptional.iff")
local StringUtils = require("lib.string-utils") local TableUtils = require("lib.table-utils") local Queue = require("lib.queue") local Day12 = {} function Day12.parse_graph(lines) local graph = {} for _, line in ipairs(lines) do local split_line = StringUtils.split(line, "-") local origin = s...
data:extend({ { type = "technology", name = "hw-fishing", icon = "__base__/graphics/icons/fish.png", icon_size = 64, effects = { { type = "unlock-recipe", recipe = "hw-fishery" }, { type = "unlock-recipe", recipe = "hw-fish" }, }, unit ...
local path = require 'pl.path' asserteq = require 'pl.test'.asserteq function quote(s) return '"'..s..'"' end function print2(s1,s2) print(quote(s1),quote(s2)) end function testpath(pth) print2 (path.splitpath(pth)) print2 (path.splitext(pth)) end testpath [[c:\bonzo\dog_stuff\cat.txt]] testpath [[/bonzo/...
local _,L = ... local rematch = Rematch local tooltip = RematchTooltip function rematch:ShowTooltip(title,body,anchorPoint,relativeTo,relativePoint,xoff,yoff) if rematch:UIJustChanged() or (RematchSettings.HideTooltips and not anchorPoint) then return -- don't show tooltip if ui just changed or HideTooltips enable...
object_draft_schematic_armor_component_armor_core_battle_advanced = object_draft_schematic_armor_component_shared_armor_core_battle_advanced:new { } ObjectTemplates:addTemplate(object_draft_schematic_armor_component_armor_core_battle_advanced, "object/draft_schematic/armor/component/armor_core_battle_advanced.iff")
return { time = 0, name = "治疗偷窃", init_effect = "", color = "red", picture = "", desc = "战斗对象在场时,当我方舰队受到治疗时,偷窃治疗恢复自己的X%生命", stack = 1, id = 74001, icon = 74000, last_effect = "", blink = { 1, 0, 0, 0.3, 0.3 }, effect_list = { { type = "BattleBuffHealingSteal", trigger = { "onTakeHeali...
return {'gebaand','gebaar','gebaard','gebaat','gebabbel','gebak','gebakje','gebakkelei','gebakschaal','gebakschoteltje','gebaksdoos','gebakstel','gebakvorkje','gebalk','gebaren','gebarenkoor','gebarenkunst','gebarenspel','gebarentaal','gebazel','gebbe','gebbetje','gebed','gebedel','gebedenboek','gebedsbijeenkomst','geb...
C_Transmog = {} ---[Documentation](https://wow.gamepedia.com/API_C_Transmog.ClearAllPending) function C_Transmog.ClearAllPending() end ---@param transmogLocation TransmogLocationMixin ---[Documentation](https://wow.gamepedia.com/API_C_Transmog.ClearPending) function C_Transmog.ClearPending(transmogLocation) end ---@...
class("UpdateExerciseFleetCommand", pm.SimpleCommand).execute = function (slot0, slot1) slot4 = slot1:getBody().fleet.vanguardShips slot6 = slot1.getBody().callback slot9 = Clone(slot8) slot11 = getProxy(FleetProxy).getFleetById(slot10, 1) if table.getCount(slot1:getBody().fleet.mainShips) == 0 or table.getCount(...
--- -- Decode a Varicode encoded bit stream into bytes. -- -- @category Protocol -- @block VaricodeDecoderBlock -- -- @signature in:Bit > out:Byte -- -- @usage -- local decoder = radio.VaricodeDecoderBlock() local block = require('radio.core.block') local types = require('radio.types') local VaricodeDecoderBlock = bl...
SKILL.name = "Soul Stealer" SKILL.LevelReq = 2 SKILL.SkillPointCost = 1 SKILL.Incompatible = { } SKILL.RequiredSkills = { } SKILL.icon = "vgui/skills/ability_creature_cursed_03.png" SKILL.category = "Dark Magic"-- Common Passives, Warrior, Lore of Light, Lore of Life SKILL.slot = "RANGED" -- ULT, RANGED, MELEE, AOE...
-- automatically generated by the FlatBuffers compiler, do not modify -- namespace: NamespaceA local flatbuffers = require('flatbuffers') local TableInFirstNS = {} -- the module local TableInFirstNS_mt = {} -- the class metatable function TableInFirstNS.New() local o = {} setmetatable(o, {__index = TableInF...
-- -*- coding: utf-8 -*- -- preamble: common routines local matchers = require("matchers") local w = require("tables").wrap local concat = require("funclib").concat local parser = clink.arg.new_parser local function pipenv_libs_list(token) local handle = io.popen('python -c "import sys; print(\\";\\".join(sys.pa...
 local PLUGIN = PLUGIN -- luacheck: ignore 122 local PANEL = {} PANEL.Base = "Panel" -- I took this from the gmod github, don't hurt me local ContentPanel = nil function PANEL:Init() self:Dock(TOP) self:SetHeight(20) self:DockMargin(0, 0, 0, 3) self.Search = self:Add("DTextEntry") self.Search:Dock(FILL) se...
local helper = require('arken.coverage.helper') local test = {} test.should_return_without_inicial_char = function() local fileName = "@/usr/local" assert( helper.sanitize(fileName) == "/usr/local", helper.sanitize(fileName) ) end test.should_return_without_inicial_char_point_local_file = function() local fil...
local lcpp = require 'ffiex.lcpp' -- unit test lcpp.test() -- other pathological tests lcpp.compile([[ #ifndef HOGE struct var { void (*__routine)(void *); // Routine to call void *__arg; // Argument to pass struct __darwin_pthread_handler_rec *__next; }; #endif // HOGE]]) return tr...
-- luacheck: ignore local _fail = fail local insert, concat = table.insert, table.concat local lower, match = string.lower, string.match local requests = {} requests.__index = requests setmetatable(requests, { __call = function(self, ...) return self.new(...) end }) --[[ --default timeout: 60s local r...
-- Todo: Refactor/Fix this mess ~Ghoul -- Provide a deep copy function for the tech tree. function TechTree:CopyDataFrom(techTree) self.nodeList = {} self.techIdList = {} -- list of avaible techids (used for iterating over techtree -- Deep clone the node list. local index, oldTechNode = next(techTree.nodeList, n...
-- ===========================================================================-- ReligionScreen -- View list of slots representing districts that can house great works. -- -- Original Authors: Sam Batista -- =========================================================================== include("InstanceManager") include("...
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Pebul-Tabul -- Type: Standard NPC -- !pos -68.500 -4.5 3.694 94 ----------------------------------- function onTrade(player,npc,trade) end function onTrigger(player,npc) player:startEvent(405) end function onEventUpdate(player,csid,option)...
CurrentEditMode = 1 InEditMode = false CurrentEditedObject = nil SelectMode = false function OnPackageStart() CreateTimer(function() for _,object in pairs(GetStreamedObjects(false)) do if GetObjectPropertyValue(object, "harvestable") == 1 then ShowHarvestObject(object) ...
ITEM.name = "SAS-10" ITEM.description = "Sevine Arms 10mm Special" ITEM.model = "models/vuthakral/halo/weapons/w_sas10.mdl" ITEM.class = "drc_sas10" ITEM.weaponCategory = "sidearm" ITEM.width = 1 ITEM.height = 1 ITEM.iconCam = { ang = Angle(-0.70499622821808, 268.25439453125, 0), fov = 12.085652091515, pos = Vector(...