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 |
|---|---|---|---|---|---|
evrooije/beerarchy | mods/00_bt_mobs/mobs_animal/cow.lua | 1 | 3772 |
local S = mobs.intllib
-- Cow by Krupnovpavel (additional texture by JurajVajda)
mobs:register_mob("mobs_animal:cow", {
type = "animal",
passive = false,
runaway = false,
attack_type = "dogfight",
reach = 2,
damage = 4,
hp_min = 5,
hp_max = 20,
armor = 200,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},... | lgpl-2.1 |
naclander/tome | game/engines/default/engine/ui/Textbox.lua | 1 | 6999 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/chocolate_rarab_tail.lua | 36 | 1166 | -----------------------------------------
-- ID: 5921
-- Item: Chocolate Rarab Tail
-- Food Effect: 3 Min, All Races
-----------------------------------------
-- Dexterity 1
-- Speed 12.5%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemC... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/spells/bluemagic/sickle_slash.lua | 27 | 1753 | -----------------------------------------
-- Spell: Sickle Slash
-- Deals critical damage. Chance of critical hit varies with TP
-- Spell cost: 41 MP
-- Monster Type: Vermin
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 4
-- Stat Bonus: HP-5, MP+15
-- Level: 48
-- Casting Time: 0.5 seconds
-- Recast T... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Southern_San_dOria/npcs/Glenne.lua | 11 | 3590 | -------------------------------------
-- Area: Southern San d'Oria
-- NPC: Glenne
-- Starts and Finishes Quest: A Sentry's Peril
-- !pos -122 -2 15 230
-------------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/shop");
require("scripts/globals... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Western_Adoulin/npcs/Clautaire.lua | 11 | 1942 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Clautaire
-- Type: Standard NPC and Quest Giver
-- Starts, Involved with, and Finishes Quest: 'F.A.I.L.ure Is Not an Option'
-- !pos 44 4 -159 256
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/keyitem... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/RuAun_Gardens/npcs/relic.lua | 38 | 1845 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: <this space intentionally left blank>
-- @pos -241 -12 332 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuAun_Gardens/TextIDs");
-----... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Port_Bastok/npcs/Ferrol.lua | 14 | 3240 | -----------------------------------
-- Area: Port Bastok
-- NPC: Ferrol
-- Starts Quest: Trial Size Trial by Earth
-- @pos 33.708 6.499 -39.425 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Windurst_Walls/npcs/Shantotto.lua | 9 | 9204 | -----------------------------------
-- Area: Windurst Walls (239)
-- NPC: Shantotto
-- !pos 122 -2 112 239
-- CSID's missing in autoEventID please check the old forums under resources for all of shantotto's csid's. I found them all manually.
-----------------------------------
require("scripts/globals/keyitems")
requi... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Windurst_Walls/npcs/Komulili.lua | 34 | 1112 | -----------------------------------
-- Area: Port Windurst
-- NPC: Komulili
-- Warps players to Port Windurst
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Walls/TextIDs");
--------------... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/spells/mages_ballad_iii.lua | 12 | 1163 | -----------------------------------------
-- Spell: Mage's Ballad III
-- Gradually restores target's MP.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0
en... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/East_Ronfaure_[S]/npcs/qm3.lua | 11 | 1130 | -----------------------------------
-- Area: East Ronfaure [S]
-- NPC: qm3 "???"
-- Involved in Quests: Steamed Rams
-- !pos 312.821 -30.495 -67.15
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/campaign");
local ID = require("scripts/zones/East_Ronfaure_[S]/IDs");
--... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Upper_Jeuno/npcs/Shiroro.lua | 34 | 1372 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Shiroro
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Upper_Jeuno/TextIDs");
require("scripts/globals/quests");
-... | gpl-3.0 |
bittorf/luci | modules/luci-base/luasrc/model/cbi/admin_network/proto_dhcp.lua | 74 | 1873 | -- Copyright 2011-2012 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local ifc = net:get_interface()
local hostname, accept_ra, send_rs
local bcast, defaultroute, peerdns, dns, metric, clientid, vendorclass
hostname = section:taboption("gener... | apache-2.0 |
greasydeal/darkstar | scripts/zones/Caedarva_Mire/npcs/qm12.lua | 8 | 1934 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: ???
-- @pos 456.993 -7.000 -270.815 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require... | gpl-3.0 |
herrbrave/RTS_Engine | RTS/RTS/Games/OhNoZombies/Human.lua | 1 | 1677 | registrar = {
ASSET = 0,
DRAWABLE = 1,
ENTITY = 0,
FACTORY = 0,
PHYSICS = 1,
ANIMATION = 0,
INPUT = 0,
SCRIPT = 0,
CAMERA = 0,
MOUSE_MOVE = 0,
UI = 0,
WORLD = 0,
SOUND = 0,
}
function setup()
print("setup Human", tostring(entityId))
include("Games/OhNoZombies/OnNoZombiesStates.lua")
setZOrder(entityI... | mit |
cnbird1999/ABTestingGateway | lib/resty/lock.lua | 26 | 4451 | -- Copyright (C) Yichun Zhang (agentzh)
local ffi = require "ffi"
local ffi_new = ffi.new
local shared = ngx.shared
local sleep = ngx.sleep
local shdict_mt
local debug = ngx.config.debug
local setmetatable = setmetatable
local getmetatable = getmetatable
local tonumber = tonumber
local _M = { _VERSION = '0.04' }
lo... | mit |
LegionXI/darkstar | scripts/zones/Beadeaux_[S]/Zone.lua | 32 | 1262 | -----------------------------------
--
-- Zone: Beadeaux_[S] (92)
--
-----------------------------------
package.loaded["scripts/zones/Beadeaux_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Beadeaux_[S]/TextIDs");
---------------------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Upper_Jeuno/TextIDs.lua | 7 | 1699 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6543; -- Obtained: <item>.
GIL_OBTAINED = 6544; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6546; -- Obtained... | gpl-3.0 |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/RepeatForever.lua | 11 | 2364 |
--------------------------------
-- @module RepeatForever
-- @extend ActionInterval
-- @parent_module cc
--------------------------------
-- Sets the inner action.<br>
-- param action The inner action.
-- @function [parent=#RepeatForever] setInnerAction
-- @param self
-- @param #cc.ActionInterval action
-- @return ... | mit |
mhmjhamyargroup44233/hamyargroup63635567 | plugins/xkcd.lua | 628 | 1374 | do
function get_last_id()
local res,code = https.request("http://xkcd.com/info.0.json")
if code ~= 200 then return "HTTP ERROR" end
local data = json:decode(res)
return data.num
end
function get_xkcd(id)
local res,code = http.request("http://xkcd.com/"..id.."/info.0.json")
if code ~= 200 then return "HT... | gpl-2.0 |
rigeirani/btg | plugins/xkcd.lua | 628 | 1374 | do
function get_last_id()
local res,code = https.request("http://xkcd.com/info.0.json")
if code ~= 200 then return "HTTP ERROR" end
local data = json:decode(res)
return data.num
end
function get_xkcd(id)
local res,code = http.request("http://xkcd.com/"..id.."/info.0.json")
if code ~= 200 then return "HT... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/Worn_Book.lua | 3 | 2429 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Worn Book
-- Getting "Old Rusty Key (keyitem)"
-- @pos 59 0 19 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyit... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/bowl_of_zesty_zoni.lua | 11 | 1834 | -----------------------------------------
-- ID: 5619
-- Item: Bowl of Zesti Zoni
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- HP 12
-- MP 12
-- Strength 2
-- Dexterity 2
-- Vitality 2
-- Agility 2
-- Accuracy +2
-- Ranged Accuracy +2
-- Attack +2
-- Ranged Attack +2
-- Evasion +2
-- MP... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/pearlscale.lua | 12 | 1338 | -----------------------------------------
-- ID: 5714
-- Item: Pearlscale
-- Food Effect: 5 Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/mobskills/Hexidiscs.lua | 7 | 1122 | ---------------------------------------------
-- Hexidiscs
--
-- Description: A sixfold attack damages targets in a fan-shaped area of effect.
-- Type: Physical
-- Utsusemi/Blink absorb: 6 shadows
-- Range: Unknown cone
-- Notes: Only used in "ball" form.
---------------------------------------------
req... | gpl-3.0 |
CorpenEldorito/H-CE-Opensauce-V5 | shared/bin/mmbbq_3.0.2/HaloCE/1_09_Client/Game_EngineFunctions.lua | 2 | 16664 | -- Yelo: Open Sauce SDK
-- Halo 1 (CE) Edition
-- See license\OpenSauce\Halo1_CE for specific license information
HaloCEClient_Game_EngineFunctions =
{
["K_GATHER_EXCEPTION_DATA"] = 0x6BDEAC,
["K_GATHER_EXCEPTION"] = 0x582780,
["K_RASTERIZER_SET_TEXTURE_BITMAP_DA... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/mobskills/Barbed_Crescent.lua | 43 | 1031 | ---------------------------------------------------
-- Barbed Crescent
-- Damage. Additional Effect: Accuracy Down.
-- Area of Effect is centered around caster.
-- The Additional Effect: Accuracy Down may not always process.
-- Duration: Three minutes ?
---------------------------------------------------
require("scri... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Leujaoam_Sanctum/npcs/rune_of_release.lua | 32 | 1876 | -----------------------------------
-- Area: Leujaoam Sanctum
-----------------------------------
require("scripts/globals/besieged")
require("scripts/zones/Leujaoam_Sanctum/IDs");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Al_Zahbi/npcs/Gajaad.lua | 9 | 2476 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Gajaad
-- Type: Donation Taker
-- @pos 40.781 -1.398 116.261 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Al_Zahbi/TextIDs")
----------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Leujaoam_Sanctum/Zone.lua | 20 | 1554 | -----------------------------------
--
-- Zone: Leujaoam_Sanctum
--
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Leujaoam_Sanctum/IDs");
-----------------------------------
-- onInitialize
-----------------------------------
function onInitialize(zone)... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/spells/poisonga.lua | 26 | 1126 | -----------------------------------------
-- Spell: Poisonga
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,sp... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/dried_date.lua | 35 | 1354 | -----------------------------------------
-- ID: 5567
-- Item: dried_date
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 10
-- Magic 20
-- Agility -1
-- Intelligence 3
-----------------------------------------
require("scripts/globals/status");
----------------------... | gpl-3.0 |
alerque/sile | languages/ta.lua | 3 | 1192 | SILE.hyphenator.languages["ta"] = {}
SILE.hyphenator.languages["ta"].patterns =
{
-- GENERAL RULE
-- Do not break either side of ZERO-WIDTH JOINER (U+200D)
"22",
-- Break on both sides of ZERO-WIDTH NON JOINER (U+200C)
"11",
-- Break before or after any independent vowel.
"1அ1",
"1ஆ1",
"1இ1",
"1ஈ1",
"1உ1",
"1ஊ1"... | mit |
ekmartin/mal | lua/step2_eval.lua | 40 | 2090 | #!/usr/bin/env lua
local table = require('table')
local readline = require('readline')
local utils = require('utils')
local types = require('types')
local reader = require('reader')
local printer = require('printer')
local List, Vector, HashMap = types.List, types.Vector, types.HashMap
-- read
function READ(str)
... | mpl-2.0 |
Igalia/snabbswitch | lib/ljsyscall/syscall/freebsd/syscalls.lua | 24 | 2758 | -- FreeBSD specific syscalls
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 version = require "syscall... | apache-2.0 |
icyxp/kong | spec/03-plugins/20-hmac-auth/01-schema_spec.lua | 5 | 1067 | local schemas = require "kong.dao.schemas_validation"
local hmac_auth_schema = require "kong.plugins.hmac-auth.schema"
local validate_entity = schemas.validate_entity
describe("Plugin: hmac-auth (schema)", function()
it("accepts empty config", function()
local ok, err = validate_entity({}, hmac_auth_schema)
... | apache-2.0 |
destroyerdust/Class-Hall | Libs/AceTab-3.0/AceTab-3.0.lua | 8 | 19283 | --- AceTab-3.0 provides support for tab-completion.
-- Note: This library is not yet finalized.
-- @class file
-- @name AceTab-3.0
-- @release $Id: AceTab-3.0.lua 1031 2011-06-29 15:04:34Z nevcairiel $
local ACETAB_MAJOR, ACETAB_MINOR = 'AceTab-3.0', 9
local AceTab, oldminor = LibStub:NewLibrary(ACETAB_MAJOR, ACETAB_M... | mit |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/external/lua/luasocket/script/socket.lua | 93 | 4451 | -----------------------------------------------------------------------------
-- LuaSocket helper module
-- Author: Diego Nehab
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-- Declare module and import depend... | mit |
greasydeal/darkstar | scripts/zones/Western_Altepa_Desert/TextIDs.lua | 4 | 1562 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6382; -- You cannot obtain the <item>. Try trading again after sorting your inventory.
ITEM_OBTAINED = 6383; ... | gpl-3.0 |
icyxp/kong | spec/03-plugins/08-datadog/02-schema_spec.lua | 5 | 4337 | local schemas = require "kong.dao.schemas_validation"
local datadog_schema = require "kong.plugins.datadog.schema"
local validate_entity = schemas.validate_entity
describe("Plugin: datadog (schema)", function()
it("accepts empty config #o", function()
local ok, err = validate_entity({}, datadog_schema)
asser... | apache-2.0 |
ibm2431/darkstar | scripts/globals/spells/yurin_ichi.lua | 12 | 1835 | -----------------------------------------
-- Spell: Yurin: Ichi
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0
end
funct... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Kazham/npcs/Qhio_Plittibhi.lua | 17 | 1072 | -----------------------------------
-- Area: Kazham
-- NPC: Qhio Plittibhi
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Attohwa_Chasm/IDs.lua | 12 | 2001 | -----------------------------------
-- Area: Attohwa_Chasm
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.ATTOHWA_CHASM] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back a... | gpl-3.0 |
naclander/tome | game/modules/tome/data/talents/celestial/celestial.lua | 3 | 5744 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/mobskills/Wind_Shear_ZNM.lua | 34 | 1117 | ---------------------------------------------
-- Wind Shear
--
-- Description: Deals damage to enemies within an area of effect. Additional effect: Knockback
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: 10' radial
-- Notes: The knockback is rather severe. Vulpangue uses an enhanced version th... | gpl-3.0 |
ricker75/Global-Server | data/npc/scripts/Miles, The Guard.lua | 2 | 1882 | 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... | gpl-2.0 |
LegionXI/darkstar | scripts/zones/Chateau_dOraguille/npcs/Chalvatot.lua | 7 | 4791 | -----------------------------------
-- Area: Chateau d'Oraguille
-- NPC: Chalvatot
-- Finish Mission "The Crystal Spring"
-- Start & Finishes Quests: Her Majesty's Garden
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos -105 0.1 72 233
-----------------------------------
package.loaded["scripts/zones/Cha... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/bowl_of_wisdom_soup.lua | 12 | 1817 | -----------------------------------------
-- ID: 4592
-- Item: bowl_of_wisdom_soup
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP 3
-- MP 3
-- Strength 1
-- Dexterity 1
-- Agility 1
-- Vitality 1
-- Intelligence 1
-- Mind 1
-- Charisma 1
-- HP Recovered While Healing 3
-----------------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Southern_San_dOria/npcs/Ferdoulemiont.lua | 17 | 2345 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Ferdoulemiont
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop");... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Quicksand_Caves/npcs/Goblin_Geologist.lua | 38 | 1025 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Goblin Geologist
-- Type: Mission
-- @pos -737.000 -11.125 -550.000 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/weaponskills/starburst.lua | 23 | 1325 | -----------------------------------
-- Starburst
-- Staff weapon skill
-- Skill Level: 100
-- Deals light or darkness elemental damage. Damage varies with TP.
-- Aligned with the Shadow Gorget & Aqua Gorget.
-- Aligned with the Shadow Belt & Aqua Belt.
-- Element: Light/Dark (Random)
-- Modifiers: : STR:40% MND:40%
... | gpl-3.0 |
naclander/tome | game/modules/tome/data/general/npcs/multihued-drake.lua | 3 | 8834 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Zhayolm_Remnants/Zone.lua | 36 | 1125 | -----------------------------------
--
-- Zone: Zhayolm_Remnants
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Zhayolm_Remnants/TextIDs"] = nil;
require("scripts/zones/Zhayolm_Remnants/TextIDs");
-----------------------------------
-- onInitial... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/spells/bluemagic/seedspray.lua | 31 | 2112 | -----------------------------------------
-- Spell: Seedspray
-- Delivers a threefold attack. Additional effect: Weakens defense. Chance of effect varies with TP
-- Spell cost: 61 MP
-- Monster Type: Plantoids
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 2
-- Stat Bonus: VIT+1
-- Level: 61
-- Casting Time: ... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/mobskills/flat_blade.lua | 25 | 1097 | ---------------------------------------------
-- Flat 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");
re... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/sis_kebabi_+1.lua | 35 | 1659 | -----------------------------------------
-- ID: 5599
-- Item: sis_kebabi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 6
-- Vitality -1
-- Intelligence -1
-- Attack % 20
-- Attack Cap 75
-- Ranged ATT % 20
-- Ranged ATT Cap 75
------------------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Outer_Horutoto_Ruins/npcs/_ne4.lua | 12 | 2629 | -----------------------------------
-- Area: Outer Horutoto Ruins
-- NPC: Strange Apparatus
-- @pos: -574 0 739 194
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
require("scripts/zones/Outer_Horutoto_Ruins/TextIDs");
require("scripts/globals/strangeapparatus")... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Cape_Teriggan/Zone.lua | 11 | 2547 | -----------------------------------
--
-- Zone: Cape_Teriggan (113)
--
-----------------------------------
package.loaded[ "scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Cape_Teriggan/TextIDs");
require("scripts/globals/icanheararainbow");
require("scripts/glob... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Staff.lua | 17 | 1476 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Staff
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
functio... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Windurst_Woods/npcs/Valeriano.lua | 14 | 1712 | -----------------------------------
-- Area: Windurst_Woods
-- NPC: Valeriano
-- Standard Merchant NPC
-- Working 100%
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zones/Windurst... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Port_Bastok/npcs/Nokkhi_Jinjahl.lua | 12 | 5133 | -----------------------------------
-- Area: Port Bastok
-- NPC: Nokkhi Jinjahl
-- Type: Travelling Merchant NPC / NPC Quiver Maker / Bastok 1st Place
-- !pos 111 8 -47 236
-----------------------------------
local ID = require("scripts/zones/Port_Bastok/IDs");
-----------------------------------
function onTrade(pl... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Bastok_Markets/Zone.lua | 9 | 2098 | -----------------------------------
--
-- Zone: Bastok_Markets (235)
--
-----------------------------------
require("scripts/globals/events/harvest_festivals")
require("scripts/globals/missions")
require("scripts/globals/settings")
require("scripts/globals/zone")
local ID = require("scripts/zones/Bastok_Markets/IDs")
-... | gpl-3.0 |
naclander/tome | game/modules/tome/data/chats/ardhungol-start.lua | 3 | 2595 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
naclander/tome | game/modules/tome/data/zones/sludgenest/zone.lua | 3 | 5395 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/EaseExponentialOut.lua | 9 | 1362 |
--------------------------------
-- @module EaseExponentialOut
-- @extend ActionEase
-- @parent_module cc
--------------------------------
-- brief Create the action with the inner action.<br>
-- param action The pointer of the inner action.<br>
-- return A pointer of EaseExponentialOut action. If creation failed, re... | mit |
greasydeal/darkstar | scripts/globals/weaponskills/kings_justice.lua | 12 | 4649 | -----------------------------------
-- Kings Justice
-- Great Axe weapon skill
-- Skill Level: N/A
-- Delivers a threefold attack. Damage varies with TP. Conqueror: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Warrior) quest.
-- Aligned with the Breeze Gorget, Thunder ... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/effects/yonin.lua | 20 | 1203 | -----------------------------------
--
--
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect) --power=30 initially
target:addMod(MOD_ACC,-1*effect:getPow... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/abilities/hunters_roll.lua | 11 | 2229 | -----------------------------------
-- Ability: Hunter's Roll
-- Enhances accuracy and ranged accuracy for party members within area of effect
-- Optimal Job: Ranger
-- Lucky Number: 4
-- Unlucky Number: 8
-- Level: 11
--
-- Die Roll |Without RNG |With RNG
-- -------- ------------ -------
-- 1 ... | gpl-3.0 |
herrbrave/RTS_Engine | RTS/RTS/Games/dumb_bullet_game/player.lua | 1 | 2729 |
registrar = {
DRAWABLE = 0,
ENTITY = 0,
FACTORY = 1,
PHYSICS = 1,
ANIMATION = 0,
INPUT = 1,
SCRIPT = 1,
UI = 0
}
function setup()
print("setup");
boundaryTop = createDefault(400, 5, 800, 10, 255, 255, 255, 255)
setTag(boundaryTop, "bound")
boundaryLeft = createDefault(5, 300, 10, 600, 255, 255, 255, 255... | mit |
LegionXI/darkstar | scripts/zones/Yorcia_Weald/Zone.lua | 17 | 1213 | -----------------------------------
--
-- Zone: Yorcia Weald
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Yorcia_Weald/TextIDs"] = nil;
require("scripts/zones/Yorcia_Weald/TextIDs");
-----------------------------------
-- onInitialize
-------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/spells/absorb-chr.lua | 9 | 1368 | --------------------------------------
-- Spell: Absorb-CHR
-- Steals an enemy's Charism.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Mhaura/npcs/Ripapa.lua | 17 | 5423 | -----------------------------------
-- Area: Mhaura
-- NPC: Ripapa
-- Starts and Finishes Quest: Trial by Lightning
-- @pos 29 -15 55 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require(... | gpl-3.0 |
icyxp/kong | spec/01-unit/002-conf_loader_spec.lua | 2 | 22768 | local conf_loader = require "kong.conf_loader"
local helpers = require "spec.helpers"
describe("Configuration loader", function()
it("loads the defaults", function()
local conf = assert(conf_loader())
assert.is_string(conf.lua_package_path)
assert.is_nil(conf.nginx_user)
assert.equal("auto", conf.ngi... | apache-2.0 |
LegionXI/darkstar | scripts/zones/Nashmau/npcs/Nomad_Moogle.lua | 17 | 1082 | -----------------------------------
--
-- Nomad Moogle
--
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/settings");
-----------------------------------
-- onTrade Act... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/spells/bluemagic/magic_hammer.lua | 27 | 1907 | -----------------------------------------
-- Spell: Magic Hammer
-- Steals an amount of enemy's MP equal to damage dealt. Ineffective against undead
-- Spell cost: 40 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Light)
-- Blue Magic Points: 4
-- Stat Bonus: MP-5, MND+2
-- Level: 74
-- Casting Time: 4 seconds
--... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Windurst-Jeuno_Airship/Zone.lua | 32 | 1401 | -----------------------------------
--
-- Zone: Windurst-Jeuno_Airship
--
-----------------------------------
-----------------------------------
-- onInitialize
-----------------------------------
function onInitialize(zone)
end;
-----------------------------------
-- onZoneIn
-----------------------------------
... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/red_curry_bun.lua | 12 | 2142 | -----------------------------------------
-- ID: 5759
-- Item: red_curry_bun
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- TODO: Group effects
-- Health 25
-- Strength 7
-- Agility 1
-- Intelligence -2
-- Attack % 23 (cap 150)
-- Ranged Atk % 23 (cap 150)
-- Demon Killer 4
-- Resist Sle... | gpl-3.0 |
Tangent128/sema | src/queue.lua | 1 | 4571 |
queue = {}
--[[
does continual event processing until no threads left
--]]
function queue.eventLoopMain()
queue.runActive()
while queue.hasLiveThreads() do
local events = poll.events(not queue.hasActiveThreads())
-- if events.signals[signal.SIG???] then
-- end
-- resume threads waiting on chil... | mit |
greasydeal/darkstar | scripts/globals/items/serving_of_bass_meuniere.lua | 35 | 1559 | -----------------------------------------
-- ID: 4582
-- Item: serving_of_bass_meuniere
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health % 3
-- Dexterity 3
-- Agility 3
-- Mind -3
-- Ranged ACC % 6
-- Ranged ACC Cap 15
-----------------------------------------
require(... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/galkan_sausage_+1.lua | 12 | 1357 | -----------------------------------------
-- ID: 5859
-- Item: galkan_sausage_+1
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 4
-- Intelligence -5
-- Attack 10
-- Ranged Attack 10
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ParticleSystem3D.lua | 5 | 5199 |
--------------------------------
-- @module ParticleSystem3D
-- @extend Node,BlendProtocol
-- @parent_module cc
--------------------------------
-- remove affector by index
-- @function [parent=#ParticleSystem3D] removeAffector
-- @param self
-- @param #int index
-- @return ParticleSystem3D#ParticleSystem3D self (re... | mit |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/external/lua/luasocket/script/socket/http.lua | 31 | 12343 | -----------------------------------------------------------------------------
-- HTTP/1.1 client support for the Lua language.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
---------------------------------------------------------------------... | mit |
greasydeal/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/PalardaifaultVDraffles.lua | 36 | 1180 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Palardaifault V Draffles
-- @zone 80
-- @pos 9 1 -35
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
-----------------... | gpl-3.0 |
ibm2431/darkstar | scripts/commands/checkvar.lua | 9 | 1762 | ---------------------------------------------------------------------------------------------------
-- func: checkvar <varType> <varName>
-- desc: checks player or server variable and returns result value.
---------------------------------------------------------------------------------------------------
cmdprops =
{
... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Bastok_Mines/npcs/Zemedars.lua | 12 | 1223 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Zemedars
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Bastok_Mines/IDs")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
function onTrigger(player,npc)
local stock =
{
... | gpl-3.0 |
naclander/tome | game/modules/tome/data/maps/vaults/snow-giant-camp.lua | 3 | 2430 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Davoi/npcs/_45d.lua | 14 | 1603 | -----------------------------------
-- Area: Davoi
-- NPC: Wall of Banishing
-- Used In Quest: Whence Blows the Wind
-- @pos 181 0.1 -218 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scrip... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Labyrinth_of_Onzozo/IDs.lua | 9 | 4294 | -----------------------------------
-- Area: Labyrinth of Onzozo (213)
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.LABYRINTH_OF_ONZOZO] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the... | gpl-3.0 |
icyxp/kong | spec/03-plugins/22-bot-detection/02-invalidations_spec.lua | 3 | 3024 | local helpers = require "spec.helpers"
describe("Plugin: bot-detection (hooks)", function()
local plugin, proxy_client, admin_client
setup(function()
helpers.run_migrations()
local api1 = assert(helpers.dao.apis:insert {
name = "bot.com",
hosts = { "bot.com" },
upstream_u... | apache-2.0 |
softer/prosody-modules | mod_latex/mod_latex.lua | 32 | 1552 | local st = require "stanza";
local urlencode = require "net.http".urlencode;
local xmlns_xhtmlim = "http://jabber.org/protocol/xhtml-im";
local xmlns_xhtml = "http://www.w3.org/1999/xhtml";
local function replace_latex(data)
local origin, stanza = data.origin, data.stanza;
local body = stanza:get_child_text("body")... | mit |
bittorf/luci | applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-format.lua | 68 | 3423 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
cbimap = Map("asterisk", "asterisk", "")
module = cbimap:section(TypedSection, "module", "Modules", "")
module.anonymous = true
format_au = module:option(Lis... | apache-2.0 |
LegionXI/darkstar | scripts/zones/Monarch_Linn/Zone.lua | 17 | 1569 | -----------------------------------
--
-- Zone: Monarch_Linn
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Monarch_Linn/TextIDs"] = nil;
require("scripts/zones/Monarch_Linn/TextIDs");
-----------------------------------
-- onInitialize
-------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Hall_of_Transference/npcs/_0e7.lua | 14 | 1356 | -----------------------------------
-- Area: Hall of Transference
-- NPC: Large Apparatus (Left) - Mea
-- @pos 269 -81 -39 14
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("script... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Northern_San_dOria/npcs/Justi.lua | 11 | 1172 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Justi
-- Conquest depending furniture seller
-----------------------------------
local ID = require("scripts/zones/Northern_San_dOria/IDs")
require("scripts/globals/npc_util")
require("scripts/globals/quests")
require("scripts/globals/shop")
fun... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/AlTaieu/npcs/qm2.lua | 18 | 1499 | -----------------------------------
-- Area: Al'Taieu
-- NPC: ??? (Jailer of Justice Spawn)
-- Allows players to spawn the Jailer of Justice by trading the Second Virtue, Deed of Moderation, and HQ Xzomit Organ to a ???.
-- @pos , -278 0 -463
-----------------------------------
package.loaded["scripts/zones/AlTaieu/Te... | gpl-3.0 |
gwlim/luci | applications/luci-firewall/luasrc/tools/firewall.lua | 59 | 6016 | --[[
LuCI - Lua Configuration Interface
Copyright 2011-2012 Jo-Philipp Wich <xm@subsignal.org>
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
]]--
mo... | apache-2.0 |
greasydeal/darkstar | scripts/globals/mobskills/PL_Chaos_Blade.lua | 58 | 1118 | ---------------------------------------------
-- Chaos Blade
--
-- Description: Deals Dark damage to enemies within a fan-shaped area. Additional effect: Curse
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores Shadows
-- Range: Melee
-- Notes:
---------------------------------------------
require("scripts/globals/sett... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Suzel.lua | 34 | 1088 | ----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Suzel
-- Type: Item Deliverer
-- @zone: 26
-- @pos -72.701 -20.25 -64.058
--
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/spells/bluemagic/cocoon.lua | 28 | 1337 | -----------------------------------------
-- Spell: Cocoon
-- Enhances defense
-- Spell cost: 10 MP
-- Monster Type: Vermin
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 1
-- Stat Bonus: VIT+3
-- Level: 8
-- Casting Time: 1.75 seconds
-- Recast Time: 60 seconds
-- Duration: 90 seconds
--
-- Combos: None
-------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.