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 |
|---|---|---|---|---|---|
kjl2y/darkstar | scripts/globals/items/pumpkin_cake.lua | 18 | 1240 | -----------------------------------------
-- ID: 5631
-- Item: Pumpkin Cake
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP Recovered while healing +2
-- MP Recovered while healing +4
-----------------------------------------
require("scripts/globals/status");
--... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/texts/tutorial/stats/mechintro.lua | 3 | 1057 | -- 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 |
najafimohammad09/najafimohammad09-dj-bot | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | gpl-2.0 |
Igdra/darkstar | scripts/zones/Metalworks/npcs/Amulya.lua | 27 | 1178 | -----------------------------------
-- Area: Metalworks
-- NPC: Amulya
-- Type: Guild Merchant (Blacksmithing Guild)
-- @pos -106.093 0.999 -24.564 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
Igdra/darkstar | scripts/globals/abilities/focalization.lua | 26 | 1150 | -----------------------------------
-- Ability: Focalization
-- Increases the accuracy of your next black magic spell.
-- Obtained: Scholar Level 75
-- Recast Time: Stratagem Charge
-- Duration: 1 black magic spell or 60 seconds, whichever occurs first
--
-- Level |Charges |Recharge Time per Charge
-- ----- -------... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/abilities/focalization.lua | 26 | 1150 | -----------------------------------
-- Ability: Focalization
-- Increases the accuracy of your next black magic spell.
-- Obtained: Scholar Level 75
-- Recast Time: Stratagem Charge
-- Duration: 1 black magic spell or 60 seconds, whichever occurs first
--
-- Level |Charges |Recharge Time per Charge
-- ----- -------... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Bastok_Markets/npcs/Brygid.lua | 25 | 6721 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Brygid
-- Start & Finishes Quest: Brygid the Stylist & Brygid the Stylist Returns
-- Involved in Quests: Riding on the Clouds
-- @zone 235
-- @pos -90 -4 -108
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] =... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/gfx/particles/dark_inferno.lua | 3 | 1530 | -- 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 |
kjl2y/darkstar | scripts/zones/Nashmau/TextIDs.lua | 15 | 1843 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_CANNOT_BE_OBTAINEDX = 6378; -- You cannot obtain the
ITEM_OBTAINED = 6384; -- Obtained: <item>
ITEM_OBTAINEDX = 6393; -- You obtai... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Port_Bastok/npcs/Juroro.lua | 26 | 5882 | -----------------------------------
-- Area: Port Bastok
-- NPC: Juroro
-- Starts and Finishes Quest: Trial by Earth
-- @pos 32 7 -41 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Port_Bastok/npcs/Juroro.lua | 26 | 5882 | -----------------------------------
-- Area: Port Bastok
-- NPC: Juroro
-- Starts and Finishes Quest: Trial by Earth
-- @pos 32 7 -41 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
mattrudder/tundra | scripts/tundra/tools/dotnet.lua | 28 | 1125 | module(..., package.seeall)
local frameworkDir = "c:\\Windows\\Microsoft.NET\\Framework"
local defaultFrameworkVersion = "v3.5"
function apply(env, options)
tundra.unitgen.load_toolset("generic-dotnet", env)
local version = options and assert(options.Version) or defaultFrameworkVersion
env:set_external_env_var... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Cloister_of_Frost/bcnms/sugar-coated_directive.lua | 27 | 1819 | ----------------------------------------
-- Area: Cloister of Frost
-- BCNM: Sugar Coated Directive (ASA-4)
-- @pos -721 0 -598 207
----------------------------------------
package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil;
----------------------------------------
require("scripts/globals/keyitems");
req... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Maze_of_Shakhrami/npcs/Grounds_Tome.lua | 30 | 1106 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,np... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Mhaura/npcs/Runito-Monito.lua | 17 | 1508 | -----------------------------------
-- Area: Mhaura
-- NPC: Runito-Monito
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/shop");
-------------------... | gpl-3.0 |
invisiblek/android_external_skia | tools/lua/bbh_filter.lua | 207 | 4407 | -- bbh_filter.lua
--
-- This script outputs info about 'interesting' skp files,
-- where the definition of 'interesting' changes but is roughly:
-- "Interesting for bounding box hierarchy benchmarks."
--
-- Currently, the approach is to output, in equal ammounts, the names of the files that
-- have most commands, and t... | bsd-3-clause |
Purity-Lollipop/platform_external_skia | tools/lua/bbh_filter.lua | 207 | 4407 | -- bbh_filter.lua
--
-- This script outputs info about 'interesting' skp files,
-- where the definition of 'interesting' changes but is roughly:
-- "Interesting for bounding box hierarchy benchmarks."
--
-- Currently, the approach is to output, in equal ammounts, the names of the files that
-- have most commands, and t... | bsd-3-clause |
Igdra/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm18.lua | 57 | 2138 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm18 (??? - Bomb Coal Fragments)
-- Involved in Quest: In Defiant Challenge
-- @pos -13.425,-1.176,191.669 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
r... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/abilities/steal.lua | 12 | 3219 | -----------------------------------
-- Ability: Steal
-- Steal items from enemy.
-- Obtained: Thief Level 5
-- Recast Time: 5:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-- these are the quadavs that the thf af1 item can be stolen... | gpl-3.0 |
f5dfgmg5zxxs84hnjryk868fgjg1455jgutyhfu/nod3232 | plugins/plugins.lua | 134 | 6165 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists( ... | gpl-2.0 |
tehran980/maxbot2 | plugins/plugins.lua | 134 | 6165 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists( ... | gpl-2.0 |
alireza1998/nod32 | bot/utils.lua | 494 | 23873 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
Igdra/darkstar | scripts/zones/Carpenters_Landing/mobs/Cryptonberry_Assassin.lua | 23 | 1408 | -----------------------------------
-- Area: Carpenters' Landing
-- MOB: Cryptonberry_Assassin
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-- onMobFight Action
----... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Beaucedine_Glacier_[S]/npcs/Gray_Colossus_LC.lua | 13 | 1086 | -----------------------------------
-- Area: Beaucedine Glacier (S)
-- NPC: Gray Colossus, L.C.
-- Type: Campaign Arbiter
-- @zone: 136
-- @pos 76.178 -60.763 -48.775
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier... | gpl-3.0 |
haste/ivar2 | modules/rottentomatoes.lua | 2 | 1922 | local colorize = function(score)
if tonumber(score) > 50 then
return ivar2.util.red(string.format("%s%%", score))
else
return ivar2.util.green(string.format("%s%%", score))
end
end
local parseData = function(source, destination, data, search)
data = ivar2.util.json.decode(data)
local found
for i=1, #data.mo... | mit |
ld-test/zee | src/help.lua | 2 | 2086 | -- Self documentation facility functions
--
-- Copyright (c) 2010-2012 Free Software Foundation, Inc.
--
-- This file is part of Zee.
--
-- 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... | gpl-3.0 |
Igdra/darkstar | scripts/globals/spells/shock.lua | 17 | 1852 | -----------------------------------------
-- Spell: Shock
-- Deals lightning damage that lowers an enemy's mind and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
----------------------------... | gpl-3.0 |
daniel-david-gabriel/Errant-Audubon | lua/persistence/json.lua | 6 | 7159 | --[[ json.lua
A compact pure-Lua JSON library.
The main functions are: json.stringify, json.parse.
## json.stringify:
This expects the following to be true of any tables being encoded:
* They only have string or number keys. Number keys must be represented as
strings in json; this is part of the json spec.
* Th... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/maps/zones/eruan-last.lua | 3 | 4286 | -- 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 |
Igdra/darkstar | scripts/zones/Valkurm_Dunes/npcs/Tebubu_WW.lua | 14 | 3324 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Tebubu, W.W.
-- Border Conquest Guards
-- @pos 908.245 -1.171 -411.504 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
requir... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Abyssea-La_Theine/npcs/qm6.lua | 14 | 1347 | -----------------------------------
-- Zone: Abyssea-LaTheine
-- NPC: qm6 (???)
-- Spawns Grandgousier
-- @pos ? ? ? 132
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
... | gpl-3.0 |
Igdra/darkstar | scripts/globals/items/pot_of_san_dorian_tea.lua | 18 | 1188 | -----------------------------------------
-- ID: 4494
-- Item: pot_of_san_dorian_tea
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Vitality -2
-- Charisma 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItem... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/items/pot_of_san_dorian_tea.lua | 18 | 1188 | -----------------------------------------
-- ID: 4494
-- Item: pot_of_san_dorian_tea
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Vitality -2
-- Charisma 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItem... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Wyatt.lua | 13 | 2061 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Wyatt
-- @zone 80
-- @pos 124 0 84
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("s... | gpl-3.0 |
kjl2y/darkstar | scripts/commands/deleffect.lua | 21 | 1119 | ---------------------------------------------------------------------------------------------------
-- func: addeffect
-- desc: Adds the given effect to the given player.
---------------------------------------------------------------------------------------------------
require("scripts/globals/status");
cmdprops =
{... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/gfx/particles/feed_health.lua | 3 | 1797 | -- 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 |
festevezga/ToME---t-engine4 | game/modules/tome/data/quests/temporal-rift.lua | 3 | 1395 | -- 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 |
Igdra/darkstar | scripts/zones/Cloister_of_Storms/npcs/Lightning_Protocrystal.lua | 27 | 1967 | -----------------------------------
-- Area: Cloister of Storms
-- NPC: Lightning Protocrystal
-- Involved in Quests: Trial by Lightning
-- @pos 534.5 -13 492 202
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil;
-------------------------------------
require("script... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Cloister_of_Storms/npcs/Lightning_Protocrystal.lua | 27 | 1967 | -----------------------------------
-- Area: Cloister of Storms
-- NPC: Lightning Protocrystal
-- Involved in Quests: Trial by Lightning
-- @pos 534.5 -13 492 202
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil;
-------------------------------------
require("script... | gpl-3.0 |
Igdra/darkstar | scripts/globals/items/plate_of_ic_pilav_+1.lua | 18 | 1948 | -----------------------------------------
-- ID: 5585
-- Item: plate_of_ic_pilav_+1
-- Food Effect: 240Min, 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 % ... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/zones/tutorial-combat-stats/traps.lua | 3 | 12006 | -- 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 |
e-lab/torch7-demos | saliency-itti/run.lua | 1 | 4935 | #!/usr/bin/env qlua
------------------------------------------------------------
-- a simple convnet saliency demo
-- takes output of convnet 1st layer and displays it
require 'qt'
require 'qtwidget'
require 'qtuiloader'
require 'camera'
require 'nnx'
require 'ffmpeg'
-- parse args
op = xlua.OptionParser('%prog [opti... | bsd-3-clause |
kjl2y/darkstar | scripts/zones/Northern_San_dOria/npcs/Dauperiat.lua | 25 | 3507 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Dauperiat
-- Starts and Finishes Quest: Blackmail (R)
-- @zone 231
-- @pos
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setting... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/general/npcs/yaech.lua | 2 | 3851 | -- 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 |
PhoNoTheSky/cursed-exp | prototypes/entities/cursed-minions.lua | 1 | 2237 | function runanimation()
return
{
layers=
{
{
width = 64,
height = 72,
frame_count = 5,
axially_symmetrical = false,
direction_count = 16,
shift = {0, -1},
animation_speed = 0.3,
scale = 1.2,
stripes =
{
{
... | mit |
kjl2y/darkstar | scripts/zones/Gusgen_Mines/npcs/_5gc.lua | 13 | 1340 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5gc (Lever A)
-- @pos -4 -40.561 -54.199 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
--------------------------... | gpl-3.0 |
seem-sky/fceuxd | src/auxlib.lua | 4 | 1679 | -- this includes the iup system
--local iuplua_open = package.loadlib("iuplua51.dll", "iuplua_open");
--if(iuplua_open == nil) then require("libiuplua51"); end
--iuplua_open();
-- this includes the "special controls" of iup (dont change the order though)
--local iupcontrolslua_open = package.loadlib("iupluacontrols51.... | gpl-2.0 |
l0k1/naev | dat/missions/shadow/shadowrun.lua | 2 | 22670 | --[[
-- This is the main script for the Shadowrun mission. It's started from the spaceport bar and tries to emulate spaceport bar conversation as part of the mission.
-- "shadowrun" stack variable:
-- 1 = player has met Rebina, but hasn't accepted the mission
-- 2 = player has accepted Rebina's mission, but has not tal... | gpl-3.0 |
l0k1/naev | dat/ai/include/attack_generic.lua | 11 | 20148 | --[[
-- Generic attack functions
--]]
--[[
-- Mainly manages targetting nearest enemy.
--]]
function atk_g_think ()
local enemy = ai.getenemy()
local target = ai.target()
-- Stop attacking if it doesn't exist
if not target:exists() then
ai.poptask()
return
e... | gpl-3.0 |
Ensiss/pokebot | lua/Action/Interaction/TalkTo.lua | 1 | 3597 | local function _searchOW(personId)
local p = pb.getPlayer()
local m = pb.getCurrentMap()
local pers = m:getPerson(personId)
local pbank, pmap = p:getBankId(), p:getMapId()
for i = 1, 15 do
local ow = pb.getOverWorld(i)
local owmap, owbank = ow:getMapId(), ow:getBankId()
if owmap == 0 ... | mit |
githabbot/suuuper | bot/utils.lua | 36 | 16426 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
http.TIMEOUT = 10
funct... | gpl-2.0 |
Igdra/darkstar | scripts/zones/Kazham/npcs/Khau_Mahiyoeloh.lua | 17 | 1073 | -----------------------------------
-- Area: Kazham
-- NPC: Khau Mahiyoeloh
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/zones/wilderness/events.lua | 3 | 1178 | -- 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 |
Igdra/darkstar | scripts/globals/spells/bewitching_etude.lua | 27 | 1616 | -----------------------------------------
-- Spell: Bewitching Etude
-- Static CHR Boost, BRD 62
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function o... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/spells/bewitching_etude.lua | 27 | 1616 | -----------------------------------------
-- Spell: Bewitching Etude
-- Static CHR Boost, BRD 62
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function o... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Mount_Zhayolm/mobs/Magmatic_Eruca.lua | 12 | 1455 | -----------------------------------
-- Area: Mount Zhayolm
-- MOB: Magmatic Eruca
-- Note: Place Holder Energetic Eruca
-----------------------------------
require("scripts/zones/Mount_Zhayolm/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob, pl... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Windurst_Waters/npcs/Chyuk-Kochak.lua | 13 | 1063 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Chyuk-Kochak
-- Type: Standard NPC
-- @zone: 238
-- @pos -252.162 -6.319 -307.011
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/zones/town-gates-of-morning/traps.lua | 3 | 3592 | -- 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 |
tontyoutoure/DOTA2-AI-Fun | game/dota_addons/dota2_ai_fun/scripts/vscripts/addon_game_mode.lua | 1 | 37507 | -- Create the class for the game mode, unused in this example as the functions for the quest are global
require('heroes/telekenetic_blob/telekenetic_blob_util')
require('internal/util')
require('gamemode')
-- If something was being created via script such as a new npc, it would need to be precached here
function Prec... | mit |
cracingbozo7/simply-unproffesional | Themes/Simply Unprofessional 5.2/BGAnimations/ScreenNameEntryTraditional underlay/ScoreVocalization.lua | 3 | 3174 | local Digits = {}
local ActiveDigit = 1
local pn, voice
local function RandomizeVocalization()
-- start by determining how many voices are available in the Vocalization table
-- they are indexed by key, so the # operator won't work here; we need to manually count
local keys = {}
for k,v in pairs(Vocalization) do
... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Bastok_Markets/npcs/Mjoll.lua | 17 | 1529 | -----------------------------------
-- Area: Batok Markets
-- NPC: Mjoll
-- Standard Merchant NPC
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/zone... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/The_Colosseum/Zone.lua | 19 | 1062 | -----------------------------------
--
-- Zone: The_Colosseum
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/The_Colosseum/TextIDs"] = nil;
require("scripts/zones/The_Colosseum/TextIDs");
-----------------------------------
-- onInitialize
----------------... | gpl-3.0 |
Igdra/darkstar | scripts/globals/items/tavnazian_taco.lua | 17 | 1872 | -----------------------------------------
-- ID: 5174
-- Item: tavnazian_taco
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 20
-- Magic 20
-- Dexterity 4
-- Agility 4
-- Vitality 6
-- Charisma 4
-- Defense % 25
-- HP Recovered While Healing 1
-- MP Recovered While Healing 1
-- Def... | gpl-3.0 |
jvandenbroek/domoticz | scripts/lua_parsers/example_owm.lua | 37 | 1285 | -- Example of XML parser handling data with the following structure
-- Data are coming from the OpenWeatherMap API : See http://www.openweathermap.org/current
-- <current>
-- <city id="12345" name="Paris">
-- <coord lon="2.35" lat="48.85"/>
-- <country>FR</country>
-- <sun rise="2016-04-22T04:45:07" set="2016-... | gpl-3.0 |
Igdra/darkstar | scripts/globals/items/serving_of_bison_steak.lua | 18 | 1773 | -----------------------------------------
-- ID: 5142
-- Item: serving_of_bison_steak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 6
-- Agility 1
-- Intelligence -3
-- Attack % 18
-- Attack Cap 90
-- Ranged ATT % 18
-- Ranged ATT Cap 90
-- Lizard Killer 5
---------------------... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Ghelsba_Outpost/bcnms/save_the_children.lua | 27 | 2062 | -----------------------------------
-- Area: Ghelsba Outpost
-- Name: San d'Oria Mission 1-3 Save the children
-- @pos -162 -11 78 140
-----------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scri... | gpl-3.0 |
l0k1/naev | dat/ai/include/atk_capital.lua | 6 | 2777 | function atk_capital_init ()
mem.atk_think = atk_heuristic_big_game_think
mem.atk = atk_capital
end
--[[
-- Main control function for capital ship behavior.
--]]
function atk_capital ()
local target = _atk_com_think()
if target == nil then return end
-- Targeting stuff
ai.hostile(target) --... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/zones/rhaloren-camp/zone.lua | 3 | 4340 | -- 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 |
Noneatme/iLife-SA | server/Manager/Vehicle/cTuningGarageManager.lua | 1 | 8442 | --[[
/////// //////////////////
/////// PROJECT: MTA iLife - German Fun Reallife Gamemode
/////// VERSION: 1.7.2
/////// DEVELOPERS: See DEVELOPERS.md in the top folder
/////// LICENSE: See LICENSE.md in the top folder
/////// /////////////////
]]
-- #######################################
-- ## Project: MTA i... | mit |
srdgame/lua-voip | examples/registrar.lua | 2 | 3219 | ---
-- Very basic SIP registrar server
-- it supports only one login/password
local sip = require "voip.sip"
local cnn = sip.connection(function()end)
cnn:set_timeout(0.01)
local ok,err = cnn:bind("*", 5060)
if not ok then
print("can not bind:", err)
return
end
local us = sip.US(cnn)
local AUTH, PASS, ... | mit |
festevezga/ToME---t-engine4 | game/modules/tome/data/talents/spells/shades.lua | 3 | 11226 | -- 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 |
kjl2y/darkstar | scripts/zones/Windurst_Woods/npcs/Kopua-Mobua_AMAN.lua | 62 | 1375 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Kopua-Mobua A.M.A.N.
-- Type: Mentor Recruiter
-- @pos -23.134 1.749 -67.284 241
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
----------... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Castle_Oztroja/MobIDs.lua | 65 | 1606 | -----------------------------------
-- Area: Castle Oztroja (151)
-- Comments: -- posX, posY, posZ
-- (Taken from 'mob_spawn_points' table)
-----------------------------------
-- Mee_Deggi_the_Punisher
Mee_Deggi_the_Punisher=17395800;
Mee_Deggi_the_Punisher_PH={
[17395798] = '1', -- -207.840, -0.498, 109.939
... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Abyssea-Grauberg/npcs/Dominion_Sergeant.lua | 65 | 1056 | -----------------------------------
-- Area: Abyssea - Grauberg
-- NPC: Dominion Sergeant
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/abyssea");
require("scripts/... | gpl-3.0 |
alireza784/permag.ir | plugins/groupmanager-fa.lua | 1 | 114255 | local function modadd(msg)
local hash = "gp_lang:"..msg.chat_id_
local lang = redis:get(hash)
if not is_admin(msg) then
if not lang then
return '_You are not bot admin_'
else
return 'شما مدیر ربات نمیباشید'
end
end
local data = load_data(_config.moderation.data)
if data[tostrin... | gpl-3.0 |
excessive/noodler | libs/material-love/init.lua | 1 | 2213 | local material = {
_VERSION = 'material-love v1.0.0',
_DESCRIPTION = 'Implementation of parts of the Material-Design spec, for LOVE',
_URL = 'https://www.github.com/Positive07/material-love',
_LICENSE = [[
The Material Design Icon font is Licensed under SIL Open Font License 1.1
https://github.c... | mit |
kjl2y/darkstar | scripts/globals/items/anchovy_pizza.lua | 18 | 1204 | -----------------------------------------
-- ID: 5699
-- Item: anchovy_pizza
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Dexterity 1
-- Attack 20%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--... | gpl-3.0 |
Igdra/darkstar | scripts/globals/items/jack-o-lantern.lua | 19 | 1544 | -----------------------------------------
-- ID: 4488
-- Item: jack-o-lantern
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Charisma -10
-- Accuracy 10
-- Ranged Acc 10
-- Evasion 10
-- Arcana Killer 5
-- Dark Res 25
-----------------------------------------
require("scripts/globals/st... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/weaponskills/realmrazer.lua | 24 | 1480 | -----------------------------------
-- Realmrazer
-- Club weapon skill
-- Skill Level: 357
-- Delivers a seven-hit attack. params.accuracy varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget & Soil Gorget.
-- Aligned with the Shadow Belt & Soil Belt.
-- Element: None
-- Modifiers: MND:73~... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Statue_Prototype.lua | 23 | 1254 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Statue Prototype
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("scripts/zones... | gpl-3.0 |
disslove2-bot/PLUS-BOT | plugins/isup.lua | 741 | 3095 | do
local socket = require("socket")
local cronned = load_from_file('data/isup.lua')
local function save_cron(msg, url, delete)
local origin = get_receiver(msg)
if not cronned[origin] then
cronned[origin] = {}
end
if not delete then
table.insert(cronned[origin], url)
else
for k,v in pairs(cronned[... | gpl-2.0 |
shahabsaf1/powerbot | plugins/isup.lua | 741 | 3095 | do
local socket = require("socket")
local cronned = load_from_file('data/isup.lua')
local function save_cron(msg, url, delete)
local origin = get_receiver(msg)
if not cronned[origin] then
cronned[origin] = {}
end
if not delete then
table.insert(cronned[origin], url)
else
for k,v in pairs(cronned[... | gpl-2.0 |
Igdra/darkstar | scripts/zones/Temenos/mobs/Telchines_White_Mage.lua | 28 | 1132 | -----------------------------------
-- Area: Temenos N T
-- NPC: Telchines_White_Mage
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------... | gpl-3.0 |
Noneatme/iLife-SA | client/Guis/Faction/cAsservatenkammerGUI.lua | 1 | 3403 | --[[
/////// //////////////////
/////// PROJECT: MTA iLife - German Fun Reallife Gamemode
/////// VERSION: 1.7.2
/////// DEVELOPERS: See DEVELOPERS.md in the top folder
/////// LICENSE: See LICENSE.md in the top folder
/////// /////////////////
]]
--
-- Created by IntelliJ IDEA.
-- User: Noneatme
-- Date: 05.0... | mit |
festevezga/ToME---t-engine4 | game/modules/tome/data/zones/arena-unlock/npcs.lua | 3 | 5541 | -- 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 |
festevezga/ToME---t-engine4 | game/modules/tome/data/talents/psionic/mental-discipline.lua | 3 | 3989 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009, 2010, 2011, 2012, 2013 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 o... | gpl-3.0 |
tehran980/maxbot2 | plugins/channels.lua | 356 | 1732 | -- Checks if bot was disabled on specific chat
local function is_channel_disabled( receiver )
if not _config.disabled_channels then
return false
end
if _config.disabled_channels[receiver] == nil then
return false
end
return _config.disabled_channels[receiver]
end
local function enable_channel(receiver)
if... | gpl-2.0 |
festevezga/ToME---t-engine4 | game/engines/default/engine/ui/ImageList.lua | 3 | 7596 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.... | gpl-3.0 |
shyamalschandra/keys | VSCOKeys.lrdevplugin/halfway_server/Server.lua | 11 | 5089 | require "file"
package.path = "../?.lua;" .. package.path
require "Constants"
require "Utils"
local Http = require "Http"
require "copas"
local DevelopSettings = require "DevelopSettings"
local logger = logging.file("test.log")
logger:setLevel (logging.DEBUG)
logger:debug("Server starting")
local status, err = pcall... | gpl-2.0 |
kjl2y/darkstar | scripts/zones/La_Theine_Plateau/Zone.lua | 1 | 8587 | -----------------------------------
--
-- Zone: La_Theine_Plateau (102)
--
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/La_Theine_Plateau/TextIDs")... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/zones/demon-plane/objects.lua | 3 | 1900 | -- 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 |
kjl2y/darkstar | scripts/zones/Northern_San_dOria/npcs/Sochiene.lua | 13 | 1038 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Sochiene
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos 4.000 0.000 -28.000
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");
... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Apollyon/mobs/Fir_Bholg.lua | 2 | 1258 | -----------------------------------
-- 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 |
Igdra/darkstar | scripts/zones/Rabao/npcs/Mileon.lua | 14 | 1036 | -----------------------------------
-- Area: Rabao
-- NPC: Mileon
-- Type: Lucky Roll Gambler
-- @zone 247
-- @pos 26.080 8.201 65.297
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
----------------------------... | gpl-3.0 |
Igdra/darkstar | scripts/globals/spells/bluemagic/sprout_smack.lua | 26 | 1859 | -----------------------------------------
-- Spell: Sprout Smack
-- Additional effect: Slow. Duration of effect varies with TP
-- Spell cost: 6 MP
-- Monster Type: Plantoids
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 2
-- Stat Bonus: MND+1
-- Level: 4
-- Casting Time: 0.5 seconds
-- Recast Time: 7.25 seconds... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/spells/bluemagic/cursed_sphere.lua | 35 | 1489 | -----------------------------------------
-- Spell: Cursed Sphere
-- Deals water damage to enemies within area of effect
-- Spell cost: 36 MP
-- Monster Type: Vermin
-- Spell Type: Magical (Water)
-- Blue Magic Points: 2
-- Stat Bonus: MND+1
-- Level: 18
-- Casting Time: 3 seconds
-- Recast Time: 19.5 seconds
-- Magic ... | gpl-3.0 |
excessive/noodler | libs/UnekFrames/objects/internal/linenumberspanel.lua | 1 | 4188 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2012-2014 Kenny Shields --
--]]------------------------------------------------
-- get the current require path
local path = string.sub(..., 1, string.len(...) - string.len(".objects.internal.linenumbersp... | mit |
masterviana/TowerDefensePublic | game/tower.lua | 1 | 8724 | -- Copyright 2013 Arman Darini
local Viewable = require("game.viewable")
local class = {}
class.new = function(o)
local Tower = {}
Utils.mergeTable(Tower, Viewable.new())
----------------------------------------------------------
function Tower:init(o)
self.view.owner = self
self.state = 0
self.particleMan... | mit |
Bo98/DarkRP | gamemode/modules/fadmin/fadmin/restrict/sv_restrict.lua | 3 | 2669 | sql.Query("CREATE TABLE IF NOT EXISTS FADMIN_RESTRICTEDENTS('TYPE' TEXT NOT NULL, 'ENTITY' TEXT NOT NULL, 'ADMIN_GROUP' TEXT NOT NULL, PRIMARY KEY(TYPE, ENTITY));")
local Restricted = {}
Restricted.Weapons = {}
local function RetrieveRestricted()
local Query = sql.Query("SELECT * FROM FADMIN_RESTRICTEDENTS") or {... | mit |
kjl2y/darkstar | scripts/zones/Qulun_Dome/mobs/Za_Dha_Adamantking.lua | 14 | 1283 | -----------------------------------
-- Area: Qulun Dome
-- NM: Za Dha Adamantking
-----------------------------------
require("scripts/globals/titles");
require("scripts/zones/Qulun_Dome/TextIDs");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.