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 |
|---|---|---|---|---|---|
dcourtois/premake-core | src/base/container.lua | 23 | 8189 | ---
-- container.lua
-- Implementation of configuration containers.
-- Copyright (c) 2014 Jason Perkins and the Premake project
---
local p = premake
p.container = {}
local container = p.container
---
-- Keep a master dictionary of container class, so they can be easily looked
-- up by name (technically you cou... | bsd-3-clause |
dacrybabysuck/darkstar | scripts/globals/spells/knights_minne.lua | 10 | 1499 | -----------------------------------------
-- Spell: Knight's Minne I
-- Grants Defense bonus to all allies.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0... | gpl-3.0 |
dacrybabysuck/darkstar | scripts/zones/Port_Windurst/npcs/Erabu-Fumulubu.lua | 12 | 1300 | -----------------------------------
-- Area: Port Windurst
-- NPC: Erabu-Fumulubu
-- Type: Fishing Synthesis Image Support
-- !pos -178.900 -2.789 76.200 240
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/crafting");
local ID = require("scripts/zones/Port_Windurst/IDs")... | gpl-3.0 |
dacrybabysuck/darkstar | scripts/globals/items/bowl_of_nashmau_stew.lua | 11 | 1824 | -----------------------------------------
-- ID: 5595
-- Item: Bowl of Nashmau Stew
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- MP -100
-- Vitality -10
-- Agility -10
-- Intelligence -10
-- Mind -10
-- Charisma -10
-- Accuracy +15% Cap 25
-- Attack +18% Cap 60
-- ... | gpl-3.0 |
nimaghorbani/dozdi1 | plugins/broadcast.lua | 5 | 61325 |
<!DOCTYPE html>
<html lang="en" class="">
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object# article: http://ogp.me/ns/article# profile: http://ogp.me/ns/profile#">
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="... | gpl-2.0 |
dacrybabysuck/darkstar | scripts/zones/Castle_Oztroja/globals.lua | 12 | 3370 | -- Zone: Castle Oztroja (151)
-- Desc: this file contains functions that are shared by multiple luas in this zone's directory
-----------------------------------
local ID = require("scripts/zones/Castle_Oztroja/IDs")
require("scripts/globals/status")
-----------------------------------
local CASTLE_OZTROJA = {
--[... | gpl-3.0 |
dacrybabysuck/darkstar | scripts/globals/mobskills/pw_acheron_flame.lua | 11 | 1631 | ---------------------------------------------
-- Acheron Flame
--
-- Description: Deals severe Fire damage to enemies within an area of effect. Additional effect: Burn
-- Type: Magical
--
--
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 20' radial
-- Notes: Only used when a cerberus's health is 25% or lower (may n... | gpl-3.0 |
dacrybabysuck/darkstar | scripts/globals/spells/aquaveil.lua | 12 | 1319 | -----------------------------------------
-- Spell: Aquaveil
-- Reduces chance of having a spell interrupted.
-----------------------------------------
require("scripts/globals/magic")
require("scripts/globals/msg")
require("scripts/globals/settings")
require("scripts/globals/status")
----------------------------------... | gpl-3.0 |
dacrybabysuck/darkstar | scripts/zones/Balgas_Dais/mobs/Large_Box.lua | 9 | 1101 | -----------------------------------
-- Area: Balga's Dais
-- NM: Large Box
-- BCNM: Treasures and Tribulations
-----------------------------------
require("scripts/globals/status")
-----------------------------------
function replaceWithCrate(mob)
local crate = GetNPCByID(mob:getID() + 1)
crate:teleport(mob:... | gpl-3.0 |
dacrybabysuck/darkstar | scripts/globals/weaponskills/pyrrhic_kleos.lua | 10 | 2179 | -----------------------------------
-- Pyrrhic Kleos
-- Dagger weapon skill
-- Skill level: N/A
-- Description: Delivers a fourfold attack that lowers target's evasion. Duration of effect varies with TP. Terpsichore: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Dancer) quest... | gpl-3.0 |
dacrybabysuck/darkstar | scripts/globals/weaponskills/dark_harvest.lua | 10 | 1242 | -----------------------------------
-- Dark Harvest
-- Scythe weapon skill
-- Skill Level: 30
-- Delivers a dark elemental attack. Damage varies with TP.
-- Aligned with the Aqua Gorget.
-- Aligned with the Aqua Belt.
-- Element: Dark
-- Modifiers: STR:20% INT:20%
-- 100%TP 200%TP 300%TP
-- 1.00 2.00 2... | gpl-3.0 |
fiskio/dp | data/cifar100.lua | 2 | 6824 | -------------------------------------------------
--[[ CIFAR100 ]]--
-- http://www.cs.toronto.edu/~kriz/cifar.html
-- A color image set of 100 different objects
-- Small size makes it hard to generalize from train to test set
-- Regime : overfitting.
-------------------------------------------------
local Cifar100, par... | bsd-3-clause |
dacrybabysuck/darkstar | scripts/globals/items/plate_of_piscators_paella.lua | 11 | 1182 | -----------------------------------------
-- ID: 5969
-- Item: Plate of Piscator's Paella
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- HP 45
-- Dexterity 6
-- Accuracy % 16 (cap 85)
-- Undead Killer 6
-----------------------------------------
require("scripts/globals/status")
require("s... | gpl-3.0 |
dacrybabysuck/darkstar | scripts/zones/Bearclaw_Pinnacle/bcnms/flames_for_the_dead.lua | 9 | 1404 | -----------------------------------
-- Flames for the Dead
-- Bearclaw Pinnacle mission battlefield
-----------------------------------
require("scripts/globals/battlefield")
require("scripts/globals/missions")
-----------------------------------
function onBattlefieldTick(battlefield, tick)
dsp.battlefield.onBatt... | gpl-3.0 |
baishancloud/lua-acid | lib/acid/dbagent/arg_util.lua | 1 | 4465 | local arg_schema_checker = require('acid.arg_schema_checker')
local strutil = require('acid.strutil')
local tableutil = require('acid.tableutil')
local to_str = strutil.to_str
local string_format = string.format
local _M = {}
local function build_any_schema()
local schema = {
['type'] = 'any',
}
... | mit |
dcourtois/premake-core | modules/vstudio/tests/vc2010/test_manifest.lua | 14 | 1667 | --
-- tests/actions/vstudio/vc2010/test_manifest.lua
-- Validate generation of Manifest block in Visual Studio 201x C/C++ projects.
-- Copyright (c) 2009-2013 Jason Perkins and the Premake project
--
local p = premake
local suite = test.declare("vs2010_manifest")
local vc2010 = p.vstudio.vc2010
local project = p.p... | bsd-3-clause |
dacrybabysuck/darkstar | scripts/globals/items/serving_of_bass_meuniere_+1.lua | 11 | 1367 | -----------------------------------------
-- ID: 4346
-- Item: serving_of_bass_meuniere_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health % 3 (cap 130)
-- Dexterity 3
-- Agility 3
-- Mind -3
-- Ranged ACC % 6
-- Ranged ACC Cap 20
-----------------------------------------
require("... | gpl-3.0 |
dacrybabysuck/darkstar | scripts/zones/Cloister_of_Frost/npcs/Cermet_Headstone.lua | 11 | 2584 | -----------------------------------
-- Area: Cloister of Frost
-- NPC: Cermet Headstone
-- Involved in Mission: ZM5 Headstone Pilgrimage (Ice Fragment)
-- !pos 566 0 606 203
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/titles");
require("scripts/globals/missions");
... | gpl-3.0 |
25A0/Quadtastic | tests/test_version.lua | 1 | 2083 | local Version = require("Quadtastic.Version")
-- Check simple format
do
local s = "v1.2.4"
local v = Version(s)
assert(type(v.major) == "number")
assert(v.major == 1)
assert(type(v.minor) == "number")
assert(v.minor == 2)
assert(type(v.patch) == "number")
assert(v.patch == 4)
end
-- Check format that includes... | mit |
dacrybabysuck/darkstar | scripts/globals/items/bowl_of_goulash.lua | 11 | 1252 | -----------------------------------------
-- ID: 5750
-- Item: bowl_of_goulash
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- VIT +3
-- INT -2
-- Accuracy +10% (cap 54)
-- DEF +10% (cap 30)
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals... | gpl-3.0 |
dacrybabysuck/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 |
tung/doomrl | bin/core/item.lua | 2 | 3418 | table.merge( item, thing )
function item:is_damaged()
if self.flags[ IF_NOREPAIR ] then return false end
return self.durability < self.maxdurability
end
function item:fix( amount )
if amount == nil then
self.durability = self.maxdurability
return true
else
self.durability = math.min(self.maxdurability, self... | gpl-2.0 |
keviner2004/shoot-em-up | sfx.lua | 1 | 4843 | local lfs = require "lfs"
local logger = require("logger")
local config = require("gameConfig")
local TAG = "audio"
local sfx = {}
sfx.CHANNEL_BG = 1
sfx.CHANNEL_UI = 2
sfx.CHANNEL_CH1_LASER = 3
sfx.history = {
}
sfx.channel = {
}
sfx.bg = {
handle = audio.loadSound( "sounds/Juhani Junkala [Retro Game Music... | mit |
dacrybabysuck/darkstar | scripts/globals/weaponskills/jishnus_radiance.lua | 10 | 1884 | -----------------------------------
-- Jishnu's Radiance
-- Archery weapon skill
-- Skill level: 357
-- Empyrean Weapon Skill
-- RNG Main Job Required
-- Aligned with the Thunder & Breeze Gorget.
-- Aligned with the Thunder Belt & Breeze Belt.
-- Element:
-- Modifiers: DEX:60%
-- 100%TP 200%TP 300%TP
-- 1.75 ... | gpl-3.0 |
kikito/Algorithm-Implementations | A_Star_Search/Lua/Yonaba/astar_test.lua | 1 | 2558 | -- Tests for astar.lua
local Astar = require 'astar'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function same(t, p, comp)
for k,v in ipairs(t) do
if not comp(v, p[k]) then return false end
end
return true... | mit |
noscripter/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 |
keviner2004/shoot-em-up | sprites/expansion-1@2x.lua | 1 | 34654 | --
-- created with TexturePacker (http://www.codeandweb.com/texturepacker)
--
-- $TexturePacker:SmartUpdate:23633649fbcfd7fbff4c72c98fd466db:2a8c1cf3de6ec80e566bace760a9bc31:501516d4b41a2d17b8013ae2361df7e4$
--
-- local sheetInfo = require("mysheet")
-- local myImageSheet = graphics.newImageSheet( "mysheet.png", sheetI... | mit |
dacrybabysuck/darkstar | scripts/globals/items/plate_of_urchin_sushi.lua | 11 | 1357 | -----------------------------------------
-- ID: 5151
-- Item: plate_of_urchin_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 40
-- Strength 1
-- Vitality 5
-- Accuracy % 15 (cap 72)
-- Ranged ACC % 15 (cap 72)
-----------------------------------------
require("scripts/global... | gpl-3.0 |
KittyCookie/skynet | lualib/skynet/manager.lua | 72 | 1923 | local skynet = require "skynet"
local c = require "skynet.core"
function skynet.launch(...)
local addr = c.command("LAUNCH", table.concat({...}," "))
if addr then
return tonumber("0x" .. string.sub(addr , 2))
end
end
function skynet.kill(name)
if type(name) == "number" then
skynet.send(".launcher","lua","REMO... | mit |
dacrybabysuck/darkstar | scripts/zones/RuLude_Gardens/npcs/Dabih_Jajalioh.lua | 12 | 1452 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Dabih Jajalioh
-- Standard Merchant NPC
-- TODO: Add support for occasional stock.
-----------------------------------
local ID = require("scripts/zones/RuLude_Gardens/IDs")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
fun... | gpl-3.0 |
dacrybabysuck/darkstar | scripts/zones/Misareaux_Coast/npcs/Spatial_Displacement.lua | 9 | 1220 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: Spacial Displacement
-- Entrance to Riverne Site #A01 and #B01
-----------------------------------
require("scripts/globals/missions");
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigger(player,npc)
... | gpl-3.0 |
dacrybabysuck/darkstar | scripts/zones/Apollyon/mobs/Dark_Elemental.lua | 9 | 2103 | -----------------------------------
-- Area: Apollyon SW
-- Mob: Dark Elemental
-----------------------------------
require("scripts/globals/limbus");
-----------------------------------
function onMobDeath(mob, player, isKiller)
end;
function onMobDespawn(mob)
local mobID = mob:getID();
print(mobID);
local m... | gpl-3.0 |
25A0/Quadtastic | Quadtastic/QuadtasticLogic.lua | 1 | 38677 | local current_folder = ... and (...):match '(.-%.?)[^%.]+$' or ''
local QuadExport = require(current_folder.. ".QuadExport")
local History = require(current_folder.. ".History")
local table = require(current_folder.. ".tableplus")
local libquadtastic = require(current_folder.. ".libquadtastic")
local common = require(c... | mit |
dacrybabysuck/darkstar | scripts/globals/items/plate_of_salmon_sushi_+1.lua | 11 | 1294 | -----------------------------------------
-- ID: 5664
-- Item: plate_of_salmon_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 2
-- Accuracy % 15 (cap 72)
-- Ranged ACC % 15 (cap 72)
-- Resist Sleep +2
-----------------------------------------
require("scripts/globals/sta... | gpl-3.0 |
Antonin-Deniau/love2d_cellular_automata | cells/wireworld.lua | 1 | 1365 | local class = require 'libs/middleclass'
WireWorld = class('WireWorld')
require 'patterns/wireworld'
function WireWorld:initialize (state, x, y, board)
self.state = state
self.x = x
self.y = y
self.board = board
end
WireWorld.colors = {
{0,0,0},
{0,255,0},
{0,0,255},
{255,0,0}
}
function WireWorld:next_sta... | gpl-3.0 |
baishancloud/lua-acid | lib/test_httpclient.lua | 1 | 2443 | local httpclient = require('acid.httpclient')
function test.basic(t)
local opts = {
server_name = 'ss.bscstorage.com',
}
local cli, err, errmsg = httpclient:new('ss.bscstorage.com', 443,
nil, opts)
t:eq(nil, err, errmsg)
t:eq(nil, errmsg)
loc... | mit |
dacrybabysuck/darkstar | scripts/commands/getmod.lua | 12 | 1470 | ---------------------------------------------------------------------------------------------------
-- func: getmod <modID>
-- desc: gets a mod by ID on the player or cursor target
---------------------------------------------------------------------------------------------------
require("scripts/globals/status")
cmdp... | gpl-3.0 |
jhandley/mcp-junkies-lua | coroutines.lua | 1 | 1070 |
-- Generators
local evenNumbers = coroutine.create(function()
local i = 2
while true do
coroutine.yield(i)
i = i + 2
... | unlicense |
mehrpouya81/gamermir | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name.... | gpl-2.0 |
dacrybabysuck/darkstar | scripts/zones/Northern_San_dOria/npcs/Vichuel.lua | 11 | 1281 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Vichuel
-- Only sells when San d'Oria controlls Fauregandi Region
-----------------------------------
local ID = require("scripts/zones/Northern_San_dOria/IDs")
require("scripts/globals/events/harvest_festivals")
require("scripts/gl... | gpl-3.0 |
dacrybabysuck/darkstar | scripts/globals/abilities/spectral_jig.lua | 12 | 1194 | -----------------------------------
-- Ability: Spectral jig
-- Allows you to evade enemies by making you undetectable by sight and sound.
-- Obtained: Dancer Level 25
-- TP Required: 0
-- Recast Time: 30 seconds
-- Duration: 3 minutes
-----------------------------------
require("scripts/globals/settings")
require("scr... | gpl-3.0 |
skryabiin/core | engine/bin/lua-core/texture-facet.lua | 1 | 3271 |
TextureFacet = Facet:new()
function TextureFacet:new(entity, system, textureName, o)
o = o or {}
o = self:create(entity, system, o)
if textureName then
o:setTextureName(textureName)
end
return o
end
function TextureFacet:type()
return "TextureFacet"
end
function TextureFacet:... | mit |
JustANull/InterestingThings | thread.lua | 1 | 3996 | local ffi = assert(require('ffi'))
local MessageBox = assert(require('messagebox'))
local pthread = assert(require('pthread'))
if ffi.os == 'OSX' then
ffi.load('bin/luajit.dylib')
else
error('unsupported')
end
ffi.cdef([[
//Lua types...
typedef struct lua_State lua_State;
typedef double lua_Number;
/... | mit |
dacrybabysuck/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 |
keviner2004/shoot-em-up | sprites/expansion-5@3x.lua | 1 | 18272 | --
-- created with TexturePacker (http://www.codeandweb.com/texturepacker)
--
-- $TexturePacker:SmartUpdate:154a255ff78ed48be366c2a2e584d02f:2edca0ee6ec631103e2deac00ee7b29a:1dfb2cbbd945763b9f9bcb7ec1f3aa6d$
--
-- local sheetInfo = require("mysheet")
-- local myImageSheet = graphics.newImageSheet( "mysheet.png", sheetI... | mit |
npettiaux/orthanc | Resources/Toolbox.lua | 6 | 2864 | --[[ PrintRecursive(struct, [limit], [indent]) Recursively print arbitrary data.
Set limit (default 100) to stanch infinite loops.
Indents tables as [KEY] VALUE, nested tables as [KEY] [KEY]...[KEY] VALUE
Set indent ("") to prefix each line: Mytable [KEY] [KEY]...[KEY] VALUE
Source: https://gist.github.com/stuby/... | gpl-3.0 |
geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/v8/tools/gcmole/gcmole.lua | 4 | 15586 | -- Copyright 2011 the V8 project authors. All rights reserved.
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are
-- met:
--
-- * Redistributions of source code must retain the above copyright
-- notice, this list of ... | gpl-3.0 |
skogler/GearHelper | GearHelper.lua | 1 | 7582 | local GearHelper = LibStub("AceAddon-3.0"):NewAddon("GearHelper", "AceConsole-3.0")
local icon = LibStub("LibDBIcon-1.0", true)
local libDB = LibStub:GetLibrary("LibDataBroker-1.1")
local ldbObject = libDB:NewDataObject("GearHelper", {label = "GearHelper", type = "data source", icon = "Interface\\Icons\\Spell_Lightning... | mit |
shultays/bloodworks | game/resources/monsters/egg/egg.lua | 1 | 1970 |
function Egg.init(monster, min)
data = monster.data
monster:setScale(math.random() * 0.2 + 0.8)
monster.moveSpeed = 0
monster.moveAngle = math.random() * math.pi * 2.0
monster:playAnimation("stand", math.random())
monster:modifyDrawLevel(2)
monster.colorMultiplier:addBuff(Vec4.n... | gpl-3.0 |
xq262144/hue | tools/wrk-scripts/lib/hue.lua | 22 | 1575 | local argparse = require("lib/argparse")
local cookie = require("lib/cookie")
local uri = require("lib/uri-f570bf7")
local inspect = require("lib/inspect")
local hue = {}
hue.parse_args = function(args)
local parser = argparse()
parser:option "-X" "--method"
:description "HTTP method"
parser:option "-s" "--sessi... | apache-2.0 |
dacrybabysuck/darkstar | scripts/zones/Metalworks/npcs/Alois.lua | 9 | 1624 | -----------------------------------
-- Area: Metalworks
-- NPC: Alois
-- Involved in Missions: Wading Beasts
-- !pos 96 -20 14 237
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions");
-----------------------------------
function onTrade(player,npc,trade)
i... | gpl-3.0 |
funkring/gs5 | misc/freeswitch/scripts/configuration/simple_xml.lua | 2 | 1214 | -- Gemeinschaft 5 simple xml gererator class
-- (c) AMOOMA GmbH 2013
--
module(...,package.seeall)
SimpleXml = {}
-- Create SimpleXml object
function SimpleXml.new(self, arg)
arg = arg or {}
object = arg.object or {}
setmetatable(object, self);
self.__index = self;
self.class = 'simplexml';
return objec... | mit |
keviner2004/shoot-em-up | levels/myLevel/level_multipart_enemy.lua | 1 | 1268 | local gameConfig = require("gameConfig")
local Sublevel = require("Sublevel")
local MyEnemy = require("levels.myLevel.MyMultipartEnemy")
local util = require("util")
local myLevel = Sublevel.new("9999999-061", "custom enemy", "author name")
function myLevel:show(options)
local enemy = MyEnemy.new(self.view)
--... | mit |
dacrybabysuck/darkstar | scripts/globals/abilities/puppet_roll.lua | 12 | 2900 | -----------------------------------
-- Ability: Puppet Roll
-- Enhances pet magic attack and magic accuracy for party members within area of effect
-- Optimal Job: Puppetmaster
-- Lucky Number: 3
-- Unlucky Number: 7
-- Level: 52
-- Phantom Roll +1 Value: 3
--
-- Die Roll |No PUP |With PUP
-- -------- ------- -... | gpl-3.0 |
dacrybabysuck/darkstar | scripts/zones/The_Colosseum/npcs/Zandjarl.lua | 12 | 2646 | -----------------------------------
-- Area: The Colosseum
-- NPC: Zandjarl
-- Type: Pankration NPC
-- !pos -599 0 45 71
-----------------------------------
local ID = require("scripts/zones/The_Colosseum/IDs");
-----------------------------------
function onTrade(player,npc,trade)
local RESULT = nil;
local C... | gpl-3.0 |
mosy210/shadow-bot | plugins/face.lua | 641 | 3073 | local https = require("ssl.https")
local ltn12 = require "ltn12"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function request(imageUrl)
local api_key = mashape.api_key
if api_key:isempt... | gpl-2.0 |
shayanchabok007/antispam_yogob | plugins/face.lua | 641 | 3073 | local https = require("ssl.https")
local ltn12 = require "ltn12"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function request(imageUrl)
local api_key = mashape.api_key
if api_key:isempt... | gpl-2.0 |
dacrybabysuck/darkstar | scripts/zones/Windurst_Waters/npcs/Moari-Kaaori.lua | 9 | 3536 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Moari-Kaaori
-----------------------------------
local ID = require("scripts/zones/Windurst_Waters/IDs")
require("scripts/globals/settings")
require("scripts/globals/quests")
require("scripts/globals/titles")
-----------------------------------
func... | gpl-3.0 |
xq262144/hue | tools/wrk-scripts/lib/equal-5bb8dbf.lua | 22 | 1818 | -- The MIT License (MIT)
--
-- Copyright (c) 2014, Cyril David <cyx@cyx.is>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the right... | apache-2.0 |
severak/lunarender | lib/lua/lunarender/rendering.lua | 1 | 4269 | -- part of LunaRender
-- (c) 2015 Mikoláš Štrajt
-- MIT licensed
local proj = require 'lunarender.projection'
local xmlwriter = require 'lunarender.xmlwriter'
local push = table.insert
local _M = {}
local function apply_style(style, tags, zoom)
if type(style)=='function' then
return style(tags, zoom)
end
retur... | mit |
dacrybabysuck/darkstar | scripts/zones/Crawlers_Nest/npcs/qm12.lua | 11 | 1739 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: qm12 (??? - Exoray Mold Crumbs)
-- Involved in Quest: In Defiant Challenge
-- !pos 99.326 -0.126 -188.869 197
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/keyitems");
require("scripts/globals/settings... | gpl-3.0 |
dacrybabysuck/darkstar | scripts/globals/items/tropical_clam.lua | 11 | 1056 | -----------------------------------------
-- ID: 5124
-- Item: Tropical Clam
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Vitality 4
-- Dexterity -5
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
------------------------------... | gpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/components/armor/arm_mission_reward_imperial_sfs_light_military.lua | 3 | 2396 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/deed/player_house_deed/generic_house_small_floor_02_deed.lua | 3 | 2930 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/chemistry/medpack_disease_stamina_c.lua | 1 | 3711 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/loot/items/armor/composite_armor_bicep_r.lua | 4 | 1244 | composite_armor_bicep_r = {
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "Composite Armor Right Bicep",
directObjectTemplate = "object/tangible/wearables/armor/composite/armor_composite_bicep_r.iff",
craftingValues = {
{"armor_rating",1,1,0},
{"armor_effectiveness",8,39,10},
{"armor_integrity",300... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/furniture/plain/plain_end_table_s01.lua | 3 | 2264 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_royal_pilot_human_female_01.lua | 3 | 2256 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/medicine/crafted/objects.lua | 3 | 332813 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/mission/quest_item/warren_evidence_s04.lua | 3 | 2276 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/building/poi/naboo_tuskcattam_large2.lua | 2 | 2254 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/pufferfish/serverobjects.lua | 3 | 2179 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/dice/eqp_ten_sided_dice_set.lua | 1 | 2929 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/structure/exterior/lair_cave_medium_exterior_mamien.lua | 1 | 2391 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/screenplays/events/conversations/museum_curator_conv_handler.lua | 1 | 8618 | local ObjectManager = require("managers.object.object_manager")
MuseumCuratorConvoHandler = Object:new {
themePark = nil
}
function MuseumCuratorConvoHandler:setThemePark(themeParkNew)
self.themePark = themeParkNew
end
function MuseumCuratorConvoHandler:runScreenHandlers(conversationTemplate, conversingPlayer, con... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/crafted/armor/armor_reinforcement_panel_mk3.lua | 2 | 2879 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_dancer_trainer_human_female_02.lua | 1 | 2313 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
sprunk/Zero-K | units/subtacmissile.lua | 1 | 5279 | unitDef = {
unitname = [[subtacmissile]],
name = [[Scylla]],
description = [[Tactical Nuke Missile Sub, Drains 20 m/s, 30 second stockpile]],
acceleration = 0.0372,
activateWhenBuilt = true,
brakeRate = 0.1942,
buildCostMetal =... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/conversations/tasks/hero_of_tatooine/hermit_conv.lua | 3 | 18440 | heroOfTatHermitConvoTemplate = ConvoTemplate:new {
initialScreen = "",
templateType = "Lua",
luaClassHandler = "heroOfTatHermitConvoHandler",
screens = {}
}
intro = ConvoScreen:new {
id = "intro",
leftDialog = "@conversation/quest_hero_of_tatooine_hermit:s_48a263f0", -- Well met, traveler. What brings you to my... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/armor/chitin/armor_chitin_s01_leggings.lua | 1 | 5826 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/droid/component/chassis_droid_le_repair.lua | 1 | 3747 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
sprunk/Zero-K | LuaUI/Widgets/unit_resurrect_congregate.lua | 2 | 5565 | local versionNumber = "v0.92 "
function widget:GetInfo()
return {
name = "Resurrect Congregate",
desc = versionNumber .. "Automatically send resurrected unit to nearby blob of allied units. (1 Blob = 5 ground units within 300 elmo radius, Congregating range: 3000 elmo)",
author = "msafwan",
... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/screenplays/dungeon/death_watch_bunker/conversations/deathWatchLutinNightstalkerConvoHandler.lua | 1 | 3486 | local ObjectManager = require("managers.object.object_manager")
deathWatchLutinNightstalkerConvoHandler = { }
function deathWatchLutinNightstalkerConvoHandler:getNextConversationScreen(pConversationTemplate, pPlayer, selectedOption, pConversingNpc)
local pConversationSession = CreatureObject(pPlayer):getConversatio... | agpl-3.0 |
sousoux/luvit | examples/web-app/modules/static.lua | 8 | 5157 |
local fs = require 'fs'
local pathJoin = require('path').join
local osPathSep = require('path').sep
local pathNormalize = require('path').normalize
local urlParse = require('url').parse
local getType = require('mime').getType
local osType = require('os').type
local osDate = require('os').date
local iStream = require('... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/veteran_reward/harvester.lua | 1 | 2246 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/attachment/weapon/blacksun_medium_weapon1_s04.lua | 3 | 2324 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/talus/aakuan_anarchist.lua | 1 | 1341 | aakuan_anarchist = Creature:new {
objectName = "",
randomNameType = NAME_GENERIC,
randomNameTag = true,
customName = "an Aa'kuan Anarchist",
socialGroup = "aakuans",
faction = "aakuans",
level = 30,
chanceHit = 0.39,
damageMin = 290,
damageMax = 300,
baseXp = 3097,
baseHAM = 8400,
baseHAMmax = 10200,
armo... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/base/base_bracer_r.lua | 3 | 2236 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
cappiewu/luci | modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/startup.lua | 74 | 2567 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2010-2012 Jo-Philipp Wich <jow@openwrt.org>
-- Copyright 2010 Manuel Munz <freifunk at somakoma dot de>
-- Licensed to the public under the Apache License 2.0.
local fs = require "nixio.fs"
local sys = require "luci.sys"
local inits = { }
for _, name ... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/vendor/ithorian_female.lua | 1 | 28437 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/base/poi_all_lair_garbage_large_fog_mustard.lua | 1 | 2359 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
TerraME/terrame | packages/base/tests/observer/basics/Event.lua | 3 | 1892 | -------------------------------------------------------------------------------------------
-- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling.
-- Copyright (C) 2001-2017 INPE and TerraLAB/UFOP -- www.terrame.org
-- This code is part of the TerraME framework.
-- This framework is f... | lgpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/bio_engineer/dna_template/dna_template_sand_panther.lua | 3 | 2356 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/component/droid/le_repair_droid_chassis.lua | 3 | 3276 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
bsa11b/mtasa-blue | vendor/lua/src/premake.lua | 38 | 6155 | ----------------------------------------------------
-- The main porpouse of this file is to build linux gcc makefiles.
-- Must have Premake version 3 installed.
-- Original Premake was changed to remove some parameters and add others.
-- Default parameters:
-- premake3s --target gnu --os linux
-- But it can build wi... | gpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_tatooine_valarian_thief.lua | 3 | 2240 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/component/droid/performer_effects_d.lua | 2 | 3057 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/crafted/weapon/wpn_heavy_disruptor.lua | 3 | 3451 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
oubliette32/Torrent | gamemode/vgui/cl_sm_editor.lua | 1 | 9631 | /*
* Torrent - 2013 Illuminati Productions
*
* This product is licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/bank/character_bank.lua | 3 | 2200 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.