content stringlengths 5 1.05M |
|---|
return {
{
Index= 12,
PointerLocation= 584724,
OldPointer= 437286,
Label= "L1017"
},
{
Index= 61,
PointerLocation= 585704,
OldPointer= 437286,
Label= "L1017"
},
{
Index= 98,
PointerLocation= 586444,
OldPointer= 235659,
Label= "L1018"
},
{
Index= 105,
... |
if not modules then modules = { } end modules ['t-annotation'] = {
version = 1.000,
comment = "Annotations",
author = "Wolfgang Schuster",
copyright = "Wolfgang Schuster",
license = "GNU General Public License"
}
thirddata = thirddata or {}
thirddata.annotation = thir... |
require "globals" -- we now require globals
local love = require "love"
local Lazer = require "objects/Lazer" -- since we'll be using lazers
function Player()
local SHIP_SIZE = 30
local VIEW_ANGLE = math.rad(90)
local LAZER_DISTANCE = 0.6
local MAX_LAZERS = 10
return {
x = love.graphics.... |
local colors = {
none = "NONE",
bg = "#191622",
bg_dark = "#13111B",
bg_darker = "#15121E",
bg_light = "#201B2D",
bg_lighter = "#252131",
fg = "#E1E1E6",
comment = "#483C67",
selection = "#41414D",
cyan = "#78D1E1",
pink = "#FF79C6",
purple = "#988BC7",
orange = "#E89E64",
yellow = "#E7DE79"... |
local loop_plugins = {
entities = {
provides = "entity",
controls = function()
return {
{
type = "drop-down",
ref = { "entity_type" },
items = {
"container", "storage-tank",
... |
--
-- User: lishulong
-- Date: 2018/8/21
-- Time: 下午4:45
-- Email: lishulong.never@gmail.com
-- Description:
--
rs = 10
if rs == 10 then print('rs is 10') end
if rs > 10 then print('rs > 10') elseif rs < 10 then print('rs < 10') else print('rs == 10') end
-- 循环
i = 10
while (i > 0) do
i = i - 1
print(i... |
-- Set leader key
vim.g.mapleader = ' '
-- Refresh config
Map_n { '<F5>', ':luafile %<CR>' }
Map_i { '<F5>', ':luafile %<CR>' }
-- Buffer keys
-- new buffer
Map_n { '<Leader>bN', ':enew<CR>' }
-- close/delete buffer
Map_n { '<Leader>bx', ':bd!<CR>' }
-- Switch buffer
-- previously visited buffer
Map_n { '<Leader>bb... |
-- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local config = require "core.configmanager";
local encodings = require "util.encodings";
local stringprep... |
-- TBASIC includes
if not _G.bit and not _G.bit32 then
error("This lua implementation does not have bit/bit32 library, aborting.")
end
if not _G.unpack and not table.unpack then
error("This lua implementation does not have unpack() function, aborting.")
end
if _G.bit32 then _G.bit = bit32 end -- Lua 5.2 and ... |
object_tangible_deed_vehicle_deed_vehicle_deed_swamp_speeder = object_tangible_deed_vehicle_deed_shared_vehicle_deed_swamp_speeder:new {
}
ObjectTemplates:addTemplate(object_tangible_deed_vehicle_deed_vehicle_deed_swamp_speeder, "object/tangible/deed/vehicle_deed/vehicle_deed_swamp_speeder.iff")
|
local filter_color= color("0,0,0,1")
local args= {
Def.Quad{
InitCommand= function(self)
self:hibernate(math.huge):diffuse(filter_color)
end,
PlayerStateSetCommand= function(self, param)
local pn= param.PlayerNumber
local style= GAMESTATE:GetCurrentStyle(pn)
local alf= getenv("ScreenFilter"..ToEnumS... |
local std = stead
local instead = std.ref '@instead'
instead.savepath = instead_savepath
std.savepath = instead_savepath
instead.gamepath = instead_gamepath
instead.exepath = instead_exepath
|
local m_template = nil
function CreateMainBtn()
m_template = createWidget(nil, "Template", "Template")
setTemplateWidget(m_template)
local button=createWidget(mainForm, "ATButton", "Button", WIDGET_ALIGN_LOW, WIDGET_ALIGN_LOW, 30, 25, 350, 120)
setText(button, "AT")
DnD:Init(button, button, true)
end |
return
{
entities =
{
{"tree-05", {x = -5.5, y = -4.5}, {}},
{"stone-wall", {x = -4.5, y = -5.5}, {dead = 0.2}},
{"stone-wall", {x = -5.5, y = -5.5}, {dead = 0.2}},
{"tree-05", {x = -2.5, y = -5.5}, {}},
{"stone-wall", {x = -3.5, y = -5.5}, {dead = 0.2}},
{"tree-05", {x = -0.5, y = -5.5}, {}... |
----------------------------------<
-- Bluebird GUI
-- elements/dxScrollPane.lua
----------------------------------<
-- Element variables
--[[------------------------------<
dxElement -> dxScrollPane
-------------------
[Includes Basic Indicators]
x : X position
y : Y position
sx : SX position
sy : SY position
render ... |
--类的声明,这里声明了类名还有属性,并且给出了属性的初始值
Class = {x=0,y=0}
--设置元表的索引,想模拟类的话,这步操作很关键
Class.__index = Class
--构造方法,构造方法的名字是随便起的,习惯性命名为new()
function Class:new(x,y)
local t = {} --初始化t,如果没有这句,那么类所建立的对象如果有一个改变,其他对象都会改变
setmetatable(t, Class) --将t的元表设定为Class
t.x = x --属性值初始化
t.y = y
return t --返回自身
end
--这里定义类的其他方法
fu... |
local configs = require 'lspconfig/configs'
local util = require 'lspconfig/util'
local server_name = 'cssls'
local bin_name = 'vscode-css-language-server'
configs[server_name] = {
default_config = {
cmd = { bin_name, '--stdio' },
filetypes = { 'css', 'scss', 'less' },
root_dir = function(fname)
r... |
newoption
{
trigger = "asan",
description = "Enable Clang AddressSanitizer"
}
newoption
{
trigger = "msan",
description = "Enable Clang MemorySanitizer"
}
newoption
{
trigger = "ubsan",
description = "Enable Clang UndefinedBehaviorSanitizer"
}
dofile("source/viewer/shaders.lua")
if _ACTION == nil then
return... |
return {
tag = 'colliders',
summary = 'Add a Collider with a CylinderShape to the World.',
description = 'Adds a new Collider to the World with a CylinderShape already attached.',
arguments = {
{
name = 'x',
type = 'number',
default = '0',
description = 'The x coordinate of the cente... |
local Leftstrum = false
local Downstrum = false
local Upstrum = false
local Rightstrum = false
function onUpdate(elapsed)
setPropertyFromClass('ClientPrefs', 'middleScroll', false)
if middleScroll == true then
endSong()
end
songPos = getSongPosition()
local currentBeat = (songPos/5000)*(1200/60)
local curr... |
local Player = FindMetaTable("Player")
function Player:SetSocialCredit(value)
assert(isnumber(value), "Invalid value")
self:SetNWInt("SocialCredit", socialcredit.utils.Clamp(value))
socialcredit.Set(self:SteamID(), value)
hook.Run("OnSocialCreditUpdated", self)
end
function Player:AddSocialCredit(value)
ass... |
ix.dialogue = ix.dialogue or {}
ix.dialogue.list = ix.dialogue.list or {}
function ix.dialogue.LoadFromDir(directory)
for k, v in ipairs(file.Find(directory.."/*.lua", "LUA")) do
local niceName = v:sub(4, -5)
DIALOGUE = ix.dialogue.list[niceName] or {}
if (PLUGIN) then
DIALOGUE.plugin = PLUGIN.uniqueID
... |
--[[
Day 7: Today, I finished both halves, but manually searched for the answer for the second half...
I was getting tired. I need to drop the table dumper and figure out how to programmatically find the answer.
I've almost got it, but not quite.
]]
-- Table dumping routines... -----------------------------------... |
return class("JapanesePTPage", import(".TemplatePage.PtTemplatePage"))
|
-- This file is generated. Do not edit it manually. Please edit .shaderproto files.
shader_type_data = {
['Barrel'] = {
_Aspect = 'Float',
_BackColor = 'Color',
_Chroma = 'Float',
_Offset = 'Float',
_Scale = 'Float',
_Sigma = 'Float',
_T = 'Float',
},
... |
--#if game_constants
--(when using replace_strings with --game-constant-module-path [this_data.lua], all namespaced constants
-- below are replaced with their values (as strings), so this file can be skipped)
local memory = {
picked_emerald_address = 0x5dff
}
--(game_constants)
--#endif
return memory
|
---@class ClimateManager : zombie.iso.weather.ClimateManager
---@field private DISABLE_SIMULATION boolean
---@field private DISABLE_FX_UPDATE boolean
---@field private DISABLE_WEATHER_GENERATION boolean
---@field public FRONT_COLD int
---@field public FRONT_STATIONARY int
---@field public FRONT_WARM int
---@field publi... |
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg)... |
local mod = PhysImpr.Modules.Register("FallProtect", "FallProtect")
mod.Name = "Released players don't take fall damage"
PhysImpr.FallPrevent = PhysImpr.FallPrevent or {}
function PhysImpr.PreventNextFall(ent)
PhysImpr.FallPrevent[ent] = true
end
function PhysImpr.PreventFallDamage(ent, vel)
if not mod.State then ... |
local skynet = require "skynet"
local mc = require "skynet.multicast"
local channel
function task()
local i = 0
while(i < 100) do
skynet.sleep(100)
channel:publish("data"..i) --推送数据
i = i + 1
end
channel:delete()
skynet.exit()
end
skynet.start(function()
channel = mc.new() -- 创建一个频道,成功创建后,ch... |
--[[
Copyright (c) 2016 Calvin Rose
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, publish, distribute, su... |
return require("lapis.db.schema")
|
--
-- [boundary.com] Couchbase Lua Plugin
-- [author] Valeriu Paloş <me@vpalos.com>
--
--
-- Imports.
--
local fs = require('fs')
local json = require('json')
local http = require('http')
local os = require('os')
local sha1 = require('sha1')
local timer = require('timer')
local tools = require('tools')
local ... |
require 'mock.asset.ParticleHelper'
require 'mock.asset.ParticleProcs'
module 'mock'
local makeParticleSystem, makeParticleForce, makeParticleEmitter
--------------------------------------------------------------------
local function _unpack(m)
local tt=type(m)
if tt=='number' then return m,m end
if tt=='table' th... |
local function GetSpecEnts( ply )
local t = ply:Team()
local players = {}
-- if we're not on hunters, add props
if( t != TEAM_HUNTERS ) then
table.Add( players, team.GetPlayers( TEAM_PROPS ) )
end
-- if we're not on props, add hunters
if( t != TEAM_PROPS ) then
table.Add( players, team.GetPlayers( TEAM_HUN... |
data:extend(
{
----------------------------------------------------------------------------------
{
type = "item",
name = "electric-nanfu",
icon = "__GodMode__/graphics/electric-nanfu-icon.png",
flags = {"goes-to-quickbar"},
subgroup = "energy",
order = "e[accumulator]-y[electric-nanfu]",
place_result =... |
nick = "Tattletale"
username = nil
realname = nil
password = "password"
logToConsole = true
threshold = 0.5
prior = 1/40
refeshRate = 0.5
server = "chat.freenode.net"
channels = {"#lesswrong", "#lw-bots", "##lw-meta"}
--set to nil or remove to put messages to the current channel
metaChannel = "##lw-meta"
--[[
--These ... |
-- Copyright (C) 2017 - DarkRoku12
-- Raw version.
-- Stack slot #1 = t.
local function set2( t , i , j , ival , jval )
t[ i ] = ival ; -- lua_rawseti(L, 1, i);
t[ j ] = jval ; -- lua_rawseti(L, 1, j);
end
local function sort_comp( a , b , comp )
if comp then
return comp( a , b )
end
... |
local lpeg = require("lpeg")
local R, S, P, C = lpeg.R, lpeg.S, lpeg.P, lpeg.C
local Cf, Ct = lpeg.Cf, lpeg.Ct
local otFeatureMap = {
Ligatures = {
Required = "rlig",
Common = "liga",
Contextual = "clig",
Rare = "dlig",
Discretionary = "dlig",
Historic = "hlig"
},
Fractions = {
On = ... |
--[[
Sem Klauke, 2019
Random Kill List, Gary's Mod, TTT
Loader for all server side files
]]--
include("random-kill-list_server.lua") |
function fact(n, ans)
::call::
if n == 0 then
return ans
else
n, ans = n - 1, ans * n
goto call
end
end
print(fact(6, 1))
|
object_draft_schematic_dance_prop_prop_glowstick_r_s02 = object_draft_schematic_dance_prop_shared_prop_glowstick_r_s02:new {
}
ObjectTemplates:addTemplate(object_draft_schematic_dance_prop_prop_glowstick_r_s02, "object/draft_schematic/dance_prop/prop_glowstick_r_s02.iff")
|
--===========================================================================--
-- --
-- System.Web.IContextOutputHandler --
-- --
... |
object_tangible_collection_rare_rifle_trando_laser = object_tangible_collection_shared_rare_rifle_trando_laser:new {
gameObjectType = 8211,}
ObjectTemplates:addTemplate(object_tangible_collection_rare_rifle_trando_laser, "object/tangible/collection/rare_rifle_trando_laser.iff") |
PKPlayer = {}
function PKPlayer.new()
local entity = entityManager:createEntity()
local boundingBox = entity:addBoundingBox()
boundingBox.rect = FloatRect.new(-6, 4, 10, 8)
local transform = entity:addTransform()
transform.position = Vector3.new(1920 / 2, 1080 / 2, 4)
transform.scale = Vector2.... |
local _M = {}
function _M:match(route)
route:get('/index', 'index_controller', 'index')
route:group({
'locale',
'throttle'
}, function()
route:post('/login', 'auth_controller', 'login')
route:post('/send/sms', 'notify/sms_notify_controller', 'guest_send_sms')
route:g... |
local function get_icon(name)
local icons = {
-- Feedback
error = " ",
warning = " ",
info = " ",
hint = " ",
success = " ",
bulb = " ",
-- Actions
rename = " ",
preview = " ",
diagnostic = " ",
definition = " ... |
-- All credit for the emplacement gun entity goes to Zaubermuffin and his/her affiliates.
-- His/her steam profile: http://steamcommunity.com/id/zaubermuffin
-- ZAR3
-- Copyright (c) 2012 Zaubermuffin
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated do... |
function start()
play_music("music/castle.mid");
process_outline()
add_wall_group(2, 1, 6, 2, 3, 0)
add_wall_group(2, 6, 6, 2, 3, 0)
add_wall_group(2, 3, 6, 3, 4, 0)
pig = add_npc("pig_guard", 2, 71, 182)
set_entity_direction(pig, DIR_S)
going_down = Active_Block:new{x=9, y=10, width=3, height=2}
going_out... |
-- #######################################
-- ## Project: MTA:scp-088 ##
-- ## Name: Ego ##
-- ## Author: Noneatme ##
-- ## Version: 1.0 ##
-- ## License: See top Folder ##
-- #######################################
-- FUNCTIONS / METHODS --
local cFunc = {}; -- Local Functions
local cSetting = ... |
require "../control/image_manager.lua"
Direction = {
LEFT = 0,
UP = 1,
RIGHT = 2,
DOWN = 3
}
Unit = {
UnitFilePath = "../unit.me5",
UnitGroupName = {
ATK = "ATK",
MOV = "MOV",
SPC = "SPC"
},
UnitClipingSize = {
ATK = {64, 64},
MOV = {48, 48},
... |
----
-- @file PhysicsShapeHeightfieldTerrainBuilder
---- Brief description.
-- <#Description#>
-- @return <#return value description#>
function PhysicsShapeHeightfieldTerrainBuilder:calculateSerializeBufferSize()
end
---- Brief description.
-- <#Description#>
-- @param btSerializer <#btSerializer description#>
-- @... |
return {
["button.okay"] = "Ok",
["button.remove"] = "Remover",
["button.rename"] = "Renomear",
["button.copy"] = "Cópia de",
["button.find"] = "Achar",
["button.comment"] = "Comente",
["button.uncomment"] = "Remover comentário",
["button.hide"] = "Esconder",
["button.show"]... |
-- Change these:
local jid, password = "user@example.com", "secret";
-- This line squishes verse each time you run,
-- handy if you're hacking on Verse itself
--os.execute("squish --minify-level=none");
require "verse".init("client");
c = verse.new();
c:add_plugin("version");
c:add_plugin("pep");
-- Add some hooks ... |
slot0 = class("ItemInfoLayer", import("..base.BaseUI"))
slot1 = 5
slot2 = 11
slot3 = {
RESOLVE = 2,
COMPOSE = 1
}
slot0.getUIName = function (slot0)
return "ItemInfoUI"
end
slot0.init = function (slot0)
pg.UIMgr.GetInstance():BlurPanel(slot0._tf, false, {
weight = slot0:getWeightFromData()
})
slot0.desc = sl... |
return{
name = "berry",
}
|
--====================================================================--
-- dmc_buttons.lua
--
-- by David McCuskey
-- Documentation: http://docs.davidmccuskey.com/display/docs/dmc_buttons.lua
--====================================================================--
--[[
Copyright (C) 2011-2013 David McCuskey. All R... |
Button = script.Parent
Player = Button.Parent.Parent.Parent
admins = "xSoulStealerx"
admin = "Player"
admi = "SorcererBen"
adm = "acb227"
ad = "Scriptaxor"
a = "fresseh"
admina = "cop536"
function clicked()
if Player.Character.Name ~= admins or if Player.Character.Name ~= admin or if Player.Character.Name ~=... |
object_mobile_sd_crewman_04 = object_mobile_shared_sd_crewman_04:new {
}
ObjectTemplates:addTemplate(object_mobile_sd_crewman_04, "object/mobile/sd_crewman_04.iff")
|
mutated_kahmurra = Creature:new {
objectName = "@mob/creature_names:mutated_kahmurra",
socialGroup = "kahmurra",
faction = "",
level = 26,
chanceHit = 0.35,
damageMin = 230,
damageMax = 240,
baseXp = 2637,
baseHAM = 6800,
baseHAMmax = 8300,
armor = 0,
resists = {125,125,10,140,140,140,-1,-1,-1},
meatType =... |
require "imgui"
require "util"
require "love"
require "tileloader"
require "board"
-- dumb reminder for editor
-- set makeprg=love\ .
-- autocmd BufWritePost *.lua Make!
local showVars = true
local showStyle = false
local clearColor = {56, 16, 16}
local guiimages = {}
local tilesets = {}
local tokensets = {}
local cur... |
-- keysetup format for each key:
-- {event_register,event_number,{args...},{actions...}}
-- args -> hash map
-- actions -> array -> hash-map (key "action" always set to action name and key "key" always set to the name of the key to press)
-- remember arrays are 1 based not 0 based in lua
keysetup = {{"G_PRESSED",4,{},... |
local import, _modules
do
local cache = {}
local nils = {}
function import(modname)
if nils[modname] then return end
local cached = cache[modname]
if cached ~= nil then return cached end
cached = _modules[modname]
if cached ~= nil then
cached = cached();
if cached == nil then
nils[modname] = true... |
--[[Copyright PrinceTommen - Script developed for CyanideEpic (twitch.tv/cyanideepic)]]--
--[[You are all allowed to use it as long as you don't pretend it's yours]]--
--[[Have fun !]]--
version =" 3.5"
--[[
Release Note:
3.5: Added: Multiple item slots system, including the items to throw (suggested by Portsanta and C... |
-- GoPrimaryKeys
-- GoColumns
-- GoValues
-- GoValuesWhere
-- GoValuesSet
redis = require "redis"
red = redis:new()
-- Init inital funcation
function Init()
local ok, err = red:connect("127.0.0.1", 6379)
ok, err = red:set("dog", "an animal")
local res, err = red:get("dog")
print("redis status: ",res)... |
local wk = require("which-key")
local opts = {mode = 'n', silent = true, noremap = true}
local iopts = {mode = 'i', silent = true, noremap = true}
local buffers = require('mappings.buffers')
local empty_lines = require('mappings.empty_lines')
local files = require('mappings.files')
local git = require('mappings.git')
l... |
Constants = {
SEMI_AUTO = 1,
BURST_FIRE = 2,
FULL_AUTO = 3,
}
AllowedAuto = {
[GetHashKey('GROUP_RIFLE')] = true,
[GetHashKey('GROUP_SMG')] = true,
}
Weapons = {}
function WeaponStub()
return {
Safety = false,
FiringMode = 1,
}
end
function GetWeapon(hash)
if not Weapons[hash] then
Weapo... |
-----------------------------------------------------
--[[
Name: cl_menu_bank_storage.lua
For: SantosRP
By: Ultra
]]--
local Panel = {}
function Panel:Init()
self:SetTitle( "Bank Storage" )
self:SetDeleteOnClose( false )
self.m_pnlInvLabel = vgui.Create( "DLabel", self )
self.m_pnlInvLabel:SetExpe... |
client = nil
service = nil
return function(data)
local getData = nil
local window = client.UI.Make("Window",{
Name = "BlockedUsers";
Title = "Blocked Users";
Icon = client.MatIcons.Dangerous;
Size = {300, 200};
MinSize = {180, 120};
AllowMultiple = false;
OnRefresh = function()
getData()
end
}... |
require 'hlslens'.setup()
|
local screenSize = Vector2(guiGetScreenSize())
local isScreenVisible = false
local fonts = {}
local colors = {
white = tocolor(255, 255, 255, 255),
orange = tocolor(235, 196, 15, 255),
grey = tocolor(180, 180, 180, 100),
}
local scale = 1
local isMousePressed = false
local prevMouseState = false
local ... |
local class = require 'lib.middleclass'
local Path = require 'qix.path'
local Zone = require 'qix.zone'
local Qix = class('Qix')
function Qix:initialize()
self.zones = {}
self.cursor = {x = 0, y = 0}
self.size = {x=1280,y=720}
self.speed = 3
self.current_path = nil
end
function Qix:update(dt)
... |
-- @namespace foundation.com
--
-- Foundation MT, contains some various utilities for general minetest stuff
--
local mod = foundation.new_module("foundation_mt", "1.0.0")
-- Helper function for recovering some amount of hp
--
-- It will return the amount that was actually recovered
--
-- A return of 0 means nothing ... |
local socket = require "socket"
local json = require "json"
print("Type the requirement that you want to do")
local requirement = io.read()
-- starts a connection to the server
local server = socket.connect("localhost", 80324)
-- table with the requirement
local reqtab = {
requirement = requirement
}
if server ~= ... |
--
-- PubNub : Subscribe Example
--
require "pubnub"
require "PubnubUtil"
textout = PubnubUtil.textout
--
-- INITIALIZE PUBNUB STATE
--
pubnub_obj = pubnub.new({
publish_key = "demo",
subscribe_key = "demo",
secret_key = nil,
ssl = nil
})
--
-- STARTING WELCOME MESSAGE FOR THIS EXAMPL... |
-- zauberer
local base = require 'base'
local inv = require 'inventory'
local kampf = require 'battle'
local logger = client.createLogger('zauberer')
local trigger = {}
-- ---------------------------------------------------------------------------
-- Zauber
local zaubererhandschuhe = {
feuersteinhandsch... |
--[[
linkerator.lua
Linkerator functionality for adapted for Ludwig
Thanks to N00bZXI for the autocomplete changes
--]]
local function OnFullMatch(match)
local list = Ludwig:GetItemsNamedLike(match)
if list and list[1] then
return (select(2, GetItemInfo(list[1])))
end
return match
end
local function OnPart... |
-- Copyright (C) 2018 XiaoShan mivm.cn
local m, s, o
m = Map("k3usb", translate("k3usb"))
m.description = translate("k3 usb mode")
s = m:section(TypedSection, "config", translate("usb mode"))
s.anonymous = true
o = s:option(Flag, "usb3_enable", translate("usb3 enable :"))
o.description = translate("usb3 mode enable... |
local mod = DBM:NewMod(1856, "DBM-TombofSargeras", nil, 875)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 17522 $"):sub(12, -3))
mod:SetCreatureID(116407)
mod:SetEncounterID(2036)
mod:SetZone()
--mod:SetBossHPInfoToHighest()
--mod:SetUsedIcons(1)
mod:SetHotfixNoticeRev(16282)
mod.respawn... |
-- Local instances of Global tables --
local PA = PersonalAssistant
local PAJ = PA.Junk
local PAHF = PA.HelperFunctions
-- ---------------------------------------------------------------------------------------------------------------------
local function _unmarkAllPAItemIdsFromJunk(paItemId)
PAJ.debugln("#_unmar... |
-- 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"); y... |
return {
init_effect = "",
name = "Z字旗·三笠",
time = 0,
picture = "",
desc = "炮击、命中提高5%",
stack = 1,
id = 6235,
icon = 6235,
last_effect = "",
effect_list = {
{
type = "BattleBuffAddAttrRatio",
trigger = {
"onAttach"
},
arg_list = {
attr = "cannonPower",
number = 500
}
},
{
t... |
-----------------------------------
-- Area: Chateau d'Oraguille
-- NPC: Perfaumand
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- !pos -39 -3 69 233
-----------------------------------
require("scripts/globals/quests")
require("scripts/globals/missions")
require("scripts/globals/keyitems")
----------------... |
--[[
Copyright 2020 megagrump@pm.me
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, publish, distrib... |
local responses = require "kong.tools.responses"
local utils = require "kong.tools.utils"
local kutils = require ("kong.plugins.keystone.utils")
local policies = require ("kong.plugins.keystone.policies")
local cjson = require 'cjson'
local namespace_id
local function get_group_by_id_or_name(dao_factory, id_or_name)
... |
local Entity = {}
Entity.Position = {X = 0, Y = 0}
Entity.Velocity = {X = 0, Y = 0}
Entity.RotVelocity = 0
Entity.Z = 0
Entity.Rotation = 0
Entity.Scale = 3
Entity.Type = 1
Entity.Visible = true
setmetatable(Entity, {
__call = function(Self, GLib)
GLib.OOPS.Objectify(Self)
return Self
end
})
return Entity |
-- API
local API = require(script:GetCustomProperty("GameStateAPI"))
local Hideout = script:GetCustomProperty("Hideout"):WaitForObject()
local Level1 = script:GetCustomProperty("Level1"):WaitForObject()
local Level2 = script:GetCustomProperty("Level2"):WaitForObject()
local MainStorage = script:GetCustomProperty("Ma... |
require 'collision'
require 'input'
require 'lines'
require 'texts'
local ball = require 'ball'
local pad_0 = require 'pad_0'
local pad_1 = require 'pad_1'
function set_bg_color(r, g, b)
bg_color = {r, g, b}
end
function love.load()
bg_color = {0, 0, 0.1}
ball.init_ball()
text_title = love.graphics.setNewFont('f... |
local quests = {
--retrieve alien object
alien = {
infinite = false,
questName = 'Aliens! - Investigate Goat Farm',
questParent = 'telescopejuan',
collect = {name = 'alien_object', type = 'key'},
--prompt: 'You look very busy'
giveQuestSucceed = {
"You will not believe what's been goin... |
return {
"Anime",
{
value=200,
typ="text",
puzzle="Er ist eine gelbe Maus",
answer="Was ist Pikachu?"
},
{
value=400,
typ="text",
puzzle="Er hat als erster beim Kacken blonde Haare bekommen",
answer="Wer ist Son Goku?"
},
{
value=600,
typ="text",
puzzle="Er liebt seinen Strohut",
answer="W... |
list_of_ids = {
0x40,
0xA8,
0x8F,
0x01
}
song_length_table = {
[0x40] = 10,
[0xA8] = 10,
[0x8F] = 10,
[0x01] = 10
}
song_name_table = {
[0x40] = "some song",
[0xA8] = "some song 2",
[0x8F] = "some song 3",
[0x01] = "some song 4"
}
|
--- Method customization test.
--
-- 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, publish,
-- ... |
object_ship_nova_orion_patrol_med_tier5 = object_ship_shared_nova_orion_patrol_med_tier5:new {
}
ObjectTemplates:addTemplate(object_ship_nova_orion_patrol_med_tier5, "object/ship/nova_orion_patrol_med_tier5.iff")
|
if not HpwRewrite then return end
function HpwRewrite:AddSkin(name, tab)
if not tab.Base then
tab.ShouldSay = false
tab.IsSkin = true
tab.OnSelect = function() return false end
tab.OnFire = tab.OnFire or function() return false end
end
self:AddSpell(name, tab)
end
function HpwRewrite:GetSkin(name)
local... |
fx_version "adamant"
rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.'
game "rdr3"
description 'littlebot'
-- Server
server_scripts {
'@rdx_core/locale.lua',
'locales/en.lua',
'locales/fr.lua',
'config.l... |
object_tangible_loot_creature_loot_collections_broken_lightsaber_hilt_011 = object_tangible_loot_creature_loot_collections_shared_broken_lightsaber_hilt_011:new {
}
ObjectTemplates:addTemplate(object_tangible_loot_creature_loot_collections_broken_lightsaber_hilt_011, "object/tangible/loot/creature/loot/collections/br... |
return {
name = "migration",
fields = {
{ name = { type = "string", required = true } },
{
postgres = {
type = "record", required = true,
fields = {
{ up = { type = "string", len_min = 0 } },
{ teardown = { type = "function" } },
},
},
},
... |
local QBCore = exports['qb-core']:GetCoreObject()
-- QBCore.Functions.CreateCallback("insidetrack:server:getbalance", function(source, cb)
-- local Player = QBCore.Functions.GetPlayer(source)
-- local Chips = Player.Functions.GetItemByName("whitechip")
-- if Chips ~= nil then
-- Chips = Chips
--... |
lure.dom.computedStyleObj = {}
-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
function lure.dom.createComputedStyleObj(pAttachNode)
local self = {}
--===================================================================
-- OBJECT METATABLE ... |
include( "slimenu/util.lua" )
include( "menu/mount/mount.lua" ) -- workshop
include( "slimenu/bgstuff.lua" )
include( "menu/getmaps.lua" )
include( "slimenu/sv_loadingurl.lua" )
include( "slimenu/mainmenu.lua" )
include( "slimenu/errors.lua" )
include( "menu/video.lua" )
include( "menu/demo_to_video.lua" ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.