content
stringlengths
5
1.05M
-- MoneyMoney extension for DeutschlandCard -- -- -- MIT License -- -- Copyright (c) 2020 Mark Wiesemann -- -- 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 w...
-------------------------------------------------------------------------------- -- -- _ _ _ -- | | | | | | -- | | ___ __ _ __| | | |_ _ __ _ -- | |/ _ \ / _` |/ _` | | | | | |/ _` | -- ...
local vec2d = require('lib.vec2d') local u = require('lib.utility') local clock = { margin = 5 } local font, theme function clock:init(params) font = params.theme.font theme = params.theme end function clock:create(params) params = params or {} local sample_text = '17th Sep(09) 2021 - 08:48:40 PM - Fri' ...
-- compat.lua local _, debug, jit _, debug = pcall(require, "debug") _, jit = pcall(require, "jit") jit = _ and jit local compat = { debug = debug, lua51 = (_VERSION == "Lua 5.1") and not jit, lua52 = _VERSION == "Lua 5.2", luajit = jit and true or false, jit = jit and jit.status(), -- Lu...
-- protocol naming p4_udp = Proto('p4_udp','P4_UDPProtocol') -- protocol fields local p4_udp_src_port = ProtoField.string('p4_udp.src_port','src_port') local p4_udp_dst_port = ProtoField.string('p4_udp.dst_port','dst_port') local p4_udp_len = ProtoField.string('p4_udp.len','len') local p4_udp_checksum = ProtoField.str...
local infoview = require('lean.infoview') local helpers = require('tests.helpers') local fixtures = require('tests.fixtures') local position = require('lean._util').make_position_params helpers.setup { infoview = { autoopen = true }, lsp = { enable = true }, lsp3 = { enable = true }, } describe('infoview pin', ...
local Skin = { } Skin.Base = "Wand" Skin.Description = [[ Generic Description ]] Skin.ViewModel = Model("models/hpwrewrite/custom/c_hagridwand.mdl") Skin.WorldModel = Model("models/hpwrewrite/custom/w_hagridwand.mdl") Skin.NodeOffset = Vector(1890, 20, 0) Skin.HoldType = "pistol" function Skin:AdjustSpritePositio...
Config = {} Config.Itemy = { { item = 'bandaz', -- Nazwa itemu <--- heal = 15, -- Ile hp dodać (podstawowo ped ma 200 o ile sie nie myle) <--- czas = 2, -- Czas "bandażowania sie" w sekundach <--- timetocan = 5 -- Czas w sekundach po ilu znowu będzie można użyć itemu (zalecam w...
local dump = {} local undump = require "luainlua.bytecode.undump" -- needed for sizet info local opcode = require "luainlua.bytecode.opcode" local writer = require "luainlua.bytecode.writer" local utils = require 'luainlua.common.utils' local function generic_list(ctx, list, serializer, size) local n = #lis...
tmr.alarm(1,3000,1,function() --start web ide, after run this code, go to: http://i.nodeusb.com local ip = wifi.sta.getip() if(ip==nil) then print("Offline") else print(ip) require("d").r(ip,wifi.sta.getmac()) ip=nil tmr.stop(1) tmr.alarm(0,6000,0,function() dofile("i.lc") end) t...
object_tangible_deed_guild_deed_corellia_guild_03_deed = object_tangible_deed_guild_deed_shared_corellia_guild_03_deed:new { } ObjectTemplates:addTemplate(object_tangible_deed_guild_deed_corellia_guild_03_deed, "object/tangible/deed/guild_deed/corellia_guild_03_deed.iff")
depthShadow=false -- these setting will be auto-detected below stencilShadow=true local st=RE.ogreSceneManager():getShadowTechnique() if st==34 then stencilShadow=false elseif st==37 then stencilShadow=false depthShadow=true end function shadowMaterial(input) if depthShadow then return input.."_depthshad...
return { alert = function() ALERT("Hello, world!") end; }
local parameterLv = 0 -- PKG: Begin at 0 local shapeCounter = 0 local layerCounter = 1 -- MUST Begin at 1 local parameterCnt = 1 -- MUST Begin at 1 local staticSegBuf = {} local layerOutputs = {} local _ctrlfp = io.stdout local makeLayer = function(t, paraNum) t.layerId = layerCounter layerCounter = layerCounter ...
-- --Tools -- minetest.register_tool("gocm_carbon:mese_diamond_pick", { description = "Mese Diamond Pick", inventory_image = "tgg_recompressed_pickaxe.png", tool_capabilities = { full_punch_interval = 0.8, max_drop_level=3, groupcaps={ cracky = {times={[1]=1.50, [2]=0.75, [3]=0.35}, uses=40, maxlevel=3}, ...
package.path = "src/?.lua;"..package.path async = require("Luaseq").async mutex = require("Luaseq").mutex local function errcheck(perr, f, ...) local ok, err = pcall(f, ...) assert(not ok and not not err:find(perr)) end -- Task do -- test multiple coroutines waiting on a task local t = async() local sum = 0 ...
local log = libshit.log local type, select, concat, tostring = type, select, table.concat, tostring local function pack(...) return select('#', ...), {...} end -- fix l = log("foo") l:info(...) support local old_check_log = log.check_log function log.check_log(name, level) if type(name) ~= "string" then name = na...
hp = 1000 attack = 275 defense = 210 speed = 55 mdefense = 250 luck = 40 strength = ELEMENT_NONE weakness = ELEMENT_NONE function initId(id) myId = id end function start() end function get_action(step) return COMBAT_ATTACKING, 1, getRandomPlayer() end function die() end
do return end do local t= 123 local dd =1231 end function ffff() do local tt= 123 local ccc =1231 end end
local resortPlatformHelper = require("helpers.resort_platforms") local utils = require("utils") local textures = { "default", "cliffside" } local textureOptions = {} for _, texture in ipairs(textures) do textureOptions[utils.titleCase(texture)] = texture end local movingPlatform = {} movingPlatform.name = "...
local cURL = require "cURL" local csv = require "csv" local listfile_url = "https://wow.tools/casc/listfile/download/csv/unverified" local function HTTP_GET(url, file) local data, idx = {}, 0 cURL.easy{ url = url, writefunction = file or function(str) idx = idx + 1 data[idx] = str end, ssl_verifypeer ...
local menubar = require ('menubar') local beautiful = require ('beautiful') local hotkeys_popup = require ('awful.hotkeys_popup') local awful = require ('awful') myawesomemenu = { { "Manual", terminal .. " -e man awesome" }, { "Edit config", editor_cmd .. " " .. awesome.conffile }, { "Quit", function() awesome.quit...
#!lua solution "rover-manager" configurations { "Debug", "Release" } files { "../src/*.cpp", "../include/*.h" } includedirs { "../include", "../deps/phoenix-example/include", "../deps/pistache/include" } project "rover-manager" kind "ConsoleApp" language "...
return function(state, action) state = state or 1 return state end
description = [[ Checks if the website holds a mobile version. ]] --- -- @usage nmap -p80 --script http-mobileversion-checker.nse <host> -- -- This script sets an Android User-Agent header and checks if the request -- will be redirected to a page different than a (valid) browser request -- would be. If so, this page i...
-- Generated By protoc-gen-lua Do not Edit local protobuf = require "protobuf/protobuf" local OUTLOOK_PB = require("OutLook_pb") local ROLETYPE_PB = require("RoleType_pb") module('RoleBriefInfo_pb') ROLEBRIEFINFO = protobuf.Descriptor(); local ROLEBRIEFINFO_TYPE_FIELD = protobuf.FieldDescriptor(); local ROLEBRIEFINFO...
local utils = require('restructure.utils') local Pointer = {} Pointer.__index = Pointer local VoidPointer = {} VoidPointer.__index = VoidPointer function Pointer.new(offsetType, type, options) local p = setmetatable({}, Pointer) p.offsetType = offsetType p.options = options or {} p.type = type if p.type =...
-- 移動モジュール local Movement = {} -- 初期化 function Movement:initialize(x, y) -- 現在の座標 self.x = x or self.x or 0 self.y = y or self.y or 0 -- 移動先 self.movement = { x = 0, y = 0, startX = self.x, startY = self.y, endX = self.x, endY = self.y, dura...
//All the folders you see here have files that are usually blank, and are mostly unnecessary for first release. //They are simply what needs to be accomplished in time. //Priority wise, work on scoreboard, hud, classes, teams, and menus first. //Classes and teams are just there to help keep the files smaller and neater...
-- -- -- Gaussian.lua -- Created by Andrey Kolishchak on 2/14/16. -- -- -- Gaussian sampler Module -- input = {mu, log(sigma^2)} = {mu, log_sq_sigma} -- y = mu + sqrt(exp(log_sq_sigma))*z = mu + exp(0.5*log_sq_sigma))*z, z ~ N(0,1) -- local Gaussian, parent = torch.class('nn.Gaussian', 'nn.Module') function Gaussian...
--------------------------------------------------- ------- class Mover -- constructor Mover = class( function(this,_m,_x,_y) this.loc = of.Vec2f(_x,_y) this.vel = of.Vec2f(1,0) this.acc = of.Vec2f(0,0) this.mass = _m end ) function Mover:applyForce(force) f = of.Vec2f() f = force / self.mass self.acc = ...
function start(this_id) id = this_id is_bisou = get_entity_name(id) == "bisou" end function get_should_auto_attack() local name = get_entity_name(id) local melee_attack_name if (name == "egbert") then melee_attack_name = "SLASH" elseif (name == "frogbert") then melee_attack_name = "KICK" else melee_attack...
-- id int 阵营ID -- camp_relations tableString[k:#seq|v:#1(int)] 和阵营1关系(玩家) return { [1] = { id = 1, camp_relations = { [1] = 2, [2] = 1, [3] = 0, }, }, [2] = { id = 2, camp_relations = { [1] = 1, [2] = 2, [3] ...
local MaintenancePolicy = require('apicast.policy.maintenance_mode') describe('Maintenance mode policy', function() describe('.rewrite', function() before_each(function() stub(ngx, 'say') stub(ngx, 'exit') ngx.header = {} end) context('when using the defaults', function() local m...
Locales['br'] = { ['robbery_cancelled'] = 'O roubo será cancelado, você não ganhará nada!', ['robbery_successful'] = 'O roubo foi um sucesso. Você ganhou ~g~$', ['shop_robbery'] = 'Loja roubavel', ['press_to_rob'] = 'Pressione ~INPUT_CONTEXT~ para roubar ~b~', ['robbery_of'] = 'Loja roubavel: ~r~', ['seconds_rem...
--- Provides utilities for working with Roblox's streaming system -- @module StreamingUtils -- @author Quenty local require = require(script.Parent.loader).load(script) local Promise = require("Promise") local StreamingUtils = {} function StreamingUtils.promiseStreamAround(player, position, timeOut) assert(typeof(...
tcg13 = { minimumLevel = 0, maximumLevel = -1, customObjectName = "Dooku Bust ", directObjectTemplate = "object/tangible/tcg/series1/decorative_dooku_bust.iff", craftingValues = { }, customizationStringNames = {}, customizationValues = {} } addLootItemTemplate("tcg13", tcg13)
workspace "chappy" architecture "x64" configurations { "Debug", "Release", "Dist" } outdir = "%{cfg.buildcfg}-%{cfg.system}-${cfg.architecture}" project "chappy" location "chappy" kind "SharedLib" language "C++" targetdir ("bin/" .. outdir .. "/%{prj.name}") o...
---@class CS.FairyEditor.FObjectFlags ---@field public IN_DOC number ---@field public IN_TEST number ---@field public IN_PREVIEW number ---@field public INSPECTING number ---@field public ROOT number ---@type CS.FairyEditor.FObjectFlags CS.FairyEditor.FObjectFlags = { } ---@return CS.FairyEditor.FObjectFlags function ...
function trunc(x) return x>=0 and math.floor(x) or math.ceil(x) end --[[ (a + b * 10 + c * 100) * (d + e * 10 + f * 100) = a * d + a * e * 10 + a * f * 100 + 10 * (b * d + b * e * 10 + b * f * 100)+ 100 * (c * d + c * e * 10 + c * f * 100) = a * d + a * e * 10 + a * f * 100 + b * d * 10 + b * e * 100 + b...
local spring_path_0 = DoorSlot("spring_path","0") local spring_path_0_hub = DoorSlotHub("spring_path","0",spring_path_0) spring_path_0:setHubIcon(spring_path_0_hub)
object_tangible_smuggler_finely_crafted_toolset = object_tangible_smuggler_shared_finely_crafted_toolset:new { } ObjectTemplates:addTemplate(object_tangible_smuggler_finely_crafted_toolset, "object/tangible/smuggler/finely_crafted_toolset.iff")
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") AddCSLuaFile("remap.lua") include('shared.lua') include('remap.lua') ENT.WireDebugName = "Wired Keyboard" local All_Enums = {} -- table containing key -> key enum conversion -- Add a few common keys for i = 48, 57 do -- 0 -> 9 All_Enums[i] = _G["KEY_" .. strin...
--- Define an object Feature. --- @class Feature Feature = {} Feature.__index = Feature local log = dofile("Log.lua") --- The constructor of the object Feature --- @param i string The MIB of the current Feature --- @param p function The post-condition necessary to checking --- @return Feature The new Feature just cre...
-- Add a new entity, item, and recipe into the game, -- such that we set a recipe from the circuit network. local assembler_commandor_e = { type = "inserter", -- We use an inserter such that we can find the position of the assembling machine. name = "assembler-commandor", icon = "__base__/graphics/icons/stack-fi...
local types = require 'lulz.types' local class = require 'lulz.types.class' local I = require 'lulz.types.interfaces' local generator = require 'lulz.generator' local str = require 'lulz.str' local stack = class { __name__ = 'stack', __init__ = function(self) rawset(self, '_values', {}) end, __tostring ...
local playsession = { {"Gerkiz", {627450}}, {"Ardordo", {712179}}, {"mewmew", {266752}}, {"alexbw", {710492}}, {"Sigor", {355213}}, {"Zorzzz", {679678}}, {"okan009", {674937}}, {"jobaxter", {588003}}, {"everLord", {571398}}, {"xelaf", {399723}}, {"realDonaldTrump", {535508}}, {"Nikkichu", {411829}}, {"Soei...
local what local function mm(a, b) local dbg = debug.getinfo(1) what = dbg.namewhat == "metamethod" and dbg.name or dbg.namewhat.." "..(dbg.name or "?") end local function ck(s) assert(what == s, "bad debug info for metamethod "..s) end local mt = { __index = mm, __newindex = mm, __eq = mm, __a...
local foxtree = {} local function GetNextLevel(t) local myarray = {} for k,v in ipairs(t.child) do table.insert(myarray, v) -- print("Possisble action/priority: " .. v.goal, v.priority()) end return myarray end function foxtree.DetermineAction(t, bot) -- returns an enum.goal (inte...
--- Command definitions. -- @module invokation.const.commands local M = {} --- Command definition. -- @table CommandDefinition -- @tfield string name Command name -- @tfield string method `GameMode` method name -- @tfield string help Command help -- @tfield int flags Command flags -- @tfield bool dev Only registered i...
if vim.b.did_ftp == true then return end if vim.g.vimrc_rust_loaded_plugins == nil and vim.o.loadplugins then vim.cmd([[packadd tagbar]]) vim.cmd([[packadd rust.vim]]) vim.g.vimrc_rust_loaded_plugins = true end vim.wo.signcolumn = "yes" vim.bo.suffixesadd = ".rs" vim.opt_local.cursorline = false vim.o...
local function run (msg, matches)   if matches [1]: lower () == "github>" then     local dat = https.request ( "https://api.github.com/repos/" ..matches [2])     local jdat = JSON.decode (dat)     if jdat.message then       return "address is not correct."       end     local base = "curl 'https://codeload.github.com/"...
-- Copyright (C) 2019 by davin local headers = ngx.req.get_headers() local raw_headers = 'N/A for HTTP/2' --ngx.log(ngx.ERR, 'http2=[',ngx.var.http2,']') if #ngx.var.http2 == 0 then raw_headers = ngx.req.raw_header() end local str = {} for k,v in pairs(headers) do --ngx.say(k, "\t\t\t\t=>", v) --ngx.say...
-- -- basic shader for cells where there is no other specific type to the contents -- return { label = "Cell", version = 1, frag = [[ uniform float border; uniform float obj_opacity; uniform vec2 obj_output_sz; uniform vec2 obj_storage_sz; uniform sampler2D map_tu0; uniform float width; uniform float height;...
---@meta resty_sha384={} function resty_sha384.final(self) end function resty_sha384.new(self) end function resty_sha384.reset(self) end resty_sha384._VERSION="0.11" function resty_sha384.update(self, s) end return resty_sha384
local screenWidth, screenHeight = guiGetScreenSize() serviceLightOn=false serviceStatus="Off" function createText() if serviceLightOn==true then exports.CSGpriyenmisc:dxDrawColorText( "#eeeeeeTaxi Service:#e50005 "..serviceStatus.."", screenWidth*0.09, screenHeight*0.95, screenWidth, screenHeight, tocolor (...
require("prototypes.techs")
 local t = {}; for i = 1,10000,1 do t[i] = i; end; local sum = 0; for i = 1,10000,1 do sum = sum + t[i]; end;
optionsActions = {} --7 - 16 function optionsActions.enableSounds (value) enableSound = value end function optionsActions.smoothCamMove (value) local loaded = freecam.setFreecamOption ( "smoothMovement", value ) if ( loaded ) then setFreecamSpeeds() else addEventHandler ( "onClientResourceStart", getRootEleme...
local fs = require 'nelua.utils.fs' local tabler = require 'nelua.utils.tabler' local version = {} -- Version number. version.NELUA_VERSION_MAJOR = 0 version.NELUA_VERSION_MINOR = 2 version.NELUA_VERSION_PATCH = 0 version.NELUA_VERSION_SUFFIX = 'dev' -- This values are replaced on install. version.NELUA_GIT_BUILD = 0...
os.execute(arg[-1]..' ../tests/test.lua') os.execute(arg[-1]..' ../tests/test-lom.lua')
local http = require("socket.http") local orphans = {} local list_url = 'https://api.vultr.com/v1/server/list' local headers = {} headers['API-KEY'] = os.getenv('VULTR_API_KEY') local servers = http.request(list_url)
-- Update dimension references to account for intermediate supervision ref.predDim = {dataset.nJoints,5} ref.outputDim = {} paths.dofile('../models/layers/FusionCriterion.lua') criterion = nn.ParallelCriterion() for i = 1,opt.nStack do ref.outputDim[i] = {dataset.nJoints, opt.outputRes, opt.outputRes} criterio...
local guide = require 'parser.guide' local vm = require 'vm.vm' local files = require 'files' local function getGlobalsOfFile(uri) local globals = {} local ast = files.getAst(uri) if not ast then return globals end local env = guide.getENV(ast.ast) local results = guide.requestFields...
local keyboard = {up='up',left='left',right='right',down='down',confirm='enter',attack='a',jump='space'} function keyboard.isPressing(actionKey) return love.keyboard.isDown(keyboard[actionKey]) end function keyboard.getDirection() local x,y if love.keyboard.isDown(keyboard.down) then y=1 elseif love.keyboard.is...
--===========================================================================-- -- Greek -- --===========================================================================-- local translit = thirddata.translit local pcache = translit.parser_cache lo...
TOOL.Category = "Construction" TOOL.Name = "#tool.balloon.name" TOOL.ClientConVar[ "ropelength" ] = "64" TOOL.ClientConVar[ "force" ] = "500" TOOL.ClientConVar[ "r" ] = "255" TOOL.ClientConVar[ "g" ] = "255" TOOL.ClientConVar[ "b" ] = "0" TOOL.ClientConVar[ "model" ] = "models/MaxOfS2D/balloon_cla...
local ROC = {} -- the original version had a problem, as it was not using all the thresholds. In Sklearn they use all the unique values as threshold, and thus the results are slightly lower, but (I think) more correct. -- anyway now this script matches the sklearn so the reported results are comparable. You can change...
-- {{{ Globals json = require("goluago/encoding/json") strings = require("goluago/strings") word_sep_chars = "()[]{}\"\'\\/ " word_sep_chars_with_punctuation = "()[]{}.\"\'\\/ _-" word_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789._-" buffers = {} keymaps = {} settings = {} commands = {} roo...
-- nvim-mapper local M = {} -- Set a mapping local function map(virtual, buffnr, mode, keys, cmd, options, category, unique_identifier, description) if vim.g.mapper_records == nil then vim.g.mapper_records = {} end local buffer_only if buffnr == nil then buffer_only = false ...
data:extend({ { type = "item-subgroup", name = "programmable-combinator-signal", group = "signals", order = "z[programmable-combinator-signal]" }, { type = "virtual-signal", name = "programmable-combinator-channel", icon = MOD_NAME.."/graphics/programmable-combinator-channe...
local CreateThread = CreateThread local Wait = Wait local GetPlayerServerId = GetPlayerServerId local GetPlayerName = GetPlayerName local GetGameTimer = GetGameTimer local GetFrameCount = GetFrameCount CreateThread(function() local playerId = PlayerId() local largeText = GetPlayerName(playerId) local id =...
#!/bin/sh _=[[ . "${0%%/*}/regress.sh" exec runlua "$0" "$@" ]] require"regress".export".*" local context = require"openssl.ssl.context" local function starttls(autoflush, pushback) local cq = cqueues.new() local A, B = check(fileresult(socket.pair())) local cv = condition.new() local key, crt = genkey() local...
--Autoresearch configuration --Allows setting a custom amount of turrets/systems for each rarity level. --If set to 0 the item will never be processed --Subsystems --Petty SSPetty = 3; --Common SSCommon = 5; --Uncommon SSUncommon = 5; --Rare SSRare = 5; --Exceptional SSExceptional = 5; --Exotic SSExotic = 5; --Legendar...
-- roles.lua : -- LICENSE: The MIT License (MIT) -- -- Copyright (c) 2016 Pascal TROUVIN -- -- For Microsoft Azure -- Author: Pascal Trouvin -- -- History: -- 20160203: 1st version -- import requirements -- allow either cjson, or th-LuaJSON -- resty-session https://github.com/bungle/lua-resty-sessio...
local F, C, L = unpack(select(2, ...)) local INFOBAR = F:GetModule('Infobar') local format, pairs, wipe, unpack = string.format, pairs, table.wipe, unpack local CLASS_ICON_TCOORDS = CLASS_ICON_TCOORDS local GetMoney = GetMoney local GetContainerNumSlots, GetContainerItemLink, GetItemInfo, GetContainerItemInfo, UseCon...
package.path = package.path .. ';../../?.lua' require 'EasyLD' local Player = require 'Player' local i = 1 WINDOW_WIDTH = 1200 WINDOW_HEIGHT = 900 function EasyLD:load() EasyLD.window:resize(WINDOW_WIDTH, WINDOW_HEIGHT) tl = EasyLD.tileset:new("assets/tileset.png", 32) maps = {} maps[1] = EasyLD.map:new("ass...
--Preemptively adds triangles to the world and reuses them to reduce load local buffer = 5000 local TriStorage = {} local tris = {} local container = Instance.new("Model", workspace) container.Name = "triBinContainer" function TriStorage.add(tri) if not tri then tri = Instance.new("WedgePart") end tri.Anchored...
include "Dependencies.lua" workspace "UnitWorld" architecture "x86_64" startproject "Sandbox" configurations { "Debug", "Release" } flags { "MultiProcessorCompile" } outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}" group "Dependencies" include "Vega/vendor/glfw" ...
local __exports = LibStub:NewLibrary("ovale/SpellFlash", 80300) if not __exports then return end local __class = LibStub:GetLibrary("tslib").newClass local __Localization = LibStub:GetLibrary("ovale/Localization") local L = __Localization.L local aceEvent = LibStub:GetLibrary("AceEvent-3.0", true) local _G = _G local G...
local definitions = require('utils.definitions') local getAction = require('utils.get_action') local log = require('utils.log') local format = require('utils.format') local reaper_utils = require('custom_actions.utils') local state_interface = require('state_machine.state_interface') local runner = {} function runAc...
-- Ribbon trail demo. -- This sample demonstrates how to use both trail types of RibbonTrail component. require "LuaScripts/Utilities/Sample" local boxNode1 = nil local boxNode2 = nil local swordTrail = nil local ninjaAnimCtrl = nil local timeStepSum = 0.0 local swordTrailStartTime = 0.2 local swordTrailEndTime = 0.4...
--[[ This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:28' 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...
dofile('/home/deepanshu/acads/summer-18/p4-traffictools/samples/basic_postcards/output/wireshark/basic_postcards_1_ipv4.lua') dofile('/home/deepanshu/acads/summer-18/p4-traffictools/samples/basic_postcards/output/wireshark/basic_postcards_2_udp.lua') dofile('/home/deepanshu/acads/summer-18/p4-traffictools/samples/basic...
return { { effect_list = { { type = "BattleBuffAddAttrRatio", trigger = { "onAttach", "onRemove" }, arg_list = { attr = "dodgeRate", number = -500 } } } }, { effect_list = { { type = "BattleBuffAddAttrRatio", trigger = { "onAttach", "onRemove" ...
-------------------------------------------------------------------------------- -- Color -------------------------------------------------------------------------------- IMPORT(Script.CLASS) -------------------------------------------------------------------------------- Color = class(function(color, r, g, b) col...
-- The file is in public domain -- nyfair (nyfair2012@gmail.com) local ffi = require 'ffi' ffi.cdef[[ int mkdir(const char*, int); ]] function ls(pattern) local files = {} if pattern == nil then pattern = './*' end local output = assert(io.popen('ls '..pattern:gsub(' ', '\\ '))) for line in output:lines() do ...
GUI = {} Menu = {} Menus = {} --==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-- --==============================================================================================-- -- Settings ...
--[[ ______ _ _ | ___ \ | | | | | | _ | | ____| |_ _ ____ _ | | ___ | || || |/ _ | | | | / _ |/ || |/ _ \ | || || ( ( | | |\ V ( ( | ( (_| | |_| | |_||_||_|\_||_|_| \_/ \_||_|\____|\___/ malvado - A game programming library with "DIV Game Studio"-style ...
local name, SPELLDB = ... SPELLDB.PALADIN = {} SPELLDB.PALADIN.HOLY = {} SPELLDB.PALADIN.PROTECTION = {} SPELLDB.PALADIN.RETRIBUTION = {} SPELLDB.PALADIN.HOLY.spells = { 208683, 53563 --[[Beacon of Light--]], 4987 --[[Cleanse--]], 26573 --[[Consecration--]], 35395 --[[Crusader Strike--]], ...
local module = {} local accessories = require(script.Parent.Accessories) local creation_list = { 'Astolfus', 'Awesome', 'Bed', 'Black', 'Boy', 'Charming', 'Cinnamon', 'Equinox', 'Merry', 'Messy', 'Ponytail', 'Scene', 'Shaggy', 'SpikyBed' } function module.Wear(info, item) return accessories.Wear(inf...
local inputCode = { 1102,34463338,34463338,63,1007,63,34463338,63,1005,63,53,1102,3,1,1000,109,988,209,12,9,1000,209,6,209,3,203,0,1008,1000,1,63,1005,63,65,1008,1000,2,63,1005,63,904,1008,1000,0,63,1005,63,58,4,25,104,0,99,4,0,104,0,99,4,17,104,0,99,0,0,1101,0,33,1017,1101,24,0,1014,1101,519,0,1028,1102,34,1,1004,110...
-- -- tests/premake5.lua -- Automated test suite for Premake 5.x -- Copyright (c) 2008-2013 Jason Perkins and the Premake project -- dofile("testfx.lua") -- -- Some helper functions -- test.createsolution = function() local sln = solution "MySolution" configurations { "Debug", "Release" } local prj = projec...
function love.conf(t) t.window.width = 1200 t.window.height = 700 t.console = true end
--- Demo all that FDoc has to offer. -- -- Triple ticks will be automatically recognized as an example. -- ``` -- -- Some example. This comment will appear in the example. -- test(123, player, { test = true }) -- ``` -- -- You can continue writing description after examples. -- All lines that begin with @ will be t...
--- Contains the entire world connection graph local GameContext = require('classes/game_context') local World = require('classes/world/world') GameContext:add_serialize_hook('world', function(self, copy, k, v) copy[k] = v:serialize() end) GameContext:add_deserialize_hook('world', function(cls, serd, copy, k, v) c...
#! /usr/bin/env lua -- -- Copyright (c) 2010 The NetBSD Foundation, Inc. -- All rights reserved. -- -- This code is derived from software contributed to The NetBSD Foundation -- by Alistair Crooks (agc@netbsd.org) -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted p...
function applyMods() ---------------------- -- Pig Pen Interior -- ---------------------- -- Bar pigpen1 = engineLoadTXD("ls/lee_stripclub1.txd") engineImportTXD(pigpen1, 14831) -- corver stage + seat pigpen2 = engineLoadTXD("ls/lee_stripclub.txd") engineImportTXD(pigpen2, 14832) -- Backwall seat...
ITEM.name = "Modafine Tablets" ITEM.description = "A small blister packet." ITEM.longdesc = "Modafine is a mixture of drugs consisting of a strong nerve agent as well as other stabilizing drugs, often used by STALKERs to cleanse their minds. Shortly after ingesting, a harsh physical discomfort will wash over the user. ...
--[[Player commands: Warp players to you Return players to previous position (Un)Freeze events players Enable/disable weapons Set players health to 10 Enable/Disable players collision Enable/disable players damage Show/Hide players blips Disable/Enable team damage Vehicles Commands: (Un)freeze event vehicles Enable/Di...