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 |
|---|---|---|---|---|---|
AquariaOSE/Aquaria | files/scripts/maps/node_beacon_homecave_off.lua | 6 | 1071 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public License
-- as published by the Free Software Foundation; either version 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/QuBia_Arena/mobs/Death_Clan_Destroyer.lua | 17 | 4261 | -----------------------------------
-- Area: QuBia_Arena
-- MOB: Death Clan Destroyer
-----------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/QuBia_Arena/TextIDs");
require("scripts/globals/missions");
require("scripts/gl... | gpl-3.0 |
jakianroy/NGUI_To_Be_Best | Assets/LuaFramework/Lua/3rd/luabitop/bittest.lua | 17 | 2353 | -- Test cases for bit operations library. Public domain.
local bit = require"bit"
local vb = {
0, 1, -1, 2, -2, 0x12345678, 0x87654321,
0x33333333, 0x77777777, 0x55aa55aa, 0xaa55aa55,
0x7fffffff, 0x80000000, 0xffffffff
}
local function cksum(name, s, r)
local z = 0
for i=1,#s do z = (z + string.byte(s, i)*... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Cloister_of_Gales/mobs/Ogmios.lua | 23 | 1336 | -----------------------------------
-- Area: Cloister of Gales
-- MOB: Ogmios
-- Involved in Quest: Carbuncle Debacle
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
-----------------------------------
-- OnMobSpawn Action
--------------------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Spear.lua | 17 | 1486 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Spear
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEngag... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Port_Bastok/npcs/Tilian.lua | 8 | 1433 | -----------------------------------
-- 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 |
sevu/wesnoth | data/lua/mapgen_helper.lua | 15 | 2713 | local LS = wesnoth.require "location_set"
local mapgen_helper, map_mt = {}, {__index = {}}
function mapgen_helper.create_map(width,height,default_terrain)
local map = setmetatable({w = width, h = height}, map_mt)
for i = 1, width * height do
table.insert(map, default_terrain or 'Gg')
end
return map
end
local v... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Norg/npcs/_700.lua | 14 | 2994 | -----------------------------------
-- Area: Norg
-- NPC: Oaken door (Gilgamesh's room)
-- @pos 97 -7 -12 252
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/settings")
-----------------------------------
-- onTrade Action
-----------------------------------
functio... | gpl-3.0 |
jbeich/Aquaria | game_scripts/_mods/jukebox/scripts/jukeboxinclude.lua | 5 | 2937 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public License
-- as published by the Free Software Foundation; either version 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Buburimu_Peninsula/TextIDs.lua | 1 | 1585 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6414; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6420; -- Obtained: <item>.
GIL_OBTAINED = 6421; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6423; -- Obtained... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/items/baked_apple.lua | 12 | 1271 | -----------------------------------------
-- ID: 4406
-- Item: Baked Apple
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 20
-- Agility -1
-- Intelligence 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- On... | gpl-3.0 |
aktel/vice-players | Vendor/CEGUI/cegui/src/ScriptingModules/LuaScriptModule/support/tolua++bin/lua/class.lua | 7 | 5636 | -- tolua: class class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: class.lua 1004 2006-02-27 13:03:20Z lindquist $
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has no obligation to provide ma... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/abilities/ice_maneuver.lua | 19 | 1600 | -----------------------------------
-- Ability: Ice Maneuver
-- Enhances the effect of ice attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
francot514/CardGamePRO-Simulator | data/cards/c1511.lua | 1 | 1372 | --Anubis
function c1511.initial_effect(c)
--destroy1
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_BATTLED)
e1:SetCondition(c1511.condition)
e1:SetTarget(c1511.target)
e1:SetOperation(c1511.operation)
c:RegisterEffect(e1)... | gpl-2.0 |
sjznxd/lc-20121231 | libs/core/luasrc/ltn12.lua | 83 | 11303 | --[[
LuaSocket 2.0.2 license
Copyright � 2004-2007 Diego Nehab
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, me... | apache-2.0 |
nyczducky/darkstar | scripts/globals/spells/hydrohelix.lua | 26 | 1690 | --------------------------------------
-- Spell: Hydrohelix
-- Deals water damage that gradually reduces
-- a target's HP. Damage dealt is greatly affected by the weather.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/m... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/weaponskills/tachi_yukikaze.lua | 18 | 1763 | -----------------------------------
-- Tachi Yukikaze
-- Great Katana weapon skill
-- Skill Level: 200 (Samurai only.)
-- Blinds target. Damage varies with TP.
-- Blind effect duration is 60 seconds when unresisted.
-- Will stack with Sneak Attack.
-- Tachi: Yukikaze appears to have an attack bonus of 50%. http://www.b... | gpl-3.0 |
ld-test/vararg | test/test.lua | 5 | 6412 | local _G = require "_G"
local assert = _G.assert
local pcall = _G.pcall
local print = _G.print
local select = _G.select
local type = _G.type
local math = require "math"
local ceil = math.ceil
local huge = math.huge
local min = math.min
local table = require "table"
local unpack = table.unpack or _G.unpack
local vara... | mit |
ashkan1996/hunter001 | plugins/admin.lua | 46 | 6101 | 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(receiver, '... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Apollyon/mobs/Air_Elemental.lua | 119 | 2740 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
... | gpl-3.0 |
dtrip/awesome | tests/examples/wibox/nwidget/actionlist/icon_only.lua | 4 | 1226 | --DOC_GEN_IMAGE
local parent = ... --DOC_HIDE --DOC_NO_USAGE
local naughty = { --DOC_HIDE
list = {actions = require("naughty.list.actions")}, --DOC_HIDE
notification = require("naughty.notification"), --DOC_HIDE
action = require("naughty.action") --DOC_HIDE
} --DOC_HIDE
local wibox = requir... | gpl-2.0 |
hanikk/tele-you | plugins/twitter_send.lua | 627 | 1555 | do
local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local client = OAuth.new(consumer_key, consumer_secret, {
RequestToken = "https://api.twitter.com/oauth/request_token",
AuthorizeUser = {"https://api.twitter.com/oauth/autho... | gpl-2.0 |
nyczducky/darkstar | scripts/globals/spells/knights_minne.lua | 27 | 1495 | -----------------------------------------
-- Spell: Knight's Minne I
-- Grants Defense bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(cast... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/weaponskills/circle_blade.lua | 25 | 1358 | -----------------------------------
-- Circle Blade
-- Sword weapon skill
-- Skill Level: 150
-- Delivers an area of effect attack. Attack radius varies with TP.
-- Aligned with the Aqua Gorget & Thunder Gorget.
-- Aligned with the Aqua Belt & Thunder Belt.
-- Element: None
-- Modifiers: STR:35%
-- 100%TP 200%TP ... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/abilities/beast_roll.lua | 19 | 2633 | -----------------------------------
-- Ability: Beast Roll
-- Enhances pet attacks for party members within area of effect
-- Optimal Job: Beastmaster
-- Lucky Number: 4
-- Unlucky Number: 8
-- Level: 34
--
-- Die Roll |No BST |With BST
-- -------- -------- -----------
-- 1 |16 |41
-- 2 |20... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/spells/huton_san.lua | 21 | 1271 | -----------------------------------------
-- Spell: Huton: San
-- Deals wind damage to an enemy and lowers its resistance against ice.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
---------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Beadeaux/npcs/_43b.lua | 14 | 1763 | -----------------------------------
-- Area: Beadeaux
-- NPC: Jail Door
-- Involved in Quests: The Rescue
-- @pos 56 0.1 -23 147
-----------------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals... | gpl-3.0 |
aminba/bot | plugins/setwhere.lua | 4 | 1383 | -- Create a new event!
-- Use !newevent eventname
local _file_values = './data/events.lua'
function read_file_values( )
local f = io.open(_file_values, "r+")
-- If file doesn't exists
if f == nil then
-- Create a new empty table
print ('Created value file '.._file_values)
serialize_to_file({}, _fil... | gpl-2.0 |
cliffano/swaggy-jenkins | clients/lua/generated/spec/queue_blocked_item_spec.lua | 1 | 3070 | --[[
Swaggy Jenkins
Jenkins API clients generated from Swagger / Open API specification
The version of the OpenAPI document: 1.5.1-pre.0
Contact: blah@cliffano.com
Generated by: https://openapi-generator.tech
]]
--[[
Unit tests for openapiclient.model.queue_blocked_item
Automatically generated by openapi-g... | mit |
nyczducky/darkstar | scripts/zones/Abyssea-La_Theine/Zone.lua | 33 | 1482 | -----------------------------------
--
-- Zone: Abyssea - La_Theine
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-La_Theine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abyssea-La_Thein... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/items/pork_cutlet.lua | 12 | 1737 | -----------------------------------------
-- ID: 6394
-- Item: pork_cutlet
-- Food Effect: 180Min, All Races
-----------------------------------------
-- HP +40
-- STR +7
-- INT -7
-- Fire resistance +20
-- Attack +20% (cap 120)
-- Ranged Attack +20% (cap 120)
-----------------------------------------
require("scripts... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm2.lua | 14 | 1343 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: qm2 (???)
-- Spawns Vetehinen
-- @pos ? ? ? 45
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[[... | gpl-3.0 |
cliffano/swaggy-jenkins | clients/lua/generated/openapiclient/model/pipeline_run.lua | 1 | 1196 | --[[
Swaggy Jenkins
Jenkins API clients generated from Swagger / Open API specification
The version of the OpenAPI document: 1.5.1-pre.0
Contact: blah@cliffano.com
Generated by: https://openapi-generator.tech
]]
-- pipeline_run class
local pipeline_run = {}
local pipeline_run_mt = {
__name = "pipeline_run... | mit |
nyczducky/darkstar | scripts/zones/Giddeus/npcs/Harvesting_Point.lua | 17 | 1079 | -----------------------------------
-- Area: Giddeus
-- NPC: Harvesting Point
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/Giddeus/TextIDs");
---------------------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/spells/bluemagic/smite_of_rage.lua | 28 | 1707 | -----------------------------------------
-- Spell: Smite of Rage
-- Damage varies with TP
-- Spell cost: 28 MP
-- Monster Type: Arcana
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 3
-- Stat Bonus: AGI+3
-- Level: 34
-- Casting Time: 0.5 seconds
-- Recast Time: 13 seconds
-- Skillchain Element(s)... | gpl-3.0 |
noooway/love2d_arkanoid_tutorial | 2-01_SplittingCodeIntoSeveralFiles/collisions.lua | 8 | 3320 | local vector = require "vector"
local collisions = {}
function collisions.resolve_collisions( ball, platform, walls, bricks )
collisions.ball_platform_collision( ball, platform )
collisions.ball_walls_collision( ball, walls )
collisions.ball_bricks_collision( ball, bricks )
collisions.platform_walls_colli... | mit |
ffxiphoenix/darkstar | scripts/globals/items/heat_rod.lua | 41 | 1097 | -----------------------------------------
-- ID: 17071
-- Item: Heat Rod
-- Additional Effect: Lightning Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
------------------------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/spells/horde_lullaby_ii.lua | 10 | 1265 | -----------------------------------------
-- Spell: Horde Lullaby
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,... | gpl-3.0 |
Shulyaka/packages | net/wifidog-ng/files/wifidog-ng.lua | 22 | 1178 | #!/usr/bin/env lua
--[[
Copyright (C) 2018 Jianhui Zhao <jianhuizhao329@gmail.com>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your op... | gpl-2.0 |
jacks0nX/cqui | CQUI/CQUI_SettingsElement.lua | 2 | 5821 | --Custom localizations are temporarily disabled due to reloads breaking them at the moment. Localizations are complete, so remember to enable them once Firaxis fixes this!
include("Civ6Common");
-- Members
local m_tabs; --Add new options tabs to this in Initialize function
local bindings_options = {
--{"LOC_CQUI_BI... | mit |
Wiladams/LJIT2Virt | libvirt-secret.lua | 1 | 3401 | local ffi = require("ffi")
local export = {}
ffi.cdef[[
typedef struct _virSecret virSecret;
typedef virSecret *virSecretPtr;
typedef enum {
VIR_SECRET_USAGE_TYPE_NONE = 0,
VIR_SECRET_USAGE_TYPE_VOLUME = 1,
VIR_SECRET_USAGE_TYPE_CEPH = 2,
VIR_SECRET_USAGE_TYPE_ISCSI = 3,
VIR_SECRET_USAGE_TYPE_L... | mit |
ffxiphoenix/darkstar | scripts/zones/Crawlers_Nest/npcs/qm12.lua | 57 | 2120 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: qm12 (??? - Exoray Mold Crumbs)
-- Involved in Quest: In Defiant Challenge
-- @pos 99.326 -0.126 -188.869 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
Ne02ptzero/Grog-Knight | Tools/BuildScripts/lua-lib/penlight-1.0.2/tests/test-fenv.lua | 10 | 1366 | --- testing Lua 5.1/5.2 compatibility functions
-- these are global side-effects of pl.utils
local utils = require 'pl.utils'
local asserteq = require 'pl.test'.asserteq
local _,lua = require 'pl.app'. lua()
-- utils.execute is a compromise between 5.1 and 5.2 for os.execute changes
-- can we call Lua ?
local ok,code ... | apache-2.0 |
ld-test/gumbo | test/dom/Node-appendChild.lua | 3 | 2132 | local gumbo = require "gumbo"
local assert, pcall = assert, pcall
local _ENV = nil
local input = [[
<header id=header></header>
<div id="main" class="foo bar baz etc">
<h1 id="h1">Title <!--comment --></h1>
</div>
<footer id=footer>...</footer>
]]
local document = assert(gumbo.parse(input))
local body = assert(do... | isc |
vilarion/Illarion-Content | npc/attribute_trainer.lua | 3 | 15494 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
TannerRogalsky/leroy | irc.lua | 1 | 3178 | local socket = require('socket')
local IRC = {}
IRC.__index = IRC
function IRC.connect(network, port)
port = port or 6667
local connection = {queue = {}, sq_top = 1, sq_bottom = 1}
setmetatable(connection, IRC)
connection.socket = socket.tcp()
local result, err = connection.socket:connect(network, port)
p... | mit |
yinquan529/platform-external-skia | tools/lua/scrape.lua | 145 | 2246 | function tostr(t)
local str = ""
for k, v in next, t do
if #str > 0 then
str = str .. ", "
end
if type(k) == "number" then
str = str .. "[" .. k .. "] = "
else
str = str .. tostring(k) .. " = "
end
if type(v) == "table" then
... | bsd-3-clause |
ffxiphoenix/darkstar | scripts/globals/items/gateau_aux_fraises.lua | 36 | 1415 | -----------------------------------------
-- ID: 5542
-- Item: Gateau aux fraises
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP 8
-- MP 8% Cap 50
-- Intelligence 1
-- MP Recovered while healing 1
-----------------------------------------
require("scripts/globals... | gpl-3.0 |
AfuSensi/Mr.Green-MTA-Resources | resources/[gameplay]/gc/gc_autologin.lua | 3 | 1513 | -------------------
--- Autologin ---
-------------------
loginTable = "gc_autologin"
handlerConnect = nil
-- Setup sql database --
function startup()
handlerConnect = dbConnect( 'mysql', 'host=' .. get"*gcshop.host" .. ';dbname=' .. get"*gcshop.dbname", get("*gcshop.user"), get("*gcshop.pass"))
end
addEventHandl... | mit |
ffxiphoenix/darkstar | scripts/zones/Southern_San_dOria/npcs/Blendare.lua | 13 | 1767 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Blendare
-- Type: Standard NPC
-- @zone: 230
-- @pos 33.033 0.999 -30.119
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"]... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/naval_rice_ball.lua | 21 | 1526 | -----------------------------------------
-- ID: 4605
-- Item: Naval Rice Ball
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP +26
-- Dex +3
-- Vit +4
-- hHP +2
-- Effect with enhancing equipment (Note: these are latents on gear with the effect)
-- Atk +40
-- Def +40
-- Arc... | gpl-3.0 |
cryptdb-org/mysql-proxy-0.8-hacks | tests/suite/base/t/overlong-test.lua | 4 | 2883 | --[[ $%BEGINLICENSE%$
Copyright (c) 2009, 2012, 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 |
ffxiphoenix/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Scotwick.lua | 38 | 1066 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Scotwick
-- Type: Allied Notes Notorious Monsters
-- @zone: 94
-- @pos 153.785 -3.134 9.895
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/coffeecake_muffin.lua | 35 | 1376 | -----------------------------------------
-- ID: 5655
-- Item: coffeecake_muffin
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Mind 1
-- Strength -1
-- MP % 10 (cap 85)
-----------------------------------------
require("scripts/globals/status");
----------------------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/The_Shrine_of_RuAvitau/mobs/Seiryu.lua | 27 | 1101 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: Seiryu (Pet version)
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
------------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/grape_daifuku+1.lua | 35 | 1864 | -----------------------------------------
-- ID: 6344
-- Item: grape_daifuku+1
-- Food Effect: 60 Min, All Races
-----------------------------------------
-- HP + 30 (Pet & Master)
-- Vitality + 4 (Pet & Master)
-- Master MAB + 4 , Pet MAB + 15
-- Accuracy + 11% Cap: 70 (Pet & Master) Pet Cap: 81
----------------------... | gpl-3.0 |
vilarion/Illarion-Content | triggerfield/evilrock.lua | 1 | 23102 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/fum-long_salmon_sub.lua | 36 | 1452 | -----------------------------------------
-- ID: 4266
-- Item: Fum-Long Salmon Sub
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality 1
-- Dexterity 2
-- Intelligence 2
-- Mind -2
-- Ranged Accuracy 3
-----------------------------------------
require("scripts/globals/st... | gpl-3.0 |
Quenty/NevermoreEngine | src/loader/src2/Maid.lua | 2 | 4867 | --[=[
Manages the cleaning of events and other things. Useful for
encapsulating state and make deconstructors easy.
See the [Five Powerful Code Patterns talk](https://developer.roblox.com/en-us/videos/5-powerful-code-patterns-behind-top-roblox-games)
for a more in-depth look at Maids in top games.
```lua
local ... | mit |
ffxiphoenix/darkstar | scripts/zones/Carpenters_Landing/npcs/Beugungel.lua | 19 | 1190 | -----------------------------------
-- Area: Carpenters' Landing
-- NPC: Beugungel
-- Type: Guild Merchant NPC (Woodworking Guild)
-- @pos -333.729, -5.512, 475.647 2
-----------------------------------
package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil;
-----------------------------------
require("... | gpl-3.0 |
pakozm/kaggle-cifar10-torch7 | predict_averaging.lua | 4 | 2642 | require 'cutorch'
require 'cunn'
require './SETTINGS'
require './lib/data_augmentation'
require './lib/preprocessing'
require './nin_model.lua'
-- multiple model averaging
-- (same trainset, different initial weights, different minibatch order)
local function predict(file, models, params, test_x)
local BATCH_SIZE ... | mit |
VoxelDavid/echo-ridge | src/ReplicatedStorage/Interaction/Interact.module.lua | 1 | 1224 | --[[
Interact
========
Primary class for all game-based user interaction.
When we want the player to be prompted to interact with the game world, this
is the class we use.
It's just a simple Action class, but it predefines all of the input types for
us, so we just need to instantiate a new Interact whe... | mit |
Lord-Mohammad/uzzy | plugins/invite.lua | 299 | 1025 | -- Invite other user to the chat group.
-- Use !invite name User_name or !invite id id_number
-- The User_name is the print_name (there are no spaces but _)
do
local function callback(extra, success, result)
vardump(success)
vardump(result)
end
local function run(msg, matches)
local user = matches[2]
-- Use... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/zones/Quicksand_Caves/npcs/qm2.lua | 17 | 1245 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: qm2
-- Notes: Used to spawn Tribunus VII-I
-- @pos -49.944 -0.891 -139.485 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand... | gpl-3.0 |
Phrohdoh/OpenRA | mods/cnc/maps/nod01/nod01.lua | 4 | 2705 | --[[
Copyright 2007-2020 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 |
ffxiphoenix/darkstar | scripts/zones/Western_Altepa_Desert/npcs/_3h7.lua | 17 | 1890 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: _3h7 (Emerald Column)
-- Notes: Mechanism for Altepa Gate
-- @pos -775 2 -460 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/prime_beef_stewpot.lua | 36 | 1890 | -----------------------------------------
-- ID: 5548
-- Item: Prime Beef Stewpot
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10% Cap 75
-- MP +15
-- Strength +2
-- Agility +1
-- Mind +1
-- HP Recovered while healing +7
-- MP Recovered while healing +2
-- Atta... | gpl-3.0 |
SeonghoBaek/RealtimeCamera | openface/training/train.lua | 8 | 7852 | -- Copyright 2015-2016 Carnegie Mellon University
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable ... | apache-2.0 |
ffxiphoenix/darkstar | scripts/zones/Castle_Oztroja/npcs/_47b.lua | 17 | 1935 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47b (Handle)
-- Notes: Opens Trap Door (_47a) or Brass Door (_470)
-- @pos 22.310 -1.087 -14.320 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
ProjectSkyfire/SkyFire-Community-Tools | FireAdmin/Locales/roRO.lua | 1 | 11959 | -------------------------------------------------------------------------------------------------------------
--
-- FireAdmin Version 5.x
-- FireAdmin is a derivative of FireAdmin, which is a derivative of MangAdmin.
--
-- Copyright (C) 2007 Free Software Foundation, Inc.
-- License GPLv3+: GNU GPL version 3 or later ... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Port_Bastok/npcs/Aishah.lua | 37 | 1043 | -----------------------------------
-- Area: Port Bastok
-- NPC: Aishah
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Port_Bastok/TextIDs");
... | gpl-3.0 |
RodneyMcKay/x_hero_siege | game/scripts/vscripts/abilities/heroes/global.lua | 1 | 5202 | function LevelUpAbility(event)
local caster = event.caster
if caster:IsRealHero() then
local this_ability = event.ability
local this_abilityName = this_ability:GetAbilityName()
local this_abilityLevel = this_ability:GetLevel()
local ability_name = event.ability_name
local ability_handle = caster:FindAbil... | gpl-2.0 |
dail8859/ScintilluaPlusPlus | ext/scintillua/lexers/eiffel.lua | 5 | 2037 | -- Copyright 2006-2017 Mitchell mitchell.att.foicica.com. See LICENSE.
-- Eiffel LPeg lexer.
local l = require('lexer')
local token, word_match = l.token, l.word_match
local P, R, S = lpeg.P, lpeg.R, lpeg.S
local M = {_NAME = 'eiffel'}
-- Whitespace.
local ws = token(l.WHITESPACE, l.space^1)
-- Comments.
local comm... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/zones/Port_Windurst/npcs/Sheia_Pohrichamaha.lua | 36 | 1535 | -----------------------------------
-- Area: Port Windurst
-- NPC: Sheia Pohrichamaha
-- Only sells when Windurst controlls Fauregandi Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/z... | gpl-3.0 |
jjensen/lua-ex | tests/pathtests.lua | 1 | 10550 | require 'ex'
scriptPath = ((debug.getinfo(1, "S").source:match("@(.+)[\\/]") or '.') .. '\\'):gsub('\\', '/'):lower()
function test(a, b)
if a ~= b then
print('Actual:', a)
print('Expected:', b)
assert()
end
end
test(os.path.add_extension('', 'ext'), '.ext')
test(os.path.add_extension(' ', ' ext... | mit |
ffxiphoenix/darkstar | scripts/globals/mobskills/Vorpal_Wheel.lua | 25 | 1069 | ---------------------------------------------
-- Vorpal Wheel
--
-- Description: Throws a slicing wheel at a single target.
-- Type: Physical
-- Utsusemi/Blink absorb: No
-- Range: Unknown
-- Notes: Only used by Gulool Ja Ja, and will use it as a counterattack to any spells cast on him. Damage increases as... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Maze_of_Shakhrami/npcs/_5ia.lua | 19 | 2623 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: Strange Apparatus
-- @pos: 375 20 -259 198
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
require("scripts/zones/Maze_of_Shakhrami/TextIDs");
require("scripts/globals/strangeapparatus");
-----... | gpl-3.0 |
w1ndf4k3r/cleanflightOpenTxTelemetry | SD/SCRIPTS/UTILS/helpPopup.lua | 1 | 3025 |
local commands = {}
local stickTable = {}
local switches = {}
local switchTable = {}
local function getPictureForStick(command,stick)
--stick 0 is right
local stickPicName = 0
if(stick == 0) then
stickPicName = command%16
else --stick 1 is left
--right shift 4
stickPicName = math.floor(command / 2 ^ 4) ... | gpl-2.0 |
dail8859/ScintilluaPlusPlus | ext/scintillua/lexers/ledger.lua | 5 | 1529 | -- Copyright 2015-2017 Charles Lehner. See LICENSE.
-- ledger journal LPeg lexer, see http://www.ledger-cli.org/
local l = require('lexer')
local token, word_match = l.token, l.word_match
local P, R, S = lpeg.P, lpeg.R, lpeg.S
local M = {_NAME = 'ledger'}
local delim = P('\t') + P(' ')
-- Whitespace.
local ws = to... | gpl-2.0 |
Quenty/NevermoreEngine | src/inputkeymaputils/test/modules/Shared/TestInputKeyMap.lua | 1 | 1160 | --[=[
Test input key map provider
@class TestInputKeyMap
]=]
local require = require(script.Parent.loader).load(script)
local InputModeTypes = require("InputModeTypes")
local InputKeyMap = require("InputKeyMap")
local InputKeyMapList = require("InputKeyMapList")
local InputKeyMapListProvider = require("InputKeyMapLi... | mit |
ffxiphoenix/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Song_Runes.lua | 34 | 1922 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Song Runes
-- Finishes Quest: The Old Monument
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
package.loaded["scripts/globals/settings"] = nil;
-----------------------------------
r... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/slice_of_dragon_meat.lua | 18 | 1348 | -----------------------------------------
-- ID: 4272
-- Item: slice_of_dragon_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 6
-- Intelligence -8
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Northern_San_dOria/npcs/Aivedoir.lua | 38 | 1026 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Aivedoir
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos -123.119 7.999 134.490
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs")... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Throne_Room/npcs/_4l2.lua | 51 | 1172 | -----------------------------------
-- Area: Throne Room
-- NPC: Ore Door
-------------------------------------
require("scripts/globals/bcnm");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
if (TradeBCNM(player,player:ge... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Port_San_dOria/npcs/Laucimercen.lua | 36 | 1377 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Laucimercen
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/T... | gpl-3.0 |
dail8859/ScintilluaPlusPlus | ext/scintillua/lexers/sql.lua | 5 | 3501 | -- Copyright 2006-2017 Mitchell mitchell.att.foicica.com. See LICENSE.
-- SQL LPeg lexer.
local l = require('lexer')
local token, word_match = l.token, l.word_match
local P, R, S = lpeg.P, lpeg.R, lpeg.S
local M = {_NAME = 'sql'}
-- Whitespace.
local ws = token(l.WHITESPACE, l.space^1)
-- Comments.
local line_comme... | gpl-2.0 |
mahdikord/mahdib0 | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/zones/Mhaura/npcs/Panoru-Kanoru.lua | 34 | 1081 | ----------------------------------
-- Area: Mhaura
-- NPC: Panoru-Kanoru
-- Type: Item Deliverer
-- @pos 5.241 -4.035 93.891 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
-------... | gpl-3.0 |
AfuSensi/Mr.Green-MTA-Resources | resources/[gameplay]/gc/accounts.lua | 1 | 5515 | --
-- accounts.lua
--
SAccount = {}
SAccount.__index = SAccount
SAccount.instances = {}
accDB = "gc"
gcDB = "gc"
---------------------------------------------------------------------------
--
-- SAccount:create()
--
--
--
---------------------------------------------------------------------------
function SAccount:... | mit |
vilarion/Illarion-Content | triggerfield/noobia_aldania.lua | 3 | 3772 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
Phrohdoh/OpenRA | mods/d2k/maps/atreides-03a/atreides03a-AI.lua | 4 | 1962 | --[[
Copyright 2007-2020 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 |
0x0mar/ettercap | src/lua/share/third-party/stdlib/mkrockspecs.lua | 12 | 1359 | -- Generate rockspecs from a prototype with variants
require "std"
if select ("#", ...) < 2 then
io.stderr:write "Usage: mkrockspecs PACKAGE VERSION\n"
os.exit ()
end
package_name = select (1, ...)
version = select (2, ...)
function format (x, indent)
indent = indent or ""
if type (x) == "table" then
lo... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/zones/Sih_Gates/Zone.lua | 34 | 1231 | -----------------------------------
--
-- Zone: Sih Gates
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Sih_Gates/TextIDs"] = nil;
require("scripts/zones/Sih_Gates/TextIDs");
-----------------------------------
-- onInitialize
----------------... | gpl-3.0 |
vilarion/Illarion-Content | handler/opendoor.lua | 5 | 1435 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/windurst_salad.lua | 35 | 1465 | -----------------------------------------
-- ID: 4555
-- Item: windurst_salad
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic 20
-- Agility 5
-- Vitality -1
-- Ranged ACC % 8
-- Ranged ACC Cap 10
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/RuAun_Gardens/npcs/qm2.lua | 16 | 1440 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: ??? (Seiryu's Spawn)
-- Allows players to spawn the HNM Seiryu with a Gem of the East and a Springstone.
-- @pos 569 -70 -80 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
------------------... | gpl-3.0 |
adamweixuan/redis | deps/lua/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | bsd-3-clause |
ffxiphoenix/darkstar | scripts/zones/Bastok_Mines/npcs/Rashid.lua | 19 | 3429 | -----------------------------------
-- 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 |
lxl1140989/sdk-for-tb | feeds/luci/applications/luci-statistics/luasrc/model/cbi/luci_statistics/rrdtool.lua | 80 | 3431 | --[[
Luci configuration model for statistics - collectd rrdtool plugin configuration
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
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 Licen... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/globals/magic.lua | 3 | 45798 | require("scripts/globals/magicburst")
require("scripts/globals/status")
require("scripts/globals/weather")
require("scripts/globals/utils")
MMSG_BUFF_FAIL = 75;
DIVINE_MAGIC_SKILL = 32;
HEALING_MAGIC_SKILL = 33;
ENHANCING_MAGIC_SKILL = 34;
ENFEEBLING_MAGIC_SKILL = 35;
ELEMEN... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.