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 |
|---|---|---|---|---|---|
pokemoncentral/wiki-lua-modules | Colore-data.lua | 1 | 3650 | -- Primo tentativo di utilizzo della funzione mediawiki "require"
-- In questo modulo semplicemente รจ contenuta una tabella con tutti i colori:
-- Il primo indice รจ il nome del colore, e il secondo la variante
local c = {}
local s = require('Colore')
-- Generazione dimanica provvisoria: mancano i colori zona_text e ... | cc0-1.0 |
ibm2431/darkstar | scripts/globals/spells/valor_minuet_v.lua | 10 | 1568 | -----------------------------------------
-- Spell: Valor Minuet V
-- Grants Attack bonus to all allies.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0
en... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/buttered_nebimonite.lua | 35 | 1401 | -----------------------------------------
-- ID: 4267
-- Item: Buttered Nebimonite
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 1
-- Vitality 2
-- defense % 25
-- defense Cap 75
-----------------------------------------
require("scripts/globals/status");
-------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Cloister_of_Flames/bcnms/sugar-coated_directive.lua | 27 | 1824 | ----------------------------------------
-- Area: Cloister of Flames
-- BCNM: Sugar Coated Directive (ASA-4)
-- @pos -721 0 -598 207
----------------------------------------
package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil;
----------------------------------------
require("scripts/globals/keyitems");
r... | gpl-3.0 |
Igalia/snabbswitch | src/program/lwaftr/generate_configuration/generate_configuration.lua | 4 | 5397 | module(...,package.seeall)
local bit = require("bit")
local ipv4 = require("lib.protocol.ipv4")
local ipv6 = require("lib.protocol.ipv6")
local lib = require("core.lib")
local band, rshift = bit.band, bit.rshift
local function to_ipv4_string(uint32)
return ("%i.%i.%i.%i"):format(
rshift(uint32, 24),
r... | apache-2.0 |
pokemoncentral/wiki-lua-modules | Move-LPA-data.lua | 1 | 22657 | -- Data module for moves in LPA
-- TODO: not all moves are introduced in gen 8, but in a sense their LPA
-- version is. What to do?
local t = {}
t["fuocopugno"] = {name = "Fuocopugno", type = "fuoco", category = "fisico", power = 75, accuracy = 100, pp = 10, gen = 8}
t["gelopugno"] = {name = "Gelopugno", type = "ghi... | cc0-1.0 |
greasydeal/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Sajahb.lua | 34 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Sajahb
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-----------... | gpl-3.0 |
chadouming/nodemcu-firmware | lua_modules/hdc1000/HDC1000.lua | 79 | 2703 | -------------------------------------------------------
-- This library was written for the Texas Instruments
-- HDC1000 temperature and humidity sensor.
-- It should work for the HDC1008 too.
-- Written by Francesco Truzzi (francesco@truzzi.me)
-- Released under GNU GPL v2.0 license.
------------------------------... | mit |
greasydeal/darkstar | scripts/globals/mobskills/Dread_Dive.lua | 25 | 1043 | ---------------------------------------------
-- Dread Dive
--
-- Description: Dives into a single target. Additional effect: Knockback + Stun
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes: Used instead of Gliding Spike by certain notorious monsters.
-----------------------... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/spells/foe_requiem_iv.lua | 12 | 1832 | -----------------------------------------
-- Spell: Foe Requiem IV
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0
end
fu... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/spells/bluemagic/eyes_on_me.lua | 12 | 1391 | -----------------------------------------
-- Spell: Eyes On Me
-- Deals dark damage to an enemy
-- Spell cost: 112 MP
-- Monster Type: Demons
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 4
-- Stat Bonus: HP-5, MP+15
-- Level: 61
-- Casting Time: 4.5 seconds
-- Recast Time: 29.25 seconds
-- Magic Bursts on: Compr... | gpl-3.0 |
naclander/tome | game/modules/tome/data/gfx/particles/freeze.lua | 3 | 1229 | -- 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/TextureFrame.lua | 18 | 1219 |
--------------------------------
-- @module TextureFrame
-- @extend Frame
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#TextureFrame] getTextureName
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent... | mit |
greasydeal/darkstar | scripts/zones/Den_of_Rancor/npcs/HomePoint#2.lua | 12 | 1193 | -----------------------------------
-- Area: Den_of_Rancor
-- NPC: HomePoint#2
-- @pos 182 34 -62 160
-----------------------------------
package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Den_of_Rancor/TextIDs");
require("scripts/globals/homepoin... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Southern_San_dOria/npcs/Lanqueron.lua | 14 | 1610 | -----------------------------------
-- Area: Southern San dOria
-- NPC: Lanqueron
-- Type: Item Deliverer NPC
-- Involved in Quest: Lost Chick
-- @zone 230
-- @pos 0.335 1.199 -28.404
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
----------------------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Lower_Delkfutts_Tower/Zone.lua | 12 | 3734 | -----------------------------------
--
-- Zone: Lower_Delkfutts_Tower (184)
--
-----------------------------------
package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/globals/miss... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Kelsha-Melansha.lua | 34 | 1040 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Kelsha-Melansha
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
--... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/plate_of_sole_sushi.lua | 11 | 1430 | -----------------------------------------
-- ID: 5149
-- Item: plate_of_sole_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 20
-- Strength 5
-- Dexterity 6
-- Accuracy % 15
-- Ranged ACC % 15
-- Sleep Resist 1
-----------------------------------------
require("scripts/globals/sta... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/LaLoff_Amphitheater/npcs/qm0_3.lua | 17 | 1169 | -----------------------------------
-- Area: LaLoff_Amphitheater
-- NPC: qm0 (warp player outside after they win fight)
-------------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
-... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/magma_steak_+1.lua | 36 | 1540 | -----------------------------------------
-- ID: 6072
-- Item: Magma Steak +1
-- Food Effect: 240 Min, All Races
-----------------------------------------
-- Strength +9
-- Attack +24% Cap 185
-- Ranged Attack +24% Cap 185
-- Vermin Killer +6
-----------------------------------------
require("scripts/globals/status");... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/RuAun_Gardens/Zone.lua | 12 | 14846 | -----------------------------------
--
-- Zone: RuAun_Gardens (130)
--
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions");
require("scripts/globals/conquest");
requ... | gpl-3.0 |
lbthomsen/openwrt-luci | applications/luci-app-dnscrypt-proxy/luasrc/controller/dnscrypt-proxy.lua | 5 | 2183 | -- Copyright 2017-2019 Dirk Brenken (dev@brenken.org)
-- This is free software, licensed under the Apache License, Version 2.0
module("luci.controller.dnscrypt-proxy", package.seeall)
local util = require("luci.util")
local i18n = require("luci.i18n")
local templ = require("luci.template")
function index()
if not... | apache-2.0 |
ibm2431/darkstar | scripts/zones/Jugner_Forest/mobs/King_Arthro.lua | 3 | 1634 | -----------------------------------
-- Area: Jugner Forest
-- NM: King Arthro
-----------------------------------
mixins =
{
require("scripts/mixins/job_special"),
require("scripts/mixins/rage")
}
require("scripts/globals/mobs")
-----------------------------------
function onMobInitialize(mob)
mob:setMob... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/abilities/light_maneuver.lua | 19 | 1610 | -----------------------------------
-- Ability: Light Maneuver
-- Enhances the effect of light attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Upper_Jeuno/npcs/Koriso-Manriso.lua | 14 | 1046 | ----------------------------------
-- Area: Upper Jeuno
-- NPC: Koriso-Manriso
-- Type: Item Deliverer
-- @zone 244
-- @pos -64.39 1 23.704
--
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Zeruhn_Mines/npcs/Makarim.lua | 17 | 1511 | -----------------------------------
-- Area: Zeruhn Mines
-- NPC: Makarim
-- Involved In Mission: The Zeruhn Report
-- @pos -58 8 -333 172
-----------------------------------
package.loaded["scripts/zones/Zeruhn_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
naclander/tome | game/modules/tome/data/zones/ritch-tunnels/zone.lua | 1 | 2090 | -- 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/Dynamis-Xarcabard/mobs/Icon_Prototype.lua | 22 | 1416 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Icon Prototype
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("scripts/zones/D... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Sacrarium/npcs/Large_Keyhole.lua | 12 | 1073 | -----------------------------------
-- Area: Sacrarium
-- NPC: Large Keyhole
-- Notes: Used to open R. Gate
-- !pos 100.231 -1.414 51.700 28
-----------------------------------
local ID = require("scripts/zones/Sacrarium/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/npc_util")
--------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/spells/bluemagic/feather_storm.lua | 9 | 2041 | -----------------------------------------
-- Spell: Feather Storm
-- Additional effect: Poison. Chance of effect varies with TP
-- Spell cost: 12 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 3
-- Stat Bonus: CHR+2, HP+5
-- Level: 12
-- Casting Time: 0.5 seconds
-- Reca... | gpl-3.0 |
icyxp/kong | spec/02-integration/03-dao/03-crud_spec.lua | 3 | 24437 | local function raw_table(state, arguments)
local tbl = arguments[1]
if not pcall(assert.falsy, getmetatable(tbl)) then
return false
end
for _, v in ipairs({"ROWS", "VOID"}) do
if tbl.type == v then
return false
end
end
if tbl.meta ~= nil then
return false
end
return true
end
local... | apache-2.0 |
LegionXI/darkstar | scripts/zones/Valley_of_Sorrows/Zone.lua | 11 | 1722 | -----------------------------------
--
-- Zone: Valley_of_Sorrows (128)
--
-----------------------------------
package.loaded["scripts/zones/Valley_of_Sorrows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Valley_of_Sorr... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/weaponskills/aeolian_edge.lua | 10 | 1462 | -- Aeolian Edge
-- Dagger weapon skill
-- Delivers an area attack that deals wind elemental damage. Damage varies with TP.
-- Skill Level: 290
-- Aligned with the Breeze Gorget, Soil Gorget & Thunder Gorget.
-- Aligned with the Breeze Belt, Soil Belt & Thunder Belt.
-- Element: Wind
-- Skillchain Properties: Impaction ... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Eastern_Adoulin/Zone.lua | 34 | 1248 | -----------------------------------
--
-- Zone: Eastern Adoulin
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Eastern_Adoulin/TextIDs"] = nil;
require("scripts/zones/Eastern_Adoulin/TextIDs");
-----------------------------------
-- onInitialize... | gpl-3.0 |
ibm2431/darkstar | scripts/commands/return.lua | 12 | 1350 | ---------------------------------------------------------------------------------------------------
-- func: return <player>
-- desc: Warps GM or target player to their previous zone
---------------------------------------------------------------------------------------------------
require("scripts/globals/zone")
-----... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Throne_Room/IDs.lua | 4 | 1338 | -----------------------------------
-- Area: Throne_Room
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.THRONE_ROOM] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back after... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/bowl_of_wisdom_soup.lua | 11 | 1539 | -----------------------------------------
-- 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 |
Metastruct/NeedMoreLegs | lua/autorun/nml.lua | 1 | 1076 |
NML = NML or {}
local file = file
function NML.NavigateFolders( dir, ftype, dtype, func )
local _, list = file.Find( dir .. "/*", dtype )
for _, fdir in pairs( list ) do
NML.NavigateFolders( dir .. "/" .. fdir, ftype, dtype, func )
end
for _, ffile in pairs( file.Find( dir .. "/*." .. ftype,... | gpl-2.0 |
LegionXI/darkstar | scripts/zones/Pashhow_Marshlands_[S]/npcs/Indescript_Markings.lua | 13 | 4597 | -----------------------------------
-- Area: Pashhow Marshlands [S]
-- NPC: Indescript Markings
-- NOTE: There are 3 Indescript Markings
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Pashhow_Marshlan... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Lufaise_Meadows/mobs/Colorful_Leshy.lua | 13 | 2001 | -----------------------------------
-- Area: Lufaise Meadows
-- MOB: Colorful Leshy
-----------------------------------
-----------------------------------
-- onMobSpawn
-----------------------------------
function onMobSpawn(mob)
local Defoliate_Leshy = 16875763;
GetMobByID(Defoliate_Leshy):setLocalVar("1"... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/spells/bluemagic/jet_stream.lua | 8 | 1537 | -----------------------------------------
-- Spell: Jet Stream
-- Delivers a threefold attack. Accuracy varies with TP
-- Spell cost: 47 MP
-- Monster Type: Birds
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 4
-- Stat Bonus: DEX+2
-- Level: 38
-- Casting Time: 0.5 seconds
-- Recast Time: 23 seconds
-- Skillcha... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/rolanberry_daifuku.lua | 12 | 2289 | -----------------------------------------
-- ID: 6339
-- Item: rolanberry_daifuku
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- HP +20
-- VIT +3
-- Accuracy +10% (cap 50)
-- Ranged Accuracy +10% (cap 50)
-- Magic Accuracy +3
-- Pet:
-- HP +20
-- VIT +3
-- Accuracy +10% (cap 75)
-- Range... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/sweet_baked_apple.lua | 12 | 1308 | -----------------------------------------
-- ID: 4336
-- Item: sweet_baked_apple
-- Food Effect: 1hour, All Races
-----------------------------------------
-- Magic Points 25
-- Intelligence 4
-- MP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status");
----------------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Port_Jeuno/npcs/Avijit.lua | 30 | 1167 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Avijit
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
--------------------------------... | gpl-3.0 |
naclander/tome | game/modules/tome/data/talents/spells/stone.lua | 1 | 9321 | -- 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 |
GitHublong/hue | tools/wrk-scripts/lib/inspect.lua | 48 | 9185 | local inspect ={
_VERSION = 'inspect.lua 3.0.0',
_URL = 'http://github.com/kikito/inspect.lua',
_DESCRIPTION = 'human-readable representations of tables',
_LICENSE = [[
MIT LICENSE
Copyright (c) 2013 Enrique Garcรญa Cota
Permission is hereby granted, free of charge, to any person obtaining a
... | apache-2.0 |
ibm2431/darkstar | scripts/zones/Windurst_Woods/npcs/Lih_Pituu.lua | 12 | 1328 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Lih Pituu
-- Type: Bonecraft Adv. Image Support
-- !pos -5.471 -6.25 -141.211 241
-----------------------------------
local ID = require("scripts/zones/Windurst_Woods/IDs")
require("scripts/globals/crafting")
require("scripts/globals/status")
--------... | gpl-3.0 |
naclander/tome | game/modules/tome/data/zones/town-angolwen/objects.lua | 3 | 1529 | -- 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 |
ibm2431/darkstar | scripts/zones/The_Ashu_Talif/mobs/Gessho.lua | 9 | 2086 | -----------------------------------
-- Area: The Ashu Talif (The Black Coffin)
-- Mob: Gessho
-- TOAU-15 Mission Battle
-----------------------------------
local ID = require("scripts/zones/The_Ashu_Talif/IDs")
require("scripts/globals/allyassist");
require("scripts/globals/instance");
require("scripts/globals/statu... | gpl-3.0 |
ricker75/Global-Server | data/actions/scripts/other/potions.lua | 2 | 3533 | local config = {
-- strong health potion
[7588] = {health = {250, 350}, vocations = {3, 4}, text = 'paladins and knights', level = 50, emptyId = 7634},
-- strong mana potion
[7589] = {mana = {115, 185}, vocations = {1, 2, 3}, text = 'sorcerers, druids and paladins', level = 50, emptyId = 7634},
-- great mana potio... | gpl-2.0 |
naclander/tome | game/modules/tome/data/talents/techniques/excellence.lua | 1 | 9541 | -- 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/general/objects/egos/amulets.lua | 1 | 16506 | -- 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 |
ibm2431/darkstar | scripts/globals/abilities/shield_bash.lua | 11 | 2099 | -----------------------------------
-- Ability: Shield Bash
-- Delivers an attack that can stun the target. Shield required.
-- Obtained: Paladin Level 15, Valoredge automaton frame Level 1
-- Recast Time: 3:00 minutes (3:00 for Valoredge version)
-- Duration: Instant
-----------------------------------
require("script... | gpl-3.0 |
naclander/tome | game/modules/example/init.lua | 3 | 1200 | -- ToME - Tales of Middle-Earth
-- 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 la... | gpl-3.0 |
Tyxz/-ESO--ingame--Clock---Tamriel-Standard-Time | Lib/Data/Settings.lua | 1 | 35044 | --[[--------------------------------------------
Project: Clock - Tamriel Standard Time
Author: Arne Rantzen (Tyx)
Created: 2020-01-22
Updated: 2020-03-06
License: GPL-3.0
--------------------------------------------]]--
Clock_TST = Clock_TST or {}
local const = Clock_TST.CONSTANTS(... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Quicksand_Caves/npcs/qm4.lua | 27 | 1185 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: ??? (qm4)
-- Involved in Mission: Bastok 8.1 "The Chains That Bind Us"
-- @pos
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions")... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Luck_Rune.lua | 34 | 1089 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Luck Rune
-- Involved in Quest: Mhaura Fortune
-- @pos 573.245 24.999 199.560 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-------------------------------------
require("sc... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/bowl_of_cursed_soup.lua | 12 | 1604 | -----------------------------------------
-- ID: 4235
-- Item: Bowl of Cursed Soup
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength -7
-- Dexterity -7
-- Agility -7
-- Vitality -7
-- Intelligence -7
-- Mind -7
-- Charisma -7
-----------------------------------------
require("scri... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Northern_San_dOria/npcs/Shakir.lua | 14 | 1059 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Shakir
-- Type: Standard NPC
-- @zone 231
-- @pos 48.952 -2.999 -16.687
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----... | gpl-3.0 |
shadog/mdo_th_boos | plugins/plugins/time.lua | 1 | 2361 | local function remind(msg)
local hash = 'saving_remind'
local data = redis:hgetall(hash)
local chat_id = data.id
local time = data.time
vardump(os.time())
vardump(data)
if data.stage == 'two' then
if tonumber(os.time()) > tonumber(time) then
local text = data.text
send_large_msg('channel#i... | gpl-2.0 |
LegionXI/darkstar | scripts/zones/PsoXja/npcs/_090.lua | 14 | 3070 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _090 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos 341.600 -1.925 -50.000 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/tiny_goldfish.lua | 12 | 1328 | -----------------------------------------
-- ID: 4310
-- Item: tiny_goldfish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
A2AFMI/devams2 | plugins/help1.lua | 1 | 1698 | do
local function run(msg, matches)
local reply_id = msg['id']
if is_momod(msg) and matches[1]== 'ู
1' then
local S = [[
๐ฝฬถDฬถeฬถvฬถAฬถMฬถSฬถ๐ฝ
๐๐ฟโโ๏ธุงูุงูุงู
ุฑ ุงูุฎุงุตุฉ|โ๏ธ| ุจุงูุงุฏุงุฑุฉ๐๐ฟโโ๏ธ
๐บ_________|โก๏ธ|___________๐ป
โฝ๏ธโขโโ( ุญุธุฑ+ุงูู
ุนุฑู โต๏ธ)ูุญุธุฑ ุงูุนุถูโข
โฝ๏ธโขโโ(ุงูุบุงุก ุงูุญุธุฑ ๐ถ) ูุฅุฒุงูู ุงูุญุธุฑโข โฝ๏ธโขโโ( ูุชู
+ุงูู
ุนุฑู ๐ ) ููุช... | gpl-2.0 |
bacsmar/Urho3D | Source/ThirdParty/LuaJIT/src/jit/bc.lua | 43 | 5620 | ----------------------------------------------------------------------------
-- LuaJIT bytecode listing module.
--
-- Copyright (C) 2005-2016 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | mit |
kai771/kindlepdfviewer | widget.lua | 4 | 5641 | require "rendertext"
require "graphics"
require "image"
--[[
This is a (useless) generic Widget interface
widgets can be queried about their size and can be paint.
that's it for now. Probably we need something more elaborate
later.
]]
Widget = {
dimen = { w = 0, h = 0},
}
function Widget:new(o)
o = o or {}
setmet... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/VeLugannon_Palace/IDs.lua | 9 | 1665 | -----------------------------------
-- Area: VeLugannon_Palace
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.VELUGANNON_PALACE] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. C... | gpl-3.0 |
Geigerkind/DPSMateTBC | DPSMate/localization/enUS.lua | 1 | 26522 | DPSMate.L["name"] = "DPSMate"
DPSMate.L["popup"] = "Do you want to reset DPSMate?"
DPSMate.L["memory"] = "DPSMate has collected a lot of data. This will cause screen lag during the data saving process upon logout. Do you want to reset DPSMate first?"
DPSMate.L["accept"] = "Accept"
DPSMate.L["decline"] = "Decline"
DPSMa... | gpl-3.0 |
ChaoticMind/OpenRA | mods/ra/maps/soviet-02a/soviet02a.lua | 5 | 5297 | CameraTriggerArea = { CPos.New(42, 45), CPos.New(43, 45), CPos.New(44, 45), CPos.New(45, 45), CPos.New(46, 45), CPos.New(47, 45), CPos.New(48, 45), CPos.New(48, 56), CPos.New(48, 57), CPos.New(48, 58), CPos.New(48, 59), CPos.New(40, 63), CPos.New(41, 63), CPos.New(42, 63), CPos.New(43, 63), CPos.New(44, 63), CPos.New(4... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Bastok_Markets/npcs/Michea.lua | 9 | 3938 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Michea
-- Quest NPC
-- Starts: Father Figure (100%) | The Elvaan Goldsmith (100%)
-- Involed in: Distant Loyalties
-- !pos -298 -16 -157 235
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/npc_util");
r... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/The_Shrouded_Maw/npcs/MementoCircle.lua | 22 | 1461 | -----------------------------------
-- Area: The_Shrouded_Maw
-- NPC: MementoCircle
-----------------------------------
package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/globals/missi... | gpl-3.0 |
Igalia/snabbswitch | lib/luajit/testsuite/test/trace/exit_frame.lua | 6 | 1280 | do --- global assignments !private_G
g = 0
gf = 1
gz = 2
local function f(i)
if i == 90 then
gf = gf + 1
return true
end
g = g + 1
end
local function z(i)
if f(i) then
gz = gz + 1
end
end
for j=1,5 do
for i=1,100 do z(i) end
end
assert(g == 495)
assert... | apache-2.0 |
gwlim/luci | applications/luci-firewall/luasrc/model/cbi/firewall/rules.lua | 62 | 7176 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2010-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
htt... | apache-2.0 |
ibm2431/darkstar | scripts/globals/items/serving_of_newt_flambe.lua | 11 | 1275 | -----------------------------------------
-- ID: 4329
-- Item: serving_of_newt_flambe
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Dexterity 4
-- Mind -3
-- Attack % 18
-- Attack Cap 65
-- Virus Resist 4
-- Curse Resist 4
-----------------------------------------
require("scripts/globa... | gpl-3.0 |
spc476/LPeg-talk | date2.lua | 1 | 2368 | -- **********************************************************************
--
-- Copyright 2015 by Sean Conner. All Rights Reserved.
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, ... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/PsoXja/npcs/_09d.lua | 8 | 1608 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _09d (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos -330.000 14.074 -261.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Pso... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Cloister_of_Flames/mobs/Ifrit_Prime.lua | 1 | 1504 | -----------------------------------
-- Area: Cloister of Flames
-- Mob: Ifrit Prime
-- Involved in Quest: Trial by Fire
-- Involved in Mission: ASA-4 Sugar Coated Directive
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/status");
-... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/abilities/pets/diamond_dust.lua | 34 | 1104 | ---------------------------------------------------
-- Diamond Dust
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/magic");
-------------------------------------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/margherita_pizza_+1.lua | 12 | 1486 | -----------------------------------------
-- ID: 5696
-- Item: margherita_pizza_+1
-- Food Effect: 4hours, All Races
-----------------------------------------
-- HP +35
-- Accuracy +10% (cap 9)
-- Attack +10% (cap 11)
-----------------------------------------
require("scripts/globals/status");
-----------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Residential_Area/Zone.lua | 17 | 1226 | -----------------------------------
--
-- Zone: Residential_Area
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Residential_Area/TextIDs"] = nil;
require("scripts/zones/Residential_Area/TextIDs");
-----------------------------------
-- onInitialize
-------... | gpl-3.0 |
icyxp/kong | kong/templates/nginx_kong.lua | 2 | 5326 | return [[
charset UTF-8;
> if anonymous_reports then
${{SYSLOG_REPORTS}}
> end
error_log ${{PROXY_ERROR_LOG}} ${{LOG_LEVEL}};
> if nginx_optimizations then
>-- send_timeout 60s; # default value
>-- keepalive_timeout 75s; # default value
>-- client_body_timeout 60s; # default value
>-- client_header_ti... | apache-2.0 |
LegionXI/darkstar | scripts/globals/effects/agi_down.lua | 16 | 1106 | -----------------------------------
--
-- EFFECT_AGI_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if ((target:getStat(MOD_AGI) - effect:getPowe... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Northern_San_dOria/npcs/Madaline.lua | 17 | 1634 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Madaline
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Northern_San_dOria/TextIDs");
require("scripts/globals/... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Western_Adoulin/npcs/Berghent.lua | 14 | 2914 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Berghent
-- Type: Standard NPC and Quest NPC
-- Starts, Involved with, and Finishes Quest: 'Flavors of our Lives'
-- @zone 256
-- @pos 95 0 -28 256
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil... | gpl-3.0 |
naclander/tome | game/modules/tome/data/general/objects/random-artifacts/ranged.lua | 1 | 37215 | -- 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 |
Wargus/wargus | scripts/guichan.lua | 1 | 56505 | -- _________ __ __
-- / _____// |_____________ _/ |______ ____ __ __ ______
-- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
-- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
-- /_______ /|__| |__| (____ /__| (____ /\___ /|____//... | gpl-2.0 |
ibm2431/darkstar | scripts/globals/items/plate_of_beef_paella_+1.lua | 11 | 1174 | -----------------------------------------
-- ID: 5973
-- Item: Plate of Beef Paella +1
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- HP 45
-- Strength 6
-- Attack % 19 Cap 95
-- Undead Killer 6
-----------------------------------------
require("scripts/globals/status")
require("scripts/g... | gpl-3.0 |
naclander/tome | game/modules/tome/data/texts/unlock-mage_cryomancer.lua | 3 | 1689 | -- 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/Castle_Oztroja/mobs/Quu_Domi_the_Gallant.lua | 12 | 1276 | -----------------------------------
-- Area: Castle Oztroja (151)
-- MOB: Quu_Domi_the_Gallant
-----------------------------------
-----------------------------------
-- onMobSpawn
-----------------------------------
function onMobSpawn(mob)
if (math.random(1,100) <= 7) then -- Hardcoded "this or this item" dro... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/abilities/pets/fire_ii.lua | 11 | 1042 | ---------------------------------------------------
-- Fire 2
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmoves")
require("scripts/globals/magic")
---------------------------------------------------
functio... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/mobskills/corrosive_ooze.lua | 11 | 1260 | ---------------------------------------------------
-- Corrosive Ooze
-- Family: Slugs
-- Description: Deals water damage to an enemy. Additional Effect: Attack Down and Defense Down.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Radial
-- Notes:
-------------------------------------------... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Dragons_Aery/mobs/Nidhogg.lua | 11 | 1916 | -----------------------------------
-- Area: Dragons Aery
-- HNM: Nidhogg
-----------------------------------
local ID = require("scripts/zones/Dragons_Aery/IDs")
mixins = {require("scripts/mixins/rage")}
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/titles")
----------... | gpl-3.0 |
Igalia/snabbswitch | src/lib/yang/schema.lua | 1 | 55738 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local lib = require("core.lib")
local mem = require("lib.stream.mem")
local parser = require("lib.yang.parser")
local util = require("lib.yang.util")
local maxpc = require("lib.maxpc")
local function error_with_... | apache-2.0 |
Geigerkind/DPSMateTBC | DPSMate_Auras/DPSMate_Details_Auras.lua | 1 | 7314 | -- Global Variables
DPSMate.Modules.Auras = {}
-- Local variables
local DetailsUser = ""
local g, g2
local curKey = 1
local db, cbt = {}, 0
local Buffpos, Debuffpos = 0, 0
local BuffposComp, DebuffposComp = 0, 0
local t1, t2, t3, t4
local t1TL, t2TL, t3TL, t4TL = 0, 0
local _G = getglobal
local tinsert = table.insert
... | gpl-3.0 |
shadog/shado | lock_fwd.lua | 3 | 1654 | ๏ปฟ--[[
#
#ููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููู
#:((
# For More Information ....!
#manstir : < @alasmr_199 >
#
# Version: 1.1
#:))
#ูููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููู
#
]]
do
local function pre_process(ms... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/North_Gustaberg/npcs/Cavernous_Maw_2.lua | 58 | 1887 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Cavernous Maw
-- @pos -78 -0.5 600 106
-- Teleports Players to Abyssea - Grauberg
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setting... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Newton_Movalpolos/npcs/Furnace_Hatch.lua | 30 | 3157 | -----------------------------------
-- Area: Newton Movalpolos
-- NPC: Furnace_Hatch
-----------------------------------
package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Newton_Movalpolos/TextIDs");
-----------------------------------
-- on... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Temple_of_Uggalepih/Zone.lua | 20 | 1821 | -----------------------------------
--
-- Zone: Temple_of_Uggalepih (159)
--
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/abilities/pets/aero_ii.lua | 20 | 1157 | ---------------------------------------------------
-- Aero 2
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/magic");
----------------------------------------------... | gpl-3.0 |
whd/data-pipeline | hindsight/output/crash_summary.lua | 4 | 2895 | -- This Source Code Form is subject to the terms of the Mozilla Public
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at http://mozilla.org/MPL/2.0/.
--[[
Outputs a crash ping summary derived stream in the specified format one table/file per day.
Config:
filename =... | mpl-2.0 |
LegionXI/darkstar | scripts/globals/spells/utsusemi_ichi.lua | 28 | 1085 | -----------------------------------------
-- Spell: Utsusemi: Ichi
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0;
end;
func... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.