repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
Elkazan/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/npcs/qm2.lua | 16 | 1216 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- NPC: ??? (Spawn Cheese Hoarder Gigiroon(ZNM T1))
-- @pos -184 -8 24 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Alzadaal_... | gpl-3.0 |
tcdog001/ap_project | feeds/luci/modules/base/luasrc/sys/zoneinfo/tzdata.lua | 9 | 17142 | -- Licensed to the public under the Apache License 2.0.
module "luci.sys.zoneinfo.tzdata"
TZ = {
{ 'Africa/Abidjan', 'GMT0' },
{ 'Africa/Accra', 'GMT0' },
{ 'Africa/Addis Ababa', 'EAT-3' },
{ 'Africa/Algiers', 'CET-1' },
{ 'Africa/Asmara', 'EAT-3' },
{ 'Africa/Bamako', 'GMT0' },
{ 'Africa/Bangui', 'WAT-1' },
... | gpl-2.0 |
Vadavim/test | scripts/zones/Ordelles_Caves/npcs/Stalagmite.lua | 8 | 2445 | -----------------------------------
-- Area: Ordelles Caves
-- NPC: Stalagmite
-- Involved In Quest: Sharpening the Sword
-- @pos -51 0.1 3 193
-----------------------------------
package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
Vadavim/test | scripts/zones/Xarcabard/npcs/qm3.lua | 17 | 1641 | -----------------------------------
-- Area: Xarcabard
-- NPC: qm3 (???)
-- Involved in Quests: Atop the Highest Mountains (for Boreal Coeurl)
-- @pos 580 -9 290 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Dragons_Aery/mobs/Fafnir.lua | 15 | 1715 | -----------------------------------
-- Area: Dragons Aery
-- HNM: Fafnir
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
----------------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/dish_of_spaghetti_boscaiola_+1.lua | 35 | 1724 | -----------------------------------------
-- ID: 5201
-- Item: dish_of_spaghetti_boscaiola_+1
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 18
-- Health Cap 125
-- Magic 40
-- Strength -5
-- Dexterity -2
-- Vitality 2
-- Mind 4
-- Magic Regen While Healing 1
-------... | gpl-3.0 |
Vadavim/test | scripts/globals/items/dish_of_spaghetti_boscaiola_+1.lua | 35 | 1724 | -----------------------------------------
-- ID: 5201
-- Item: dish_of_spaghetti_boscaiola_+1
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 18
-- Health Cap 125
-- Magic 40
-- Strength -5
-- Dexterity -2
-- Vitality 2
-- Mind 4
-- Magic Regen While Healing 1
-------... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/shogun_rice_ball.lua | 21 | 1509 | -----------------------------------------
-- ID: 4278
-- Item: Shogun Rice Ball
-- Food Effect: 60Min, All Races
-----------------------------------------
-- HP +20
-- Dex +4
-- Vit +4
-- Chr +4
-- Effect with enhancing equipment (Note: these are latents on gear with the effect)
-- Atk +50
-- Def +30
-- Do... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/plate_of_mushroom_paella.lua | 36 | 1409 | -----------------------------------------
-- ID: 5970
-- Item: Plate of Mushroom Paella
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- HP 40
-- Strength -1
-- Mind 5
-- Magic Accuracy 5
-- Undead Killer 5
-----------------------------------------
require("scripts/globals/status");
-----... | gpl-3.0 |
tehran980/tele_immortal | plugins/stats.lua | 1 | 3988 | do
-- Returns a table with `name` and `msgs`
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_prin... | gpl-2.0 |
3scale/docker-gateway | gateway/src/resty/oidc/discovery.lua | 1 | 5367 | local setmetatable = setmetatable
local type = type
local len = string.len
local resty_url = require 'resty.url'
local http_ng = require "resty.http_ng"
local resty_env = require 'resty.env'
local Mime = require 'resty.mime'
local cjson = require('cjson')
local jwk = require('resty.oidc.jwk')
local resty_lrucache = re... | mit |
3scale/docker-gateway | gateway/src/apicast/policy/ip_check/client_ip.lua | 1 | 1541 | local ipairs = ipairs
local re = require('ngx.re')
local resty_url = require 'resty.url'
local _M = {}
local function last_caller_ip()
return ngx.var.remote_addr
end
local function ip_from_x_real_ip_header()
return ngx.req.get_headers()['X-Real-IP']
end
local function ip_from_x_forwarded_for_header()
local fo... | mit |
hoku586/darkstar | scripts/globals/spells/aurorastorm.lua | 32 | 1189 | --------------------------------------
-- Spell: Aurorastorm
-- Changes the weather around target party member to "auroras."
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
---------------------------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Batallia_Downs/npcs/Cavernous_Maw.lua | 16 | 2992 | -----------------------------------
-- Area: Batallia Downs
-- NPC: Cavernous Maw
-- @pos -48 0.1 435 105
-- Teleports Players to Batallia Downs [S]
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
Vadavim/test | scripts/zones/Al_Zahbi/npcs/Rajaaha.lua | 12 | 2274 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Rajaaha
-- Type: Goldsmithing Normal/Adv. Image Support
-- @pos 49.9 0.1 -45.2 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Al_Zahbi/TextIDs");... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/weaponskills/dark_harvest.lua | 29 | 1229 | -----------------------------------
-- Dark Harvest
-- Scythe weapon skill
-- Skill Level: 30
-- Delivers a dark elemental attack. Damage varies with TP.
-- Aligned with the Aqua Gorget.
-- Aligned with the Aqua Belt.
-- Element: Dark
-- Modifiers: STR:20% ; INT:20%
-- 100%TP 200%TP 300%TP
-- 1.00 ... | gpl-3.0 |
CommandPost/CommandPost | src/plugins/finalcutpro/midi/controls/audio.lua | 2 | 3045 | --- === plugins.finalcutpro.midi.controls.audio ===
---
--- Final Cut Pro MIDI Audio Controls.
local require = require
--local log = require "hs.logger".new "audio"
local deferred = require "cp.deferred"
local fcp = require "cp.apple.finalcutpro"
local i18n = require... | mit |
Elkazan/darkstar | scripts/zones/Bhaflau_Thickets/Zone.lua | 27 | 3711 | -----------------------------------
--
-- Zone: Bhaflau_Thickets (52)
--
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/globals/settings");
requir... | gpl-3.0 |
Vadavim/test | scripts/zones/Bhaflau_Thickets/Zone.lua | 27 | 3711 | -----------------------------------
--
-- Zone: Bhaflau_Thickets (52)
--
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/globals/settings");
requir... | gpl-3.0 |
Vadavim/test | scripts/globals/spells/bio_ii.lua | 1 | 2113 | -----------------------------------------
-- Spell: Bio II
-- Deals dark damage that weakens an enemy's attacks and gruadually reduces its HP.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
------------------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Temenos/bcnms/Temenos_Western_Tower.lua | 35 | 1096 | -----------------------------------
-- Area: Temenos
-- Name:
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[Temenos_W_Tower]UniqueID",GenerateLimbusKey());
HideArmouryCrates(GetInstanceRegion(1298),... | gpl-3.0 |
otservme/global1041 | data/npc/scripts/Angelina.lua | 1 | 1952 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHan... | gpl-2.0 |
CommandPost/CommandPost | src/plugins/finder/pasteboard/history.lua | 2 | 11161 | --- === plugins.finder.pasteboard.history ===
---
--- Adds text pasteboard history actions to the Search Console.
local require = require
--local log = require "hs.logger".new "pbHistory"
local pasteboard = require "hs.pasteboard"
local timer = require "hs.timer"
local con... | mit |
tavuntu/susse | colorManager.lua | 1 | 1639 | colorManager = {}
colorManager.__index = colorManager
-- Thanks to EmmanuelOga for this converters (https://github.com/EmmanuelOga/columns/blob/master/utils/color.lua):
function colorManager.rgbToHsl(r, g, b, a)
r, g, b = r / 255, g / 255, b / 255
local max, min = math.max(r, g, b), math.min(r, g, b)
local... | mit |
Elkazan/darkstar | scripts/zones/Chamber_of_Oracles/bcnms/through_the_quicksand_caves.lua | 17 | 1880 | -----------------------------------
-- Area: Qu'Bia Arena
-- Name: Zilart Mission 6
-- @pos -221 -24 19 206
-----------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems")... | gpl-3.0 |
Vadavim/test | scripts/zones/Port_Bastok/npcs/Tilian.lua | 38 | 1380 | -----------------------------------
-- Area: Port Bastok
-- NPC: Tilian
-- Type: Quest NPC
-- @pos -118.460 4.999 -68.090 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/mobskills/Tail_Crush.lua | 25 | 1026 | ---------------------------------------------
-- Tail Crush
--
-- Description: Smashes a single target with its tail. Additional effect: Poison
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes:
---------------------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
likunpeng/cocos | QuickGame/runtime/mac/PrebuiltRuntimeLua.app/Contents/Resources/src/framework/json.lua | 9 | 3476 | --[[
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... | apache-2.0 |
hoku586/darkstar | scripts/zones/Lower_Jeuno/npcs/Pawkrix.lua | 17 | 1272 | -----------------------------------
-- Area: Lower Jeuno
-- NPC:
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action... | gpl-3.0 |
Vadavim/test | scripts/zones/Mhaura/npcs/Koh_Lenbalalako.lua | 19 | 2170 | -----------------------------------
-- Area: Mhaura
-- NPC: Koh Lenbalalako
-- Type: Standard NPC
-- @pos -64.412 -17 29.213 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/g... | gpl-3.0 |
Jeija/minetest-mod-digilines | lightsensor.lua | 1 | 2003 | local GET_COMMAND = "GET"
local lsensor_nodebox =
{
type = "fixed",
fixed = {
{ -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 }, -- bottom slab
{ -7/16, -7/16, -7/16, -4/16, -5/16, 7/16 }, -- bonds
{ 4/16, -7/16, -7/16, 7/16, -5/16, 7/16 },
{ -7/16, -7/16, -7/16, 7/16, -5/16, -4/16 },
{ -7/16, -7/16, 4/16,... | lgpl-3.0 |
fegimanam/mas | plugins/admin.lua | 53 | 2402 | 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 |
tanrax/alunizaje | main_old.lua | 1 | 15793 | local start_time = 0
-- LOAD
function love.load()
-- Configuration
math.randomseed(os.time())
width, height = love.window.getDesktopDimensions( display )
window = { width = width , height = height }
fullscreen = false
love.window.setMode(window.width, window.height, {resizable=true})
font_main = love.graphics.ne... | apache-2.0 |
Elkazan/darkstar | scripts/globals/spells/jubaku_san.lua | 18 | 1697 | -----------------------------------------
-- Spell: Jubaku: San
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT.
-- taken from paralyze
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
--------------------------... | gpl-3.0 |
Vadavim/test | scripts/globals/pets.lua | 37 | 36137 | -----------------------------------
--
-- PETS ID
--
-----------------------------------
-----------------------------------
-- PETTYPE
-----------------------------------
PETTYPE_AVATAR = 0;
PETTYPE_WYVERN = 1;
PETTYPE_JUGPET = 2;
PETTYPE_CHARMED_MOB = 3;
PETTYPE... | gpl-3.0 |
hoku586/darkstar | scripts/zones/The_Shrine_of_RuAvitau/mobs/Kirin_s_Avatar.lua | 22 | 2284 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- MOB: Kirin's Avatar
-----------------------------------
package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Shrine_of_RuAvitau/TextIDs");
require("scripts/globals/sta... | gpl-3.0 |
otservme/global1041 | data/npc/scripts/Orockle.lua | 1 | 1564 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local talkState = {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(... | gpl-2.0 |
padrinoo1/vagir1 | plugins/inpm.lua | 33 | 2992 | do
local function pairsByKeys (t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
Vadavim/test | scripts/globals/mobskills/Bilgestorm.lua | 6 | 1253 | ---------------------------------------------
-- Bilgestorm
--
-- Description: Deals damage in an area of effect. Additional effect: Lowers attack, accuracy, and defense
-- Type: Physical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: Unknown
-- Notes: Only used at low health.*Experienced the use at 75%... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Aht_Urhgan_Whitegate/TextIDs.lua | 7 | 4946 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 218; -- You cannot obtain the item. Come back after sorting your inventory.?Prompt?
ITEM_CANNOT_BE_OBTAINEDX = 220; -- You cannot obtain the ?Possible Special Code: 01??Possible Special Code: 05?#?BAD CHAR: 8280??BAD CHAR: 80??BAD CHAR: 8... | gpl-3.0 |
hoku586/darkstar | scripts/globals/spells/hojo_ichi.lua | 27 | 1249 | -----------------------------------------
-- Spell: Hojo:Ichi
-- Description: Inflicts Slow on target.
-- Edited from slow.lua
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------... | gpl-3.0 |
likunpeng/cocos | luatest/src/LayerTest/LayerTest.lua | 1 | 22550 | local scheduler = cc.Director:getInstance():getScheduler()
local kTagLayer = 1
local function createLayerDemoLayer(title, subtitle)
local layer = cc.Layer:create()
Helper.initWithLayer(layer)
local titleStr = title == nil and "No title" or title
local subTitleStr = subtitle == nil and "" or subtitle
... | apache-2.0 |
Vadavim/test | scripts/zones/Port_Bastok/npcs/Ronan.lua | 19 | 2559 | -----------------------------------
-- Area: Port Bastok
-- NPC: Ronan
-- Start & Finishes Quest: Out of One's Shell
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/... | gpl-3.0 |
Vadavim/test | scripts/globals/mobskills/Floodlight.lua | 6 | 1225 | ---------------------------------------------------
-- Floodlight
--
-- Description: ~300 magic damage, Flash, Blind and Silence, ignores Utsusemi
-- Type: Magical
--
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/g... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/effects/agi_down.lua | 18 | 1092 | -----------------------------------
--
-- EFFECT_AGI_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if ((target:getStat(MOD_AGI) - effec... | gpl-3.0 |
koningdde/Arduitools | ESP8266/nodemcu-firmware-master/nodemcu-firmware-master/tools/utils.lua | 48 | 11997 | -- Generic utility functions
module( ..., package.seeall )
local lfs = require "lfs"
local sf = string.format
-- Taken from Lake
dir_sep = package.config:sub( 1, 1 )
is_os_windows = dir_sep == '\\'
-- Converts a string with items separated by 'sep' into a table
string_to_table = function( s, sep )
if type( s ) ~= ... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Chateau_dOraguille/npcs/Chaloutte.lua | 14 | 1066 | -----------------------------------
-- Area: Chateau d'Oraguille
-- NPC: Chaloutte
-- Type: Event Scene Replayer
-- @zone 233
-- @pos 10.450 -1 -11.985
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil... | gpl-3.0 |
Vadavim/test | scripts/zones/Windurst_Woods/npcs/Apururu.lua | 11 | 5650 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Apururu
-- Involved in Quests: The Kind Cardian, Can Cardians Cry?
-- @zone 241
-- @pos -11 -2 13
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = ni... | gpl-3.0 |
Vadavim/test | scripts/globals/items/dish_of_spaghetti_nero_di_seppia_+1.lua | 36 | 1731 | -----------------------------------------
-- ID: 5202
-- Item: Dish of Spaghetti Nero Di Seppia +1
-- Food Effect: 60 Mins, All Races
-----------------------------------------
-- HP % 17 (cap 140)
-- Dexterity 3
-- Vitality 2
-- Agility -1
-- Mind -2
-- Charisma -1
-- Double Attack 1
-- Store TP 6
---------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Grand_Palace_of_HuXzoi/mobs/Ix_aern_mnk.lua | 22 | 2773 | -----------------------------------
-- Area: Grand Palace of HuXzoi
-- NPC: Ix_aern_mnk
-- ID: 16916815
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
... | gpl-3.0 |
Vadavim/test | scripts/zones/Grand_Palace_of_HuXzoi/mobs/Ix_aern_mnk.lua | 22 | 2773 | -----------------------------------
-- Area: Grand Palace of HuXzoi
-- NPC: Ix_aern_mnk
-- ID: 16916815
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ezura-Romazura.lua | 34 | 1541 | -----------------------------------
-- Area: Windurst Waters [S]
-- NPC: Ezura-Romazura
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Wi... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/homemade_steak.lua | 35 | 1124 | -----------------------------------------
-- ID: 5226
-- Item: homemade_steak
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
likunpeng/cocos | QuickGame/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ActionManager.lua | 10 | 3634 |
--------------------------------
-- @module ActionManager
-- @extend Ref
-- @parent_module cc
--------------------------------
-- Gets an action given its tag an a target<br>
-- return the Action the with the given tag
-- @function [parent=#ActionManager] getActionByTag
-- @param self
-- @param #int tag
-- @param #... | apache-2.0 |
Elkazan/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ranpi-Monpi.lua | 38 | 1048 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ranpi-Monpi
-- Type: Standard NPC
-- @zone: 94
-- @pos -115.452 -3 43.389
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/bowl_of_goblin_stew.lua | 22 | 1504 | -----------------------------------------
-- ID: 4465
-- Item: bowl_of_goblin_stew
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Dexterity -4
-- Attack % 15.5
-- Ranged Attack % 15.5
-----------------------------------------
require("scripts/globals/status");
---------------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/South_Gustaberg/mobs/Rock_Lizard.lua | 12 | 1502 | -----------------------------------
-- Area: South Gustaberg
-- MOB: Rock Lizard
-- Note: Place holder Leaping Lizzy
-----------------------------------
require("scripts/zones/South_Gustaberg/MobIDs");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onMobDeath
-----------------------... | gpl-3.0 |
hoku586/darkstar | scripts/globals/abilities/wild_flourish.lua | 27 | 2207 | -----------------------------------
-- Ability: Wild Flourish
-- Readies target for a skillchain. Requires at least two Finishing Moves.
-- Obtained: Dancer Level 60
-- Finishing Moves Used: 2
-- Recast Time: 0:30
-- Duration: 0:05
-----------------------------------
require("scripts/globals/settings");
require("scrip... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Vunkerl_Inlet_[S]/npcs/qm7.lua | 45 | 2168 | -----------------------------------
-- Area: Vunkerl Inlet (S) (H-6)
-- NPC: ???
-- Involved in Quests
-- @pos -26 -31 364
-----------------------------------
package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil;
package.loaded["scripts/globals/quests"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
Vadavim/test | scripts/zones/Misareaux_Coast/npcs/Logging_Point.lua | 29 | 1107 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Misareaux_Coast/TextIDs");
... | gpl-3.0 |
korialuo/skynet | lualib/sproto.lua | 4 | 5694 | local core = require "sproto.core"
local assert = assert
local sproto = {}
local host = {}
local weak_mt = { __mode = "kv" }
local sproto_mt = { __index = sproto }
local sproto_nogc = { __index = sproto }
local host_mt = { __index = host }
function sproto_mt:__gc()
core.deleteproto(self.__cobj)
end
function sproto... | mit |
hoku586/darkstar | scripts/zones/Eastern_Altepa_Desert/TextIDs.lua | 7 | 1060 | -- 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 = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obtained... | gpl-3.0 |
Vadavim/test | scripts/zones/Tavnazian_Safehold/npcs/Nivorajean.lua | 38 | 1048 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Nivorajean
-- Type: Standard NPC
-- @zone: 26
-- @pos 15.890 -22.999 13.322
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-... | gpl-3.0 |
hoku586/darkstar | scripts/globals/items/plate_of_ic_pilav.lua | 12 | 1953 | -----------------------------------------
-- ID: 5584
-- Item: plate_of_ic_pilav
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health % 14
-- Health Cap 65
-- Strength 4
-- Vitality -1
-- Intelligence -1
-- Health Regen While Healing 1
-- Attack % 22
-- Attack Cap 65
-- Ranged ATT % 22
... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Bastok_Mines/npcs/Rashid.lua | 14 | 3726 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Rashid
-- Type: Mission Giver
-- @pos -8.444 -2 -123.575 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globa... | gpl-3.0 |
otservme/global1041 | data/movements/scripts/pits of inferno quest/pitsOfInfernoQuestThrones.lua | 1 | 1278 | local thrones = {
[2080] = {text = "You have touched Infernatil's throne and absorbed some of his spirit.", animation = CONST_ME_FIREAREA},
[2081] = {text = "You have touched Tafariel's throne and absorbed some of his spirit.'", animation = CONST_ME_MORTAREA},
[2082] = {text = "You have touched Verminor's throne and... | gpl-2.0 |
hoku586/darkstar | scripts/zones/Yhoator_Jungle/npcs/qm3.lua | 14 | 1845 | -----------------------------------
-- Area: Davoi
-- NPC: ??? (qm3)
-- Involved in Quest: True will
-- @pos 203 0.1 82 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/global... | gpl-3.0 |
tcdog001/ap_project | feeds/packages/net/mwan3-luci/files/usr/lib/lua/luci/controller/mwan3.lua | 29 | 10831 | module("luci.controller.mwan3", package.seeall)
sys = require "luci.sys"
ut = require "luci.util"
function index()
if not nixio.fs.access("/etc/config/mwan3") then
return
end
entry({"admin", "network", "mwan"},
alias("admin", "network", "mwan", "overview"),
_("Load Balancing"), 600)
entry({"admin", "netwo... | gpl-2.0 |
Elkazan/darkstar | scripts/zones/Wajaom_Woodlands/npcs/qm4.lua | 16 | 1176 | -----------------------------------
-- Area: Wajaom Woodlands
-- NPC: ??? (Spawn Tinnin(ZNM T4))
-- @pos 278 0 -703 51
-----------------------------------
package.loaded["scripts/zones/Wajaom_Woodlands/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Wajaom_Woodlands/TextIDs");
-----------... | gpl-3.0 |
likunpeng/cocos | QuickGame/frameworks/cocos2d-x/external/lua/luajit/src/src/jit/bc.lua | 78 | 5606 | ----------------------------------------------------------------------------
-- LuaJIT bytecode listing module.
--
-- Copyright (C) 2005-2013 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | apache-2.0 |
linushsao/sky_islands_game-linus | mods/mobf_core/mobf_settings/tab_feature_config.lua | 2 | 6639 | --------------------------------------------------------------------------------
-- Mob Framework Settings Mod by Sapier
--
-- You may copy, use, modify or do nearly anything except removing this
-- copyright notice.
-- And of course you are NOT allowed to pretend you have written it.
--
--! @file tab_feature_config.lu... | gpl-3.0 |
hclhkbu/dlbench | synthetic/experiments/torch/cnn/resnet/train.lua | 2 | 6282 | --
-- Copyright (c) 2016, Facebook, Inc.
-- All rights reserved.
--
-- This source code is licensed under the BSD-style license found in the
-- LICENSE file in the root directory of this source tree. An additional grant
-- of patent rights can be found in the PATENTS file in the same directory.
--
-- The training... | mit |
hoku586/darkstar | scripts/zones/Mhaura/npcs/Numi_Adaligo.lua | 17 | 1384 | -----------------------------------
-- Area: Mhaura
-- NPC: Numi Adaligo
-- Involved In Quest: RYCHARDE_THE_CHEF
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/settings");
... | gpl-3.0 |
hoku586/darkstar | scripts/globals/spells/sheepfoe_mambo.lua | 27 | 1608 | -----------------------------------------
-- Spell: Sheepfoe Mambo
-- Grants evasion bonus to all members.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caste... | gpl-3.0 |
yosefvj/vj2 | plugins/stats.lua | 458 | 4098 | -- 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 |
brainsucker-na/packages | utils/luci-app-lxc/files/controller/lxc.lua | 77 | 2909 | --[[
LuCI LXC module
Copyright (C) 2014, Cisco Systems, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Author: Petar Koretic <petar.koretic@sart... | gpl-2.0 |
hoku586/darkstar | scripts/zones/Nyzul_Isle/mobs/Imperial_Gear.lua | 10 | 1851 | -----------------------------------
-- Area: Nyzul Isle (Path of Darkness)
-- MOB: Imperial Gear
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Nyzul_Isle/IDs");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMob... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Hieroglyphics.lua | 17 | 2356 | -----------------------------------
-- Area: Tavnazian_Safehold
-- NPC: Hieroglyphics
-- Notes: Dynamis Tavnazia Enter
-- @pos 3.674 -7.278 -27.856 26
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
Vadavim/test | scripts/zones/Metalworks/Zone.lua | 28 | 1683 | -----------------------------------
--
-- Zone: Metalworks (237)
--
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/zone");
require("scripts/globals/settings");
requi... | gpl-3.0 |
ff94315/luci-1 | modules/luci-base/luasrc/cbi.lua | 17 | 40212 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.cbi", package.seeall)
require("luci.template")
local util = require("luci.util")
require("luci.http")
--local event = require "luci.sys.event"
local fs = require("nixio.fs")
local uc... | apache-2.0 |
Vadavim/test | scripts/zones/Temenos/Zone.lua | 28 | 5036 | -----------------------------------
--
-- Zone: Temenos (37)
--
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Temenos/TextIDs");
require("scripts/globals/limbus");
-... | gpl-3.0 |
hoku586/darkstar | scripts/globals/items/bataquiche_+1.lua | 12 | 1470 | -----------------------------------------
-- ID: 5169
-- Item: Bataquiche +1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 10
-- Agility 1
-- Vitality -1
-- Ranged Acc % 7
-- Ranged Acc Cap 20
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
north-crescent/mira | module/invocation.lua | 1 | 15913 | --[[
Mira - An abstract workflow assistant for Git
Copyright (C) 2017 North Crescent
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 yo... | gpl-3.0 |
Vadavim/test | scripts/zones/LaLoff_Amphitheater/bcnms/ark_angels_4.lua | 13 | 3452 | -----------------------------------
-- Area: LaLoff Amphitheater
-- Name: Ark Angels 4 (Elvaan)
-----------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
require("scripts/globals/missi... | gpl-3.0 |
OrenjiAkira/lovephysics | src/basic/rectangle.lua | 1 | 1472 |
local vector = require 'basic.vector'
local rect = require 'basic.prototype' :new {
0, 0, 0, 0,
__type = 'rectangle'
}
function rect:__init ()
self.pos = vector:new { self[1], self[2] }
self.size = vector:new { self[3], self[4] }
end
function rect:set_pos (x, y)
self.pos:set(x, y)
end
function rect:get_p... | gpl-3.0 |
marmalade/gbsgamejam | QuickGameTemplate/resources/quicklua/lua_socket/http.lua | 121 | 12193 | -----------------------------------------------------------------------------
-- HTTP/1.1 client support for the Lua language.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: http.lua,v 1.71 2007/10/13 23:55:20 diego Exp $
-----------------------------------------------------------------------------
-----... | mit |
electricpandafishstudios/Dredge | game/thirdparty/socket/http.lua | 121 | 12193 | -----------------------------------------------------------------------------
-- HTTP/1.1 client support for the Lua language.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: http.lua,v 1.71 2007/10/13 23:55:20 diego Exp $
-----------------------------------------------------------------------------
-----... | gpl-3.0 |
quanhua92/torch-android | src/3rdparty/luasocket-2.0.2/http.lua | 121 | 12193 | -----------------------------------------------------------------------------
-- HTTP/1.1 client support for the Lua language.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: http.lua,v 1.71 2007/10/13 23:55:20 diego Exp $
-----------------------------------------------------------------------------
-----... | bsd-3-clause |
hoku586/darkstar | scripts/globals/items/dish_of_spaghetti_pescatora_+1.lua | 12 | 1664 | -----------------------------------------
-- ID: 5200
-- Item: dish_of_spaghetti_pescatora_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health % 15
-- Health Cap 160
-- Vitality 3
-- Mind -1
-- Defense % 22
-- Defense Cap 70
-- Store TP 6
-----------------------------------------
re... | gpl-3.0 |
blackspotbear/MMDViewer | third-party/bullet3-2.83.7/build3/premake4.lua | 4 | 5412 |
solution "0_Bullet3Solution"
local osversion = os.getversion()
print(string.format(" %d.%d.%d (%s)",
osversion.majorversion, osversion.minorversion, osversion.revision,
osversion.description))
-- Multithreaded compiling
if _ACTION == "vs2010" or _ACTION=="vs2008" then
buildoptions { "/MP" }
end
... | mit |
likunpeng/cocos | QuickGame/runtime/ios/PrebuiltRuntimeLua.app/src/framework/cc/net/SocketTCP.lua | 17 | 6391 | --[[
For quick-cocos2d-x
SocketTCP lua
@author zrong (zengrong.net)
Creation: 2013-11-12
Last Modification: 2013-12-05
@see http://cn.quick-x.com/?topic=quickkydsocketfzl
]]
local SOCKET_TICK_TIME = 0.1 -- check socket data interval
local SOCKET_RECONNECT_TIME = 5 -- socket reconnect try interval
local SOCKET_CONN... | apache-2.0 |
CommandPost/CommandPost | src/extensions/cp/console/history.lua | 2 | 4636 | --- === cp.console.history ===
---
--- Console History Manager.
---
--- Based on code by @asmagill
--- https://github.com/asmagill/hammerspoon-config-take2/blob/master/utils/_actions/consoleHistory.lua
local require = require
local console = require "hs.console"
local hash = require "hs.hash"
local timer =... | mit |
lidesdk/commandline | lua/linux/arm64/cjson/util.lua | 170 | 6837 | local json = require "cjson"
-- Various common routines used by the Lua CJSON package
--
-- Mark Pulford <mark@kyne.com.au>
-- Determine with a Lua table can be treated as an array.
-- Explicitly returns "not an array" for very sparse arrays.
-- Returns:
-- -1 Not an array
-- 0 Empty table
-- >0 Highest index ... | gpl-3.0 |
Vadavim/test | scripts/globals/items/sandfish.lua | 17 | 1317 | -----------------------------------------
-- ID: 4291
-- Item: sandfish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChec... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/Treasure_Coffer.lua | 13 | 4653 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Treasure Coffer
-- @zone 159
-- @pos -219 0 32
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globa... | gpl-3.0 |
hoku586/darkstar | scripts/globals/items/chocolate_cake.lua | 12 | 1428 | -----------------------------------------
-- ID: 5633
-- Item: Chocolate Cake
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- MP +3% (cap 90)
-- HP Recovered while healing +1
-- MP Recovered while healing +6
-----------------------------------------
require("scripts/... | gpl-3.0 |
hoku586/darkstar | scripts/globals/items/nopales_salad.lua | 12 | 1358 | -----------------------------------------
-- ID: 5701
-- Item: nopales_salad
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Strength 1
-- Agility 6
-- Ranged Accuracy +20
-- Ranged Attack +10
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
Vadavim/test | scripts/zones/Nashmau/npcs/Pipiroon.lua | 34 | 1224 | -----------------------------------
-- Area: Nashmau
-- NPC: Pipiroon
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
----------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Southern_San_dOria/npcs/Machielle.lua | 30 | 2011 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Machielle
-- Only sells when Bastok controls Norvallen Region
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
quanhua92/torch-android | src/3rdparty/nn/MultiCriterion.lua | 9 | 1095 | local MultiCriterion, parent = torch.class('nn.MultiCriterion', 'nn.Criterion')
function MultiCriterion:__init()
parent.__init(self)
self.criterions = {}
self.weights = torch.DoubleStorage()
end
function MultiCriterion:add(criterion, weight)
weight = weight or 1
table.insert(self.criterions, criterion)... | bsd-3-clause |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.