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 |
|---|---|---|---|---|---|
abriasffxi/darkstar | scripts/globals/spells/hydrohelix.lua | 26 | 1690 | --------------------------------------
-- 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/m... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Altar_Room/npcs/Hooknox.lua | 38 | 1033 | -----------------------------------
-- Area: Altar Room
-- NPC: Hooknox
-- Type: Standard NPC
-- @zone: 152
-- @pos -265.248 11.693 -102.547
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil;
----------------... | gpl-3.0 |
cp16net/virgo-base | example/lua_modules/bourbon/lib/context.lua | 3 | 2579 | --[[
Copyright 2012 Rackspace
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | apache-2.0 |
Armyluix/darkstar | scripts/zones/Al_Zahbi/npcs/Yudi_Yolhbi.lua | 53 | 2326 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Yudi Yolhbi
-- Type: Woodworking Normal/Adv. Image Support
-- @pos -71.584 -7 -56.018 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Al_Zahbi/npcs/Yudi_Yolhbi.lua | 53 | 2326 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Yudi Yolhbi
-- Type: Woodworking Normal/Adv. Image Support
-- @pos -71.584 -7 -56.018 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
jebenexer/kong | kong/tools/ip.lua | 5 | 1207 | local ip = require "resty.mediador.ip"
local px = require "resty.mediador.proxy"
local function trust_all() return true end
local function trust_none() return false end
local _M = { valid = ip.valid }
function _M.init(config)
local ips = config.trusted_ips
local count = #ips
local trusted_ips = {}
local... | apache-2.0 |
isalnikov/Algorithm-Implementations | Boyer_Moore_Horspool/Lua/Yonaba/bmh_test.lua | 27 | 1111 | -- Tests for bmh.lua
local bmh = require 'bmh'
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 run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 end
local status = ok and 'PA... | mit |
Jens-G/thrift | lib/lua/TJsonProtocol.lua | 42 | 18656 | --
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"), you ma... | apache-2.0 |
Armyluix/darkstar | scripts/zones/Jade_Sepulcher/Zone.lua | 28 | 1324 | -----------------------------------
--
-- Zone: Jade_Sepulcher (67)
--
-----------------------------------
package.loaded["scripts/zones/Jade_Sepulcher/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Jade_Sepulcher/TextIDs");
----------------... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/items/plate_of_sole_sushi.lua | 14 | 1743 | -----------------------------------------
-- ID: 5149
-- Item: plate_of_sole_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 20
-- Strength 5
-- Dexterity 6
-- Accuracy % 15
-- Ranged ACC % 15
-- Sleep Resist 5
-----------------------------------------
require("scrip... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Cloister_of_Tides/npcs/Water_Protocrystal.lua | 17 | 1880 | -----------------------------------
-- Area: Cloister of Tides
-- NPC: Water Protocrystal
-- Involved in Quests: Trial by Water, Trial Size Trial by Water
-- @pos 560 36 560 211
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Tides/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
deniz1a/OpenRA | mods/ra/maps/allies-03a/allies03a.lua | 18 | 9282 | ProductionUnits = { "e1", "e1", "e2" }
ProductionBuildings = { USSRBarracks1, USSRBarracks2 }
TransportReinforcements = { "e1", "e1", "e1", "e2", "e2" }
FirstUSSRBase = { USSRFlameTower1, USSRBarracks1, USSRPowerPlant1, USSRPowerPlant2, USSRConstructionYard1, USSRTechCenter, USSRBaseGuard1, USSRBaseGuard2, USSRBaseGuar... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Windurst_Waters/npcs/Gantineux.lua | 14 | 2525 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Gantineux
-- Starts Quest: Acting in Good Faith
-- @zone 238
-- @pos -83 -9 3
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
imrandomizer/Algorithm-Implementations | Heap_Sort/Lua/Yonaba/heapsort_test.lua | 27 | 1353 | -- Tests for heapsort.lua
local heapsort = require 'heapsort'
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 run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 end
local stat... | mit |
jebenexer/kong | kong/plugins/oauth2/api.lua | 7 | 3102 | local crud = require "kong.api.crud_helpers"
return {
["/oauth2_tokens/"] = {
GET = function(self, dao_factory)
crud.paginated_set(self, dao_factory.oauth2_tokens)
end,
PUT = function(self, dao_factory)
crud.put(self.params, dao_factory.oauth2_tokens)
end,
POST = function(self, dao_... | apache-2.0 |
abriasffxi/darkstar | scripts/zones/Giddeus/npcs/Harvesting_Point.lua | 17 | 1079 | -----------------------------------
-- Area: Giddeus
-- NPC: Harvesting Point
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/Giddeus/TextIDs");
---------------------------... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/spells/dark_carol.lua | 18 | 1502 | -----------------------------------------
-- Spell: Dark Carol
-- Increases dark resistance for party members within the area of effect.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Ishin_IM.lua | 14 | 3344 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Ishin, I.M.
-- Outpost Conquest Guards
-- @pos -481.164 -32.858 49.188 118
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest... | gpl-3.0 |
ElectroDuk/QuackWars | garrysmod/gamemodes/Basewars(Broken}/entities(maybe_outdated)/entities/rpdm_lamp/cl_init.lua | 2 | 2197 |
include('shared.lua')
local matLight = Material( "sprites/light_ignorez" )
local matBeam = Material( "effects/lamp_beam" )
ENT.RenderGroup = RENDERGROUP_BOTH
function ENT:Initialize()
self.PixVis = util.GetPixelVisibleHandle()
end
/*---------------------------------------------------------
Name: Draw
--... | mit |
zjutoe/lackey | cache/cache.lua | 1 | 11161 | local pairs = pairs
local unpack = unpack
local math = math
local setmetatable = setmetatable
local tostring = tostring
local tonumber = tonumber
local print = print
local string = string
local bit = require("bit")
local debug = debug
local type = type
module (...)
function __FILE__() return debug.getinfo(2,'S').sour... | gpl-2.0 |
bravnsgaard/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 |
abriasffxi/darkstar | scripts/zones/Mount_Zhayolm/npcs/HomePoint#1.lua | 27 | 1274 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: HomePoint#1
-- @pos -540.844 -4.000 70.809 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Mount_Zhayolm/TextIDs");
require("scripts/globa... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/West_Ronfaure/npcs/Aaveleon.lua | 14 | 1533 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Aaveleon
-- Involved in Quest: A Sentry's Peril
-- @pos -431 -45 343 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require(... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/North_Gustaberg/npcs/Stone_Monument.lua | 14 | 1295 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -199.635 96.106 505.624 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/weaponskills/glory_slash.lua | 19 | 1581 | -----------------------------------
-- Glory Slash
-- Sword weapon skill
-- Skill Level: NA
-- Only avaliable during Campaign Battle while weilding Lex Talionis.
-- Delivers and area attack that deals triple damage. Damage varies with TP. Additional effect Stun.
-- Will stack with Sneak Attack.
-- Aligned with the Flam... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Port_Bastok/npcs/Romilda.lua | 36 | 2365 | -----------------------------------
-- Area: Port Bastok
-- NPC: Romilda
-- Involved in Quest: Forever to Hold
-- Starts & Ends Quest: Till Death Do Us Part
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
LucaClaessens/Analogy | Network/eval.lua | 16 | 1680 | require 'torch'
require 'nn'
require 'LanguageModel'
require 'util.DataLoader'
local utils = require 'util.utils'
local cmd = torch.CmdLine()
cmd:option('-checkpoint', '')
cmd:option('-split', 'val')
cmd:option('-gpu', 0)
cmd:option('-gpu_backend', 'cuda')
local opt = cmd:parse(arg)
-- Set up GPU stuff
local dty... | gpl-3.0 |
v3n/ProDBG | bin/macosx/tundra/scripts/tundra/syntax/glob.lua | 22 | 3353 | -- glob.lua - Glob syntax elements for declarative tundra.lua usage
module(..., package.seeall)
local util = require "tundra.util"
local path = require "tundra.path"
local decl = require "tundra.decl"
local dirwalk = require "tundra.dirwalk"
local ignored_dirs = util.make_lookup_table { ".git", ".svn", "CVS" }
loca... | mit |
Armyluix/darkstar | scripts/zones/Monarch_Linn/npcs/Spatial_Displacement.lua | 19 | 2455 | -----------------------------------
-- Area: Monarch_Linn
-- NPC: Spatial Displacement
-- @pos -35 -1 -539 31
-----------------------------------
package.loaded["scripts/zones/Monarch_LinnTextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Mhaura/npcs/Porter_Moogle.lua | 14 | 1511 | -----------------------------------
-- Area: Mhaura
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 249
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/... | gpl-3.0 |
ElectroDuk/QuackWars | garrysmod/gamemodes/Basewars/entities(maybe_outdated)/entities/auto_turret/init.lua | 2 | 5472 | /* ======================================
AUTO_TURRET/init
main body
====================================== */
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include('shared.lua')
function ENT:SpawnFunction( ply, tr )
if ( !tr.Hit ) then return end
local SpawnPos = tr.HitPos + tr.HitNormal * 20... | mit |
abriasffxi/darkstar | scripts/zones/Northern_San_dOria/npcs/Miaux.lua | 14 | 6808 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Miaux
-- Type: Quest Giver
-- @pos -169.127 2.999 158.677 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Mount_Zhayolm/TextIDs.lua | 9 | 1063 | -- 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_OBTAINED = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Obtain... | gpl-3.0 |
VideahGams/moontastic | moontastic/segments/init.lua | 1 | 2118 | -- The MIT License (MIT)
-- Copyright (c) 2016 Ruairidh Carmichael - ruairidhcarmichael@live.co.uk
-- 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 ... | mit |
Armyluix/darkstar | scripts/zones/Qufim_Island/npcs/qm3.lua | 17 | 4407 | -----------------------------------
-- Area: Qufim Island
-- NPC: ??? (qm3)
-- Mission: ACP - The Echo Awakens
-- @zone 126
-- @pos -120.342 -19.471 306.661
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-------------------------------------
require("scripts/z... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Port_Jeuno/npcs/Shami.lua | 17 | 18330 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Shami
-- Orb Seller (BCNM)
-- @pos -14 8 44 246
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quest... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Mhaura/TextIDs.lua | 7 | 1940 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obtained... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Castle_Oztroja/npcs/_479.lua | 14 | 1722 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _479 (Brass Door)
-- Involved in Mission "Saintly Invitation"
-- @pos -99 -59 84 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/weaponskills/upheaval.lua | 30 | 1538 | -----------------------------------
-- Upheaval
-- Great Axe weapon skill
-- Skill Level: 357
-- Delivers a four-hit attack. Damage varies with TP.
-- In order to obtain Upheaval, the quest Martial Mastery must be completed.
-- Aligned with Flame Gorget, Light Gorget & Shadow Gorget.
-- Aligned with Flame Belt, ... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Giddeus/npcs/Laa_Mozi.lua | 14 | 2157 | -----------------------------------
-- Area: Giddeus
-- NPC: Laa Mozi
-- Involved in Mission 1-3
-- @pos -22 0 148 145
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions")... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Abyssea-Konschtat/TextIDs.lua | 9 | 3322 | -- 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_OBTAINED = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Obtain... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Port_Jeuno/npcs/Omiro-Zamiro.lua | 17 | 1365 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Omiro-Zamiro
-- @zone 246
-- @pos 3 7 -54
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems")... | gpl-3.0 |
rdlaitila/LURE | src/__legacy__/lib/utils.lua | 1 | 1852 | --
-- Define Class
--
local utils = {}
--
-- Trims a string
--
function utils:trim(STRING)
if STRING ~= nil then
return STRING:match'^()%s*$' and '' or STRING:match'^%s*(.*%S)'
end
end
--
-- Generates a UUID
--
function utils:uuid()
local chars = {"0","1","2","3","4","5","6","7","8","9","A","B... | mit |
Armyluix/darkstar | scripts/globals/items/opo-opo_tart.lua | 35 | 1371 | -----------------------------------------
-- ID: 4287
-- Item: opo-opo_tart
-- Food Effect: 1hour, All Races
-----------------------------------------
-- HP 12
-- MP 12
-- Intelligence 4
-- MP Recovered While Healing 3
-----------------------------------------
require("scripts/globals/status");
---------... | gpl-3.0 |
ellipticaldoor/the_journey_of_92_4b-A | game/lua/world_1/front_1.lua | 1 | 2419 | front_1 = {}
spheres1 = {}
spheres2 = {}
toRemove = {}
function front_1.load()
energy_music = love.audio.newSource("sound/energy.mp3")
images = {
sphere1 = love.graphics.newImage("/images/sphere1.png"),
sphere2 = love.graphics.newImage("/images/sphere2.png"),
}
balldefs = {
{ i = images.sphere1, r = 20 , ... | gpl-2.0 |
Armyluix/darkstar | scripts/zones/Fort_Karugo-Narugo_[S]/npcs/Mortimer.lua | 35 | 1055 | ----------------------------------
-- Area: Fort Karugo Narugo [S]
-- NPC: Mortimer
-- Type: Item Deliverer
-- @zone: 96
-- @pos -24.08 -68.508 93.88
--
-----------------------------------
package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil;
require("scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs")... | gpl-3.0 |
TyKonKet/FS17_FuelUsageDisplay | src/extensions/WoodHarvester.lua | 1 | 1495 | --
-- Better Fuel Usage
--
-- @author TyKonKet
-- @date 29/03/2017
function WoodHarvester:postPostLoad(savegame)
if not self.mrIsMrVehicle then
BetterFuelUsage.print("WoodHarvester extension loaded on %s", self.typeName)
self.getConsumedPtoTorque = Utils.overwrittenFunction(self.getConsumedPtoTorque... | gpl-3.0 |
mahdib9/m1 | plugins/anti-flood.lua | 281 | 2422 | local NUM_MSG_MAX = 5 -- Max number of messages per TIME_CHECK seconds
local TIME_CHECK = 5
local function kick_user(user_id, chat_id)
local chat = 'chat#id'..chat_id
local user = 'user#id'..user_id
chat_del_user(chat, user, function (data, success, result)
if success ~= 1 then
local text = 'I can\'t k... | gpl-2.0 |
abriasffxi/darkstar | scripts/globals/items/ice_brand.lua | 41 | 1056 | -----------------------------------------
-- ID: 16937
-- Ice Brand
-- Additional Effect: Ice Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
func... | gpl-3.0 |
urueedi/luci | build/luadoc/luadoc/taglet/standard/tags.lua | 46 | 5543 | -------------------------------------------------------------------------------
-- Handlers for several tags
-- @release $Id: tags.lua,v 1.8 2007/09/05 12:39:09 tomas Exp $
-------------------------------------------------------------------------------
local luadoc = require "luadoc"
local util = require "luadoc.util"... | apache-2.0 |
abriasffxi/darkstar | scripts/zones/Zeruhn_Mines/Zone.lua | 1 | 2965 | -----------------------------------
--
-- Zone: Zeruhn_Mines (172)
--
-----------------------------------
package.loaded["scripts/zones/Zeruhn_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/zone");
require("scripts/zones/Zeruhn_Mines/TextIDs");
-... | gpl-3.0 |
mortezamosavy999/telegrambot | plugins/danbooru.lua | 616 | 1750 | do
local URL = "http://danbooru.donmai.us"
local URL_NEW = "/posts.json"
local URL_POP = "/explore/posts/popular.json"
local scale_day = "?scale=day"
local scale_week = "?scale=week"
local scale_month = "?scale=month"
local function get_post(url)
local b, c, h = http.request(url)
if c ~= 200 then return nil end
... | gpl-2.0 |
Armyluix/darkstar | scripts/zones/Windurst_Walls/npcs/Tsuaora-Tsuora.lua | 38 | 1043 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Tsuaora-Tsuora
-- Type: Standard NPC
-- @zone: 239
-- @pos 71.489 -3.418 -67.809
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
------... | gpl-3.0 |
bravnsgaard/premake-core | modules/d/tests/test_gmake.lua | 3 | 3573 | ---
-- d/tests/test_gmake.lua
-- Automated test suite for gmake project generation.
-- Copyright (c) 2011-2015 Manu Evans and the Premake project
---
local suite = test.declare("d_make")
local p = premake
local m = p.modules.d
local make = p.make
local project = p.project
--------------------------------------... | bsd-3-clause |
Armyluix/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 |
mynameiscraziu/crazy | plugins/banhammer.lua | 294 | 10470 | local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return white
end
local function is_chat_whitelisted(id)
local hash = 'whitelist:chat#id'..id
local white = redis:get(hash) or false
return white
end
local function kick_user(user_id, chat_id)... | gpl-2.0 |
Armyluix/darkstar | scripts/zones/Batallia_Downs/npcs/Cavernous_Maw.lua | 16 | 2992 | -----------------------------------
-- Area: Batallia Downs
-- NPC: Cavernous Maw
-- @pos -48 0.1 435 105
-- Teleports Players to Batallia Downs [S]
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
uspgamedev/backdoor | game/view/actorpanel/init.lua | 1 | 2555 |
-- luacheck: globals MAIN_TIMER
local COLORS = require 'domain.definitions.colors'
local Node = require 'view.node'
local Text = require 'view.helpers.text'
local VIEWDEFS = require 'view.definitions'
local Class = require "steaming.extra_libs.hump.class"
local Stats = require 'view.actorpanel.stat... | gpl-3.0 |
bravnsgaard/premake-core | tests/api/test_deprecations.lua | 16 | 1664 | --
-- tests/api/test_table_kind.lua
-- Tests the table API value type.
-- Copyright (c) 2012-2014 Jason Perkins and the Premake project
--
local p = premake
local suite = test.declare("api_deprecations")
local api = p.api
function suite.setup()
workspace("MyWorkspace")
configurations { "Debug", "Release" }
... | bsd-3-clause |
abriasffxi/darkstar | scripts/zones/South_Gustaberg/npcs/qm1.lua | 14 | 1424 | -----------------------------------
-- Area: South Gustaberg
-- NPC: qm1 (???)
-- Involved in Quest: The Cold Light of Day
-- @pos 744 0 -671 107
-----------------------------------
package.loaded["scripts/zones/South_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/South_Gustabe... | gpl-3.0 |
ElectroDuk/QuackWars | garrysmod/gamemodes/Basewars(Broken}/entities(maybe_outdated)/weapons/weapon_ump452/shared.lua | 2 | 1601 | // Variables that are used on both client and server
SWEP.Base = "weapon_mad_base"
SWEP.ViewModelFlip = true
SWEP.ViewModel = "models/weapons/v_smg_ump45.mdl"
SWEP.WorldModel = "models/weapons/w_smg_ump45.mdl"
SWEP.Spawnable = true
SWEP.AdminSpawnable = false
SWEP.Primary.Sound = Sound("Weapon_UMP45.S... | mit |
sum2012/mame | 3rdparty/genie/src/tools/dotnet.lua | 40 | 1857 | --
-- dotnet.lua
-- Interface for the C# compilers, all of which are flag compatible.
-- Copyright (c) 2002-2009 Jason Perkins and the Premake project
--
premake.dotnet = { }
premake.dotnet.namestyle = "windows"
--
-- Translation of Premake flags into CSC flags
--
local flags =
{
FatalWarning = "/warnase... | gpl-2.0 |
Armyluix/darkstar | scripts/globals/items/porcupine_pie.lua | 35 | 1945 | -----------------------------------------
-- ID: 5156
-- Item: porcupine_pie
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 55
-- Strength 6
-- Vitality 2
-- Intelligence -3
-- Mind 3
-- MP recovered while healing 2
-- Accuracy 5
-- Attack % 18 (cap 95)
-- Ranged Attack % ... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/weaponskills/shadowstitch.lua | 18 | 1531 | -----------------------------------
-- 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%T... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Open_sea_route_to_Al_Zahbi/npcs/Cehn_Teyohngo.lua | 17 | 1250 | -----------------------------------
-- Area: Open sea route to Al Zahbi
-- NPC: Cehn Teyohngo
-- Guild Merchant NPC: Fishing Guild
-- @zone 4.986 -2.101 -12.026 46
-----------------------------------
package.loaded["scripts/zones/Open_sea_route_to_Al_Zahbi/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
ElectroDuk/QuackWars | garrysmod/gamemodes/Basewars/entities(maybe_outdated)/weapons/weapon_welder/cl_init.lua | 3 | 5090 | include('shared.lua')
function SWEP:DrawHUD()
if( LocalPlayer():KeyDown(1)) then
local trace = self.Owner:GetEyeTrace()
if (trace.Entity:GetNWInt("welddamage")!=nil && trace.HitPos:Distance(LocalPlayer():GetShootPos()) <= 128 and (trace.Entity:GetClass()=="prop_physics_multiplayer" || trace.Entity:GetClass()==... | mit |
abriasffxi/darkstar | scripts/zones/The_Shrine_of_RuAvitau/npcs/qm2.lua | 14 | 1568 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- NPC: ??? (Spawn Kirin)
-- @pos -81 32 2 178
-----------------------------------
package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Shrine_of_RuAvitau/TextIDs");
--... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Selbina/npcs/Vuntar.lua | 14 | 3323 | -----------------------------------
-- Area: Selbina
-- NPC: Vuntar
-- Starts and Finishes Quest: Cargo (R)
-- @pos 7 -2 -15 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/glo... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Caedarva_Mire/npcs/Nasheefa.lua | 19 | 1384 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Nasheefa
-- Type: Alzadaal Undersea Ruins
-- @pos -440.998 0.107 -740.015 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/mobskills/Bloodrake.lua | 13 | 1106 | ---------------------------------------------
-- Bloodrake
--
-- Description: Slashes up a single target. Additional effect: Drain
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow?
-- Range: Melee
-- Notes: A spell equivalent to Sanguine Blade in terms of functionality where damage dealt is absorbed as... | gpl-3.0 |
Armyluix/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 |
abriasffxi/darkstar | scripts/zones/Upper_Jeuno/npcs/Mhao_Kehtsoruho.lua | 14 | 1054 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Mhao Kehtsoruho
-- Type: Past Event Watcher
-- @zone 244
-- @pos -73.032 -1 146.919
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
----------... | gpl-3.0 |
JKGDevs/JediKnightGalaxies | JKGalaxies/glua/resources/entities/misc_bomb_detonator.lua | 3 | 3218 | --[[ ------------------------------------------------
Jedi Knight Galaxies Entity
Misc_bomb_remote
Modified version of the misc_bomb, that explodes by remote instead of taking damage or being activated manualy
Written by BobaFett
--------------------------------------------------]]
-- Classname to be used for... | gpl-2.0 |
dios-game/dios-cocos | src/oslibs/cocos/cocos-src/tests/lua-empty-test/src/hello.lua | 10 | 7951 | cc.FileUtils:getInstance():addSearchPath("src")
cc.FileUtils:getInstance():addSearchPath("res")
-- CC_USE_DEPRECATED_API = true
require "cocos.init"
-- cclog
cclog = function(...)
print(string.format(...))
end
-- for CCLuaEngine traceback
function __G__TRACKBACK__(msg)
cclog("---------------------------------... | mit |
cyberix3d/Cyberix3D | bin/Data/LuaScripts/07_Billboards.lua | 2 | 11505 | -- Billboard example.
-- This sample demonstrates:
-- - Populating a 3D scene with billboard sets and several shadow casting spotlights
-- - Parenting scene nodes to allow more intuitive creation of groups of objects
-- - Examining rendering performance with a somewhat large object and light count
require ... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/weaponskills/raging_fists.lua | 30 | 1402 | -----------------------------------
-- Raging Fists
-- Hand-to-Hand weapon skill
-- Skill Level: 125
-- Delivers a fivefold attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: None
-- Modifiers: STR:30% ; DEX:30%
-- ... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/mobskills/Sweeping_Flail.lua | 39 | 1067 | ---------------------------------------------------
-- Sweeping Flail
-- Family: Bahamut
-- Description: Spins around to deal physical damage to enemies behind user. Additional effect: Knockback
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: 20' cone
-- Notes: Used when someone pulls hate from... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Apollyon/bcnms/SE_Apollyon.lua | 22 | 1456 | -----------------------------------
-- Area: Appolyon
-- Name: SE_Apollyon
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[SE_Apollyon]Uniq... | gpl-3.0 |
adam000/Procellarum | engine/Path.lua | 1 | 1629 | require 'Util'
require 'math/Vec2'
require 'Position'
Path = {
waypoints = {},
units = {},
}
function Path:New(o)
o = o or {}
setmetatable(o, self)
self.__index = self
return o
end
-- Waypoints should be a linked list (using .next) of Vec2s to represent a line
function Path:setWaypoints(waypo... | mit |
Sosha1996/MegaPFulBot | plugins/getcaption.lua | 3 | 1239 | --[[
################################
# #
# Get Caption #
# #
# #
# by @Dragon_Born "Arian" #
# #
# #
# Modified by GPMod Team #
# ... | gpl-2.0 |
Armyluix/darkstar | scripts/zones/King_Ranperres_Tomb/npcs/_5a0.lua | 17 | 2401 | -----------------------------------
-- Area: King Ranperre's Tomb
-- DOOR: _5a0 (Heavy Stone Door)
-- @pos -39.000 4.823 20.000 190
-----------------------------------
package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
re... | gpl-3.0 |
dios-game/dios-cocos | src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/script/extension/DeprecatedExtensionClass.lua | 61 | 4838 | if nil == cc.Control then
return
end
-- This is the DeprecatedExtensionClass
DeprecatedExtensionClass = {} or DeprecatedExtensionClass
--tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--CCControl ... | mit |
Armyluix/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Stone_Monument.lua | 32 | 1291 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -499.189 12.600 373.592 117
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Ilrusi_Atoll/npcs/Excaliace.lua | 30 | 4512 | -----------------------------------
-- Area: Periqia
-- NPC: Excaliace
-----------------------------------
require("scripts/zones/Periqia/IDs");
require("scripts/globals/pathfind");
local start = {-322,-16.5,380};
local startToChoice1 = {
-320.349548, -16.046591, 379.684570
-318.312317, -16.046591, 379.5798... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_ir7.lua | 17 | 1502 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: _ir7 (Iron Gate)
-- @pos -70.800 -1.500 60.000 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scr... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Dynamis-San_dOria/npcs/qm1.lua | 17 | 1347 | -----------------------------------
-- Area: Dynamis San d'Oria
-- NPC: qm1 (???)
-- Notes: Spawns when Megaboss is defeated
-----------------------------------
package.loaded["scripts/zones/Dynamis-San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Jugner_Forest/npcs/Field_Manual.lua | 29 | 1048 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Field Manual
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
---------------------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Upper_Jeuno/npcs/Kasra.lua | 14 | 1042 | ----------------------------------
-- Area: Upper Jeuno
-- NPC: Kasra
-- Type: Item Deliverer
-- @zone 244
-- @pos -34.555 7.999 90.702
--
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
----------------------------... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/items/salty_bretzel.lua | 35 | 1296 | -----------------------------------------
-- ID: 5182
-- Item: salty_bretzel
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Magic % 8
-- Magic Cap 60
-- Vitality 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/items/meat_chiefkabob.lua | 18 | 1449 | -----------------------------------------
-- ID: 4574
-- Item: meat_chiefkabob
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Attack % 22
-- Attack Cap 65
-----------------------------------------
require("scripts/globals/status");
---------... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5f8.lua | 12 | 1096 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Titan's Gate
-- @pos 260 -34 88 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
------... | gpl-3.0 |
obelisk21/prosody-modules | mod_bidi/mod_bidi.lua | 32 | 4894 | -- Bidirectional Server-to-Server Connections
-- http://xmpp.org/extensions/xep-0288.html
-- Copyright (C) 2013 Kim Alvefur
--
-- This file is MIT/X11 licensed.
--
local add_filter = require "util.filters".add_filter;
local st = require "util.stanza";
local jid_split = require"util.jid".prepped_split;
local core_proces... | mit |
abriasffxi/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/_4w3.lua | 14 | 2876 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Mythril Beastcoin Door
-- @zone 176
-- @pos 40 8.6 20.012
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/RuLude_Gardens/npcs/Muhoho.lua | 34 | 1386 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Muhoho
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuLude_Gardens/TextIDs");
require("scripts/globals/quest... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/RuLude_Gardens/npcs/Neraf-Najiruf.lua | 14 | 2050 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Neraf-Najiruf
-- Involved in Quests: Save my Sister
-- @zone 243
-- @pos -36 2 60
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings"... | gpl-3.0 |
minin43/nzombies | gamemodes/nzombies/gamemode/tools/sh_tools_nav.lua | 2 | 8756 | nzTools:CreateTool("navedit", {
displayname = "Navmesh Editor",
desc = "Q: Select edit mode",
condition = function(wep, ply)
return true
end,
PrimaryAttack = function(wep, ply, tr, data)
if data.Primary then
RunConsoleCommand(data.Primary)
end
end,
SecondaryAttack = function(wep, ply, tr, data)
if d... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Wyatt.lua | 14 | 2081 | -----------------------------------
-- 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 |
isalnikov/Algorithm-Implementations | Lempel_Ziv_Welch/Lua/Yonaba/lzw_test.lua | 26 | 1030 | -- Tests for lzw.lua
local lzw = require 'lzw'
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 run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 end
local status = ok... | mit |
abriasffxi/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Leonoyne1.lua | 14 | 1050 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Leonyone
-- @zone 80
-- @pos -192 -1 42
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
-----------------------------------
-- onT... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Southern_San_dOria/npcs/Glenne.lua | 13 | 3800 | -------------------------------------
-- Area: Southern San d'Oria
-- NPC: Glenne
-- Starts and Finishes Quest: A Sentry's Peril
-- @zone 230
-- @pos -122 -2 15
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.