repo_name
stringlengths
6
78
path
stringlengths
4
206
copies
stringclasses
281 values
size
stringlengths
4
7
content
stringlengths
625
1.05M
license
stringclasses
15 values
Hugome/perso-script-tekkit
ObsidianGenerator/src/obsidian_gen.lua
1
1455
toBreak = 0 breaked = 0 redstone.setOutput("left", false) -- Count obsidian to generate for i = 1, 16 do local slotDetails = turtle.getItemDetail() turtle.select(i) if (slotDetails ~= nil and slotDetails.name == "minecraft:redstone") then toBreak = toBreak + turtle.getItemCount() slotDetails = turtle.get...
mit
pi399/cobalt
moveable.lua
1
2493
--moveable.lua local Moveable={} local mt={__index=Moveable} local love=love function Moveable:new(world,spritepath,mc,mm,mx,my,mxl,myl,mvx,mvy,max,may) --[[loadstring(spritepath)() loadsprites() local spritefield=getsprites()]] mc,mm,mx,my,mxl,myl,mvx,mvy,max,may =mc or false,mm or false,mx or 0,my or 0,mxl or...
gpl-2.0
xueliu/lora-feed
luci-app-basicstation/files/usr/lib/lua/luci/model/cbi/lora/station.lua
1
13460
local fs = require "nixio.fs" m=Map("station",translate("Basicstation"),translate("Here you can configure the Semtech basicstation")) function string.tohex(str) return (str:gsub('.', function (c) return string.format('0x%02X ', string.byte(c)) end)) end -- -- CUPS Bootstrap Configuration -- local cup...
gpl-2.0
stormraiser/GAN-weight-norm
torch/plot.lua
1
1539
local argparse = require 'argparse' local torch = require 'torch' local gnuplot = require 'gnuplot' local paths = require 'paths' parser = argparse() parser:option('--load_paths', 'paths to experiments to plot'):args('+') parser:option('--type', 'test | dis | dis-real | dis-fake | gen', 'test') parser:option('--interv...
gpl-3.0
rickyHong/dptorchLib
model/layer.lua
2
8317
------------------------------------------------------------------------ --[[ Layer ]]-- -- Abstract class -- Opposite of Container. An indivisable component. ------------------------------------------------------------------------ local Layer, parent = torch.class("dp.Layer", "dp.Model") Layer.isLayer = true function...
bsd-3-clause
shahabsaf1/tg
plugins/id.lua
226
4260
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, result) local re...
gpl-2.0
aspiraboo/kappa
vc14/data/spells/scripts/attack/inflict_wound.lua
5
1059
local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_DRAWBLOOD) combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_WEAPONTYPE) local function getHighestSkillLevel(creature) local skillLevel = -1 for skillType = SKILL_CLUB, SKI...
gpl-2.0
resistor58/deaths-gmod-server
wire/lua/entities/gmod_wire_oscilloscope/cl_init.lua
1
2094
include('shared.lua') ENT.Spawnable = false ENT.AdminSpawnable = false ENT.RenderGroup = RENDERGROUP_BOTH function ENT:Initialize() self.GPU = WireGPU(self.Entity) end function ENT:OnRemove() self.GPU:Finalize() end function ENT:Draw() self.Entity:DrawModel() if (true) then loca...
gpl-3.0
shahabsaf1/tg
plugins/minecraft.lua
624
2605
local usage = { "!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565", "!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.", } local ltn12 = require "ltn12" local function mineSearch(ip, port, receiver) --25565 local responseText = "" l...
gpl-2.0
tkdrob/Battle-Tag
Data/Script/Lua/Classes/UTActivity.lua
1
8039
--[[-------------------------------------------------------------------------- -- -- File: UTActivity.lua -- Copyright (c) Ubisoft Entertainment. All rights reserved. -- -- Project: Ubitoys.Tag -- Date: July 26, 2010 -- -------------------------------------------...
mit
cyrillePrigent/kmod-ng
umod/command/both/goto.lua
1
1542
-- Move directly your player to another player. -- From kmod script. -- params is parameters passed from et_ClientCommand / et_ConsoleCommand function. -- * params["arg1"] => player ID -- * params["arg2"] => target function execute_command(params) params.say = "chat" if params.nbArg < 3 then print...
gpl-2.0
dunn/ntopng
scripts/lua/hosts_comparison_bubble.lua
7
4450
-- -- (C) 2014-15-15 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "lua_utils" sendHTTPHeader('text/html; charset=iso-8859-1') local debug = false ------------------------ function setAggregationValue(p_type,p_flow,p_key) l_array = {} ...
gpl-3.0
team-smart/smart_team
plugins/music_eng.lua
1
3287
--[[ 🔱➖➖➖➖➖➖➖➖➖➖➖➖➖➖🔱 #:[[ #For info file #Developer : #JOker < @lua_3 > #JoZef < @jozef3 > #our channel: @Smart_Team #File type : ( ) 🔱➖➖➖➖➖➖➖➖➖➖➖➖➖➖🔱 —]] local function musiclink(msg, musicid) local value = redis:hget('music:'..msg.to.id, musicid) if not value then return else value = value..'\n\n@SMART...
gpl-2.0
oratory/wago.io
backend/api/lua/libs/LibStub/tests/test2.lua
100
1112
debugstack = debug.traceback strmatch = string.match loadfile("../LibStub.lua")() for major, library in LibStub:IterateLibraries() do -- check that MyLib doesn't exist yet, by iterating through all the libraries assert(major ~= "MyLib") end assert(not LibStub:GetLibrary("MyLib", true)) -- check that MyLib doesn't ...
mit
sanger-pathogens/companion
bin/ratt_remove_problematic.lua
4
3489
#!/usr/bin/env gt --[[ Author: Sascha Steinbiss <ss34@sanger.ac.uk> Copyright (c) 2015 Genome Research Ltd Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all co...
isc
chewi/Aquaria
files/scripts/maps/node_beacon_li.lua
6
1160
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
jiangzhw/QSanguosha
lang/zh_CN/Package/MomentumPackage.lua
6
7984
-- translation for Hegemony Momentum Package return { ["momentum"] = "君临天下·势", ["momentum_equip"] = "君临天下·势", ["#lidian"] = "深明大义", ["lidian"] = "李典", ["illustrator:lidian"] = "张帅", ["xunxun"] = "恂恂", [":xunxun"] = "摸牌阶段开始时,你可以放弃摸牌,观看牌堆顶的四张牌并获得其中的两张牌,然后将其余的牌置于牌堆底。", ["wangxi"] = "忘隙", [":wangxi"] = "每当你对其他角色...
gpl-3.0
mattyx14/otxserver
data/monster/humans/hardened_usurper_warlock.lua
2
2466
local mType = Game.createMonsterType("Hardened Usurper warlock") local monster = {} monster.description = "a hardened usurper warlock" monster.experience = 0 monster.outfit = { lookType = 1316, lookHead = 57, lookBody = 38, lookLegs = 21, lookFeet = 21, lookAddons = 0, lookMount = 0 } monster.health = 7500 mon...
gpl-2.0
mattyx14/otxserver
data/monster/quests/cults_of_tibia/bosses/pillars/containment_crystal.lua
2
1890
local mType = Game.createMonsterType("Containment Crystal") local monster = {} monster.description = "a containment crystal" monster.experience = 0 monster.outfit = { lookTypeEx = 7805 } monster.health = 20000 monster.maxHealth = 20000 monster.race = "undead" monster.corpse = 0 monster.speed = 0 monster.manaCost = 0...
gpl-2.0
mattyx14/otxserver
data/monster/quests/the_secret_library/dazed_leaf_golem.lua
2
2314
local mType = Game.createMonsterType("Dazed Leaf Golem") local monster = {} monster.description = "a dazed leaf golem" monster.experience = 8000 monster.outfit = { lookType = 573, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0, lookMount = 0 } monster.health = 10000 monster.maxHealth = ...
gpl-2.0
Germanunkol/GridCars
lib/hump/signal.lua
27
2769
--[[ Copyright (c) 2012-2013 Matthias Richter 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, dis...
mit
ReclaimYourPrivacy/cloak-luci
contrib/luasrcdiet/lua/optlex.lua
125
31588
--[[-------------------------------------------------------------------- optlex.lua: does lexer-based optimizations This file is part of LuaSrcDiet. Copyright (c) 2008 Kein-Hong Man <khman@users.sf.net> The COPYRIGHT file describes the conditions under which this software may be distributed. See the Chan...
apache-2.0
garrysmodlua/wire
lua/wire/client/hlzasm/hc_optimize.lua
18
4421
-------------------------------------------------------------------------------- -- HCOMP / HL-ZASM compiler -- -- Optimizer -------------------------------------------------------------------------------- local OptimizationPattern = { --------------------------------------------------------------------------------...
apache-2.0
mattyx14/otxserver
data/monster/quests/the_new_frontier/menace.lua
2
1864
local mType = Game.createMonsterType("Menace") local monster = {} monster.description = "Menace" monster.experience = 3250 monster.outfit = { lookType = 113, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0, lookMount = 0 } monster.health = 6000 monster.maxHealth = 6000 monster.race = "bl...
gpl-2.0
nitheeshkl/kln_awesome
awesome_3.4/calendar2.lua
1
3964
-- original code made by Bzed and published on http://awesome.naquadah.org/wiki/Calendar_widget -- modified by Marc Dequ?nes (Duck) <Duck@DuckCorp.org> (2009-12-29), under the same licence, -- and with the following changes: -- + transformed to module -- + the current day formating is customizable local string = s...
gpl-2.0
TideSofDarK/DotaCraft
game/dota_addons/dotacraft/scripts/vscripts/heroes/pandaren/storm_earth_fire.lua
1
9497
--[[ Author: Noya Date: 21.01.2015. Primal Split ]] -- Starts the ability function PrimalSplit( event ) local caster = event.caster local player = caster:GetPlayerID() local ability = event.ability local duration = ability:GetLevelSpecialValueFor( "duration" , ability:GetLevel() - 1 ) local level = ability:Get...
gpl-3.0
CarabusX/Zero-K
units/hoverminer.lua
3
3172
return { hoverminer = { unitname = [[hoverminer]], name = [[Dampener]], description = [[Minelaying Hover]], acceleration = 0.2175, brakeRate = 2.05, buildCostMetal = 200, builder = false, buildPic = [[hoverminer.png]], canG...
gpl-2.0
mattyx14/otxserver
data/monster/plants/spit_nettle.lua
2
2809
local mType = Game.createMonsterType("Spit Nettle") local monster = {} monster.description = "a spit nettle" monster.experience = 20 monster.outfit = { lookType = 221, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0, lookMount = 0 } monster.raceId = 221 monster.Bestiary = { class = "Pla...
gpl-2.0
Guard13007/Grand-Theft-Papercut
src/lib/ser.lua
3
3592
local pairs, ipairs, tostring, type, concat, dump, floor = pairs, ipairs, tostring, type, table.concat, string.dump, math.floor local function getchr(c) return "\\" .. c:byte() end local function make_safe(text) return ("%q"):format(text):gsub('\n', 'n'):gsub("[\128-\255]", getchr) end local oddvals = {[tostring(1...
mit
gavares/snort3
piglet/tests/common.lua
4
4965
do local table = table local meta = { __index = table} -- give tables metatable access to the table library function table.new(t) t = t or { } setmetatable(t, meta) return t end function table:imap(fn) local iter, a, s = ipairs(self) local closure = func...
gpl-2.0
sxx1314/broadlink_openwrt
feeds/xwrt/webif-iw-lua/files/usr/lib/lua/lua-xwrt/xwrt/init.lua
18
1593
old_require = require function exists(file) local f = io.open( file, "r" ) if f then io.close( f ) return true else return false end end function require (str) local fstr = string.gsub(str,"[.]","/") for path in string.gmatch(package.path,"[^;]+") do local path = string.gsu...
gpl-2.0
mattyx14/otxserver
data/scripts/spells/attack/brutal_strike.lua
2
1169
local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_HITAREA) combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_WEAPONTYPE) combat:setParameter(COMBAT_PARAM_BLOCKARMOR, 1) combat:setParameter(COMBAT_PARAM_USECHARGES, 1) functio...
gpl-2.0
tgp1994/LiquidRP-tgp1994
gamemode/liquiddrp/sv_playerfuncs.lua
1
4395
local meta = FindMetaTable("Player") local file = file local LDRP = {} util.AddNetworkString( "SendEXP" ) --[[ Files: Loading and saving ]]-- function meta:UIDToFile(fil) if self and self:IsValid() and fil then return "liquiddrp/" .. fil .. "_" .. self:UniqueID() end end function meta:LiquidFile(fil,load) if se...
gpl-3.0
imeteora/cocos2d-x-3.x-Qt
cocos/scripting/lua-bindings/auto/api/Button.lua
2
4730
-------------------------------- -- @module Button -- @extend Widget -------------------------------- -- @function [parent=#Button] getTitleText -- @param self -- @return string#string ret (return value: string) -------------------------------- -- @function [parent=#Button] setTitleFontSize -- @param self ...
gpl-2.0
aledbf/ingress-nginx
rootfs/etc/nginx/lua/test/util_test.lua
3
3331
local util describe("utility", function() before_each(function() ngx.var = { remote_addr = "192.168.1.1", [1] = "nginx/regexp/1/group/capturing" } util = require_without_cache("util") end) after_each(function() reset_ngx() end) describe("ngx_complex_value", function() local ngx_complex_val...
apache-2.0
CarabusX/Zero-K
LuaUI/Widgets/gui_unit_target_command_helper.lua
6
6729
function widget:GetInfo() return { name = "Unit Target Command Helper", desc = "Makes it easier to issue single unit commands on moving units.", author = "GoogleFrog", date = "20 February 2019", license = "GNU GPL, v2 or later", layer = -52, enabled = true, handler = true, ...
gpl-2.0
PAC3-Server/ServerContent
lua/notagain/jrpg/autorun/client/jchat.lua
2
12113
if jchat then jchat.Stop() end jchat = {} jchat.random_seed = "" function jchat.RandomSeed(min, max, seed) seed = seed or jchat.random_seed return util.SharedRandom(seed, min, max) end function jchat.Start(stop_cb) if jchat.IsActive() then jchat.Stop() end hook.Add("CalcView", "jchat", jchat.CalcView) ho...
mit
rigeirani/nodc
plugins/ingroup.lua
4
44347
do -- Check Member local function check_member_autorealm(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostr...
gpl-2.0
PAC3-Server/ServerContent
lua/notagain/jrpg/damage_types/lightning.lua
2
2519
local META = {} META.Name = "lightning" META.Adjectives = {"shocking", "electrical", "electrifying"} META.Names = {"lightning", "thunder", "zeus"} META.DamageTranslate = { DMG_SHOCK = true, } function META:OnDamage(self, attacker, victim, dmginfo) jdmg.SetStatus(victim, "lightning", dmginfo:GetDamage()/50) end if CL...
mit
garrysmodlua/wire
lua/wire/wire_paths.lua
2
3026
-- wire_paths.lua -- -- This file implements syncing of wire paths, which are the visual -- component of wires. -- -- Conceptually, a wire path has a material, a color, and a non-zero width, as -- well as as a non-empty polyline along the wire. (Each point in the line -- has both a parent entity, and a local offset fro...
apache-2.0
luciouskami/YDWE
Development/Component/plugin/w3x2lni/script/core/map-builder/save.lua
3
2971
local w3xparser = require 'w3xparser' local lang = require 'lang' local function build_imp(w2l, output_ar, imp_buf) local impignore = {} for _, name in ipairs(w2l.info.pack.impignore) do impignore[name] = true end for _, name in pairs(w2l.info.obj) do impignore[name] = true end ...
gpl-3.0
mattyx14/otxserver
data/scripts/spells/support/strong_haste.lua
2
1467
local combat = Combat() combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN) combat:setParameter(COMBAT_PARAM_AGGRESSIVE, 0) local condition = Condition(CONDITION_HASTE) condition:setParameter(CONDITION_PARAM_TICKS, 22000) condition:setFormula(0.7, -56, 0.7, -56) combat:addCondition(condition) local spell =...
gpl-2.0
mattyx14/otxserver
data/monster/vermins/tremendous_tyrant.lua
2
3722
local mType = Game.createMonsterType("Tremendous Tyrant") local monster = {} monster.description = "a tremendous tyrant" monster.experience = 6100 monster.outfit = { lookType = 1396, lookHead = 60, lookBody = 84, lookLegs = 40, lookFeet = 94, lookAddons = 3, lookMount = 0 } monster.raceId = 2089 monster.Bestia...
gpl-2.0
CarabusX/Zero-K
units/chicken_spidermonkey.lua
4
3301
return { chicken_spidermonkey = { unitname = [[chicken_spidermonkey]], name = [[Spidermonkey]], description = [[All-Terrain Support]], acceleration = 1.08, activateWhenBuilt = true, brakeRate = 1.23, buildCostEnergy = 0, buildCostMetal = 0, ...
gpl-2.0
zain211/zain.aliraqex
plugins/ingroup.lua
47
60291
do -- Check Member local function check_member_autorealm(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.peer_id if member_id ~= our_id then -- Group configuration data[...
gpl-2.0
aledbf/ingress-nginx
rootfs/etc/nginx/lua/certificate.lua
3
9399
local http = require("resty.http") local ssl = require("ngx.ssl") local ocsp = require("ngx.ocsp") local ngx = ngx local string = string local tostring = tostring local re_sub = ngx.re.sub local unpack = unpack local dns_lookup = require("util.dns").lookup local _M = { is_ocsp_stapling_enabled = false } local DEFA...
apache-2.0
CarabusX/Zero-K
LuaRules/Gadgets/weapon_area_damage.lua
7
5687
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function gadget:GetInfo() return { name = "Area Denial", desc = "Lets a weapon's damage persist in an area", author = "KDR_11k (David Becker), Google F...
gpl-2.0
antogerva/jpcrr
src/main/java/lua/generic-watch.lua
2
2872
win = jpcrr.window.create("Generic watch"); y = 0; fieldpair = function(fname, label) win:create_component({gridx = 0, gridy = y, gridwidth = 1, gridheight = 1, name = fname .. "_LABEL", type = "label", text = label, fill = win:HORIZONTAL(), weightx = 0, weighty = 1}); win:create_component({gridx = 1, gridy = y, ...
gpl-2.0
UB12/wnww
plugins/setrank.lua
40
8897
do local Dev = 122774063 --put your id here(BOT OWNER ID) local function setrank(msg, name, value) -- setrank function local hash = nil if msg.to.type == 'chat' then hash = 'rank:'..msg.to.id..':variables' end if hash then redis:hset(hash, name, value) return send_msg('chat#id'..msg.to.id, 'مقام کاربر...
gpl-2.0
MeshGeometry/Urho3D
bin/Data/LuaScripts/Utilities/Touch.lua
32
2209
-- Mobile framework for Android/iOS -- Gamepad from Ninja Snow War -- Touches patterns: -- - 1 finger touch = pick object through raycast -- - 1 or 2 fingers drag = rotate camera -- - 2 fingers sliding in opposite direction (up/down) = zoom in/out -- Setup: Call the update function 'UpdateTouches()' from...
mit
HeavenIsLost/cast
data/events/scripts/player.lua
20
5180
function Player:onBrowseField(position) return true end function Player:onLook(thing, position, distance) local description = "You see " .. thing:getDescription(distance) if self:getGroup():getAccess() then if thing:isItem() then description = string.format("%s\nItem ID: %d", description, thing:getId()) lo...
gpl-2.0
CarabusX/Zero-K
effects/DOT_Merl_Dexplo.lua
7
1627
return { DOT_Merl_DExplo = { Dreck = { class = [[CSimpleParticleSystem]], properties = { Texture = [[smokesmall]], colorMap = [[.07 .05 .05 0.80 .00 .00 .00 0.01]], pos = [[0, 1, 0]], gravity = [[0, -0.2, 0]], emitVector = [[0, 1, 0]], emitRot = 0, emitRotSpread = 50, siz...
gpl-2.0
CarabusX/Zero-K
effects/gundam_jetflash.lua
25
1649
-- jetflash return { ["jetflash"] = { bitmapmuzzleflame = { air = true, class = [[CBitmapMuzzleFlame]], count = 1, ground = true, underwater = 1, water = true, properties = { colormap ...
gpl-2.0
dbltnk/macro-prototype
loveframes/third-party/middleclass.lua
4
5299
-- middleclass.lua - v2.0 (2011-09) -- Copyright (c) 2011 Enrique García Cota -- 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,...
mit
mattyx14/otxserver
data/monster/mammals/ghost_wolf.lua
2
2123
local mType = Game.createMonsterType("Ghost Wolf") local monster = {} monster.description = "a ghost wolf" monster.experience = 65 monster.outfit = { lookType = 730, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0, lookMount = 0 } monster.raceId = 1148 monster.Bestiary = { class = "Unde...
gpl-2.0
imeteora/cocos2d-x-3.x-Qt
cocos/scripting/lua-bindings/auto/api/Scale9Sprite.lua
2
6926
-------------------------------- -- @module Scale9Sprite -- @extend Node -------------------------------- -- @function [parent=#Scale9Sprite] resizableSpriteWithCapInsets -- @param self -- @param #rect_table rect -- @return Scale9Sprite#Scale9Sprite ret (return value: cc.Scale9Sprite) ----------------------...
gpl-2.0
CarabusX/Zero-K
effects/freedom_fighter.lua
25
5564
-- ffejector -- ff_wingtips -- ffmuzzle -- ff_engine -- ff_puff return { ["ffejector"] = { usedefaultexplosions = false, shells = { air = true, class = [[CSimpleParticleSystem]], count = 1, ground = true, water = ...
gpl-2.0
kbara/snabb
lib/ljsyscall/syscall/bsd/ffi.lua
18
10586
-- define general BSD system calls for ffi -- note that some functions may not be available in all, but so long as prototype is standard they can go here local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumbe...
apache-2.0
mattyx14/otxserver
data/monster/demons/dark_torturer.lua
2
3768
local mType = Game.createMonsterType("Dark Torturer") local monster = {} monster.description = "a dark torturer" monster.experience = 4650 monster.outfit = { lookType = 234, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0, lookMount = 0 } monster.raceId = 285 monster.Bestiary = { class ...
gpl-2.0
Guema/gCastBars
CastBarZ/Libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua
21
2746
--[[----------------------------------------------------------------------------- Button Widget Graphical Button. -------------------------------------------------------------------------------]] local Type, Version = "Button", 24 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if not AceGUI or (AceGUI:GetWidget...
unlicense
mattyx14/otxserver
data/monster/quests/ferumbras_ascendant/bosses/shulgrax.lua
2
5708
local mType = Game.createMonsterType("Shulgrax") local monster = {} monster.description = "Shulgrax" monster.experience = 58000 monster.outfit = { lookType = 842, lookHead = 0, lookBody = 62, lookLegs = 2, lookFeet = 87, lookAddons = 1, lookMount = 0 } monster.health = 290000 monster.maxHealth = 290000 monster...
gpl-2.0
hagish/tektix
hektik/sperm/loveframes/objects/imagebutton.lua
3
7501
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2013 Kenny Shields -- --]]------------------------------------------------ -- imagebutton object local newobject = loveframes.NewObject("imagebutton", "loveframes_object_imagebutton", true) --[[---------...
mit
TideSofDarK/DotaCraft
game/dota_addons/dotacraft/scripts/vscripts/heroes/shadow_hunter/hex.lua
1
2780
--[[Author: Pizzalol Date: 18.01.2015. Checks if the target is an illusion, if true then it kills it otherwise the target model gets swapped into a frog]] function voodoo_start( keys ) local target = keys.target local model = keys.model if target:IsIllusion() then target:ForceKill(true) else if target.targe...
gpl-3.0
imeteora/cocos2d-x-3.x-Qt
cocos/scripting/lua-bindings/auto/api/ParticleBatchNode.lua
2
2722
-------------------------------- -- @module ParticleBatchNode -- @extend Node,TextureProtocol -------------------------------- -- @function [parent=#ParticleBatchNode] setTexture -- @param self -- @param #cc.Texture2D texture2d -------------------------------- -- @function [parent=#ParticleBatchNode] disabl...
gpl-2.0
CarabusX/Zero-K
units/subtacmissile.lua
4
3872
return { subtacmissile = { unitname = [[subtacmissile]], name = [[Scylla]], description = [[Tactical Nuke Missile Sub, Drains 20 m/s, 30 second stockpile]], acceleration = 0.223, activateWhenBuilt = true, brakeRate = 2.33, buildCostMet...
gpl-2.0
clementfarabet/nn
CMulTable.lua
31
1238
local CMulTable, parent = torch.class('nn.CMulTable', 'nn.Module') function CMulTable:__init() parent.__init(self) self.gradInput = {} end function CMulTable:updateOutput(input) self.output:resizeAs(input[1]):copy(input[1]) for i=2,#input do self.output:cmul(input[i]) end return self.output e...
bsd-3-clause
ReclaimYourPrivacy/cloak-luci
applications/luci-app-ddns/luasrc/tools/ddns.lua
6
9373
-- Copyright 2014 Christian Schoenebeck <christian dot schoenebeck at gmail dot com> -- Licensed to the public under the Apache License 2.0. module("luci.tools.ddns", package.seeall) local NX = require "nixio" local NXFS = require "nixio.fs" local OPKG = require "luci.model.ipkg" local UCI = require "luci.model.uc...
apache-2.0
mattyx14/otxserver
data/monster/plants/carniphila.lua
2
3174
local mType = Game.createMonsterType("Carniphila") local monster = {} monster.description = "a carniphila" monster.experience = 150 monster.outfit = { lookType = 120, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0, lookMount = 0 } monster.raceId = 120 monster.Bestiary = { class = "Plan...
gpl-2.0
mattyx14/otxserver
data/monster/quests/cults_of_tibia/bosses/summons/enraged_sand_brood.lua
2
1971
local mType = Game.createMonsterType("Enraged Sand Brood") local monster = {} monster.description = "a enraged sand brood" monster.experience = 44 monster.outfit = { lookType = 82, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0, lookMount = 0 } monster.health = 2000 monster.maxHealth = ...
gpl-2.0
Frownigami1/cuberite
Server/Plugins/APIDump/Hooks/OnPreCrafting.lua
36
1523
return { HOOK_PRE_CRAFTING = { CalledWhen = "Before the built-in recipes are checked.", DefaultFnName = "OnPreCrafting", -- also used as pagename Desc = [[ This hook is called when a {{cPlayer|player}} changes contents of their {{cCraftingGrid|crafting grid}}, before the built-in recipes are searched for...
apache-2.0
mynameiscraziu/rfazer
plugins/groupmanager.lua
2
19071
-- data saved to data/moderation.json do local administrators_only = 'For administrator only!' local moderators_only = 'For moderators only!' local function create_group(msg) if not is_admin(msg) then return administrators_only end local group_creator = msg.from.print_name create_group_chat (group_creator, grou...
gpl-2.0
Turttle/darkstar
scripts/globals/items/ginger_cookie.lua
34
1344
----------------------------------------- -- ID: 4394 -- Item: ginger_cookie -- Food Effect: 3Min, All Races ----------------------------------------- -- Magic Regen While Healing 5 -- Plantoid Killer 5 -- Slow Resist 5 ----------------------------------------- require("scripts/globals/status"); ---------...
gpl-3.0
dickeyf/darkstar
scripts/zones/Batallia_Downs/npcs/qm4.lua
13
1569
----------------------------------- -- Area: Batallia Downs -- NPC: qm4 (???) -- ----------------------------------- package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Batallia_Downs/TextIDs"); require("scripts/globals/keyitems"); require("scrip...
gpl-3.0
bartekbp/graphics
glsdk/glload/codegen/_MakeExtHeaderFile.lua
5
6454
--[[ The function, MakeExtHeaderFile, will create a header file containing the enums, extension test values, and the list of function pointers. It takes these parameters: - the name of the output file. Without the path. - the specData, as formatted by LoadLuaSpec. - the prefix (without the underscore) to prepend to en...
mit
SalvationDevelopment/Salvation-Scripts-TCG
c21249921.lua
2
3015
--ドラグニティナイト-ヴァジュランダ function c21249921.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_DRAGON),aux.NonTuner(Card.IsRace,RACE_WINDBEAST),1) c:EnableReviveLimit() --equip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(21249921,0)) e1:SetCategory(...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c83039729.lua
7
1894
--六武衆の師範 function c83039729.initial_effect(c) c:SetUniqueOnField(1,0,83039729) --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCondition(c83039729.spcon) c:RegisterEffect(e1) ...
gpl-2.0
Turttle/darkstar
scripts/globals/spells/bluemagic/power_attack.lua
28
1761
----------------------------------------- -- Spell: Power Attack -- Deals critical damage. Chance of critical hit varies with TP -- Spell cost: 5 MP -- Monster Type: Vermin -- Spell Type: Physical (Blunt) -- Blue Magic Points: 1 -- Stat Bonus: MND+1 -- Level: 4 -- Casting Time: 0.5 seconds -- Recast Time: 7.2...
gpl-3.0
dickeyf/darkstar
scripts/zones/Outer_Horutoto_Ruins/npcs/Grounds_Tome.lua
30
1115
----------------------------------- -- Area: Outer Horutoto Ruins -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player...
gpl-3.0
dickeyf/darkstar
scripts/zones/East_Ronfaure/npcs/Logging_Point.lua
13
1065
----------------------------------- -- Area: East Ronfaure -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/East_Ronfaure/TextIDs"); ---------------...
gpl-3.0
patrikrm13/bostg
plugins/invite.lua
17
2404
--[[ Invite other user to the chat group. Use !invite ********* (where ********* is id_number) to invite a user by id_number. This is the most reliable method. Use !invite @username to invite a user by @username. Less reliable. Some users don't have @username. Use !invite Type print_name Here to invite a user by ...
gpl-2.0
FFG-Blinkenn/tdm
gamemodes/tdm/entities/entities/ttt_flame.lua
3
5651
-- fire handler that does owned damage AddCSLuaFile() ENT.Type = "anim" --ENT.Model = Model("models/Gibs/metal_gib4.mdl") ENT.Model = Model("models/weapons/w_eq_flashbang_thrown.mdl") AccessorFunc(ENT, "dmgparent", "DamageParent") AccessorFunc(ENT, "die_explode", "ExplodeOnDeath") AccessorFunc(ENT, "dietime", "DieT...
mit
dickeyf/darkstar
scripts/globals/items/heat_rod.lua
41
1097
----------------------------------------- -- ID: 17071 -- Item: Heat Rod -- Additional Effect: Lightning Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ------------------------------...
gpl-3.0
dickeyf/darkstar
scripts/zones/Cape_Teriggan/npcs/Dultwa_IM.lua
13
3303
----------------------------------- -- Area: Cape Teriggan -- NPC: Dulwa, I.M. -- Type: Border Conquest Guards -- @pos 119 0 282 113 ----------------------------------- package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require("script...
gpl-3.0
dickeyf/darkstar
scripts/globals/spells/knights_minne_v.lua
27
1498
----------------------------------------- -- Spell: Knight's Minne V -- Grants Defense bonus to all allies. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(cast...
gpl-3.0
Turttle/darkstar
scripts/zones/Northern_San_dOria/npcs/Dapraugeant.lua
36
1430
----------------------------------- -- Area: Northern San d'Oria -- NPC: Dapraugeant -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/que...
gpl-3.0
dickeyf/darkstar
scripts/zones/Port_Bastok/npcs/Valah_Molkot.lua
1
3630
----------------------------------- -- Area: Port Bastok -- NPC: Valah Molkot -- Starts and Finishes Quest: A Lady's Heart -- @zone 236 -- @pos 59 8 -221 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Port_Bastok/TextIDs"); ---------...
gpl-3.0
Turttle/darkstar
scripts/globals/mobskills/Fiery_Breath.lua
13
1293
--------------------------------------------- -- Fiery Breath -- -- Description: Deals Fire damage to enemies within a fan-shaped area. -- Type: Breath -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone -- Notes: Used only by Tiamat, Smok and Ildebrann ---------------------------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c75673220.lua
2
1478
--スナップドラゴン function c75673220.initial_effect(c) --remove local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(75673220,0)) e1:SetCategory(CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_TO_GRAVE) e1:SetCountLimit(1,75673220) e1:SetTarget(c75673220.target) e1:Set...
gpl-2.0
alfred-bot/zacbot
plugins/Plugins.lua
1
5078
do local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end return false end local function plugin_exists( name ) for k,v in pairs(plugins_names()) do if name..'.lua' == v then return true end end return false end lo...
gpl-2.0
dickeyf/darkstar
scripts/globals/effects/warcry.lua
34
1037
----------------------------------- -- -- EFFECT_WARCRY -- -- Notes: -- Savagery TP bonus not cut in half like ffxclopedia says. -- ffxiclopedia is wrong, bg wiki right. See link where testing was done. -- http://www.bluegartr.com/threads/108199-Random-Facts-Thread-Other?p=5367464&viewfull=1#post5367464 -----------...
gpl-3.0
Turttle/darkstar
scripts/globals/weaponskills/heavy_swing.lua
30
1339
----------------------------------- -- Heavy Swing -- Staff weapon skill -- Skill Level: 5 -- Deacription:Delivers a single-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Thunder Gorget. -- Aligned with the Thunder Belt. -- Element: None -- Modifiers: STR:30% -- 100%TP...
gpl-3.0
dickeyf/darkstar
scripts/zones/Norg/npcs/Ryoma.lua
1
4092
----------------------------------- -- Area: Norg -- NPC: Ryoma -- Start and Finish Quest: 20 in Pirate Years, I'll Take the Big Box, True Will -- Involved in Quest: Ayame and Kaede -- @pos -23 0 -9 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------...
gpl-3.0
Metastruct/pac3
lua/pac3/extra/server/map_outfit.lua
2
3462
pacx.SpawnedMapEntities = pacx.SpawnedMapEntities or {} local VEC0 = Vector(0, 0, 0) local ANG0 = Angle(0, 0, 0) local VEC1 = Vector(1, 1, 1) local function tocolor(v, a) return Color(v.x, v.y, v.z, a) end local function has_clip(part) for key, part in pairs(part.children) do if part.self.ClassName == "clip" then...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c16825874.lua
2
2409
--エキセントリック・ボーイ function c16825874.initial_effect(c) --synchro custom local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SYNCHRO_MATERIAL_CUSTOM) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetTarget(c16825874.target) e1:SetValue(1) e1:SetOperation(c16825874...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c68625727.lua
2
1159
--占術姫ペタルエルフ function c68625727.initial_effect(c) --position local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_POSITION) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetTarget(c68625727.postg) e1:SetOperation(c68625727.posop) c:RegisterEffect(e1...
gpl-2.0
Turttle/darkstar
scripts/zones/Qulun_Dome/npcs/_441.lua
19
1531
----------------------------------- -- Area: Qulun Dome -- NPC: Door -- Involved in Mission: Limit Break 3 -- @pos 299.999 37.864 47.067 148 ----------------------------------- package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("s...
gpl-3.0
dickeyf/darkstar
scripts/zones/Giddeus/npcs/Laa_Mozi.lua
13
2137
----------------------------------- -- Area: Giddeus -- NPC: Laa Mozi -- Involved in Mission 1-3 -- @pos -22 0 148 145 ----------------------------------- package.loaded["scripts/zones/Giddeus/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/missions")...
gpl-3.0
Turttle/darkstar
scripts/zones/Sacrificial_Chamber/npcs/_4j0.lua
19
1390
----------------------------------- -- Area: Sacrificial Chamber -- NPC: Mahogany Door -- @pos 299 0.1 349 163 ------------------------------------- package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/missio...
gpl-3.0
birdbrainswagtrain/GmodPillPack-TeamFortress
lua/autorun/include/pill_tf_cutouts.lua
1
2251
AddCSLuaFile() pk_pills.register("tf_scout_cutout",{ type="ply", printName="Scout Cutout", model="models/props_training/target_scout.mdl", default_rp_cost=6000, camera={ offset=Vector(0,0,70), dist=100 }, anims={}, hull=Vector(30,30,80), moveSpeed={ walk=200, run=400 }, noragdoll=true, jumpPower=25...
mit
SalvationDevelopment/Salvation-Scripts-TCG
c78161960.lua
2
2159
--リジェクト・リボーン function c78161960.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetCondition(c78161960.condition) e1:SetCost(c78161960.cost) e1:SetOperation(c78161960.activate) c:RegisterE...
gpl-2.0