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 |
|---|---|---|---|---|---|
Joeyjohjjo/Johjjodarkfork | scripts/zones/Kuftal_Tunnel/npcs/qm5.lua | 10 | 1388 | -----------------------------------
-- Area: Kuftal Tunnel
-- NPC: ???
-- Involved in Mission: Bastok 8-2
-----------------------------------
package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
requi... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Temenos/mobs/Ice_Elemental.lua | 2 | 1658 | -----------------------------------
-- Area: Temenos E T
-- NPC: Ice_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
----------------------------------... | gpl-3.0 |
szorfein/dotfiles | themes/morpho/.config/awesome/bars/morpho.lua | 1 | 1477 | local awful = require("awful")
local wibox = require("wibox")
local beautiful = require("beautiful")
-- init tables
local mybar = class()
-- {{{ Wibar
function mybar:init(s)
-- Create a promptbox for each screen
s.mypromptbox = awful.widget.prompt()
-- Create a tasklist widget for each screen
s.mytasklist =... | mit |
liumingzhij26/codis | extern/redis-2.8.21/deps/lua/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Bastok_Markets/npcs/Horatius.lua | 38 | 2104 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Horatius
-- Type: Quest Giver
-- Starts and Finishes: Breaking Stones
-- @pos -158.392 -5.839 -117.061 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
requ... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Selbina/npcs/Oswald.lua | 17 | 4682 | -----------------------------------
-- Area: Selbina
-- NPC: Oswald
-- Starts and Finishes Quest: Under the sea (finish), The gift, The real gift
-- @pos 48 -15 9 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/East_Ronfaure/npcs/Signpost.lua | 19 | 2134 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Signpost
-- Involved in Quest: To Cure a Cough
-- @pos 257 -45 212 101
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/spells/curaga.lua | 4 | 1210 | -----------------------------------------
-- Spell: Curaga
-- Restores HP of all party members within area of effect.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Halvung/Zone.lua | 4 | 1211 | -----------------------------------
--
-- Zone: Halvung (62)
--
-----------------------------------
package.loaded["scripts/zones/Halvung/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Halvung/TextIDs");
-----------------------------------
-- onInitialize
--------------------------------... | gpl-3.0 |
alexsong93/openwhisk-apigateway | scripts/lua/lib/redis.lua | 1 | 23580 | --
-- 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 may ... | apache-2.0 |
euphemism/Bestiary | main.lua | 1 | 27863 | local bestiaryMod = RegisterMod("Bestiary - Globals", 1);
local sfx = SFXManager()
local music = MusicManager()
local game = Game()
local rng = RNG()
bestiaryMod.enemyCount = 0;
-- UPDATE CALLBACK
function bestiaryMod:onUpdate()
bestiaryMod.enemyCount = 0;
for i, entity in pairs(Isaac.GetRoomEntities()) do
--... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/tavnazian_salad.lua | 35 | 1678 | -----------------------------------------
-- ID: 4279
-- Item: tavnazian_salad
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 20
-- Magic 20
-- Dexterity 4
-- Agility 4
-- Vitality 6
-- Charisma 4
-- Defense % 25
-- Defense Cap 150
------------------------------------... | gpl-3.0 |
WhoIsJingJing/dockers_demo | gae_openresty/nginx/lualib/resty/http.lua | 1 | 22874 | local http_headers = require "resty.http_headers"
local ngx_socket_tcp = ngx.socket.tcp
local ngx_req = ngx.req
local ngx_req_socket = ngx_req.socket
local ngx_req_get_headers = ngx_req.get_headers
local ngx_req_get_method = ngx_req.get_method
local str_gmatch = string.gmatch
local str_lower = string.lower
local str_u... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Buburimu_Peninsula/npcs/Five_of_Spades.lua | 17 | 1482 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Five of Spades
-- Invloved in quests: A Greeting Cardian
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Buburimu_Peninsula/... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Beaucedine_Glacier_[S]/Zone.lua | 4 | 1249 | -----------------------------------
--
-- Zone: Beaucedine_Glacier_[S] (136)
--
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier_[S]/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Beaucedine_Glacier_[S]/TextIDs");
-----------------------------------
--... | gpl-3.0 |
LuaDist2/loop | lua/loop/collection/UnorderedArray.lua | 12 | 1495 | --------------------------------------------------------------------------------
---------------------- ## ##### ##### ###### -----------------------
---------------------- ## ## ## ## ## ## ## -----------------------
---------------------- ## ## ## ## ## ###### --------------------... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Ordelles_Caves/Zone.lua | 13 | 2039 | -----------------------------------
--
-- Zone: Ordelles_Caves (193)
--
-----------------------------------
package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Ordelles_C... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Mashasha_WW.lua | 8 | 2951 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Mashasha, W.W.
-- Border Conquest Guards
-- @pos -599.903 -41.441 165.776 118
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conqu... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Castle_Oztroja/npcs/_47b.lua | 17 | 1929 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47b (Handle)
-- Notes: Opens Trap Door (_47a) or Brass Door (_470)
-- @pos 22.310 -1.087 -14.320 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
jozeff3/smart_devil | plugins/all.lua | 184 | 4452 | do
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print_name(user)..' ['..user_id..']'
return u... | gpl-2.0 |
Gwynthell/FFDB | scripts/zones/Lower_Jeuno/npcs/_l08.lua | 6 | 1500 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -32.897 0 -28.521
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/ogre_eel.lua | 17 | 1389 | -----------------------------------------
-- ID: 4481
-- Item: ogre_eel
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
NanXiao/shark | core/luajit/dynasm/dasm_mips.lua | 120 | 28080 | ------------------------------------------------------------------------------
-- DynASM MIPS module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- See dynasm.lua for full copyright notice.
------------------------------------------------------------------------------
-- Module information:
local _i... | lgpl-2.1 |
olax/prosody-modules | mod_support_contact/mod_support_contact.lua | 32 | 1757 | -- mod_support_contact.lua
--
-- Config options:
-- support_contact = "support@hostname"; -- a JID
-- support_contact_nick = "Support!"; -- roster nick
-- support_contact_group = "Users being supported!"; -- the roster group in the support contact's roster
local host = module:get_host();
local support_contact =... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Castle_Oztroja/mobs/Yagudo_Avatar.lua | 29 | 1393 | -----------------------------------
-- Area: Castle Oztroja (151)
-- Mob: Yagudo_Avatar (Tzee Xicu the Manifest PH)
-----------------------------------
require("scripts/zones/Castle_Oztroja/TextIDs");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Caedarva_Mire/npcs/Logging_Point.lua | 29 | 1101 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Caedarva_Mire/TextIDs");
-----... | gpl-3.0 |
prefanatic/exsto | lua/exsto/plugins/server/entity-own.lua | 1 | 1608 | -- Own plugin
local PLUGIN = exsto.CreatePlugin()
PLUGIN:SetInfo({
Name = "Own",
ID = "own",
Desc = "Sets the owner of a prop/entity.",
Owner = "Hobo",
} )
function PLUGIN:Init()
timer.Simple(1, function()
if !FPP then
self:Debug( "No FPP detected. Unloading!", 1 )
self:Unload( "... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Waughroon_Shrine/bcnms/thief_in_norg.lua | 4 | 1989 | -----------------------------------
-- Area: Waughroon_Shrine
-- Name: A Thief in Norg?!
-- Norg Quest
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("s... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Port_Windurst/npcs/Lebondur.lua | 4 | 1504 | -----------------------------------
-- Area: Port Windurst
-- NPC: Lebondur
-- Regional Marchant NPC
-- Only sells when Windurst controls Vollbow.
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zone... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Caiphimonride.lua | 37 | 1316 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Caiphimonride
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
---------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Windurst_Waters/npcs/Jourille.lua | 36 | 1569 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Jourille
-- Only sells when Windurst controlls Ronfaure Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Wind... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Windurst_Waters/npcs/Jourille.lua | 36 | 1569 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Jourille
-- Only sells when Windurst controlls Ronfaure Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Wind... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/abilities/wind_shot.lua | 22 | 2984 | -----------------------------------
-- Ability: Wind Shot
-- Consumes a Wind Card to enhance wind-based debuffs. Deals wind-based magic damage
-- Choke Effect: Enhanced DoT and VIT-
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/glob... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/West_Sarutabaruta/npcs/Roshina-Kuleshuna_WW.lua | 8 | 2968 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Roshina-Kuleshuna, W.W.
-- Type: Outpost Conquest Guards
-- @pos -11.322 -13.459 317.696 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Northern_San_dOria/npcs/Phairupegiont.lua | 17 | 1709 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Phairupegiont
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos -46 0.1 76 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Navukgo_Execution_Chamber/Zone.lua | 28 | 1358 | -----------------------------------
--
-- Zone: Navukgo_Execution_Chamber (64)
--
-----------------------------------
package.loaded["scripts/zones/Navukgo_Execution_Chamber/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Navukgo_Execution_Chamb... | gpl-3.0 |
blunty666/CC-Programs-and-APIs | games/WhereIsDan/WhereIsDan.lua | 1 | 6184 | local BOX = {
WIDTH = 20,
HEIGHT = 9,
}
local BUTTON = {
WIDTH = 18,
}
local TIMEOUT = 300 -- cache quotes for 5 minutes
local URL = "https://raw.githubusercontent.com/blunty666/CC-Programs-and-APIs/master/games/WhereIsDan/quotes.lua"
local WIDTH, HEIGHT = term.getSize()
local CENTER_X, CENTER_Y = math.ceil(WIDT... | mit |
asgty/teleashraf | libs/serpent.lua | 656 | 7877 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | gpl-2.0 |
Vivitarut/darkstar | scripts/zones/Xarcabard/npcs/Jeantelas_RK.lua | 8 | 2933 | -----------------------------------
-- Area: Xarcabard
-- NPC: Jeantelas, R.K.
-- Type: Outpost Conquest Guards
-- @pos 207.548 -24.795 -203.694 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
req... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Newton_Movalpolos/Zone.lua | 30 | 1704 | -----------------------------------
--
-- Zone: Newton_Movalpolos (12)
--
-----------------------------------
package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Newton_Movalpolos/TextIDs");
-------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/commands/reloadglobal.lua | 26 | 1230 | ---------------------------------------------------------------------------------------------------
-- func: @reloadglobal
-- desc: Attempt to reload specified global lua without a restart.
--
-- Use with caution, some files ( like player.lua )
-- can cause you problems if you reload them using this.
-- This comm... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Northern_San_dOria/npcs/Galahad.lua | 38 | 1031 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Galahad
-- Type: Consulate Representative NPC
-- @zone: 231
-- @pos -51.984 -2.000 -15.373
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/Tex... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/weaponskills/double_thrust.lua | 30 | 1320 | -----------------------------------
-- Double Thrust
-- Polearm weapon skill
-- Skill Level: 5
-- Delivers a two-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Light Gorget.
-- Aligned with the Light Belt.
-- Element: None
-- Modifiers: STR:30%
-- 100%TP 200%TP 3... | gpl-3.0 |
szorfein/dotfiles | awesomewm/.config/awesome/module/rules.lua | 1 | 5087 | local awful = require("awful")
local beautiful = require("beautiful")
local keys = require("config.keys") -- TODO: remove soon
local helpers = require("helpers")
-- Rules
awful.rules.rules = {
-- All clients will match this rule.
{
rule = { },
properties = {
border_width = beautiful.border_width,
... | mit |
Vivitarut/darkstar | scripts/zones/Port_Windurst/npcs/Papo-Hopo.lua | 36 | 2900 | -----------------------------------
-- Area: Port Windurst
-- NPC: Papo-Hopo
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/Port_... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Sauromugue_Champaign/npcs/qm2.lua | 11 | 3564 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: qm2 (???) (Tower 2)
-- Involved in Quest: THF AF "As Thick As Thieves"
-- @pos 196.830 31.300 206.078 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
-------------------------------... | gpl-3.0 |
szagoruyko/cudnn.torch | Pointwise.lua | 4 | 2063 | local Pointwise, parent = torch.class('cudnn._Pointwise','nn.Module')
local errcheck = cudnn.errcheck
function Pointwise:__init(inplace)
parent.__init(self)
self.inplace = inplace or false
end
function Pointwise:createIODescriptors(input)
assert(self.mode, 'mode is not set. (trying to use base class?)');
... | bsd-2-clause |
sammyt291/wire | lua/wire/stools/7seg.lua | 8 | 3298 | WireToolSetup.setCategory( "Visuals/Indicators" )
WireToolSetup.open( "7seg", "7 Segment Display", "gmod_wire_indicator", nil, "7 Segment Displays" )
TOOL.GhostAngle = Angle(90, 0, 0)
TOOL.GhostMin = "x"
if CLIENT then
language.Add( "tool.wire_7seg.name", "7-Segment Display Tool" )
language.Add( "tool.wire_7seg.des... | apache-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/effects/weakness.lua | 19 | 1566 | -----------------------------------
--
-- Weakness
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
--reduce HP and MP by the power amount. Add... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/balik_sis_+1.lua | 3 | 1540 | -----------------------------------------
-- ID: 5601
-- Item: Balik Sis +1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 5
-- Mind -2
-- Attack % 15
-- Attack Cap 45
-- Ranged ACC 1
-- Ranged ATT % 15
-- Ranged ATT Cap 45
-----------------------------------------
require("scr... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Mhaura/npcs/Yabby_Tanmikey.lua | 17 | 1190 | -----------------------------------
-- Area: Mhaura
-- NPC: Yabby Tanmikey
-- Guild Merchant NPC: Goldsmithing Guild
-- @pos -36.459 -16.000 76.840 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/sett... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/bijou_glace.lua | 3 | 1224 | -----------------------------------------
-- ID: 4269
-- Item: Bijou Glace
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Magic % 13
-- Magic Cap 90
-- Magic Regen While Healing 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------... | gpl-3.0 |
ezibyte/EziSocial-PhotoExample | Cocos2dx-3x/PhotoExample/cocos2d/tests/lua-tests/src/LuaBridgeTest/LuaBridgeTest.lua | 5 | 6086 | local targetPlatform = cc.Application:getInstance():getTargetPlatform()
local LINE_SPACE = 40
local itemTagBasic = 1000
local LuaBridgeTestsName =
{
"LuaJavaBridge",
"LuaObjectCBridge",
}
local s = cc.Director:getInstance():getWinSize()
local function LuaBridgeLayer()
local layer = cc.Layer:create()
... | apache-2.0 |
Vivitarut/darkstar | scripts/zones/Windurst_Walls/npcs/HomePoint#1.lua | 3 | 1724 | -----------------------------------
-- Area: Windurst Walls
-- NPC: HomePoint#1
-- @pos -72.069 -5.013 124.784 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/... | gpl-3.0 |
jozeff3/smart_devil | plugins/lock_badword.lua | 17 | 1307 | --[[
#
#ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
#:((
# For More Information ....!
# Developer : Aziz < @TH3_GHOST >
# our channel: @DevPointTeam
# Version: 1.1
#:))
#ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
#
]]
lo... | gpl-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Hall_of_the_Gods/npcs/Shimmering_Circle.lua | 17 | 1786 | -----------------------------------
-- Area: Hall of the Gods
-- NPC: Shimmering Circle
-- Lifts players up to the sky!
-- @pos 0 -20 147 251
-----------------------------------
package.loaded["scripts/zones/Hall_of_the_Gods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyite... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/spells/blindga.lua | 11 | 1138 | -----------------------------------------
-- Spell: Blind
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/slice_of_salted_hare.lua | 35 | 1198 | -----------------------------------------
-- ID: 5737
-- Item: slice_of_salted_hare
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 10
-- Strength 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- On... | gpl-3.0 |
ia97lies/xauxi | test/unit/test_route.lua | 1 | 1360 | require "lunit"
module(..., lunit.testcase, package.seeall)
local route = require "xauxi.route"
function test_url_match()
local req = {}
req.url = "/foo/bar/bla"
assert_true(route.location(req, "/foo/bar/bla"))
assert_true(route.location(req, "/foo/bar"))
assert_false(route.location(req, "/foo/bar/bla/notm... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/globals/mobskills/Cimicine_Discharge.lua | 25 | 1061 | ---------------------------------------------------
-- Cimicine Discharge
-- Reduces the attack speed of enemies within range.
-- Duration: Variable, with max of 3 min
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/gl... | gpl-3.0 |
jessarcher/dotfiles | nvim/lua/user/plugins/telescope.lua | 1 | 1872 | local telescope = require('telescope')
local actions = require('telescope.actions')
vim.cmd([[
highlight link TelescopePromptTitle PMenuSel
highlight link TelescopePreviewTitle PMenuSel
highlight link TelescopePromptNormal PMenu
highlight link TelescopePromptBorder PMenuBg
highlight link TelescopeNormal Curs... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/globals/armorstorage.lua | 29 | 8646 | -----------------------------------
--
-- Armor Storage
--
-----------------------------------
require("scripts/globals/keyitems");
-- Initialize StorageArray
-- {SetId,SetGroup,SetMask,SetCount,Head,Body,Hands,Legs,Feet,StorageCost,KeyItem}
StorageArray = {0x01,0x04,0x000001,0x05,0x30DF,0x315E,0x3689,0x3786... | gpl-3.0 |
DoktorAmir/Test | plugins/rss.lua | 700 | 5434 | local function get_base_redis(id, option, extra)
local ex = ''
if option ~= nil then
ex = ex .. ':' .. option
if extra ~= nil then
ex = ex .. ':' .. extra
end
end
return 'rss:' .. id .. ex
end
local function prot_url(url)
local url, h = string.gsub(url, "http://", "")
local... | gpl-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Metalworks/npcs/High_Bear.lua | 19 | 1764 | -----------------------------------
-- Area: Metalworks
-- NPC: High Bear
-- Type: Quest Giver
-- @zone: 237
-- @pos 25.231 -14.999 4.552
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/keyitems");
require("scripts/globals/titles");
--------------------------------... | gpl-3.0 |
Aftly1951/h4kurd | plugin/welcome.lua | 190 | 3526 | local add_user_cfg = load_from_file('data/add_user_cfg.lua')
local function template_add_user(base, to_username, from_username, chat_name, chat_id)
base = base or ''
to_username = '@' .. (to_username or '')
from_username = '@' .. (from_username or '')
chat_name = string.gsub(chat_name, '_', ' ') or ''
c... | gpl-2.0 |
Gwynthell/FFDB | scripts/globals/spells/bluemagic/triumphant_roar.lua | 2 | 1087 | -----------------------------------------
-- Spell: Triumphant Roar
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/bluemagic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
fun... | gpl-3.0 |
olax/prosody-modules | mod_message_logging/mod_message_logging.lua | 32 | 3943 | module:set_global();
local jid_bare = require "util.jid".bare;
local jid_split = require "util.jid".split;
local stat, mkdir = require "lfs".attributes, require "lfs".mkdir;
-- Get a filesystem-safe string
local function fsencode_char(c)
return ("%%%02x"):format(c:byte());
end
local function fsencode(s)
return (s:... | mit |
Gwynthell/FFDB | scripts/zones/Garlaige_Citadel/npcs/qm6.lua | 4 | 1333 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm6 (???)
-- Involved in Quest: Hitting the Marquisate (THF AF3)
-- @pos -220.039 -5.500 194.192 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/crepe_belle_helene.lua | 36 | 1333 | -----------------------------------------
-- ID: 5778
-- Item: Crepe Belle Helene
-- Food Effect: 60 Min, All Races
-----------------------------------------
-- Intelligence +2
-- MP Healing +3
-- Magic Accuracy +6
-- Magic Defense +1
-----------------------------------------
require("scripts/globals/status");
------... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/weaponskills/raiden_thrust.lua | 6 | 1246 | -----------------------------------
-- Raiden Thrust
-- Polearm weapon skill
-- Skill Level: 70
-- Deals lightning elemental damage to enemy. Damage varies with TP.
-- Aligned with the Light Gorget & Thunder Gorget.
-- Aligned with the Light Belt & Thunder Belt.
-- Element: Lightning
-- Modifiers: STR:3... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/bowl_of_egg_soup.lua | 3 | 1294 | -----------------------------------------
-- ID: 4417
-- Item: Bowl of Egg Soup
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health % 6
-- Health Cap 30
-- Magic 5
-- Health Regen While Healing 5
-----------------------------------------
require("scripts/globals/status");
-----------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Lower_Jeuno/npcs/Miladi-Nildi.lua | 38 | 1034 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Miladi-Nildi
-- Type: Standard NPC
-- @zone: 245
-- @pos 39.898 -5.999 77.190
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
---------------... | gpl-3.0 |
dddaaaddd/zarin | bot/xamarin.lua | 1 | 11475 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
local f = assert(io.popen('/usr/bin/git describe --tags', 'r'))
VERSION = assert(f:read('*a'))
f:close()
-- This function is ... | gpl-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Upper_Jeuno/npcs/Coumuna.lua | 37 | 1325 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Coumuna
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
-----------------------------------
... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Meriphataud_Mountains_[S]/npcs/Cavernous_Maw.lua | 29 | 1505 | -----------------------------------
-- Area: Meriphataud Mountains [S]
-- NPC: Cavernous Maw
-- @pos 597 -32 279 97
-- Teleports Players to Meriphataud Mountains
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains_[S]/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/slice_of_cockatrice_meat.lua | 1 | 1236 | -----------------------------------------
-- ID: 4435
-- Item: slice_of_cockatrice_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 4
-- Intelligence -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- ... | gpl-3.0 |
mandla99/the_king1 | libs/dateparser.lua | 114 | 6213 | local difftime, time, date = os.difftime, os.time, os.date
local format = string.format
local tremove, tinsert = table.remove, table.insert
local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable
local dateparser={}
--we shall use the host OS's... | gpl-2.0 |
Srisai85/torch7 | init.lua | 24 | 3702 |
-- We are using paths.require to appease mkl
-- Make this work with LuaJIT in Lua 5.2 compatibility mode, which
-- renames string.gfind (already deprecated in 5.1)
if not string.gfind then
string.gfind = string.gmatch
end
if not table.unpack then
table.unpack = unpack
end
require "paths"
paths.require "libto... | bsd-3-clause |
Vivitarut/darkstar | scripts/zones/Dynamis-Tavnazia/mobs/Nightmare_Leech.lua | 17 | 1502 | -----------------------------------
-- Area: Dynamis Tavnazia
-- NPC: Nightmare_Leech
-----------------------------------
package.loaded["scripts/zones/Dynamis-Tavnazia/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Tavnazia/TextIDs");... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Attohwa_Chasm/npcs/Jakaka.lua | 10 | 2417 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: Jakaka
-- Type: ENM
-- @pos -144.711 6.246 -250.309 7
-----------------------------------
package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Attohwa_Chasm/TextIDs");
require("scr... | gpl-3.0 |
TeslaProject/external_skia | tools/lua/skia.lua | 207 | 1863 | -- Experimental helpers for skia --
function string.startsWith(String,Start)
return string.sub(String,1,string.len(Start))==Start
end
function string.endsWith(String,End)
return End=='' or string.sub(String,-string.len(End))==End
end
Sk = {}
function Sk.isFinite(x)
return x * 0 == 0
end
----------------... | bsd-3-clause |
nextsmsversion/macchina.io | platform/JS/V8/v8-3.28.4/tools/gcmole/gccause.lua | 157 | 2313 | -- 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 ... | apache-2.0 |
Gwynthell/FFDB | scripts/zones/The_Eldieme_Necropolis/npcs/_5fi.lua | 4 | 1061 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Odin's Gate
-- @pos 100 -34 110 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
------... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Port_Jeuno/TextIDs.lua | 3 | 2989 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6378; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6381; -- Obtained: <item>.
GIL_OBTAINED = 6382; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6384; -- Obtained... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Southern_San_dOria/npcs/Benaige.lua | 6 | 1906 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Benaige
-- Standard Merchant NPC
-- @zone 230
-- @pos-142,-6 47
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requir... | gpl-3.0 |
codeaudit/gtsrb.torch | idsia_net.lua | 6 | 2246 | local networks = require 'networks'
local idsia_net = {}
function idsia_net.get_network(opt)
local network = nn.Sequential()
local nbr_elements = {}
for c in string.gmatch(opt.cnn, "%d+") do
nbr_elements[#nbr_elements + 1] = tonumber(c)
end
assert(#nbr_elements == 4,
'opt.cnn should contain 4 com... | mit |
sammyt291/wire | lua/entities/gmod_wire_screen.lua | 3 | 5951 | AddCSLuaFile()
DEFINE_BASECLASS( "base_wire_entity" )
ENT.PrintName = "Wire Screen"
ENT.WireDebugName = "Screen"
ENT.Editable = true
ENT.RenderGroup = RENDERGROUP_BOTH
function ENT:SetupDataTables()
self:NetworkVar("Bool", 0, "SingleValue", { KeyName = "SingleValue",
Edit = { type = "Boolean", title = "#Tool_... | apache-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/abilities/call_wyvern.lua | 10 | 1038 | -----------------------------------
-- Ability: Call Wyvern
-- Summons a Wyvern to fight by your side.
-- Obtained: Dragoon Level 1
-- Recast Time: 20:00
-- Duration: Instant
-- Special: Only available if Dragoon is your main class.
-----------------------------------
require("scripts/globals/settings");
req... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/West_Ronfaure/npcs/Adalefont.lua | 19 | 1064 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Adalefont
-- @pos -176.000 -61.999 377.460 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/West_Ronfa... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Upper_Jeuno/npcs/Hinda.lua | 34 | 1370 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Hinda
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Upper_Jeuno/TextIDs");
require("scripts/globals/quests");
---... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/abilities/pets/ecliptic_growl.lua | 6 | 1489 | ---------------------------------------------------
-- Ecliptic Growl
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
---------------------------------------------------
function OnAbil... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/East_Sarutabaruta/npcs/Signpost.lua | 38 | 2029 | -----------------------------------
-- Area: East Sarutabaruta
-- NPC: Signpost
-----------------------------------
package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/East_Sarutabaruta/TextIDs");
-----------------------------------
-- onTrade A... | gpl-3.0 |
shkan/telebot5 | plugins/changephoto.lua | 18 | 1162 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(receiver, '... | gpl-2.0 |
jdhk94/DarkRP | gamemode/modules/f4menu/cl_menuitem.lua | 5 | 6501 | local PANEL = {}
AccessorFunc(PANEL, "borderColor", "BorderColor")
--[[---------------------------------------------------------------------------
Generic item
---------------------------------------------------------------------------]]
function PANEL:Init()
self:SetMouseInputEnabled(true)
self:SetKeyboardIn... | mit |
Vivitarut/darkstar | scripts/globals/spells/bluemagic/heat_breath.lua | 4 | 1149 | ---------------------------------------------
-- Heat Breath
---------------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/bluemagic");
---------------------------------------------
function OnMagicCastingCheck(caster,target,spell)
... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Windurst_Waters/npcs/Baehu-Faehu.lua | 36 | 1615 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Baehu-Faehu
-- Only sells when Windurst has control of Sarutabaruta
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones... | gpl-3.0 |
jean/sentry | src/sentry/scripts/similarity/index.lua | 1 | 32024 | --[[
Implements an index that can be used to efficiently search for items that
share similar characteristics.
This implementation is based on MinHash (which is used quickly identify
similar items and estimate the Jaccard similarity of their characteristic
sets) but this implementation extends the typical design to ad... | bsd-3-clause |
Gwynthell/FFDB | scripts/zones/Sacrarium/npcs/Large_Keyhole.lua | 2 | 1165 | -----------------------------------
-- Area: Sacrarium
-- NPC: Large Keyhole
-- Notes: Used to open R. Gate
-- @pos 100.231 -1.414 51.700 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacrarium/TextIDs");
... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Chateau_dOraguille/npcs/Halver.lua | 2 | 6915 | -----------------------------------
-- Area: Chateau d'Oraguille
-- NPC: Halver
-- Involved in Mission 2-3, 3-3, 5-1, 5-2, 8-1
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos 2 0.1 0.1 233
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
-------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/konigskuchen.lua | 35 | 1372 | -----------------------------------------
-- ID: 5614
-- Item: konigskuchen
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 8
-- Magic % 3
-- Magic Cap 13
-- Intelligence 2
-----------------------------------------
require("scripts/globals/status");
-----------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.