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 |
|---|---|---|---|---|---|
Mashape/kong | spec/02-integration/02-cmd/10-migrations_spec.lua | 1 | 14237 | local helpers = require "spec.helpers"
local pl_utils = require "pl.utils"
local utils = require "kong.tools.utils"
local DB = require "kong.db.init"
-- Current number of migrations to execute in a new install
local nr_migrations = 1 -- 11
local lua_path = [[ KONG_LUA_PATH_OVERRIDE="./spec/fixtures/migrations/?.lua... | apache-2.0 |
nesstea/darkstar | scripts/globals/mobskills/Gregale_Wing_Air.lua | 33 | 1081 | ---------------------------------------------
-- Gregale Wing
--
-- Description: An icy wind deals Ice damage to enemies within a very wide area of effect. Additional effect: Paralyze
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 30' radial.
-- Notes: Used only Jormungand and Isgebind
-------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_Bastok/npcs/Sugandhi.lua | 30 | 1587 | -----------------------------------
-- Area: Port Bastok
-- NPC: Sugandhi
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
require("scripts/globals/shop");
-----------------------------------
-- onTra... | gpl-3.0 |
cmassiot/vlc-broadcast | share/lua/playlist/jamendo.lua | 6 | 3030 | --[[
$Id$
Copyright © 2010 VideoLAN and AUTHORS
Authors: Fabio Ritrovato <sephiroth87 at videolan dot org>
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 2 of the License, or
... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/gale_axe.lua | 30 | 1309 | -----------------------------------
-- Gale Axe
-- Axe weapon skill
-- Skill level: 70
-- Chokes enemy. Duration of effect varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Breeze Gorget.
-- Aligned with the Breeze Belt.
-- Element: Wind
-- Modifiers: STR:30%
-- 100%TP 200%TP 300%TP
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/mobskills/red_lotus_blade.lua | 7 | 1311 | ---------------------------------------------
-- red lotus blade
--
-- Description: Delivers a four-hit attack. Chance of critical varies with TP.
-- Type: Physical
-- Shadow per hit
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status"... | gpl-3.0 |
nesstea/darkstar | scripts/globals/mobskills/Trembling.lua | 37 | 1114 | ---------------------------------------------
-- Trembling
--
-- Description: Deals physical damage to enemies within an area of effect. Additional effect: Dispel
-- Type: Physical
-- Wipes Shadows
-- Range: 10' radial
---------------------------------------------
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
nesstea/darkstar | scripts/globals/abilities/celerity.lua | 27 | 1130 | -----------------------------------
-- Ability: Celerity
-- Reduces the casting time and the recast time of your next white magic spell by 50%.
-- Obtained: Scholar Level 25
-- Recast Time: Stratagem Charge
-- Duration: 1 white magic spell or 60 seconds, whichever occurs first.
--
-- Level |Charges |Recharge Time per... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Northern_San_dOria/npcs/Doggomehr.lua | 17 | 1231 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Doggomehr
-- Guild Merchant NPC: Blacksmithing Guild
-- @pos -193.920 3.999 162.027 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Norg/npcs/Paito-Maito.lua | 34 | 2624 | -----------------------------------
-- Area: Norg
-- NPC: Paito-Maito
-- Standard Info NPC
-----------------------------------
require("scripts/globals/pathfind");
local path = {
-71.189713, -9.413510, 74.024879,
-71.674171, -9.317029, 73.054794,
-72.516525, -9.298064, 72.363213,
-73.432983, -9.220915, 71... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_Windurst/npcs/Guruna-Maguruna.lua | 36 | 1747 | -----------------------------------
-- Area: Port Windurst
-- NPC: Guruna-Maguruna
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurs... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Metalworks/npcs/Vicious_Eye.lua | 19 | 1162 | -----------------------------------
-- Area: Metalworks
-- NPC: Vicious Eye
-- Type: Guild Merchant (Blacksmithing Guild)
-- @pos -106.132 0.999 -28.757 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Kocco_Ehllek.lua | 38 | 1053 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Kocco Ehllek
-- Type: Quest Giver
-- @zone: 94
-- @pos -41.465 -2.125 -163.018
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Qufim_Island/npcs/Matica_RK.lua | 13 | 3323 | -----------------------------------
-- Area: Qufim Island
-- NPC: Matica, R.K.
-- Type: Border Conquest Guards
-- @pos 179.093 -21.575 -15.282 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
re... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/bluemagic/death_scissors.lua | 28 | 1831 | -----------------------------------------
-- Spell: Death Scissors
-- Damage varies with TP
-- Spell cost: 51 MP
-- Monster Type: Vermin
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 5
-- Stat Bonus: MND+2, CHR+2, HP+5
-- Level: 60
-- Casting Time: 0.5 seconds
-- Recast Time: 24.5 seconds
-- Skill... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Castle_Oztroja/npcs/_47l.lua | 13 | 1570 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47l (Torch Stand)
-- Notes: Opens door _471 near password #3
-- @pos -45.228 -17.832 22.392 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
nesstea/darkstar | scripts/zones/RaKaznar_Inner_Court/npcs/HomePoint#1.lua | 18 | 1271 | -----------------------------------
-- Area: RaKaznar_Inner_Court
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/RaKaznar_Inner_Court/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/RaKaznar_Inner_Court/TextIDs");
require("scripts/globals/h... | gpl-3.0 |
MetSystem/skynet | lualib/snax/loginserver.lua | 42 | 5057 | local skynet = require "skynet"
require "skynet.manager"
local socket = require "socket"
local crypt = require "crypt"
local table = table
local string = string
local assert = assert
--[[
Protocol:
line (\n) based text protocol
1. Server->Client : base64(8bytes random challenge)
2. Client->Server : base64(8bytes... | mit |
nesstea/darkstar | scripts/globals/mobskills/Heavy_Stomp.lua | 33 | 1070 | ---------------------------------------------
-- Heavy Stomp
--
-- Description: Deals heavy damage to targets within an area of effect. Additional effect: Paralysis
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown radial
-- Notes: Paralysis effect has a very long duration.
---------------... | gpl-3.0 |
bocaaust/MindPiano | MindPiano/Libs/RuntimeResources.bundle/smtp.lua | 6 | 8060 | -----------------------------------------------------------------------------
-- SMTP client support for the Lua language.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
-------------------------------------------------------------------------... | apache-2.0 |
hussian/hell_iraq | plugins/list3.lua | 2 | 2067 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY(@AHMED_ALOBIDE) ▀▄ ▄▀
▀▄ ▄▀ BY(@hussian_9) ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ (ملف الاوامر الانكلش) ▀▄ ▄... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/_0z0.lua | 12 | 1882 | -----------------------------------
-- Area: The_Garden_of_RuHmet
-- NPC: _0z0
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/The_Garden_of_RuHmet/TextIDs");... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/handful_of_roasted_almonds.lua | 36 | 1079 | -----------------------------------------
-- ID: 5649
-- Item: Handful of Roasted Almonds
-- Food Effect: 5Min, All Races
-----------------------------------------
-- HP 30
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Lower_Jeuno/npcs/_l09.lua | 13 | 1555 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -32.897 0 -28.521
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_Jeuno/npcs/Chaka_Skitimah.lua | 12 | 1279 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Chaka Skitimah
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
----------... | gpl-3.0 |
omid1212/sedas | plugins/stats.lua | 236 | 3989 | 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 |
plajjan/snabbswitch | lib/ljsyscall/syscall/linux/ffi.lua | 18 | 19305 | -- ffi definitions of Linux types
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string =
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string
local abi = require "syscal... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Norg/npcs/Heizo.lua | 19 | 3109 | -----------------------------------
-- Area: Norg
-- NPC: Heizo
-- Starts and Ends Quest: Like Shining Leggings
-- @pos -1 -5 25 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scrip... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Cape_Teriggan/npcs/Salimardi_RK.lua | 13 | 3309 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: Bright Moon
-- Type: Outpost Conquest Guards
-- @pos -185 7 -63 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
require("scri... | gpl-3.0 |
nesstea/darkstar | scripts/globals/weaponskills/ground_strike.lua | 11 | 1607 | -----------------------------------
-- Ground Strike
-- Great Sword weapon skill
-- Skill level: 250 QUESTED
-- Delivers a single-hit attack. Damage varies with TP.
-- Modifiers: STR:50% INT:50%
-- 100%TP 200%TP 300%TP
-- 1.5 1.75 3.0
-----------------------------------
require("scripts/globals/statu... | gpl-3.0 |
Olipro/Payday-2-BLT_Club-Sandwich-Edition | example_mods/JsonMenuExample/json_example.lua | 3 | 3259 |
--[[
We setup the global table for our mod, along with some path variables, and a data table.
We cache the ModPath directory, so that when our hooks are called, we aren't using the ModPath from a
different mod.
]]
_G.JsonMenuExample = _G.JsonMenuExample or {}
JsonMenuExample._path = ModPath
JsonMenuExample._data_p... | mit |
UnfortunateFruit/darkstar | scripts/zones/East_Sarutabaruta/TextIDs.lua | 5 | 1523 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6382; -- Obtained: <item>
GIL_OBTAINED = 6383; -- Obtained <number> gil
KEYITEM_OBTAINED = 6385; -- Obtain... | gpl-3.0 |
johnmccabe/dockercraft | world/Plugins/APIDump/Hooks/OnPlayerSpawned.lua | 44 | 1282 | return
{
HOOK_PLAYER_SPAWNED =
{
CalledWhen = "After a player (re)spawns in the world to which they belong to.",
DefaultFnName = "OnPlayerSpawned", -- also used as pagename
Desc = [[
This hook is called after a {{cPlayer|player}} has spawned in the world. It is called after
{{OnLogin|HOOK_LOGIN}} and {{O... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Kazham/npcs/Mumupp.lua | 19 | 1873 | -----------------------------------
-- Area: Kazham
-- NPC: Mumupp
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
local path = {
94.732452, -15.000000, -114.034622,
94.210846, -15.000000, -114.989388,
... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Shikoko_WW.lua | 13 | 3337 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Shikoko, W.W.
-- Type: Border Conquest Guards
-- @pos 536.291 23.517 694.063 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
jj918160/cocos2d-x-samples | samples/FantasyWarrior3D/src/actors/Actor.lua | 8 | 15721 | require "Helper"
require "AttackCommand"
require "GlobalVariables"
--type
Actor = class ("Actor", function ()
local node = cc.Sprite3D:create()
node:setCascadeColorEnabled(true)
return node
end)
function Actor:ctor()
self._action = {}
copyTable(ActorDefaultValues,self)
copyTable(ActorCommonValu... | mit |
UnfortunateFruit/darkstar | scripts/zones/Davoi/npcs/Storage_Hole.lua | 19 | 1560 | -----------------------------------
-- Area: Davoi
-- NPC: Storage Hole
-- Involved in Quest: The Crimson Trial
-- @pos -51 4 -217 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("sc... | gpl-3.0 |
endeav0r/Rainbows-And-Pwnies-Tools | tools/test_exec_t.lua | 1 | 1274 | function table.contains(t, v)
for i, j in pairs(t) do
if j == v then
return true
end
end
return false
end
executable = exec_t.new(argv[1])
print(executable:size() .. " byte " .. executable:type())
print("num sections: " .. executable:num_sections())
for i,section in pairs(exec... | gpl-3.0 |
aekazakov/narrative | docker/notelauncher.lua | 4 | 6671 | --
-- Module for managing notebook container instances running with the docker module
--
-- author: Steve Chan sychan@lbl.gov
--
-- Copyright 2013 The Regents of the University of California,
-- Lawrence Berkeley National Laboratory
-- United States Department of Energy
-- Th... | mit |
bowlofstew/Macaroni | Main/Generators/Cpp.lua | 1 | 7315 | --------------------------------------------------------------------------------
-- Copyright 2011 Tim Simpson
--
-- 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.a... | apache-2.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Pebul-Tabul.lua | 13 | 1063 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Pebul-Tabul
-- Type: Standard NPC
-- @zone: 94
-- @pos -68.500 -4.5 3.694
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-... | gpl-3.0 |
hussian/hell_iraq | plugins/inrealm.lua | 8 | 37054 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY(@AHMED_ALOBIDE) ▀▄ ▄▀
▀▄ ▄▀ BY(@hussian_9) ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄▀... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_Windurst/npcs/Kunchichi.lua | 38 | 1409 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kunchichi
-- Type: Standard NPC
-- @pos -115.933 -4.25 109.533 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scr... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Buburimu_Peninsula/Zone.lua | 6 | 4625 | -----------------------------------
--
-- Zone: Buburimu_Peninsula (118)
--
-----------------------------------
package.loaded[ "scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/Buburimu_Penins... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_Skins/components/addons/ACP.lua | 2 | 3191 | --[[
##########################################################
S V U I By: Failcoder
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.selec... | mit |
MuhammadWang/MCServer | MCServer/Plugins/APIDump/Hooks/OnSpawnedEntity.lua | 44 | 1039 | return
{
HOOK_SPAWNED_ENTITY =
{
CalledWhen = "After an entity is spawned in the world.",
DefaultFnName = "OnSpawnedEntity", -- also used as pagename
Desc = [[
This hook is called after the server spawns an {{cEntity|entity}}. This is an information-only
callback, the entity is already spawned by the tim... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/West_Ronfaure/npcs/Ballie_RK.lua | 30 | 3051 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Ballie, R.K.
-- Type: Border Conquest Guards
-- @pos -560.292 -0.961 -576.655 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Cloister_of_Frost/mobs/Shiva_Prime.lua | 7 | 1737 | -----------------------------------
-- Area: Cloister of Frost
-- MOB: Shiva Prime
-- Involved in Quest: Trial by Ice
-- Involved in Mission: ASA-4 Sugar Coated Directive
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/status");
-... | gpl-3.0 |
nesstea/darkstar | scripts/globals/abilities/manifestation.lua | 27 | 1202 | -----------------------------------
-- Ability: Manifestation
-- Extends the effect of your next enfeebling1 black magic spell to targets within range. MP cost and casting time2 are doubled.
-- Obtained: Scholar Level 40
-- Recast Time: Stratagem Charge
-- Duration: 1 compatible black magic spell or 60 seconds, whichev... | gpl-3.0 |
ennis/autograph-pipelines | resources/scripts/pl/file.lua | 32 | 1585 | --- File manipulation functions: reading, writing, moving and copying.
--
-- Dependencies: `pl.utils`, `pl.dir`, `pl.path`
-- @module pl.file
local os = os
local utils = require 'pl.utils'
local dir = require 'pl.dir'
local path = require 'pl.path'
--[[
module ('pl.file',utils._module)
]]
local file = {}
--- return t... | mit |
FailcoderAddons/supervillain-ui | SVUI_!Core/libs/_SVUI_Lib/Librarian.lua | 4 | 2434 | --[[
Librarian is a library used to manage localization, packages, scripts, animations and data embedded
into the SVUI core addon.
It's main purpose is to keep all methods and logic needed to properly keep
core add-ins functioning outside of the core object and away from other libraries like LibStub. ... | mit |
nesstea/darkstar | scripts/globals/items/serving_of_karni_yarik_+1.lua | 18 | 1379 | -----------------------------------------
-- ID: 5589
-- Item: serving_of_karni_yarik_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Agility 3
-- Vitality -1
-- Attack % 20
-- Attack Cap 65
-----------------------------------------
require("scripts/globals/status");
-----------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Carpenters_Landing/mobs/Birdtrap.lua | 23 | 1306 | -----------------------------------
-- Area: Carpenters' Landing
-- Mob: Birdtrap
-- Note: Placeholder Orctrap
-----------------------------------
require("scripts/zones/Carpenters_Landing/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMob... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/tortilla_bueno.lua | 18 | 1172 | -----------------------------------------
-- ID: 5181
-- Item: tortilla_bueno
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 8
-- Vitality 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
akdor1154/awesome | lib/awful/spawn.lua | 1 | 9302 | ---------------------------------------------------------------------------
--- Spawning of programs.
--
-- This module provides methods to start programs and supports startup
-- notifications, which allows for callbacks and applying properties to the
-- program after it has been launched. This requires currently that... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Bastok_Mines/npcs/Gawful.lua | 13 | 1105 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Gawful
-- Type: Item Deliverer
-- @zone: 234
-- @pos -22.416 -3.999 -56.076
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scri... | gpl-3.0 |
bowlofstew/Macaroni | Main/Dependencies/MoonScript/src/macaroni/moonscript.lua | 2 | 2807 | -- Disclaimer:
-- This code is mostly copied from the moon script (no pun intended) written
-- by Leaf Corcoran. However it was modified a bit to make it feel like a first
-- class citizen in Macaroni so don't blame him for anything bad found here.
--
-- It's possible that moonscript.dofile is all that needs to be... | apache-2.0 |
nesstea/darkstar | scripts/zones/Lower_Delkfutts_Tower/npcs/_541.lua | 13 | 2262 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Cermet Door
-- Cermet Door for Sandy Ambassador
-- San d'Orian Mission 3.3 "Appointment to Jeuno"
-- @pos 636 16 20 184
-----------------------------------
package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil;
----------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/smoked_salmon.lua | 35 | 1196 | -----------------------------------------
-- ID: 4380
-- Item: smoked_salmon
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 2
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItem... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Chocobo_Circuit/Zone.lua | 17 | 1068 | -----------------------------------
--
-- Zone: Chocobo_Circuit
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Chocobo_Circuit/TextIDs"] = nil;
require("scripts/zones/Chocobo_Circuit/TextIDs");
-----------------------------------
-- onInitialize
----------... | gpl-3.0 |
wolfy1339/Wolfy-Powder-Toy | src/lua/socket/socket.lua | 146 | 4061 | -----------------------------------------------------------------------------
-- LuaSocket helper module
-- Author: Diego Nehab
-- RCS ID: $Id: socket.lua,v 1.22 2005/11/22 08:33:29 diego Exp $
-----------------------------------------------------------------------------
-----------------------------------------------... | gpl-3.0 |
craigbarnes/lua-gumbo | test/edgecase.lua | 1 | 1289 | local gumbo = require "gumbo"
local parse = gumbo.parse
local assert = assert
local _ENV = nil
do
local input = "<body><WhatAcrazyNAME></WhatAcrazyNAME>"
local document = assert(parse(input))
local body = assert(document.body)
assert(body.childNodes.length == 1)
local node = assert(body.childNodes[... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/globals/items/prized_angler_stewpot.lua | 36 | 1922 | -----------------------------------------
-- ID: 5613
-- Item: Prized Angler's Stewpot
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10%
-- MP +20
-- Dexterity 4
-- Agility 2
-- Mind 2
-- HP Recovered while healing 9
-- MP Recovered while healing 3
-- Accuracy 1... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Attohwa_Chasm/mobs/Sekhmet.lua | 13 | 1828 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: Sekhmet
-- ID: 16805962
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitialize Action
-------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Lower_Jeuno/npcs/Muckvix.lua | 23 | 1436 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Muckvix
-- Involved in Mission: Magicite
-- @zone 245
-- @pos -26.824 3.601 -137.082
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/bastore_sardine.lua | 18 | 1334 | -----------------------------------------
-- ID: 5792
-- Item: Bastore Sardine
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/bluemagic/blitzstrahl.lua | 25 | 1897 | -----------------------------------------
-- Spell: Blitzstrahl
-- Deals lightning damage to an enemy. Additional effect: "Stun"
-- Spell cost: 70 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Lightning)
-- Blue Magic Points: 4
-- Stat Bonus: DEX+3
-- Level: 44
-- Casting Time: 4.5 seconds
-- Recast Time: 29.25 se... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Dynamis-Valkurm/mobs/Avatar_Idol.lua | 16 | 1126 | -----------------------------------
-- Area: Dynamis Valkurm
-- NPC: Manifest_Idol
-----------------------------------
package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("scripts/zones... | gpl-3.0 |
mynameiscraziu/thisismilad | plugins/banhammer.lua | 214 | 11956 |
local function pre_process(msg)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Checking invited user '..user_id)
local banned ... | gpl-2.0 |
zhangyongfei/StudySkia | tools/lua/bitmap_statistics.lua | 207 | 1862 | function string.startsWith(String,Start)
return string.sub(String,1,string.len(Start))==Start
end
function string.endsWith(String,End)
return End=='' or string.sub(String,-string.len(End))==End
end
local canvas = nil
local num_perspective_bitmaps = 0
local num_affine_bitmaps = 0
local num_scaled_bitmaps = 0
loc... | bsd-3-clause |
nesstea/darkstar | scripts/zones/Kazham/npcs/Roropp.lua | 13 | 8473 | -----------------------------------
-- Area: Kazham
-- NPC: Roropp
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
require("scripts/globals/pathfind");
local path = {
16.031977, -8.000000, -106.132980,
16.257568, -... | gpl-3.0 |
alirezanile/LaSt-GaMfg | plugins/logger.lua | 28 | 1214 | do
local function pre_process(msg)
if is_chat_msg(msg) then
local logtxt = os.date('%F;%T', msg.date)..';'..msg.to.title..';'..msg.to.id
..';'..(msg.from.first_name or '')..(msg.from.last_name or '')
..';@'..(msg.from.username or '')..';'..msg.from.id..';'
... | gpl-2.0 |
vanish87/skia | tools/lua/scrape_dashing.lua | 160 | 2495 | 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 |
UnfortunateFruit/darkstar | scripts/globals/spells/diaga_ii.lua | 13 | 1866 | -----------------------------------------
-- Spell: Diaga II
-- Lowers an enemy's defense and gradually deals light elemental damage.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
---------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/weaponskills/leg_sweep.lua | 10 | 1540 | -----------------------------------
-- Leg Sweep
-- Polearm weapon skill
-- Skill Level: 100
-- Stuns enemy. Chance of stunning varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: None
-- Modifiers: STR:30%
-- 100%TP 200%TP 300%TP
-- 1... | gpl-3.0 |
VurtualRuler98/kswep2-NWI | lua/ins_sounds/sounds_c96.lua | 1 | 1949 | if (SERVER) then
AddCSLuaFile()
end
--C96
sound.Add({
name="Weapon_C96.Single",
volume = 1.0,
pitch = {95,105},
sound = ")weapons/c96carbine/c96carbine_fp.wav",
level = 142,
channel = CHAN_STATIC
})
sound.Add({
name="Weapon_C96wtf.Single",
volume = 1.0,
pitch = {145,155},
sound = ")weapons/c96carbine/c96carb... | apache-2.0 |
nesstea/darkstar | scripts/zones/Rolanberry_Fields/npcs/Cavernous_Maw.lua | 27 | 2925 | -----------------------------------
-- Area: Rolanberry Fields
-- NPC: Cavernous Maw
-- @pos -198 8 361 110
-- Teleports Players to Rolanberry Fields [S]
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/se... | gpl-3.0 |
nesstea/darkstar | scripts/commands/delkeyitem.lua | 8 | 1229 | ---------------------------------------------------------------------------------------------------
-- func: @delkeyitem
-- desc: Deletes the given key item from the player.
---------------------------------------------------------------------------------------------------
require("scripts/globals/keyitems");
cmdprop... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Kazham/npcs/Eron-Tomaron.lua | 27 | 3824 | -----------------------------------
-- Area: Kazham
-- NPC: Eron-Tomaron
-- Title Change NPC
-- @pos -22 -4 -24 250
-----------------------------------
require("scripts/globals/titles");
local title2 = { DISCERNING_INDIVIDUAL , VERY_DISCERNING_INDIVIDUAL , EXTREMELY_DISCERNING_INDIVIDUAL , 0 , 0 , 0 , 0 , 0 , 0 , 0 ,... | gpl-3.0 |
vonflynee/opencomputersserver | world/opencomputers/c0a0157a-e685-4d05-9dc9-9340cf29f413/lib/robot.lua | 3 | 6617 | local component = require("component")
local sides = require("sides")
local robot = {}
-------------------------------------------------------------------------------
-- General
function robot.name()
return component.robot.name()
end
function robot.level()
if component.isAvailable("experience") then
return ... | mit |
UnfortunateFruit/darkstar | scripts/globals/items/anchovy.lua | 35 | 1197 | -----------------------------------------
-- ID: 5652
-- Item: Anchovy
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Dexterity +1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
forkfork/super-resty | main.lua | 1 | 1402 | local ffi = require('ffi')
require ('libc')
local boilerplate = [[
local r = function(response, status)
local status = status or 200
ngx.say(response)
ngx.header["Content-Type"] = "application/json"
ngx.status = status
end
local _M = function ()
%s
end
return _M
]]
ngx.req.read_body()
local route = ngx.va... | mit |
MuhammadWang/MCServer | lib/tolua++/src/bin/lua/container.lua | 14 | 17673 | -- tolua: container abstract class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: $
-- 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 maintenance, support, updates,
-- e... | apache-2.0 |
VurtualRuler98/kswep2-NWI | lua/ins_sounds/sounds_stg44.lua | 1 | 1968 | if (SERVER) then
AddCSLuaFile()
end
--stg44
sound.Add({
name="Weapon_stg44.Single",
volume = 1.0,
pitch = {100,105},
sound = "weapons/stg44/stg44_fp.wav",
level = 142,
channel = CHAN_STATIC
})
sound.Add({
name="Weapon_stg44.MagRelease",
volume = 0.2,
sound = "weapons/stg44/handling/stg44_magrelease.wav",
lev... | apache-2.0 |
p00ria/Signal | plugins/inrealm.lua | 850 | 25085 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
mohammadzareii/guardtm | plugins/inrealm.lua | 850 | 25085 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_Windurst/npcs/Newlyn.lua | 38 | 1034 | -----------------------------------
-- Area: Port Windurst
-- NPC: Newlyn
-- Type: Standard NPC
-- @zone: 240
-- @pos 200.673 -6.601 108.665
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
---------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters/npcs/Hariga-Origa.lua | 10 | 3525 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Hariga-Origa
-- Starts & Finishes Quest: Glyph Hanger
-- Involved in Mission 2-1
-- @pos -62 -6 105 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
----------------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/plate_of_tuna_sushi.lua | 17 | 1537 | -----------------------------------------
-- ID: 5150
-- Item: plate_of_tuna_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 20
-- Dexterity 3
-- Charisma 5
-- Accuracy % 15
-- Ranged ACC % 15
-- Sleep Resist 5
-----------------------------------------
require("scripts/global... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/royal_omelette.lua | 18 | 2971 | -----------------------------------------
-- ID: 4564
-- Item: royal_omelette
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 5
-- Dexterity 2
-- Intelligence -3
-- Mind 4
-- Attack % 22
-- Attack Cap 65
-----------------------------------------
-- IF ELVAAN ONLY
-- HP 20
-- MP 2... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Dynamis-Tavnazia/Zone.lua | 13 | 2401 | -----------------------------------
--
-- Zone: Dynamis-Tavnazia
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Dynamis-Tavnazia/TextIDs"] = nil;
require("scripts/zones/Dynamis-Tavnazia/TextIDs");
-----------------------------------
-- onInitialize
-------... | gpl-3.0 |
NezzKryptic/Wire-Extras | lua/weapons/gmod_tool/stools/rt_buoyancy_wire.lua | 4 | 2922 |
TOOL.Category = "Wire Extras/Physics"
TOOL.Name = "Buoyancy"
TOOL.Command = nil
TOOL.ConfigName = ""
TOOL.Tab = "Wire"
if ( CLIENT ) then
language.Add( "Tool.rt_buoyancy_wire.name", "Buoyancy (Wire)" )
language.Add( "Tool.rt_buoyancy_wire.desc", "Make things float." )
language.Add( "Tool.rt_buoyan... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rs.lua | 13 | 1635 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna_Aqueduct... | gpl-3.0 |
nesstea/darkstar | scripts/globals/weaponskills/tornado_kick.lua | 9 | 2181 | -------------------------------
-- Auth : Thief
-- Skill: Tornado Kick
-- Class: H2H Weapon Skill
-- Level: 225
-- Mods : STR:37.5% VIT:30%
-- 100%TP 200%TP 300%TP
-- 2.0x 2.75x 3.5x
-- Delivers a twofold attack. Damage varies with TP.
-----------------------------------
require("scripts/globals/statu... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Dangruf_Wadi/npcs/_5b1.lua | 12 | 2607 | -----------------------------------
-- Area: Dangruf Wadi
-- NPC: Strange Apparatus
-- @pos: -494 -4 -100 191
-----------------------------------
package.loaded["scripts/zones/Dangruf_Wadi/TextIDs"] = nil;
require("scripts/zones/Dangruf_Wadi/TextIDs");
require("scripts/globals/strangeapparatus");
-------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Al_Zahbi/npcs/Chayaya.lua | 13 | 1644 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Chayaya
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Al_Zahbi/TextIDs");
-------------------... | gpl-3.0 |
Mashape/kong | spec/03-plugins/09-key-auth/02-access_spec.lua | 1 | 27237 | local helpers = require "spec.helpers"
local cjson = require "cjson"
local meta = require "kong.meta"
local utils = require "kong.tools.utils"
for _, strategy in helpers.each_strategy() do
describe("Plugin: key-auth (access) [#" .. strategy .. "]", function()
local proxy_client
lazy_setup(function()
... | apache-2.0 |
Cyumus/NutScript | gamemode/languages/sh_spanish.lua | 4 | 10060 | NAME = "Español"
LANGUAGE = {
loading = "Cargando",
dbError = "Fallo de conexión con la Base de Datos",
unknown = "Desconocido",
noDesc = "Descripción no disponible",
create = "Crear",
createTip = "Crea un nuevo personaje con el que jugar.",
load = "Cargar",
loadTip = "Escoge un personaje previamente creado co... | mit |
reonZ/project-arena | game/dota_addons/project_arenas/scripts/vscripts/abilities/royal_guard/royal_guard_heavy_strike.lua | 1 | 1421 | require( 'custom_target_ability' )
local c_damage = 'damage'
local c_anim_activity = ACT_DOTA_ATTACK
local c_anim_frames = 30
local c_cast_sound = 'Hero_DragonKnight.PreAttack'
---------------------------------------------------------------------------------------------------
royal_guard_heavy_strike = c... | gpl-2.0 |
zuzuf/TA3D | src/ta3d/mods/ta3d/scripts/corraid.lua | 2 | 6024 | -- CORRAID
createUnitScript("corraid")
__this:piece( "base", "body", "turret", "sleeve", "barrel", "firepoint",
"tracks1", "tracks2", "tracks3", "tracks4",
"wheels1", "wheels2", "wheels3", "wheels4", "wheels5" )
__this.moving = false
__this.once = 0
__this.animCount = 0
-- Signal definitions
loca... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.