content
stringlengths
5
1.05M
BigWigs:AddSounds("Ivanyr", { [196392] = "Long", [196562] = "Alarm", [196805] = "Info", }) BigWigs:AddSounds("Corstilax", { [195804] = "Info", [196068] = "Alarm", [196115] = "Alert", [220481] = "Alarm", }) BigWigs:AddSounds("General Xakal", { [197810] = "Alert", [212030] = "Alarm", ["dread_felbat"] = "Info...
local World, super = Class(Object) function World:init(map) super:init(self) self.layers = { ["tiles"] = 0, ["objects"] = 1, ["below_soul"] = 100, ["soul"] = 200, ["above_soul"] = 300, ["below_bullets"] = 300, ["bullets"] ...
VolumeLaplacian = {} setmetatable(VolumeLaplacian, {__index = HiveBaseModule}) VolumeLaplacian.new = function (varname) local this = HiveBaseModule.new(varname) local vf = LoadModule("VolumeFilter") this.vf = vf setmetatable(this, {__index=VolumeLaplacian}) return this end function VolumeLaplacian:D...
MaskMaterialModule = MaskMaterialModule or class(ItemModuleBase) MaskMaterialModule.type_name = "MaskMaterial" function MaskMaterialModule:init(...) self.clean_table = table.add(clone(self.clean_table), {{param = "pcs", action = "no_number_indexes" }}) self.required_params = table.add(clone(self.required_param...
--[[-- - MIT License - Copyright (c) 2020 NeilKleistGao - 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, me...
local XmlParser = require("examples.util.XmlParser"); local boner = require(LIBNAME); -- Debug local function print_r(t, func, i, found) func = func or print; i = i or 1; if (i == 1) then func("{"); end found = found or {}; local tabs = string.rep(" ", i); found[t] = true; for k, v in pairs(t) do if (type(...
pg = pg or {} pg.CriMgr = singletonClass("CriMgr") pg.CriMgr.Category_CV = "Category_CV" pg.CriMgr.Category_BGM = "Category_BGM" pg.CriMgr.Category_SE = "Category_SE" pg.CriMgr.C_BGM = "C_BGM" pg.CriMgr.C_VOICE = "cv" pg.CriMgr.C_SE = "C_SE" pg.CriMgr.C_BATTLE_SE = "C_BATTLE_SE" pg.CriMgr.C_GALLERY_MUSIC = "C_GALLERY_M...
data:extend({{ type = "technology", name = "electric-energy-power-decoupler", icon_size = 128, icon = "__power-decoupler__/graphics/technology/fast-accu-tech.png", localised_name = {"technology-name.electric-energy-power-decoupler"}, effects = { { type = "unlock-recipe", ...
local BetViewCtr = class("BetViewCtr",cc.load("boyaa").mvc.BoyaaCtr); local DeskView = require("app.demo.DowneyTang.DeskView.DeskView") local DeskViewConfig = require("app.demo.DowneyTang.DeskView.DeskViewConfig") local DeskViewBehavior = require("app.demo.DowneyTang.DeskView.DeskViewBehavior") local BigChipView...
local LineEmitter = require('../lib/emitter').LineEmitter local exports = {} exports['test_line_emitter_single_chunk'] = function(test, asserts) local count = 0 local lines = {'test1', 'test2', 'test3', 'test4'} local le = LineEmitter:new() le:on('data', function(line) count = count + 1 asserts.equal...
function Gromtor_OnEnterCombat(Unit,Event) Unit:FullCastSpellOnTarget(26281,Unit:GetClosestPlayer()) Unit:RegisterEvent("Gromtor_SunderArmor", 120000, 0) Unit:RegisterEvent("Gromtor_ShieldWall", 22000, 0) Unit:RegisterEvent("Gromtor_ShieldBlock", 40000, 0) Unit:RegisterEvent("Gromtor_HeroicStrike", 4000, 0) Unit:...
local GameBase = require "GameBase" local GameMetroid = GameBase:new() function GameMetroid:new(o, id, next_id, session) o = o or GameBase:new(o) setmetatable(o, self) self.__index = self self.id = id self.next_id = next_id self.name = "metroid" self.full_name = "Metroid" self.item_che...
--Script made by Diemiers#4209-Qwerty#9972 --Method by Roblox local v =96000000 --Maximal bit stream on client -- (96000000 - 12) -- Maximal bit stream that server accept +-2 local msg = ""..string.rep(" ",(v - 12)) game.Players:Chat(msg)
local theme={colors={normal={blue={0.21176470588235,0.63137254901961,0.4,1},green={0.49019607843137,0.5921568627451,0.14901960784314,1},cyan={0.35686274509804,0.6156862745098,0.28235294117647,1},white={0.57254901960784,0.56862745098039,0.50588235294118,1},red={0.72941176470588,0.3843137254902,0.21176470588235,1},magent...
-------------------------------------------------------------------------------- -- autogen.lua, v0.3.1: has codes in strings for autogenerating CRUDS based on sailor models -- This file is a part of Sailor project -- Copyright (c) 2014 Etiene Dalcol <dalcol@etiene.net> -- License: MIT -- http://sailorproject.org -----...
----------------------------------- -- Area: Bastok Markets -- NPC: Umberto -- Type: Quest NPC -- Involved in Quest: Too Many Chefs -- !pos -56.896 -5 -134.267 235 ----------------------------------- local ID = require("scripts/zones/Bastok_Markets/IDs"); ----------------------------------- function onTrade(player,n...
local snax = require 'skynet.snax' return { post = function(self) if lwf.auth.user == 'Guest' then ngx.print(_('You are not logined!')) return end ngx.req.read_body() local post = ngx.req.get_post_args() assert(post.device and post.output and post.value) local cloud = snax.queryservice('cloud') ...
require 'hdf5' require 'torch' include '../utils/shortcut.lua' require 'deptreeutils' require 'sorthdf5' local function getOpts() local cmd = torch.CmdLine() cmd:text('== convert dependency trees to hdf5 format ==') cmd:text() cmd:text('Options:') cmd:option('--dataset', '', 'the resulting dataset (.h5)') ...
local M = {} local fmt = string.format ---@class DebugOpts ---@field logging boolean ---@class GroupOptions ---@field toggle_hidden_on_enter boolean re-open hidden groups on bufenter ---@class GroupOpts ---@field options GroupOptions ---@field items Group[] ---@class BufferlineOptions ---@field public view string ...
print(a); print(b); print(c);
require 'jps' function testSimple() local map={ { 1, 1, 1, 1, 1, 1 }, { 1, 1, 1, 1, 1, 1 }, { 1, 1, 1, 1, 1, 1 }, { 1, 1, 1, 1, 1, 1 }, { 1, 1, 1, 1, 1, 1 } } local pathable = function(x, y) return map and y <= #map and map[y] and x <= #map[y] and map[y][x] and map[y][x] == 1 end local chec...
msg = Instance.new("Message", game.Workspace) msg.Text = "The world is ending!" wait(3) msg.Text = "Save your childrens before it's too late!!!" wait(3) msg:Destroy()
return {'bukken','buks','buksboom','bukskin','buken','bukkems','bukman','buk','buksbomen','buksen','bukt','bukte','bukten','bukkend'}
object_draft_schematic_weapon_component_new_weapon_comp_gas_cartridge_advanced = object_draft_schematic_weapon_component_shared_new_weapon_comp_gas_cartridge_advanced:new { } ObjectTemplates:addTemplate(object_draft_schematic_weapon_component_new_weapon_comp_gas_cartridge_advanced, "object/draft_schematic/weapon/comp...
-- core.lua - OCR switch core local cqueues = require('cqueues') local _CORE = {} function _CORE.new(config_file) local self = { async = cqueues.new() } local _plugins = {} self.config = require('configurator').new(config_file) { plugin = 'list', switch = 'scalar', } -- Subsystems: -- self.switch = ...
local cpml = require "cpml" local anim = { _LICENSE = "anim9 is distributed under the terms of the MIT license. See LICENSE.md.", _URL = "https://github.com/excessive/anim9", _VERSION = "0.1.1", _DESCRIPTION = "Animation library for LÖVE3D.", } anim.__index = anim local function calc_bone_matrix(p...
--[[ 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...
strBatchList = "ACQ_macrolua.mis;Q_far_mk_link_sa2.mis"
local playsession = { {"mewmew", {245579}}, {"Biker", {1184}}, {"Quadrum", {426744}}, {"Delqvs", {125502}}, {"nix0n", {11550}}, {"zbirka", {1178}}, {"ZoeAustin", {780}}, {"Esquired25", {9860}}, {"CheeseLord", {25754}}, {"strongfive", {4423}}, {"everLord", {1075}}, {"jer93", {28825}}, {"Kalkune", {1030}}, ...
--夜雀¤白泽球 function c22220005.initial_effect(c) aux.EnablePendulumAttribute(c) --pos local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(22220005,1)) e2:SetCategory(CATEGORY_POSITION) e2:SetType(EFFECT_TYPE_QUICK_O) e2:SetRange(LOCATION_PZONE) e2:SetProperty(EFFECT_FLAG_CARD_TARGET) e2:SetCode(EVENT_F...
return { name = 'ArcType', description = 'Different types of arcs that can be drawn.', constants = { { name = 'pie', description = 'The arc is drawn like a slice of pie, with the arc circle connected to the center at its end-points.', }, { name = '...
object_tangible_furniture_flooring_tile_frn_flooring_tile_s75 = object_tangible_furniture_flooring_tile_shared_frn_flooring_tile_s75:new { } ObjectTemplates:addTemplate(object_tangible_furniture_flooring_tile_frn_flooring_tile_s75, "object/tangible/furniture/flooring/tile/frn_flooring_tile_s75.iff")
local _2afile_2a = "fnl/conjure/client/fennel/aniseed.fnl" local _2amodule_name_2a = "conjure.client.fennel.aniseed" local _2amodule_2a do package.loaded[_2amodule_name_2a] = {} _2amodule_2a = package.loaded[_2amodule_name_2a] end local _2amodule_locals_2a do _2amodule_2a["aniseed/locals"] = {} _2amodule_locals...
require('plugin') require('options')
--[[ LuCI - Lua Configuration Interface Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> 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 $Id: forward-...
local module = {} module.thingOne = function() print("Thing One is lonely...") end return module
--[[ Keeping track of gold collected in rooms ]]-- local movement = require "player_movement" local goldstatus = { collected = 0, remaining = 0, } function goldstatus.record_room(data, room_index) end function goldstatus.collect(sprite) if sprite ~= nil and sprite.index == goldId then sprite.ind...
registerNpc(2, { walk_speed = 170, run_speed = 390, scale = 62, r_weapon = 0, l_weapon = 0, level = 4, hp = 15, attack = 4, hit = 59, def = 29, res = 13, avoid ...
local M = {} local utils = require('possession.utils') local has_tabby = pcall(require, 'tabby') function M.before_save(opts, name) if not has_tabby then return {} end local tab_names = {} for _, tab in ipairs(vim.api.nvim_list_tabpages()) do local fallback_nil = function() ...
require 'classlib' class.Account() function Account:__init(initial) self.balance = initial or 0 end function Account:deposit(amount) self.balance = self.balance + amount end function Account:withdraw(amount) self.balance = self.balance - amount end function Account:getbalance() return self.balance end...
local SceneEntity = require "njli.statemachine.sceneentity" local MenuSceneEntity = {} MenuSceneEntity.__index = MenuSceneEntity local json = require('json') setmetatable(MenuSceneEntity, { __index = SceneEntity, __call = function (cls, ...) local self = setmetatable({}, cls) self:create(...) ...
--------------------------------------------------------------------------------------------- -- Requirement summary: -- [Policies] Merging rules for "module_config" section -- Clarification: -- Preloaded state meaning -- -- Description: -- Check of merging rules for "module_config" section -- 1. Used preconditions -- ...
-------------------------------------------------------------------------------------------------- ------------------------------------------Overview------------------------------------------------ -------------------------------------------------------------------------------------------------- -- Name: Pu...
-- Функция возвращает следующий ID для первичного ключа указанного спейса function next_id(space) -- {{{ local s = box.space[space] local key = s.name .. '_max_id' local _schema = box.space._schema local tuple = _schema:get{key} local next_id if tuple == nil then _schema:insert{key, 0} next_id = 1 ...
return {'dysenterie','dyslecticus','dyslectisch','dyslexie','dyspepsie','dysplasie','dystrofie','dysartrie','dyslectici','dyslectische','dysplasieen'}
----------------------------------- -- Area: Yhoator Jungle -- NM: Bright-handed Kunberry ----------------------------------- mixins = { require("scripts/mixins/families/tonberry"), require("scripts/mixins/job_special") } require("scripts/globals/regimes") ----------------------------------- function onMobDe...
modifier_centaur_charge_displacement = class({}) function modifier_centaur_charge_displacement:OnCreated(params) if IsServer() then self.origin = self:GetParent():GetAbsOrigin() self.stun_duration = 0.5 self.fading_slow_duration = 5.0 self.fading_slow_pct = 100 end end function modifier_centaur_charge_displ...
-------------------------------------------------------------------------------- -- Handler.......... : onUpdateFramerate -- Author........... : -- Description...... : -------------------------------------------------------------------------------- -----------------------------------------------------------------...
--Source Detection Things QAC = true local nr = _G["net"]["Receive"] local ns = _G["net"]["Start"] local ns2s = _G["net"]["SendToServer"] local nws = _G["net"]["WriteString"] local nwi = _G["net"]["WriteInt"] local nwt = _G["net"]["WriteTable"] local nwb = _G["net"]["WriteBit"] local nrt = _G["net"]["ReadTabl...
require("util") require("config.config") -- config for squad control mechanics - important for anyone using require("robolib.util") -- some utility functions not necessarily related to robot army mod require("robolib.robotarmyhelpers") -- random helper functions related to the robot army mod require("robolib.Squad") --...
local ffi = require("ffi") require("lj2zydis.ffi.CommonTypes") ffi.cdef[[ /** * @brief Defines the `ZydisRegister` datatype. */ typedef ZydisU8 ZydisRegister; /** * @brief Values that represent `ZydisRegister` elements. */ enum ZydisRegisters { ZYDIS_REGISTER_NONE, // General purpose registers 8-bi...
MusicMoodSelector = { type = "MusicMoodSelector", Editor = { Icon="Music.bmp", }, Properties = { sMood = "", bCrossfade = 1, }, InsideArea=0, InsideAreaRefCount=0, } function MusicMoodSelector:OnSave(props) props.bCrossfade = self.Properties.bCrossfade; end function MusicMoodSelector:OnLoad(props) se...
return PlaceObj("ModDef", { "title", "Fix Shuttles Stuck Mid-Air", "id", "ChoGGi_FixShuttlesStuckMidAir", "steam_id", "1549680063", "pops_any_uuid", "fa1f8a78-767f-4322-a4ff-13f83a354bf9", "lua_revision", 1007000, -- Picard "version", 4, "version_major", 0, "version_minor", 4, "image", "Preview.jpg", "author"...
comp = {"longest", "shortest"} year = {"one third of a ", "one quarter of a ", "one fifth of a ", "one sixth of a ", "one seventh of a ", "one eighth of a"} msg_day = " days" msg_week = {" weeks", " weeks"} msg_month = {" months", " months"} msg_year = " year"
ENT.Base = "dronesrewrite_base" ENT.Type = "anim" ENT.PrintName = "Steel Warrior" ENT.Spawnable = true ENT.AdminSpawnable = true ENT.Category = "Drones Rewrite" ENT.UNIT = "SW" ENT.HUD_hudName = "White Box" ENT.Model = "models/dronesrewrite/warriordr/warriordr.mdl" ENT.Weight = 650 ENT.SpawnHeight = 40 ENT.Speed =...
local mesh_utils = require('mesh/utils') local function write_nodes(f, mesh) f:write('*NODE, NSET=Nall\n') for k = 1, #mesh.nodes do f:write(string.format('%10u,%12.5e,%12.5e,%12.5e\n', k, table.unpack(mesh.nodes[k]))) end end local elemtable = { -- 1st order TETRA4 = ...
local Weather = {} Weather.__index = Weather local TweenService = game:GetService("TweenService") local SoundService = game:GetService("SoundService") local Debris = game:GetService("Debris") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Utilities = ReplicatedStorage:WaitForChild("Utilities") l...
local M = {} local fn = vim.fn function M.setup() local install_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim" if fn.empty(fn.glob(install_path)) > 0 then fn.system({"git", "clone", "--depth", "1", "https://github.com/wbthomason/packer.nvim", install_path}) end end function M.init() r...
-- config: (lint (only format:op-space format:separator-space)) local x,y, z local x = 0,1, 2 local x=0 local x =0 local x = 0 -- ok local x -- dubious, but ok = 0
NabooTheedScreenPlay = CityScreenPlay:new { numberOfActs = 1, screenplayName = "NabooTheedScreenPlay", planet = "naboo", gcwMobs = { {"stormtrooper", "rebel_trooper", -5206.32, 6, 4182.8, 329.254, 0, "", ""}, {"stormtrooper", "rebel_trooper", -4800, 6, 4113, 121.097, 0, "", ""}, {"stormtrooper", "rebel_tro...
return { name = 'TohruMKDM/Tohru-Admin', version = '1.0.0', description = 'A ROBLOX admin script designed with exploits in mind.', tags = {'roblox', 'admin', 'exploit'}, license = 'MIT', author = {name = 'Tohru~ (トール)', email = 'admin@ikaros.pw'}, homepage = 'https://github.com/TohruMKDM/Toh...
local mg = require "moongen" local arp = require "proto.arp" local thread = { arpDevices = {}, flows = {} } local function doesArp(flow) for _,dep in pairs(flow.packet.depvars) do if dep.tbl[1] == "arp" then return true end end return false end local function addIp(dev, ip) -- luacheck: read glo...
height = 5 width = 5 author = "test1" title = "test1" help = "nothing" -- the following shape is the target -- **& -- *&& -- target= "*-&=(-1,0)" map= "**223".. "*44 3".. "55 66".. "7 89&".. "7bb&&".. ""
require("math/math") Obligation={} function Obligation.FluxInFine(self,T,r,Ve,Vn ) if tiNspire.toNumber(T)~=nil then local res="[0,-"..tostring(Ve)..",-"..tostring(Ve); for i = 1,T do local calc = tostring(r).."*"..tostring(Vn) if i==tiNspire.toNumber(T) then res = ...
AddCSLuaFile(); util.AddNetworkString( "cl.replace_prop_to_breakable.warning_menu_open" ); util.AddNetworkString( "sv.replace_prop_to_breakable.duplicator" ); util.AddNetworkString( "sv.replace_prop_to_breakable.adv2duplicator" ); util.AddNetworkString( "sv.replace_prop_to_breakable.clear" ); -- Global CreateConVar("...
local K, _, L = unpack(select(2, ...)) local Module = K:GetModule("Miscellaneous") local _G = _G local pairs = _G.pairs local select = _G.select local string_split = _G.string.split local string_sub = _G.string.sub local table_wipe = _G.table.wipe local tonumber = _G.tonumber local unpack = _G.unpack loca...
return Def.ActorFrame { LoadFont("Common Normal") .. { Text="BPM"; InitCommand=function(self) self:horizalign(right):zoom(0.50) end; }; };
local Dta = select(2, ...) local ReskinWindowSettings = { WIDTH = 315, HEIGHT = 250, CLOSABLE = true, MOVABLE = true, POS_X = "ReskinwindowPosX", POS_Y = "ReskinwindowPosY" } function Dta.ui.buildReskinWindow() local Locale = Dta.Locale local x = Dta.settings.get("ReskinwindowPosX") local y = Dta.settings.ge...
--Start listening for the Alchemy65 connection local socket = require("socket.core") local PORT = 4064 local FAST = 0.0001 local server = nil local connection = nil local isPaused = false local breakpoints = {} local delayCommand = nil function tablelength(T) local count = 0 for _ in pairs(T) do count = count + ...
Person = { --- create a new Person by name --- @param self --- @param name string --- @param nickName string|nil --- @return Person byName = function(self, name, nickName) return { getFormalName = function() return name end, getNickName = function() return nickNam...
#!/usr/bin/env luajit -- (c) 2014 Team THORwIn local ok = pcall(dofile,'../fiddle.lua') if not ok then dofile'fiddle.lua' end local targetvel = {0,0,0} local targetvel_new = {0,0,0} local WAS_REQUIRED local t_last = Body.get_time() local tDelay = 0.005*1E6 local angle_increment = 5*math.pi/180 DEG_TO_RAD = math...
-- -- Send VCS invalidations -- local channel = KEYS[1] local key = KEYS[2] local invals = ARGV[1] local startField = ARGV[2] local startDate = ARGV[3] local lastInvalField = ARGV[4] local invalDate = ARGV[5] local timeout = ARGV[6] redis.call('PUBLISH', channel, invals) redis.call('HSET', key, startField, startDate)...
--- Eva lang module -- API to work with game localization -- @submodule eva local app = require("eva.app") local luax = require("eva.luax") local const = require("eva.const") local utils = require("eva.modules.utils") local events = require("eva.modules.events") local proto = require("eva.modules.proto") local saver...
--------------------------------- --! @file openrtm.lua --! @brief openrtmのモジュールをロードする --------------------------------- --[[ Copyright (c) 2017 Nobuhiko Miyamoto ]] local openrtm = {} --_G["openrtm"] = openrtm --openrtm.Async = require "openrtm.Async" openrtm.BufferBase = require "openrtm.BufferBase" openrtm.Buffe...
local sx, sy = guiGetScreenSize() local uStaff, uWaiters = {} local shownPanel = false local w,h = 262, 552 local selectedWaiter = -1 local activeMenu = 1 local totalPrice = 0 local currentTotalPrice = 500 addEvent("uber-system:showUberPanel", true) addEventHandler("uber-system:showUberPanel", root, function(staff,wa...
addEventHandler("onClientResourceStart", resourceRoot, function() ttWin = guiCreateWindow(0.43, 0.28, 0.19, 0.53, "Trend Topics", true) guiSetVisible(ttWin, false) ttGrid = guiCreateGridList(0.04, 0.05, 0.92, 0.86, true, ttWin) guiGridListAddColumn(ttGrid, "Topic", 0.45) ...
local playsession = { {"Gerkiz", {279947}}, {"jordyys_", {660}}, {"TiTaN", {155486}}, {"Ardordo", {7540}}, {"JailsonBR", {72834}}, {"A-l-a-n", {21485}}, {"Nikkichu", {46909}} } return playsession
local M = {} M._user_options = {} local did_define_codeactions = false M.setup = function(opts) function M._user_options.picker(...) local pickers = require('sqls.pickers') return (pickers[opts.picker] or pickers.default)(...) end vim.cmd [[command! -buffer -range SqlsExecuteQuery lua re...
local reporter = require('apicast.policy.3scale_batcher.reporter') local ReportsBatcher = require('apicast.policy.3scale_batcher.reports_batcher') local lrucache = require('resty.lrucache') local resty_lock = require 'resty.lock' local pairs = pairs local insert = table.insert -- ReportsBatcher uses a shdict. For the ...
AddCSLuaFile() include("karma_tracker/utils/logging.lua") include("karma_tracker/utils/messaging.lua")
local Logger = require("__DedLib__/modules/logger").create() local Player = require("__DedLib__/modules/player") require("scripts.actions") require("scripts.chest_groups") local Config = require("scripts/config") require("scripts.migrations") require("scripts.storage") require("scripts.ui") script.on_init(Storage:o...
local Object = require('core/object') local Game = {} Object:instantiate(Game) function Game:new() self:init() end function Game:init() self.config = {} self.config.playerspeed = 200 self.config.catspeed = 250 self.config.ladderspeed = 200 self.config.spawntime = 6000 self.config.spawnrate = 50 ...
local TableUtil = require("sebaestschjin-tts.TableUtil") local XmlUiFactory = require("sebaestschjin-tts.xmlui.XmlUiFactory") local XmlUiElement = require("sebaestschjin-tts.xmlui.XmlUiElement") ---@class seb_XmlUi_Button : seb_XmlUi_Element ---@class seb_XmlUi_Button_Static ---@overload fun(element: tts__UIButtonEle...
---@class GameTooltipText : Font ---@class GameTooltipTextSmall : Font
#!/usr/bin/env lua -- design -- widget -- { -- -- required -- ['.'] = gui.Window; w = 10; h = 10; -- minw = 0; minh = 0; -- label = ''; -- font/size/color -- -- -- optional -- box = 'up'; -- decoration -- bg = color or image (tile) -- align = gui.North, gui.East, gui.West, gui.South -- gui.G...
-- Game: https://roblox.com/games/4623386862 --[[ Bugs: 1. Spam Escape does not work. Note: 1. Not finished yet! 2. Some maps need special handling that I have not added yet, due to them requiring to do certain things before you can get the item, auto farm, etc. 3. Kill All...
-- Created by Elfansoer --[[ Ability checklist (erase if done/checked): - Scepter Upgrade - Break behavior - Linken/Reflect behavior - Spell Immune/Invulnerable/Invisible behavior - Illusion behavior - Stolen behavior ]] -------------------------------------------------------------------------------- modifier_underlord...
--- --- Generated by EmmyLua(https://github.com/EmmyLua) --- Created by Administrator. --- DateTime: 2020/2/21 10:18 --- local iputils = require "resty.iputils" local protocols_with_subsystem = { http = "http", https = "http", tcp = "stream", tls = "stream" } local http_protocols = {} for p, s in pairs...
TOOL.Category = "Poser" TOOL.Name = "#tool.inflator.name" TOOL.LeftClickAutomatic = true TOOL.RightClickAutomatic = true TOOL.RequiresTraceHit = true TOOL.Information = { { name = "left" }, { name = "right" }, { name = "reload" } } local ScaleYZ = { "ValveBiped.Bip01_L_UpperArm", "ValveBiped.Bi...
require("Framework.event.EventDispatcher") local super = EventDispatcher ---@class UnityLoader UnityLoader = class("Framework.loader.UnityLoader", super) function UnityLoader:ctor() end function UnityLoader:Load() end
local context = {} function context.new(headers) return { code = 200, mime = "text/plain", body = "", headers = headers, cookies = { get = function() local cookies = {} for header, cookie in headers:each() do if header == "cookie" then table.insert(cookies, kolba.cookie.parse(co...
modifier_siglos_disadvantage_silence = class({}) function modifier_siglos_disadvantage_silence:CheckState() return {[MODIFIER_STATE_SILENCED] = true} end function modifier_siglos_disadvantage_silence:OnCreated() if IsClient() then return end local hParent = self:GetParent() self.iParticle = ParticleManager:CreatePar...
data:extend({ --Crab { type = "capsule", name = "af-crab", icon = "__Advanced_Fishing__/graphics/fishes/crab.png", icon_size = 128, subgroup = "raw-material", stack_size = 100, capsule_action = { type = "use-on-self", attack_parameters = { type = "projectile", ...
if Server then -- sort always by distance first (increases the chance that we find a suitable source faster) function FindNewPowerConsumers(powerSource) -- allow passing of nil (to handle map change or unexpected destruction of some ojects) if not powerSource then return nil ...
local propLeaderboard = script:GetCustomProperty("leaderboard") -- Signs local signs = {} local colors = {} local setupFinished = false math.randomseed(os.time()) function OnSignCreated(player) local playerPos = player:GetWorldPosition() local randomRot = math.ceil(math.random() * 360) local randomScale ...
local anim8 = require 'anim8' return function(ship) local pss = love.graphics.newImage('assets/player.png') local ess = love.graphics.newImage('assets/explosion.png') local gp = anim8.newGrid(16, 24, pss:getWidth(), pss:getHeight()) local ge = anim8.newGrid(16, 16, ess:getWidth(), ess:getHeight()) ship...
------------------------------------------------- -- Allows to store client specific settings in one place -- -- @author Pavel Makhov -- @copyright 2019 Pavel Makhov -------------------------------------------- local secrets = { -- Yandex.Translate API key - https://tech.yandex.com/translate/ translate_widget_...
ENT.Type = "anim" ENT.Base = "base_gmodentity" ENT.PrintName = "Racing Platform" ENT.Author = "Owain Owjo" ENT.Category = "The XYZ Network Custom Stuff" ENT.RenderGroup = RENDERGROUP_BOTH ENT.Spawnable = true ENT.AdminSpawnable = true function ENT:Initialize() table.insert(XYZRacing.Platforms, self) end function ENT...
function Update() ac = GetActorByName("Thing") if ac == nil then PrintText("Actor does not exist") end trans = ac:GetTransform() vc = trans:GetPosition() if Input():GetKey("right") == true then vc= vc + trans:Right() end if Input():GetKey("left") == true then vc= vc - trans:Right() end if Input():...
--iが0になると繰り返し終了 i=1000000 repeat print(i) i = i - 2 until i == 0