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 |
|---|---|---|---|---|---|
DarkstarProject/darkstar | scripts/zones/Sauromugue_Champaign_[S]/Zone.lua | 9 | 1091 | -----------------------------------
--
-- Zone: Sauromugue_Champaign_[S] (98)
--
-----------------------------------
local ID = require("scripts/zones/Sauromugue_Champaign_[S]/IDs")
require("scripts/globals/quests")
require("scripts/globals/zone")
-----------------------------------
function onInitialize(zone)
Upd... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Port_Bastok/npcs/Otto.lua | 13 | 1128 | -----------------------------------
-- Area: Port Bastok
-- NPC: Otto
-- Standard Info NPC
-- Involved in Quest: The Siren's Tear
-- @zone: 236
-- @pos -145.929 -7.48 -13.701
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
-- onTrade
------------------------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/mobskills/PL_Heavy_Stomp.lua | 33 | 1168 | ---------------------------------------------
-- 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 |
Fenix-XI/Fenix | scripts/zones/Chamber_of_Oracles/bcnms/shattering_stars.lua | 27 | 2049 | -----------------------------------
-- Area: Qu'Bia Arena
-- Name: Shattering stars - Maat Fight
-- @pos -221 -24 19 206
-----------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Sacrificial_Chamber/TextIDs");
--... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Abyssea-La_Theine/npcs/qm18.lua | 17 | 1821 | -----------------------------------
-- Zone: Abyssea-LaTheine
-- NPC: ???
-- Spawns: Hadhayosh
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(pla... | gpl-3.0 |
ungarscool1/HL2RP | hl2rp/gamemode/modules/language/sh_english.lua | 5 | 23549 | /*---------------------------------------------------------------------------
English (example) language file
---------------------------------------------------------------------------
This is the english language file. The things on the left side of the equals sign are the things you should leave alone
The parts bet... | agpl-3.0 |
jbp4444/PuzzleGame | scripts/ToggleLayout_3x3.lua | 1 | 1911 | --
-- Copyright 2013-2014 John Pormann
--
-- 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 l... | apache-2.0 |
ehsan/wesnoth | data/lua/wml/items.lua | 1 | 2749 | local helper = wesnoth.require "lua/helper.lua"
local wml_actions = wesnoth.wml_actions
local game_events = wesnoth.game_events
local scenario_items = {}
local function add_overlay(x, y, cfg)
wesnoth.add_tile_overlay(x, y, cfg)
local items = scenario_items[x * 10000 + y]
if not items then
items = {}
scenario_i... | gpl-2.0 |
jbp4444/PuzzleGame | scripts/ToggleLayout_6x6.lua | 1 | 3951 | --
-- Copyright 2013-2014 John Pormann
--
-- 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 l... | apache-2.0 |
franko/gsl-shell | data/pre3d/pre3d_shape_utils.lua | 1 | 26928 | -- Pre3d, a JavaScript software 3d renderer.
-- (c) Dean McNamee <dean@gmail.com>, Dec 2008.
--
-- 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 limit... | gpl-3.0 |
8devices/carambola2-luci | applications/luci-pbx/luasrc/model/cbi/pbx.lua | 146 | 4360 | --[[
Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com>
This file is part of luci-pbx.
luci-pbx 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
... | apache-2.0 |
Fenix-XI/Fenix | scripts/zones/Uleguerand_Range/npcs/HomePoint#3.lua | 27 | 1258 | -----------------------------------
-- Area: Uleguerand_Range
-- NPC: HomePoint#3
-- @pos
-----------------------------------
package.loaded["scripts/zones/Uleguerand_Range/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Uleguerand_Range/TextIDs");
require("scripts/globals/homepoint");
... | gpl-3.0 |
8devices/carambola2-luci | protocols/ppp/luasrc/model/cbi/admin_network/proto_pptp.lua | 59 | 3379 | --[[
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
]]--
loc... | apache-2.0 |
DarkstarProject/darkstar | scripts/globals/effects/prowess_killer.lua | 12 | 2060 | -----------------------------------
--
-- dsp.effect.PROWESS : "Killer" effects bonus
--
-----------------------------------
function onEffectGain(target,effect)
target:addMod(dsp.mod.VERMIN_KILLER, effect:getPower())
target:addMod(dsp.mod.BIRD_KILLER, effect:getPower())
target:addMod(dsp.mod.AMORPH_KILLER... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Windurst_Waters/npcs/Yung_Yaam.lua | 11 | 1123 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Yung Yaam
-- Involved In Quest: Wondering Minstrel
-- !pos -63 -4 27 238
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/quests");
require("scripts/globals/titles"... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/items/pork_cutlet.lua | 11 | 1447 | -----------------------------------------
-- 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 |
Fenix-XI/Fenix | scripts/globals/weaponskills/blade_yu.lua | 10 | 1564 | -----------------------------------
-- Blade Yu
-- Katana weapon skill
-- Skill Level: 290
-- Delivers a water elemental attack. Additional effect Poison. Durration varies with TP.
-- Aligned with the Aqua Gorget & Soil Gorget.
-- Aligned with the Aqua Belt & Soil Belt.
-- Element: Water
-- Modifiers: DEX:50% ; INT:50%... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Spire_of_Mea/npcs/_0l2.lua | 39 | 1330 | -----------------------------------
-- Area: Spire_of_Mea
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Mea/TextIDs");
-------------------------... | gpl-3.0 |
persianTDT/TDT_BOT | plugins/saveplug.lua | 2 | 1692 | local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
return false
end
local function disable_plugin( name, chat )
local k = plugin_enabled(name)
if not k then
return
end
table.remove(_config.enabled_plugins, k)
save_conf... | agpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Southern_San_dOria/npcs/Atelloune.lua | 1 | 2687 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Atelloune
-- Starts and Finishes Quest: Atelloune's Lament
-- @zone 230
-- @pos 122 0 82
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Periqia/IDs.lua | 12 | 8584 | -----------------------------------
-- Area: Periqia
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.PERIQIA] =
{
text = {
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back after sorting ... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/abilities/shadowbind.lua | 12 | 1949 | -----------------------------------
-- Ability: Shadowbind
-- Roots enemy in place.
-- Obtained: Ranger Level 40
-- Recast Time: 5:00
-- Duration: 00:30
-----------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/msg")
------------------------------... | gpl-3.0 |
vsergeyev/sol | Sol/mission4.lua | 1 | 2439 | -----------------------------------------------------------------------------------------
--
-- mission4.lua
--
-----------------------------------------------------------------------------------------
local storyboard = require( "storyboard" )
local scene = storyboard.newScene()
require "campaign"
local physics = r... | mit |
eugeneia/snabbswitch | src/apps/lwaftr/lwdebug.lua | 12 | 1898 | module(..., package.seeall)
local ethernet = require("lib.protocol.ethernet")
local ipv6 = require("lib.protocol.ipv6")
local bit = require("bit")
local band, rshift = bit.band, bit.rshift
function pp(t) for k,v in pairs(t) do print(k,v) end end
function print_ethernet (addr)
print(ethernet:ntop(addr))
end
funct... | apache-2.0 |
DarkstarProject/darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Ixaern_DRGs_Wynav.lua | 9 | 1196 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- Mob: Ix'aern DRG's Wynav
-----------------------------------
require("scripts/globals/status");
-----------------------------------
function onMobSpawn(mob)
mob:setLocalVar("hpTrigger", math.random(10,75));
end;
function onMobFight(mob,target)... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Norg/npcs/Vaultimand.lua | 13 | 1036 | -----------------------------------
-- Area: Norg
-- NPC: Vaultimand
-- Type: Fame Checker
-- @zone: 252
-- @pos -10.839 -1 18.730
--
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
-----------------------------------
-- onTrade Action
-... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/weather.lua | 14 | 1032 | -----------------------------------
-- Weather Conditions
-----------------------------------
dsp = dsp or {}
dsp.weather =
{
NONE = 0,
SUNSHINE = 1,
CLOUDS = 2,
FOG = 3,
HOT_SPELL = 4,
HEAT_WAVE = 5,
RAIN = 6,
SQUALL... | gpl-3.0 |
eugeneia/snabbswitch | src/lib/ptree/support/snabb-softwire-v2.lua | 3 | 28126 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local ffi = require('ffi')
local app = require('core.app')
local corelib = require('core.lib')
local equal = require('core.lib').equal
local dirname = require('core.lib').dirname
local data = require('lib.yang.dat... | apache-2.0 |
DarkstarProject/darkstar | scripts/zones/Bastok_Markets/npcs/Zaira.lua | 12 | 1150 | -----------------------------------
-- Area: Batok Markets
-- NPC: Zaira
-- Standard Merchant NPC
-- !pos -217.316 -2.824 49.235 235
-----------------------------------
local ID = require("scripts/zones/Bastok_Markets/IDs")
require("scripts/globals/shop")
function onTrigger(player,npc)
local stock =
{
... | gpl-3.0 |
oTibia/UnderLight-AK47 | data/actions/scripts/liquids/great_spirit.lua | 2 | 1850 | local HEALTH_REGEN = {200, 400} --min 200, max 400
local MANA_REGEN = {100, 200} --min 100, max 200
local EMPTY_POTION = 7635
local combatHealth = createCombatObject()
setCombatParam(combatHealth, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combatHealth, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(c... | gpl-2.0 |
DarkstarProject/darkstar | scripts/zones/Mhaura/npcs/Dieh_Yamilsiah.lua | 12 | 1612 | -----------------------------------
-- Area: Mhaura
-- NPC: Dieh Yamilsiah
-- Reports the time remaining before boat arrival.
-- !pos 7.057 -2.364 2.489 249
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigger(player,npc)
-- Each boat comes every 1152 seconds/8 game hou... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Carpenters_Landing/npcs/relic.lua | 13 | 1860 | -----------------------------------
-- Area: Carpenter's Landing
-- NPC: <this space intentionally left blank>
-- @pos -99 -0 -514 2
-----------------------------------
package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Carpenters_Landing/TextI... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/spells/bluemagic/heat_breath.lua | 25 | 1751 | -----------------------------------------
-- Spell: Heat Breath
-- Deals fire damage to enemies within a fan-shaped area originating from the caster
-- Spell cost: 169 MP
-- Monster Type: Beasts
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 4
-- Stat Bonus: STR+3
-- Level: 71
-- Casting Time: 7.5 seconds
-- Recas... | gpl-3.0 |
alonikomax/RocketUp | rocket/rocket.lua | 1 | 2310 | -- rocket.lua
require "rocket/tank"
require "rocket/engine"
local anim8 = require "liberies/anim8"
-- Properties
-- Static
-- image => the rocket image
-- dynamic
-- x,y => cords
-- xyvel = 0
Rocket = {}
Rocket.__index = Rocket
local ANGACCEL = 4
setmetatable(Rocket, {
__call = function (cls, ...)
local s... | mit |
DarkstarProject/darkstar | scripts/zones/Windurst_Walls/npcs/Rutango-Botango.lua | 9 | 1992 | -----------------------------------
-- Area: Windurst Walls
-- Location: X:-92 Y:-9 Z:107
-- NPC: Rutango-Botango
-- Working 100%
-- Involved in Quest: To Bee or Not to Bee?
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
---------------------------------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/items/serving_of_monastic_sautee.lua | 18 | 1312 | -----------------------------------------
-- ID: 4293
-- Item: serving_of_monastic_sautee
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Agility 1
-- Ranged ACC % 7
-- Ranged ACC Cap 20
-----------------------------------------
require("scripts/globals/status");
-----------------------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Wajaom_Woodlands/npcs/qm4.lua | 30 | 1337 | -----------------------------------
-- Area: Wajaom Woodlands
-- NPC: ??? (Spawn Tinnin(ZNM T4))
-- @pos 278 0 -703 51
-----------------------------------
package.loaded["scripts/zones/Wajaom_Woodlands/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Wajaom_Woodlands/TextIDs");
require("scri... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Bastok_Mines/npcs/Gumbah.lua | 13 | 2134 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Gumbah
-- Finishes Quest: Blade of Darkness
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
req... | gpl-3.0 |
L3E8S0S6E5N1OA5N6D3T8W5O/4568584657657 | plugins/stats.lua | 49 | 3698 | do
local NUM_MSG_MAX = 4
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end
-- Returns a table with `... | gpl-2.0 |
ld-test/bump | bump.lua | 15 | 21321 | local bump = {
_VERSION = 'bump v3.1.5',
_URL = 'https://github.com/kikito/bump.lua',
_DESCRIPTION = 'A collision detection library for Lua',
_LICENSE = [[
MIT LICENSE
Copyright (c) 2014 Enrique García Cota
Permission is hereby granted, free of charge, to any person obtaining a
... | mit |
Fenix-XI/Fenix | scripts/zones/Sauromugue_Champaign/npcs/qm2.lua | 11 | 3923 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: qm2 (???) (Tower 2)
-- Involved in Quest: THF AF "As Thick As Thieves"
-- @pos 196.830 31.300 206.078 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
-------------------------------... | gpl-3.0 |
synthein/synthein | src/callList.lua | 2 | 2361 | local CallList = {}
CallList.__index = CallList
function CallList.create(reference, options)
local self = {}
setmetatable(self, CallList)
-- The table that these functions will be called on or a function that
-- returns said table.
self.reference = reference
-- Options
-- isObject
--Set to true if referen... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/The_Shrine_of_RuAvitau/Zone.lua | 12 | 5750 | -----------------------------------
--
-- Zone: The_Shrine_of_RuAvitau (178)
--
-----------------------------------
package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions");
require("scripts/global... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Aht_Urhgan_Whitegate/npcs/Porter_Moogle.lua | 41 | 1553 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 50
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urh... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Port_San_dOria/npcs/Perdiouvilet.lua | 13 | 1735 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Perdiouvilet
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos -59 -5 -29 232
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
sina021/bottg | plugins/inpm.lua | 1114 | 3008 | do
local function pairsByKeys (t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
DarkstarProject/darkstar | scripts/zones/Kazham/npcs/Toji_Mumosulah.lua | 12 | 1113 | -----------------------------------
-- Area: Kazham
-- NPC: Toji Mumosulah
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Kazham/IDs")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
function onTrigger(player,npc)
local stock =
{
... | gpl-3.0 |
eugeneia/snabbswitch | lib/luajit/dynasm/dasm_x86.lua | 32 | 71256 | ------------------------------------------------------------------------------
-- DynASM x86/x64 module.
--
-- Copyright (C) 2005-2017 Mike Pall. All rights reserved.
-- See dynasm.lua for full copyright notice.
------------------------------------------------------------------------------
local x64 = x64
-- Module i... | apache-2.0 |
marcel-sch/luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/tcpconns.lua | 68 | 1143 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("luci_statistics",
translate("TCPConns Plugin Configuration"),
translate(
"The tcpconns plugin collects informations about open tcp " ..
"connections on selected ports."
))
-- ... | apache-2.0 |
eugeneia/snabbswitch | src/lib/protocol/ipv6.lua | 7 | 5307 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local ffi = require("ffi")
local C = ffi.C
local lib = require("core.lib")
local header = require("lib.protocol.header")
local htons, ntohs = lib.htons, lib.ntohs
local AF_INET6 = 10
local INET6_ADDRSTRLEN = 48
... | apache-2.0 |
Fenix-XI/Fenix | scripts/globals/abilities/high_jump.lua | 6 | 2215 | -----------------------------------
-- Ability: High Jump
-- Performs a high jumping attack on enemy.
-- Obtained: Dragoon Level 35
-- Recast Time: 2:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/weaponskills... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/spells/light_carol.lua | 27 | 1535 | -----------------------------------------
-- Spell: Light Carol
-- Increases light resistance for party members within the area of effect.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Northern_San_dOria/npcs/Villion.lua | 13 | 1480 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Villion
-- Type: Adventurer's Assistant NPC
-- Involved in Quest: Flyers for Regine
-- @zone: 231
-- @pos -157.524 4.000 263.818
--
-----------------------------------
-----------------------------------
-- onTrade Action
------------------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Apollyon/mobs/Fir_Bholg.lua | 7 | 1266 | -----------------------------------
-- Area: Apollyon SW
-- NPC: Fir Bholg
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/spells/bluemagic/mandibular_bite.lua | 33 | 1716 | -----------------------------------------
-- Spell: Mandibular Bite
-- Damage varies with TP
-- Spell cost: 38 MP
-- Monster Type: Vermin
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 2
-- Stat Bonus: INT+1
-- Level: 44
-- Casting Time: 0.5 seconds
-- Recast Time: 19.25 seconds
-- Skillchain property(ies): I... | gpl-3.0 |
spamn/lain | util/separators.lua | 2 | 2438 | --[[
Licensed under GNU General Public License v2
* (c) 2015, Luke Bonham
* (c) 2015, plotnikovanton
--]]
local wibox = require("wibox")
local gears = require("gears")
-- Lain Cairo separators util submodule
-- lain.util.separators
local separators = { height = 0, width = 9 }
-- [[ Arrow
... | gpl-2.0 |
marcel-sch/luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/olsrd.lua | 43 | 1470 | -- Copyright 2011 Manuel Munz <freifunk at somakoma dot de>
-- Licensed to the public under the Apache License 2.0.
m = Map("luci_statistics",
translate("OLSRd Plugin Configuration"),
translate("The OLSRd plugin reads information about meshed networks from the txtinfo plugin of OLSRd."))
s = m:section(NamedSection,... | apache-2.0 |
Fenix-XI/Fenix | scripts/zones/West_Sarutabaruta/npcs/Stone_Monument.lua | 13 | 1284 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -205.593 -23.210 -119.670 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/spells/bluemagic/queasyshroom.lua | 31 | 1990 | -----------------------------------------
-- Spell: Queasyshroom
-- Additional effect: Poison. Duration of effect varies with TP
-- Spell cost: 20 MP
-- Monster Type: Plantoids
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 2
-- Stat Bonus: HP-5, MP+5
-- Level: 8
-- Casting Time: 2 seconds
-- Recast Time: 15 ... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/mobskills/pl_tidal_slash.lua | 11 | 1158 | ---------------------------------------------
-- Tidal Slash
--
-- Description: Deals Water damage in a threefold
-- attack to targets in a fan-shaped area of effect.
-- Type: Physical?
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Melee?
-- Notes: Used only by Merrows equipped with a spear.
-- If they lost their spe... | gpl-3.0 |
lemboyz/lua8583 | iso8583.lua | 1 | 21685 | local _M = {}
local function bcdunzip(str)
return ({str:gsub(".", function(c) return string.format("%02X", c:byte(1)) end)})[1]
end
local function bcdzip(str)
return ({str:gsub("..", function(x) return string.char(tonumber(x, 16)) end)})[1]
end
local MSG_TYPE = 0
local BITMAP = 1
local TYPE = 1
local LEN ... | apache-2.0 |
Fenix-XI/Fenix | scripts/zones/Cloister_of_Flames/npcs/Fire_Protocrystal.lua | 27 | 1942 | -----------------------------------
-- Area: Cloister of Flames
-- NPC: Fire Protocrystal
-- Involved in Quests: Trial by Fire, Trial Size Trial by Fire
-- @pos -721 0 -598 207
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/The_Garden_of_RuHmet/mobs/Kf_ghrah_whm.lua | 1 | 1888 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- MOB: Kf'ghrah WHM
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic"); -- no spells are currently set due to lack of info
-----------------------------------
-- onMobSpawn
-- Set core Skin and m... | gpl-3.0 |
Fizzadar/Luawa | template/debug.lua | 2 | 105702 | local template = [[<!--
__
| | __ _______ __ _ _______
| | | | \__ \\ \/ \/ /\__ \
| |_| | // __ \\ / / __ \_
|____/____/(____ /\/\_/ (____ /
\/ \/
debug
site: luawa.com
documentation: doc.luawa.com
-->
<div id="luawa_debug">
<!-... | mit |
DarkstarProject/darkstar | scripts/globals/mobskills/grim_halo.lua | 11 | 1124 | ---------------------------------------------------
-- Grim Halo
-- Deals damage to a all targets. Additional effect: Knockback
-- Only used by Fomors that wield a two-handed weapon (principally WAR, BLM, DRK, SAM, DRG, and SMN fomors).
---------------------------------------------
require("scripts/globals/monstertpmov... | gpl-3.0 |
blackops97/boty.lua | tg/test.lua | 210 | 2571 | started = 0
our_id = 0
function vardump(value, depth, key)
local linePrefix = ""
local spaces = ""
if key ~= nil then
linePrefix = "["..key.."] = "
end
if depth == nil then
depth = 0
else
depth = depth + 1
for i=1, depth do spaces = spaces .. " " end
end
if type(value) == 'tab... | gpl-2.0 |
Giorox/AngelionOT-Repo | data/actions/scripts/other/nexus.lua | 1 | 1080 | function onUse(cid, item, fromPosition, itemEx, toPosition)
local tilepos1 = {x=33114, y=31703, z=12}
local tilepos2 = {x=33116, y=31703, z=12}
local tilepos5 = {x=33115, y=31702, z=12}
local tilepos3 = {x=33114, y=31700, z=12}
local tilepos4 = {x=33115, y=31700, z=12}
local tilepos6 = {x=33116, y=31700, z=12}
local t... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Sea_Serpent_Grotto/npcs/qm2.lua | 13 | 1471 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: ??? Used for Norg quest "The Sahagin's Stash"
-- @zone 176
-- @pos 295.276 27.129 213.043
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/abilities/pets/heavenly_strike.lua | 11 | 1407 | ---------------------------------------------------
-- Geocrush
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmoves")
require("scripts/globals/magic")
---------------------------------------------------
funct... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/spells/tornado_ii.lua | 6 | 1200 | -----------------------------------------
-- Spell: Tornado II
-- Deals wind damage to an enemy and lowers its resistance against ice.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
-----------------------------------------
function onMagicCastingCheck(cast... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/abilities/drachen_roll.lua | 12 | 2883 | -----------------------------------
-- Ability: Drachen Roll
-- Enhances pet accuracy for party members within area of effect
-- Optimal Job: Dragoon
-- Lucky Number: 4
-- Unlucky Number: 8
-- Level: 23
-- Phantom Roll +1 Value: 5
--
-- Die Roll |No DRG |With DRG
-- -------- ------- -----------
-- 1 |... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Nashmau/npcs/Mamaroon.lua | 13 | 1504 | -----------------------------------
-- Area: Nashmau
-- NPC: Mamaroon
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
---------------------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Dynamis-Xarcabard/mobs/Effigy_Prototype.lua | 1 | 1095 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Effigy Prototype
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("scripts/zones... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/moghouse.lua | 9 | 12198 | --
-- Mog House related functions
--
require("scripts/globals/npc_util")
require("scripts/globals/quests");
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/titles")
require("scripts/globals/zone")
------------------------------------
-- Mog Locker constants
--------------... | gpl-3.0 |
SamuelePilleri/sysdig | userspace/sysdig/chisels/iobytes_net.lua | 18 | 1667 | --[[
Copyright (C) 2013-2014 Draios inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without... | gpl-2.0 |
maikerumine/extreme_survival_mini | mods/flowers/mapgen.lua | 3 | 3803 | --
-- Mgv6
--
local function register_mgv6_flower(name)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = 0,
scale = 0.006,
spread = {x = 100, y = 100, z = 100},
seed = 436,
octaves = 3,
persist = 0.6
},
y... | lgpl-2.1 |
Fenix-XI/Fenix | scripts/zones/Northern_San_dOria/npcs/Pepigort.lua | 13 | 1042 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pepigort
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos -126.739 11.999 262.757
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs"... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/mobskills/impact_stream.lua | 11 | 1048 | ---------------------------------------------
-- Impact Stream
--
-- Description: 50% Defense Down, Stun
-- Type: Magical
-- Wipe Shadows
-- Range: 10.0' AoE
-- Notes:
---------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/mons... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/weaponskills/combo.lua | 10 | 1459 | -----------------------------------
-- Combo
-- Hand-to-Hand weapon skill
-- Skill level: 5
-- Delivers a threefold attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: None
-- Modifiers: STR:20% DEX:20%
-- 100%TP 200%TP ... | gpl-3.0 |
gwlim/openwrt_mr3420_8M | feeds/xwrt/webif-iw-lua-chillispot/files/usr/lib/lua/lua-xwrt/chillispot.lua | 19 | 24512 | require("lua-xwrt.addon.string")
require("lua-xwrt.addon.uci")
require("lua-xwrt.html.form")
require("lua-xwrt.xwrt.translator")
require("lua-xwrt.html.messages")
local string = string
local io = io
local os = os
local pairs, ipairs = pairs, ipairs
local table = table
local uci = uci
local util = util
local tr = tr
lo... | gpl-2.0 |
fc0426/gittest | src/GameLayer.lua | 3 | 5366 | local GameLayer = class("GameLayer", function() return cc.Layer:create() end)
local HeartBar = require "HeartBar"
local Food = require "Food"
local Barrier = require "Barrier"
local Snake = require "Snake"
local math = require "math"
local GameOver = require "GameOver"
local MapLevel = require "MapLevel"
local mapBg = ... | mit |
Fenix-XI/Fenix | scripts/globals/items/coffeecake_muffin_+1.lua | 18 | 1364 | -----------------------------------------
-- ID: 5656
-- Item: coffeecake_muffin_+1
-- Food Effect: 1Hr, All Races
-----------------------------------------
-- Mind 2
-- Strength -1
-- MP % 10 (cap 90)
-----------------------------------------
require("scripts/globals/status");
---------------------------------------... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Rabao/npcs/Leodarion.lua | 9 | 3252 | -----------------------------------
-- Area: Rabao
-- NPC: Leodarion
-- Involved in Quest: 20 in Pirate Years, I'll Take the Big Box, True Will
-- !pos -50 8 40 247
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/shop");
require("sc... | gpl-3.0 |
MartinFrancu/BETS | BtEvaluator/command.lua | 1 | 9221 | local Logger = Utils.Debug.Logger
local dump = Utils.Debug.dump
local ProjectManager = Utils.ProjectManager
local CustomEnvironment = Utils.CustomEnvironment
local currentlyExecutingCommand = nil
local unitToOrderIssueingCommandMap = {}
local Results = require("results")
local commandEnvironment = CustomEnvironment:... | mit |
Fenix-XI/Fenix | scripts/globals/items/burdock_root.lua | 18 | 1176 | -----------------------------------------
-- ID: 5651
-- Item: Burdock Root
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 2
-- Vitality -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/items/behemoth_steak.lua | 11 | 1728 | -----------------------------------------
-- ID: 6464
-- Item: behemoth_steak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- HP +40
-- STR +7
-- DEX +7
-- INT -3
-- Attack +23% (cap 160)
-- Ranged Attack +23% (cap 160)
-- Triple Attack +1%
-- Lizard Killer +4
-- hHP +4
------------------... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/The_Garden_of_RuHmet/bcnms/when_angels_fall.lua | 9 | 1414 | -----------------------------------
-- Area: The_Garden_of_RuHmet
-- Name: When Angels Fall
-----------------------------------
require("scripts/globals/battlefield")
require("scripts/globals/missions")
-----------------------------------
function onBattlefieldTick(battlefield, tick)
dsp.battlefield.onBattlefieldT... | gpl-3.0 |
asdofindia/prosody-modules | mod_carbons/mod_carbons.lua | 32 | 5142 | -- XEP-0280: Message Carbons implementation for Prosody
-- Copyright (C) 2011 Kim Alvefur
--
-- This file is MIT/X11 licensed.
local st = require "util.stanza";
local jid_bare = require "util.jid".bare;
local xmlns_carbons = "urn:xmpp:carbons:2";
local xmlns_carbons_old = "urn:xmpp:carbons:1";
local xmlns_carbons_real... | mit |
DarkstarProject/darkstar | scripts/zones/Windurst_Waters/npcs/Ohbiru-Dohbiru.lua | 9 | 10499 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ohbiru-Dohbiru
-- Involved in quest: Food For Thought, Say It with Flowers
-- Starts and finishes quest: Toraimarai Turmoil
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/titles");
require("scripts/gl... | gpl-3.0 |
erics1989/lurk | generate_map.lua | 1 | 4892 |
local generate_aux = require("generate_aux")
local function generate_map_cave(prev, name, n)
generate_aux.init(name, n)
for _, space in ipairs(_state.map.spaces) do
local terrain = game.data_init("terrain_stone")
game.terrain_enter(terrain, space)
end
local area = generate_aux.get_blob... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Yhoator_Jungle/npcs/Field_Manual.lua | 29 | 1052 | -----------------------------------
-- Field Manual
-- Area: Yhoator Jungle
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
-----------------------------------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Mamook/npcs/Logging_Point.lua | 13 | 1044 | -----------------------------------
-- Area: Mamook
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Mamook/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Mamook/TextIDs");
-----------------------------------
... | gpl-3.0 |
8devices/carambola2-luci | libs/json/luasrc/json.lua | 50 | 13333 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 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 License at
ht... | apache-2.0 |
DarkstarProject/darkstar | scripts/globals/items/serving_of_red_curry.lua | 11 | 1910 | -----------------------------------------
-- ID: 4298
-- Item: serving_of_red_curry
-- Food Effect: 3 hours, All Races
-----------------------------------------
-- HP +25
-- Strength +7
-- Agility +1
-- Intelligence -2
-- HP recovered while healing +2
-- MP recovered while healing +1
-- Attack +23% (Cap: 150@652 Base A... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/abilities/devotion.lua | 44 | 1670 | -----------------------------------
-- Ability: Devotion
-- Sacrifices HP to grant a party member the same amount in MP.
-- Obtained: White Mage Level 75
-- Recast Time: 0:10:00
-- Duration: Instant
-- Target: Party member, cannot target self.
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
LazyShpee/discord-egobot | libs/db.lua | 1 | 1725 | local ts = require("./libs/tablesave")
local fs = require("fs")
local function save(self, name)
if type(self._tables[name]) ~= 'table' then return end
local path = self._dir..'/db_'..name..'.lua'
ts.save(self._tables[name], path)
end
local function loadAll(self)
local stat = fs.statSync(self._dir)
if s... | mit |
DarkstarProject/darkstar | scripts/globals/abilities/dark_shot.lua | 12 | 2856 | -----------------------------------
-- Ability: Dark Shot
-- Consumes a Dark Card to enhance dark-based debuffs. Additional effect: Dark-based Dispel
-- Bio Effect: Attack Down Effect +5% and DoT + 3
-----------------------------------
require("scripts/globals/magic")
require("scripts/globals/status")
-----------------... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Wajaom_Woodlands/mobs/Hydra.lua | 9 | 1251 | -----------------------------------
-- Area: Wajaom Woodlands
-- Mob: Hydra
-- !pos -282 -24 -1 51
-----------------------------------
require("scripts/globals/titles");
-----------------------------------
function onMobFight(mob, target)
local battletime = mob:getBattleTime();
local headgrow = mob:getLocalV... | gpl-3.0 |
LuaDist/lunit | lunit-tests.lua | 9 | 34836 |
--[[--------------------------------------------------------------------------
This file is part of lunit 0.5.
For Details about lunit look at: http://www.mroth.net/lunit/
Author: Michael Roth <mroth@nessie.de>
Copyright (c) 2004, 2006-2009 Michael Roth <mroth@nessie.de>
Permission is hereby g... | mit |
SkzKatsushiro/OpenRA | mods/cnc/maps/nod02a/nod02a.lua | 15 | 7806 | NodUnits = { "bggy", "e1", "e1", "e1", "e1", "e1", "bggy", "e1", "e1", "e1", "bggy" }
NodBaseBuildings = { "hand", "fact", "nuke" }
DfndActorTriggerActivator = { Refinery, Barracks, Powerplant, Yard }
Atk3ActorTriggerActivator = { Guard1, Guard2, Guard3, Guard4, Guard5, Guard6, Guard7 }
Atk1CellTriggerActivator = { C... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.