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 |
|---|---|---|---|---|---|
greasydeal/darkstar | scripts/zones/Gustav_Tunnel/npcs/Grounds_Tome.lua | 34 | 1136 | -----------------------------------
-- Area: Gustav Tunnel
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(p... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/coral_fungus.lua | 12 | 1191 | -----------------------------------------
-- ID: 4450
-- Item: coral_fungus
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -4
-- Mind 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---------... | gpl-3.0 |
naclander/tome | game/modules/tome/data/gfx/particles/gravity_spike.lua | 3 | 3158 | -- 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/Castle_Oztroja/npcs/_47j.lua | 13 | 1569 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47j (Torch Stand)
-- Notes: Opens door _472 near password #1
-- @pos -62.533 -1.859 -30.634 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/strip_of_bison_jerky.lua | 35 | 1398 | -----------------------------------------
-- ID: 5207
-- Item: strip_of_bison_jerky
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 5
-- Mind -2
-- Attack % 18
-- Attack Cap 70
-----------------------------------------
require("scripts/globals/status");
------------... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/weaponskills/blade_to.lua | 10 | 1417 | -----------------------------------
-- Blade To
-- Katana weapon skill
-- Skill Level: 100
-- Deals ice elemental damage. Damage varies with TP.
-- Aligned with the Snow Gorget & Breeze Gorget.
-- Aligned with the Snow Belt & Breeze Belt.
-- Element: Ice
-- Modifiers: STR:30% INT:30%
-- 100%TP 200%TP 300%TP
-- 0... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/spells/burn.lua | 6 | 2077 | -----------------------------------------
-- Spell: Burn
-- Deals fire damage that lowers an enemy's intelligence and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/bowl_of_sprightly_soup.lua | 11 | 1065 | -----------------------------------------
-- ID: 5930
-- Item: Bowl of Sprightly Soup
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- MP 30
-- Mind 4
-- HP Recovered While Healing 4
-- Enmity -4
-----------------------------------------
require("scripts/globals/status")
require("scripts/gl... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Metalworks/npcs/Patt-Pott.lua | 14 | 2774 | -----------------------------------
-- Area: Metalworks
-- NPC: Patt-Pott
-- Type: Consulate Representative
-- @pos 23 -17 42 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Metalworks/TextIDs");
------------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Qufim_Island/npcs/Singing_Blade_IM.lua | 14 | 3333 | -----------------------------------
-- Area: Qufim Island
-- NPC: Singing Blade, I.M.
-- Type: Border Conquest Guards
-- @pos 179.093 -21.575 -15.282 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conques... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Abyssea-Konschtat/npcs/Cruor_Prospector.lua | 29 | 10716 | -----------------------------------
-- Area: Abyssea - Konschtat
-- NPC: Cruor Prospector
-- Type: Cruor NPC
-- @pos 132.000,-75.856,-822.000 15
-----------------------------------
package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Abyssea-Konsch... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/spells/bluemagic/bad_breath.lua | 25 | 3434 | -----------------------------------------
-- Spell: Bad Breath
-- Deals earth damage that inflicts multiple status ailments on enemies within a fan-shaped area originating from the caster
-- Spell cost: 212 MP
-- Monster Type: Plantoids
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 5
-- Stat Bonus: INT+2, MND+2
... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Quicksand_Caves/mobs/Centurio_IV-VII.lua | 3 | 1426 | -----------------------------------
-- Area: Quicksand Caves
-- MOB: Centurio IV-VII
-- Pops in Bastok mission 8-1 "The Chains that Bind Us"
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Quicksand_Caves/TextIDs");
-----------------------------------
-- on... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Quicksand_Caves/npcs/qm5.lua | 11 | 2025 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: ??? (qm5)
-- Involved in Quest: The Missing Piece
-- positions:
-- 1: !pos 770 0 -419
-- 2: !pos 657 0 -537
-- 3: !pos 749 0 -573
-- 4: !pos 451 -16 -739
-- 5: !pos 787 -16 -819
-- spawn in npc_list is 770 0 -419
-----------------------------------
l... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/mobskills/fiery_breath.lua | 11 | 1307 | ---------------------------------------------
-- Fiery Breath
--
-- Description: Deals Fire damage to enemies within a fan-shaped area.
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes: Used only by Tiamat, Smok and Ildebrann
---------------------------------------------
r... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/meatloaf_+1.lua | 11 | 1092 | -----------------------------------------
-- ID: 5690
-- Item: Meatloaf +1
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- Strength 6
-- Agility 2
-- Intelligence -3
-- Attack 18% Cap 95
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/ms... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/weaponskills.lua | 3 | 37132 | -- Contains all common weaponskill calculations including but not limited to:
-- fSTR
-- Alpha
-- Ratio -> cRatio
-- min/max cRatio
-- applications of fTP
-- applications of critical hits ('Critical hit rate varies with TP.')
-- applications of accuracy mods ('Accuracy varies with TP.')
-- applications of damage mods (... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/rolanberry_daifuku_+1.lua | 12 | 2292 | -----------------------------------------
-- ID: 6340
-- Item: rolanberry_daifuku_+1
-- Food Effect: 60 Min, All Races
-----------------------------------------
-- HP +30
-- VIT +4
-- Accuracy +11% (cap 54)
-- Ranged Accuracy +11% (cap 54)
-- Magic Accuracy +4
-- Pet:
-- HP +30
-- VIT +4
-- Accuracy +11% (cap 81)
-- Ra... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Windurst_Waters/npcs/Dagoza-Beruza.lua | 14 | 1053 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Dagoza-Beruza
-- Type: Mission NPC
-- @zone 238
-- @pos -54.523 -6 229.271
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------... | gpl-3.0 |
destroyerdust/Class-Hall | Libs/LibStub/LibStub.lua | 184 | 1367 | -- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info
-- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER MAKE THIS AN SVN REVI... | mit |
LegionXI/darkstar | scripts/zones/Port_Windurst/npcs/Khel_Pahlhama.lua | 14 | 1243 | -----------------------------------
-- Area: Port Bastok
-- NPC: Khel Pahlhama
-- Linkshell merchant
-- @pos 21 -2 -20 240
-- Confirmed shop stock, August 2013
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
evrooije/beerarchy | mods/tnt/init.lua | 1 | 18610 | tnt = {}
-- Default to enabled when in singleplayer
local enable_tnt = minetest.settings:get_bool("enable_tnt")
if enable_tnt == nil then
enable_tnt = minetest.is_singleplayer()
end
-- loss probabilities array (one in X will be lost)
local loss_prob = {}
loss_prob["default:cobble"] = 3
loss_prob["default:dirt"] = 4... | lgpl-2.1 |
greasydeal/darkstar | scripts/zones/Abyssea-Grauberg/npcs/Cruor_Prospector.lua | 33 | 1112 | -----------------------------------
-- Area: Abyssea - Grauberg
-- NPC: Cruor Prospector
-- Type: Cruor NPC
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/abyssea")... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Crawlers_Nest/npcs/qm10.lua | 57 | 2127 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: qm10 (??? - Exoray Mold Crumbs)
-- Involved in Quest: In Defiant Challenge
-- @pos -83.391 -8.222 79.065 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
bacsmar/Urho3D | Source/Urho3D/LuaScript/pkgs/ToDoxHook.lua | 2 | 18824 | -- Copyright (c) 2008-2022 the Urho3D project
-- License: MIT
classes = {}
enumerates = {}
globalConstants = {}
globalFunctions = {}
globalProperties = {}
currentClass = nil
currentFunction = nil
curDir = nil
function classClass:print(ident,close)
local class = {}
class.name = self.name
class.base = self.base
... | mit |
christopho/entropy2048 | game_manager.lua | 1 | 10685 | -- Entropy 2048, an artificial player for 2048.
-- Copyright (C) 2014 Christophe Thiéry
-- 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)... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/La_Theine_Plateau/npcs/Galaihaurat.lua | 9 | 2205 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Galaihaurat
-- Involved in Mission: The Rescue Drill
-- !pos -482 -7 222 102
-----------------------------------
require("scripts/globals/missions");
local ID = require("scripts/zones/La_Theine_Plateau/IDs");
-----------------------------------
fu... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/spells/hydrohelix.lua | 12 | 2049 | --------------------------------------
-- Spell: Hydrohelix
-- Deals water damage that gradually reduces
-- a target's HP. Damage dealt is greatly affected by the weather.
--------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/magic")
------... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/plate_of_boiled_barnacles.lua | 36 | 1279 | -----------------------------------------
-- ID: 5980
-- Item: Plate of Boiled Barnacles
-- Food Effect: 30 Mins, All Races
-----------------------------------------
-- Charisma -3
-- Defense % 25 Cap 130
-----------------------------------------
require("scripts/globals/status");
------------------------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/bowl_of_shimmy_soup.lua | 12 | 1376 | -----------------------------------------
-- ID: 5931
-- Item: Bowl of Shimmy Soup
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- MP 32
-- Mind 5
-- HP Recovered While Healing 5
-- Enmity -5
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/West_Sarutabaruta/npcs/Stone_Monument.lua | 32 | 1299 | -----------------------------------
-- 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;
-----------------------------------
... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/dish_of_spaghetti_nero_di_seppia_+1.lua | 11 | 1530 | -----------------------------------------
-- ID: 5202
-- Item: Dish of Spaghetti Nero Di Seppia +1
-- Food Effect: 60 Mins, All Races
-----------------------------------------
-- HP % 17 (cap 140)
-- Dexterity 3
-- Vitality 2
-- Agility -1
-- Mind -2
-- Charisma -1
-- Double Attack 1
-- Store TP 6
---------------------... | gpl-3.0 |
pfandrade/google-diff-match-patch | lua/diff_match_patch.lua | 265 | 73869 | --[[
* Diff Match and Patch
*
* Copyright 2006 Google Inc.
* http://code.google.com/p/google-diff-match-patch/
*
* Based on the JavaScript implementation by Neil Fraser.
* Ported to Lua by Duncan Cross.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance ... | apache-2.0 |
ibm2431/darkstar | scripts/globals/spells/meteor.lua | 12 | 2112 | -----------------------------------------
-- Spell: Meteor
-- Deals non-elemental damage to an enemy.
-----------------------------------------
require("scripts/globals/monstertpmoves")
require("scripts/globals/settings")
require("scripts/globals/magic")
require("scripts/globals/status")
require("scripts/globals/msg")
... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Windurst_Waters/npcs/Shohrun-Tuhrun.lua | 36 | 1960 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Shohrun-Tuhrun
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/zones/Windurst... | gpl-3.0 |
evrooije/beerarchy | mods/00_bt_inventory/unified_inventory/internal.lua | 8 | 12455 | local S = unified_inventory.gettext
local F = unified_inventory.fgettext
-- This pair of encoding functions is used where variable text must go in
-- button names, where the text might contain formspec metacharacters.
-- We can escape button names for the formspec, to avoid screwing up
-- form structure overall, but t... | lgpl-2.1 |
kellyjf/wireshark | test/lua/pcre_sets.lua | 35 | 6911 | -- See Copyright Notice in the file lrexlib.h
local luatest = require "luatest"
local N = luatest.NT
local function norm(a) return a==nil and N or a end
local function fill (n, m)
local t = {}
for i = n, m, -1 do table.insert (t, i) end
return t
end
local function set_named_subpatterns (lib, flg)
return {
... | gpl-2.0 |
06192010/BoL-8 | Common/SidasAutoCarryPlugin - JarvanIV.lua | 2 | 2285 | --[[
SAC Jarvan IV plugin (PRIVATE)
Version 1.0
- Initial release
Version 1.1
- Banner combo fixed
Version 1.2
- Converted to iFoundation_v2
--]]
require "iFoundation_v2"
local SkillQ = Caster(_Q, 770, SPELL_LINEAR, math.huge, 0.200, 100, true)
local SkillW = Caster(_W, math.huge, SPELL_SELF)
local Skill... | gpl-2.0 |
ibm2431/darkstar | scripts/globals/mobskills/bomb_toss_suicide.lua | 10 | 1104 | ---------------------------------------------------
-- Bomb Toss - Suicide
-- Throws a bomb at an enemy. Sometimes backfires.
---------------------------------------------
require("scripts/globals/monstertpmoves")
require("scripts/globals/settings")
require("scripts/globals/status")
------------------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/mobskills/PW_Head_Snatch.lua | 13 | 1029 | ---------------------------------------------
-- Head Snatch
--
-- Description: Grabs a single target's head.
-- Type: Physical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Melee
-- Notes: Only used by Gurfurlur the Menacing. Reduces HP to 10%.
---------------------------------------------
require("scri... | gpl-3.0 |
naclander/tome | game/modules/tome/data/talents/spells/aegis.lua | 3 | 6309 | -- 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 |
chanko08/KillerLibrarian2 | systems/animation.lua | 2 | 1851 | local animation = {}
animation.system = tiny.processingSystem()
animation.system.filter = tiny.requireAll('animations')
function animation.system:process(entity, dt)
entity.current_animation:update(dt)
end
animation.renderer = tiny.processingSystem()
animation.renderer.draw = true
animation.renderer.wi... | mit |
greasydeal/darkstar | scripts/globals/mobskills/Ill_Wind.lua | 15 | 1309 | ---------------------------------------------
-- Ill Wind
-- Description: Deals Wind damage to enemies within an area of effect. Additional effect: Dispel
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes Shadows
-- Range: Unknown radial
-- Notes: Only used by Puks in Mamook, Besieged, and the following Noto... | gpl-3.0 |
Igalia/snabbswitch | lib/pflua/src/pf/libpcap.lua | 26 | 2902 | module(...,package.seeall)
local ffi = require("ffi")
local types = require("pf.types") -- Load FFI declarations.
local pcap -- The pcap library, lazily loaded.
local verbose = os.getenv("PF_VERBOSE");
local MAX_UINT32 = 0xffffffff
ffi.cdef[[
typedef struct pcap pcap_t;
const char *pcap_lib_version(void);
int pcap_... | apache-2.0 |
LegionXI/darkstar | scripts/zones/Throne_Room/mobs/Shadow_Lord.lua | 23 | 5454 | -----------------------------------
-- Area: Throne Room
-- MOB: Shadow Lord
-- Mission 5-2 BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMob... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Torino-Samarino.lua | 9 | 2648 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Torino-Samarino
-- Type: Quest NPC
-- Involved in Quests: Curses, Foiled A-Golem!?, Tuning Out
-- !pos 105 -20 140 111
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
local ID = requi... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/humpty_dumpty_effigy.lua | 11 | 1096 | -----------------------------------------
-- ID: 5683
-- Item: humpty_dumpty_effigy
-- Food Effect: 3 hours, All Races
-----------------------------------------
-- Max HP % 6 (cap 160)
-- Max MP % 6 (cap 160)
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
----... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Rohn_Ehlbalna.lua | 14 | 1064 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Rohn Ehlbalna
-- Type: Standard NPC
-- @zone 94
-- @pos -43.473 -4.5 46.496
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/plate_of_ic_pilav.lua | 12 | 1953 | -----------------------------------------
-- ID: 5584
-- Item: plate_of_ic_pilav
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health % 14
-- Health Cap 65
-- Strength 4
-- Vitality -1
-- Intelligence -1
-- Health Regen While Healing 1
-- Attack % 22
-- Attack Cap 65
-- Ranged ATT % 22
... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/weaponskills/cataclysm.lua | 23 | 1521 | -----------------------------------
-- Cataclysm
-- Skill level: 290
-- Delivers light elemental damage. Additional effect: Flash. Chance of effect varies with TP.
-- Generates a significant amount of Enmity.
-- Does not stack with Sneak Attack
-- Aligned with Aqua Gorget.
-- Aligned with Aqua Belt.
-- Properties:
-- E... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Western_Adoulin/npcs/Barenngo.lua | 14 | 1459 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Barenngo
-- Type: Standard NPC and Quest NPC
-- Involved with Quests: 'Dont Ever Leaf Me'
-- @zone 256
-- @pos -101 3 14 256
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
-- onTrade A... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Dynamis-Jeuno/mobs/Goblin_Statue.lua | 17 | 5156 | -----------------------------------
-- Area: Dynamis Jeuno
-- NPC: Goblin Statue
-- Map1 Position: http://images3.wikia.nocookie.net/__cb20090312005127/ffxi/images/b/bb/Jeu1.jpg
-- Map2 Position: http://images4.wikia.nocookie.net/__cb20090312005155/ffxi/images/3/31/Jeu2.jpg
-- Vanguard Position: http://faranim.li... | gpl-3.0 |
gwlim/luci | applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-cdr.lua | 80 | 1878 | --[[
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
h... | apache-2.0 |
ibm2431/darkstar | scripts/zones/Port_San_dOria/npcs/Fiva.lua | 11 | 1215 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Fiva
-- Kolshushu Regional Merchant
-----------------------------------
local ID = require("scripts/zones/Port_San_dOria/IDs")
require("scripts/globals/conquest")
require("scripts/globals/npc_util")
require("scripts/globals/quests")
require("scripts/... | gpl-3.0 |
knl/hammerspoon | extensions/inspect/init.lua | 11 | 10601 | --- === hs.inspect ===
---
--- Produce human-readable representations of Lua variables (particularly tables)
---
--- This extension is based on inspect.lua by Enrique García Cota
--- https://github.com/kikito/inspect.lua
local inspect ={
_VERSION = 'inspect.lua 3.0.0',
_URL = 'http://github.com/kikito/inspect.... | mit |
greasydeal/darkstar | scripts/zones/Castle_Oztroja/Zone.lua | 28 | 1816 | -----------------------------------
--
-- Zone: Castle_Oztroja (151)
--
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Castle_Ozt... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rp.lua | 14 | 1660 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna_Aqueduct... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Port_San_dOria/npcs/Prietta.lua | 9 | 1171 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Prietta
-- Standard Info NPC
-----------------------------------
local ID = require("scripts/zones/Port_San_dOria/IDs");
require("scripts/globals/quests");
-----------------------------------
function onTrade(player,npc,trade)
if (player:getQues... | gpl-3.0 |
naclander/tome | game/modules/tome/data/talents/gifts/oozing-blades.lua | 3 | 7438 | -- 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 ... | gpl-3.0 |
siktirmirza/supergp | plugins/lock_ads.lua | 19 | 1159 | local function run(msg, matches)
if is_owner(msg) then
return
end
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)] then
if data[tostring(msg.to.id)]['settings'] then
if data[tostring(msg.to.id)]['settings']['lock_ads'] then
lock_ads... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Temenos/mobs/Light_Elemental.lua | 17 | 1674 | -----------------------------------
-- Area: Temenos E T
-- NPC: Light_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
----------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/mobskills/Dark_Wave.lua | 33 | 1185 | ---------------------------------------------
-- Dark Wave
--
-- Description: A wave of dark energy washes over targets in an area of effect. Additional effect: Bio
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: 10' radial
-- Notes: Severity of Bio effect varies by time of day, from 8/tic at... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ragyaya.lua | 14 | 1056 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ragyaya
-- Type: Standard NPC
-- @zone 94
-- @pos -95.376 -3 60.795
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
--------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Bastok_Markets/npcs/Rabid_Wolf_IM.lua | 13 | 5586 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Rabid Wolf, I.M.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Run Missions an... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/coeurl_sub_+1.lua | 35 | 1922 | -----------------------------------------
-- ID: 5167
-- Item: coeurl_sub_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 15
-- Strength 6
-- Agility 1
-- Intelligence -2
-- Health Regen While Healing 1
-- Attack % 22
-- Attack Cap 80
-- Ranged ATT % 22
-- Ranged ATT ... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Crochepallade.lua | 36 | 1043 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Crochepallade -- Name is Moogle for some reason
-- @zone 80
-- @pos -46 2 -8
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextI... | gpl-3.0 |
ricker75/Global-Server | data/npc/scripts/Palimuth.lua | 2 | 18603 | 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, ... | gpl-2.0 |
LegionXI/darkstar | scripts/zones/Windurst_Walls/npcs/Juvillie.lua | 14 | 1054 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Juvillie
-- Type: Event Replayer
-- @zone 239
-- @pos -180.731 -3.451 143.138
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
----------... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/weaponskills/shadowstitch.lua | 10 | 1773 | -----------------------------------
-- Shadowstitch
-- Dagger weapon skill
-- Skill level: 70
-- Binds target. Chance of binding varies with TP.
-- Does stack with Sneak Attack.
-- Aligned with the Aqua Gorget.
-- Aligned with the Aqua Belt.
-- Element: None
-- Modifiers: CHR:100%
-- 100%TP 200%TP 300%TP
-- 1.00 ... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Lower_Jeuno/npcs/Navisse.lua | 12 | 4166 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Navisse
-- Standard Info NPC
-----------------------------------
require("scripts/globals/pathfind");
-----------------------------------
local path =
{
-- -59.562683, 6.000051, -90.890404,
-58.791367, 6.000050, -91.663391,
-58.021465, 6.000049, -92.432... | gpl-3.0 |
McSimp/Borderlands2SDK | lua/includes/modules/luaextensions/inspect.lua | 10 | 8116 | local inspect ={
_VERSION = 'inspect.lua 2.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
... | mit |
ibm2431/darkstar | scripts/globals/weaponskills/metatron_torment.lua | 10 | 2376 | -----------------------------------
-- Metatron Torment
-- Hand-to-Hand Skill level: 5 Description: Delivers a threefold attack. Damage varies wit weapon skill
-- Great Axe Weapon Skill
-- Skill Level: N/A
-- Lowers target's defense. Additional effect: temporarily lowers damage taken from enemies.
-- Defense Down effec... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Sacrificial_Chamber/bcnms/amphibian_assault.lua | 19 | 1761 | -----------------------------------
-- Area: Sacrificial Chamber
-- Name: Amphibian Assualt
-- BCNM60
-----------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Sacrificial_Chamber/TextIDs");
---------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Jugner_Forest_[S]/mobs/Lobison.lua | 17 | 1817 | -----------------------------------
-- Area: Jugner Forest (S)
-- NPC: Lobison
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
mob:setLocalVar("transformTime", os.time())
end;
-----------------------------... | gpl-3.0 |
naclander/tome | game/modules/tome/data/zones/deep-bellow/grids.lua | 3 | 1045 | -- 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/events/sludgenest.lua | 1 | 1898 | -- 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 |
pokemoncentral/wiki-lua-modules | Helditemslist.lua | 1 | 4128 | --[[
Module to create an entry in the list of Pokémon by wild held items.
--]]
local h = {}
local txt = require('Wikilib-strings') -- luacheck: no unused
local tab = require('Wikilib-tables') -- luacheck: no unused
local oop = require('Wikilib-oop')
local list = require('Wikilib-lists')
local mul... | cc0-1.0 |
naclander/tome | game/modules/tome/data/gfx/particles/uttercold.lua | 3 | 1363 | -- 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/items/crescent_fish.lua | 11 | 1049 | -----------------------------------------
-- ID: 4473
-- Item: crescent_fish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
----------------------------------... | gpl-3.0 |
ricker75/Global-Server | data/actions/scripts/tumba horestis/horestis.lua | 2 | 4085 | local config = {
randomText = {"Waaaaaah", "You are too afraid to destroy this object"},
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
local exaustedSeconds = 10
local player = Player(cid)
local chances = math.random(20)
if item.actionid == 56530 then
if(item.itemid == 13736) then
if getPlayer... | gpl-2.0 |
aginor/wesnoth | data/lua/wml/message.lua | 1 | 7190 |
local helper = wesnoth.require "lua/helper.lua"
local utils = wesnoth.require "lua/wml-utils.lua"
local location_set = wesnoth.require "lua/location_set.lua"
local _ = wesnoth.textdomain "wesnoth"
local function log(msg, level)
wesnoth.wml_actions.wml_message({
message = msg,
logger = level,
})
end
local funct... | gpl-2.0 |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ControlColourPicker.lua | 11 | 3144 |
--------------------------------
-- @module ControlColourPicker
-- @extend Control
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ControlColourPicker] hueSliderValueChanged
-- @param self
-- @param #cc.Ref sender
-- @param #int controlEvent
-- @return ControlColourPicker#ControlColou... | mit |
LegionXI/darkstar | scripts/globals/items/crayfish.lua | 12 | 1445 | -----------------------------------------
-- ID: 4472
-- Item: crayfish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -3
-- Vitality 1
-- defense +10% (unknown cap)
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/RuLude_Gardens/npcs/Tillecoe.lua | 38 | 1037 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Tillecoe
-- Type: Standard NPC
-- @zone: 243
-- @pos 38.528 -0.997 -6.363
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
------------... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Monastic_Cavern/npcs/Altar.lua | 9 | 1281 | -----------------------------------
-- Area: Monastic Cavern
-- NPC: Altar
-- Involved in Quests: The Circle of Time
-- !pos 108 -2 -144 150
-----------------------------------
local ID = require("scripts/zones/Monastic_Cavern/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/quests")
----------------... | gpl-3.0 |
ricker75/Global-Server | data/npc/scripts/Rock Steady.lua | 2 | 3151 | 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 |
ediiknorand/yggdrai | USER_AI/profiles/farm.lua | 1 | 2573 | -- const
local CONST = dofile("./AI/USER_AI/lib/const.lua")
local ST = dofile("./AI/USER_AI/lib/state.lua")
-- var
local hunted = {}
-- util
local function getGoodMobs(me)
local actors = getActors()
local players = actors/{'player', 'summon'} - (me + me.owner)
local mobs = actors^{me, me.owner, -1, 'monster'}/'mo... | mit |
LegionXI/darkstar | scripts/globals/items/bunny_ball.lua | 12 | 1724 | -----------------------------------------
-- ID: 4349
-- Item: Bunny Ball
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health 10
-- Strength 2
-- Vitality 2
-- Intelligence -1
-- Attack % 30 (cap 30)
-- Ranged ATT % 30 (cap 30)
-----------------------------------------
require("script... | gpl-3.0 |
mohammad25253/teamstar | plugins/ingroup.lua | 37 | 31653 | do
local function check_member(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostring(msg.to.id)] = {
... | gpl-2.0 |
LegionXI/darkstar | scripts/zones/Northern_San_dOria/npcs/Cauzeriste.lua | 14 | 1241 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Cauzeriste
-- Guild Merchant NPC: Woodworking Guild
-- @pos -175.946 3.999 280.301 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
naclander/tome | game/modules/tome/data/gfx/particles/lighttrail.lua | 3 | 1682 | -- 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/globals/mobskills/Calcifying_Deluge.lua | 25 | 1064 | ---------------------------------------------
-- Calcifying Deluge
--
-- Description: Delivers a threefold ranged attack to targets in an area of effect. Additional effect: Petrification
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown
-- Notes: Used only by Medusa.
--------------... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/plate_of_felicifruit_gelatin.lua | 12 | 1387 | -----------------------------------------
-- ID: 5978
-- Item: Plate of Felicifruit Gelatin
-- Food Effect: 180 Min, All Races
-----------------------------------------
-- MP % 5 Cap 100
-- Intelligence +7
-- MP Healing +3
-----------------------------------------
require("scripts/globals/status");
------------------... | gpl-3.0 |
lua-widgets/lua-dbg | debugger.lua | 1 | 49285 | local _G = _G
local loadstring = loadstring
local require = require
local tonumber = tonumber
local string = require("string")
local io = require("io")
local debug = require("debug")
local coroutineEnhanced = require("coroutineEnhanced")
local stringEnhanced = require("stringEnhanced")
local package = packag... | apache-2.0 |
BackupGGCode/teebx | misc/lua/parse-db.lua | 4 | 2543 | -- --- T2-COPYRIGHT-NOTE-BEGIN ---
-- This copyright note is auto-generated by ./scripts/Create-CopyPatch.
--
-- T2 SDE: misc/lua/parse-db.lua
-- Copyright (C) 2005 - 2006 The T2 SDE Project
--
-- More information can be found in the files COPYING and README.
--
-- This program is free software; you can redistribute... | gpl-2.0 |
marinehero/wax | lib/stdlib/luaspec/luamock.lua | 19 | 2283 | Mock = { calls = {}, return_values = {} }
-- we store all calls and requested return values indexed
-- by the mock object, we don't want to hold onto references
-- when they should be garbage collected to make the tables
-- be weak
setmetatable(Mock.calls, { __mode="k" })
setmetatable(Mock.return_values, { __mode="k" ... | mit |
ibm2431/darkstar | scripts/globals/items/pearlscale.lua | 11 | 1049 | -----------------------------------------
-- ID: 5714
-- Item: Pearlscale
-- Food Effect: 5 Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
------------------------------------... | gpl-3.0 |
softer/prosody-modules | mod_lastlog/mod_lastlog.lua | 32 | 2636 | local datamanager = require "util.datamanager";
local jid = require "util.jid";
local time = os.time;
local log_ip = module:get_option_boolean("lastlog_ip_address", false);
local host = module.host;
module:hook("authentication-success", function(event)
local session = event.session;
if session.username then
datama... | mit |
LegionXI/darkstar | scripts/zones/Norg/npcs/Chiyo.lua | 14 | 1298 | -----------------------------------
-- Area: Norg
-- NPC: Chiyo
-- Type: Tenshodo Merchant
-- @pos 5.801 0.020 -18.739 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop");... | gpl-3.0 |
lbthomsen/openwrt-luci | applications/luci-app-mjpg-streamer/luasrc/model/cbi/mjpg-streamer.lua | 5 | 7800 | -- Copyright 2014 Roger D <rogerdammit@gmail.com>
-- Licensed to the public under the Apache License 2.0.
m = Map("mjpg-streamer", "MJPG-streamer", translate("mjpg streamer is a streaming application for Linux-UVC compatible webcams"))
--- General settings ---
section_gen = m:section(TypedSection, "mjpg-streamer", t... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.