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 |
|---|---|---|---|---|---|
xdemolish/darkstar | scripts/zones/Waughroon_Shrine/bcnms/rank_2_mission.lua | 13 | 1874 | -----------------------------------
-- Area: Waughroon Shrine
-- Name: Mission Rank 2
-- @pos -345 104 -260 144
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Waughroon_Shrine/TextIDs");
-------------------... | gpl-3.0 |
samael65535/quick-ng | cocos/scripting/lua-bindings/auto/api/WebView.lua | 7 | 4244 |
--------------------------------
-- @module WebView
-- @extend Widget
-- @parent_module ccexp
--------------------------------
-- Loads the given URL.<br>
-- param url Content URL.
-- @function [parent=#WebView] loadURL
-- @param self
-- @param #string url
-- @return experimental::ui::WebView#experimental::ui::WebVi... | mit |
lytedev/quick-td | lib/hump/class.lua | 35 | 2925 | --[[
Copyright (c) 2010-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... | apache-2.0 |
TetsOrga/tets | plugins/helps.lua | 1 | 2209 | local function do_keyboard_private2()
local keyboard = {}
keyboard.inline_keyboard = {
{
{text = '📃 مارکداون اشتباه', url = 'https://telegram.me/SpamProofChannel/49'},
},
{
{text = '👤 ادمین کردن ربات', url = 'https://telegram.me/SpamProofChannel/2'},
},
{
{text = '👥... | gpl-2.0 |
hsiaoyi/Melo | cocos2d/cocos/scripting/lua-bindings/auto/api/TextAtlas.lua | 4 | 3223 |
--------------------------------
-- @module TextAtlas
-- @extend Widget
-- @parent_module ccui
--------------------------------
-- Gets the string length of the label.<br>
-- Note: This length will be larger than the raw string length,<br>
-- if you want to get the raw string length, you should call this->getString()... | apache-2.0 |
xdemolish/darkstar | scripts/zones/West_Sarutabaruta/npcs/Roshina-Kuleshuna_WW.lua | 8 | 2968 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Roshina-Kuleshuna, W.W.
-- Type: Outpost Conquest Guards
-- @pos -11.322 -13.459 317.696 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
xdemolish/darkstar | scripts/zones/Rolanberry_Fields/Zone.lua | 1 | 2328 | -----------------------------------
--
-- Zone: Rolanberry_Fields (110)
--
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Rolanberry_Fields/TextIDs");
require("scripts/globals/icanheararainbow");
... | gpl-3.0 |
xdemolish/darkstar | scripts/zones/Northern_San_dOria/npcs/Justi.lua | 36 | 1852 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Justi
-- Conquest depending furniture seller
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/... | gpl-3.0 |
yylangchen/Sample_Lua | src/cocos/cocostudio/CocoStudio.lua | 39 | 9065 |
if not json then
require "cocos.cocos2d.json"
end
ccs = ccs or {}
require "cocos.cocostudio.StudioConstants"
function ccs.sendTriggerEvent(event)
local triggerObjArr = ccs.TriggerMng.getInstance():get(event)
if nil == triggerObjArr then
return
end
for i = 1, table.getn(triggerObjArr) d... | mit |
xdemolish/darkstar | scripts/zones/Konschtat_Highlands/npcs/Signpost3.lua | 34 | 1034 | -----------------------------------
-- Area: Konschtat Highlands
-- NPC: Signpost
-- @pos -221 17 139 108
-----------------------------------
package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Konschtat_Highlands/TextIDs");
--------... | gpl-3.0 |
sevenbot/sasa | plugins/stats.lua | 23 | 4115 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
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.... | gpl-2.0 |
xdemolish/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/Calliope_IM.lua | 8 | 2960 | -----------------------------------
-- Area: The Sanctuary of Zi'Tah
-- NPC: Calliope, I.M.
-- Outpost Conquest Guards
-- @pos -40.079 -0.642 -148.785 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
xdemolish/darkstar | scripts/zones/Lower_Jeuno/TextIDs.lua | 1 | 5058 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6382; -- Obtained: <item>.
GIL_OBTAINED = 6383; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6385; -- Obtained... | gpl-3.0 |
lukego/snabb | lib/ljsyscall/syscall/openbsd/constants.lua | 24 | 20467 | -- tables of constants for NetBSD
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string, select =
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string, select
local abi =... | apache-2.0 |
liminghao/xdb | deps/muduo/muduo_v1.0.6.mh/premake4.lua | 58 | 2093 | solution "muduo"
projectdir = basedir()
builddir = path.join(projectdir, '../build')
installdir = path.join(projectdir, '../install')
bindir = path.join(installdir, 'bin')
libdir = path.join(installdir, 'lib')
includedir = path.join(installdir, 'include')
curheadersdir = includedir
-- s... | bsd-3-clause |
Vessarr/Lama-protocols | Protocols.lua | 1 | 14468 | --[[
lama is a MUD server made in Lua.
Copyright (C) 2013 Curtis Erickson
This program 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 3 of the License, or
(at your option) ... | gpl-3.0 |
Javaxio/BadRotations | Libs/DiesalGUI-1.0/Objects/ScrollFrame.lua | 6 | 11204 | -- $Id: ScrollFrame.lua 60 2016-11-04 01:34:23Z diesal2010 $
local DiesalGUI = LibStub("DiesalGUI-1.0")
-- ~~| Libraries |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
local DiesalTools = LibStub("DiesalTools-1.0")
local D... | gpl-3.0 |
samael65535/quick-ng | cocos/scripting/lua-bindings/auto/api/Helper.lua | 9 | 3288 |
--------------------------------
-- @module Helper
-- @parent_module ccui
--------------------------------
-- brief Get a UTF8 substring from a std::string with a given start position and length<br>
-- Sample: std::string str = "中国中国中国"; substr = getSubStringOfUTF8String(str,0,2) will = "中国"<br>
-- param str The so... | mit |
xdemolish/darkstar | scripts/zones/Batallia_Downs/npcs/qm2.lua | 8 | 2249 | -----------------------------------
-- Area: Batallia Downs
-- NPC: qm2 (???)
-- Pop for the quest "Chasing Quotas"
-- Involved in Mission 9-1 (San dOria)
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
-----------------------------------
require("scripts/z... | gpl-3.0 |
nazrhyn/epgp-tep | libs/AceGUI-3.0/widgets/AceGUIWidget-Heading.lua | 68 | 2216 | --[[-----------------------------------------------------------------------------
Heading Widget
-------------------------------------------------------------------------------]]
local Type, Version = "Heading", 20
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or... | bsd-3-clause |
samael65535/quick-ng | tools/cocos2d-console/plugins/plugin_luacompile/bin/jit/dis_ppc.lua | 78 | 20318 | ----------------------------------------------------------------------------
-- LuaJIT PPC disassembler module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT/X license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------... | mit |
ldbox/ldbox | modes/obs-deb-install/fs_rules.lua | 2 | 12595 | -- Copyright (C) 2007 Lauri Leukkunen <lle@rahina.org>
-- Copyright (C) 2011 Nokia Corporation.
-- Licensed under MIT license.
-- ***************************************************
-- NOTE: This is experimental, untested mapping mode!!
-- ***************************************************
-- Rule file interface ver... | lgpl-2.1 |
yylangchen/Sample_Lua | src/cocos/ui/GuiConstants.lua | 38 | 2802 |
ccui = ccui or {}
ccui.BrightStyle =
{
none = -1,
normal = 0,
highlight = 1,
}
ccui.TextureResType =
{
localType = 0,
plistType = 1,
}
ccui.TouchEventType =
{
began = 0,
moved = 1,
ended = 2,
canceled = 3,
}
ccui.SizeType =
{
absolute = 0,
percent = 1,
}
ccui.PositionTy... | mit |
xdemolish/darkstar | scripts/zones/Dynamis-Bastok/mobs/Adamantking_Effigy.lua | 16 | 3794 | -----------------------------------
-- Area: Dynamis Bastok
-- NPC: Adamantking Effigy
-- Map Position: http://www.dynamislounge.com/html/zone/frame_bas1.htm
-- Map Position: http://www.dynamislounge.com/html/zone/frame_bas2.htm
-----------------------------------
package.loaded["scripts/zones/Dynamis-Bastok/Tex... | gpl-3.0 |
peymankhanas84877/Horror_Avatar_bot | plugins/rss.lua | 700 | 5434 | local function get_base_redis(id, option, extra)
local ex = ''
if option ~= nil then
ex = ex .. ':' .. option
if extra ~= nil then
ex = ex .. ':' .. extra
end
end
return 'rss:' .. id .. ex
end
local function prot_url(url)
local url, h = string.gsub(url, "http://", "")
local... | gpl-2.0 |
xdemolish/darkstar | scripts/zones/West_Sarutabaruta/npcs/Signpost.lua | 5 | 1840 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Signpost (18 total)
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/West_Sarutabaruta/TextIDs");
-----------------------------------
-... | gpl-3.0 |
cmotc/awesome | lib/awful/hotkeys_popup/widget.lua | 1 | 16137 | ---------------------------------------------------------------------------
--- Popup widget which shows current hotkeys and their descriptions.
--
-- @author Yauheni Kirylau <yawghen@gmail.com>
-- @copyright 2014-2015 Yauheni Kirylau
-- @module awful.hotkeys_popup.widget
-----------------------------------------... | gpl-2.0 |
xdemolish/darkstar | scripts/zones/Port_San_dOria/npcs/HomePoint#3.lua | 3 | 1711 | -----------------------------------
-- Area: Port San dOria
-- NPC: HomePoint#3
-- @pos -6 -13 -150 232
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Port_San_dO... | gpl-3.0 |
Sticklord/oUF_Abu | Localization/frFr.lua | 1 | 7380 | local _, ns = ...
if ns.locale ~= "frFR" then return; end
local L = ns.L
-- [[ Main Addon ]] --
-- L.OptionsLoadAfterCombat = 'Options will be loaded after combat!'
-- L.AuraAdded = 'Spell "%s" (%d) was added to the aura filter.'
-- L.AuraExists = 'Spell "%s" (%d) already exists'
-- L.Anchors_Unlocked = "Frames... | mit |
xdemolish/darkstar | scripts/globals/items/plate_of_shrimp_sushi_+1.lua | 35 | 1614 | -----------------------------------------
-- ID: 5692
-- Item: plate_of_shrimp_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Vitality 1
-- Defense 5
-- Accuracy % 12 (unknown, assuming HQ stat)
-- Store TP 2
-- Triple Attack 1 (unknown, assuming same as NQ)
-----------... | gpl-3.0 |
githubmereza/rooobooot | plugins/Welcome.lua | 114 | 3529 | local add_user_cfg = load_from_file('data/add_user_cfg.lua')
local function template_add_user(base, to_username, from_username, chat_name, chat_id)
base = base or ''
to_username = '@' .. (to_username or '')
from_username = '@' .. (from_username or '')
chat_name = string.gsub(chat_name, '_', ' ') or ''
c... | gpl-2.0 |
cmotc/awesome | lib/awful/screen.lua | 1 | 15903 | ---------------------------------------------------------------------------
--- Screen module for awful
--
-- @author Julien Danjou <julien@danjou.info>
-- @copyright 2008 Julien Danjou
-- @module screen
---------------------------------------------------------------------------
-- Grab environment we need
local... | gpl-2.0 |
nalidixic/OpenRA | mods/ra/maps/soviet-05/main.lua | 33 | 8124 | CheckForBase = function()
baseBuildings = Map.ActorsInBox(Map.TopLeft, CFBPoint.CenterPosition, function(actor)
return actor.Type == "fact" or actor.Type == "powr"
end)
return #baseBuildings >= 2
end
CheckForCYard = function()
ConYard = Map.ActorsInBox(mcvGGLoadPoint.CenterPosition, ReinfEastPoint.CenterPositio... | gpl-3.0 |
samael65535/quick-ng | cocos/scripting/lua-bindings/auto/api/ParticleSystem.lua | 7 | 29398 |
--------------------------------
-- @module ParticleSystem
-- @extend Node,TextureProtocol
-- @parent_module cc
--------------------------------
-- Gets the start size variance in pixels of each particle.<br>
-- return The start size variance in pixels of each particle.
-- @function [parent=#ParticleSystem] getStart... | mit |
xdemolish/darkstar | scripts/zones/Upper_Jeuno/npcs/Coumuna.lua | 37 | 1325 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Coumuna
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
-----------------------------------
... | gpl-3.0 |
cmotc/awesome | tests/test-awful-layout.lua | 1 | 2312 | -- This test hit the client layout code paths to see if there is errors.
-- it doesn't check if the layout are correct.
local awful = require("awful")
local first_layout = nil
local t = nil
local has_spawned = false
local steps = {
-- Add enough clients
function(count)
if count <= 1 and not has_sp... | gpl-2.0 |
botfam/botfam | libs/dateparser.lua | 114 | 6213 | local difftime, time, date = os.difftime, os.time, os.date
local format = string.format
local tremove, tinsert = table.remove, table.insert
local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable
local dateparser={}
--we shall use the host OS's... | gpl-2.0 |
kissthink/OpenRA | mods/ra/maps/soviet-01/soviet01.lua | 26 | 2150 | Yaks = { "yak", "yak", "yak" }
Airfields = { Airfield1, Airfield2, Airfield3 }
InsertYaks = function()
local i = 1
Utils.Do(Yaks, function(yakType)
local start = YakEntry.CenterPosition + WVec.New(0, (i - 1) * 1536, Actor.CruiseAltitude(yakType))
local dest = StartJeep.Location + CVec.New(0, 2 * i)
local yak =... | gpl-3.0 |
chris5560/openwrt-luci | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/proto_ahcp.lua | 84 | 2006 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local device, apn, service, pincode, username, password
local ipv6, maxwait, defaultroute, metric, peerdns, dns,
keepalive_failure, keepalive_interval, demand
mca = s:tabop... | apache-2.0 |
moheb2076/dimond2 | libs/serpent.lua | 31 | 8016 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | gpl-3.0 |
freem/ultralight | Scripts/Branches.lua | 1 | 2405 | function SMOnlineScreen()
for pn in ivalues(GAMESTATE:GetHumanPlayers()) do
if not IsSMOnlineLoggedIn(pn) then
return "ScreenSMOnlineLogin"
end
end
return "ScreenNetRoom"
end
function SelectMusicOrCourse()
if IsNetSMOnline() then return "ScreenNetSelectMusic"
elseif GAMESTATE:IsCourseMode() then return... | unlicense |
hsiaoyi/Melo | cocos2d/tests/lua-tests/src/OpenGLTest/OpenGLTest.lua | 2 | 36987 | local vertDefaultSource = "\n".."\n" ..
"attribute vec4 a_position;\n" ..
"attribute vec2 a_texCoord;\n" ..
"attribute vec4 a_color;\n\n" ..
"\n#ifdef GL_ES\n" ..
"varying lowp vec4 v_fragmentColor;\n" ..
"varyi... | apache-2.0 |
PlexChat/premake-core | src/actions/make/_make.lua | 3 | 6330 | --
-- _make.lua
-- Define the makefile action(s).
-- Copyright (c) 2002-2015 Jason Perkins and the Premake project
--
premake.make = {}
local p = premake
local make = p.make
local project = p.project
---
-- The GNU make action, with support for the new platforms API
---
newaction {
trigger = "gmake"... | bsd-3-clause |
sergeScherbakov/bgfx | scripts/bgfx.lua | 4 | 3547 | --
-- Copyright 2010-2015 Branimir Karadzic. All rights reserved.
-- License: http://www.opensource.org/licenses/BSD-2-Clause
--
function bgfxProject(_name, _kind, _defines)
project ("bgfx" .. _name)
uuid (os.uuid("bgfx" .. _name))
kind (_kind)
if _kind == "SharedLib" then
defines {
"BGFX_SHARED_LIB_BU... | bsd-2-clause |
xdemolish/darkstar | scripts/zones/Northern_San_dOria/npcs/Prerivon.lua | 38 | 1025 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Prerivon
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos 142.324 0.000 132.515
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");... | gpl-3.0 |
xdemolish/darkstar | scripts/globals/items/serving_of_red_curry.lua | 35 | 2169 | -----------------------------------------
-- ID: 4298
-- Item: serving_of_red_curry
-- Food Effect: 3 hours, All Races
-----------------------------------------
-- HP +25
-- Strength +7
-- Agility +1
-- Intelligence -2
-- HP recovered while healing +2
-- MP recovered while healing +1
-- ... | gpl-3.0 |
sharifteam/sharifbot | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
xdemolish/darkstar | scripts/globals/items/butter_crepe.lua | 36 | 1239 | -----------------------------------------
-- ID: 5766
-- Item: Butter Crepe
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- HP +10
-- Magic Accuracy +2
-- Magic Defense +1
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
xdemolish/darkstar | scripts/zones/Carpenters_Landing/mobs/Birdtrap.lua | 10 | 1307 | -----------------------------------
-- Area: Carpenters' Landing
-- Mob: Birdtrap
-- Note: Placeholder Orctrap
-----------------------------------
require("/scripts/zones/Carpenters_Landing/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMo... | gpl-3.0 |
Andreas-Kreuz/ak-lua-skripte-fuer-eep | lua/LUA/ak/util/TableUtils.lua | 1 | 2983 | if AkDebugLoad then print("[#Start] Loading ak.util.TableUtils ...") end
local TableUtils = {}
---Creates are read-only table by wrapping the current table into a proxy.
---@param tb table
function TableUtils.readOnlyTable(tb)
local proxy = {}
local mt = { -- create metatable
__index = tb,
__ne... | mit |
ld-test/sailor | src/sailor/session.lua | 9 | 1455 | --------------------------------------------------------------------------------
-- session.lua, v0.2.1: cgilua session abstraction
-- This file is a part of Sailor project
-- Copyright (c) 2014 Etiene Dalcol <dalcol@etiene.net>
-- License: MIT
-- http://sailorproject.org
-----------------------------------------------... | mit |
lukego/snabb | lib/ljsyscall/syscall/linux/x64/ffi.lua | 25 | 1356 | -- x64 specific definitions
return {
epoll = [[
struct epoll_event {
uint32_t events;
epoll_data_t data;
} __attribute__ ((packed));
]],
ucontext = [[
typedef long long greg_t, gregset_t[23];
typedef struct _fpstate {
unsigned short cwd, swd, ftw, fop;
unsigned long long rip, rdp;
unsigned mxcsr, mxcr_m... | apache-2.0 |
xdemolish/darkstar | scripts/zones/Carpenters_Landing/npcs/relic.lua | 38 | 1857 | -----------------------------------
-- Area: Carpenter's Landing
-- NPC: <this space intentionally left blank>
-- @pos -99 -0 -514 2
-----------------------------------
package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Carpenters_Landing/TextI... | gpl-3.0 |
hsiaoyi/Melo | cocos2d/cocos/scripting/lua-bindings/auto/api/RotateTo.lua | 11 | 1689 |
--------------------------------
-- @module RotateTo
-- @extend ActionInterval
-- @parent_module cc
--------------------------------
-- @overload self, float, vec3_table
-- @overload self, float, float, float
-- @function [parent=#RotateTo] initWithDuration
-- @param self
-- @param #float duration
-... | apache-2.0 |
xdemolish/darkstar | scripts/zones/The_Shrine_of_RuAvitau/npcs/Monolith.lua | 13 | 5016 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- NPC: Monolith
-- @pos <many>
-----------------------------------
package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Shrine_of_RuAvitau/TextIDs");
-------... | gpl-3.0 |
xdemolish/darkstar | scripts/globals/mobskills/Hurricane_Wing.lua | 12 | 1333 | ---------------------------------------------
-- Hurricane Wing
--
-- Description: Deals hurricane-force wind damage to enemies within a very wide area of effect. Additional effect: Blind
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 30' radial.
-- Notes: Used only by Dragua, Fafnir, N... | gpl-3.0 |
xdemolish/darkstar | scripts/globals/abilities/healers_roll.lua | 1 | 1422 | -----------------------------------
-- Ability: Healer's Roll
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- onUseAbility
-----------------------------------
function onAbilityCheck(player,target,ability)
... | gpl-3.0 |
xdemolish/darkstar | scripts/zones/Kazham/npcs/Tatapp.lua | 19 | 9335 | -----------------------------------
-- Area: Kazham
-- NPC: Tatapp
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
require("scripts/globals/pathfind");
local path = {
15.005042, -8.000000, -104.34995... | gpl-3.0 |
xdemolish/darkstar | scripts/globals/spells/regen.lua | 13 | 1583 | -----------------------------------------
-- Spell: Regen
-- Gradually restores target's HP.
-----------------------------------------
-- Cleric's Briault enhances the effect
-- Scale down duration based on level
-- Composure increases duration 3x
-----------------------------------------
require("scripts/glo... | gpl-3.0 |
samael65535/quick-ng | cocos/scripting/lua-bindings/auto/api/ParticleBatchNode.lua | 7 | 5739 |
--------------------------------
-- @module ParticleBatchNode
-- @extend Node,TextureProtocol
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ParticleBatchNode] setTexture
-- @param self
-- @param #cc.Texture2D texture
-- @return ParticleBatchNode#ParticleBatchNode self (return value:... | mit |
chris5560/openwrt-luci | applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_edit.lua | 7 | 6487 | -- Copyright 2017-2018 Dirk Brenken (dev@brenken.org)
-- This is free software, licensed under the Apache License, Version 2.0
local fs = require("nixio.fs")
local uci = require("luci.model.uci").cursor()
local http = require("luci.http")
m = SimpleForm("edit", translate("Edit Wireless Uplink Configuration"))
m.su... | apache-2.0 |
xdemolish/darkstar | scripts/zones/Bhaflau_Thickets/npcs/qm1.lua | 15 | 1188 | -----------------------------------
-- Area: Bhaflau Thickets
-- NPC: ??? (Spawn Lividroot Amooshah(ZNM T2))
-- @pos 334 -10 184 52
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bhaflau_Thickets/TextIDs");... | gpl-3.0 |
blueberrys/cc-blue-api | apis/b_git.lua | 1 | 3784 | --[[
GitHub installer
Inspired by GitGet (by apemanzilla)
http://www.computercraft.info/forums2/index.php?/topic/17387-gitget-lightweight-github-downloader-now-with-preset-mode/
http://pastebin.com/raw.php?i=6aMMzdwd
Dependencies:
b_files
b_http
b_io
]]
--[[
Usage
- install(username, repo, branch, path, exclude)
Us... | mit |
blockplanet/blockplanet | games/blockplanet/mods/armor/armor.lua | 4 | 3645 | armor.register_armor("wood", {
protection_lvl = 5, -- how much (%) it reduces the damage (for each element)
uses = 30, --number how often it protects (for each element)
elements = {
head = {
description = "Wooden Helmet",
inventory_image = "armor_wood_head_inv.png",
recipe = {
{"group:wood", "group:wo... | gpl-3.0 |
ForgedAddons/HunterAnnouncer | Core.lua | 1 | 9138 | local _, class = UnitClass("player")
local player = UnitName("player")
if class ~= "HUNTER" then
--return
end
local addonName, addon = ...
local L = LibStub("AceLocale-3.0"):GetLocale(addonName)
local defaults =
{
profile =
{
enabled =
{
feigndeath = true,
dispel = true,
taunt = true,
misdirection = ... | apache-2.0 |
sharifteam/sharifbot | plugins/admin.lua | 230 | 6382 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(rec... | gpl-2.0 |
yylangchen/Sample_Lua | frameworks/cocos2d-x/tests/lua-tests/src/LabelTest/LabelTest.lua | 5 | 47851 | local size = cc.Director:getInstance():getWinSize()
local scheduler = cc.Director:getInstance():getScheduler()
local kTagTileMap = 1
local kTagSpriteManager = 1
local kTagAnimation1 = 1
local kTagBitmapAtlas1 = 1
local kTagBitmapAtlas2 = 2
local kTagBitmapAtlas3 = 3
local kTagSprite1 = 0
local kTagSprite2 = 1
local kT... | mit |
gocha/gocha-tas | Tools/Lua/bizhawk-pckeystate.lua | 1 | 6536 | --- PCKeyState: User hotkey module for BizHawk.
-- See the following page to know OOP in Lua.
-- http://lua-users.org/wiki/ObjectOrientationTutorial
local PCKeyState = {}
PCKeyState.__index = PCKeyState
-- Class(...) works as same as Class.new(...)
setmetatable(PCKeyState, {
__call = function (klass, ...)
retu... | mit |
xdemolish/darkstar | scripts/zones/Windurst_Waters/npcs/Honoi-Gomoi.lua | 19 | 4225 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Honoi-Gumoi
-- Involved In Quest: Crying Over Onions, Hat in Hand
-- @zone = 238
-- @pos = -195 -11 -120
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
xdemolish/darkstar | scripts/zones/Northern_San_dOria/npcs/Charlaimagnat.lua | 17 | 1432 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Charlaimagnat
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/q... | gpl-3.0 |
samael65535/quick-ng | external/lua/luajit/luajit-2.1/src/jit/v.lua | 78 | 5755 | ----------------------------------------------------------------------------
-- Verbose mode of the LuaJIT compiler.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
-------------------------------------------------------------------------... | mit |
Andreas-Kreuz/ak-lua-skripte-fuer-eep | lua/LUA/ak/data/AkSlotNamesParser.lua | 1 | 1799 | if AkDebugLoad then print("[#Start] Loading ak.data.AkSlotNamesParser ...") end
local SlotNamesParser = {}
local function isModuleAvailable(name)
if package.loaded[name] then
return true
else
for _, searcher in ipairs(package.searchers) do
local loader = searcher(name)
i... | mit |
xdemolish/darkstar | scripts/zones/Sealions_Den/npcs/_0w0.lua | 1 | 1987 | -----------------------------------
-- Area: Sealion's Den
-- NPC: Iron Gate
-- @pos 612 132 774 32
-----------------------------------
package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missions");
requir... | gpl-3.0 |
Hamyargroup-tecmjmh/hamyar-groupVersion1.3 | plugins/google.lua | 94 | 1176 | local function googlethat(query)
local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&"
local parameters = "q=".. (URL.escape(query) or "")
-- Do the request
local res, code = https.request(api..parameters)
if code ~=200 then return nil end
local data = json:decode(res)
local r... | gpl-2.0 |
samael65535/quick-ng | quick/framework/cocos2dx/OpenglConstants.lua | 78 | 27074 | --Encapsulate opengl constants.
gl = gl or {}
gl.GCCSO_SHADER_BINARY_FJ = 0x9260
gl._3DC_XY_AMD = 0x87fa
gl._3DC_X_AMD = 0x87f9
gl.ACTIVE_ATTRIBUTES = 0x8b89
gl.ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8b8a
gl.ACTIVE_PROGRAM_EXT = 0x8259
gl.ACTIVE_TEXTURE = 0x84e0
gl.ACTIVE_UNIFORMS = 0x8b86
gl.ACTIVE_UNIFORM_M... | mit |
xdemolish/darkstar | scripts/globals/mobskills/Hyper_Pulse.lua | 6 | 1330 | ---------------------------------------------------
-- Hyper_Pulse
--
-- Description: 300 magic damage, Gravity and short Bind, wipes Utsusemi
-- Type: Magical
--
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globa... | gpl-3.0 |
hsiaoyi/Melo | cocos2d/cocos/scripting/lua-bindings/auto/api/PageTurn3D.lua | 8 | 1168 |
--------------------------------
-- @module PageTurn3D
-- @extend Grid3DAction
-- @parent_module cc
--------------------------------
-- brief Create an action with duration, grid size.<br>
-- param duration Specify the duration of the PageTurn3D action. It's a value in seconds.<br>
-- param gridSize Specify the size ... | apache-2.0 |
LuaDist2/cqueues | src/socket.debug.lua | 3 | 10219 | local debug = require"_cqueues.socket.debug"
--
-- toviz - binary to visible ASCII string
--
local _viz = {
["\a"] = "\\a", ["\b"] = "\\b", ["\f"] = "\\f", ["\n"] = "\\n",
["\r"] = "\\r", ["\t"] = "\\t", ["\v"] = "\\v", ["\\"] = "\\\\",
['"'] = '\\"', ["'"] = "\\'"
}
for i = 0,255 do
local c = string.char(i)
_v... | mit |
xdemolish/darkstar | scripts/zones/LaLoff_Amphitheater/npcs/qm0_5.lua | 35 | 1154 | -----------------------------------
-- Area: LaLoff_Amphitheater
-- NPC: qm0 (warp player outside after they win fight)
-------------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
... | gpl-3.0 |
xdemolish/darkstar | scripts/zones/Southern_San_dOria/npcs/Arpevion_TK.lua | 6 | 4754 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Arpevion, T.K.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Ru... | gpl-3.0 |
sdgdsffdsfff/redis-storage | deps/lua/src/jit/dump.lua | 15 | 19539 | ----------------------------------------------------------------------------
-- LuaJIT compiler dump module.
--
-- Copyright (C) 2005-2012 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
--
-... | bsd-3-clause |
yylangchen/Sample_Lua | frameworks/cocos2d-x/tests/lua-tests/src/testResource.lua | 10 | 2016 | s_pPathGrossini = "Images/grossini.png"
s_pPathSister1 = "Images/grossinis_sister1.png"
s_pPathSister2 = "Images/grossinis_sister2.png"
s_pPathB1 = "Images/b1.png"
s_pPathB2 = "Images/b2.png"
s_pPathR1 = "Images/r1.png"
s_pPathR2 = "Images/r2.png"
s_pP... | mit |
freem/ultralight | BGAnimations/ScreenSelectMusic decorations/default.lua | 1 | 5511 | local t = Def.ActorFrame{
-- lol the things I have to hack in to fix StepMania's oversights (and yes,
-- this fix applies to sm-ssc v1.0 beta 2 [also beta 3, likely] as well.)
Def.Actor{
Name="FixerUpper";
CurrentSongChangedMessageCommand=function(self)
local song = GAMESTATE:GetCurrentSong();
for pn in iv... | unlicense |
Andreas-Kreuz/ak-lua-skripte-fuer-eep | lua/LUA/spec/ak/train/Train_spec.lua | 1 | 2007 | describe("ak.train.Train", function()
local EepSimulator = require("ak.core.eep.EepSimulator")
EepSimulator.addTrain("#EepTrain1", "RollingStock 1", "RollingStock 2")
insulate("new Train is empty", function()
local TrainRegistry = require "ak.train.TrainRegistry"
local tram = TrainRegistry... | mit |
lighter-cd/premake4-mobile | src/actions/vstudio/vs2013.lua | 1 | 1577 | --
-- vs2013.lua
-- Baseline support for Visual Studio 2013.
-- Copyright (c) 2013 Jason Perkins and the Premake project
--
premake.vstudio.vc2013 = {}
local vc2013 = premake.vstudio.vc2013
local vstudio = premake.vstudio
---
-- Register a command-line action for Visual Studio 2012.
---
newaction
{
trigger ... | mit |
xdemolish/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Rattling_Rain_IM.lua | 8 | 2961 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Rattling Rain, I.M.
-- Type: Border Conquest Guards
-- @pos -227.956 -81.475 260.442 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
deepmind/lab2d | dmlab2d/lib/game_scripts/common/set.lua | 1 | 4961 | --[[ Copyright (C) 2020 The DMLab2D Authors.
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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... | apache-2.0 |
chris5560/openwrt-luci | applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-pbx.lua | 68 | 1923 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
cbimap = Map("asterisk", "asterisk", "")
module = cbimap:section(TypedSection, "module", "Modules", "")
module.anonymous = true
pbx_ael = module:option(ListV... | apache-2.0 |
xdemolish/darkstar | scripts/zones/Windurst_Waters/npcs/Anja-Enja.lua | 37 | 1052 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Anja-Enja
-- Adventurer's Assistant
-- Working 100%
-------------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/zones/Windurst_Waters/TextIDs");
... | gpl-3.0 |
xdemolish/darkstar | scripts/zones/Balgas_Dais/npcs/Armoury_Crate.lua | 36 | 1024 | -----------------------------------
-- Area: Balgas Dais
-- NPC: Armoury Crate
-- Balgas Dais Burning Cicrcle Armoury Crate
-----------------------------------
package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/... | gpl-3.0 |
lighter-cd/premake4-mobile | src/actions/example/example_project.lua | 71 | 2633 | -- An example project generator; see _example.lua for action description
--
-- The project generation function, attached to the action in _example.lua.
-- By now, premake.generate() has created the project file using the name
-- provided in _example.lua, and redirected input to this new file.
--
function premake.ex... | mit |
xdemolish/darkstar | scripts/zones/Port_Bastok/npcs/Galvin.lua | 36 | 1464 | -----------------------------------
-- Area: Port Bastok
-- NPC: Galvin
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
... | gpl-3.0 |
Neopallium/lua-handlers | handler/http/headers.lua | 2 | 3810 | -- Copyright (c) 2010-2011 by Robert G. Jakabosky <bobby@neoawareness.com>
--
-- 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
-... | mit |
yylangchen/Sample_Lua | frameworks/cocos2d-x/external/lua/luajit/src/dynasm/dasm_arm.lua | 74 | 34483 | ------------------------------------------------------------------------------
-- DynASM ARM module.
--
-- Copyright (C) 2005-2013 Mike Pall. All rights reserved.
-- See dynasm.lua for full copyright notice.
------------------------------------------------------------------------------
-- Module information:
local _in... | mit |
paulot/NodeVector | node-0.12.0/tools/wrk/deps/luajit/dynasm/dasm_arm.lua | 74 | 34483 | ------------------------------------------------------------------------------
-- DynASM ARM module.
--
-- Copyright (C) 2005-2013 Mike Pall. All rights reserved.
-- See dynasm.lua for full copyright notice.
------------------------------------------------------------------------------
-- Module information:
local _in... | mit |
xdemolish/darkstar | scripts/zones/Northern_San_dOria/npcs/Miageau.lua | 17 | 2458 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Miageau
-- Type: Quest Giver NPC
-- @zone: 231
-- @pos 115 0 108
--
-- Starts and Finishes: Waters of Cheval
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
---------------------... | gpl-3.0 |
xdemolish/darkstar | scripts/zones/Temenos/npcs/Armoury_Crate.lua | 5 | 7894 | -----------------------------------
-- Area: Temenos
-- NPC: Armoury Crate
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/zones/Temenos/Text... | gpl-3.0 |
dmarro89/sipml5 | asterisk/etc/extensions.lua | 317 | 5827 |
CONSOLE = "Console/dsp" -- Console interface for demo
--CONSOLE = "DAHDI/1"
--CONSOLE = "Phone/phone0"
IAXINFO = "guest" -- IAXtel username/password
--IAXINFO = "myuser:mypass"
TRUNK = "DAHDI/G2"
TRUNKMSD = 1
-- TRUNK = "IAX2/user:pass@provider"
--
-- Extensions are expected to be defined in a global table ... | bsd-3-clause |
xdemolish/darkstar | scripts/zones/Crawlers_Nest_[S]/Zone.lua | 6 | 1292 | -----------------------------------
--
-- Zone: Crawlers_Nest_[S] (171)
--
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest_[S]/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Crawlers_Nest_[S]/TextIDs");
-----------------------------------
-- onI... | gpl-3.0 |
czfshine/UpAndAway | code/components/entityflinger.lua | 2 | 21755 | local Pred = wickerrequire "lib.predicates"
local Game = wickerrequire "game"
local Debuggable = wickerrequire "adjectives.debuggable"
local Topo = Game.Topology
local Physics = modrequire "lib.physics"
local BitMask = modrequire "lib.bitmask"
local NewEntityTable = wickerrequire "gadgets.entity_table"
--[[
--... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.