content
stringlengths
5
1.05M
local ecs = require("ECSAPI") local xml = require("xmlParser") local image = require("image") local event = require("event") local unicode = require("unicode") local fs = require("filesystem") local gpu = require("component").gpu -----------------------------------------------------------------------------------------...
object_building_heroic_echo_base = object_building_heroic_shared_echo_base:new { } ObjectTemplates:addTemplate(object_building_heroic_echo_base, "object/building/heroic/echo_base.iff")
-- http://www.tobiasbuckell.com -- VIGOR: one fiction writer's variation on Vim/eMacs style modal bindings -- Project to do list: -- * I need persistent banner alert in upper or lower part of screen saying -- you're in editing mode, the different color isn't enough, I keep -- forgetting I'm in the mode. -- * Delete...
-- P17 - [1.1.8 过程作为黑箱抽象] function average(x, y) return (x + y) / 2 end function abs(x) if x < 0 then return -x else return x end end function square(x) return x * x end function sqrt(x) function good_enough(guess) return abs(square(guess) - x) < 0.001 end f...
object_tangible_furniture_flooring_metal_frn_flooring_metal_s22 = object_tangible_furniture_flooring_metal_shared_frn_flooring_metal_s22:new { } ObjectTemplates:addTemplate(object_tangible_furniture_flooring_metal_frn_flooring_metal_s22, "object/tangible/furniture/flooring/metal/frn_flooring_metal_s22.iff")
-- -- Autogenerated by Thrift -- -- DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING -- @generated -- local Thrift = require 'Thrift' local TType = Thrift.TType local TMessageType = Thrift.TMessageType local __TObject = Thrift.__TObject local TApplicationException = Thrift.TApplicationException local _...
local T, C, L = Tukui:unpack() -- if (true) then return end local UnitName, UnitClass, UnitGUID = UnitName, UnitClass, UnitGUID local GetTime = GetTime local IsInInstance, IsInGroup, IsInRaid = IsInInstance, IsInGroup, IsInRaid local GetNumGroupMembers = GetNumGroupMembers local GetSpellInfo, GetSpellCooldown, GetSpe...
local tr = aegisub.gettext script_name = tr"文本统计" script_description = tr"对所选行进行文本统计" script_author = "domo" script_version = "1.0" include("unicode.lua") k_threshold=1 function text_stat(subtitles, selected_lines, active_line) for i=1,#subtitles do if subtitles[i].class=="dialogue" then dialogue_st...
--*********************************************************** --** THE INDIE STONE ** --*********************************************************** require "TimedActions/ISBaseTimedAction" ---@class ISLockDoors : ISBaseTimedAction ISLockDoors = ISBaseTimedAction:derive("ISLockDoo...
local Package = {} LoadPackage("./Logger.dua") print("loaded") local Logger = Import("nl.cubic-inc.logger.Main") local ProxyEnum = Import("nl.cubic-inc.RequireProxy.Enum") function Package.OnInitialize() Logger:Info("Package loaded!") ProxiedRequests.TestOne = { ProxyTo = "nl.cubic-inc.RequireProxy.Enum", ...
---@meta ---@class ccs.ComAudio :cc.Component@all parent class: Component,PlayableProtocol local ComAudio={ } ccs.ComAudio=ComAudio ---* ---@return self function ComAudio:stopAllEffects () end ---* ---@return float function ComAudio:getEffectsVolume () end ---* ---@param nSoundId unsigned_int ---@return self fu...
--[[------------------------------------------------------ dub.Function ------------ A public class method or function definition. --]]------------------------------------------------------ local lib = { type = 'dub.Function', -- C function names to use for the binding function. OP_TO_NAME = { ['...
--------------------------------------------- -- -- Venom Breath -- --------------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/monstertpmoves") --------------------------------------------- function onMobSkillCheck(target,mob,skill) ...
return {'ukkepuk','ukkel','ukkelaar','ukkels','ukken','ukkepukken','ukkelse'}
local crypto = require('_crypto') local fs = require('fs') local path = require('path') local ca_path = path.join(__dirname, 'ca') local ca_cert = fs.readFileSync(path.join(ca_path, 'ca.crt')) local cert_to_verify = fs.readFileSync(path.join(ca_path, 'server.crt')) local bad_cert = [[-----BEGIN CERTIFICATE----- MIIFx...
module(...,package.seeall) local hook = require('hook') local Solenoids = {} local SolValues = {} local function setupSolenoids() for i = 1,8 do Solenoids.i = wpilib.Solenoid(i) SolValues.i = false end end hook.add("RobotInit", "InitSolenoidSetup", setupSolenoids) function set(n, val) Solenoids[n]:Set(val) ...
-- supporting testfile; belongs to 'cl_spec.lua' describe('Tests the busted command-line options', function() it('is a test with a tag #tag1', function() -- works by counting failure error('error 1 on tag1') end) spec('is a test with a tag #tag1', function() -- works by counting failure error('...
-- ========== THIS IS AN AUTOMATICALLY GENERATED FILE! ========== PlaceObj('XTemplate', { group = "CCC", id = "CommandCenterStatsRow", PlaceObj('XTemplateWindow', { 'IdNode', true, }, { PlaceObj('XTemplateWindow', { '__class', "XLabel", 'Id', "idName", 'TextStyle', "CCCStatsValue", 'Translate', tru...
local lg = love.graphics local width = 360 local height = 240 local outputWidth = 1280 local outputHeight = 720 local internalCanvas = nil local offsetX = 0 local offsetY = 0 local scale = 2 local viewport = {} function viewport.resize(w, h) outputWidth = w outputHeight = h scale = math.max(1, math.floor(math.mi...
local Water = {} Water.__index = Water function Water.new(x, y, w, h, c) local t = {} setmetatable(t, Water) t.x = x t.y = y t.w = w t.h = h t.c = c t.color = {0, 0, 100} return t end function Water:draw() love.graphics.setColor(self.color) love.graphics.rectangle('fill', self.x, self.y, self....
-- This script is used for realtime emulation of the environment in V-REP function sysCall_init() -- Add required handles here drone = sim.getObjectHandle('Drone_Pos_Emulation') -- Subscribing to the required topic whycon_sub = simROS.subscribe('/whycon/poses', 'geometry_msgs/PoseArray', 'w...
local M={} A,B=0,0 function M.hi() A=A+1; print(0,A,B) end return M
--[[ Updater.lua Note: this could encapsulate check-for-update and uninstall too, but doesn't, yet. Initial motivation is so plugin can customize updating without extending app object. --]] local Updater, dbg = Object:newClass{ className= 'Updater', register=true } --- Constr...
return { init_effect = "", name = "", time = 2.1, picture = "", desc = "持续伤害", stack = 1, id = 13753, icon = 13750, last_effect = "", effect_list = { { type = "BattleBuffHP", trigger = { "onAttach" }, arg_list = { number = -200 } } } }
local function print(event, msg) if game ~= nil then for _,player in pairs(game.players) do player.print(msg) end end end --swap comment to toggle debug prints local function debug() end --local debug = print -- When some research is completed, build the reverse index of the crafting table -- to fin...
local thunderboltBrightness = 0.7 function handleLayoutChange() local thunderboltCount = 0 local screenSet = hs.screen.allScreens() for _, screen in pairs(screenSet) do if screen:name():match("Thunderbolt Display") then thunderboltCount = thunderboltCount + 1 end end if thunderboltCount >= 2 ...
local signal = {} local C = require 'signal.ffi' --[[ 1D valid convolution with stride ]]-- function signal.conv1d(input, kernel, stride, mode) kernel = kernel:typeAs(input) local input_data = input:data() local kernel_data = kernel:data() local input_size = input:size(1) local kernel_size = kernel:size(...
package.path='../src/?.lua;'.. package.path local l=require "lib" local t=require "tbl" math.randomseed(1) local o ,oo, any = l.o, l.oo, l.any local Num, Sym,Tbl = t.Num, t.Sym, t.Tbl local function going( x,y,z) x = Sym.new() y = Num.new() x:add("love") x:add("hate") x:add("hate") y:add(20) y:a...
-- Header exar_kun_exchange_template = ConvoTemplate:new { initialScreen = "first_screen", templateType = "Lua", luaClassHandler = "exar_kun_exchange_convo_handler", screens = {} } -- 5 Token Exchange Screen exar_kun_exchange_items_screen = ConvoScreen:new { id = "items_screen", leftDialog = "", ...
require('strict').on() local log = require('log') log.info(os.getenv('TARANTOOL_CONSOLE_SOCK')) log.info(os.getenv('TARANTOOL_WORKDIR')) log.info(os.getenv('TARANTOOL_PID_FILE'))
---@meta tablepool={} function tablepool.release(tag, obj, noclear) end function tablepool.fetch(tag, narr, nrec) end return tablepool
local cfg = {} cfg.dumpSpot = { -604.31396484375,-1592.3865966797,26.761739730835 } return cfg
-- Generates an animated spinning radial pattern useful for -- psychodelic animation. local width = 384 local height = 240 local c1 = { r = 244, g = 97, b = 27 } local c2 = { r = 255, g = 235, b = 1 } local num_rays = 15 local num_phases = 4 local out_file = "out%d.data" function write_pixel(fout, p) local data =...
showfps = false lastfps = 0 fps = 0 timer = nil function toggleShowFPS() showfps = not showfps if (showfps) then fps = 0 lastfps = 0 addEventHandler("onClientRender", getRootElement(), countFPS) timer = setTimer(resetFPS, 1000, 0) else killTimer(timer) timer = nil removeEventHandler(...
local checkpoints = require("Checkpoints/checkpoints") local dwelling3 = { identifier = "dwelling3", title = "Dwelling 3: Lizard Ladder", theme = THEME.DWELLING, width = 8, height = 4, file_name = "dwell-3.lvl", world = 1, level = 3, } local level_state = { loaded = false, call...
require("bobextended-update-gem") -- require("bobextended-update-ele") -- require("bobextended-update-slag") function momoTweak.updates.ExtendedUpdate() -- momoTweak.updates.ExtendedGemUpdate() -- momoTweak.updates.ExtendedSlagUpdate() for _, class in pairs({"purple", "green"}) do local tech = momoIRTweak.tech...
complex = require('complex') a = complex(1.2, 3.4) print('a:', a) b = complex(2.3, 4.5) print('b:', b) print('a+b:', a+b) print('a-b:', a-b) print('a*b:', a*b) print('a/b:', a/b) print('a^b:', a^b) print('a.real:', a.real) print('a.imag:', a.imag) print('a.norm:', a.norm) print('a.normsq:', a.normsq) print('a.arg:', a...
event.ignoreAll() event.clear() filesystem.initFileSystem("/dev") scriptInfo = { network = component.proxy("F3E5BCC346FF7360CCFB49990E6286D0"), name = "InvMgr_H2", fileSystemMonitor = false, hallName = "H2", topupPrefix = "TopUp2", port = 106, auxPanel = "InvMgr_H2_ControlPanel1", emgP...
function add(a, b) return a + b end if 1 > 2 then print("大于") elseif 2 > 3 then print("小于") end print(add(1, 11))
-- -- Please see the readme.txt file included with this distribution for -- attribution and copyright information. -- function clearSelection() for k, w in ipairs(getWindows()) do w.base.setFrame(nil); end end function addIdentity(id, aLabels, nodeLocal) for k, v in ipairs(activeidentities) do if v == id the...
local ResourceObject = require "kong_client.resources.resource_object" local Consumer = ResourceObject:extend() Consumer.PATH = "consumers" return Consumer
local _0_0 = nil do local name_0_ = "lispdocs" local module_0_ = nil do local x_0_ = package.loaded[name_0_] if ("table" == type(x_0_)) then module_0_ = x_0_ else module_0_ = {} end end module_0_["aniseed/module"] = name_0_ module_0_["aniseed/locals"] = ((module_0_)["aniseed/loca...
--init.lua print('\ninit.lua ver 1.2') wifi.setmode(wifi.STATION) print(' set mode=STATION (mode='..wifi.getmode()..')') print(' MAC: ',wifi.sta.getmac()) print(' chip: ',node.chipid()) print(' heap: ',node.heap()) -- wifi config start wifi.sta.config("FrontierHSI","") -- wifi config end wifi.sta.connect() -- tmr.a...
function onUse(player, item, fromPosition, target, toPosition, isHotkey) if player:getStorageValue(Storage.QuestChests.DoubletQuest) == 1 then player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'The loose board is empty.') else player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'You have found a doublet.') player:addItem...
return {'eukaryoot','eukaryoten','eukaryote'}
MP = {} ESX = nil ESXLoaded = false Citizen.CreateThread(function () while ESX == nil do TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) Citizen.Wait(0) end while ESX.GetPlayerData().job == nil do Citizen.Wait(10) end ESXLoaded = true end) Citizen.CreateThread(fun...
local v,s,t,f = require("Vec2"),require("Size"),true,false return {"Array",{"Phyx.Rect","rect","Static",v(-1,-1),0,v(0,0),s(400,400),1,0.4,0.4,0,0,f,v(0,-10),f,t,0,f,"",v(0,0)}}
-------------------------------------------------------------------------------- --- Double-ended queue wrapper -- @module lua-nucleo.deque -- This file is a part of lua-nucleo library -- @copyright lua-nucleo authors (see file `COPYRIGHT` for the license) ---------------------------------------------------------------...
stormtrooper_dewback = Creature:new { objectName = "@mob/creature_names:stormtrooper_dewback", socialGroup = "imperial", faction = "imperial", level = 29, chanceHit = 0.38, damageMin = 280, damageMax = 290, baseXp = 2914, baseHAM = 8300, baseHAMmax = 10100, armor = 0, resists = {140,120,0,140,-1,-1,-1,-1,-1...
function string.trim(s) return (s:gsub("^%s*(.-)%s*$", "%1")) end local function set_filename(s) if type(s) == 'table' then s = s.parameter end global.filename = string.trim(tostring(s)) game.print(string.format("Deaths for this save will be written to: 'script-output/stream_data/%s", global.filename)) e...
-- ... completion.lua local cmp = require("cmp") cmp.setup({ mapping = { ["<C-d>"] = cmp.mapping.scroll_docs(-4), ["<C-f>"] = cmp.mapping.scroll_docs(4), ["<C-q>"] = cmp.mapping.close(), ["<C-y>"] = cmp.mapping.confirm({ select = true }), ["<C-Space>"] = cmp.mapping.complete(), ["<CR>"] = c...
-- This file can be loaded as a telescope extension local M = {} -- Custom theme picker -- Most of the code is copied from telescope buffer builtin -- Src: https://github.com/nvim-telescope/telescope.nvim/blob/master/lua/telescope/builtin/internal.lua M.term_picker = function(opts) local pickers, finders, previewer...
char = workspace.rigletto.Torso mod = Instance.new("Model") mod.Parent = workspace.rigletto Name = char.Parent.Name mod.Name = "<(o_O)> " ..Name.. " <(O_o)>" hum = Instance.new("Humanoid") hum.MaxHealth = 0 hum.Health = 0 hum.Parent = mod script.Parent = mod.Parent frame = Instance.new("Part") frame.Size = Vecto...
---@meta ---@class cc.Scheduler :cc.Ref local Scheduler={ } cc.Scheduler=Scheduler ---* Modifies the time of all scheduled callbacks.<br> ---* You can use this property to create a 'slow motion' or 'fast forward' effect.<br> ---* Default is 1.0. To create a 'slow motion' effect, use values below 1.0.<br> ---* To ...
local spawnedWeeds = 1 local weedPlants = {} local isPickingUp, isProcessing = false, false Citizen.CreateThread(function() while true do Citizen.Wait(10) local coords = GetEntityCoords(PlayerPedId()) if GetDistanceBetweenCoords(coords, Config.FieldZones.WeedField.coords, true) < 20 then TriggerEvent('esx:s...
------------------------------------------------------------------------------- -- ElvUI Professions Datatext By Lockslap (US, Bleeding Hollow) -------------------------------------------------------------------------------- local AceLocale = LibStub:GetLibrary("AceLocale-3.0") local L = AceLocale:NewLocale("ElvUI_...
-- This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild -- -- This file is compatible with Lua 5.3 local class = require("class") require("kaitaistruct") local stringstream = require("string_stream") local str_decode = require("string_decode") -- -- See also: Source (http:...
-- alien-magazine -- data:extend({ { type = "recipe", name = "alien-magazine", enabled = false, energy_required = 10, result = "alien-magazine", result_count = 1, ingredients = { { "alien-plate", 2 }, { "iron-plate", 6 }, { "copper-plate", ...
-- Concert Task Manager (CSysGuard) local tasks = require("tasks") local draw = require("OCX/OCDraw") local ui = require("OCX/OCUI") local window = require("window").newWindow(70, 23, "NeoQuack") local gpu = require("driver").gpu local fileName = ... fileName = fileName or "A:/Fuchas/Interfaces/Concert/editor.lua" l...
local utils = require('frameworks/utils') local x = utils.typecheck(function(...) return table.pack(...) end, 'table') a = x(1, 2, 3) utils.display(a) utils.display(12, 3, { 'x', 'y', 'z' }, nil, 7)
#!/usr/local/bin/luatrace -s trace_codename = function(codename, callback) local debugid = trace.debugid(codename) if debugid ~= 0 then trace.single(debugid,callback) else printf("WARNING: Cannot locate debugid for '%s'\n", codename) end end initial_timestamp = 0 workqueue_ptr_map = {}; get_prefix = function(...
--[[ Available Have's: * Define if we have the ALSA backend => ALSA * Define if we have the OSS backend => OSS * Define if we have the Solaris backend => SOLARIS * Define if we have the DSound backend => DSOUND * Define if we have the Windows Multimedia backend => WINMM * Define if we have ...
local ltn_data = {} local event = require("__flib__.event") local util = require("scripts.util") local alert_popup_gui = require("scripts.gui.alert-popup") local math_floor = math.floor local table_insert = table.insert local table_remove = table.remove local table_sort = table.sort -- -----------------------------...
fx_version 'adamant' game 'gta5' author 'daavee#0101' description 'dv_doctor' shared_script 'config.lua' client_scripts { '@es_extended/locale.lua', 'locales/en.lua', 'locales/hu.lua', 'client/main.lua' } server_scripts { '@mysql-async/lib/MySQL.lua', '@es_extended/locale.lua', 'locales/en.lua', 'locales/h...
Quests = {}; function Quests.find_item() end function Quests.find_multiple_items() end function Quests.find_location() end
local bit = bit or require "bit32" local path = (...):match("(.-)[^%.]+$") local opcodes = require(path .. ".opcodes") local instructions = {} local cpu, registers, status, bus local band, bor, bxor, rshift, lshift, bnot = bit.band, bit.bor, bit.bxor, bit.rshift, bit.lshift, bit.bnot function instructions:init(cpu_...
--------------------------------------------------------------------------------------------------- -- func: addcurrency <currency type> <amount> <target player> -- desc: Adds the specified currency to the player --------------------------------------------------------------------------------------------------- cmdpro...
-- Copyright (c) 2019 Phil Leblanc -- see LICENSE file ------------------------------------------------------------------------ --[[ L5 poll functions and constants XXXXXXXXXXXXXX Work In Progress !!! XXXXXXXXXXXXXXXXX At the moment, a better example of l5.poll() usage can be found in file 'process.lua' (eg....
--- -- Compose two real-valued signals into the real and imaginary parts of a -- complex-valued signal. -- -- $$ y[n] = x_{real}[n] + j \, x_{imag}[n] $$ -- -- @category Type Conversion -- @block FloatToComplexBlock -- -- @signature real:Float32, imag:Float32 > out:ComplexFloat32 -- -- @usage -- local floattocomplex = ...
---------------------------------------------------------------------------------------------------- -- -- Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. -- -- SPDX-License-Identifier: Apache-2.0 OR MIT -- -- -...
local blueberryBush = Action() function blueberryBush.onUse(player, item, fromPosition, target, toPosition, isHotkey) item:transform(3700) item:decay() Game.createItem(3588, 3, fromPosition) return true end blueberryBush:id(3699) blueberryBush:register()
local V = { Name = "Toyota FJ Cruiser", Class = "prop_vehicle_jeep", Category = "TDM Cars", Author = "TheDanishMaster, Turn 10", Information = "A drivable Toyota FJ Cruiser by TheDanishMaster", Model = "models/tdmcars/toy_fj.mdl", KeyValues = { vehiclescript = "scripts/vehicles/TDMCars...
-- -- created with TexturePacker (http://www.codeandweb.com/texturepacker) -- -- $TexturePacker:SmartUpdate:2316fec887f2c3781963939248357da6:25d09de8ce2e2d960634711b536eb781:cf8ab4992190eb44f97f06311ef326d7$ -- -- local sheetInfo = require("mysheet") -- local myImageSheet = graphics.newImageSheet( "mysheet.png", sheetI...
ambox = require('ambox') function player(name) local self_addr = ambox.self_addr() while true do ball = ambox.recv() print(name .. " got ball, hits " .. ball.hits) ambox.send(ball.from, { from = self_addr, hits = ball.hits + 1 }) end end mike_addr = ambox.spawn(player, "Mike") mary_addr = ambox.spaw...
local text_width = 420 local _zoom = { active = WideScale(1.15,1.1), inactive = WideScale(0.55,0.5) } local active_index = 0 local choice_actors = {} local af local InputHandler = function(event) if not event.PlayerNumber or not event.button then return false end if event.type == "InputEventType_FirstPress" th...
local a,t=... local itemID=1 t.portgear={ [17690]=true, -- Frostwolf Insignia Rank 1 [17691]=true, -- Stormpike Insignia Rank 1 [17900]=true, -- Stormpike Insignia Rank 2 [17901]=true, -- Stormpike Insignia Rank 3 [17902]=true, -- Stormpike Insignia Rank 4 [17903]=true, -- Stormpike Insignia Rank 5 [17904]=true...
describe("Table list", function() local table_list = require("data_structures.table_list") local list = table_list.new({ 1, 2, 3 }) assert.equal(3, list:len()) for i = 1, 3 do assert.truthy(list:in_bounds(i)) assert.equal(i, list:get(i)) list:set(i, i) assert(i, list:get(i)) end local expected_index = 0 ...
local url = require("url") local http = require('http') require('tap')(function(test) test('http-timeout', function(expect) local PORT = process.env.PORT or 10086 local options = { method = 'GET', port = PORT, host = '127.0.0.1', path = '/' } local server server = http.c...
-- -- Author: SunLightJuly -- Date: 2014-07-29 11:04:34 -- local ArmatureTestLayer = require("layers.ArmatureTestLayer") local TestAsynchronousLoading = class("TestAsynchronousLoading", ArmatureTestLayer) function TestAsynchronousLoading:ctor() TestAsynchronousLoading.super.ctor(self) end function TestAsynchronousLo...
--------------------------------------------------------------------------------------------------- -- Proposal: -- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0148-template-additional-submenus.md#backwards-compatibility -- Description: Tests sending a parentID param in a AddSubMenu request -...
function OnEnable() end function OnDisable() end function OnCreate() Heal = Card.create("Heal", "Assets/Card_Health.png") Card.show(Heal, false) Info = {Damage = 0,Health=0,Mana = 5,Name="Heal",Description = "Restores 2 health"} end
dxMain = {} dxMain.__mt = {__index = dxMain} function dxMain:delete() deleteElementFromAllElements(self.el) if isElement(self.el) then destroyElement(self.el) end if isElement(self.rt) then destroyElement(self.rt) end for k,v in ipairs(self.children) do v:delete() end --delete element from ...
local eterna_0 = DoorSlot("eterna","0") local eterna_0_hub = DoorSlotHub("eterna","0",eterna_0) eterna_0:setHubIcon(eterna_0_hub) local eterna_1 = DoorSlot("eterna","1") local eterna_1_hub = DoorSlotHub("eterna","1",eterna_1) eterna_1:setHubIcon(eterna_1_hub) local eterna_2 = DoorSlot("eterna","2") local eterna_2_hub =...
fx_version 'adamant' games { 'common' } author 'Scoob' description 'NUI SPZ' version '0.1' ui_page "nui/index.html" client_scripts { 'client/*.lua', } files { "nui/index.html", "nui/app.js", "nui/style.css", "nui/reset.css", }
zen.lib.recipe.replaceIngredient("electronic-circuit", "iron-plate", "wood", 1) zen.lib.recipe.replaceIngredient("advanced-circuit", "copper-cable", "tinned-cable", 4) zen.lib.recipe.replaceIngredient("advanced-circuit", "electronic-circuit", "electronic-component", 2) zen.lib.recipe.replaceIngredient("processing-unit"...
--[[ # Copyright 2001-2014 Cisco Systems, Inc. and/or its affiliates. All rights # reserved. # # This file contains proprietary Detector Content created by Cisco Systems, # Inc. or its affiliates ("Cisco") and is distributed under the GNU General # Public License, v2 (the "GPL"). This file may also include Detector Co...
return { [1] = {id=1,y=100,}, [3] = {id=3,y=300,}, }
X = {} local IBUtil = require(GetScriptDirectory() .. "/ItemBuildlogic"); local npcBot = GetBot(); local talents = IBUtil.FillTalenTable(npcBot); local skills = IBUtil.FillSkillTable(npcBot, IBUtil.GetSlotPattern(3)); X["items"] = { "item_poor_mans_shield", "item_boots", "item_hand_of_midas", "item_phase_boots"...
return {'czech'}
AddCSLuaFile("lightsaberplus/lightsaberplus.lua") AddCSLuaFile("lightsaberplus_config.lua") include("lightsaberplus/lightsaberplus.lua") if SERVER then resource.AddFile("materials/vgui/entities/lightsaber_plus.vmt") end
----------------------------------------- -- ID: 5053 -- Scroll of Dark Carol -- Teaches the song Dark Carol ----------------------------------------- function onItemCheck(target) return target:canLearnSpell(445) end function onItemUse(target) target:addSpell(445) end
local import = {} import.list = {"importLua", "importTxt", "importJson"} import.baseDirectory = love.filesystem.getSourceBaseDirectory() import.path = import.baseDirectory.."/map/map" function import.txt() local filename = export.path..".txt" if filename ~= nil then grid.map = {} for line in io.li...
local newcclosure = newcclosure or function(f) return f end local getreg = debug.getregistry or getreg if not getreg then warn("Your exploit does not support the functions required for this script") end local pistol local rifle local rocketlauncher local shotgun local ak47 for _,o in pairs(getreg()) do if typeof(o)...
game.ReplicatedStorage.GiveTool:FireServer("Water") --[[ Change water with any drink. Drink List Water Cola Fanta Sparky Surgic Charge Mtn Dew You dont get charged! --]]
return { 0,0,0,0,0,0,0,0,0,0,2024,2025,2026,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2071,2072,2073,2074,2075,2076,2077, 1329,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2106,2107,2108,2109,2110,0, 1329,0,0,0,0,0,1330,0,0,0,1793,1793,1793,0,0,0,0,0,0,0,0,0,778,77...
local myNAME = "merCharacterSheet" local settext = LibGetText(myNAME).settext settext("|c<<1>><<C:2>>|r recently upgraded a riding skill. S/he can train again in <<3>>.", "|c<<1>><<C:2>>|r hat kürzlich eine Reitfähigkeit verbessert. In <<3>> kann <<p:2>> sie erneut steigern.") settext("|c<<1>><<C:2>>|r is rea...
GM.Triggers = {} GM.Triggers.Config = {} GM.Triggers.Entities = {} function GM:AddTrigger( vMin, vMax, Function, bRemoveOnTouch ) if !vMin or !vMax then return end local trigger = { min = vMin, max = vMax, f = Function, rm = bRemoveOnTouch and bRemoveOnTouch or false } table.insert( self.Triggers.Config...
local state = {} state._NAME = ... local vector = require'vector' local Body = require'Body' local t_entry, t_update, t_finish local timeout = 10.0 require'mcm' local qLArm0, qRArm0 function state.entry() print(state._NAME..' Entry' ) -- Update the time of entry local t_entry_prev = t_entry -- When entry was p...
local api = vim.api local M = {} --#region TYPES ---@class HiSpec ---@field fg string ---@field bg string ---@field ctermfg integer ---@field ctermbg integer ---@field gui string ---@field sp string ---@field blend integer ---@field default boolean ---@class HiLinkSpec ---@field force boolean ---@field default ...
local MapConfig = require "config.MapConfig" local TeamModule = require "module.TeamModule" local View = {} function View:Start(data) self.view = CS.SGK.UIReference.Setup(self.gameObject) self.view.bg[UI.Image]:LoadSprite("map/"..MapConfig.GetMapConf(data.map_id).mapImage) self.view.mask[CS.UGUIClickEventListener].o...