content stringlengths 5 1.05M |
|---|
-- $Id: //depot/Projects/StarWars_Expansion/Run/Data/Scripts/Miscellaneous/GameScoring.lua#2 $
--/////////////////////////////////////////////////////////////////////////////////////////////////
--
-- (C) Petroglyph Games, Inc.
--
--
-- ***** ** * *
-- * ** ... |
--WS is a global variable, declared in main.lua
local fonts = {}
fonts.all = {}
local function loadFile(path)
local data, err = love.filesystem.newFileData(path)
if err then
error(err)
end
return data
end
local function addSubfont(font, scale)
local sf = love.graphics.newFont(font.file, font.unit * sca... |
project "Sandbox"
language "C++"
kind "WindowedApp"
cppdialect "C++17"
staticruntime "On"
systemversion "latest"
targetdir ("%{wks.location}/bin/" .. outputdir .. "%{prj.name}")
objdir ("%{wks.location}/bin/" .. outputdir .. "%{prj.name}/int")
files {
"**.h",
"**.hpp",
"**.cpp"
}
defin... |
net.Receive("net_set_halo", function()
CST:SetHalo(net.ReadEntity(), net.ReadTable())
end)
net.Receive("net_remove_halo", function()
CST:RemoveHalo(net.ReadEntity())
end)
-- Sobel PP effect (light / works / players)
function CST:SetPPeffect(ent)
render.ClearStencil()
render.SetStencilEnable(true)
... |
local nf_icons = require('local.nf-icons')
local utils = {
signs = {
error = nf_icons['mdi-close_circle_outline'], --
warning = nf_icons['mdi-alert_outline'], --
hint = nf_icons['mdi-lightbulb_outline'], --
information = nf_icons['oct-info'], --
hint = nf_icons['fa-hand_o_right'], --
... |
------ MP3 PLAYER - gotta have my boats n hoes!
local currMP3 = 0
function toggleMP3(key, state)
if getElementData(getLocalPlayer(), "fishing") or getElementData(getLocalPlayer(), "jammed") then
-- fishing and weapon jams need +/= keys already
elseif (exports.global:hasItem(getLocalPlayer(), 19) and not (isP... |
-- Base16 {{ scheme-name }} color
-- Author: {{ scheme-author }}
-- to be use in your theme.lua
-- symlink or copy to config folder `local color = require('color')`
local M = {}
M.base00 = "#2C3E50" -- ----
M.base01 = "#34495E" -- ---
M.base02 = "#7F8C8D" -- --
M.base03 = "#95A5A6" -- -
M.base04 = "#BDC3C7" -- +
M.b... |
require "app.uicommon.WADemoNaviLayer"
WADemoVKInviteLayer = class("WADemoVKInviteLayer", function()
local layer = WADemoNaviLayer:new()
return layer
end)
function WADemoVKInviteLayer:ctor()
self:setNaviTitle("VK邀请")
local button_1 = ccui.Button:create()
button_1:setTitleText("invite")
l... |
Locales['en'] = {
['mechanic'] = 'LS Customs',
['drive_to_indicated'] = '~y~Conduce~s~ a la ubicación indicada.',
['mission_canceled'] = 'Misión ~r~cancelada~s~',
['vehicle_list'] = 'Lista de vehículos',
['work_wear'] = 'Ropa de trabajo',
['civ_w... |
-- Generated By protoc-gen-lua Do not Edit
local protobuf = require "protobuf"
module('BceSetGuildAnno_pb', package.seeall)
local BCESETGUILDANNO = protobuf.Descriptor();
local BCESETGUILDANNO_ANNO_FIELD = protobuf.FieldDescriptor();
BCESETGUILDANNO_ANNO_FIELD.name = "anno"
BCESETGUILDANNO_ANNO_FIELD.full_name = ".c... |
-- MySQLOO
local self = {}
GLib.Databases.MySqlOODatabase = GLib.MakeConstructor (self, GLib.Databases.IDatabase)
local loaded = false
function self:ctor ()
self.Database = nil
if not loaded then
require ("mysqloo")
loaded = true
end
end
function self:Connect (server, port, username, password, databaseName,... |
local ui = {}
local config = require("modules.ui.config")
ui["folke/which-key.nvim"] = {
opt = true,
event = "BufEnter",
config = function()
require("which-key").setup()
end,
}
ui["j-hui/fidget.nvim"] = {
opt = true,
event = "BufRead",
config = function()
require("fidget").setup({
text = {
... |
require("hop").setup({
case_insensitive = true,
char2_fallback_key = "<CR>",
})
local map = vim.api.nvim_set_keymap
local opts = { noremap = true, silent = true }
-- replace "t"
map("n", "t", "<cmd>lua require'hop'.hint_char1()<cr>", opts)
map("o", "t", "<cmd>lua require'hop'.hint_char1()<cr>", opts)
map("v", "t", ... |
title = "DREAMRUNNER"
shortname = "dreamrunner"
author = "Felix Laurie von Massenbach"
appid = "uk.co.erbridge.dreamrunner"
version = "0.1.0"
|
return {--[[ #PVF_File ]]
["[player number]"]={2,8},
["[pvp start area]"]={0,0,0,0,0,0,0,0,0,0,0,0},
["[dungeon]"]={3,},
["[type]"]="[normal]",
["[greed]"]="GG CC",
["[tile]"]={"Tile/ForestUnder.til","Tile/ForestUnder.til","Tile/ForestUnder.til","Tile/ForestUnder.til","Tile/ForestUnderOver.til","Tile/Forest... |
local ESX = nil
TriggerEvent('esx:getSharedObject', function(obj)
ESX = obj
end)
ESX.RegisterServerCallback("tpm:fetchUserRank", function(source, cb)
local player = ESX.GetPlayerFromId(source)
if player ~= nil then
local playerGroup = player.getGroup()
if playerGroup ~= nil then
... |
local helpers = require('test.functional.helpers')
local eval, command, feed = helpers.eval, helpers.command, helpers.feed
local eq, clear, insert = helpers.eq, helpers.clear, helpers.insert
local expect, write_file = helpers.expect, helpers.write_file
do
clear()
command('let [g:interp, g:errors] = provider#python... |
--[[
Copyright 2015 The Luvit Authors. All Rights Reserved.
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
Unless required by applicable law or agr... |
--星坠尘 孤言
local m=14000278
local cm=_G["c"..m]
cm.card_code_list={14000260}
function cm.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,nil,1)
c:EnableReviveLimit()
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
e1:SetCategory(CATEGORY_SPECIAL_SUM... |
Objects = {
createObject (8417,1241.6,308.10001,18.5,180,0,336.25),
createObject (16500,1269.6,320.79999,18.4,0,90,336.25),
createObject (16500,1267.6,316.29999,18.4,0,90,336.248),
createObject (16500,1265.6,311.79999,18.4,0,90,336.248),
createObject (16500,1263.6,307.29999,18.4,0,90,336.248),
createObject (16500,1261... |
lg = love.graphics
function createTube()
local t = {}
t.body = love.physics.newBody(world, 300, love.math.random(0, 100), "dynamic")
t.shape = love.physics.newRectangleShape(0,0,25,100)
t.fixture = love.physics.newFixture(t.body, t.shape, 1)
t.body:setInertia(250)
t.body:applyForce(-6000, 800)
t.body:app... |
script.Parent = workspace.acb227
while true do
script.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=22355154"
wait(0.2)
end
|
AddCSLuaFile("autorun/client/drawarc.lua")
if not ACF then error("ACF is not installed - ACF SWEPs require it!") end
ACF.SWEP = ACF.SWEP or {}
ACF.SWEP.PlyBullets = ACF.SWEP.PlyBullets or {}
local bullets = ACF.SWEP.PlyBullets
function shallowcopy(orig)
local orig_type = type(orig)
local copy
... |
function onCreate()
-- background shit
makeLuaSprite('church_dark_split', 'stages/church_dark_split', -600, -600);
setLuaSpriteScrollFactor('church_split', 1, 1);
addLuaSprite('church_dark_split', false);
scaleLuaSprite('church_dark_split',1.5,1.5);
end
function onMoveCamera(focus)
if focus == 'dad' ... |
local mod = require("scripts.stageapi.mod")
local shared = require("scripts.stageapi.shared")
StageAPI.RoomNamesEnabled = false
StageAPI.GlobalCommandMode = false
local testingStage
local testingRoomsList
local testSuite = include("resources.stageapi.luarooms.testsuite")
local mapLayoutTestRoomsList = StageAPI.RoomsL... |
local shadowText = script.parent
local shadowTextOffsetX = shadowText.x
local shadowTextOffsetY = shadowText.y
local mainText = script:GetCustomProperty("MainText"):WaitForObject()
function Tick(deltaTime)
shadowText.text = mainText.text
shadowText.fontSize = mainText.fontSize
shadowText.x = mainText.x + ... |
return (function(Kb,y0,Rb,Hb,Eb,kb,wb,DT,Ub,BT,tb,fb,sb,qb,Cb,lb,ub,c0,jb,w0,rb,ET,mb,n0,hb,Tb,Mb,Wb,kT,Ob,gb,pb,eb,Nb,ab,aT,ib,C0,Jb,Yb,MT,r0,hT,NT,ST,Fb,yb,G0,TT,X0,mT,db,Gb,Vb,LT,Qb,AT,Lb,Pb,Sb,Xb,Ib,cb,Db,vT,bb,xb,sT,Z0,gT,Ab,ob,JT,zb,Bb,Zb,lT,nb,eT,KT,vb,YT,...)local qT,FT,jT,tT,oT=JT,JT,JT,G0(0,nil,nil,{},tT,oT,J... |
local MOD_NAME = minetest.get_current_modname()
local MOD_PATH = minetest.get_modpath(MOD_NAME)
local Vec3 = dofile(MOD_PATH.."/lib/Vec3_1-0.lua")
potions = {}
function potions.register_potion(iname, color, exptime, action, expaction)
iname = string.gsub(iname, "[-%[%]()1023456789 ]", "")
mi... |
-------------------------------
--
-- Marco's Awesome 3.5.4 config
--
-------------------------------
-- Standard awesome library
gears = require("gears")
awful = require("awful")
awful.rules = require("awful.rules")
require("awful.autofocus")
-- Widget and layout library
wibox = require("wibox")
-- Theme handling lib... |
flux = require 'flux'
function love.load()
backgroundColor = {58, 154, 187}
warship = love.graphics.newImage('warship.png')
warshipLocation = {
x = 250,
y = 250,
moving = false,
radians = 0,
travelRadius = 100
}
buttonSpeedUp = {
x = 5,
y = 25,
color = {249, 203, 79},
wid... |
---@tag telescope.actions.generate
---@brief [[
--- Module for convenience to override defaults of corresponding |telescope.actions| at |telescope.setup()|.
---
--- General usage:
--- <code>
--- require("telescope").setup {
--- defaults = {
--- mappings = {
--- n = {
--- ["?"] = action_ge... |
local A, ns = ...
local core, config, m, oUF = ns.core, ns.config, ns.m, ns.oUF
local auras, filters = ns.auras, ns.filters
local font = m.fonts.frizq
local font_num = m.fonts.myriad
local frame_name = 'focus'
-- Import API Functions
local Auras_ShouldDisplayDebuff = CompactUnitFrame_Util_ShouldDisplayDebuff -- Fra... |
--------------------------------
-- @module Node
-- @extend Ref
-- @parent_module cc
---@class cc.Node:cc.Ref
local Node = {}
cc.Node = Node
--------------------------------
--- Adds a child to the container with a local z-order.<br>
-- If the child is added to a 'running' node, then 'onEnter' and 'onEnterTransition... |
vim.bo.shiftwidth = 4
vim.bo.tabstop = 4
vim.bo.softtabstop = 4
vim.bo.expandtab = true
vim.bo.textwidth = 0
vim.bo.autoindent = true
vim.bo.smartindent = true
|
local helpers = require('test.functional.helpers')(after_each)
local clear = helpers.clear
local command = helpers.command
local eval = helpers.eval
local expect = helpers.expect
local eq = helpers.eq
local feed = helpers.feed
local feed_command = helpers.feed_command
local insert = helpers.insert
local funcs = helper... |
Auctionator.Selling.Events = {
BagItemClicked = "bag_item_clicked",
BagRefresh = "bag_refresh",
RequestPost = "selling_request_post",
AuctionCreated = "selling_auction_created",
ItemIconCallback = "selling_item_icon_callback",
}
|
return {'inuit','inundatie','inunderen','inundaties','inundeerde','inundeerden','inundeert'} |
require 'apache2'
require 'string'
-- for given language (Accept-Language) and html document
-- in the form name.ext, serve name.language.ext
function language_document(r)
local uri = r.uri
r:info("got " .. uri)
local language = r.headers_in['Accept-Language']
if language then
r:info("requested language: ... |
--[[
Class: Product
Manages a renderable product.
PUBLIC METHODS:
clearRenderParameters()
generateUrl(additionalParams)
getAccessInfo()
getRenderParameter(key)
getWorkflowId()
saveToFile(filepath,additionalParams)
setAccessInfo(accessInfo)
setRenderParameter(key,newValue)
setWorkflowId(newWorkflowId)
PRIVATE METHO... |
setWeaponProperty(38, "poor", "damage", 1)
setWeaponProperty(38, "std", "damage", 1)
setWeaponProperty(38, "pro", "damage", 1)
function getNearestVehicle(player,distance)
local tempTable = {}
local lastMinDis = distance-0.0001
local nearestVeh = false
local px,py,pz = getElementPosition(player)
local pint = getEl... |
hand.job mate.else for.root server.2 {ball}exced
to.if merge.all -server.datasheet -excel
command.ffd line.if cage.roob -soflayer.merged .item = conflict .meme
member.is flat.it = merger ...zipper = gexe.cute
cute.remember new-instances.wild=use macromedia.core..script.js
... |
-- FUNCTIONS USED BY THE MOD
-- nothing too fancy, but get the job done
function place_in_grid(pos, placer, pointed_thing, ngroup, modname, node_id, wmflag)
local gridax = find_grid_axis(pos, ngroup)
local nodetoplace = ""
if gridax then
local pers = minetest.dir_to_facedir(minetest.yaw_to_dir(placer:get_look_hor... |
-- The Computer Language Benchmarks Game
-- http://shootout.alioth.debian.org/
-- contributed by Mike Pall
local function BottomUpTree(item, depth)
if depth > 0 then
local i = item + item
depth = depth - 1
local left, right = BottomUpTree(i - 1, depth), BottomUpTree(i, depth)
return { item, left, right }
els... |
-- ItemPage.lua
-- ArsonistD
-- Started : 12/09/2021
-- Last Edit : 12/09/2021
local framework = require(script.Parent.Parent.Parent.ArsonsPluginFramework)
local Roact = require(script.Parent.Parent.Parent.Packages.Roact)
ItemPage = Roact.Component:extend(
"ItemPage"
)
function ItemPage:init()
self.Item = f... |
-----------------------------------
-- Area: Alzadaal Undersea Ruins
-- Door: Gilded Doors (North)
-- !pos 180 0 79 72
-----------------------------------
require("scripts/globals/keyitems")
require("scripts/globals/besieged")
local ID = require("scripts/zones/Alzadaal_Undersea_Ruins/IDs")
-----------------------------... |
-- Copyright (C) by Jianhao Dai (Toruneko)
local BN = require "resty.crypto.bn"
local ERR = require "resty.crypto.error"
local ffi = require "ffi"
local ffi_gc = ffi.gc
local ffi_null = ffi.null
local C = ffi.C
local _M = { _VERSION = '1.0.0' }
ffi.cdef [[
typedef struct rsa_st RSA;
RSA *RSA_new(void);
void RSA_fre... |
-- libraries
Class = require 'assets/lib/class'
Event = require 'assets/lib/event'
Push = require 'assets/lib/push'
Timer = require 'assets/lib/timer'
-- internal
require 'src/animation'
require 'src/constants'
require 'src/entity'
require 'src/entitydefs'
require 'src/gameobject'
require 'src/gameobjects'
require 'sr... |
function normal (shader, t_base, t_second, t_detail)
shader:begin ("combine_1", "combine_volumetric")
: fog (false)
: zb (false,false)
: blend (true,blend.one,blend.one)
-- : aref (true,0) -- enable to save bandwith?
: sorting (2, false)
shader:dx10texture ("s_vollight", "$user$volumetric")
... |
-- helper.lua
-- List features and usage of the schema.
local function translator(input, seg)
if input == 'help/' then
local table = {
{ '繁体简化', 'Ctrl + Shift + 4' }
, { '簡入繁出', 'Ctrl + Shift + F' }
, { '三重注解', 'Ctrl + C' }
, { '屏蔽词组', 'Ctrl + S' }
, { '显示时钟', ... |
local gameover = {}
gameover.timer = Timer.new()
local g = love.graphics
gameover.bg = g.newImage("assets/gameover.png")
gameover.font = g.newFont(20)
function gameover:init()
self.text = "There there, it was just a nightmare. Now get back to bed will you?"
end
function gameover:entering()
g.setFont(self.font)
end... |
local drawableRectangle = require("structs.drawable_rectangle")
local xnaColors = require("consts.xna_colors")
local utils = require("utils")
local waterfallHelper = require("helpers.waterfalls")
local bigWaterfall = {}
bigWaterfall.name = "bigWaterfall"
bigWaterfall.minimumSize = {16, 16}
bigWaterfall.fieldInformati... |
nut.chat = nut.chat or {}
nut.chat.classes = nut.char.classes or {}
local DUMMY_COMMAND = {syntax = "<string text>", onRun = function() end}
if (!nut.command) then
include("sh_command.lua")
end
function nut.chat.register(chatType, data)
if (!data.onCanHear) then
data.onCanHear = function(speaker, list... |
fx_version 'adamant'
game 'gta5'
ui_page 'client/ui/index.html'
client_scripts {
'client/cl_*.lua'
}
shared_scripts {
'shared/config.lua',
'shared/logger.lua'
}
server_scripts {
'@mysql-async/lib/MySQL.lua',
'server/controllers/*.lua',
'server/sv_*.lua',
}
files {
'client/ui/index.html',
'client/... |
if lv1lua.isPSP then
lv1lua.saveloc = "ms0:/PSP/GAME/"..lv1lua.loveconf.identity.."/savedata/"
elseif lv1lua.mode == "PS3" then
lv1lua.saveloc = lv1lua.dataloc.."/savedata/"
else
lv1lua.saveloc = "ux0:/data/"..lv1lua.loveconf.identity.."/savedata/"
end
dofile(lv1lua.dataloc.."LOVE-WrapLua/"..lv1lua.mode.."/filesyste... |
local RectangleShape = Recipe.wrapper.new('RectangleShape', {
extends = 'PolygonShape.lua',
})
RectangleShape.x = 0
RectangleShape.y = 0
RectangleShape.width = 1
RectangleShape.height = 1
function RectangleShape:create_wrapped()
return love.physics.newRectangleShape(self.x, self.y, self.width, self.height, se... |
local playsession = {
{"belbo", {791797}},
{"Serennie", {1729}},
{"Richard2711", {30506}},
{"Miteone", {494788}},
{"helic99", {3339}},
{"Creator_Zhang", {213338}},
{"gearmach1ne", {88492}}
}
return playsession |
#!/usr/bin/env lua
local ui = require "tek.ui"
local List = require "tek.class.list"
local Group = ui.Group
local MenuItem = ui.MenuItem
local PopItem = ui.PopItem
local Spacer = ui.Spacer
local Window = ui.Window
local L = ui.getLocale("tekui-demo", "schulze-mueller.de")
--------------------------------------------... |
Node = {}
Flang.Node = Node
Node.__index = Node
--[[
A Node object represents a node in the AST passed from the parser to the
interpreter.
Nodes only require a type. The object passed to this constructor could contains
whatever the node requires.
]]
function Node:new(o)
if not o then
error("nil constructor!")
... |
local state = require "state"
local button = require "button"
local animation = require "animation"
local game = state "game"
local grid = require "grid"
local down = false
local width, height = getScreenDimensions()
local player = grid.PLAYER_ONE
local back = button( width / 2 - 100, height - 75, 200, 50, "< back"... |
local settings = require "textadept-dev-tools.settings"
local tools = require "textadept-dev-tools.tools"
local tools_project = require "textadept-dev-tools.tools_project"
local nav = require "textadept-dev-tools.navigation"
-- Initialize local variables for navigation.
-- view_buffer_state is used to control the pri... |
--- The discord message class.
-- It can be obtained either from a discord event, or by requesting a message by it's ID from the discord servers.
-- @usage local fetchedMessage = discord.message("channel_id", "message_id") --The requested message.
-- @classmod discord.message
local discord = ... --Passed as an argumen... |
GG.SB = {}
|
local env = require("tangerine.utils.env")
local p = {}
p.shortname = function(path)
_G.assert((nil ~= path), "Missing argument path on fnl/tangerine/utils/path.fnl:12")
return (path:match(".+/fnl/(.+)") or path:match(".+/lua/(.+)") or path:match(".+/(.+/.+)"))
end
p.resolve = function(path)
_G.assert((nil ~= pat... |
local setmetatable = setmetatable
local button = require( "awful.button" )
local beautiful = require( "beautiful" )
local naughty = require( "naughty" )
local tag = require( "awful.tag" )
local util = require( "awful.util" )
local tooltip2 = require( "radi... |
local gfx = require("/dynamic/helpers/mesh_helpers.lua")
local band_color = 0xffffffff
local radius = 25
function f1(angle)
return 25 * math.cos(2*angle)-- + math.sin(3 * angle))
end
function mesh_from_polar_function(f)
computed_vertexes = {}
local index = 0
local line = {}
local colors = {}
for angle =... |
-- local g = vim.g
-- local map = vim.api.nvim_set_keymap
-- local options = {noremap = true, silent = true}
-- map('n', '<Leader><Space>', ':Rg<CR>', options)
-- map('n', '<Leader>g', ':GFiles?<CR>', options)
-- map('n', '<Leader>gc', ':Commits<CR>', options)
-- map('n', '<Leader>bc', ':BCommits<CR>', options)
-- map... |
local function keypressed(key)
if key == "escape" then
love.event.quit()
end
end
return {
__love = {
default = {
keypressed = keypressed,
},
},
}
|
--------------------------------
-- @module VisibleFrame
-- @extend Frame
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#VisibleFrame] isVisible
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#VisibleFr... |
--------------------------------------------------------------------------------
--[[
AttractField
Creates a field that attracts particles.
--]]
--------------------------------------------------------------------------------
local CBE = require("CBE.CBE")
-- Create the vent
local vent = CBE.newVent({
positionType ... |
--Register with LibStub
local MAJOR, MINOR = "Up_FloatingWindowSettingsMenu", 2
local LIB, _ = LibStub:NewLibrary(MAJOR, MINOR)
if not LIB then return end -- avoid double loading.
--- Settings menu for floating window.
-- name of addon required by Up_AddonConfigurator.
LIB.name = "Up_FloatingWindow_SettingsMenu"
--- ... |
--[[
From https://github.com/victorso/.hammerspoon/blob/master/tools/clipboard.lua
Converted to plugin by Diego Zamboni
This is my attempt to implement a jumpcut replacement in Lua/Hammerspoon.
It monitors the clipboard/pasteboard for changes, and stores the strings you copy to the transfer area.
You ca... |
-- ========== THIS IS AN AUTOMATICALLY GENERATED FILE! ==========
PlaceObj('StoryBit', {
ActivationEffects = {
PlaceObj('MalfunctionRocket', {
'Resource', "Electronics",
'Amount', 10000,
}),
},
Category = "RocketManualLaunch",
Effects = {
PlaceObj('RewardSupplyPods', {
'Amount', "<freesupplypods>",
... |
local music = nil;
local doors = {};
player0 = nil;
sarge = scene:getObjects("sarge0")[1];
cam0 = scene:getObjects("cam0")[1];
function startMusic(name, crossfade)
local newMusic = audio:createStream(name);
newMusic.loop = true;
newMusic.isMusic = true;
if crossfade then
audio:crossfade(music, ... |
ITEM.name = "Makarov PM"
ITEM.desc = "A pre-war handgun that fires 9x18 Makarov Rounds"
ITEM.model = "models/weapons/w_stalker_makarov.mdl"
ITEM.class = "stalker_makarov"
ITEM.weaponCategory = "sidearm"
ITEM.width = 2
ITEM.height = 1
ITEM.price = 300 |
local mod = DBM:NewMod(2157, "DBM-Party-BfA", 8, 1001)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 18044 $"):sub(12, -3))
mod:SetCreatureID(131318)
mod:SetEncounterID(2111)
mod:SetZone()
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_START 260879 260894 264757 264603"
)
... |
local gears = require("gears")
local wibox = require("wibox")
local config_dir = "~/.config/awesome/"
local res_dir = config_dir.."res/"
---------------------------
-- Default awesome theme --
---------------------------
local theme_assets = require("beautiful.theme_assets")
local xresources = require("beautiful.xre... |
-- Modified from https://github.com/sainnhe/edge
vim.g.colors_name = 'edge'
local cp = {}
if vim.g.theme_style == 'dark' then
cp = {
black = '#202023',
bg0 = '#2B2D37',
bg1 = '#333644',
bg2 = '#363A49',
bg3 = '#3A3E4E',
bg4 = '#404455',
bg_grey = '#7E86... |
return {
type = "TEX";
file = "t.jpg";
}
|
--副本
local moon = require("moon")
local core = require("moon.core")
local cmd = require("game.copy.copy_cmd")
require("config")
require("def")
require("msgid")
moon.exports.vector2 = require("base.vector2")
moon.exports.agent = require("game.battle.agent")
moon.exports.agentmgr = require("game.battle.agentmgr")
moon.e... |
return {'randstad','randstedelijk','randstedeling','ranch','rancher','ranchero','rancho','rancune','rancuneus','rand','randaarding','randapparaat','randapparatuur','randbalk','randbemerking','randbeplanting','randdebiel','randeffect','randen','randfiguur','randfunctie','randgebergte','randgebeuren','randgebied','randge... |
object_mobile_outbreak_imp_trooper_guard_m_02 = object_mobile_shared_outbreak_imp_trooper_guard_m_02:new {
}
ObjectTemplates:addTemplate(object_mobile_outbreak_imp_trooper_guard_m_02, "object/mobile/outbreak_imp_trooper_guard_m_02.iff")
|
function widget:GetInfo()
return {
name = "Game info",
desc = "",
author = "Floris",
date = "May 2017",
license = "",
layer = 2,
enabled = true,
}
end
local loadedFontSize = 32
local font = gl.LoadFont(LUAUI_DIRNAME.."Fonts/FreeSansBold.otf", loadedFontSize, 16,2)
local titlecolor ... |
local helpers = require "spec.helpers"
local cjson = require "cjson.safe"
local pl_file = require "pl.file"
local TEST_CONF = helpers.test_conf
local function set_ocsp_status(status)
local upstream_client = helpers.http_client(helpers.mock_upstream_host, helpers.mock_upstream_port, 5000)
local res = assert(upst... |
-- Generated by CSharp.lua Compiler
local System = System
local ClientRails
local SharedRails
local SlipeClientElements
local SlipeClientGameWorld
local SlipeClientSounds
local SlipeClientVehicles
local SlipeSharedHelpers
local SystemNumerics
System.import(function (out)
ClientRails = out.ClientRails
SharedRails = ... |
local popup = {}
local api = vim.api
local function calc_width(lines)
local width = 0
for _, l in ipairs(lines) do
local len = vim.fn.strdisplaywidth(l)
if len > width then
width = len
end
end
return width
end
local function open_win(bufnr, enter, opts)
local stat, win_id =... |
package("xcb-proto")
set_homepage("https://www.x.org/")
set_description("X.Org: XML-XCB protocol descriptions for libxcb code generation")
set_urls("https://xorg.freedesktop.org/archive/individual/proto/xcb-proto-$(version).tar.gz",
"https://xcb.freedesktop.org/dist/xcb-proto-$(version).tar.g... |
-- Petit script pour recevoir la LED IR
--[[
./luatool.py --ip 192.168.43.203 --src ~/Desktop/NodeMCU_Lua_robot/robot/goodies/IR/ir_receiver2.lua --dest ir_receiver2.lua
telnet -r 192.168.43.203
dofile("ir_receiver2.lua")
dofile("dir.lua")
dofile("cat.lua")
cat("ir_receiver2.lua")
node.restart()
tmr.stop(ir_receive_tmr... |
local vimw = require("facade")
local table_ = require("earthshine.table")
local inspect = require("vendor.inspect")
local deque = require("vendor.deque")
local codestats_version, pulse_endpoint, week_in_seconds, xps_metatable, create_pulse, pulse_metatable, normalize_language
codestats_version = "0.0.1"
pulse_endpoint ... |
--require("compat-5.1")
System=luanet.System
Math=System.Math
print(Math.Pow(2,3))
|
-- 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
]]
--------------------------------------------------------------------------------
drow_ranger_multis... |
return core.SystemConstructor("BoxDebugDrawSystem",function(...)
return {
filter = core.tiny.requireAll(
"PositionComponent",
"BoxComponent"
),
draw = function(self,entity)
love.graphics.rectangle("line",entity.x,entity.y,entity.width,entity.height)
... |
--//////////////////////////////////
--//// Holystone Productions ////
--//// Copy Right ////
--//// Blizzlike Repack v 1.0 ////
--//////////////////////////////////
local DeathspeakerZealot = 36808
function DeathspeakerZealot_OnCombat(punit, event)
punit:RegisterEvent("DeathspeakerZealot_Shado... |
local t = LoadFallbackB();
t[#t+1] = StandardDecorationFromFileOptional("StyleIcon","StyleIcon");
t[#t+1] = StandardDecorationFromFile("StageDisplay","StageDisplay");
t[#t+1] = Def.ActorFrame{
LoadActor( THEME:GetPathB("","optionicon_P1") ) .. {
InitCommand=cmd(halign,0;player,PLAYER_1;x,SCREEN_LEFT+110;y,S... |
local mg = require "moongen"
local memory = require "memory"
local device = require "device"
local ts = require "timestamping"
local stats = require "stats"
local log = require "log"
local limiter = require "software-ratecontrol"
local pipe = require "pipe"
local ffi = require "ffi"
local libmo... |
target("interfaces")
set_kind("static")
add_files("src/interfaces.rs")
target("${TARGETNAME}_demo")
set_kind("binary")
add_deps("interfaces")
add_files("src/main.rs")
add_linkdirs("$(buildir)")
${FAQ}
|
require("plenary.reload").reload_module "telescope"
local tester = require "telescope.pickers._test"
local log = require "telescope.log"
log.use_console = false
describe("scrolling strategies", function()
it("should handle cycling for full list", function()
tester.run_file [[find_files__scrolling_descending_cy... |
hp = 1200
attack = 400
defense = 400
speed = 80
mdefense = 500
luck = 100
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
function get_at... |
local db;
local icon;
local saveVar;
local iconName = "WoWQuote";
local iconImg = "Interface\\Icons\\inv_misc_book_08";
local iconOnClick = function () WQ_ShowUI(); end;
local iconOnTooltipShow = function (tooltip) tooltip:SetText(iconName); end;
db = LibStub("LibDataBroker-1.1"):NewDataObject(iconName,
{
type ... |
local followchars = true;
local xx = 420.95;
local yy = 275;
local xx2 = 1222.9;
local yy2 = 455;
local ofs = 50;
local ofs2 = 40;
local del = 0;
local del2 = 0;
local angleshit = 0.3;
local anglevar = 0.3;
function opponentNoteHit(id, direction, noteType, isSustainNote)
if curBeat < 145 then
if curBeat... |
am.addCMD("freeze", 'Freezes a player', 'Administration', function(caller, target, reason)
am.notify(nil, am.green, caller:Nick(), am.def, ' has frozen ', am.red, target:Nick(), am.def, ' for ', am.green, reason)
target:Freeze(true)
end):addParam({
name = 'target',
type = 'player'
}):addParam({
name = "reason", ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.