content
stringlengths
5
1.05M
------------------------------------------------------------------------- -- -- -- ooooooo ooooo .o8 ooooooooo. -- -- `8888 d8' "888 `888 `Y88. -- -- Y888..8P .o...
--- Utility functions. -- @module PtUtil PtUtil = {} -- Pixel widths of the first 255 characters. This was generated in Java. PtUtil.charWidths = {6, 6, 6, 6, 6, 6, 6, 6, 0, 0, 6, 6, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 4, 8, 12, 10, 12, 12, 4, 6, 6, 8, 8, 6, 8, 4, 12, 10, 6, 10, 10, 10, 10, 10, ...
--[[ DECLARACION DE CONSTANTES Y VARIABLES PARA USAR DENTRO DEL PROYECTO commands : representa los botones que se pueden utilizar dentro del juego addr_player_state : significa el estado del jugador,si esta vivo o muerto is_finished : nos avisa acerca de si el jugador llego al pun...
local KUI, E, L, V, P, G = unpack(select(2, ...)) local NF = KUI:GetModule("Notification") --Cache global variables local format = string.format --WoW API / Variables --Global variables that we don't cache, list them here for the mikk's Find Globals script -- GLOBALS: local function NotificationTable() E.Options.a...
-- -- Copyright (C) 2016 Meng Zhang @ Yottaa,Inc -- -- logger -- module("logger",package.seeall) local logger = {} -- logging scaffold local log = nil if _G.ngx and _G.ngx.log then log = ngx.log else log = print end -- logging level for print local ERR = 4 local INFO = 7 local DEBUG = 8 -- ngx.log requir...
local Player = game.Players.LocalPlayer local Mouse = Player:GetMouse() local Character = script.Parent local Humanoid = Character:WaitForChild("Humanoid") local Camera = game.Workspace.CurrentCamera print("Ready!") function updateCharacter() local point = Humanoid.TargetPoint repeat wait(0.03) local weld= Ch...
project "executor" kind(global.library_type) language "C++" files {"src/**.cpp"} includedirs {production.includes, libs.boost.includes} libdirs {libs.boost.libdir} links {libs.boost.libraries.program_options.libname}
---------------------------------------------------------------- -- Copyright (c) 2012 Klei Entertainment Inc. -- All Rights Reserved. -- SPY SOCIETY. ---------------------------------------------------------------- local resources = include( "resources" ) local animmgr = include( "anim-manager" ) local cdefs = includ...
local Date = require('orgmode.objects.date') local utils = require('orgmode.utils') local config = require('orgmode.config') local colors = require('orgmode.colors') local Calendar = require('orgmode.objects.calendar') local Files = require('orgmode.parser.files') local AgendaFilter = require('orgmode.agenda.filter') l...
time = {h = 9, m = 0, s = 0} RegisterServerEvent("ts:newplayer") AddEventHandler("ts:newplayer", function() TriggerClientEvent("ts:timesync", source, time) end) RegisterServerEvent("ts:timesync") AddEventHandler("ts:timesync", function(newTime) time = newTime end)
--- GENERATED CODE - DO NOT MODIFY -- AWS Resource Groups (resource-groups-2017-11-27) local M = {} M.metadata = { api_version = "2017-11-27", json_version = "", protocol = "rest-json", checksum_format = "", endpoint_prefix = "resource-groups", service_abbreviation = "Resource Groups", service_full_name = "AWS...
--[=[ Tracks pending promises @class PendingPromiseTracker ]=] local PendingPromiseTracker = {} PendingPromiseTracker.ClassName = "PendingPromiseTracker" PendingPromiseTracker.__index = PendingPromiseTracker function PendingPromiseTracker.new() local self = setmetatable({}, PendingPromiseTracker) self._pendingPr...
local tym = require 'tym' local thm = dofile(tym.get_theme_path()) -- todo: watch config file and autoreload tym.set('font', 'Victor Mono Nerd Font Medium 12') tym.set_config { title = 'Tym', padding_horizontal = 20, padding_vertical = 16, cursor_shape = 'ibeam', color_window_background = thm.color_background } ...
local dynamicTooltips = { ["Strength"] = "he1708d1eg243dg4b72g8f48gddb9bc8d62ff", ["StrengthDescription"] = "h18f97d5bg9a79g4917g809dgb0ac7a5ec302", ["Finesse"] = "h2e87e6cfg0183g4968g8ec1g325614c7d9fa", ["FinesseDescription"] = "h75391bafg8744g4441g9b1egf52f182f9...
HeroName[10] = "前方之风" HeroMain[10] = "敏捷" HeroType[10] = |Oshd| RDHeroType[10] = |h01C| IllHeroType[10] = |O007| HeroTypePic[10] = "ReplaceableTextures\\CommandButtons\\BTNQianFang.blp" HeroSize[10] = 1.2 LearnSkillId = {|A17P|, |A17Q|, |A17R|, |A17S|} --风之钝器-锤击 InitSki...
--[[ --The reason we call this a special test is that you need to --make sure that vssub is not registered in f1s1opf2.lua ----]] -- Scalar = require 'libsclr' cVector = require 'libvctr' Q = require 'Q' c1 = Q.const({val = 1, len = 10, qtype = "I4"}) s1 = Scalar.new(3) cplus = Q.vsadd(c1, s1) cminus = Q.vssub(cplus, ...
local class = require "xgame.class" local Align = require "xgame.ui.Align" local LayoutBase = require "xgame.ui.LayoutBase" local HorizontalLayout = class("HorizontalLayout", LayoutBase) function HorizontalLayout:ctor() self.gap = 6 self.contentHAlign = Align.LEFT self.contentVAlign = A...
local PANEL = {} local gradient2 = Material("daui/droda_ui_3.png") --фон local gradient = Material("daui/next_but.png") --заполнение function PANEL:Init() self:SetTall(20) self.value = 0 self.deltaValue = self.value self.max = 10 self.click = self:Add("DButton") self.click:Dock(FILL) ...
setobjecttype("abilities")
hook.Add( "PopulatePostProcess", "AddPostProcess", function( pnlContent, tree, node ) -- Get a list of postproceess effects -- and organise them into categories local Categorised = {} local PostProcess = list.Get( "PostProcess" ) if ( PostProcess ) then for k, v in pairs( PostProcess ) do v.category = v....
return { entities = { {"rock-huge", {x = -2, y = -2.5}, {}}, {"rock-huge", {x = 1, y = -1}, {}}, {"rock-huge", {x = -2, y = 2}, {}}, {"rock-huge", {x = 1, y = 1.5}, {}}, }, }
#!/usr/bin/lua local lash = require('lash') -- do hashes on either the -- first command line argument -- or this file itself local val = arg[1] or arg[0] -- MD5 functions print('MD5') print(lash.MD5.file2hex(val)) print(lash.MD5.string2hex(val)) print('') -- CRC32 functions print('CRC32') print(lash.CRC32.string2h...
function LerkBite:IsAffectedBySilence() return false end
Config = {} Config.DB = {} Config.DB.Host = HOST_PLACEHOLDER Config.DB.Database = DATABASENAME_PLACEHOLDER Config.DB.Port = PORT_PLACEHOLDER Config.DB.Username = USERNAME_PLACEHOLDER Config.DB.Password = PASSWORD_PLACEHOLDER
-- ffi_def_unix.lua module(..., package.seeall) local ffi = require "ffi" local isMac = (ffi.os == "OSX") local isLinux = (ffi.os == "Linux") INVALID_SOCKET = -1 -- Lua state - creating a new Lua state to a new thread ffi.cdef[[ static const int LUA_GCSTOP = 0; static const int LUA_GCRESTART = 1; static const i...
local table = require("hs/lang/table") local Class = require("hs/lang/Class") local TextureManager = require("hs/core/TextureManager") -------------------------------------------------------------------------------- -- TMXMapのタイルセットクラスです. -- -- @class table -- @name TMXTileset -----------------------------------------...
add_rules("mode.debug", "mode.release") target("test1") set_kind("binary") add_files("src/*.cpp") set_group("group1") target("test2") set_kind("binary") add_files("src/*.cpp") set_group("group1") target("test3") set_kind("binary") add_files("src/*.cpp") set_group("group1/group2") ...
local state = {} function state:init() self.timer = 0 self.speed = 1 self.state = 0 local messages = { 'Everybody will die at some point.', 'There is no change without sacrifice.', 'Every sacrifice has a reward.', 'For those I love, I will sacrifice.', 'Sometime...
KungaStrongholdScreenPlay = ScreenPlay:new { numberOfActs = 1, screenplayName = "KungaStrongholdScreenPlay", lootContainers = { 529418, 529425, 529451, 529435 }, lootLevel = 26, lootGroups = { { groups = { {group = "color_crystals", chance = 160000}, {group = "junk...
dofile( "./wago.lua" ) local JSON = (loadfile "./json.lua")() function deserialize( sfile ) local tables,err = loadfile( sfile ) if err then print(err) end --local tables = ftables() for idx = 1,#tables do local tolinki = {} for i,v in pairs( tables[idx] ) do if t...
function onCreate() end function onStepHit() if stepHitFuncs[curStep] then stepHitFuncs[curStep]() end end stepHitFuncs = { [128] = function() setProperty('defaultCamZoom', 0.6); end, [352] = function() setProperty('defaultCamZoom', 0.57); end, [356] = function() s...
-- Wireshark Lua script plugin -- packet disector for Channel Access protocol -- -- https://github.com/mdavidsaver/cashark -- -- Copyright 2015 Michael Davidsaver -- -- Distribution and use subject to the EPICS Open License -- See the file LICENSE -- -- Revision $Id: bf432c612f807ed6d3efbeecd8ee6053457cde4e $ print("L...
slot0 = class("GuildMemberMediator", import("..base.ContextMediator")) slot0.OPEN_DESC_INFO = "GuildMemberMediator:OPEN_DESC_INFO" slot0.FIRE = "GuildMemberMediator:FIRE" slot0.SET_DUTY = "GuildMemberMediator:SET_DUTY" slot0.IMPEACH = "GuildMemberMediator:IMPEACH" slot0.GET_RANK = "GuildMemberMediator:GET_RANK" slot0....
function game_load() love.graphics.setBackgroundColor(0.18, 0.75, 1) xscroll = 0 yscroll = 0 if challengemenu then startlevel(currentchallenge) else startlevel(1) end gamewintimer = -1 gamewon = false end function game_update(dt) spellbook_update(dt) local xstart = math.max(math.floor(xscroll), 1) ...
local _M = {} local base = require "resty.waf.base" local table_concat = table.concat local table_insert = table.insert _M.version = base.version local function _transform_collection_key(transform) if not transform then return nil end if type(transform) ~= 'table' then return tostring(transform) else ret...
-- Table structure that describes a Source Engine ammo type. -- @struct AmmoData -- @shared -- @field number dmgtype Damage type using Enums/DMG. -- @field number force The force of the ammo. -- @field number maxsplash The maximum water splash size. -- @field number minsplash The minimum water splash size. -- @field s...
ModUIUtils = {} function ModUIUtils.Init () end function ModUIUtils.GetChild (parent, childName) end function ModUIUtils.GetChild (parent, childName) end function ModUIUtils.ChangePos (rect, x, y) end function ModUIUtils.ChangePos (t, x, y) end function ModUIUtils.ChangeSize (rect, width, height) end funct...
class 'ActiveRecord::Validator' ActiveRecord.Validator.validators = {} local function run_validation(model, column, v_opts, v_id, success_callback, error_callback) local function process_next() if v_opts[v_id + 1] then run_validation(model, column, v_opts, v_id + 1, success_callback, error_callback) e...
--[[ Enumeration of all possible error states ]] local createEnum = require(script.Parent.createEnum) local PurchaseError = createEnum("PurchaseError", { -- Pre-purchase network failures "CannotGetBalance", "CannotGetItemPrice", -- Premium "AlreadyPremium", "PremiumUnavailable", "PremiumUnavailablePlatform", ...
-- Ritual of Life -- Template -- -- Basics local ownLife = 8000 local oppLife = 8000 local oppName = "Adelaide" local duelMode = DUEL_ATTACK_FIRST_TURN + DUEL_SIMPLE_AI local masterRule = 4 local hint = { "Win this turn!" } -- Field -- adding template: -- { id, position, zone number } -- Field spell i...
groupInfo = {} -- The bind to open the groups window bindKey( "F6", "down", function () ---if not getElementData(localPlayer,"isPlayerPrime") then return false end if exports.server:isPlayerLoggedIn( localPlayer ) and getElementData(localPlayer,"isPlayerArrested") then exports.NGCdxmsg:createNewDxMessage("You...
--[[ while(true) do print("循环将永远执行下去") end ]] for var=1, 10, 1 do print("循环" .. var) end local a = {"aa", "bb", "cc"} for i,v in ipairs(a) do print(i, v) end
--[[ Humor API Awesome Humor API. The version of the OpenAPI document: 1.0 Contact: mail@humorapi.com Generated by: https://openapi-generator.tech ]] -- inline_response_200_1 class local inline_response_200_1 = {} local inline_response_200_1_mt = { __name = "inline_response_200_1"; __index = inline_res...
--[[ LOS - Lua Object System. Inspired by CLOS. ]] local prototype = require('prototype') local LOS = {} function LOS.defclass () end function LOS.defmethod () end function LOS.defgeneric () end return LOS
---@class RDSPokerNight : zombie.randomizedWorld.randomizedDeadSurvivor.RDSPokerNight ---@field private items ArrayList|Unknown ---@field private money String ---@field private card String RDSPokerNight = {} ---@public ---@param arg0 BuildingDef ---@return void function RDSPokerNight:randomizeDeadSurvivor(arg0) end -...
do return end local actions = require("telescope.actions") local actions_set = require("telescope.actions.set") local actions_state = require("telescope.actions.state") local pickers = require("telescope.pickers") local sorters = require("telescope.sorters") local finders = require("telescope.finders") local entry_dis...
CellReadStream = class("CellReadStream"); function CellReadStream:ctor(nSize) self._obj = CellReadStream_Create(nSize); end function CellReadStream:release() CellReadStream_Release(self._obj); end function CellReadStream:getNetCmd() return CellReadStream_ReadUInt16(self._obj); end function CellRea...
local OctoBuffer = require("octo.model.octo-buffer").OctoBuffer local previewers = require "telescope.previewers" local utils = require "octo.utils" local ts_utils = require "telescope.utils" local pv_utils = require "telescope.previewers.utils" local writers = require "octo.writers" local graphql = require "octo.graph...
function EntityList:Foreach(func, cond, lst) for ent in lst.entries do local cv = cond(ent); if(cv) then func(ent); end end end function EntityList:ForeachMob(func, cond) cond = cond or function(ent) return true end; local lst = self:GetMobList(); self:Foreach(func, cond, lst); end function EntityList:F...
local awful = require('awful') require('awful.autofocus') local modkey = require('conf.keys.mod').modKey local altkey = require('conf.keys.mod').altKey local clientKeys = awful.util.table.join( awful.key( {modkey}, 'f', function(c) c.fullscreen = not c.fullscreen c:raise() end, {des...
local handy = require 'handy' function lovr.load() handy:init() end function lovr.update(dt) for controller in handy() do if controller:getAxis('trigger') > .5 then controller:vibrate(.003) end end end function lovr.draw() handy:draw() end
--[[ PLANT GROWTH STAGES Each plant starts out at stage 1 and starting consumes one Config.Items.Seed immediately, and the first timer starts running. Interacting with the plant at this time destroys it. When the time is up, it progresses to the next stage, which is a mode='tend' stage. Interaction at this stage cons...
function onStart(target, buff) add_buff_parameter(target, buff, 1) end function onPostTick(target, buff) if buff.not_go_round > 0 then return end buff.remaining_round = buff.remaining_round - 1; if buff.remaining_round <= 0 then UnitRemoveBuff(buff); end end function onEnd(target, buff) add_buff_paramete...
local filesystem = require("filesystem") local yluaPath = "/home/ylua/" local testsPath = yluaPath .. "test/" for filename, _ in filesystem.list(testsPath) do if string.match(filename, ".+%.lua$") then print(filename) local fileToProcess = loadfile(testsPath .. filename) local bytecodeFile ...
local class = require 'class' require 'models.base_model' require 'util.TotalVariation' require 'models.multistyle_architectures' require 'util.image_pool' util = paths.dofile('../util/util.lua') acgan_loss = paths.dofile('../util/acgan_loss.lua') GatedGANModel = class('GatedGANModel', 'BaseModel') function GatedGANM...
local ffi = require("ffi"); local bit = require("bit"); local bnot = bit.bnot; local rshift = bit.rshift; local lshift = bit.lshift; local band = bit.band; local ws2_32 = require("ws2_32"); local IPUtils = require("IPUtils"); -- Get the adress of a particular field within a structure local fieldAddress = function(a...
minetest.register_craft({ output = "elepower_mining:miner_controller", recipe = { {"elepower_dynamics:servo_valve", "elepower_dynamics:soc", "fluid_transfer:fluid_duct"}, {"elepower_machines:resonant_capacitor", "elepower_machines:machine_block", "elepower_machines:resonant_capacitor"}, {"elepower_dynamics:vir...
function GM:GetCrosshairColor() local color = util.StringToType(lambda_crosshair_color:GetString(), "vector") if color == nil then lambda_crosshair_color:SetString("0 128 0") color = Vector(0, 128, 0) end return color end function GM:SetCrosshairColor(color) local str = tostring(color.r) .. " " .. tostring(co...
package.path = table.concat({ "?.lua", "test/ltest/?.lua", }, ";") local JSONLIB = "json" local supportBigInt = _VERSION ~= "Lua 5.1" and _VERSION ~= "Lua 5.2" local lt = require "ltest" local json = require(JSONLIB) lt.moduleCoverage(JSONLIB) local function reload() package.loaded[JSONLIB] = nil js...
local __exports = LibStub:NewLibrary("ovale/DemonHunterSoulFragments", 10000) if not __exports then return end local __class = LibStub:GetLibrary("tslib").newClass local __Ovale = LibStub:GetLibrary("ovale/Ovale") local Ovale = __Ovale.Ovale local __Debug = LibStub:GetLibrary("ovale/Debug") local OvaleDebug = __Debug.O...
-- -- 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 ...
BehTree.IAction = BehTree.ITask:New({}) local this = BehTree.IAction this.name = 'IAction' this.taskType = BehTree.TaskType.Action function this:New(o) o = o or {} setmetatable(o, self) self.__index = self return o end
BINDING_NAME_TOGGLEGUILDPANE = "Toggle Guild Pane" function ToggleGuildPane() if (IsKioskModeEnabled()) then return; end local factionGroup = UnitFactionGroup("player"); if (factionGroup == "Neutral") then return; end if ( IsTrialAccount() or (IsVeteranTrialAccount() and not IsInGuild()) ) then UIErrorsFr...
function element_0(shader, t_base, t_second, t_detail) -- [0] pass 0 - LUT Generation shader:begin("null", "gamma_gen_lut") :fog (false) :zb (false, false) end function element_1(shader, t_base, t_second, t_detail) -- [1] pass 1 - Apply LUT shader:begin("null", "gamma_apply") :fog (false) :zb (fa...
--[[ Lua 的所有类的顶级类,所有 Lua 都从这个类派生 ]] LuaObjectClass = {} LuaObjectClass.Name = "LuaObjectClass" -- 顶级类的创建方法 function LuaObjectClass:New(o) local o = o or {} setmetatable(o, self) self.__index = self return o end function LuaObjectClass:ToString() local arg = "\n\n--------...
-- Scripts juste pour tester 3x LED RGB -- tout sur la couleur: https://www.w3schools.com/colors/default.asp -- roue des couleurs: https://iro.js.org/?ref=oldsite print("\n just_test_3x.lua zf181106.0940 \n") print("Initializing LED strip...") ws2812.init() ws2812_effects.stop() strip_buffer = ws2812.newBuffer(3, 3)...
-- TODO: make this a continuous outcome --[[ register_outcome{ text = "6 SHIELDS WHAT?!?!?", subtext = "But projectiles hit like a truck!", good = true, comment = "todo", rarity = 15, apply = function() local player = get_player() local shieldrad = tonumber(GlobalsGetValue("twitch_shield...
-- -- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved. -- -- Code, data for a generic InterFace Button (IFButton). -- -- This is fairly basic, will be extended by other classes -- (e.g. RoundIFButton) -- -- Broken off from interface_util.lua for better encapsulation -- Override for setsize --...
--[[ © CloudSixteen.com do not share, re-distribute or modify without permission of its author (kurozael@gmail.com). Clockwork was created by Conna Wiles (also known as kurozael.) http://cloudsixteen.com/license/clockwork.html --]] local COMMAND = Clockwork.command:New("AnimMotion"); COMMAND.tip = "Make your cha...
local table = require '__stdlib__/stdlib/utils/table' local KC = require 'klib/container/container' local IntermediateComponent = require 'klib/gui/component/intermediate_component' local LazyTable = require 'klib/utils/lazy_table' local TypeUtils = require 'klib/utils/type_utils' -- 所有 ui 组件都用其子类 local Component = KC...
xpanes.register_pane("doompane", { description = "Doom pane", tiles = {"xpanes_space.png"}, drawtype = "airlike", paramtype = "light", is_ground_content = false, sunlight_propagates = true, walkable = false, pointable = false, diggable = false, buildable_to = true, air_equivalent = true, textures = {"scifi_...
require("NPC/state.lua") require("Game/particleEffect.lua") require("Game/targetSelector.lua") require("Projectile/fireStorm.lua") --this = SceneNode() Missile = {name="Missile"} function Missile.new() local self = {} --constants local MAXSPEED = 7.5 --scotty, Maximum warp! local SPEEDACC = 5.0 --...
-- Copyright 2021 gsdenys. All Rights Reserved. -- -- 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 la...
lotj.comlinkInfo.registerComlink(matches.comlink, matches.channel, matches.encryption) echo("\n") lotj.comlinkInfo.log("Stored comlink: "..matches.comlink) lotj.comlinkInfo.log("Stored channel: "..matches.channel) lotj.comlinkInfo.log("Stored encryption: "..matches.encryption)
-- Objects local SnowyMenu = Instance.new("ScreenGui") local Opener = Instance.new("Frame") local Open = Instance.new("TextButton") local MainFrame = Instance.new("Frame") local BlackBottom = Instance.new("Frame") local BlueTop = Instance.new("Frame") local Frame = Instance.new("Frame") local Frame_2 = Instance.new("F...
package("rttr") set_homepage("https://www.rttr.org") set_description("rttr: An open source library, which adds reflection to C++.") set_license("MIT") if is_plat("macosx") then add_extsources("brew::rttr") end add_urls("https://www.rttr.org/releases/rttr-$(version)-src.tar.gz", ...
local ej = require "ejoy2d" local pack = require "ejoy2d.simplepackage" pack.load { pattern = [[examples/asset/?]], "sample", } local scissor = false local obj = ej.sprite("sample","mine") obj.resource.frame = 70 obj.label.text = "Hello World" local game = {} function game.update() obj.frame = obj.frame + 1 end ...
--竜輝巧-エルδ --Scripted by mallu11 function c100415027.initial_effect(c) --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) e1:SetValue(c100415027.splimit) c:RegisterEf...
-- ========== THIS IS AN AUTOMATICALLY GENERATED FILE! ========== PlaceObj('Scenario', { 'name', "Mystery 1", 'file_name', "Mystery_1", }, { PlaceObj('ScenarioSequence', { 'name', "Trigger", 'autostart', true, }, { PlaceObj('SA_Exec', { 'expression', "_mystery_ended = false", }), PlaceObj('SA_WaitExpr...
local propTrigger = script:GetCustomProperty("Trigger"):WaitForObject() local propChestSmallOpened = script:GetCustomProperty("ChestSmallOpened"):WaitForObject() local propChestSmallClosed = script:GetCustomProperty("ChestSmallClosed"):WaitForObject() local propOpenFX = script:GetCustomProperty("OpenFX") local propLoc...
ENT.Type = "point" ENT.Base = "base_point" ENT.Damager = nil ENT.KillName = nil function ENT:KeyValue(key, value) if key == "damager" then self.Damager = tostring(value) elseif key == "killname" then self.KillName = tostring(value) end end function ENT:AcceptInput(name, activator...
Auracle_DB = { ["namespaces"] = { ["LibDualSpec-1.0"] = { ["char"] = { ["Shantou - Frostmourne"] = { ["profile"] = "Shantou - Frostmourne", ["enabled"] = false, ["specGroup"] = 1, }, }, }, }, ["profileKeys"] = { ["Gachnar - Frostmourne"] = "Gachnar - Frostmourne", ...
local lang = { repair = "Reparar {1}.", reward = "Recompensa: {1} $.", bankdriver = "Given Money {1}.", reward = "Recompensa: {1} $.", delivery = { title = "¡Compre los artículos de los Mercados (ver mapa) y luego tráigalos!", item = "- {2} {1}" }, drugseller = { title = "Encuentra al Informado...
Talk(0, "看来这奇怪的机器就是能带我回家的设备.不知道会不会痛.好了,我要进去了,在此之前,我要说一句话..........”再见了,各位金庸笔下的人物,有机会我会再回来这奇妙的武林世界!再见!”", "talkname0", 1); ModifyEvent(-2, -2, 0, 0, -1, -1, -1, -1, -1, -1, -2, -2, -2); EndAmination(0, 8054, 8128, 1, 8130, 8204, -1); jyx2_ShowEndScene(); do return end;
-- This provides a serializer to get around Blizzard's absurd 255-character limit on messages. -- It will break up a long message into chunks, identifying them with a header so they may -- be reassembled. -- -- I think this code will work well, but it might behoove us to embed the header in the prefix -- itself, instea...
--[[ Copyright (c) 2009 Edvin "Lego3" Linge 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, publish, distr...
local gun1 = scene:getInstances("gun1"); local spawner1 = scene:getInstances("spawner1"); local ha1Targets = scene:getObjects("ha1_target"); local function activateLight(light) light.visible = true; light.myColor = light.color[4]; local tweening = SequentialTweening(true); tweening:addTweening(SingleTw...
if not _G.plugin_loaded("nvim-treesitter") then do return end end require("nvim-treesitter.configs").setup { ensure_installed = "all", highlight = { enable = true, }, incremental_selection = { enable = true, keymaps = { init_selection = "gnn", node_incremental = "grn", scope_inc...
print "Lade ak.data.PlanerLuaModul ..." PlanerLuaModul = {} PlanerLuaModul.id = "725585f1-cfee-4237-97e1-135c5e9f4d02" PlanerLuaModul.enabled = true local initialized = false -- Jedes Modul hat einen eindeutigen Namen PlanerLuaModul.name = "ak.data.PlanerLuaModul" local AkPlaner = require("ak.planer.AkPlaner") --- Die...
--====================================================================-- -- dmc_widget/base_style.lua -- -- Documentation: http://docs.davidmccuskey.com/ --====================================================================-- --[[ The MIT License (MIT) Copyright (c) 2015 David McCuskey Permission is hereby granted...
local BuddyBox = RegisterMod( "Buddy in a box",1 ); local familiarItem = Isaac.GetItemIdByName("Buddy in a box") local familiarEntity = Isaac.GetEntityTypeByName("BoxBuddy") local familiarEntityVariant = Isaac.GetEntityVariantByName("BoxBuddy") --These effects will always happen Movement = { FLAG_NO_EFFECT...
local m = require 'lpeg' local re = require 're' local prefix_utf_type = require 'parse.prefix.utf_type' local prefix_declaration = require 'parse.xml.prefix.declaration' local prefix_before_document = require 'parse.xml.prefix.before_document' local lib = {} local c_tag_open = re.compile([[ tag_open <- '<' {| ...
local tag = require "luakatsu/bin/tag" return setmetatable({ { tag(1, "星宮 いちご"), name_rm = "Ichigo", tag(2, "諸星 すみれ"), tag(4 , 3), tag(5 , "のり弁"), tag(6 , "ご飯をきっちりよそう"), tag(7 , "Angely Sugar"), tag(8 , 1), tag(9 , {"輝きのエチュード", "Growing for a dream", "Dance in the rain"}), tag(10 , "霧島 若歌"), tag(1...
---------------------------- -- Bunny Hop -- -- Created by Skeyler.com -- ---------------------------- ENT.Type = "anim" ENT.Base = "base_anim" function ENT:Initialize() end function ENT:Think() end function ENT:Draw() end
local Stack = {} function Stack:new() obj = {impl = {}} setmetatable(obj, self) self.__index = self return obj end function Stack:push(item) table.insert(self.impl, item) return true end function Stack:pop() local popped = table.remove(self.impl, #self.impl) return popped end function Stack:empty() ...
-- scaffolding entry point for draco return dofile("draco.lua")
local lang = require 'lang' local w2l local wtg local wct local loader local function load_custom() wct.custom = { comment = loader('code.txt') or '', code = loader('code.j') or '', } end local function load_vars() wtg.vars = w2l:parse_lml(loader('variable.lml') or '') ...
if numplates == 4 then rows = 2 cols = {2,2} elseif numplates == 5 then rows = 2 cols = {3,2} elseif numplates == 6 then rows = 2 cols = {3,3} else rows = 1 cols = {numplates} end maxcols = math.max(table.unpack(cols)) lens_width = maxcols lens_height = rows onload = "f_contain" funct...
include("shared.lua") include("player/cl_playerinfo.lua") include("player/cl_playerPowers.lua") include("win_panel/cl_win_panel.lua") include("checklist/checklist.lua") include("buttons_menu/menuButt.lua")
--[[ FormSpec Context ('fsc') mod for minetest Copyright (C) 2018 Auke Kok <sofar@foo-projects.org> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copi...