content
stringlengths
5
1.05M
local reflect = {} reflect.LuaParser = require 'eonz.reflect.parser' reflect.grammar = require 'eonz.reflect.lua_grammar' return reflect;
local marquee = {} local desiredFont = lg.newFont('assets/OpenSans-Regular.ttf', 24) marquee.text = "" marquee.length = 0 marquee.height = desiredFont:getHeight() function marquee.set(text) marquee.text = text marquee.length = desiredFont:getWidth(text) end marquee.x = 0 function marquee.update(speed) mar...
-- uhttp, streaming-style HTTP parser and client for NodeMCU. -- Copyright (C) 2017-2018, Aleh Dzenisiuk. --[[ Simple streaming parser for HTTP responses. Create an instance by passing your parsing event callbacks to the function returned by `require('uhttp_parser')`. Then call process() on that in...
-- Random seed math.randomseed(os.time()) -- Open a file and read it all local f = assert(io.open(filename, "r")) local t = f:read("*all") f:close() -- Time and date os.date("*t", os.time()) -- System Calls os.getenv("HOME") -- Prints the number of each new line debug.sethook(print, "l")
if IsWorldgen() then return {} end local Lambda = wickerrequire "paradigms.functional" local Pred = wickerrequire "lib.predicates" local Debuggable = wickerrequire "adjectives.debuggable" local Common = pkgrequire "common" local Custom = pkgrequire "customrpcs" --- local GetVanillaRPCHandlers = assert(Common.GetV...
-- pixel version of world local M = {} local centerX, centerY = display.contentCenterX, display.contentCenterY function M.new(pixelScale) pixelScale = pixelScale or 3 local width = math.floor(display.actualContentWidth / pixelScale) local height = math.floor(display.actualContentHeight / pixelScale) display....
help( [[ This module loads simbody 3.5.3. ]]) whatis("Loads simbody 3.5.3 ") local version = "3.5.3" local base = "/cvmfs/oasis.opensciencegrid.org/osg/modules/simbody/"..version prepend_path("CPATH", pathJoin(base, "include/simbody")) prepend_path("LIBRARY_PATH", pathJoin(base, "lib64")) prepend_path("LD_LIBRARY...
function Fade:GetThirdPersonOffset() local z = -1.1 - self:GetVelocityLength() / self:GetMaxSpeed(true) * 0.6 local y = 0.5 if self.GetCrouchAmount then y = y + self:GetCrouchAmount() *0.4 end return Vector(0, y, z) end function Fade:GetFirstPersonFov() return kFadeFov end function Fade:GetEyePos() ...
inventory_Config = { max_items = 13; -- максимально предметов в боксе size_boxW = 170; size_boxH = 50; size_boxlib = 50; fontNameItems = dxConfig.getFont("Bold",0.8); -- шрифт,названия предметов }
--[[ // Filename: FriendPlayerPrompt.lua // Version 1.0 // Written by: TheGamer101 // Description: Can prompt a user to send a friend request or unfriend a player. ]]-- local StarterGui = game:GetService("StarterGui") local PlayersService = game:GetService("Players") local CoreGuiService = game:GetService("CoreGui...
return { lazy_load_paths = {}, lazy_loaded_ft = {}, }
object_draft_schematic_weapon_appearance_weapon_appearance_loot_sickle = object_draft_schematic_weapon_appearance_shared_weapon_appearance_loot_sickle:new { templateType = DRAFTSCHEMATIC, customObjectName = "Sickle Sword", craftingToolTab = 1, -- (See DraftSchematicObjectTemplate.h) complexity = 30, ...
vim.g.rout_follow_colorscheme = 1 vim.g.Rout_more_colors = 1 -- Disable default assign shortcut vim.g.R_buffer_opts = 'winfixwidth nonumber' vim.g.R_editing_mode= 'vi' vim.g.R_csv_app = 'terminal:vd' vim.g.R_clear_line = 1 vim.g.R_assign = 0 vim.g.R_nvimpager='tab' vim.g.R_rmdchunk=0 vim.g.R_objbr_openlist = 1 vim.g.R_...
--[[x,y = guiGetScreenSize() LoginWin = guiCreateWindow(x/2 - 150,y/2 - 110,300,220,"Willkommen",false) TabPanel = guiCreateTabPanel(17,30,261,152,false,LoginWin) TabLogin = guiCreateTab("Login",TabPanel) LblUsername = guiCreateLabel(11,27,70,16,"Benutzername",false,TabLogin) LoginUsername = guiCreateEdit(76,26,171,...
local CorePackages = game:GetService("CorePackages") local InGameMenuDependencies = require(CorePackages.InGameMenuDependencies) local Cryo = InGameMenuDependencies.Cryo local Rodux = InGameMenuDependencies.Rodux local InGameMenu = script.Parent.Parent local SetFriendStatus = require(InGameMenu.Actions.SetFriendStat...
--[[ @file super_mario_bros.lua @author Marcus Edel Definition of game state. --]] -- Manually set the package path print(_VERSION) local readMemory = require("read_memory"); local writeJoypad = require("write_joypad"); local server = require("server"); local json = require("cjson"); -- Check for the gd module...
local PhoneNumber = require('phone-number') describe('phone-number', function() it('cleans the number (123) 456-7890', function() local phone = PhoneNumber:new('(123) 456-7890') assert.are.equals('1234567890', phone.number) end) it('cleans numbers with dots', function() local phone = PhoneNumber:new...
local computer = require "computer" local fs = require "filesystem" local robot = require "robot" local serial = require "serialization" local shell = require "shell" local nav = require "nav" local component = require "component" inv = component.inventory_controller t.getPos() store = {} store.white = {x=100, y=64, z...
-- Clignoter la led bleue. Vieille méthode, pas le faire -- zf180709.2200 zpin=0 --led blue builting gpio.mode(zpin, gpio.OUTPUT) for i=1,20 do print("Hello World "..i) gpio.write(zpin, gpio.LOW) tmr.delay(100000) gpio.write(zpin, gpio.HIGH) tmr.delay(100000) end
-- -- vs200x_vcproj_user.lua -- Generate a Visual Studio 2002-2008 C/C++ project .user file -- Copyright (c) 2011-2013 Jason Perkins and the Premake project -- local p = premake local vstudio = premake.vstudio local project = p.project local m = p.vstudio.vc200x -- -- Generate a Visual Studio 200x...
return package.preload.socket()
------------------------------------------------------------------ -- stack Class -- ------------------------------------------------------------------ Stack = class() function Stack:init() self.count=0 self.items={} end function Stack:push(data) self.count=s...
--[[ This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:27' using the latest game version. NOTE: This file should only be used as IDE support; it should NOT be distributed with addons! **************************************************************************** CONTENTS OF THIS FILE IS COPYRI...
topBlock = "GrassDirt" fillBlockDeep = "Stone" fillBlockShallow = "Dirt" function start() newstruct("Tree",[[ ,, ,Wood, ,, ,, ,Wood, ,, ,, ,Wood, ,, ,, ,Wood, ,, Leaf,Leaf,Leaf Leaf,Leaf,Leaf Leaf,Leaf,Leaf Leaf,Leaf,Leaf Leaf,Leaf,Leaf Leaf,Leaf,Leaf Leaf,Leaf,Leaf Leaf,Leaf,Leaf Leaf,Leaf,Leaf ]]) retu...
--- Internal helpers for resty -- @module resty.riak.helpers local pairs = pairs local ipairs = ipairs local insert = table.insert local _M = {} -- based on strict.lua and agentzh's lua-resty-* local getinfo = debug.getinfo local function what () local d = getinfo(3, "S") return d and d.what or "C" end lo...
RaidBuffs = RaidBuffs or {} local RaidBuffs = RaidBuffs function RaidBuffs.buildMenu(svdefaults) local LAM = LibAddonMenu2 local def = svdefaults local trackingPresets = { "Full", "Dps", "Tank", "Healer", "Custom" } local panelData = { type = "panel", name = RaidBuffs.name, displayName = RaidBuf...
package("libcpuid") set_homepage("https://github.com/anrieff/libcpuid") set_description("a small C library for x86 CPU detection and feature extraction") add_urls("https://github.com/anrieff/libcpuid/archive/refs/tags/$(version).tar.gz", "https://github.com/anrieff/libcpuid.git") add_versi...
local gauge_demo = {} function gauge_demo.demo() --Create a gauge*/ local gauge1 = lvgl.gauge_create(lvgl.scr_act(), nil); lvgl.gauge_set_needle_count(gauge1, 3, lvgl.color_make(0x00, 0x00, 0xFF), lvgl.color_make(0xFF, 0xA5, 0x00), lvgl.color_make(0x80, 0x00, 0x80)); lvgl.obj_set_size(gauge1, 2...
-- -- (C) 2016 Kriss@XIXs.com -- local coroutine,package,string,table,math,io,os,debug,assert,dofile,error,_G,getfenv,getmetatable,ipairs,Gload,loadfile,loadstring,next,pairs,pcall,print,rawequal,rawget,rawset,select,setfenv,setmetatable,tonumber,tostring,type,unpack,_VERSION,xpcall,module,require=coroutine,package,str...
#!/usr/bin/env lua --- a set of libraries to control herbstluftwm -- @module herbstluftwm local command = {} command.__index = command local function using( resource, callback ) local result = callback( resource ) resource:close() return result end local function join_cmd( cmd, args, char ) char = char or "...
local M = {} function M.get(cp) return { markdownHeadingDelimiter = { fg = cp.peach, style = "bold" }, markdownCode = { fg = cp.flamingo }, markdownCodeBlock = { fg = cp.flamingo }, markdownH1 = { fg = cp.pink, style = "bold" }, markdownH2 = { fg = cp.blue, style = "bold" }, markdownLinkText = { fg = cp.b...
#!/usr/bin/env tarantool test_run = require('test_run').new() s = box.schema.space.create('test', {engine = 'vinyl'}) i = s:create_index('test') reflects = 0 function cur_reflects() return box.info.vinyl().performance["iterator"].run.bloom_reflect_count end function new_reflects() local o = reflects reflects = cur_r...
local Me = game:GetService("Players").LocalPlayer --You cannot use this on someone else. local Char = Me.Character local Torso = Char.Torso local TickWait = 1 local Color = "Medium stone gray" local Dead = false local Tool = Instance.new("HopperBin", Me.Backpack) Tool.Name = "Bomb Vest" local Position = Vector3.new...
-- Copyright 2016 KeNan Liu -- -- 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 wri...
resx,resy = game.GetResolution() local wheelY = -resy local bgFade = 0 local yoff = 0 local lastSelected = 0 render = function(deltaTime, shown) gfx.BeginPath(); gfx.LoadSkinFont("segoeui.ttf"); gfx.TextAlign(gfx.TEXT_ALIGN_CENTER + gfx.TEXT_ALIGN_MIDDLE); gfx.FontSize(40); if shown then bg...
-------------------------------------- -- Creator : TOXIC -- Date : 03/10/2018 -------------------------------------- local ObjectManager = require("managers.object.object_manager") pvp3 = ScreenPlay:new { numberOfActs = 1, questString = "pvp3", questdata = Object:new { activePlayerName = "initial", ...
------------------------------------------------ -- Copyright © 2013-2014 Hugula: Arpg game Engine -- -- author pu ------------------------------------------------ local CUtils=CUtils local FileHelper=toluacs.FileHelper --luanet.import_type("FileHelper") local Loader = Loader local Model = Model local json = j...
-- 6Harmonics Qige @ K2E 7S4 -- 2017.03.01 local FMT = require 'six.fmt' local CMD = require 'six.cmd' local USER = require 'grid.base.user' local CGI = require 'grid.base.cgi' local N = FMT.n local SFmt = string.format local FIND = FMT.http.find local AUTH = USER.verify.Remote Tool = {} -- #define Tool.conf = ...
local _M = {} local _Mmt = {__index = _G} setmetatable(_M, _Mmt) local _G = _M local fs = require "yunit.filesystem" local ytrace = require "yunit.trace" require "yunit.mine" TestResultHandler = { onTestSuccessfull = function(testCaseName) end; onTestFailure = function(testCaseName, errorObject) ...
function love.conf(t) t.window.width = 480 t.window.height = 800 t.window.title = "Bare Quest 2" end MIN_WIDTH = 160 MIN_HEIGHT = 160 SCALE = 3 CANVAS_SCALE = 1
require "system" require "utility" require "extensions.cache" require "extensions.timer" LightmapManager = class { __name = "LightmapManager", currentMapId = 0, currentLightmap = nil, lightmapOpacity = Tween:new(255), onSceneDrawn = function(self, scene) self:update(scen...
data.raw["assembling-machine"]["chemical-plant"].fast_replaceable_group = "chemical-plant" data.raw["assembling-machine"]["oil-refinery"].fast_replaceable_group = "oil-refinery"
class("ProposeExchangeRingCommand", pm.SimpleCommand).execute = function (slot0, slot1) slot2 = slot1:getBody() if getProxy(BagProxy).getItemCountById(slot3, pg.gameset.vow_prop_conversion.description[1]) < 1 then pg.TipsMgr.GetInstance():ShowTips(i18n("common_no_item_1")) return end pg.ConnectionMgr.GetInst...
project "Crowny-Sandbox" kind "ConsoleApp" language "C#" staticruntime "on" targetdir ("bin/" .. outputdir .. "/%{prj.name}") objdir ("bin-int/" .. outputdir .. "/%{prj.name}") links { "Crowny-Sharp" } files { "Source/**.cs" } filter "system:windows" systemversion "latest" filter "configurations...
--[受到攻击后,概率减少对手的能量] 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) ...
local toggleGuiKey = "F4" --### Development Mode ### function enableDevMode(resource) setDevelopmentMode(true) outputChatBox("Enabled Development Mode (use 'showcol' command to make colshapes visible)") bindKey(toggleGuiKey,"down",toggleGui) outputChatBox("Toggle SCM Helper GUI with "..toggleGuiKey) end addEve...
local vim = vim local utils = require("rust-tools.utils.utils") local M = {} local function get_params(up) local direction = up and "Up" or "Down" local params = vim.lsp.util.make_range_params() params.direction = direction return params end -- move it baby local function handler(_, result, ctx) if result == n...
local test_pb = require 'test_pb' function reserialize(type, msg) local data = msg:SerializeToString() local re_msg = type() re_msg:ParseFromString(data) return re_msg end describe("ScalarTypes", function() local scalar setup(function() local msg = test_pb.ScalarTypes() msg.double = 123.456 ...
require "Polycode/Image" class "Label" (Image) Label.ANTIALIAS_FULL = 0 Label.ANTIALIAS_NONE = 1 Label.ANTIALIAS_STRONG = 2 Label.ANTIALIAS_LCD = 3 Label.ANTIALIAS_LCD_HINT = 4 Label.ANTIALIAS_FULL_HINT = 5 function Label:Label(...) local arg = {...} if type(arg[1]) == "table" and count(arg) == 1 then if ""..arg...
RegSettings = { period = 182, degree = 1, -- 1 -линейная, 2 - параболическая, - 3 степени shift = 0.618, kstd = 3, --отклонение сигма periodATR = 0, kATR = 0, Size = 0 } function initReg() Reg = nil -- Линия регрессии Trigger = nil sx = nil calc...
function model.removeFromPluginRepresentation_template(partHandle) local data={} data.id=partHandle simBWF.query('object_delete',data) end function model.updatePluginRepresentation_template(partHandle) local data={} data.id=partHandle data.displayName=simBWF.getObjectAltName(partHandle) loc...
class(UIPickerViewDataSource); function UIPickerViewDataSource:numberOfComponents(pickerView) end function UIPickerViewDataSource:numberOfRowsInComponent(pickerView, component) end
local Commands = {} function Commands.sendExportCommand(layoutNumber, fileName, dirPath) gma.cmd("Export Layout " .. layoutNumber .. " " .. Quote .. fileName .. Quote .. " /o /nc /p = " .. Quote .. dirPath .. Quote) end function Commands.sendImportCommand(layoutNumber, fileName) gma.cmd("Impor...
local AS = unpack(AddOnSkins) if not AS:CheckAddOn('DejaCharacterStats') then return end function AS:DejaCharacterStats() AS:Desaturate(DCS_configButton) AS:SkinButton(DCS_TableRelevantStats) AS:SkinButton(DCS_TableResetButton) end AS:RegisterSkin('DejaCharacterStats', AS.DejaCharacterStats)
local config = require("aerial.config") local data = require("aerial.data") local fold = require("aerial.fold") local loading = require("aerial.loading") local protocol = require("vim.lsp.protocol") local render = require("aerial.render") local util = require("aerial.util") local window = require("aerial.window") loca...
local awful = require("awful") local gears = require("gears") local wibox = require("wibox") local gcolor = require("gears.color") local beautiful = require("beautiful") local bg_normal = beautiful.tabbar_bg_normal or beautiful.bg_normal or "#ffffff" local fg_normal = beautiful.tabbar_fg_normal or beautiful.fg_normal ...
-- SORTED SETS with EXPIRE by member -- ZEXPIREAT key member ---- This command returns the expire time of the member, or nil if the member is already expired. local ZSET_EXPIREAT_KEY = KEYS[1]..".EXPIREAT" local now = tonumber(redis.call('TIME')[1]) local expireAt = redis.call('ZSCORE', ZSET_EXPIREAT_KEY, KEYS[2]) i...
local Event = require("api.Event") local DamagePopup = require("mod.damage_popups.api.DamagePopup") Event.register("base.on_init_save", "Init save (damage popups)", function() save.damage_popups.popups = { count = 0 } end) Event.register("base.on_map_changed", "Clear damage popups", DamagePopup.clea...
local ts = torch.TestSuite() local tester = require('test.tester') require('nn') require('cunn') local WeightNorm = require('weightnorm.WeightNorm') local function generic_learning_test(Linear, type) torch.manualSeed(1234) cutorch.manualSeed(1234) local linear = Linear(10, 1) local lwn = WeightNorm.new(linea...
slot.put_into('title', encode.html(_"webmcp demo application")) slot.put_into('main', encode.html(_"Welcome to webmcp demo application"))
fx_version "cerulean" games {"rdr3","gta5"} author 'Blumlaut <blue@furfag.de>' description 'EasyAdmin - Admin Menu for FiveM & RedM' version '6.41' lua54 'yes' rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.' server_scrip...
--- Utilities involving Vector3 objects in Roblox -- @module Vector3Utils local require = require(script.Parent.loader).load(script) local Math = require("Math") local Vector3Utils = {} function Vector3Utils.fromVector2XY(vector2) return Vector3.new(vector2.x, vector2.y, 0) end function Vector3Utils.fromVector2XZ...
module(..., package.seeall) -- parse request body args -- XML, JSON, form-url-encoded or multipart. -- Copyright (C) Anton heryanto. -- module(..., package.seeall) local cjson = require "cjson" local json_safe = require "cjson.safe" local utils = require "lua.utils" local iptools = require ...
function madeline_update_callback (data) var_dump(data) if (data._ == "updateNewMessage" and data.message._ == "message" and data.message.to_id._ == "peerUser" and data.message.to_id.user_id == get_self().id) then -- if it's a new (non channel/supergroup) message, if it's sent to a private chat with me if (data...
require 'torch' require 'nn' require 'nngraph' require 'hdf5' require 'loadcaffe' -- local imports local utils = require 'misc.utils' local net_utils = require 'misc.net_utils' require 'misc.optim_updates' require 'misc.QADatasetLoader' require 'modules.QAAttentionModel' require 'modules.QACriterion' ---------------...
for i,v in pairs(t) do print(i,v) end
local function fillVanillaConfig() config["iron-ore"] = { type="resource-ore", -- general spawn params allotment=100, -- how common resource is spawns_per_region={min=1, max=1}, --number of chunks richness=10000, -- resource_ore has only one ric...
--[[ © 2018 Thriving Ventures AB do not share, re-distribute or modify without permission of its author (gustaf@thrivingventures.com). ]] --- ## Shared --- Library for managing plugins. -- @module serverguard.plugin serverguard.plugin = serverguard.plugin or {} local stored = {} local object = {} object.__index = o...
local parser_error = require('lush.errors').parser.generate_for_code local function allowed_option_keys() -- note, sometimes `1` is manually inserted into allowed options, -- since it's OK in some edge cases (inheritance, links) return {"fg", "bg", "sp", "gui", "lush"} end -- groups should define their error st...
module("luarocks.index", package.seeall) local util = require("luarocks.util") local fs = require("luarocks.fs") local deps = require("luarocks.deps") local persist = require("luarocks.persist") local dir = require("luarocks.dir") local manif = require("luarocks.manif") local index_header = [[ <!DOCTYPE html PUBLIC ...
return { version = "1.1", luaversion = "5.1", tiledversion = "1.1.6", orientation = "orthogonal", renderorder = "right-down", width = 330, height = 100, tilewidth = 32, tileheight = 32, nextobjectid = 431, properties = {}, tilesets = { { name = "test-tileset", firs...
--[[ ]] local Object = class("Object") function Object:ctor() end return Object
require('orgmode').setup({ org_agenda_files = {'~/.local/share/nvim/orgs/*'}, org_default_notes_file = '~/.local/share/nvim/orgs/refile.org' })
--[[------------------------------------------------------ zmq for Lua ----------- zmq using msgpack to send/receive packets. The API is slightly different from ØMQ because of the callback nature of Lubyk bindings. --]]------------------------------------------------------ require 'lubyk' local should = t...
local Utilities = require("vr-radio-helper.shared_components.utilities") local NotificationManager do NotificationManager = { Constants = { NotificationStates = { Pending = "pending", Acknowledged = "acknowledged" } } } function Notific...
local dht_lib = {} local humidity local temperature local bitStream = {} function dht_lib.read(pin) for j = 1, 40, 1 do bitStream[j] = 0 end bitlength = 0 gpio.mode(pin, gpio.OUTPUT) gpio.write(pin, gpio.LOW) tmr.delay(20000) gpio_read = gpio.read gpio_write = gpio.write ...
local water_loss_id = "Tremualin_WaterAtmosphereLoss" local water_loss_text = Untranslated("Water loss from lack of Atmosphere") -- Loses 2% of current Water each sol. Reduced by Atmosphere. function GetWaterLoss() local water = MulDivRound(GetTerraformParam("Water"), 1, const.TerraformingScale) return MulDivR...
local old_CMISA_init = UpgradesTweakData._init_pd2_values function UpgradesTweakData:_init_pd2_values(tweak_data) old_CMISA_init(self, tweak_data) self.sentry_gun_base_ammo = 999999 end
local START_TIME = tonumber(os.time({year=2021, month=01, day=29, hour=22, min=00})) -- Jan. 29th 2021 at 8pm GMT (noon pacific) local END_TIME = tonumber(os.time({year=2021, month=02, day=01, hour=20})) -- Dec. 31st 2020 at 8pm GMT (noon pacific) local utils = require(script:GetCustomProperty("utils")) local BallC...
Citizen.CreateThread(function() local dict = "missminuteman_1ig_2" RequestAnimDict(dict) while not HasAnimDictLoaded(dict) do Citizen.Wait(100) end local handsup = false while true do Citizen.Wait(0) if IsControlJustPressed(1, 323) then --Start holding X if not handsup then ...
return { version = 1, label = "Gamma", filter = "none", uniforms = { exponent = { label = "Exponent", utype = "fff", default = {2.2, 2.2, 2.2}, low = 0.1, high = 3.0 } }, frag = [[ uniform sampler2D map_tu0; uniform vec3 exponent; varying vec2 texco; void main(){ vec3 col = pow(texture2D(map_...
nuclear.debug.log("--resources") local resource_autoplace = require("__core__/lualib/resource-autoplace") -- Add Thorium ore data:extend( { { type = "resource", name = "thorium-ore", icon = no_path_g_icons .. "thorium-ore.png", icon_size = 64, flags = {"placeable-neutral"}, order="a-b-a", subgroup = "...
return {'elton','eltjo','elting','eltink','eltjos','eltons'}
local Runner = require "nvim-test.runner" local localCmd = "./node_modules/.bin/cypress" local jest = require "nvim-test.runners.jest" local cypress = Runner:init({ command = vim.fn.filereadable(localCmd) ~= 0 and localCmd or "cypress", }, { javascript = jest.queries.javascript, }) function cypress:build_args(fil...
-- Created by Elfansoer --[[ Ability checklist (erase if done/checked): - Scepter Upgrade - Break behavior - Linken/Reflect behavior - Spell Immune/Invulnerable/Invisible behavior - Illusion behavior - Stolen behavior ]] -------------------------------------------------------------------------------- modifier_fairy_que...
ccui = ccui or {} ---VBox object ---@class VBox : Layout local VBox = {} ccui.VBox = VBox -------------------------------- -- ---@param size ---@return bool function VBox:initWithSize(size) end -------------------------------- ---@overload fun(size_table):VBox ---@overload fun():VBox ---@param size ---@return VBox ...
local ElonaMagic = require("mod.elona.api.ElonaMagic") local Rand = require("api.Rand") local ItemFunction = require("mod.elona.api.ItemFunction") local IItemSpellbook = require("mod.elona.api.aspect.IItemSpellbook") local IItemAncientBook = require("mod.elona.api.aspect.IItemAncientBook") -- -- Spellbook -- data:add...
AddCSLuaFile( "fwredux/gamemode/spawnmenu/controls/manifest.lua" ) AddCSLuaFile( "fwredux/gamemode/spawnmenu/controls/control_presets.lua" ) AddCSLuaFile( "fwredux/gamemode/spawnmenu/controls/preset_editor.lua" ) AddCSLuaFile( "fwredux/gamemode/spawnmenu/controls/ropematerial.lua" ) AddCSLuaFile( "fwredux/gamemode/spa...
--蘇りし魔王 ハ・デス function c5309481.initial_effect(c) aux.AddMaterialCodeList(c,33420078) --synchro summon aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsCode,33420078),aux.NonTuner(Card.IsRace,RACE_ZOMBIE),1) c:EnableReviveLimit() --Disable local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIEL...
object_tangible_loot_creature_loot_collections_meatlump_officer_doll_stuffing = object_tangible_loot_creature_loot_collections_shared_meatlump_officer_doll_stuffing:new { } ObjectTemplates:addTemplate(object_tangible_loot_creature_loot_collections_meatlump_officer_doll_stuffing, "object/tangible/loot/creature/loot/co...
return { no_consumer = true, fields = { username_field = { type = "string", required = true, default = "email" }, create_consumer = { type = "boolean", required = true, default = false } } }
-- -- Copyright 2019 The FATE Authors. 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 require...
---------------------------------------------------------- -- RamReaderDofile.lua: put variables on your video via AviUtl. ---------------------------------------------------------- if not aviutl then error("This script runs under Lua for AviUtl.") end --------------------------------------------------------...
object_building_mustafar_terrain_must_rock_jagged_med_s01 = object_building_mustafar_terrain_shared_must_rock_jagged_med_s01:new { } ObjectTemplates:addTemplate(object_building_mustafar_terrain_must_rock_jagged_med_s01, "object/building/mustafar/terrain/must_rock_jagged_med_s01.iff")
vengeful_counter = class({}) vengeful_counter_ultimate = class({}) vengeful_ex_counter = class({}) vengeful_ex_counter_ultimate = class({}) function vengeful_counter:GetCastAnimationCustom() return ACT_DOTA_CAST_ABILITY_2 end function vengeful_counter:GetPlaybackRateOverride() return 1.0 end function vengeful_c...
--amazing xpcall(function() require("expansions/script/c37564765") end,function() require("script/c37564765") end) local m,cm=Senya.SayuriRitualPreload(37564906) function cm.initial_effect(c) c:EnableReviveLimit() local e4=Effect.CreateEffect(c) e4:SetDescription(aux.Stringid(37564765,0)) e4:SetCategory(CATEGORY_SP...
local VISION_SPEED = 0.025 local SIGHT_DIST = 50 local SPIT_SPEED = 4 local next_attack = rand(5) -- each 1 is 0.25 seconds, see below local max_angle = math.pi -- 180 local min_angle = max_angle - math.pi/3 -- 120 local angle = math.random()*(max_angle-min_angle) + min_angle local da if (rand(2) == 0) then da = -VIS...
ShzMaryGameCcsView = class("ShzMaryGameCcsView") ShzMaryGameCcsView.onCreationComplete = function (slot0) slot0.waiterTime = nil slot0.oneGridDoTimeTable = {} slot0.waiterMidTime = nil slot0.curIndex = 1 slot0.midItemsTable = {} for slot4 = 1, SHZ_MAX_MARY_MID_ITEM_COUNT, 1 do table.insert(slot0.midItemsTable...
SH_SZ.OUTSIDE = 0 SH_SZ.ENTERING = 1 SH_SZ.PROTECTED = 2 function SH_SZ:GetSafeStatus(ply, sz) local i = ply:GetLocalVar("SH_SZ.Safe", SH_SZ.OUTSIDE) if (SERVER) then return i else if (i == SH_SZ.ENTERING) then return "will_be_protected_in_x", math.max(math.ceil(sz.enter + sz.opts.ptime - CurTime()), 0) e...
do interface "InterfaceB" {} function InterfaceB_A( self ) end function InterfaceB_B( self ) end end