content
stringlengths
5
1.05M
local snake = class("snake") local Body = require("app.Body") local cInitLen = 9 function snake:ctor(node) print("snake:ctor") self.BodyArray = {} self.node = node for i=1, cInitLen do self:Grow(i == 1) end self:SetDir("left") --print("snake:ctor--------",self:moveDir) end --取...
local AceGUI = LibStub("AceGUI-3.0") local LibJSON = LibStub("LibJSON-1.0") local DB = DKBLootLoader:UseModule("DB") local GUI = DKBLootLoader:RegisterModule("GUI") local Util = DKBLootLoader:UseModule("Util") local COLOR_RAID_ACTIVE = { ["r"] = 0.0, ["g"] = 1.0, ["b"] = 0.0, ["a"] = 1.0 } local COLOR_RAID_FINISHED = {...
object_tangible_tcg_series7_decal_imperial_graffiti_01 = object_tangible_tcg_series7_shared_decal_imperial_graffiti_01:new { } ObjectTemplates:addTemplate(object_tangible_tcg_series7_decal_imperial_graffiti_01, "object/tangible/tcg/series7/decal_imperial_graffiti_01.iff")
minetest.register_node(":technic:test_chest", { description = "Technic chest", groups = { snappy = 2, choppy = 2, oddly_breakable_by_hand = 2, tubedevice = 1, tubedevice_receiver = 1, technic_chest = 1, }, on_receive_fields = function(...) print(...) end, on_skeleton_key_use = function(...) print(...) end, tu...
--[[ Copyright 2020 Manticore Games, 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 without limitation the rights to use, copy, modify, merge, publish, distrib...
require 'plugins.gitsigns.setting'
local actions = require "telescope.actions" local action_state = require "telescope.actions.state" local conf = require "telescope.config".values local finders = require "telescope.finders" local Path = require("plenary.path") local pickers = require "telescope.pickers" local entry_display = require("telescope.pickers....
-- The active filesystem object. afs = {} afs.isMountable = false afs.drive=false -- This will overwrite the fs.write object. function afs.write(data, location) if (fs.drive==false) then return false, 'DRIVENOTLOADED' end -- Get filename with regexp local filename = location:match('([^/]+)$') local filep...
local addonName, G = ... assert(not G.Event) G.Event = {} local events = {} function G.Event.Register() G.Core.RegisterEventHandlers(events) end function events.ADDON_LOADED(name) if name == addonName then G.State.LoadFromTable(_G['OlliverrsTravelsPlayerData'] or {}) _G['OlliverrsTravelsPlayerData'] = ni...
--[[ Name: cl_init.lua For: SantosRP By: TalosLife ]]-- include "shared.lua" ENT.RenderGroup = RENDERGROUP_BOTH function ENT:Initialize() end function ENT:Draw() end surface.CreateFont( "MenuTriggerFont", {size = 128, weight = 425, font = "Trebuchet18"} ) local function DrawMenuTriggerUI( ent ) surface.SetFont(...
for _, v in pairs(t) do local x = f() if x then f(function() return v end) else g(function() return v end) end end
local get_hex = require('cokeline/utils').get_hex local is_picking_focus = require('cokeline/mappings').is_picking_focus local is_picking_close = require('cokeline/mappings').is_picking_close local red = vim.g.terminal_color_1 local yellow = vim.g.terminal_color_3 -- local modified_fg = get_hex('Todo', 'bg') local mod...
-------------------------------------------------------------------------------- -- protocol.lua -------------------------------------------------------------------------------- local _PACKAGE = (...):match("^(.+)[%./][^%./]+") or "" local ERROR_MSG = tengine.ERROR_MSG local p = tengine.p local parser = require(_PAC...
local Root = script.Parent local ContentProvider = game:GetService("ContentProvider") local ItemType = require(Root.Enums.ItemType) local BASE_URL = string.gsub(ContentProvider.BaseUrl:lower(), "https?://m.", "https?://www.") local THUMBNAIL_URL = BASE_URL.."thumbs/asset.ashx?assetid=" local BUNDLE_THUMBNAIL_URL = BAS...
--[[ 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...
-- See LICENSE for terms -- local some stuff that's called a lot local tostring = tostring local point = point local Sleep = Sleep local GameTime = GameTime local DeleteThread = DeleteThread local PlayFX = PlayFX local IsValid = IsValid local GetCursorWorldPos = GetCursorWorldPos local Random = ChoGGi.ComFuncs.Random...
local function WithinBox(v, v1, v2) local x, y, z, x1, y1, z1, x2, y2, z2 = v[1], v[2], v[3], v1[1], v1[2], v1[3], v2[1], v2[2], v2[3] return ((x >= x1 and x <= x2) or (x <= x1 and x >= x2)) and ((y >= y1 and y <= y2) or (y <= y1 and y >= y2)) and ((z >= z1 and z <= z2) or (z <= z1 and z >= z2)) end CreateConVar("sp...
Locales ['br'] = { ['buy'] = 'Você comprou', ['not_enough_black'] = 'Você não tem dinheiro sujo suficiente', ['not_enough'] = 'você não tem dinheiro suficiente', ['shop'] = 'Comprar', ['shop_menu'] = 'Pressione ~INPUT_CONTEXT~ para comprar armas.', ['map_blip'] = 'Loja de Armas', }
local included = pcall(debug.getlocal, 6, 1) local lst = require("list").new() local T = require("u-test") lst:pushl("b") -- push last 'b' lst:pushf("a") -- push first 'a' for i = 1, 4, 1 do lst:pushl(tostring(i)) -- push last '1, 2, 3, 4' end lst:pushl({ 5, 6, 7 }) -- push table lst:pushl(8) -- push number lst:pus...
setenv("BAD_SYNTAX","1.0") # This is not a comment.
local options = require('matchparen.options') local hl = require('matchparen.highlight') local nvim = require('matchparen.missinvim') local fn = vim.fn local opts = options.opts local mp = {} ---Returns true when augroup with `name` exists ---@param name string ---@return boolean local function augroup_exists(name) ...
DesignStudio = class() function DesignStudio:init(l, b, r, t) -- boundary self.frame = Frame(l, b, r, t) -- textbox for name self.tb = TextBox(self.frame:midX() - 160, b + 30, 200, "") -- color selector & frame self.colorFrame = Frame(150, 600, 260, 624) self.showColorSlider = fal...
-- Generated By protoc-gen-lua Do not Edit local protobuf = require "protobuf" module('BceBattleReward_pb', package.seeall) local BCEBATTLEREWARD = protobuf.Descriptor(); local BCEBATTLEREWARD_SLOT_FIELD = protobuf.FieldDescriptor(); BCEBATTLEREWARD_SLOT_FIELD.name = "slot" BCEBATTLEREWARD_SLOT_FIELD.full_name = ".c...
local count_of_start = cache:get("key") if not(count_of_start) then count_of_start = 1 end function collect() time.sleep(1) if count_of_start == 1 then cache:set("key", count_of_start+1) error("first error") end if count_of_start == 2 then error("must not be this error") end cache:set("key",...
--[[ This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:26' 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...
local function CreateRobot(name,id) local obj = {name = name,id = id} function obj:SetName(name) self.name = name end function obj:GetName() return self.name end function obj:SetId(id) self.id = id end function obj:GetId() return self.id end return obj end local function ...
local convarTextScale = CreateClientConVar("advisor_text_scale", "1", true, false, "Change text font scale from 50% to 200%", 0.5, 2) local function SizeByRatio(x, is_static) return x / 2560 * ScrW() * ( is_static and 1 or convarTextScale:GetFloat() ) end local function GenerateAdvisorFonts() surface.CreateFont...
-- =================================== -- Copyright © 2022 Relief Development -- =================================== Citizen.CreateThread(function() TriggerEvent('chat:addSuggestion', '/twt', 'Send messages via Twitter in chat', { { name="Message", help="/twt Example"} }) TriggerEvent('ch...
local _M = {} local utils = require("core.utils.utils") local dynamicd_build = require("core.dao.dynamicd_build_sql") local dao_config = require("core.dao.config") local co_parameter_dao = require("core.dao.co_parameter_dao") local user_log = require("core.log.user_log") function _M.query_info_by_id(store,id) loc...
workspace "classic-games" architecture "x64" configurations { "Debug", "Release" } project "classic-games" kind "ConsoleApp" language "C++" targetdir "bin/%{cfg.architecture}/%{cfg.buildcfg}" objdir "bin/intermediates/%{cfg.architecture}/%{cfg.buildcfg}" files { "src/**.hp...
BuildEnv(...) MOUNT_MAP = nil APP_RAID_MAPS = ListToMap{1861} APP_RAID_DIFFICULTIES = ListToMap{14,15,16}
local text_color_info = Color(61, 206, 217) local text_command_color = Color(227, 209, 11) local text_version_color = Color(237, 153, 43) local function version_check() http.Fetch('https://raw.githubusercontent.com/Shark-vil/background-citizens/master/version.txt', function(github_version, length, headers, code) ...
local class = require 'ext.class' local Set = require 'symmath.set.Set' -- the set of all things local Universal = class(Set) --[[ so this is 'true' but then all subclasses are 'true' but contrarily any subset of Universal that isn't equal will have a 'false' somewhere so the subclass == subset idea is a bad one from...
--Register with LibStub local MAJOR, MINOR = "Up_UiController", 2 local LIB, _ = LibStub:NewLibrary(MAJOR, MINOR) if not LIB then return end -- avoid double loading. --- Used to initialize UI for ThiefHelper. local UiTools = LibStub:GetLibrary("Up_UiTools") local UiFactory = LibStub:GetLibrary("Up_UiFactory") -- Cre...
--- standard-code: ouput code blocks with class="language-*" attributes -- © 2020 Aman Verma. Distributed under the MIT license. local languages = {meta = true,markup = true,css = true,clike = true,javascript = true,abap = true,abnf = true,actionscript = true,ada = true,agda = true,al = true,antlr4 = true,apacheconf =...
local _2afile_2a = "fnl/snap/producer/ripgrep/file.fnl" local snap = require("snap") local tbl = snap.get("common.tbl") local general = snap.get("producer.ripgrep.general") local file = {} local args = {"--line-buffered", "--files"} file.default = function(request) local cwd = snap.sync(vim.fn.getcwd) return genera...
local kBackgroundColor = Color(0.0, 0.0, 0.0, 0.5) local kChatTextBuffer = 5 local kChatTextPadding = 12 local cutoffAmount = Client.GetOptionInteger("chat-wrap", 25) local kBackgroundTimeStartFade = 1.5 -- needed by shine because it's bad at recursing local kOffset = debug.getupvaluex(GUIChat.Update, "kOffset") de...
return { entities = { {"kr-wind-turbine", {x = 2.5, y = -3}, {}}, {"small-electric-pole", {x = -2.5, y = -1}, {dmg = {dmg = {type = "random", min = 20, max = 60}}, }}, {"small-electric-pole", {x = 2.5, y = -1}, {}}, {"kr-wind-turbine", {x = -2.5, y = 2}, {dmg = {dmg = {type = "random", min = 40, max...
----------------------------------- -- -- Zone: Attohwa_Chasm (7) -- ----------------------------------- local ID = require("scripts/zones/Attohwa_Chasm/IDs") require("scripts/globals/settings") require("scripts/globals/helm") require("scripts/globals/zone") ----------------------------------- function onInitialize(zo...
local QBCore = exports['qb-core']:GetCoreObject() QBCore.Functions.CreateCallback('zonama:server:get-items', function(source, cb) local src = source local player = QBCore.Functions.GetPlayer(src) if player then -- get all items and join category local items = MySQL.Sync.fetchAll( ...
--[[--------------- This is derived from LuaBit v0.4 Under the MIT license. copyright(c) 2006~2007 hanzhao (abrash_han@hotmail.com) --]]--------------- local function check_int(n) -- checking not float if(n - math.floor(n) > 0) then error("trying to use bitwise operation on non-integer!") end end lo...
local F, G, V = unpack(select(2, ...)) G.ace = LibStub("AceAddon-3.0"):NewAddon("gempUI", "AceConsole-3.0", "AceEvent-3.0") local options = { name = "gempUI", handler = G.ace, type = 'group', childGroups = "tab", args = { general = { name = "General", type = 'group'...
local select = _G.select local function chunk(arr, ...) local n = select("#", ...) if n == 0 then return arr else local result, t = {}, {} local j, k, kmodn, m = 1, 1, 1, select(1, ...) for i = 1, #arr do t[j] = arr[i] if j >= m then result[k] = t kmodn, k, j, t = kmodn % n + 1, k + 1, 1, {} ...
local link_id = redis.call("INCR", KEY[1]) redis.call("HSET", KEYS[2], link_id, ARGV[1]) return link_id
-------------------------------------------------------------------------------- ----------------------------------- DevDokus ----------------------------------- -------------------------------------------------------------------------------- function DrawCircle(x,y,z,r,g,b,a) Citizen.InvokeNative(0x2A32FAA57B937173,...
local ObjectManager = require("managers.object.object_manager") KnightTrials = ScreenPlay:new {} function KnightTrials:startKnightTrials(pPlayer) local randomShrinePlanet = JediTrials:getRandomDifferentShrinePlanet(pPlayer) local pRandShrine = JediTrials:getRandomShrineOnPlanet(randomShrinePlanet) if (pRandShrine...
return { version = "1.4", luaversion = "5.1", tiledversion = "1.4.3", orientation = "orthogonal", renderorder = "right-down", width = 32, height = 22, tilewidth = 8, tileheight = 8, nextlayerid = 5, nextobjectid = 1352, properties = {}, tilesets = { { name = "tiles-overworld", ...
function PLUGIN:PostLoadData() local query = mysql:Create("gmodz_squads") query:Create("owner", "VARCHAR(20) NOT NULL") -- steamid64 query:Create("name", "VARCHAR(64) NOT NULL") -- Max squad name length: 64 characters query:Create("description", "TEXT") query:Create("logo", "VARCHAR(15) DEFAULT NULL") -- Imgur...
local ffi = require("ffi") local ffi_util = require("common.ffi_util") do --- test-ffi-bitfield local x = ffi.new([[ union { uint32_t u; struct { int a:10,b:10,c:11,d:1; }; struct { unsigned int e:10,f:10,g:11,h:1; }; struct { int8_t i:4,j:5,k:5,l:3; }; struct { _Bool b0:1,b1:1,b2:...
--************************ --ChoiceMenu --************************ ChoiceMenu = {} ChoiceMenu.__index = ChoiceMenu function ChoiceMenu.new(text, callback) local self = setmetatable({}, ChoiceMenu) self.menuItems = {} self.currMenuItem = 1 self.win = nil return self end function ChoiceMenu:onInput(input)...
require 'nngraph' local utils = require 'utils.utils' local layer, parent = torch.class('nn.MultiModel', 'nn.Module') function layer:__init(opt, nLabel) parent.__init(self) local parms = {} parms.conv_feat_size = utils.getopt(opt, 'conv_feat_size', 256) parms.multfeat_dim = utils.getopt(opt, 'multfe...
object_mobile_rebel_emperorsday_vendor = object_mobile_shared_rebel_emperorsday_vendor:new { } ObjectTemplates:addTemplate(object_mobile_rebel_emperorsday_vendor, "object/mobile/rebel_emperorsday_vendor.iff")
local E, L, V, P, G = unpack(select(2, ...)); --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB local UF = E:GetModule('UnitFrames'); --Cache global variables --Lua functions local floor = math.floor --WoW API / Variables local CreateFrame = CreateFrame function UF:Construct_AltPowerBar(frame) local altpower...
--[[ s:UI Context Menu: Units (and Friends) TODO: BIG FAT conditions cleanup. (Took most of them from ContextMenuPlayer) Martin Karer / Sezz, 2014 http://www.sezz.at --]] local MAJOR, MINOR = "Sezz:Controls:ContextMenu-0.1", 1; local ContextMenu = Apollo.GetPackage(MAJOR).tPackage; if (ContextMenu and (Context...
local colors = require("tokyonight.colors").setup() colors = vim.tbl_extend("force", colors, { fg = colors.fg_sidebar, bg = colors.bg_statusline, }) return colors
-- Copyright (c) 2018 Redfern, Trevor <trevorredfern@gmail.com> -- -- This software is released under the MIT License. -- https://opensource.org/licenses/MIT describe("MergeSort", function() local MergeSort = require "mergesort" it("sorts elements as expected", function() local list = { "orange", "apple", "ba...
------------------------------------------------- -- Github Contributions Widget for Awesome Window Manager -- Shows the contributions graph -- More details could be found here: -- https://github.com/streetturtle/awesome-wm-widgets/tree/master/github-contributions-widget -- @author Pavel Makhov -- @copyright 2020 Pave...
#!/usr/bin/env lua -- Inverse Captcha (Part 1) for line in io.lines() do _, _, captcha, result = line:find("(%d+)%s+(%d+)") result = tonumber(result) sum = 0 for i = 1, #captcha do current = tonumber(captcha:sub(i, i)) next = tonumber(captcha:sub(i + 1, i + 1)) -- Because it'...
--- This file is generated by ava-x2l.exe, --- Don't change it manaully. --- @copyright Lilith Games, Project Da Vinci(Avatar Team) --- @see Official Website: https://www.projectdavinci.com/ --- @see Dev Framework: https://github.com/lilith-avatar/avatar-ava --- @see X2L Tool: https://github.com/lilith-avatar/avatar-av...
GM_IRC = {} if SERVER then include( "sv_config.lua" ) include( "gm-irc/sv_msgGet.lua" ) include( "gm-irc/sv_msgSend.lua" ) AddCSLuaFile( "gm-irc/cl_msgRecive.lua" ) print( "------------------\n" ) print( "GM-IRC LOADED!\n" ) print( "------------------" ) hook.Add("Initialize", "irc_serverstarted", functio...
ITEM.name = "Cheese Burger" ITEM.model = "models/food/burger.mdl" ITEM.hungerAmount = 150 ITEM.foodDesc = "burgerDesc" ITEM.quantity = 1 ITEM.price = 100 ITEM.iconCam = { ang = Angle(11.135420799255, 269.24069213867, 0), fov = 2.3069860161324, pos = Vector(2.5959460735321, 193.05519104004, 52.177997589111) }
-- Double-ended queue class (deque) -- Can be used as a queue or stack local Deque = {} -- Constructor function Deque:new(...) local object = { } setmetatable(object, { __index = Deque}) return object end function Deque:push(...) local args = {...} for i=1,#args do table...
if string.sub(system.getInfo("model"),1,4) == "iPad" then application = { content = { graphicsCompatibility = 1, width = 360, height = 480, scale = "letterBox", xAlign = "center", yAlign = "center", imageSuffi...
local t = require( "taptest" ) local isnan = require( "isnan" ) t( isnan( 0.0 ), false ) t( isnan( 1.0 / 0.0 ), false ) t( isnan( -1.0 / 0.0 ), false ) t( isnan( math.sqrt( -1.0 ) ), true ) t()
--[[ ------------------------------------ Description: HPC Spawn where killed (standalone), Phasor V2+ Copyright (c) 2016-2018 * Author: Jericho Crosby * IGN: Chalwk * Written and Created by Jericho Crosby ----------------------------------- ]]-- players = { } DEATH_LOCATION = { } Spawn_Where_Killed = true for i = 0, ...
-- English language strings local L = LANG.CreateLanguage("English") --- General text used in various places L.traitor = "Traitor" L.detective = "Detective" L.mercenary = "Mercenary" L.hypnotist = "Hypnotist" L.glitch = "Glitch" L.jester = "Jester" L.phantom = "Phantom" L.zombie = "Zombie" L.vampire = "Vampire" L.swa...
local gs = { lst = { clr = { active = {255, 255, 255}, inactive = {75, 75, 75} }, none = "[ ]" } } mAcl.gui.expert = {} function mAcl.gui.expert.init() local tab = mAcl.gui.tab local tw, th = guiGetSize(tab, false) ----------------------------- x, y = GS.mrg2, GS.mrg2 w, h = tw - GS.mrg2*2, ...
-- Globally used local G = getfenv(0) local select = select local oGlow = oGlow local hooksecurefunc = hooksecurefunc -- Containers local GetContainerItemLink = GetContainerItemLink local GetItemInfo = GetItemInfo -- Addon local frame = CreateFrame'Frame' frame:Hide() local ContainerFrame1 = Containe...
local Debug = { enabled = false, backgroundColor = {20, 20, 20, 200}, color = {255, 255, 255, 255}, padding = 8, text = love.graphics.newText(love.graphics.newFont(24), text) } function Debug.enable() Debug.enabled = true end function Debug.disable() Debug.enabled = false end function Deb...
------------------------------------------------------------------------------- -- ElvUI Chat Tweaks By Crackpotx (US, Lightbringer) -- Based on functionality provided by Prat and/or Chatter ------------------------------------------------------------------------------- local Module = ElvUI_ChatTweaks:NewModule("Search...
-- helper function, dprint logs at Log::Level::Debug in rust. function dprintf(...) dprint(string.format(...)) end -- example map function. In the example configuration file this -- function is called when you do a lookup in the map 'example_map'. -- -- If you request this URL: -- https://servername/.well-known/webni...
local class = require "lib.lua-oop" require "util.math.vector" require "util.color" require "engine.stage.hitbox" StageObject = class "StageObject" function StageObject:constructor(position, size, color) self.isFirstUpdate = true self.enabled = true self.visible = true self.rotation = 0 self.hi...
function jtorch._saveJoinTableNode(node, ofile) -- Save the dimension to join ofile:writeInt(node.dimension) end
local M = {} local json = require("deepl.json") local a = vim.api local uv = vim.loop local config = { url = nil, authkey = nil, } local current_win function M.close() if current_win then a.nvim_win_close(current_win.win, true) a.nvim_buf_delete(current_win.buf, { force = true }) ...
-- Documentation on the redis protocol found at http://redis.io/topics/protocol -- Encode a redis bulk string local function encode_bulk_string(str) assert(type(str) == "string") return string.format("$%d\r\n%s\r\n", #str, str) end -- Encode a redis request -- Requests are always just an array of bulk strings loca...
local pub = require 'pub' local fs = require 'bee.filesystem' local furi = require 'file-uri' local files = require 'files' local config = require 'config' local glob = require 'glob' local platform = require 'bee.platform' local await = require 'await' local rpath = requ...
AddCSLuaFile() ENT.Base = "base_entity" ENT.Type = "anim" ENT.Author = "Thendon.exe" ENT.Category = "Gspeak" ENT.AutomaticFrameAdvance = true ENT.RenderGroup = RENDERGROUP_OPAQUE ENT.Radio = true function ENT:Initialize() self:DrawShadow( false ) self.connected_radios = {} self.last_sound = 0 self.trigger_com = f...
{ name = "evt_pizzeria", hasAdmin = false, authors = { "Bolodefchoco#0000" }, description = "Pizzeria 2018 - event" }
function EFFECT:Init(data) self.lastpos=data:GetOrigin() self.rocket=data:GetEntity() self.Time=CurTime() self.Scale=data:GetScale() self.Length=data:GetRadius() self.Density=data:GetMagnitude() if self.Scale==0 then self.Scale=10 end if !self.rocket.emitter then self.rocket.emitter = ParticleEmitt...
return {'mccartney'}
-- 暫定版(動作未チェック) dofile("./lib/dig.lua") dofile("./lib/drop.lua") dofile("./lib/move.lua") dofile("./lib/place.lua") dofile("./lib/select.lua") dofile("./lib/turn.lua") -- 掘削サイズ width = 4 height = 4 depth = 100 -- 0を指定した場合は、燃料が尽きるまで直進する fuelMinLevel = (((width - 1) * 2) + ((height - 1) * 2)) * depth + (depth * 2) -- 最...
--//Vars//-- local Terminator = {} Term.Version = "3.4" Term.BlacklistedResourceNames = { 'AC', 'Anti', 'Cheat', 'Terminator', 'Modder', 'FixCheater', "Source", } --//BasicFuncitons//-- function Terminator:print(type, args) print("^1" .. "[" .. type .. "]" .. Term.Color .. "[Terminato...
local AddonName, AddonTable = ... -- Cata Junk AddonTable.junk = { 54629, -- Prickly Thorn 57071, -- Bistabilization Device 56205, -- Pheromone Sample 60388, -- Shimmering Claw 60406, -- Blood Caked Incisors 60485, -- Crackling Crystals 60486, -- Shimmering Shards 60576, -- Rending F...
object_tangible_quest_elder_robe_ex_relic_endor = object_tangible_quest_shared_elder_robe_ex_relic_endor:new { } ObjectTemplates:addTemplate(object_tangible_quest_elder_robe_ex_relic_endor, "object/tangible/quest/elder_robe_ex_relic_endor.iff")
--see also StandardSchemeExtended.lua NMS_MOD_DEFINITION_CONTAINER = { ["MOD_FILENAME"] = "RewardTable_Test.pak", --the name of the pak created (if not combined) - REQUIRED ["MOD_DESCRIPTION"] = "", --optional, for reference ["MOD_AUTHOR"] = "", --optional, for reference ["NMS_VERSI...
require("data/goods") require("data/productions") require("util/table") local inspect = require('lib/inspect') -- Format for a table entry. --|- --|<name> --|<volume> --|<price> --|<sold by> --|<bought by> --|<illegal?> --|<dangerous?> -- Creates a comma separated string of wiki links -- based on the names in the arg...
local name = "git-remote-codecommit" local version = "1.0.1" food = { name = name, description = "A git remote helper that removes the need for dedicated CodeCommit user credentials", license = "MIT", homepage = "https://github.com/gembaadvantage/git-remote-codecommit", version = version, packa...
-- rTooltip: core -- zork, 2019 ----------------------------- -- Variables ----------------------------- local A, L = ... local unpack, type, select = unpack, type, select local RAID_CLASS_COLORS, FACTION_BAR_COLORS, ICON_LIST = RAID_CLASS_COLORS, FACTION_BAR_COLORS, ICON_LIST local GameTooltip, GameTooltipStatusBa...
local AtlasLoot = _G.AtlasLoot local EJ = {} AtlasLoot.EncounterJournal = EJ --local AL = AtlasLoot.Locales local _ local tmp = nil -- lua local print = print local wipe = table.wipe -- WoW local EJ_SelectInstance, EJ_SelectEncounter, EJ_SetDifficulty, EJ_SetLootFilter = EJ_SelectInstance, EJ_SelectEncounter, EJ_SetD...
local composer = require( "composer" ) local scene = composer.newScene() local widget = require( "widget" ) -- ----------------------------------------------------------------------------------- -- Code outside of the scene event functions below will only be executed ONCE unless -- the scene is removed entirely (not ...
--[=[ Handles IK for local client. @client @class IKController ]=] local Workspace = game:GetService("Workspace") local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local StarterPlayerScripts = game:GetService("StarterPlayer"):WaitForChild("StarterPlayerScript...
function SawWeaponBase:_start_sawing_effect() if not self._active_effect then self:_play_sound_sawing() --self._active_effect = World:effect_manager():spawn(self._active_effect_table) end end
function f1() print("f1") end local function f2() print("f2") end function ellipsis(...) print("ellipsis") end function arg_ellipsis(a, b, c, d, ...) print("arg_ellipsis") end function long(q, w, e) x = q + w + e x = x * 2 return {x, 1, 2} end
local t = 123, 456 local t2 = function() end local t3 = { aaa = ccc } local t4 = {123,456,567}, {123131},a,b,c,d local t5 = aaaa, function () return true end local t6 = cccc, function () end t7 = {123,456,678}, {890,678} t9 = calls(aa,bb,ccc), dddd(eeee) t10 = function () end t11 = { aa =13, bbb =4...
if m_simpleTV.Control.ChangeAddress ~= 'No' then return end if not m_simpleTV.Control.CurrentAddress:match('kinozalj') then return end if m_simpleTV.Control.MainMode == 0 then m_simpleTV.Interface.SetBackground({BackColor = 0, TypeBackColor = 0, PictFileName = '', UseLogo = 0, Once = 1}) if m_simpleTV.Co...
--[[ Debuff List A table of spellIDs to create icons for. To add spellIDs, look up a spell on www.wowhead.com and look at the URL: https://tbc.wowhead.com/spell=SPELLID https://cn.tbc.wowhead.com/spell=SPELLID --]] local C, N = unpack(select(2, ...)) local ORD = N.oUF_RaidDebuffs or _G.oUF_RaidDeb...
return {width=64,height=32,type='NAMEDuint4_4'}
object_tangible_item_som_jedi_watch_dog_chest = object_tangible_item_som_shared_jedi_watch_dog_chest:new { } ObjectTemplates:addTemplate(object_tangible_item_som_jedi_watch_dog_chest, "object/tangible/item/som/jedi_watch_dog_chest.iff")
class = require 'class' Crystal = require 'crystals.crystal' Dust = class(Crystal) function Dust:init() Crystal.init(self, 4, 4, 40, 7, 2, love.graphics.newImage("crystals/dust.png")) end return Dust
data:extend( { { type = "item-subgroup", name = "aragas-brass-alloy-mixing", group = "angels-casting", order = "ca", }, { type = "item-subgroup", name = "aragas-bronze-alloy-mixing", group = "angels-casting", order = "da", }, { type = "item-subgroup", name = "aragas-gunmetal-alloy-mixing", gr...