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 |
|---|---|---|---|---|---|
Juniper/contrail-controller-test | src/analytics/delrequest.lua | 3 | 1993 | --
-- Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
--
local function sub_del(_values)
local lres = redis.call('hgetall',_values)
local iter = 1
while iter <= #lres do
local attr = lres[iter]
local val = lres[iter+1]
if string.byte(val,1) ~= 60 then
loca... | apache-2.0 |
amyvmiwei/skynet | service/launcher.lua | 3 | 2919 | local skynet = require "skynet"
local string = string
local services = {}
local command = {}
local instance = {} -- for confirm (function command.LAUNCH / command.ERROR / command.LAUNCHOK)
local function handle_to_address(handle)
return tonumber("0x" .. string.sub(handle , 2))
end
local NORET = {}
function command... | mit |
crowleaj/ApolloParser | typecheck/function.lua | 1 | 1947 | --Created by Alex Crowley
--On November 3, 2016
--Copyright (c) 2016, TBD
--Licensed under the MIT license
--See LICENSE file for terms
--[[
Runs a validation check on function parameters to make sure
variable names are not duplicated and types are valid
Returns:
Error code, 0 if successful
--]]
fu... | mit |
Colettechan/darkstar | scripts/zones/The_Shrine_of_RuAvitau/npcs/HomePoint#1.lua | 27 | 1290 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- NPC: HomePoint#1
-- @pos -13 48 61 178
-----------------------------------
package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/The_Shrine_of_RuAvitau/TextIDs");
requir... | gpl-3.0 |
zynjec/darkstar | scripts/zones/Dragons_Aery/mobs/Fafnir.lua | 11 | 1693 | -----------------------------------
-- Area: Dragons Aery
-- HNM: Fafnir
-----------------------------------
local ID = require("scripts/zones/Dragons_Aery/IDs")
mixins = {require("scripts/mixins/rage")}
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/titles")
-----------... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Newton_Movalpolos/npcs/HomePoint#1.lua | 27 | 1274 | -----------------------------------
-- Area: Newton Movalpolos
-- NPC: HomePoint#1
-- @pos 444 27 -22 12
-----------------------------------
package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Newton_Movalpolos/TextIDs");
require("scripts/globa... | gpl-3.0 |
JarnoVgr/InfectedWars | entities/entities/turret/init.lua | 1 | 19775 | --[[-----------------------------------------------------------------------------
* Infected Wars, an open source Garry's Mod game-mode.
*
* Infected Wars is the work of multiple authors,
* a full list can be found in CONTRIBUTORS.md.
* For more information, visit https://github.com/JarnoVgr/InfectedWars
*
* Inf... | mit |
zynjec/darkstar | scripts/zones/Bastok_Mines/npcs/Boytz.lua | 12 | 1300 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Boytz
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Bastok_Mines/IDs")
require("scripts/globals/conquest")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
function onTrigger(playe... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Temenos/bcnms/Temenos_Northern_Tower.lua | 35 | 1173 | -----------------------------------
-- Area: Temenos
-- Name:
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[Temenos_N_Tower]UniqueID",G... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/mobskills/Vertical_Slash.lua | 1 | 1252 | ---------------------------------------------
-- Vertical Slash
--
-- Description: Vertically slashes a single target. Additional effect: Accuracy Down
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes:
---------------------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Crawlers_Nest/npcs/Treasure_Coffer.lua | 13 | 4680 | -----------------------------------
-- Area: Crawler Nest
-- NPC: Treasure Coffer
-- @zone 197
-- @pos -94 0 207
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems")... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/spells/foe_requiem_vi.lua | 26 | 1736 | -----------------------------------------
-- Spell: Foe Requiem VI
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Dynamis-San_dOria/mobs/Overlord_s_Tombstone.lua | 22 | 1435 | -----------------------------------
-- Area: Dynamis San d'Oria
-- MOB: Overlord's Tombstone
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/dynamis");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Port_Bastok/npcs/Agapito.lua | 14 | 1947 | -----------------------------------
-- Area: Port Bastok
-- NPC: Agapito
-- Start & Finishes Quest: The Stars of Ifrit
-- @zone 236
-- @pos -72.093 -3.097 9.309
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/set... | gpl-3.0 |
Ali-2h/iranibot | plugins/boobs.lua | 731 | 1601 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
Arashbrsh/cccdpay | plugins/boobs.lua | 731 | 1601 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
asmantarik/MAGIC-BOT | plugins/boobs.lua | 731 | 1601 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
zynjec/darkstar | scripts/zones/Lebros_Cavern/mobs/Qiqirn_Mine.lua | 9 | 2145 | -----------------------------------
-- Area: Lebros Cavern (Excavation Duty)
-- Mob: Qiqirn Mine
-----------------------------------
local ID = require("scripts/zones/Lebros_Cavern/IDs")
require("scripts/globals/status")
-----------------------------------
function onMobSpawn(mob)
local instance = mob:getInstance... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fl.lua | 13 | 2634 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: East Plate
-- @pos 231 -34 20 195
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-- ... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Waoud.lua | 8 | 7296 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Waoud
-- Standard Info NPC
-- Involved in quest: An Empty Vessel
-- @pos 65 -6 -78 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
springning/Atlas | lib/proxy/tokenizer.lua | 41 | 6215 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is dis... | gpl-2.0 |
Colettechan/darkstar | scripts/globals/abilities/pets/spring_water.lua | 25 | 1137 | ---------------------------------------------------
-- Spring Water
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onAbilityCheck(player... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/spells/paralyga.lua | 21 | 1694 | -----------------------------------------
-- Spell: Paralyze
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpell... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/The_Shrouded_Maw/npcs/MementoCircle.lua | 13 | 1441 | -----------------------------------
-- Area: The_Shrouded_Maw
-- NPC: MementoCircle
-----------------------------------
package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/globals/missi... | gpl-3.0 |
lcf8858/Sample_Lua | frameworks/cocos2d-x/tests/lua-tests/src/AssetsManagerTest/AssetsManagerModule.lua | 17 | 1398 | local AssetManagerModule = {}
function AssetManagerModule.newScene(backfunc)
local winSize = cc.Director:getInstance():getWinSize()
local newScene = cc.Scene:create()
local layer = cc.Layer:create()
local function backToUpdate()
local scene = backfunc()
if scene ~= nil then
... | mit |
Colettechan/darkstar | scripts/zones/Northern_San_dOria/npcs/Excenmille.lua | 13 | 1072 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Excenmille
-- Type: Ballista Pursuivant
-- @zone: 231
-- @pos -229.344 6.999 22.976
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"]... | gpl-3.0 |
RJRetro/mame | 3rdparty/genie/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... | gpl-2.0 |
Joker-development/Joker_development | plugins/image.lua | 11 | 1090 | --[[
# For More Information ....!
# Developer : Aziz < @devss_bot > #Dev
# our channel: @help_tele
]]
local function toimage(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'photo'..msg.from.id..'.jpg'
print('File downloaded to:', result)
os.rename(r... | gpl-2.0 |
Joker-development/Joker_development | plugins/ar-en-zhrafa_arab.lua | 6 | 30216 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY jOker ▀▄ ▄▀
▀▄ ▄▀ BY joker (@fuck_8_you) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY joker ▀▄ ▄▀
▀▄ ▄▀ broadcast : زخرفة عربي و نكلش ▀▄ ▄▀
▀▄▀... | gpl-2.0 |
varpeti/Marbles | player.lua | 1 | 8490 | local player = {
x=0, -- kamera koord
y=0,
speed=500,
mozgas=function(self,dt) -- kamera mozgás
if love.keyboard.isDown("d") or love.keyboard.isDown("right") then
self.x = self.x + (self.speed*dt)
end
if love.keyboard.isDown("a") or love.keyboard.isDown("left") then
self.x = self.x - (self.speed*... | mit |
actboy168/MoeHero | scripts/maps/hero/小悟空/筋斗云.lua | 1 | 3005 |
local math = math
local mt = ac.skill['筋斗云']
mt{
--初始等级
level = 0,
--技能图标
art = [[BTNwke.blp]],
--技能说明
title = '筋斗云',
tip = [[
召唤筋斗云来自己脚下,移动速度提高%move_rate%%并且可以穿地形。
筋斗云可以承受%life%次英雄攻击。
持续%time%秒。
]],
--冷却
cool = {50, 30},
--耗蓝
cost = 100,
--动画
cast_animation = 9,
cast_shot_time = 0.6,
--变身单位类型
... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Apollyon/mobs/Cornu.lua | 4 | 1134 | -----------------------------------
-- Area: Apollyon NE
-- NPC: Sirins
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Kazham/npcs/Ghosa_Demuhzo.lua | 17 | 1071 | -----------------------------------
-- Area: Kazham
-- NPC: Ghosa Demuhzo
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
f... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Windurst_Walls/npcs/Chomomo.lua | 14 | 1457 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Chomomo
-- Type: Standard NPC
-- @pos -1.262 -11 290.224 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/mobskills/Necrobane.lua | 43 | 1075 | ---------------------------------------------
-- Necrobane
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------
function onMobSkillCheck(target,mob,skill)
if(mob:g... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Kazham/npcs/Mamerie.lua | 17 | 1410 | -----------------------------------
-- Area: Kazham
-- NPC: Mamerie
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-------... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/The_Garden_of_RuHmet/MobIDs.lua | 6 | 1372 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- Comments: -- posX, posY, posZ
--(Taken from 'mob_spawn_points' table)
-----------------------------------
-- Ix'Aern (DRG)'s minions - Wynavs
IxAernDRG = 16921022;
-- First Aw'Aerns in each group. Used to randomize the mobID as the new placeholder.... | gpl-3.0 |
zynjec/darkstar | scripts/globals/weaponskills/fast_blade.lua | 10 | 1382 | -----------------------------------
-- Fast Blade
-- Sword weapon skill
-- Skill Level: 5
-- Delivers a two-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: None
-- Modifiers: STR:20% DEX:20%
-- 100%TP 200%TP 300%TP
--... | gpl-3.0 |
pedja1/aNmap | dSploit/jni/nmap/nselib/unpwdb.lua | 3 | 10188 | ---
-- Username/password database library.
--
-- The <code>usernames</code> and <code>passwords</code> functions return
-- multiple values for use with exception handling via
-- <code>nmap.new_try</code>. The first value is the Boolean success
-- indicator, the second value is the closure.
--
-- The closures can take a... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/items/bowl_of_loach_gruel.lua | 18 | 1624 | -----------------------------------------
-- ID: 5670
-- Item: Bowl of Loach Gruel
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Make Group Effect
-- Dexterity 2
-- Agility 2
-- Accuracy 7% Cap 30
-- HP 7% Cap 30
-- Evasion 4
-----------------------------------------
require("scri... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/spells/raiton_san.lua | 1 | 1278 | -----------------------------------------
-- Spell: Raiton: San
-- Deals lightning damage to an enemy and lowers its resistance against earth.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Davoi/npcs/Hide_Flap.lua | 14 | 2842 | -----------------------------------
-- Area: Davoi
-- NPC: Hide Flap
-- Involved in Quest: The Doorman, The First Meeting
-- @pos 293 3 -213 149 (WAR)(K-9)
-- @pos -124 3 -43 149 (MNK)(F-7)
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
pando85/telegram-bot | plugins/get.lua | 613 | 1067 | local function get_variables_hash(msg)
if msg.to.type == 'chat' then
return 'chat:'..msg.to.id..':variables'
end
if msg.to.type == 'user' then
return 'user:'..msg.from.id..':variables'
end
end
local function list_variables(msg)
local hash = get_variables_hash(msg)
if hash then
local names =... | gpl-2.0 |
hossein5251/hossein5251bot | plugins/get.lua | 613 | 1067 | local function get_variables_hash(msg)
if msg.to.type == 'chat' then
return 'chat:'..msg.to.id..':variables'
end
if msg.to.type == 'user' then
return 'user:'..msg.from.id..':variables'
end
end
local function list_variables(msg)
local hash = get_variables_hash(msg)
if hash then
local names =... | gpl-2.0 |
lcf8858/Sample_Lua | frameworks/cocos2d-x/tests/lua-tests/src/AccelerometerTest/AccelerometerTest.lua | 15 | 2344 | local function AccelerometerMainLayer()
local function title()
return "AccelerometerTest"
end
local layer = cc.Layer:create()
local function onEnter()
layer:setAccelerometerEnabled(true)
local label = cc.Label:createWithTTF(title(), "fonts/arial.ttf", 32)
layer:addChild(l... | mit |
alerque/casile | packages/imprint.lua | 1 | 5243 | local base = require("packages.base")
local package = pl.class(base)
package._name = "imprint"
function package:_init ()
base._init(self)
self.class:loadPackage("markdown")
end
function package:registerCommands ()
self:registerCommand("imprint:font", function (options, content)
options.weight = options.we... | agpl-3.0 |
lcf8858/Sample_Lua | frameworks/cocos2d-x/external/lua/luasocket/script/socket/headers.lua | 31 | 3706 | -----------------------------------------------------------------------------
-- Canonic header field capitalization
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
local socket = require("socket.socket")
socket.headers = {}
local _M = socket.he... | mit |
Colettechan/darkstar | scripts/globals/weaponskills/vidohunir.lua | 4 | 2087 | -----------------------------------
-- Vidohunir
-- Staff weapon skill
-- Skill Level: N/A
-- Lowers target's magic defense. Duration of effect varies with TP. Laevateinn: Aftermath effect varies with TP.
-- Reduces enemy's magic defense by 10%.
-- Available only after completing the Unlocking a Myth (Black Mage) quest... | gpl-3.0 |
mahdib9/12 | plugins/lock_badword.lua | 10 | 1126 | local function run(msg, matches)
if msg.to.type == 'chat' then
if is_owner(msg) then
return
end
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)] then
if data[tostring(msg.to.id)]['settings'] then
if data[tostring(msg.to.id)]['settings']['lock_badw'... | gpl-2.0 |
aleksijuvani/premake-core | modules/xcode/xcode_project.lua | 4 | 6484 | ---
-- xcode/xcode4_project.lua
-- Generate an Xcode project file.
-- Author Jason Perkins
-- Modified by Mihai Sebea
-- Copyright (c) 2009-2015 Jason Perkins and the Premake project
---
local p = premake
local m = p.modules.xcode
local xcode = p.modules.xcode
local project = p.project
local config ... | bsd-3-clause |
zynjec/darkstar | scripts/zones/Lebros_Cavern/IDs.lua | 10 | 6357 | -----------------------------------
-- Area: Lebros_Cavern
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.LEBROS_CAVERN] =
{
text = {
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back af... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Castle_Oztroja/npcs/relic.lua | 13 | 1848 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: <this space intentionally left blank>
-- @pos -104 -73 85 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztroja/TextIDs");
-----... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Northern_San_dOria/npcs/Esqualea.lua | 17 | 1452 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Esqualea
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Northern_San_dOria/TextIDs");
require("scripts/globals/... | gpl-3.0 |
zynjec/darkstar | scripts/globals/items/broiled_pipira.lua | 11 | 1266 | -----------------------------------------
-- ID: 4585
-- Item: Broiled Pipira
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 4
-- Mind -1
-- Attack % 14 (cap 80)
-- Ranged ATT % 14 (cap 80)
-----------------------------------------
require("scripts/globals/status")
require("scri... | gpl-3.0 |
tsdfsetatata/xserver | config/server/SkillCallTable.lua | 1 | 8236 | local SkillCallTable = {
[112700005] = {
['ID'] = 112700005, --技能作用
['CallScriptPath'] = 170000209, --脚本路径
['ConditionScriptId'] = {0}, --条件脚本id
['OperationScriptId'] = {0} --操作脚本id
},
[112700006] = {
['ID'] = 112700006,
['CallScriptPath'] = 170000017,
['ConditionScriptId'] = {0},
['Opera... | gpl-3.0 |
hedgewars/hw | share/hedgewars/Data/Locale/da.lua | 1 | 232946 | locale = {
["!!!"] = "!!!",
["..."] = "...",
-- ["011101000"] = "", -- A_Classic_Fairytale:dragon
-- ["011101001"] = "", -- A_Classic_Fairytale:backstab, A_Classic_Fairytale:dragon, A_Classic_Fairytale:enemy, A_Classic_Fairytale:family, A_Classic_Fairytale:journey, A_Classic_Fairytale:queen, A... | gpl-2.0 |
aleksijuvani/premake-core | modules/gmake/gmake_utility.lua | 15 | 1409 | --
-- make_utility.lua
-- Generate a C/C++ project makefile.
-- Copyright (c) 2002-2014 Jason Perkins and the Premake project
--
local p = premake
p.make.utility = {}
local make = p.make
local utility = p.make.utility
local project = p.project
local config = p.config
local fileconfig = p.fileco... | bsd-3-clause |
Vadavim/jsr-darkstar | scripts/zones/AlTaieu/npcs/_0x1.lua | 14 | 1936 | -----------------------------------
-- Area: Al'Taieu
-- NPC: Rubious Crystal (South Tower)
-- @pos 0 -6.250 -736.912 33
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/zones/AlT... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Southern_San_dOria/npcs/Nokkhi_Jinjahl.lua | 5 | 13179 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Nokkhi Jinjahl
-- Type: Travelling Merchant NPC / NPC Quiver Maker / San d'Oria 1st Place
-- @zone 230
-- @pos 24.829 0.978 -13.110
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.lo... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Bastok_Markets/npcs/Zon-Fobun.lua | 14 | 2520 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Zon-Fobun
-- Type: Quest Giver
-- @zone 235
-- @pos -241.293 -3 63.406
--
-- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextID... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/bibikibo.lua | 18 | 1308 | -----------------------------------------
-- ID: 4314
-- Item: Bibikibo
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
zynjec/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Ghatsad.lua | 9 | 18749 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Ghatsad
-- Standard Info NPC
-- Involved in quest: No String Attached
-----------------------------------
require("scripts/globals/common")
require("scripts/globals/settings")
require("scripts/globals/quests")
require("scripts/globals/status")
l... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Grand_Palace_of_HuXzoi/Zone.lua | 20 | 4585 | -----------------------------------
--
-- Zone: Grand_Palace_of_HuXzoi (34)
--
-----------------------------------
package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Grand_Palace_of_HuXzoi/TextIDs");
requ... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/Cermet_Headstone.lua | 14 | 3734 | -----------------------------------
-- Area: The Sanctuary of Zi'Tah
-- NPC: Cermet Headstone
-- Involved in Mission: ZM5 Headstone Pilgrimage (Light Headstone)
-- @pos 235 0 280 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
------------------------------... | gpl-3.0 |
lcf8858/Sample_Lua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Node.lua | 9 | 39371 |
--------------------------------
-- @module Node
-- @extend Ref
-- @parent_module cc
--------------------------------
-- @overload self, cc.Node, int
-- @overload self, cc.Node
-- @overload self, cc.Node, int, int
-- @overload self, cc.Node, int, string
-- @function [parent=#Node] ... | mit |
Vadavim/jsr-darkstar | scripts/zones/La_Theine_Plateau/npcs/Dimensional_Portal.lua | 17 | 1389 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Dimensional Portal
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/... | gpl-3.0 |
reaperrr/OpenRA | mods/cnc/maps/nod04b/nod04b.lua | 6 | 8903 | --[[
Copyright 2007-2022 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you 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) any later vers... | gpl-3.0 |
hfjgjfg/core2000 | bot/utils.lua | 473 | 24167 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
amir0858/telesuper1 | bot/utils.lua | 473 | 24167 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | agpl-3.0 |
RJRetro/mame | scripts/src/emu.lua | 1 | 16827 | -- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team
---------------------------------------------------------------------------
--
-- emu.lua
--
-- Rules for building emu cores
--
---------------------------------------------------------------------------
project ("emu")
targetsubdir(_OPTIONS["target"] .."_... | gpl-2.0 |
Vadavim/jsr-darkstar | scripts/zones/PsoXja/npcs/_09d.lua | 14 | 2875 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _09d (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos 301.600 -1.925 -10.000 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
zynjec/darkstar | scripts/zones/Lower_Jeuno/npcs/Yoskolo.lua | 12 | 1247 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Yoskolo
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Lower_Jeuno/IDs")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
function onTrigger(player,npc)
local stock =
{
... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Southern_San_dOria/npcs/Hinaree.lua | 13 | 1986 | -----------------------------------
-- Area: Southern San d'Oria@
-- NPC: Hinaree
-- Type: Standard NPC
-- @zone: 230
-- @pos -301.535 -10.199 97.698
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;... | gpl-3.0 |
zynjec/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Shahau.lua | 12 | 1159 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Shahau
-- Type: Alchemy Image Support
-- !pos -10.470 -6.25 -141.700 241
-----------------------------------
local ID = require("scripts/zones/Aht_Urhgan_Whitegate/IDs")
require("scripts/globals/status")
require("scripts/globals/crafting")
-----... | gpl-3.0 |
zynjec/darkstar | scripts/globals/spells/absorb-str.lua | 12 | 1565 | --------------------------------------
-- Spell: Absorb-STR
-- Steals an enemy's strength.
--------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------------
function onMa... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/North_Gustaberg/npcs/Field_Parchment.lua | 1 | 1345 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Field Parchment
-- Type: Fields of Valor NMs
-- @pos 400.000 -21.5 560.000 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
package.loaded["scripts/globals/jsr_utils"] = nil;
------------------... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Temenos/mobs/Goblin_Slaughterman.lua | 23 | 1065 | -----------------------------------
-- Area: Temenos N T
-- NPC: Goblin_Slaughterman
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
------------------------... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/gear_sets.lua | 17 | 26319 | -----------------------------------
-- Gear sets
-- Allows the use of gear sets with modifiers
-----------------------------------
require("scripts/globals/status");
-----------------------------------
local matchtype = {
any = 0,
earring_weapon = 1,
weapon_weapon = 2
}
-- placeholder for unkno... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Northern_San_dOria/npcs/Antonian.lua | 17 | 2157 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Antonian
-- Regional Marchant NPC
-- Only sells when San d'Oria controlls Aragoneu.
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/No... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Al_Zahbi/npcs/Najaaj.lua | 13 | 1034 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Najaaj
-- Type: Standard NPC
-- @zone: 48
-- @pos 61.563 -1 36.264
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
------------------------------... | gpl-3.0 |
aleksijuvani/premake-core | modules/d/_preload.lua | 2 | 2148 | --
-- Name: d/_preload.lua
-- Purpose: Define the D language API's.
-- Author: Manu Evans
-- Created: 2013/10/28
-- Copyright: (c) 2013-2015 Manu Evans and the Premake project
--
-- TODO:
-- MonoDevelop/Xamarin Studio has 'workspaces', which correspond to collections
-- of Premake workspaces. If ... | bsd-3-clause |
Vadavim/jsr-darkstar | scripts/zones/Ifrits_Cauldron/npcs/qm1.lua | 14 | 1346 | -----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: qm1 (???)
-- Notes: Used to spawn Tarasque
-- @pos 126 18 166 0
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Ifrits_Cauldron/TextIDs")... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Upper_Jeuno/npcs/Champalpieu.lua | 12 | 1225 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Champalpieu
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
-----------------------------------
-- onT... | gpl-3.0 |
yongkangchen/poker-server | lib/simple/login.lua | 1 | 1813 | --[[
https://github.com/yongkangchen/poker-server
Copyright (C) 2016 Yongkang Chen lx1988cyk#gmail.com
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/items/coeurl_sub.lua | 18 | 1832 | -----------------------------------------
-- ID: 5166
-- Item: coeurl_sub
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 10
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Health Regen While Healing 1
-- Attack % 20
-- Attack Cap 75
-- Ranged ATT % 20
-- Ranged ATT Cap 75
---------... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/lizard_egg.lua | 18 | 1161 | -----------------------------------------
-- ID: 4362
-- Item: lizard_egg
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Health 5
-- Magic 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------------... | gpl-3.0 |
pando85/telegram-bot | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
lcf8858/Sample_Lua | frameworks/cocos2d-x/tests/lua-tests/src/ActionsProgressTest/ActionsProgressTest.lua | 16 | 12490 |
local s = cc.Director:getInstance():getWinSize()
------------------------------------
-- SpriteProgressToRadial
------------------------------------
local function SpriteProgressToRadial()
local layer = cc.Layer:create()
Helper.initWithLayer(layer)
local to1 = cc.ProgressTo:create(2, 100)
local to2 = cc.Prog... | mit |
Colettechan/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Thierride.lua | 13 | 3282 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Thierride
-- @zone 80
-- @pos -124 -2 14
-----------------------------------
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/quests");
-----------------------------------
-- Item 1019 = Lufet Salt
-- Had to u... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Davoi/npcs/Sedal-Godjal.lua | 14 | 3995 | -----------------------------------
-- Area: Davoi
-- NPC: Sedal-Godjal
-- Mini Quest used in : Whence Blows the Wind
-- @pos 185 -3 -116 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scrip... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/LaLoff_Amphitheater/npcs/qm1_4.lua | 13 | 2440 | -----------------------------------
-- Area: LaLoff_Amphitheater
-- NPC: Shimmering Circle (BCNM Entrances)
-------------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-------------------------------------
require("scripts/glob... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Vunkerl_Inlet_[S]/npcs/Leafy_Patch.lua | 45 | 1646 | -----------------------------------
-- Area: Vunkerl Inlet (S) (F-5)
-- NPC: Leafy Patch
-- Involved in Quests
-- @pos -418 -33 576
-----------------------------------
package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil;
package.loaded["scripts/globals/quests"] = nil;
-----------------------------------
re... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/weaponskills/hot_shot.lua | 1 | 1577 | -----------------------------------
-- Hot Shot
-- Marksmanship weapon skill
-- Skill Level: 5
-- Deals fire elemental damage to enemy.
-- Aligned with the Flame Gorget & Light Gorget.
-- Aligned with the Flame Belt & Light Belt.
-- Element: Fire
-- Modifiers: AGI:30%
-- 100%TP 200%TP 300%TP
-- 0.50 0.75 ... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Al_Zahbi/npcs/Gidappa.lua | 53 | 2317 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Gidappa
-- Type: Clothcraft Normal/Adv. Image Support
-- @pos 70.228 -7 -54.089 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("s... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/abilities/desperate_flourish.lua | 1 | 2999 | -----------------------------------
-- Ability: Desperate Flourish
-- Weighs down a target with a low rate of success. Requires one Finishing Move.
-- Obtained: Dancer Level 30
-- Finishing Moves Used: 1
-- Recast Time: 00:20
-- Duration: ??
-----------------------------------
require("scripts/globals/settings");
requ... | gpl-3.0 |
Disslove77777/33334444 | bot/utils.lua | 28 | 14994 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
Colettechan/darkstar | scripts/zones/Abyssea-Konschtat/Zone.lua | 33 | 1801 | -----------------------------------
--
-- Zone: Abyssea - Konschtat
--
-----------------------------------
-- Research
-- EventID 0x0400-0x0405 aura of boundless rage
-- EventID 0x0800-0x0883 The treasure chest will disappear is 180 seconds menu.
-- EventID 0x0884 Teleport?
-- EventID 0x0885 DEBUG Menu
--------------... | gpl-3.0 |
darklost/quick-ng | quick/framework/device.lua | 17 | 10490 | --[[
Copyright (c) 2011-2014 chukong-inc.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
to use, copy, modify, merge, publish, dis... | mit |
dani-sj/telecreed | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
zynjec/darkstar | scripts/globals/spells/armys_paeon_ii.lua | 12 | 1373 | -----------------------------------------
-- Spell: Army's Paeon II
-- Gradually restores target's HP.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0
end
... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.