content
stringlengths
5
1.05M
--New
BADBOY_GWHISPER = nil
return {[1]={["stats"]={[1]="base_actor_scale_+%"}},[2]={["stats"]={[1]="skeletal_chains_aoe_%_health_dealt_as_chaos_damage"},["name"]="skeletal_chains_aoe_health_percent",["lang"]={["English"]={[1]={["limit"]={[1]={[1]="#",[2]="#"}},["text"]="Sacrifices %1%%% of Skeleton's Life to deal that much Chaos Damage"}}}},[3]=...
-- MATTER INTERACTOR OBJECT -- -- Create the Matter Interactor base object -- MI = { ent = nil, player = "", MF = nil, entID = 0, stateSprite = 0, active = false, consumption = _mfMIQuatronDrainPerUpdate, updateTick = 60, lastUpdate = 0, dataNetwork = nil, networkAccessPoint = nil, selectedFilter = nil, s...
--------------------------------- -- GLOBAL VARIABLES --------------------------------- local WIDGET_START_X = 0 local WIDGET_START_Y = 51 local WIDGET_WIDTH = 34 local WIDGET_HEIGHT = 13 --------------------------------- -- VARIABLES --------------------------------- local timer local function layout() lcd.drawFill...
modifier_upgrade_juggernaut_refresh_dagger = class({}) function modifier_upgrade_juggernaut_refresh_dagger:RemoveOnDeath() return false end function modifier_upgrade_juggernaut_refresh_dagger:IsPurgable() return false end
local g = vim.g local api = vim.api local keymap = api.nvim_set_keymap -- Leader Keys g.mapleader = [[ ]] g.user_emmet_leader_key = [[<C-,>]] -- Über Yoinking keymap('n', 'Y', 'yg$', { noremap = true }) keymap('n', '<leader>y', [["+y]], { noremap = true }) keymap('v', '<leader>y', [["+y]], { noremap = true }) keymap(...
local path = (...):match("(.-)[^%.]+$") local utils = require(path .. "utils.utils") local color_conversion = require(path .. "utils.color") local graphics = require(path .. "utils.graphics") local calc = require(path .. "utils.calc") --[[--------------------------------------------------------- - colorPicker({}) - ...
local upower_path = [[/org/freedesktop/UPower/devices/battery_BAT0 ]] local upower_info_discharging = [[ native-path: BAT0 vendor: SMP model: DELL GPM0365 serial: 59 power supply: yes updated: Mon 1 Jan 2020 12:00:00 PM MSK (30 seconds...
local wezterm = require "wezterm" return { -- Spawn a fish shell in login mode default_prog = { "/usr/local/bin/fish", "-l" }, -- Specifies whether the ToggleFullScreen key assignment -- uses the native macOS full-screen application support or not. native_macos_fullscreen_mode = true, -- Set default font...
-- if app is not running, launch it; -- otherwise, toggle the status between FrontMost and Hide -- https://www.dazhuanlan.com/yqw961017/topics/1429247 local application = require 'hs.application' function launch_or_toggle_application(_app) -- finds a running applications local app = application.find(_app) ...
hook.Add( "KeyPress", "ZeagaSprintKeyPress", function( ply, key ) if not ply.ZeagaSprintLastPressed then ply.ZeagaSprintLastPressed = 0 end if key == IN_FORWARD then if RealTime( ) - ply.ZeagaSprintLastPressed <= 0.25 then ply.ZeagaIsSprinting = true end ply.ZeagaSprintLastPressed = RealTime( ) end if no...
([[This file was protected with MoonSec Private by Federal#9999]]):gsub('.+', (function(a) _fqKpAHuBPVVF = a; end)); return(function(t,...)local _;local g;local n;local d;local a;local o;local e=24915;local r=0;local s={};while r<567 do r=r+1;while r<0x32a and e%0x28fc<0x147e do r=r+1 e=(e*534)%13241 local l=r+e if(e%0...
--- === cp.strings.source.table === --- --- Loads strings from provided tables, allowing for a given language variation. Eg: --- --- ```lua --- local src = require("cp.strings.source.table").new():add("en", {foo = "bar"}):add("en", {foo = "baz"}) --- local valueEn = src:find("en", "foo") -- "bar" --- local valueEs = sr...
-- Generated By protoc-gen-lua Do not Edit local protobuf = require "protobuf" module('UserExData_pb', package.seeall) local USEREXDATA = protobuf.Descriptor(); local USEREXDATA_ROLEEXP_FIELD = protobuf.FieldDescriptor(); local USEREXDATA_ROLEGOLD_FIELD = protobuf.FieldDescriptor(); local USEREXDATA_ROLECOIN_FIELD = ...
slot0 = class("WSFleetPanel", import("...BaseEntity")) slot0.Fields = { map = "table", onCancel = "function", btnGo = "userdata", rtLimitTips = "userdata", toggles = "table", btnBack = "userdata", rtEmptyTpl = "userdata", fleets = "table", toggleMask = "userdata", rtShipTpl = "userdata", transform = "userdat...
-- -- ClassMods Options - timer sets -- local L = LibStub("AceLocale-3.0"):GetLocale("ClassMods") function ClassMods.Options:CreateTimerSet(setNum) local DB = _G.ClassMods.Options.DB local timersetstable = { enabled = { type = "toggle", width = "double", order = 1, name = L["Enable"], get = functio...
ging_darjeek_missions = { { missionType = "retrieve", primarySpawns = { { npcTemplate = "professor_minnet", npcName = "\"Professor\" Minnet" } }, secondarySpawns = {}, itemSpawns = { { itemTemplate = "object/tangible/mission/quest_item/ging_darjeek_q1_needed.iff", itemName = "Minnet's Pe...
return Def.ActorFrame{ Def.BitmapText { Font="_Bold"; InitCommand=function(self) self:horizalign(right):zoom(0.65):maxwidth(50/0.65) end; SetMessageCommand=function(self,param) if not param then return end local sString = THEME:GetString("StepsType",ToEnumShortString(param.StepsType)); if param.Ste...
local uci = require "luci.model.uci".cursor() local a = require "luci.model.ipkg" local DISP = require "luci.dispatcher" local wlcursor = luci.model.uci.cursor_state() local wireless = wlcursor:get_all("wireless") local ifaces = {} for k, v in pairs(wireless) do if v[".type"] == "wifi-iface" then table.insert(i...
manualescort = { {"idroot", "CompositeDefault", "none", SEQUENCEBEHAVIOR}, {"move0", "MoveDefault", "idroot", BEHAVIOR}, {"move1", "WaitDefault", "idroot", BEHAVIOR}, } manualescortwalk = { {"idroot", "CompositeDefault", "none", SEQUENCEBEHAVIOR}, {"move0", "WalkDefault", "idroot", BEHAVIOR}, {"move1", "WaitDefa...
appname = "Java方法浏览器" appver = "1.0" packagename = "com.androluna.JavaAPI" user_permission = { "INTERNET", "WRITE_EXTERNAL_STORAGE", }
AddCSLuaFile( "shared.lua" ) SWEP.HoldType = "pistol" if (CLIENT) then SWEP.PrintName = "ACF Pistol" SWEP.Author = "Bubbus" SWEP.Slot = 1 SWEP.SlotPos = 3 SWEP.IconLetter = "f" SWEP.DrawCrosshair = false SWEP.Purpose = "Make dudes one-handedly." SWEP.Instructions = "Reload at 12.7mm M...
local a=require'timer'()describe('hump.timer',function()it('runs a function during a specified time',function()local b,c;a:during(10,function(...)b,c=...end)a:update(2)assert.are.equal(b,2)assert.are.equal(8,c)a:update(5)assert.are.equal(b,5)assert.are.equal(3,c)a:update(10)assert.are.equal(b,10)assert.are.equal(0,c)en...
----------------------------------------- -- ID: 5702 -- Item: Nopales Salad +1 -- Food Effect: 3Hrs, All Races ----------------------------------------- -- Strength 2 -- Agility 7 -- Ranged Accuracy +25 -- Ranged Attack +15 ----------------------------------------- require("scripts/globals/status") require("scripts/gl...
BaseView = BaseView or BaseClass(UIPartical) local BaseView = BaseView local LuaViewManager = LuaViewManager local lua_viewM = lua_viewM local GlobalTimerQuest = GlobalTimerQuest local SetLocalScale = SetLocalScale local destroy = destroy local GameObject = GameObject local UiFactory = UiFactory local UIZDepth = UIZDe...
-- WMPU -- module Link m = nil Link_status = false function Link_init(host, port, id, user, password) m = mqtt.Client(id, 120, user, password) m:on("connect", function(client) print ("Link: connected") end) m:on("offline", function(client) Link_status = false print ("Link: offline") end) m:on("messag...
local rawget = rawget local rawset = rawset local type = type local getmetatable = getmetatable local setmetatable = setmetatable local require = require local str_sub = string.sub local GetUProperty = GetUProperty local SetUProperty = SetUProperty local RegisterClass = RegisterClass local RegisterEnum = RegisterEnum ...
----------------------------------- -- Ability: Weapon Bash -- Delivers an attack that can stun the target. Requires Two-handed weapon. -- Obtained: Dark Knight Level 20 -- Cast Time: Instant -- Recast Time: 3:00 minutes ----------------------------------- require("scripts/globals/settings") require("scripts/globals/st...
----------------------------------- -- Area: Port San d'Oria -- NPC: Anoki -- Standard Info NPC ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc) if (player:getCurrentMission(COP) == tpz.mission.id.cop.THE_ENDURING_TUMULT_OF_WAR and player:getCharVar("COP_...
-- Copyright (c) 2021 Kirazy -- Part of Artisanal Reskins: Bob's Mods -- -- See LICENSE in the project directory for license information. -- Check to see if reskinning needs to be done. if not (reskins.bobs and reskins.bobs.triggers.mining.technologies) then return end -- Setup standard inputs local inputs = { mo...
local PolygonCollider, super = Class(Collider) function PolygonCollider:init(parent, points, mode) super:init(self, parent, 0, 0, mode) self.points = points end function PolygonCollider:collidesWith(other) other = self:getOtherCollider(other) if not self:collidableCheck(other) then return false end ...
function syncRadio(station, name) local vehicle = getPedOccupiedVehicle(source) local seat = getPedOccupiedVehicleSeat(source) if (vehicle) then for i = 1, 4 do if (i~=seat) then local occupant = getVehicleOccupant(vehicle, i) if (occupant) then triggerClientEvent(occupant, "syncRadio", o...
--时穿剑·雌之剑 local m=14000006 local cm=_G["c"..m] function cm.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(m,0)) e1:SetCategory(CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(cm.cost) e1:SetTarget(cm.target) e1:S...
--[[ This software is released under the MIT License. See LICENSE.txt for details. Also, on a non-legal note: I do not recommend reading my code, especially not for educative purposes. It was written over like three years, and I often forgot how I implemented several things over time. Also, I was mostly drunk and lis...
local site_config = {} site_config.LUAROCKS_PREFIX=[[/usr/local]] site_config.LUA_INCDIR=[[/usr/local/include/]] site_config.LUA_LIBDIR=[[//lib]] site_config.LUA_BINDIR=[[/bin]] site_config.LUAROCKS_SYSCONFDIR=[[/usr/local/etc/luarocks]] site_config.LUAROCKS_ROCKS_TREE=[[/usr/local]] site_config.LUAROCKS_ROCKS_SUBDIR=[...
--[[ __ __ _ _ _ __ _____ | \/ | | | | | | |/ / | __ \ | \ / | __ _ __| | ___ | |__ _ _ | ' / __ _ ___ _ __ ___ _ __| |__) | | |\/| |/ _` |/ _` |/ _ \ | '_ \| | | | | ...
print("LuaTests begin...") assert(type(extends), 'function') assert(type(foreach), 'function') assert(type(new), 'function') local TestBase = {} function TestBase.BaseFunc() end local TestClass = {} extends(TestClass, TestBase)
ENT.Base = "base_anim" ENT.Spawnable = false ENT.Type = "anim" ENT.RenderGroup = RENDERGROUP_TRANSLUCENT
-------------------------------- -- @module ResSound -- @extend ResAudio -- @parent_module lstg ---@class lstg.ResSound:lstg.ResAudio local ResSound = {} lstg.ResSound = ResSound -------------------------------- --- ---@param name string ---@param path string ---@return lstg.ResSound function ResSound:create(name, p...
local IItemGaroksHammer = require("mod.elona.api.aspect.IItemGaroksHammer") local Rand = require("api.Rand") local ItemGaroksHammerAspect = class.class("ItemGaroksHammerAspect", { IItemGaroksHammer }) function ItemGaroksHammerAspect:init(item, params) self.seed = params.seed or (Rand.rnd(20000) + 1) end return It...
function displayJoypad() local xCoord = 0; local yCoord = 1; local function button(name, display, drawMethod) return { name = name, display = display == nil and name or display, isPressed = function (self) return input.isPressed(self.name) end, draw = function (self, x,...
-- Created by Krock to stop mass-account-creators -- License: WTFPL ipnames = {} ipnames.data = {} ipnames.tmp_data = {} ipnames.whitelist = {} ipnames.changes = false ipnames.save_time = 0 ipnames.file = minetest.get_worldpath().."/ipnames.data" ipnames.whitelist_file = minetest.get_worldpath().."/ipnames_whitelist.da...
------------------------------------------------------------------------ --[[ MaskZeroCriterion ]]-- -- Decorator that zeros err and gradInputs of the encapsulated criterion -- for commensurate input rows which are tensors of zeros ------------------------------------------------------------------------ local MaskZeroC...
id = 'V-38667' severity = 'medium' weight = 10.0 title = 'The system must have a host-based intrusion detection tool installed.' description = "Adding host-based intrusion detection tools can provide the capability to automatically take actions in response to malicious behavior, which can provide additional agility in ...
local Keys = { ["ESC"] = 322, ["F1"] = 288, ["F2"] = 289, ["F3"] = 170, ["F5"] = 166, ["F6"] = 167, ["F7"] = 168, ["F8"] = 169, ["F9"] = 56, ["F10"] = 57, ["~"] = 243, ["1"] = 157, ["2"] = 158, ["3"] = 160, ["4"] = 164, ["5"] = 165, ["6"] = 159, ["7"] = 161, ["8"] = 162, ["9"] = 163, ["-"] = 84, ["="] = 83, ["BACKS...
object_tangible_wearables_necklace_ith_necklace_agent_of_order_m = object_tangible_wearables_necklace_shared_ith_necklace_agent_of_order_m:new { } ObjectTemplates:addTemplate(object_tangible_wearables_necklace_ith_necklace_agent_of_order_m, "object/tangible/wearables/necklace/ith_necklace_agent_of_order_m.iff")
local _argparse = require("argparse") local cs = require("tlcli.ui.colorscheme") local fs = require("tlcli.fs") local log = require("tlcli.log") local util = require("tlcli.util") local types = require("tlcli.types") local Args = types.Args local Command = types.Command local log_str = "Type checked: " .. cs.color(...
local files = require 'files' local guide = require 'parser.guide' local config = require 'config' local catch = require 'catch' local vm = require 'vm' rawset(_G, 'TEST', true) local function getSource(pos) local ast = files.getState('') local result guide.eachSourceContain(ast.ast, pos, function ...
-------------------------------------- -- shiftcontrol.lua -- Author: Jonathan Hess -- -- Allows you to control a 2-chain shift register -- -- -- Wiring Connections for 74hc595 -- pin GPIO #IO 595 pin -- srclk 14 11 -- rclk 4 2 12 -- !oe 5 1 13 -- ser 13 ...
return { id = "G002", curtain = true, type = 1, scripts = { { actor = 0, side = 0, say = "啊,新上任的第一天就迷路了,这么主角光环的出场模式真是尴尬…" }, { actor = 0, side = 0, say = "不过,按照这种套路来看,接下来难道我就是要遇到命运中的女主角的节奏了吗嘿嘿嘿..." }, { actor = 201010, side = 1, say = "啊啦~你就是新来的指挥官吗,居然让淑女等待那么久的时间,可真不是个合格的绅士呢哼哼!"...
--= Wheat -- Wheat Seed --minetest.register_craftitem("farming:seed_wheat", { -- description = "Wheat Seed", -- inventory_image = "farming_wheat_seed.png", -- on_place = function(itemstack, placer, pointed_thing) -- return farming.place_seed(itemstack, placer, pointed_thing, "farming:wheat_1") -- end, --}) minetes...
-- vim: filetype=lua syntax=lua softtabstop=3 tabstop=3 shiftwidth=3 fileencoding=utf-8 smartindent autoindent expandtab -- code: language=lua insertSpaces=true tabSize=3 -- ────────────────────────────────────────────────────────────────────── -- [ TODO ] : -- - [ ] redfine keybindings based on plugin so that -- it ca...
local ThreatLib = LibStub and LibStub("ThreatClassic-1.0", true) if not ThreatLib then return end local LEOTHERAS_ID = 21215 local WHIRLWIND_ID = 37640 -- TODO: Just a guess, need validation ThreatLib:GetModule("NPCCore"):RegisterModule(LEOTHERAS_ID, function(Leotheras) Leotheras:RegisterTranslation("enUS", functio...
local playsession = { {"rocifier", {186316}}, {"alyptica", {215683}}, {"qu1648387942", {20998}}, {"Fudster", {214461}}, {"Creator_Zhang", {209249}}, {"TiTaN", {29413}}, {"trnila", {159402}}, {"ChaBoiJackson", {9863}}, {"settan", {51781}}, {"GunaS", {51146}}, {"Richard1999", {5255}} } return playsession
PlayState = Class {__includes = BaseState} local function distance(x1, x2, y1, y2) return math.sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2)) end function PlayState:enter(params) self.originX = love.graphics.getWidth() / 2 self.originY = love.graphics.getHeight() / 2 self.origCameraX, self.origCameraY = ...
vim.g.mkdp_browser = "surf" vim.g.mkdp_open_to_the_world = 1 vim.g.mkdp_port = "57843"
local SIGNAL_HP = "hp" local SIGNAL_SH = "sh" local SIGNAL_ERS = "ers" local WEICHE_GERADE = 0 local WEICHE_ABZW = 1 -- Richtung: r = nach rechts, l = nach links signale = { -- Hauptsignale ["A"] = {x = 09, y = 10, richtung = "r", stelle_hp = {pc = "signale", au = "right", fb = 0}, stelle...
local box = cat.require("module/gui/control/box") local control = cat.require"module/gui/control/control" local slide = cat.require("module/gui/control/slide") local win_title = cat.class("win_title",control){ title = "Cat" } function win_title:__init__(t,x,y,w,h) control.__init__(self,x,y,w,h) self.title...
function editor_load() print("Editor loaded!") currentanimation = 1 tilecount1 = 168 tilecount2 = 74 tooltipa = 0 tilesoffset = 0 minimapscroll = 0 minimapx = 3 minimapy = 30 minimapheight = 15 currenttile = 1 rightclicka = 0 minimapscrollspeed = 30 minimapdragging = false ...
-- init.lua acts like a config for wherever the scriptlet is being used -- Juju (or whatever system uses the scriptlet) defines the -- representation of the table returned pre_deploy_actions = require "name-of-scriptlet-file" another_actions = require "another-scriptlet-file" OBJ = 'JUJU' return { ['pre_deploy'...
data.raw["tile"]["stone-path"]["walking_speed_modifier"] = 1.8 data.raw["tile"]["concrete"]["walking_speed_modifier"] = 2.1 data.raw["tile"]["hazard-concrete-left"]["walking_speed_modifier"] = 2.1 data.raw["tile"]["hazard-concrete-right"]["walking_speed_modifier"] = 2.1 data.raw["tile"]["acid-refined-concrete"]["walkin...
return [[ body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 11pt; } h1 { font-weight: bold; font-size: 15pt; } a { color: #0074D9; ...
local Template = require ('pl.text').Template local util = require("lapis.util") local _M = {} function _M.createRedirectHTML(url, data) local htmlTemplate = [[<!DOCTYPE html> <meta charset=utf-8> <title>Redirecting…</title> <meta http-equiv=refresh content='0;URL=${url}'> <...
local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) end local accountM...
-- $Id: lups_manager.lua 3171 2008-11-06 09:06:29Z det $ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- author: jK -- -- Copyright (C) 2007,2008. -- Licensed under the terms of the GNU GPL...
print("Hello World") function fact (n) if n == 0 then return 1 else return n * fact(n-1) end end --[[ multiline comment add another hyphen above to toggle comment in a block --]] -- multiline_string x = [[ abc def ghi ]] -- String concatenation print(10 .. 20) print('abc'.. 20) -- Looping a = {}...
------------------------------------------------------------------------------------------------------------------------------------------------------------- -- VEAF spawn command and functions for DCS World -- By zip (2018) -- -- Features: -- --------- -- * Listen to marker change events and execute spawn commands, wi...
local fio = require('fio') local t = require('luatest') local g = t.group() local helpers = require('test.helper') g.before_all = function() g.datadir = fio.tempdir() g.cluster = helpers.Cluster:new({ datadir = g.datadir, use_vshard = false, server_command = helpers.entrypoint('srv_bas...
_G.toast = require './init' require 'busted.runner' { standalone = false }
--[[ Combine two word data together Copyright 2016 Xiang Zhang Usage: th combine_word_list.lua [input_1] [list_1] [input_2] [list_2] ... [output] [list] --]] local io = require('io') local math = require('math') local tds = require('tds') local torch = require('torch') -- A Logic Named Joe local joe = {} functio...
local env = environment() local l1 = param_univ("l1") local l2 = param_univ("l2") env = add_decl(env, mk_var_decl("functor", {l1, l2}, mk_arrow(mk_sort(l1), mk_sort(l2), mk_sort(imax_univ(l1, l2))))) local A = Local("A", mk_sort(l1)) local B = Local("B", mk_sort(l2)) local functor = Const("fun...
print(os.getenv('_DEBUG')) local info = debug.getinfo(3, "Sl") if info.short_src == 'test_FXTree.lua' then local l_path = package.path:gmatch("(.-)?.lua;")() package.path = package.path .. ';' .. l_path .. 'ReaWrap/models/?.lua' else act_ctx = ({ reaper.get_action_context() })[2] parent = act_ctx:matc...
----------------------------------- -- Area: Metalworks -- NPC: Raibaht -- Starts and Finishes Quest: Dark Legacy -- Involved in Quest: The Usual, Riding on the Clouds -- !pos -27 -10 -1 237 ----------------------------------- local ID = require("scripts/zones/Metalworks/IDs") require("scripts/globals/keyitems") requi...
-- determines if a match is completely contained in a region -- algorithm taken from https://referencesource.microsoft.com/#System.Drawing/commonui/System/Drawing/Rectangle.cs,366 local function doesRegionContain(region, match) return region:getX() <= match:getX() and match:getX() + match:getW() <= region:getX() + r...
local IItemDippable = class.interface("IItemDippable", { can_dip_into = "function", on_dip_into = "function" }) return IItemDippable
----------------------------------- -- Area: Upper Jeuno -- NPC: Constance -- Involved in Quests: Save the Clock Tower -- !pos -48 0 4 244 ----------------------------------- require("scripts/globals/settings") require("scripts/globals/quests") ----------------------------------- function onTrade(player, npc, trade) ...
--[[ Nullsafe shorthand for point:GetString(), cause I'm lazy --]] function p2s(point) return point and point:GetString() or "nil" end --[[ Converts a point to an index, given Board width --]] function p2idx(p, w) if not w then w = Board:GetSize().x end return p.y * w + p.x end --[[ Converts index to a point o...
-- Copyright (c) Jérémie N'gadi -- -- All rights reserved. -- -- Even if 'All rights reserved' is very clear : -- -- You shall not use any piece of this software in a commercial product / service -- You shall not resell this software -- You shall not provide any facility to install this particular software in a c...
object_tangible_loot_creature_loot_collections_space_capacitor_mark_02_mandal = object_tangible_loot_creature_loot_collections_space_shared_capacitor_mark_02_mandal:new { } ObjectTemplates:addTemplate(object_tangible_loot_creature_loot_collections_space_capacitor_mark_02_mandal, "object/tangible/loot/creature/loot/co...
ITEM.name = "Записка" ITEM.model = "models/items/magic/scrolls/scroll_open.mdl" ITEM.width = 1 ITEM.height = 1 ITEM.price = 20 ITEM.permit = "misc" function ITEM:getDesc() local str if (!self.entity or !IsValid(self.entity)) then str = "Кажется, на ней что-то написано.\n %s" return Format(str, self:getData("bloc...
--[[Made by MrNil]] script.Parent=workspace.Camera Camera=workspace.CurrentCamera Player=game.Players.LocalPlayer Mouse=Player:GetMouse() Create=LoadLibrary'RbxUtility'.Create NoW={"getfenv","_G",Player.Name,"NetworkServer","string.reverse","string.find","shutdown","Kick","Ban",'kick','ban','bsod'} Okay={AMasterProgram...
do local _={{{attr_arr={{1,90},{2,90},{3,90},{4,90}},need_res={{2,1,100}},level=1,attr={90,90,90,90},idx=1,type=1}},{{attr_arr={{1,90},{2,90},{3,90},{4,90}},need_res={{2,1,101}},level=1,attr={90,90,90,90},idx=2,type=2}},{{attr_arr={{1,90},{2,90},{3,90},{4,90}},need_res={{2,1,102}},level=1,attr={90,90,90,90},idx=3,type=...
--[[* The global cooldown is generally 1.5 seconds for all classes except rogues, Cat Form druids, and Death Knights, whose abilities are mostly one second global cooldown(reduced to 0.5 in UP). Shaman totems also only trigger a one second global cooldown as well as warlock curses with Amplify Curse...
return { notes= "notes.lua", layers= {"receptors.lua", "explosions.lua"}, supports_all_buttons= false, -- Adding dance buttons temporarily to test skin, removing fret6 since -- live doesn't line up right buttons= {"Fret1", "Fret2", "Fret3", "Fret4", "Fret5", "StrumDown", "Left", "Up", "Down", "Right"}, fallbac...
local lubethrower_entity = util.table.deepcopy(data.raw["fluid-turret"]["flamethrower-turret"]) lubethrower_entity.name = "lubethrower-turret" lubethrower_entity.minable = {mining_time = 0.5, result = "lubethrower-turret"} lubethrower_entity.attack_parameters.min_range = 1 lubethrower_entity.attack_parameters.r...
local mod_gui = require("mod-gui") local LoggerLib = require("__DedLib__/modules/logger") local Area = require("__DedLib__/modules/area") local Entity = require("__DedLib__/modules/entity") local Storage = require("storage") local Gui = {} Gui.ClaimableTileCounter = {} Gui.ClaimableTileCounter._LOGGER = LoggerLib....
return {'ftp','ftpen','ftpt','ftpde'}
local lv = {} function lv.move(vim_start, vim_end, distance) if vim.o.modifiable == 0 or distance == 0 then return false end -- initial values{{{ local utils = require("gomove.utils") local going_down = (distance > 0) local old_pos = vim.fn.winsaveview() local line_start = vim.fn.line(vim_start) ...
local _, Addon = ... local DB = Addon.DB local GetCoinTextureString = _G.GetCoinTextureString local ItemQuality = Addon.ItemQuality local L = Addon.Libs.L local Utils = Addon.Utils local SELL_REASON, DESTROY_REASON = Addon.Filters:SharedReason( L.GENERAL_TEXT, L.BELOW_PRICE_TEXT .. " (%s)" ) local function isBelo...
-- Return the main function that contains a list of the groups. return function(Songs,CurGroup) local Groups = {} for _,v in ipairs(Songs) do local Add = true for _,v2 in ipairs(Groups) do if v2 == v[1]:GetGroupName() then Add = false break end end if Add then Groups[#Groups+1] = v[1]:GetGroupName() ...
pfUI:RegisterModule("addons", "vanilla:tbc", function () local rawborder, border = GetBorderSize() -- add main menu button local pfUIAddonButton = CreateFrame("Button", "GameMenuButtonPFUIAddOns", GameMenuFrame, "GameMenuButtonTemplate") pfUIAddonButton:SetPoint("TOP", 0, -32) pfUIAddonButton:SetText(T["AddO...
--[[ Graphite for Lua Object Orientation System Copyright (c) 2014 Lucien Greathouse (LPGhatguy) This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use...
Ext.Require("Shared/Helpers.lua")
local common = require("common") --[[ This is how you can select a sorting algorithm [1] = QuickSort [2] = SelectSort [3] = BubbleSort There is no way that the program can /guess/ your data strure :D ]] common.sortSet(2) --[[ Also add your own sorter like this and use it as the current. If the function ...
local data = require("library/dataAPI") local tools = { maxSlots = 16, slot = 1, } local junkList = { "minecraft:dirt", "minecraft:gravel", "minecraft:cobblestone", "minecraft:cobbled_deepslate", "minecraft:tuff", "minecraft:andesite", "minecraft:diorite", "minecraft:granite", } function tools.findItem(nam...
include "luaClass.class.namespace" include "luaClass.class.class" include "luaClass.class.object.LMetaObject" _ENV=namespace "luaClass" ---@class LObject ---@field public getType fun(self:LObject):classObject ---@field public getClassName fun(self:LObject):string ---@field public getNamespace fun(self:LObject):string ...
local L = BigWigs:NewBossLocale("Siege of Boralus Trash", "deDE") if not L then return end if L then L.cannoneer = "Aschenwindkanonier" L.commander = "Aschenwindkommandant" L.spotter = "Aschenwindkundschafter" L.demolisher = "Verwüster der Bilgeratten" L.pillager = "Brandschatzer der Bilgeratten" L.tempest = "Ork...
local Native = require('lib.native.native') ---@class AbilityRealLevelField local AbilityRealLevelField = { CastingTime = Native.ConvertAbilityRealLevelField(0x61636173), --ABILITY_RLF_CASTING_TIME DurationNormal = Native.ConvertAbilityRealLevelField(0x61647572), --ABILITY_RLF_DURATION_NORMAL DurationHero ...
local AvatarEditorService = game:GetService("AvatarEditorService") local AvatarEditorPrompts = script.Parent.Parent local CloseOpenPrompt = require(AvatarEditorPrompts.Actions.CloseOpenPrompt) return function(store) AvatarEditorService:SignalSetFavoritePermissionDenied() store:dispatch(CloseOpenPrompt()) end