content
stringlengths
5
1.05M
local BasicallyIdentical = require(script.Parent._Util.BasicallyIdentical) return function() local Lighten = require(script.Parent.Lighten) it("throws if argument is not a Color3", function() expect(pcall(Lighten, true)).to.equal(false) end) it("doesn't modify white", function() local...
mole = new_type(16) mole.hit_w = 8 mole.hit_h = 8 mole.state = 1 mole.facing = 2 mole.accel_y = 0.3 mole.decel_y = 0.8 mole.accel_x = 0.3 mole.decel_x = 0.8 mole.recovery = 0 mole.is_player = false mole.dash_force = 5 mole.dash_cd = 15 mole.last_dash = 0 function mole.init(self) self.get_input = cpu_input self...
-------------------------------- -- @module ObjectPool -- @parent_module cc -------------------------------- -- -- @function [parent=#ObjectPool] reset -- @param self -- @return ObjectPool#ObjectPool self (return value: cc.ObjectPool) -------------------------------- -- -- @function [parent=#...
-------------------------------------------------------------------------------- local _ = require 'cherry.libs.underscore' local analytics = require 'cherry.libs.analytics' local animation = require 'cherry.libs.animation' local Text = require 'cherry.libs.text' local gesture = require 'cherry.libs.gesture' local Scr...
contimove = target.get_continent() if contimove == nil then self.say("It looks like the flight is not in operation yet..") return end if self.ask_yes_no("We're just about to take off. Are you sure you want to get off the ship? You may do so, but then you'll have to wait until the next available flight. Do you...
mobs:register_mob("mobs:red_monster", { type = "monster", passive = false, attack_type = "dogfight", attack_npcs = false, damage = 1, hp_min = 4, hp_max = 8, armor = 100, visual_size = {x=3, y=2.6}, collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4}, visual = "mesh", mesh = "mobs_stone_monster.x", textures ...
local vehicleSpawns = { --[[MH6J Civilian]] {487,-1813.1640625, 1303.326171875, 59.734375}, {487,-1614.921875, -643.3837890625, 14.1484375}, {487,-1887.853515625, -1570.0458984375, 21.75}, {487,1883.9501953125, -1862.265625, 13.577025413513}, {487,2618.8828125, 2721.025390625, 36.538642883301}, {487,-1730.041992...
if not Holo:ShouldModify("Menu", "CrimeNet") then return end Holo:Post(CrimeNetGui, "init", function( self, ws, fullscreeen_ws, node ) Holo.Utils:FixBackButton(self) Holo.Utils:SetBlendMode(self._panel, "focus") Holo.Utils:SetBlendMode(self._map_panel, "focus") local no_servers = node:parameters().no_servers sel...
return class("NewMeixiV4PtPage", import(".TemplatePage.PtTemplatePage"))
local JSON = assert(loadfile "LuaScripts/json.lua")() local trampolinSpawner = {} trampolinSpawner["instantiate"] = function(params, entity) p = JSON:decode(params) local self = {} self.entity = entity -- Objeto a spawnear self.spawnObject = "Trampolin" -- Cada cuantos segundos spawnea sel...
function love.load(arg) -- body... object = require "classic" require "player1" require "ball" require "player2" player1 = player1(50,love.graphics.getHeight()/2 - 75/2) player2 = player2(love.graphics.getWidth() - (50 + (15/2)),love.graphics.getHeight()/2 - (75/2)) ball = ball(love.graphics.getWidth()...
local diff = { ["axisDiffs"] = { ["a3026cd5"] = { ["added"] = { [1] = { ["key"] = "JOY_SLIDER1", }, }, ["name"] = "Engine RPM Setting", }, }, ["keyDiffs"] = { ["d3002pnilunilcd12vd0vpnilvunil"] = { ["added"] = { [1] = { ["key"] = "JOY_BTN10", }, }, ["name"] = "Flaps ...
--[[ This script will look at a focus part as long as the focus part is visible (in front of the target) This makes the player character look at the part. R15 only. This script creates an ObjectValue named "LookAtPart" if the server hasn't already done so. Set the Value to a model or basepart. NOTE that if the server ...
#!/people/galibert/soft/dietools/mschem/mschem tiles("../schem/tiles") dofile("remap.lua")
function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires param.") return true end local t = string.explode(param, ";") if(not t[2]) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "No destination specified.") ...
---@class color32 local color32 = { ---@type number r = 255, ---@type number g = 255, ---@type number b = 255, ---@type number a = 255 } ---@overload fun(): color32 ---@overload fun(c: color): color32 ---@overload fun(c: color32): color32 ---@overload fun(v: v4f): color32 ---@overloa...
local ls = require("luasnip") local s = ls.s local i = ls.i -- local t = ls.t local fmt = require("luasnip.extras.fmt").fmt -- local d = ls.dynamic_node -- local c = ls.choice_node -- local f = ls.function_node -- local sn = ls.snippet_node -- local rep = require("luasnip.extras").rep local snippets, autosnippets = {}...
-- Direction status, shows arrows pointing to the players, created by Michael local Direction = Grid2.statusPrototype:new("direction") local Grid2 = Grid2 local PI = math.pi local PI2 = PI*2 local sqrt = math.sqrt local floor = math.floor local atan2 = math.atan2 local pairs = pairs local GetPlayerFacing = GetPlayerFa...
require 'torch' require 'cudnn' require 'cuorn' require 'libcudnnorn' include('ORConv.lua') include('LBConv.lua') include('LBORConv.lua') -- monkey patch BN local BN = cudnn.SpatialBatchNormalization function BN:createIODescriptors(input) assert(input:dim() == self.nDim) assert(torch.typename(self.weight) == 't...
ESX = nil Citizen.CreateThread(function() while ESX == nil do TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) Citizen.Wait(0) end end) local citizen = false local nui = false local TimeFreshCurrentArmour = 10000 -- 5 sekund local TimeFreshCurrentHealth = 10000 -- 5 sekund R...
local QBCore = exports['qb-core']:GetCoreObject() RegisterNetEvent('um-taco:server:additem', function(additem) local src = source local Player = QBCore.Functions.GetPlayer(src) Player.Functions.AddItem(additem, 1) TriggerClientEvent('inventory:client:ItemBox', src, QBCore.Shared.Items[additem], "add") ...
-- Automatically generated file: Statuses return { [0] = {id=0,en="Idle"}, [1] = {id=1,en="Engaged"}, [2] = {id=2,en="Dead"}, [3] = {id=3,en="Engaged dead"}, [4] = {id=4,en="Event"}, [5] = {id=5,en="Chocobo"}, [8] = {id=8,en="Door Opening"}, [9] = {id=9,en="Door Closing"}, ...
require "config" require "tools" local local_run_test = lunit and function() end or run_test local lunit = require "lunit" local arg = {...} local _ENV = TEST_CASE'Statement foreach' local function assert_equal3(a,b,c, ra,rb,rc) assert_equal(a,ra) assert_equal(b,rb) assert_equal(c,rc) end local...
--- A sub-module for executing Telegram Bot API requests -- @submodule telegram local baseURL = {"https://api.telegram.org/bot", "<token>", "/", "METHOD_NAME"} local ltn12 = require("ltn12") local http = require("http.compat.socket") local cjson = require("cjson") local multipart = require("multipart-post") local to...
--[[----------------------------------------------------------------------------- * Infected Wars, an open source Garry's Mod game-mode. * * Infected Wars is the work of multiple authors, * a full list can be found in CONTRIBUTORS.md. * For more information, visit https://github.com/JarnoVgr/InfectedWars * * Inf...
minetest.register_chatcommand("purification", { func = function(name, param) local player = minetest.get_player_by_name(name) local pos = player:get_pos() local distanceEffect = rot.data.distanceWololo local firstPosition = {["y"] = pos.y - distanceEffect, ["x"] = pos.x - distanceEff...
local mapper = function(mode,key,result) vim.api.nvim_set_keymap(mode,key,result,{noremap = true, silent = true}) end -- Settings globals for NVIM vim.g.mapleader = ' ' mapper("n","w",":w<CR>") mapper("n","q",":q<CR>") mapper("n","<Leader>qq",":q!<CR>") mapper("n","tt",":t.<CR>") -- end -- NERDTree mapper("n","<lead...
--- Implementation of a voice which uses WAVE files as an audio source. -- The sound files have to be mapped to the challenge and response sound keys of the checklist items. -- @classmod waveFileVoice -- @see voice -- @author Patrick Lang -- @copyright 2022 Patrick Lang local waveFileVoice = {} local voice = require "...
local icons = dm.icons local nnoremap = dm.nnoremap local vdiagnostic = vim.diagnostic -- Icon and highlight information for each diagnostic severity. ---@type { icon: string, hl: string }[] local severity_info = { { icon = icons.error, hl = "DiagnosticSignError" }, { icon = icons.warn, hl = "DiagnosticSignWarn" }...
describe('zip', function() it('behaves as an identity function if only one Observable argument is specified', function() expect(Rx.Observable.fromRange(1, 5):zip()).to.produce(1, 2, 3, 4, 5) end) it('unsubscribes from all input observables', function() local unsubscribeA = spy() local subscriptionA =...
local frame = 1 local count = 0 local bmps = {} local bmp_w local bmp_h function start(this_id) id = this_id set_battle_entity_unhittable(id, true) for i=1,10 do bmps[i] = load_bitmap("battle/misc_graphics/plant/" .. i .. ".png") end bmp_w, bmp_h = get_bitmap_size(bmps[1]) end function get_attack_sound() re...
local Plugin = Plugin Plugin.Version = "1.0" Plugin.HasConfig = true Plugin.ConfigName = "PregamePlus.json" Plugin.DefaultConfig = { EnablePGP = true, CheckLimit = false, PlayerLimit = 8, LimitToggleOffDelay = 20, LimitToggleOnDelay = 45, } Plugin.CheckConfig = true Plugin.DefaultState = true --tab...
local util = require('utils') util.g.floaterm_keymap_toggle = '<Leader>t'
package.cpath = "luaclib/?.so" package.path = "lualib/?.lua;examples/?.lua" if _VERSION ~= "Lua 5.3" then error "Use lua 5.3" end local socket = require "client.socket" local proto = require "proto" local sproto = require "sproto" local host = sproto.new(proto.s2c):host "package" local request = host:attach(sproto....
return { RowHeightTop = 20, RowHeightItem = 15, TextPaddingLeft = 5, TextPaddingRight = 3, MaxVisibleRows = 6, }
local V, R, S, C, Ct, P do local _obj_0 = require("libs.lulpeg") V, R, S, C, Ct, P = _obj_0.V, _obj_0.R, _obj_0.S, _obj_0.C, _obj_0.Ct, _obj_0.P end local spaces = P(" ") ^ 1 local spaced spaced = function(x) return spaces * x * spaces end local quoted quoted = function(x) return P("'") * x * P("'") end local G...
EditMeshVariation = EditMeshVariation or class(EditUnit) function EditMeshVariation:editable(unit) local mesh_variations = table.merge(managers.sequence:get_editable_state_sequence_list(unit:name()) or {}, managers.sequence:get_triggable_sequence_list(unit:name()) or {}) return #mesh_variations > 0 end functio...
--- -- @author wesen -- @copyright 2018-2020 wesen <wesen-ac@web.de> -- @release 0.1 -- @license MIT -- local EventCallback = require "AC-LuaServer.Core.Event.EventCallback" local EventEmitter = require "AC-LuaServer.Core.Event.EventEmitter" local Exception = require "AC-LuaServer.Core.Util.Exception.Exception" local ...
--- -- @author wesen -- @copyright 2019 wesen <wesen-ac@web.de> -- @release 0.1 -- @license MIT -- local IpcCommunicationPartner = require "ipc.CommunicationPartner.IpcCommunicationPartner" local OutgoingIpcMessage = require "ipc.Message.OutgoingIpcMessage" --- -- Connects to and sends messages to a IpcReceiver and c...
-- STOP! Are you about to edit this file? -- If you change ANYTHING, please please PLEASE run the following script: -- https://www.guidgenerator.com/online-guid-generator.aspx -- and put in a new GUID in the "guid" field. -- Author: megmacattack -- Data source: mostly http://datacrystal.romhacking.net/wiki/The_L...
-- !!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!! -- This file is automaticly generated. Don't edit manualy! -- !!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!! ---@class C_QuestSession C_QuestSession = {} ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_QuestSession.CanStart) ---@return bo...
insulate("Ship:withEvents()", function() require "init" require "spec.mocks" require "spec.asserts" it("fails if a number is given instead of ship", function() assert.has_error(function() Ship:withEvents(42) end) end) it("includes events from ShipTemplateBased", fu...
--preamble: common routines local matchers = require('matchers') local platforms = matchers.create_dirs_matcher('platforms/*') local plugins = matchers.create_dirs_matcher('plugins/*') -- end preamble local parser = clink.arg.new_parser local platform_add_parser = parser({ "wp8", "windows", "android", ...
return require'telescope'.register_extension { exports = { localTransactions = require('beancount').CopyTransaction({}), } }
#!/usr/bin/env lua local sys = require("sys") local thread = sys.thread thread.init() local NUM_THREADS = 20 * 1000 local num_threads = 0 local function thread_entry(arg) assert(arg == 42) num_threads = num_threads + 1 end local function thread_create() local period = sys.period() period:start() fo...
-------------------------------------------Made by chc4----------------------------------------------------- local Name="luxulux" local player=game.Players[Name] local char=player.Character local d=0 local Arms={char.Torso["Left Shoulder"],char.Torso["Right Shoulder"]} local face=char.Head.face local tshirt=char.Torso....
COMMAND.Name = "Cheatlog" COMMAND.Flag = "T" COMMAND.AdminMode = false COMMAND.CheckRankWeight = false COMMAND.Args = {{"player", "Name/SteamID"}} COMMAND.CheckArgs = function(pl, cmd, args) local margs = cmd.Args local err local supp = {} if (pl:IsPlayer() and !pl:HasAccess(cmd.Flag)) then err = "'" .. cmd.F...
--- -- Functions for the SSH-2 protocol. -- -- @author Sven Klemm <sven@c3d2.de> -- @copyright Same as Nmap--See https://nmap.org/book/man-legal.html local base64 = require "base64" local string = require "string" local nmap = require "nmap" local stdnse = require "stdnse" local openssl = stdnse.silent_require "openss...
local L = LibStub("AceLocale-3.0"):NewLocale("GuildGearRules", "ptBR") if not L then return end L['ATTRIBUTE_SPELLPOWER'] = ".*Aumenta em até .* o dano causado e a cura realizada por feitiços e efeitos mágicos."
function RioWheel(self,offsetFromCenter,itemIndex,numItems) local spacing = 210; local edgeSpacing = 135; if math.abs(offsetFromCenter) < .5 then self:zoom(1+math.cos(offsetFromCenter*math.pi)/3); self:x(offsetFromCenter*(spacing+edgeSpacing*2)); else if offsetFromCenter >= ....
local function removeNodeFromEdges(node_id, edges) local from_nodes = {} local to_nodes = {} -- remove edges local idx = 1 while idx <= #edges do local edge = edges[idx] if edge.source == node_id then local to_node = edges[idx].target table.insert(to_nodes, to...
object_static_structure_content_meatlump_sewer_pipe_single_1end_short_s01 = object_static_structure_content_meatlump_shared_sewer_pipe_single_1end_short_s01:new { } ObjectTemplates:addTemplate(object_static_structure_content_meatlump_sewer_pipe_single_1end_short_s01, "object/static/structure/content/meatlump/sewer_pipe...
local skeleton = require 'nvim_lsp/skeleton' local util = require 'nvim_lsp/util' local lsp = vim.lsp skeleton.clangd = { default_config = util.utf8_config { cmd = {"clangd", "--background-index"}; filetypes = {"c", "cpp", "objc", "objcpp"}; root_dir = util.root_pattern("compile_commands.json", "compile_...
local DarkInventory, super = Class(Inventory) function DarkInventory:init() super:init(self) self.storage_for_type = { ["item"] = "items", ["key"] = "key_items", ["weapon"] = "weapons", ["armor"] = "armors", } self.storage_enabled = Game:getConfig("enableStorage"...
local S = aurum.get_translator() aurum.mobs = { DEBUG = minetest.settings:get_bool("aurum.mobs.debug", false), CHEAP = minetest.settings:get_bool("aurum.mobs.cheap_pathfinding", false), SPAWN_LIMIT = tonumber(minetest.settings:get("aurum.mobs.spawn_limit")) or 1, SPAWNER_LIMIT = tonumber(minetest.settings:get("aur...
object_tangible_tcg_series3_deed_tcg_merr_sonn_jt12_jetpack = object_tangible_tcg_series3_shared_deed_tcg_merr_sonn_jt12_jetpack:new { } ObjectTemplates:addTemplate(object_tangible_tcg_series3_deed_tcg_merr_sonn_jt12_jetpack, "object/tangible/tcg/series3/deed_tcg_merr_sonn_jt12_jetpack.iff")
clinkz_death_pact_oaa = class( AbilityBaseClass ) LinkLuaModifier( "modifier_clinkz_death_pact_oaa", "abilities/oaa_death_pact.lua", LUA_MODIFIER_MOTION_NONE ) -------------------------------------------------------------------------------- function clinkz_death_pact_oaa:OnSpellStart() local caster = self:GetCaster...
local path = require "nvim-lsp-installer.path" local std = require "nvim-lsp-installer.installers.std" local installers = require "nvim-lsp-installer.installers" local Data = require "nvim-lsp-installer.data" local process = require "nvim-lsp-installer.process" local M = {} function M.packages(packages) return in...
-- Compiled with https://roblox-ts.github.io v0.3.2 -- August 19, 2020, 7:00 PM British Summer Time local TS = _G[script]; local exports = {}; local MakeRequest = TS.import(script, script.Parent, "HTTP").default; local Settings = TS.import(script, script.Parent, "Settings").default; local AddCharacterVirtualCurrency =...
local nvimux = {} nvimux.debug = {} nvimux.config = {} nvimux.bindings = {} nvimux.term = {} nvimux.term.prompt = {} -- testing --[[ Nvimux: Neovim as a terminal multiplexer. This is the lua reimplementation of VimL. --]] -- luacheck: globals unpack -- [ Private variables and tables local nvim = vim.api -- luachec...
local MainUIRoleHeadView = BaseClass() function MainUIRoleHeadView:DefaultVar( ) return { UIConfig = { prefab_path = "Assets/AssetBundleRes/ui/mainui/MainUIRoleHeadView.prefab", canvas_name = "MainUI", components = { }, }, } end function MainUIRoleHeadView:OnLoad( ) local names = { "money_1","m...
--[[ BaseLua https://github.com/dejayc/BaseLua Copyright 2012 Dejay Clayton All use of this file must comply with the Apache License, Version 2.0, under which this file is licensed: http://www.apache.org/licenses/LICENSE-2.0 --]] local BaseLua = require( "Packages.BaseLua" ) local DataHelper...
--------------------------------------------------------------------------------------------- --ATF version: 2.2 --Modified date: 01/Dec/2015 --Author: Ta Thanh Dong --------------------------------------------------------------------------------------------- ------------------------------------------------------------...
ENT.Type = "anim" ENT.Base = "base_anim" ENT.PrintName = "Base Cell" ENT.Author = "Star Light" ENT.Contact = "" ENT.MaxSpeed = 40 ENT.ShipSpeed = 1 ENT.MaxHealth = 100 ENT.Category = "ORC" ENT.Spawnable = true function ENT:OnRemove() end function ENT:SetupDataTables() self:NetworkVar("Entity", 0, "Player") self:N...
-- Copyright 2016 Google Inc, NYU. -- -- 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 agree...
samurai_of_chaos_slowest_death_kitty = class({}) LinkLuaModifier( 'samurai_of_chaos_slowest_death_kitty_modifier', 'encounters/samurai_of_chaos/samurai_of_chaos_slowest_death_kitty_modifier', LUA_MODIFIER_MOTION_NONE ) function samurai_of_chaos_slowest_death_kitty:OnSpellStart() local victim = GetRandomHeroEntitie...
local os = require "os" local rrd = require "rrd" local sys = require "luci.sys" local nixio = require "nixio" nixio.fs = require "nixio.fs" nixio.util = require "nixio.util" local uci = require "uci" local jsonc = require "luci.jsonc" -- Plugins local lmpeaks = require "linkmeter.peaks" local lmunkprobe = ...
----------------------------------- -- Area: Upper Jeuno -- NPC: Afdeen -- Standard Merchant NPC -- !pos 1.462 0.000 21.627 244 ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc) player:startEvent(179); end; function onEventUpdate(player,csid,option) end; ...
--- -- codelite/tests/test_codelite_config.lua -- Automated test suite for CodeLite project generation. -- Copyright (c) 2015 Manu Evans and the Premake project --- local suite = test.declare("codelite_cproj_config") local p = premake local codelite = p.modules.codelite -------------------------------------------...
------------------------------------------------------------------------------- -- -- tek.class -- Written by Timm S. Mueller <tmueller at schulze-mueller.de> -- See copyright notice in COPYRIGHT -- -- OVERVIEW:: -- [[#ClassOverview]] : Class ${subclasses(Class)} -- -- This module implements inheritance and the creat...
-- -- Copyright (c) 2015 Jonathan Howard. -- function bullet_library(_kind) newoption { trigger = "without-cl", description = "Disable OpenCL for Bullet." } project "bullet" language "C++" kind(_kind) includedirs { BULLET_DIR .. "src/" } files { BULLET_DIR .. "s...
--************************ --name : SINGLE_DEL_NX_01.lua --ver : 0.1 --author : Kintama --date : 2004/09/09 --lang : en --desc : terminal mission --npc : --************************ --changelog: --2004/09/09(0.1): Added description --************************ function DIALOG() NODE(0) ...
local Object = require("object") local Action = Object:new(); function Action:new (obj) obj = Object.new( self, obj ) obj.f = nil obj.tags = {}; return obj end function Action:addTag (tag) self.tags[tag] = true end function Action:removeTag (tag) self.tags[tag] = nil end function Action:isTagged ...
-- 裸vim映射(不包括插件) -- colemark user local is_colemark_user = true local map_opt = {silent = true, noremap = true} -- 方向移动 vim.api.nvim_set_keymap('n', 'n', 'j', map_opt) vim.api.nvim_set_keymap('n', 'e', 'k', map_opt) vim.api.nvim_set_keymap('n', 'i', 'l', map_opt) vim.api.nvim_set_keymap('v', 'n', 'j', map_opt) vim.ap...
#! /usr/bin/lua -- ---------------------------------------------------- -- text_create.lua -- -- Jun/22/2011 -- -- ---------------------------------------------------- require ('text_manipulate') -- ---------------------------------------------------- function data_prepare_proc () dict_aa = {} dict_aa = dict_app...
---@class mx.io:mx.io.io local M = {} table.merge(M, require('mx.io.io')) table.merge(M, require('mx.io.utils')) return M
function Is_self_describing( n ) local s = tostring( n ) local t = {} for i = 0, 9 do t[i] = 0 end for i = 1, s:len() do local idx = tonumber( s:sub(i,i) ) t[idx] = t[idx] + 1 end for i = 1, s:len() do if t[i-1] ~= tonumber( s:sub(i,i) ) then return false end end ret...
local ecs = require('ecs') local mgr = ecs.NewManager() local e1 = mgr.NewEntity() mgr.AddComponent(e1, { Name='A1', X = 1, HP = 2, }, 1) local e2 = mgr.NewEntity() mgr.AddComponent(e2, { Name='A2', X = 10, HP = 5, }, 1) local sys = {} function sys.Update(mgr) print('Frame:', mgr.GetFrame...
return {'kaffer','kaffers','kaf','kaffa','kaffer','kafferbuffel','kafferen','kafferpokken','kafir','kafkaiaans','kafkaesk','kafmolen','kaft','kaftan','kaften','kafzak','kafkafan','kaffiya','kaffa','kafferde','kafferden','kaffers','kafje','kafjes','kafmolens','kaftans','kaftte','kafferbuffels','kafirs','kafkaiaanse','ka...
local t = Def.Model { Meshes=NOTESKIN:GetPath('_Down','Tap Note'); Materials=NOTESKIN:GetPath('_Down','Tap Note'); Bones=NOTESKIN:GetPath('_Down','Tap Note'); }; return t;
require "TimedActions/ISBaseTimedAction" ISInventoryTransferAction = ISBaseTimedAction:derive("ISInventoryTransferAction"); function ISInventoryTransferAction:isValid() if (not self.destContainer:isExistYet()) or (not self.srcContainer:isExistYet()) then return false end -- Limit items per container in MP if is...
local bot = GetBot(); if bot:IsInvulnerable() or bot:IsHero() == false or bot:IsIllusion() then return; end local ability_item_usage_generic = dofile( GetScriptDirectory().."/ability_item_usage_generic" ) local utils = require(GetScriptDirectory() .. "/util") local mutils = require(GetScriptDirectory() .. "/MyUtili...
local att = {} att.name = "md_mchoke" att.displayName = "Modified Choke" att.displayNameShort = "MChoke" att.statModifiers = {OverallMouseSensMult = -0.15, VelocitySensitivityMult = 0.15, DrawSpeedMult = -0.05, HipSpreadMult = 0.1 } if CLIENT then att.displayIcon = surface.GetTextureID("atts/saker") att.description...
local S = homedecor.gettext local toilet_sbox = { type = "fixed", fixed = { -6/16, -8/16, -8/16, 6/16, 9/16, 8/16 }, } local toilet_cbox = { type = "fixed", fixed = { {-6/16, -8/16, -8/16, 6/16, 1/16, 8/16 }, {-6/16, -8/16, 4/16, 6/16, 9/16, 8/16 } } } homedecor.register("toilet", { description = S("Toilet...
return { LrSdkVersion = 4.1, LrToolkitIdentifier = 'com.adobe.lightroom.export.metropublisher', LrPluginName = 'MetroPublisher', LrExportServiceProvider = { title = 'MetroPublisher', file = 'MetroPublisherExportServiceProvider.lua', }, VERSION = { major=1, minor=5, re...
return { lazy_load = function(load) load "nvim-metals" end, plugins = function(use) use { "scalameta/nvim-metals", opt = true } end, setup = function() local has_lsp, _ = pcall(require, "lspconfig") if not has_lsp then print "Scala dependends on lsp. The functionality is disable" r...
local notify = require("blaz.helper.notify") local has_telescope_actions, actions = pcall(require, "telescope.actions") if not has_telescope_actions then notify.warn( "Fuzzy Finder", "nvim-telescope actions not found!", "Skipping configuration for this plugin...", "Some features will not work properly..." ) ...
--[[ Copyright (C) 2018 Kubos Corporation 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 writing, softw...
return { fadeOut = 1.5, mode = 2, id = "WORLD401A", once = true, fadeType = 2, fadein = 1.5, scripts = { { expression = 2, side = 2, bgName = "bg_port_talantuo", actor = 605020, dir = 1, nameColor = "#a9f548", say = "前方就是塔兰托港了,嗯?这些在港口里飘荡的旗帜......皇家的舰队居然已经先到了么。", bgm = "story-italy", ...
--[[ Copyright 2014 Sergej Nisin 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 w...
-- program to travel in a line for a specified # of blocks in the direction it's facing print("\nHow far shall I travel?") dist = tonumber(read()) print("Should I make a walkable tunnel? [y/N]") local temp = read() walkable = false if string.lower(temp) == "y" or string.lower(temp) == "yes" then walkable = true end t...
----------------------------------- -- Ability: Bestial Loyalty -- Calls a beast to fight by your side without consuming bait -- Obtained: Beastmaster Level 23 -- Recast Time: 20:00 -- Duration: Dependent on jug pet used. ----------------------------------- require("scripts/globals/common") require("scripts/globals/sta...
--[[ /////// ////////////////// /////// PROJECT: MTA iLife - German Fun Reallife Gamemode /////// VERSION: 1.7.2 /////// DEVELOPERS: See DEVELOPERS.md in the top folder /////// LICENSE: See LICENSE.md in the top folder /////// ///////////////// ]] -- ####################################### -- ## Project: iL...
AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include('shared.lua') local MODEL = Model( "models/dav0r/balloon/balloon.mdl" ) /*--------------------------------------------------------- Name: Initialize ---------------------------------------------------------*/ function ENT:Initialize() // Use the...
-- Cuppa -- ----------- local HOME = os.getenv("HOME") local cuppaMenu = hs.menubar.new() cuppaMenu:setTitle("🍵") cuppaMenu:setTooltip("Cuppa tea timer. ⌘+click to cancel the timer") local cuppaTimer = nil local cuppaTimerTimer = nil -- stolen from Cuppa.app local pourSound = hs.sound.getByFile(HOME .. "/.hammerspo...
local OOP = require("oop"); local bzUtils = require("bz_core"); local bzRoutine = require("bz_routine"); local misc = require("misc"); local KeyListener = misc.KeyListener; local Decorate = OOP.Decorate; local Implements = OOP.Implements; local KeyListener = misc.KeyListener; local Class = OOP.Class; local Routine = b...
local _, Addon = ...; local EmptyListMixin = {}; --[[=========================================================================== | Shows or hides the empty text ========================================================================--]] function EmptyListMixin:ShowEmptyText(show) local empty = self.EmptyText; if ...
--[[ Minecart ======== Copyright (C) 2019-2020 Joachim Stolberg MIT See license.txt for more information ]]-- -- for lazy programmers local M = minetest.get_meta local RegisteredInventories = {} -- Take the given number of items from the inv. -- Returns nil if ItemList is empty. function minecart.inv_take_...
--[[ /////// ////////////////// /////// PROJECT: MTA iLife - German Fun Reallife Gamemode /////// VERSION: 1.7.2 /////// DEVELOPERS: See DEVELOPERS.md in the top folder /////// LICENSE: See LICENSE.md in the top folder /////// ///////////////// ]] local QuestID = 11 local Quest = Quests[QuestID] Quest.Texts =...
object_tangible_loot_loot_schematic_armor_appearance_neutral_clone_bicep_r = object_tangible_loot_loot_schematic_shared_armor_appearance_neutral_clone_bicep_r:new { } ObjectTemplates:addTemplate(object_tangible_loot_loot_schematic_armor_appearance_neutral_clone_bicep_r, "object/tangible/loot/loot_schematic/armor_appear...