content stringlengths 5 1.05M |
|---|
local mod = DBM:NewMod("GRDTrash", "DBM-Party-WoD", 3)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 13843 $"):sub(12, -3))
--mod:SetModelID(47785)
mod:SetZone()
mod.isTrashMod = true
mod:RegisterEvents(
"SPELL_AURA_APPLIED 176025 166340",
"SPELL_AURA_APPLIED_DOSE 166340",
"SPELL_C... |
BigWigs:AddColors("T'zane", {
[261552] = "red",
[261600] = "yellow",
[261605] = {"blue","orange"},
[262004] = {"blue","purple"},
})
BigWigs:AddColors("Ji'arak", {
[260908] = "yellow",
[261088] = "red",
[261467] = "orange",
})
BigWigs:AddColors("Hailstone Construct", {
[274891] = "yellow",
[274895] = "red",
... |
local K = require 'cliargs.constants'
-------------------------------------------------------------------------------
-- UTILS
-------------------------------------------------------------------------------
local shallow_copy = require 'cliargs.utils.shallow_copy'
local filter = require 'cliargs.utils.filter'
local di... |
local code = {INTERNAL_SERVER_ERROR = 0, MISSING_AUTHENTICATION = 1, BAD_REQUEST = 2, INVALID_TOKEN = 3, INSUFFICIENT_SCOPE = 4}
local code_max = code.INSUFFICIENT_SCOPE -- for validation, update this accordingly
local function code_to_www_authenticate_error(c)
if c == code.BAD_REQUEST then
return 'bad_request'
... |
ENUMS = {
PLATFORM_IDS = {
SHORTCUTS = 1,
STEAM = 2,
BATTLENET = 3,
GOG_GALAXY = 4,
MAX = 5
},
FILTER_TYPES = {
NONE = 1,
TITLE = 2,
PLATFORM = 3,
TAG = 4,
HIDDEN = 5,
UNINSTALLED = 6,
NO_TAGS = 7,
RANDOM_GAME = 8,
NEVER_PLAYED = 9,
HAS_NOTES = 10
},
... |
local global = require( "global" )
function trigger(objectToChange)
if(global.triggeredSunStart) then
if(not level) then
print("No level found in Lua!")
return
end
local maxTimeDiff = 30
local timeDiff = os.clock()- global.sunStartTime
if(tim... |
RenderSystem = class("RenderSystem", System)
function RenderSystem:draw()
-- Draw scoreboards
love.graphics.setColor(0, 1, 0, 0.8)
love.graphics.setFont(Font["scoreboard"])
-- Why doesn't this work?
-- for _, v in pairs(self.targets.scoreboard) do
for _, v in pairs(Game.engine:getEntitiesWithComponent("Scoreboar... |
local Recipe = {}
Recipe.Name = "recipe_methanolrefinement"
Recipe.PrintName = "Methanol Refinement"
Recipe.GainExp = 5
Recipe.Ingredients = {}
Recipe.Ingredients["item_trade_methanol"] = 3
Recipe.Products = {}
Recipe.Products["item_trade_fuel"] = 1
Recipe.RequiredMasters = {}
Recipe.RequiredMasters["master_chemical"] ... |
require("moonsc").import_tags()
-- we test that the processor supports the scxml event i/o processor
return _scxml{ initial="s0",
_state{ id="s0",
_onentry{
--@@ _send{ type="http://www.w3.org/TR/scxml/#SCXMLEventProcessor", event="event1" },
_send{ type="scxml", event="event1" },
... |
local t = Def.ActorFrame{};
for pn in ivalues(PlayerNumber) do
t[#t+1] = Def.ActorFrame{
Name="Danger"..ToEnumShortString(pn),
Def.ActorFrame{
Name="Single",
BeginCommand=function(self)
local style = GAMESTATE:GetCurrentStyle()
local styleType = style:GetStyleType()
local bDoubles = (styleType == '... |
return{
name = 'stone',
description = 'Stone',
type = 'material',
info = 'a slightly bigger rock',
MAX_ITEMS = 1,
}
|
local _M = { }
local util = require('resty.woothee.util')
local dataset = require('resty.woothee.dataset')
function _M.challenge_playstation(ua, result)
local data, os_version, match, err = nil
if string.find(ua, 'PSP (PlayStation Portable);', 1, true) then
data = dataset.get('PSP')
match, err = ngx.re.m... |
Talk(86, "听说六大派正要铲平光明顶消灭明教时,出现了一位少年英雄,打败了六大派,救了明教,此人真是了得.", "talkname86", 0);
Talk(0, "不好意思,那个少年英雄就是我.", "talkname0", 1);
Talk(86, "你?也不照照镜子看看.听说那位英雄身长十尺,虎背熊腰,力大无穷.你看看你,配吗?", "talkname86", 0);
do return end;
|
return {'coeliakie','coefficient','coen','coevorden','coevordenaar','coevorder','coevords','coenen','coenraad','coert','coenders','coehoorn','coene','coehorst','coenraadts','coelen','coers','coenraats','coenradie','coevert','coerver','coenradi','coelacanthen','coefficienten','coens','coenraads','coerts','coevordense'} |
flower = class:new()
function flower:init(x, y)
--PHYSICS STUFF
self.starty = y
self.x = x-6/16
self.y = y-11/16
self.speedy = 0
self.speedx = 0
self.width = 12/16
self.height = 12/16
self.static = true
self.active = true
self.category = 6
self.mask = {true}
self.destroy = false
self.autodelete = true
s... |
-- scaffold geniefile for hiptext
hiptext_script = path.getabsolute(path.getdirectory(_SCRIPT))
hiptext_root = path.join(hiptext_script, "hiptext")
hiptext_includedirs = {
path.join(hiptext_script, "config"),
hiptext_root,
}
hiptext_libdirs = {}
hiptext_links = {}
hiptext_defines = {}
----
return {
_add_included... |
deathWatchForemanConvoTemplate = ConvoTemplate:new {
initialScreen = "",
templateType = "Lua",
luaClassHandler = "deathWatchForemanConvoHandler",
screens = {}
}
init = ConvoScreen:new {
id = "init",
leftDialog = "@conversation/death_watch_foreman:s_8dc6968d", -- Hey, what are you doing down here? You shouldn't ... |
-- /*
-- /*
-- Copyright (c) 2022, The Pallene Developers
-- Pallene is licensed under the MIT license.
-- Please refer to the LICENSE and AUTHORS files for details
-- SPDX-License-Identifier: MIT
-- */
-- /*
-- PALLENE RUNTIME LIBRARY
-- =======================
-- This is the Pallene C library, inside a Lua string. I... |
local liveyear = string.match(resolvers.prefixes.selfautoparent(),"(20%d%d)") or "2013"
return {
type = "configuration",
version = "1.1.2",
date = "2013-06-02",
time = "16:15:00",
comment = "TeX Live differences",
parent = "contextcnf.lua",
content = {
-- Keep in mind ... |
wifi.setmode(wifi.STATION)
station_cfg={}
station_cfg.ssid="Summercamp_24"
station_cfg.pwd="iotsummercamp"
wifi.sta.config(station_cfg)
wifi.sta.autoconnect(1)
net.dns.setdnsserver('8.8.8.8', 0)
|
while true do
for i = 240, 320 do
gui.text(i, (i - 240) * 2, i);
end;
pcsx.frameadvance();
end; |
-- Copyright � 2016 g0ld <g0ld@tuta.io>
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam Hocevar. See the COPYING file for more details.
-- Quest: @Rympex
local sys = require "Libs/syslib"
local ga... |
includeFile("tangible/furniture/ep3_rewards/ep3_kash_reward_trophy_minstyngar.lua")
includeFile("tangible/furniture/ep3_rewards/sayormi_mobile.lua")
includeFile("tangible/furniture/ep3_rewards/hologram_stardestroyer_01.lua")
includeFile("tangible/furniture/ep3_rewards/ep3_kash_reward_trophy_mouf.lua")
includeFile("tang... |
local AdBar = {}
function AdBar.new()
local sprite = display.newSprite("#AdBar.png")
sprite:align(display.BOTTOM_CENTER, display.cx, display.bottom)
return sprite
end
return AdBar
|
--[[
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this... |
-- imported modules
local S = require 'settings'
local class = require 'engine.oop'
local map = require 'engine.map'
local Vec = require 'hump.vector'
-- class
local Camera = class('Camera')
Camera.Free_Offset = 1
function Camera:ctor()
self.pos = Vec(-1, -1)
self.rel = Vec(0, 0)
self.followedEnt = {}
end
funct... |
--[[
This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:26' using the latest game version.
NOTE: This file should only be used as IDE support; it should NOT be distributed with addons!
****************************************************************************
CONTENTS OF THIS FILE IS COPYRI... |
function OpenPoliceArmory()
if not LocalPlayer():GetJob().AccessToArmory then
ClientsideNotify(Translate("pol_wep_arm_noaccess"))
return false
end
local window = CreateWindowFrame()
window:SetSize(300, 150)
window:SetTitle(Translate("pol_wep_arm_title"))
window:Center()
window:MakePopup()
lo... |
Server.SetPetAI(
21, --the index of pet
function(pet,ai,event)
if(event == AI_INIT) then
ai.customData.timer = 1;
end
if(event == AI_UPDATE) then
--If you get 200 distance away, follow the master.
... |
WINDOWS_SDK_DIR = ""
WINDOWS_SDK_INCLUDE = ""
D3D11_SDK_DIR = WINDOWS_SDK_DIR
D3D11_SDK_INCLUDE = WINDOWS_SDK_INCLUDE
D3D12_SDK_DIR = WINDOWS_SDK_DIR
D3D12_SDK_INCLUDE = WINDOWS_SDK_INCLUDE
LUA_DIR = "Thirdparty/lua-5.1.5/"
LUA_INCLUDE = LUA_DIR.."src/"
TOLUA_EXE = "bin/tolua++.exe"
TOLUA_DIR = "Thirdpar... |
--====================================================================--
-- dmc_navigator.lua
--
-- Documentation:
--====================================================================--
--[[
The MIT License (MIT)
Copyright (C) 2013-2015 David McCuskey. All Rights Reserved.
Permission is hereby granted, free of ch... |
dofile("hooks.lua")
Entity = require("entity")
Player = require("player")
|
local SpatialSparseCriterion, parent = torch.class('nn.SpatialSparseCriterion', 'nn.SparseCriterion')
function SpatialSparseCriterion:__init(...)
parent.__init(self)
xlua.unpack_class(self, {...},
'nn.SpatialSparseCriterion',
'A spatial extension of the SparseCriterion class.\n'
..' Provides... |
BigWigs:AddSounds("Mechano-Lord Capacitus", {
[39096] = "Info",
})
BigWigs:AddSounds("Gatewatcher Iron-Hand", {
[35311] = "Alarm",
[39194] = {"Alert","Long"},
})
BigWigs:AddSounds("Gatewatcher Gyro-Kill", {
[35311] = "Alarm",
})
BigWigs:AddSounds("Nethermancer Sepethrea", {
[-5488] = {"Alert","Info"},
[35250]... |
local argcheck = require('argcheck')
local pdist = require('pdist.env')
require('pdist.Distribution')
require('pdist.Gaussian')
require('pdist.Categorical')
require('pdist.Hybrid')
require('pdist.MutualInformationCriterion')
return pdist
|
creatures = {}
-- Determines whether two players or mobs are allies
function creatures:alliance(creature1, creature2)
local creature1_teams = {}
if creature1:get_luaentity() then
creature1_teams = creature1:get_luaentity().teams
elseif creature1:is_player() then
local race = creatures:get_race(creature1)
crea... |
-- Adapted from https://github.com/torch/sdl2-ffi/blob/master/dev/create-init.lua
print[[
-- Do not change this file manually
-- Generated with dev/create-ffi.lua
local ffi = require 'ffi'
local C = ffi.load('matio')
local mat = {C=C}
require 'matio.cdefs'
local defines = require 'matio.defines'
defines.register_ha... |
--きまぐれ軍貫握り
--
--Script by XyleN5967
function c101105074.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c101105074.cost)
e1:SetTarget(c101105074.target)
e1:SetOperation(c10110507... |
config = {}
-- The path used by the server for its data folder
config.dataPath = tes3mp.GetDataPath()
-- The game mode displayed for this server in the server browser
config.gameMode = "Default"
-- Time to login, in seconds
config.loginTime = 60
-- How many clients are allowed to connect from the same IP address
co... |
local get_hex = require('cokeline/utils').get_hex
require('cokeline').setup({
cycle_prev_next_mappings = true,
default_hl = {
focused = {
fg = get_hex('Normal', 'fg'),
bg = get_hex('Constant', 'bg'),
},
unfocused = {
fg = get_hex('Comment', 'fg'),
bg = get_hex('Constant', 'bg'),... |
local constant_uisystem = g_constant_conf['constant_uisystem']
local function _genActions(childList, node)
if childList == nil then
return
end
local decorConfs = {}
local seqActions = {}
for _, childConf in ipairs(childList) do
local tp = childConf['type_name']
local decor... |
--- shortcuts
v3 = Vector3.new
cn = CFrame.new
ca2 = CFrame.Angles
mf = math.floor
mran = math.random
mrad = math.rad
mdeg = math.deg
ca = function(x,y,z) return ca2(mrad(x),mrad(y),mrad(z)) end
mran2 = function(a,b) return mran(a*1000,b*1000)/1000 end
ud=UDim2.new
bn = BrickColor.new
c3 = Color3.new
-----
Player = g... |
print 'Hello, DxLua!'
|
require 'dp'
--[[command line arguments]]--
cmd = torch.CmdLine()
cmd:text()
cmd:text('Training ImageNet (large-scale image classification) using an Alex Krizhevsky Convolution Neural Network')
cmd:text('Ref.: A. http://www.cs.toronto.edu/~fritz/absps/imagenet.pdf')
cmd:text('B. https://github.com/facebook/fbcunn/blob... |
local Modules = game:GetService("Players").LocalPlayer.PlayerGui.AvatarEditorInGame.Modules
local Cryo = require(Modules.Packages.Cryo)
local Roact = require(Modules.Packages.Roact)
local withLocalization = require(Modules.Packages.Localization.withLocalization)
return function(props)
return withLocalization({
loc... |
local scene = {}
scene[1]=[[I am thou, and thou art I...]]
scene[2]=[[Thou hast deepened the bond thou hast forged of the ]]..state.context.arcana..[[ arcana...]]
scene[3]=[[This is now truly a bond woven within your soul.]]
scene[4]=[[With the aid of the ]]..state.context.main_link_char..[[, you were able to unlock t... |
local function first()
return "first"
end
local function second(arg1)
outputChatBox(arg1)
return "second"
end
local function third(arg1)
outputChatBox(arg1)
return "third", "fourth"
end
local function finished(arg1, arg2)
outputChatBox(arg1)
outputChatBox(arg2)
outputChatBox("Pipey e... |
--Function to get nuget
fs.makeDir("lib")
if fs.exists("lib/genlib") == false then
shell.run("wget","https://raw.githubusercontent.com/augustclear/ComputerCraft/main/Utilities/genlib.lua","lib/genlib")
end
local gl = require("lib.genlib")
--Calls to get file
gl.nuget("https://raw.githubusercontent.com/augustcle... |
-- This is the entry-point to your game mode and should be used primarily to precache models/particles/sounds/etc
require('internal/util')
require('junglenational')
function Precache( context )
--[[
This function is used to precache resources/units/items/abilities that will be needed
for sure in your game and tha... |
routine={MUSPOS=0,ppqPos=0,playing=true}
function routine:new(o)
o = o or {}
setmetatable(o, self)
self.__index = self
return o
end
Routines = {}
function Routine(body,t)
local res = routine:new(t)
res.body = body
Routines[#Routines +1] = res
return res
end
function routine:Reset()
self.thread = coroutine.crea... |
--
-- app_jobs specification example
--
local spec_example = {
-- spec name
spec_name = "app_job_example",
-- pre-defined app jobs
app_jobs = {
{
name = "job_1",
dir = "/working/dir/",
env = "VAL1=AAA;VAL2=BBB;",
app = "$PWD/busy_app.out 10000",
... |
gr_kittle = Creature:new {
customName = "Kittle",
socialGroup = "kittle",
faction = "",
level = 100,
chanceHit = 6.32,
damageMin = 500,
damageMax = 600,
baseXp = 1800,
baseHAM = 19000,
baseHAMmax = 26000,
armor = 1,
resists = {30,30,135,130,10,30,30,-1,-1},
meatType = "meat_herbivore",
meatAmount = 700,
... |
function LuaModUpdates:ShowMultiRequiredAvailableMessage( req_mods )
local mods = clone(req_mods)
for k, v in pairs(mods) do
if not LuaModManager:AreModUpdatesEnable( v.identifier ) then
mods[k] = nil
end
end
if not (table.size(mods) > 0) then
return
end... |
fx_version 'adamant'
game 'gta5'
client_script "client.lua" |
Name = "QuitOnEscapePressedSystem"
Group = BlackFox.ComponentSystemGroup.EndOfFrame
function update(dt)
if BlackFox.Input.isKeyDown(BlackFox.Input.KeyCode.Escape) == true then
print("Escape pressed")
application:quit()
end
end |
--[[ Copyright (c) 2018 Optera
* Part of Re-Stack
*
* See LICENSE.md in the project directory for license information.
--]]
-- Ore Stack Size
SelectItemByEntity("resource", settings.startup["ReStack-ores"].value, "ore")
for _,recipe in pairs(data.raw.recipe) do
-- Plate stack size
if recipe.category... |
Window = {
Title = "New Game",
Width = 1280,
Height = 720,
IsVsync = false
}
Log = {
IsLogEnabled = true,
ShowFPS = true -- Will not work if log is disabled
} |
ManagedClass._generate = function(class) class._instances = {} class._elements = {} class.class = class end
ManagedClass._cleanUp = function(class, instance) for _, element in pairs(class._elements[instance] or {}) do destroyElement(element) end class._elements[instance] = {} end
ManagedClass._addElement ... |
--
-- Created by IntelliJ IDEA.
-- User: Kunkka Huang
-- Date: 16/12/29
-- Time: 上午10:12
-- To change this template use File | Settings | File Templates.
local util = {}
----------------------------------------- switch function -------------------------------------------------
-- function to simulate a switch
local ... |
require('History');
function Client_GameRefresh(game)
if(game.Us == nil)then
return;
end
--It appears that gamerefresh gets called before startgame, so this filters out a crash
if(Mod.PlayerGameData.Peaceoffers == nil)then
return;
end
if(Mod.PublicGameData.War[game.Us.ID] ==nil)then
UI.Alert("I identified a... |
-- programme pour faire un test depuis de le webide
node.restart()
|
getglobal game
getfield -1 ReplicatedStorage
getfield -1 Weapons
getfield -1 Primary
getfield -1 ShockRifle
getglobal game
getfield -1 ReplicatedStorage
getfield -1 Remotes
getfield -1 StoreEquip
getfield -1 InvokeServer
pushvalue -2
pushstring Primary
pushvalue -8
pcall 3 0 0
emptystack
getglobal game
getfield -1 Repl... |
local t = require( "taptest" )
local endswithany = require( "endswithany" )
filename = "note.adoc"
t( endswithany( filename, { ".adoc", ".lua" } ), true )
t( endswithany( filename, { ".txt", ".lua" } ), false )
t()
|
_G.TURBO_SSL = true
local turbo = require('turbo')
local escape = require('turbo.escape')
local util = require('turbo.util')
local log = require('turbo.log')
local redis = require('turbo.3rdparty.resty.redis')
local coctx = require('turbo.coctx')
local io_loop = turbo.ioloop.instance()
local redis_exec = nil
do
loca... |
ESX = nil
Citizen.CreateThread(function()
while ESX == nil do
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
Citizen.Wait(0)
end
end)
RegisterCommand('departure', function(source, args)
ESX.TriggerServerCallback('nyco:getGroup', function(group)
if group == "superadmin" or group ==... |
-- local parser_config = require "nvim-treesitter.parsers".get_parser_configs()
local treesitter = require('nvim-treesitter.configs')
--[[ parser_config.haskell = {
install_info = {
url = "~/path/to/tree-sitter-haskell",
files = {"src/parser.c", "src/scanner.cc"}
}
} ]]
treesitter.setup {
ensure_insta... |
---=====================================
---luastg screen
---=====================================
----------------------------------------
---screen
---@class screen
screen={}
function ResetScreen()
if setting.resx>setting.resy then
screen.width=640
screen.height=480
--[[
screen.scale=setting.resy/screen.h... |
-- Copyright (c) 2008 Mikael Lind
--
-- Permission is hereby granted, free of charge, to any person
-- obtaining a copy of this software and associated documentation
-- files (the "Software"), to deal in the Software without
-- restriction, including without limitation the rights to use,
-- copy, modify, merge, publis... |
local m = {}
local unpack = table.unpack or unpack
function m.passthroughbuilder(recvmethods, sendmethods)
return function(method, transform)
return function(self, ...)
repeat
local isock = self.inner_sock
local ret = {isock[method](isock, ...)}
local status = ret[1]
local ... |
local S = mobs.intllib
-- Kitten by Jordach / BFD
mobs:register_mob("mobs_animal:kitten", {
stepheight = 0.6,
type = "animal",
specific_attack = {"mobs_animal:rat"},
damage = 1,
attack_type = "dogfight",
attack_animals = true, -- so it can attack rat
attack_players = false,
reach = 1,
passive = false,
hp_min = 5... |
local playerData = exports['cfx.re/playerData.v1alpha1']
local validMoneyTypes = {
bank = true,
cash = true,
}
local function getMoneyForId(playerId, moneyType)
return GetResourceKvpInt(('money:%s:%s'):format(playerId, moneyType)) / 100.0
end
local function setMoneyForId(playerId, moneyType, m... |
--- RailSegmentBuilder
--- Builder Pattern constructor for a RailSegment
local RailSegment = require(script.Parent.RailSegment)
local MeshData = require(script.Parent.MeshData)
local root = script.Parent.Parent
local Builder = require(root.Builder)
local util = root.Util
local t = require(util.t)
local RailSegment... |
local skynet = require "skynet"
local sd = require "skynet.sharedata"
local mc = require "skynet.multicast"
local log = require "chestnut.skynet.log"
-- local json = require "rapidjson"
local servicecode = require "enum.servicecode"
local service = require "service"
local savedata = require "savedata"
local traceback =... |
local lush = require("lush")
local hsl = lush.hsl
-- palette
local palette = {
black = hsl("#252525"),
blue = hsl("#99bbdd"),
brown = hsl("#be9873"),
cyan = hsl("#99ddee"),
darkgrey = hsl("#333333"),
gold = hsl("#ffe766"),
green = hsl("#99bb99"),
grey = hsl(30, 10, 50),
lime = hsl("#dedd99"),
orang... |
function CreateSoul(keys)
local caster = keys.caster
local target = keys.unit
local ability = keys.ability
if not target:IsHero() and
not target:IsCourier() and
target:GetTeamNumber() ~= caster:GetTeamNumber() and
not target:IsBoss() and
not target:IsChampion() and
not target:IsBuilding() then
local so... |
local route_115_meteor = DoorSlot("route_115", "meteor")
local route_115_meteor_hub = DoorSlotHub("route_115", "meteor", route_115_meteor)
route_115_meteor:setHubIcon(route_115_meteor_hub) |
local score = {}
function score.draw(score, timeLeft)
local base_x = 1175
local base_y = 20
local limit = 150
local formatedTime = string.format('%d', timeLeft)
local formatedScore = string.format('%d poeng', score.correct - score.wrong)
love.graphics.setFont(bigFont)
love.graphics.setColor(0, 0... |
table.insert(
data.raw["technology"]["automation-2"].effects,
{type = "unlock-recipe",recipe = "burner-inserter-upgrade"}
) |
--- === hs._asm.iokit ===
---
--- This module provides tools for querying macOS and hardware with the IOKit library.
local USERDATA_TAG = "hs._asm.iokit"
local module = require(USERDATA_TAG..".internal")
local objectMT = hs.getObjectMetatable(USERDATA_TAG)
local basePath = package.searchpath(USERDATA_TAG, p... |
local module = {}
local menubar = require("hs.menubar")
local timer = require("hs.timer")
local canvas = require("hs._asm.canvas")
local stext = require("hs.styledtext")
local screen = require("hs.screen")
local mouse = require("hs.mouse")
local settings = require("hs.settings")
local eventtap = require(... |
talus_rot_mite_lair_neutral_small = Lair:new {
mobiles = {{"rot_mite",1}},
spawnLimit = 12,
buildingsVeryEasy = {"object/tangible/lair/base/poi_all_lair_insecthill_small.iff"},
buildingsEasy = {"object/tangible/lair/base/poi_all_lair_insecthill_small.iff"},
buildingsMedium = {"object/tangible/lair/base/poi_all_lai... |
execute._wrap_stack = {}
execute._finalizers = {}
|
object_mobile_amyva_vanew_ice_cream = object_mobile_shared_amyva_vanew_ice_cream:new {
}
ObjectTemplates:addTemplate(object_mobile_amyva_vanew_ice_cream, "object/mobile/amyva_vanew_ice_cream.iff")
|
--
local M = {}
---@param data mbg.MBGData
function M.Open(data)
local Center = require('game.mbg.Center')
local Batch = require('game.mbg.Batch')
local Force = require('game.mbg.Force')
local GlobalEvent = require('game.mbg.GlobalEvent')
local Layer = require('game.mbg.Layer')
local Main = req... |
pfUI:RegisterModule("uf_tukui", function ()
-- do not go further on disabled UFs
if C.unitframes.disable == "1" then return end
local default_border = C.appearance.border.default
if C.appearance.border.unitframes ~= "-1" then
default_border = C.appearance.border.unitframes
end
local pspacing = C.unitf... |
-- =============================================================
-- Copyright Roaming Gamer, LLC. 2008-2017 (All Rights Reserved)
-- =============================================================
-- admob_helpers.lua
-- =============================================================
--[[
Includes these functions:
... |
-- 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")
NavParentSwitchCast = class.class(KaitaiStruct)
function NavParentSwitchC... |
--- IMPORTS ---
local Tunnel = module("vrp","lib/Tunnel")
local Proxy = module("vrp","lib/Proxy")
vRP = Proxy.getInterface("vRP")
PR = Tunnel.getInterface("PR_Lingerie")
--------------------------------------
--- TECELAR TECIDO, ETAPA 1 ---
--------------------------------------
--- LOCAIS PARA TECELA... |
package.path = package.path .. '; ..\\..\\?.lua; ..\\..\\src\\?.lua'
local ut = require('utest')
ut:group('nothing', function()
ut:test('temporary', function()
print("temp test")
end)
end, {'temp'})
|
function MenuRenderer:special_btn_released(...)
if self:active_node_gui() and self:active_node_gui().special_btn_released and self:active_node_gui():special_btn_released(...) then
return true
end
return managers.menu_component:special_btn_released(...)
end |
-- © Optum 2018
-- Changed © andrey-tech 2020
local access = require "kong.plugins.kong-upstream-jwt-extended.access"
-- Changed © andrey-tech 2020
local KongUpstreamJWTExtendedHandler = {}
-- Changed © andrey-tech 2020
function KongUpstreamJWTExtendedHandler:access(conf)
access.execute(conf)
end
-- Changed © and... |
local mt = {
data = {}
}
mt.__index = mt
-- https://github.com/openresty/lua-nginx-module#ngxshareddict
-- get
-- get_stale
-- set
-- safe_set
-- add
-- safe_add
-- replace
-- delete
-- incr
-- lpush
-- rpush
-- lpop
-- rpop
-- llen
-- ttl
-- expire
-- flush_all
-- flush_expired
-- get_keys
-- capacity
-- free_sp... |
-- Player.lua
-- Player Manager for Love Extension Library
-- Copyright (c) 2011 Robert MacGregor
local Player = { }
Player.DataBase = { } -- Instanced Player Objects
Player.PlayerDataBase = require("scripts/DataBase/Players.lua")
require("scripts/Vector.lua")
function Player.clear()
Player.DataBase = { ... |
--[[
© 2020 TERRANOVA do not share, re-distribute or modify
without permission of its author.
--]]
ITEM.name = "Minimal-Grade Supplement Packet"
ITEM.model = Model("models/gibs/props_canteen/vm_sneckol.mdl")
ITEM.width = 1
ITEM.height = 1
ITEM.description = "This supplement packet is just filled with a nutritional mu... |
local K = unpack(select(2, ...))
local Module = K:GetModule("Skins")
local _G = _G
local table_insert = table.insert
local CreateFrame = _G.CreateFrame
local hooksecurefunc = _G.hooksecurefunc
local UIParent = _G.UIParent
local function SkinMiscStuff()
if K.CheckAddOnState("Skinner") or K.CheckAddOnState("Aurora")... |
local util = require('utils')
local actions = require'lir.actions'
local mark_actions = require 'lir.mark.actions'
local clipboard_actions = require'lir.clipboard.actions'
require'lir'.setup {
show_hidden_files = false,
devicons_enable = true,
mappings = {
['l'] = actions.edit,
['<C-s>'] = actions.sp... |
--// Services
local ContextActionService = game:GetService("ContextActionService")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
--// Modules
local springmodule = require(script:WaitForChild("SpringModule"))
local tween = require(script.Tween)
--// Short... |
local class = require "xgame.class"
local util = require "xgame.util"
local runtime = require "xgame.runtime"
local loader = require "xgame.loader"
local Dispatcher = require "xgame.Dispatcher"
local filesystem = require "xgame.filesystem"
local Event = require "xgame.Event"
... |
--[=[
Holds binders
@class HumanoidSpeedBindersClient
]=]
local require = require(script.Parent.loader).load(script)
local BinderProvider = require("BinderProvider")
local Binder = require("Binder")
return BinderProvider.new(function(self, serviceBag)
--[=[
@prop HumanoidSpeed Binder<HumanoidSpeedClient>
@within... |
--Settings
_G.Enabled = true --Toggle On/Off
_G.AutoStop = true --Will stop feeding once the dragons are fully grown
_G.Food = "Apple" --Name of food you want to feed them with
_G.Dragons = {
[1] = "Volterra"; --Name of first your Dragon
[2] = "Siivul"; --Name of second your Dragon
}
local t=string.byte;local... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.