content
stringlengths
5
1.05M
require('nis.utils') require('nis.message_window') local graphic = require('nis.graphic') local function helper(suggestions, window) local toshow = "" if not window.subwindows.notifier then window.subwindows.notifier = MessageWindow.new() end for _, suggestion in pairs(suggestions) do toshow = toshow.."...
--[[ Drt-Utilities v1.1.0.1 A collection of common tools MIT License Copyright (c) 2019 Down Right Technical Inc. 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 ...
-- Copyright 2022 philh30 -- -- 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 or agreed to in writ...
------------------------------------------------------------------------#################### PetAutoCraft = {}-- ##Global Variables## ------------------------------------------------------------------------#################### PetAutoCraft.Events = {} --Table that will contain all the event func...
--[[ © 2018 Thriving Ventures AB do not share, re-distribute or modify without permission of its author (gustaf@thrivingventures.com). _______ _ _ _ _____ |__ __(_) | | | |_ _| | | _ __ _ ___ _ __ | | | | | | | | | |/ _` |/ _ \ '__| | | | | | | ...
-- Base16 Byss Dark color -- Author: Billie Thompson (http://github.com/PurpleBooth) -- to be use in your theme.lua -- symlink or copy to config folder `local color = require('color')` local M = {} M.base00 = "#010114" -- ---- M.base01 = "#022C64" -- --- M.base02 = "#006AA3" -- -- M.base03 = "#0096C7" -- - M.base04 ...
return {'valentijnsdag','val','valabel','valappel','valavond','valbeveiliging','valbijl','valblok','valbrug','valdeur','vale','valentie','valentijnskaart','valeriaan','valeriaanwortel','valeur','valeurs','valgordijn','valhek','valhelm','valhoed','valhoek','valhoogte','validatie','valide','valideren','validering','valid...
return { version = "1.5", luaversion = "5.1", tiledversion = "1.6.0", orientation = "orthogonal", renderorder = "right-down", width = 40, height = 22, tilewidth = 16, tileheight = 16, nextlayerid = 6, nextobjectid = 1, properties = {}, tilesets = { { name = "0x72_16x16...
function MenuSceneManager:_setup_lobby_characters() local num_player_slots = BigLobbyGlobals:num_player_slots() -- Original Code -- if self._lobby_characters then for _, unit in ipairs(self._lobby_characters) do self:_delete_character_mask(unit) World:delete_unit(unit) end end self._lobby_characters ...
--[[ Swaggy Jenkins Jenkins API clients generated from Swagger / Open API specification The version of the OpenAPI document: 1.1.2-pre.0 Contact: blah@cliffano.com Generated by: https://openapi-generator.tech ]] -- github_repositorieslinks class local github_repositorieslinks = {} local github_repositories...
local skyla = require "skyla" local C = require "skyla_panel" local parent = require "skyla.game_object.node" local panel = { init = C.init, } setmetatable(panel, {__index = parent}) function panel.new(...) local obj = { __cobj = C.new(...), __children = {}, } setmetatable(obj, {__in...
-- This file is generated by proto-gen-lua. DO NOT EDIT. -- The protoc version is 'v3.19.2' -- The proto-gen-lua version is 'Develop' local protobuf = require "protobuf.protobuf" local registry = require "protobuf.registry" local proto3_fields_pb_desc = require "proto3.fields_pb_desc" local proto3_fields_pb = {} -...
solution "freeglut" configurations {"Debug", "Release"} defines {"_CRT_SECURE_NO_WARNINGS", "_SCL_SECURE_NO_WARNINGS"} dofile("freeglut.lua"); local dirs = os.matchdirs("progs/demos/*") for i, dir in ipairs(dirs) do local baseDir = path.getname(dir); if(baseDir ~= "bin" and baseDir ~= "obj") then project(bas...
--[[-------------------------- FILE: sprite.lua AUTH: Ibrahim Sardar DATE: 11 / 11 / 2016 --]]-------------------------- -- dependencies require("SECL") --| Sprite Class --| Sprite = class() -- -\ -- --> --- PROPERTIES ----------------------------------------< -- -/...
server_scripts { 'server.lua' }
redis = require 'redis-async.redis_conn' return redis
local utils = require "kong.tools.utils" local cjson = require "cjson" local pl_pretty = require "pl.pretty" local tablex = require "pl.tablex" local app_helpers = require "lapis.application" local arguments = require "kong.api.arguments" local Errors = require "kong.db.errors" local singletons = require "kong.singleto...
if not modules then modules = { } end modules ['toks-map'] = { version = 1.001, author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" } -- Even more experimental ... this used to be part of toks-ini but as...
--!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...
--[[-------------------------------------------------------------------------- -- -- File: UIScrollBar.lua -- Copyright (c) Ubisoft Entertainment. All rights reserved. -- -- Project: Ubitoys.Tag -- Date: Novermber 09, 2010 -- -------------------------------------...
--- Notes --- We need to document not just how this works internally --- but _also_ what events this catches --- what autocommands we rely on --- what autocommands we fire off --- what we interact with --- Basically everything local utils = require('netman.utils') local netman_options = require('netman.options') local...
-- import local EventDispatcherEntity = require 'candy.common.EventDispatcherEntity' ---@class DisplayObject : EventDispatcherEntity local DisplayObject = CLASS: DisplayObject ( EventDispatcherEntity ) :MODEL {} function DisplayObject:__init () self.prop = self:_createRenderProp () self.touchEnabled = tru...
t = {} local key, value = "index", "value" t[key] = value function test() return t[key] end jit("compile", test) local res = test() assert(res == value) --[[ function <../tests/7_OP_GETTABLE.lua:4,6> (5 instructions at 0x83d770) 0 params, 2 slots, 2 upvalues, 0 locals, 1 constant, 0 functions 1 [5] GETTABUP 0 0...
RegisterClientScript() local scale = 0.75 local weapon = ScriptedWeapon({ Cooldown = 0.5, Scale = scale, Sprite = "placeholder/baguette.png", SpriteOrigin = Vec2(40, 20) * scale, WeaponOffset = Vec2(20, -60) -- This should not be here }) RegisterClientAssets(weapon.Sprite) local maxDist = 1000 if (SERVER) the...
PLoop(function() namespace "KittyBox.Layout" -- A time interpolator defines the rate of change of an animation. This allows animations to have non-linear motion, such as acceleration and deceleration. interface "Interpolator"(function() -- Maps a value representing the elapsed fractio...
-- This code is under copyright, and is bound to the agreement stated in the EULA. -- Any 3rd party content has been used as either public domain or with permission. -- © Copyright 2014-2018 Aritz Beobide-Cardinal All rights reserved. ARCBank = ARCBank or {} function ARCBank.Msg(msg) if ARCBank.Settings && ARCBank.S...
setProperty('timeBarBG.visible', false); setProperty('timeBar.visible', false); For Source: In PlayState (1.5.2) on line 898: timeBarBG.visible = false; And in line 910: timeBar.visible = showTime;
for i = 1,2000 do NodeAdd("Item", "item"..i, "{\"name\":".."\"item"..i.."\"}") end for i = 1,100000 do NodeAdd("Person", "person"..i, "{\"username\":".."\"person"..i.."\"}") for j = 1,100 do RelationshipAdd("LIKES", "Person", "person"..i, "Item", "item"..math.random(2000), "{\"weight\":"..10 * math.rand...
require 'nn' require 'torch' require 'optim' require 'cutorch' require 'cunn' require 'hdf5' require 'misc.OuterProd' cjson=require('cjson') ------------------------------------------------------------------------------- -- Input arguments and options -------------------------------------------------------------------...
local K, C = unpack(select(2, ...)) if not (C["Skins"].DBM and K.CheckAddOnState("DBM-Core") and K.CheckAddOnState("DBM-StatusBarTimers") and K.CheckAddOnState("DBM-DefaultSkin")) then return end --local DBMFont = K.GetFont(C["Skins"].Font) --local DBMTexture = K.GetTexture(C["Skins"].Texture) local _G = _G local C...
-- -- Elemental drives are used to store magical energy (Elegens, hence the 'ele') -- minetest.register_craftitem("yatm_dscs:ele_drive_t1", { basename = "yatm_dscs:ele_drive", base_description = "Elemental Drive", description = "Elemental Drive (Tier 1)", groups = {inventory_drive = 1, ele_drive = 1}, inve...
local Shortcut = R 'nvim.newutil.keymap' R'nvim-comment-frame'.setup({ disable_default_keymap = true }) Shortcut:mode('n'):options():noremap():next():keymap( ',C', ':lua require(\'nvim-comment-frame\').add_comment()<CR>')
--------------------------------------------- -- Aqua Breath -- -- Description: Deals Water damage to enemies within a fan-shaped area. -- Type: Breath -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone -- Notes: --------------------------------------------- require("scripts/globals/settings") requi...
-- Script de bootstrap, en appuyant sur le bouton ça démarre start_boot, -- autrement en attendant 8 secondes cela démarre start_boot print("\n init.lua zf200717.1625\n") zswitch=3 --switch flash gpio.mode(zswitch, gpio.INT, gpio.PULLUP) initalarme=tmr.create() function hvbouton() gpio.trig(zswitch, "none") ...
--[[ This program runs scripts that demonstrate what you can do with spirograph graphics. To execute this program [click here](macro:run), press `F6` on the keyboard, or click on `Project | Run` menu at the top of this window. After you explore the demos you can open each of the files to study and tweak them. ]] requi...
return { Codecs = require(script.Codecs), CFrame = require(script.CFrameUtils), Color = require(script.ColorUtils), JSON = require(script.JSONUtils), Math = require(script.MathUtils), Part = require(script.PartUtils), Raycast = require(script.RaycastUtils), Screen = require(script.Screen...
if os.target() == "windows" then dofile("premake5-cuda-vs.lua") end if os.target() == "linux" then dofile("premake5-cuda-linux.lua") end
-- Copyright (C) by Hiroaki Nakamura (hnakamur) local resty_cookie = require "resty.cookie" local setmetatable = setmetatable local _M = { _VERSION = '0.1.0' } local mt = { __index = _M } function _M.new(self, config) local cookie_manager, err = resty_cookie:new() if not cookie_manager then return n...
roomboxesLayer= { name="roomboxesLayer",type=0,typeName="View",time=0,report=0,x=0,y=0,width=1280,height=800,visible=1,fillParentWidth=1,fillParentHeight=1,nodeAlign=kAlignTopLeft, { name="t_bg",type=1,typeName="Image",time=59810693,report=0,x=0,y=0,width=1280,height=720,visible=1,fillParentWidth=1,fillParentHeight...
--[[ lang.lua Copyright (C) 2016 Kano Computing Ltd. License: http://www.gnu.org/licenses/gpl-2.0.txt GNU GPLv2 English language ]]-- return { ------ HEADERS AND OPTIONS ---------------------------------------------------------- enter = "Press Enter", loading = "Loading", play = "Play", letsHa...
-- math functions function ceil_log2(x) local n = 0 while x > 1 do x = x >> 1 n = n + 1 end return n end -- overflow-safe L2 distance -- from FReDs72 function l2_dist(dx, dy) dx = abs(dx) dy = abs(dy) local d = max(dx, dy) local n = min(dx, dy) / d return d * sqrt(n ^ 2 + 1) end
-- **Big thing that contains all sorts of fun stuff related to ms based scoring and adapting existing systems to it** -- probably need to reorganize large parts of this -- global here ms = {} -- *Values and stuff* -- Make the distinction between ms timed and non-timed judgments -- Radar values people on earth actuall...
--自己实现的功用函数 local skynet = require "skynet" local log = require "log" local comfun = {} --number取整 function comfun.get_int_part(x) if x < 0 then return math.ceil(x) end if math.ceil(x) == x then x = math.ceil(x) else x = math.ceil(x) - 1 end return x end --外部请求处理 func...
class("ActiveWorldBossCommand", pm.SimpleCommand).execute = function (slot0, slot1) slot2 = slot1:getBody() if not getProxy(ActivityProxy):getActivityByType(ActivityConst.ACTIVITY_TYPE_WORLD_WORLDBOSS) or slot4:isEnd() then return end print("active boss : ", slot2.arg1) pg.ConnectionMgr.GetInstance():Send(1120...
local resty_md5 = require "resty.md5" local openssl = require "openssl" local CIPHER_ENC_ENCRYPTION = 1 local CIPHER_ENC_DECRYPTION = 0 local METHOD_INFO_KEY_LEN = 1 local METHOD_INFO_IV_LEN = 2 local METHOD_INFO_CRYPTO = 3 local method_supported = openssl.ciphers local cached_keys = {} local _M = { _VERSION = '0...
-- Workers (or the Executor processes they manage) could fail at any moment. In order to -- recover from this, we need to 1. discover that it has occurred, and 2. ensure that -- any pending tasks (either read from the queue and not executed or failed -- mid-execution) are processed by another worker. -- -- To achieve t...
function bulletinit() bullets, actions = {}, {} end -- Function to spawn bullet, overload to spawnbullet to not include a default speed function spawnbullet(spawnx, spawny, isgoingleft, isforplayers) spawnbulletoverload(spawnx, spawny, 1, isgoingleft, isforplayers) end -- Function to play the bullet fx function b...
-- ======= Copyright (c) 2003-2011, Unknown Worlds Entertainment, Inc. All rights reserved. ======= -- -- lua\OrdersMixin.lua -- -- Created by: Brian Cronin (brianc@unknownworlds.com) -- -- ========= For more information, visit us at http://www.unknownworlds.com ===================== Script.Load("lua/TechTreeCo...
local skynet = require "skynet" local bewater = require "bw.bewater" local log = require "bw.log" local rank_cls = require "sys.rank.rank" local trace = log.trace("rank.server") local ranks = {} local CMD = {} function CMD.update(rank_name, k, v) local rank = ranks[rank_name] rank:update(k, v) ...
local _, ns = ... local B, C, L, DB, P = unpack(ns) local BUTTON = "OverrideActionBarButton%d" ----------------------- -- Rare: Escaped Wilderling ----------------------- local RARE = "Escaped Wilderling" local MESSAGE = "Spam <SpaceBar> to complete!" local locale = GetLocale() if locale == "zhCN" or locale == "zhTW" ...
function param1(str) chainhelper:log("param1 test. str:"..str) end function param2(str, flag) if (flag) then chainhelper:log("param2 test. flag true. str:"..str) else chainhelper:log("param2 test. flag false. str:"..str) end end function param3(in_str, in_bool, in_num) chainhel...
UpdateTeamCommand = Command:extends{} UpdateTeamCommand.className = "UpdateTeamCommand" function UpdateTeamCommand:init(team) self.team = team end function UpdateTeamCommand:execute() if not self.old then self.old = SB.model.teamManager:getTeam(self.team.id) end SB.model.teamManager:setTeam(se...
local Packages = script.Parent.Parent.Parent.Parent.Parent.Parent local Roact = require(Packages.Roact) local LoadingSpinner = require(Packages.UIBlox.App.Loading.LoadingSpinner) return { stories = { DefaultRate = Roact.createElement(LoadingSpinner, { position = UDim2.fromScale(0.5, 0.5), anchorPoint = Vecto...
file.CreateDir('ppm2') file.CreateDir('ppm2/backups') file.CreateDir('ppm2/thumbnails') for _, ffind in ipairs(file.Find('ppm2/*.txt', 'DATA')) do local fTarget = ffind:sub(1, -5) if not file.Exists('ppm2/' .. fTarget .. '.dat', 'DATA') then local fRead = file.Read('ppm2/' .. ffind, 'DATA') local json = uti...
function CommandStation:GetTechButtons() return { kTechId.NanoShieldTech, kTechId.CatPackTech, kTechId.PowerSurgeTech, kTechId.MedTech1, kTechId.MedTech2 } end
local dPressed = false local aPressed = false local wPressed = false local spacePressed = false local physics = require("physics") local options = { frames = { { -- frame 1 main x = 0, y = 0, width = 207, height = 294 }, { -- frame 2 ...
local mvector = metavector_mod.require("metavectors") benchmark.register("metavectors:metavectors",{ warmup = 5000, loops = 2000, before = function() local x = math.ceil(math.random()*100) local y = math.ceil(math.random()*100) local z = math.ceil(math.random()*100) return {x,y,z} end, run = function(data...
ChatSystemLib.PostOnChannel(ChatSystemLib.ChatChannel_System, "[WSRP Housing Directory] Entity: Dominion Directory Loaded.") return { { title = "Valiantheart Coliseum", owner = "Erallia Valiantheart", hours = "Refer to Owner for hours", staff = "Erallia Valiantheart", description = "The Valiantheart Coliseum and Tav...
--[[ Based on a plugin by topkecleon. Licensed under GNU AGPLv3 https://github.com/topkecleon/otouto/blob/master/LICENSE. Copyright 2020 Matthew Hesketh <matthew@matthewhesketh.com> This code is licensed under the MIT. See LICENSE for details. ]] local lastfm = {} local mattata = require('matta...
if #arg ~= 2 then print("usage: lua sort_hiscore.lua hiscore.dat mame.lst") return end local datfile = io.open(arg[1]) if not datfile then return end local entries = {{}} local namelist = false local comment = false local entry = entries[1] for line in datfile:lines() do local function next_entry() entries[#en...
g_SplitTimes = {} g_DrawList = {} g_Rank = nil --[[ g_DrawList ={ {rank = 1, name = "#FF0000SDK1"}, {rank = 2, name = "8888888888888888888888"}, {rank = 3, name = "SD#FFF000K3", line = true}, {rank = 8, name = "SDK8"}, {rank = 9, name = "SDK9"}, {rank = 10, name = "SDK10", player = getLocalPlayer()}, {rank = 11, name =...
local set = {1, 2, 3} local set2 = {2, 3, 4} local union = function(self, set) local result = {} local temp = {} for i, v in ipairs(self) do temp[v] = true end for i, v in ipairs(set) do temp[v] = true end for k, v in pairs(temp) do table.insert(result, k) --result[#re...
-- Copyright (c) 2020 Trevor Redfern -- -- This software is released under the MIT License. -- https://opensource.org/licenses/MIT local callback = require "moonpie.callback" local logger = require "moonpie.logger" local EventSystem = {} local events = {} function EventSystem.subscribe(event_name, handler...
--[[ $Id$ Copyright © 2011 the VideoLAN team Authors: Konstantin Pavlov (thresh@videolan.org) 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 opt...
data:extend({ { type = "explosion", name = "ntc-cannot-build", flags = {"not-on-map"}, animations = { { filename = "__StrictEngagements__/graphics/null.png", priority = "low", width = 32, height = 32, frame_count = 1, line_length = 1, animation_speed = 1 }, }, light = ...
CLGAMEMODESUBMENU.base = "base_gamemodesubmenu" CLGAMEMODESUBMENU.priority = 0 CLGAMEMODESUBMENU.title = "submenu_addons_heroes_title" function CLGAMEMODESUBMENU:Populate(parent) local form = vgui.CreateTTT2Form(parent, "header_addons_heroes") form:MakeCheckBox({ label = "label_heroes_auto_place_enable", conva...
local TREE = {} --Name of the skill tree TREE.Name = "Sorcier" --Description of the skill tree TREE.Description = "Visitez les recoins les plus sombres de la Force" --Icon for the skill tree ( Appears in category menu and above the skills ) TREE.TreeIcon = "wos/forceicons/lightstream.png" --What is the color fo...
function onCreate() makeLuaSprite('chica1', 'chica1', -550, -500); setLuaSpriteScrollFactor('chica1', 1, 1); scaleObject('chica1', 1.5, 1.5); addLuaSprite('chica1', false); close(true); end
local lines = {} for line in (s .. "\n"):gmatch("(.-)\n") do local this = {} for word in line:gmatch("%S+") do table.insert(this, 1, word) end lines[#lines + 1] = table.concat(this, " ") end print(table.concat(lines, "\n"))
local _, private = ... if private.isClassic then return end --[[ Lua Globals ]] -- luacheck: globals --[[ Core ]] local Aurora = private.Aurora local Base, Skin = Aurora.Base, Aurora.Skin --do --[[ AddOns\Blizzard_Contribution.lua ]] --end --do --[[ AddOns\Blizzard_Contribution.xml ]] --end function private.AddOns...
local json = require("cjson") local pg = require("resty.postgres") -------------------------------- -- LIBRARIES -------------------------------- function exit_now(status, msg) if status ~= ngx.HTTP_OK then ngx.status = status end if msg then ngx.say(json.encode(msg)) end local re...
-- options require('options') -- packages require('pack') -- mappings require('mappings') -- plugins require('plugins.setups') require('plugins.compe') require('plugins.emmet') require('plugins.gitblame') require('plugins.gitsigns') require('plugins.hardline') require('plugins.lspconfig') require('plugins.nord') req...
size = {64, 64} addSearchPath(sasl.getXPlanePath ().."/Resources/bitmaps/interface") local bg = sasl.gl.loadImage("KLNpopup.dds", 0, 0, 64, 64) --defineProperty("KLN90popupvisible", globalPropertyi("sim/custom/xap/KLN90pop/visible")) --defineProperty("MD41visible", globalPropertyi("sim/custom/xap/MD41/visible")) --...
--[=[ Represents a cooldown state with a time limit. See [CooldownBase] for more API. @server @class Cooldown ]=] local require = require(script.Parent.loader).load(script) local CooldownBase = require("CooldownBase") local TimeSyncService = require("TimeSyncService") local CooldownConstants = require("CooldownCo...
local I18N = require("core.I18N") I18N.add_data_text( "core.buff", { holy_shield = { name = "Holy Shield", apply = "{name($1)} begin{s($1)} to shine.", description = "Increases PV by {$1} /RES+ fear", }, mist_of_silence = { name = "Mist of Silence", ...
local base_app = require 'app.base' local event = require 'app.event' local app = base_app:subclass("FREEIOE_DATA_SIM_APP") app.static.API_VER = 4 function app:initialize(name, sys, conf) base_app.initialize(self, name, sys, conf) end function app:on_start() local inputs = { { name = 'count', desc = 'Event count'...
local function gen_trigger_menu(event) local res = { { name = "add", hidden = true, label = "Add", description = "Add a new trigger event", kind = "value", validator = function(val) if #val == 0 or not string.find(val, "=") then return; end end, handler = function(val) local ...
-- Copyright (C) 2011 - 2013 David Reid. See included LICENCE file. function GTGUI.Element:TextEditor(_internalPtr) self:SubEditor(_internalPtr); self.TextBox = GTGUI.Server.CreateElement(self, "text-editor-textbox"); self.TextBox:MultiLineTextBox(); self.Panel = GTGUI.Server.CreateElement(self, ...
if not nyagos then print("This is a script for nyagos not lua.exe") os.exit() end nyagos.on_command_not_found = function(args) nyagos.writerr(args[0]..": コマンドではない。\n") return true end local cd = nyagos.alias.cd nyagos.alias.cd = function(args) local success=true for i=1,#args do ...
local CONFIG = require(script.Parent:WaitForChild("Configuration")) local MouseRay = {} do local Ray = Ray.new local CFrame = CFrame.new local Camera = workspace.CurrentCamera local cache = {nil, CFrame()} MouseRay.new = function(position, targetFilter) local newRay = Camera:ScreenPointTo...
return { enchantment = { it = function(desc) return ("それは%s"):format(desc) end, item_ego = { major = { elona = { silence = function(_1) return ("静寂の%s"):format(_1) end, res_blind = function(_1) return ("耐盲目の%s"):format(_1) end, ...
local util = require("tokyonight.util") local M = {} ---@param config Config ---@return ColorScheme function M.setup(config) config = config or require("tokyonight.config") -- Color Palette ---@class ColorScheme local colors = {} colors = { none = "NONE", white = "#eeeeee", bg_dark = "#1f2335"...
Menu = Class("Menu") function Menu:init() self.state = 'home' self.music = love.audio.newSource("music/menu.wav", "stream") self.music:setLooping(true) self.dress = suit.new() self.dress.theme.color = { normal = {bg = rgb{54, 194, 244}, fg = rgb{255, 255, 255}}, hovered =...
print "HTTP/1.1 200 OK" print "Cache-Control: private, no-store, no-cache, must-revalidate" print "" fa.control("fioset", 0) print("WiFi turned off. Remove card and reinsert to restore.")
if select(2, UnitClass("player")) ~= "WARLOCK" then return end local mod = DBM:NewMod("d594", "DBM-Scenario-MoP") local L = mod:GetLocalizedStrings() mod:SetRevision(("$Revision: 2 $"):sub(12, -3)) mod:SetZone() mod:RegisterCombat("scenario", 1112) mod:RegisterEventsInCombat( "SPELL_CAST_START", "SPELL...
--- --- __init__.lua --- --- Copyright (C) 2018-2019 Xrysnow. All rights reserved. --- Include('core_x/import.lua') for _, n in ipairs({ 'std', 'table', 'util', 'ext' }) do require('core_x.' .. n) end require('math.__init__') lstg.eventDispatcher = require('core_x.EventDispatcher').create() lstg.fs = require('co...
local ACF = ACF local Classes = ACF.Classes local AmmoTypes = Classes.AmmoTypes local BoxSize = Vector() local Ammo, BulletData local CrateText = [[ Crate Armor: %s mm Crate Mass : %s Crate Capacity : %s round(s)]] local function CopySettings(Settings) local Copy = {} if Settings then for K, V in p...
dofile(minetest.get_modpath("better_caves_mushroom") .. "/nodes.lua") dofile(minetest.get_modpath("better_caves_mushroom") .. "/node_ids.lua") dofile(minetest.get_modpath("better_caves_mushroom") .. "/schematics.lua") dofile(minetest.get_modpath("better_caves_mushroom") .. "/biomes.lua")
slot0 = class("WSPortTask", import("...BaseEntity")) slot0.Fields = { btnOnGoing = "userdata", txDesc = "userdata", onDrop = "function", transform = "userdata", task = "table", rtType = "userdata", progress = "userdata", onButton = "function", rtRarity = "userdata", timer = "number", rtName = "userdata", tx...
---------------------------------------------------- -- Hax Racing 2019 / Haxardous & Marcel ---------------------------------------------------- local showColorCodes = true; -- Shows player's names colorcoded if set to true, and if set to false it doesn't local defaultHexCode = "#FFFFFF"; -- Hex code for wh...
local userInput = Engine.GameWindow.UserInput local controller = { Bindings = { ForwardsKey = userInput:GetInput(Enum.InputCode.W), BackwardsKey = userInput:GetInput(Enum.InputCode.A), LeftKey = userInput:GetInput(Enum.InputCode.S), RightKey = userInput:GetInput(Enum.InputCode.D), UpKey = userInput:GetInput...
local Festival_Sign_Base = { [1] = {ID = 1, TeamId = 1, Count = 1, BOUNS = "1,2,0,1,5000", }, [2] = {ID = 2, TeamId = 1, Count = 2, BOUNS = "2,2,0,70000005,5", }, [3] = {ID = 3, TeamId = 1, Count = 3, BOUNS = "3,2,0,10000001,1", }, [4] = {ID = 4, TeamId = 1, Count = 4, BOUNS = "4,2,0,2,50", }, [5] = {ID = 5, TeamId...
local path = (...):gsub('%.[^%.]+$', '') -- back it up, back it up, back it up... path = path:sub(1,path:match("^.*()%.")) local Class = require(path.."thirdparty.hump.class") local cpml = require(path.."thirdparty.cpml") local lume = require(path.."thirdparty.lume") local patchy = require(pa...
-- Tests for derivative.lua local drv = require 'derivative' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass = pass + 1 end loc...
function love.load() text = "" enet = require "enet" host = enet.host_create("*:1051") end function love.draw() love.graphics.print(text) end function love.update(dt) local event = host:service(100) while event do if event.type == "connect" then text = text .. tostring(event.peer) .. " is connected.\n" e...
--[[ This Roact component represents our entire game. In most cases, you'll only use Roact for constructing your UI, but in this project, I elected to try to manage the game world partially with Roact as well for fun. The traditional top-level component name in React is "App," we generally use that for Roact to...
--------------------------------------------- -- Tempest Wing -- Family: Bahamut -- Description: Turbulence deals Wind damage to enemies within a very wide area of effect. Additional effect: Knockback -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: Cone -- Notes: ------------------------------...
--[[ This file is part of BlauLock, a ComputerCraft program that adds password protection on startup. Author: Daniel 'xBlau' Mosquera <daniel+github@blaudev.es> Repository: https://github.com/xblau/blaulock THIS FILE IS DISTRIBUTED UNDER THE TERMS OF THE MIT LICENSE ]] local oldPullEvent = os.p...
local energyrequired = 1 local steamamount1 = 25 local steamamount2 = 21 if settings.startup['seablock-evil-mode-steam-recipe-mode'].value == "0_0_5" then energyrequired = 1.75 steamamount1 = 49 steamamount2 = 42 end data:extend({ -- 1 steam(165 degree) == 30kJ -- 1 h2 needed 30kJ with electrolysis I {...
--[[ Copyright (c) 2016 Calvin Rose <calsrose@gmail.com> 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, p...