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 |
|---|---|---|---|---|---|
eggcaker/dotfiles | macos/hammerspoon.symlink/Spoons/SpeedMenu.spoon/init.lua | 3 | 4029 | --- === SpeedMenu ===
---
--- Menubar netspeed meter
---
--- Download: [https://github.com/Hammerspoon/Spoons/raw/master/Spoons/SpeedMenu.spoon.zip](https://github.com/Hammerspoon/Spoons/raw/master/Spoons/SpeedMenu.spoon.zip)
local obj={}
obj.__index = obj
-- Metadata
obj.name = "SpeedMenu"
obj.version = "1.0"
obj.au... | mit |
hooksta4/darkstar | scripts/zones/zones/QuBia_Arena/npcs/Burning_Circle.lua | 1 | 2438 | -----------------------------------
-- Area: Qu'Bia Arena
-- NPC: Burning Circle
-- @pos -221 -24 19 206
-------------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missions");
require(... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Palborough_Mines/npcs/Mining_Point.lua | 29 | 1105 | -----------------------------------
-- Area: Palborough Mines
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/Palborough_Mines/TextIDs");
... | gpl-3.0 |
modulexcite/Zero-K-Infrastructure | Benchmarker/Benchmarks/Configs/ZKL_default/LuaUI/Config/ZK_data.lua | 12 | 1404 | -- Widget Custom Data
return {
version = 9,
["Auto Group"] = {
version = "3.031",
groups = {},
},
["Chili Docking"] = {
Chat = {
[1] = 899,
[2] = 0,
[3] = 1475,
[4] = 240,
},
Minimap = {
[1] = 0,
[2] = 0,
[3] = 348,
[4] = 242.67407226563,
},
["Player List"] ... | gpl-3.0 |
4aiman/MultiCraft_game | mods/mapp/signs_lib/init.lua | 1 | 35342 | if not multicraft.get_modpath("check") then os.exit() end
if not default.multicraft_is_variable_is_a_part_of_multicraft_subgame_and_copying_it_means_you_use_our_code_so_we_become_contributors_of_your_project then exit() end
-- This mod provides the visible text on signs library used by Home Decor
-- and perhaps other m... | lgpl-3.0 |
wanghuan1115/sdkbox-adcolony-sample | lua/src/cocos/extension/DeprecatedExtensionFunc.lua | 61 | 1351 | if nil == cc.Control then
return
end
--tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of CCControl will be deprecated end
local CCControlDeprecated = { }
function CCControlDeprecated.ad... | mit |
gedadsbranch/Darkstar-Mission | scripts/zones/San_dOria-Jeuno_Airship/npcs/Nigel.lua | 12 | 2054 | -----------------------------------
-- Area: San d'Oria-Jeuno Airship
-- NPC: Nigel
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/San_dOria-Jeuno_Airship/TextIDs"] = nil;
require("scripts/zones/San_dOria-Jeuno_Airship/TextIDs");
-----------------------------------
-- onTrade... | gpl-3.0 |
prosody-modules/import2 | mod_captcha_registration/util/dataforms.lua | 33 | 6601 | -- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local setmetatable = setmetatable;
local pairs, ipairs = pairs, ipairs;
local tostring, type, next = tost... | mit |
sevenbot/telesevenbot | plugins/inpm.lua | 243 | 3007 | do
local function pairsByKeys (t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
hooksta4/darkstar | scripts/zones/Xarcabard/TextIDs.lua | 9 | 1203 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6392; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6397; -- Obtained: <item>.
GIL_OBTAINED = 6398; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6400; -- Obtained... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Aht_Urhgan_Whitegate/npcs/Fayeewah.lua | 34 | 1200 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Fayeewah
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require... | gpl-3.0 |
prosody-modules/import2 | mod_register_json/register_json/mod_register_json.lua | 32 | 10044 | -- Expose a simple token based servlet to handle user registrations from web pages
-- through Base64 encoded JSON.
-- Copyright (C) 2010 - 2013, Marco Cirillo (LW.Org)
local datamanager = datamanager
local b64_decode = require "util.encodings".base64.decode
local b64_encode = require "util.encodings".base64.encode
lo... | mit |
hooksta4/darkstar | scripts/zones/zones/Eastern_Altepa_Desert/TextIDs.lua | 9 | 1060 | -- 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 |
hooksta4/darkstar | scripts/zones/zones/Temenos/mobs/Beli.lua | 2 | 1149 | -----------------------------------
-- Area: Temenos N T
-- NPC: Beli
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------------
-- onM... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Mhaura/npcs/Orlando.lua | 15 | 3535 | -----------------------------------
-- Area: Mhaura
-- NPC: Orlando
-- Type: Standard NPC
-- @pos -37.268 -9 58.047 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/ke... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Port_Jeuno/npcs/Challoux.lua | 6 | 1096 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Challoux
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade A... | gpl-3.0 |
snabbco/snabb | lib/luajit/testsuite/test/lib/ffi/ffi_const.lua | 6 | 2186 | local ffi = require("ffi")
dofile("../common/ffi_util.inc")
ffi.cdef[[
typedef struct s_t {
int v, w;
} s_t;
typedef const s_t cs_t;
typedef enum en_t { EE } en_t;
typedef struct pcs_t {
int v;
const int w;
} pcs_t;
typedef struct foo_t {
static const int cc = 17;
enum { CC = -37 };
int i;
const int... | apache-2.0 |
FishFilletsNG/fillets-data | script/creatures/dialogs_sv.lua | 1 | 4695 |
dialogId("kor-m-podivej", "font_small", "Look at all these lobsters...")
dialogStr("Titta på alla dessa humrar...")
dialogId("kor-v-spitu", "font_big", "They sleep for thousands of years... in eternal stillness...")
dialogStr("De sover i tusentals år... i evig stillhet...")
dialogId("kor-m-avlada", "font_small", "... | gpl-2.0 |
hooksta4/darkstar | scripts/zones/zones/Temenos/mobs/Earth_Elemental.lua | 2 | 1651 | -----------------------------------
-- Area: Temenos E T
-- NPC: Earth_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
--------------------------------... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/effects/mnd_down.lua | 19 | 1087 | -----------------------------------
--
-- EFFECT_MND_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if((target:getStat(MOD_MND) - effect... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/West_Sarutabaruta/npcs/Cavernous_Maw.lua | 29 | 1467 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Cavernous Maw
-- Teleports Players to West Sarutabaruta [S]
-- @pos -2.229 0.001 -162.715 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
FishFilletsNG/fillets-data | script/puzzle/dialogs_bg.lua | 1 | 2166 | dialogId("puc-m-koukej", "font_small", "Look what we can find on such a dump.")
dialogStr("Я какви неща могат да се намерят на сметището.")
dialogId("puc-v-podivej", "font_big", "It’s interesting what kind of stuff somebody will throw out.")
dialogStr("Интересно какви неща изхвърлят хората.")
dialogId("puc-v-videl", ... | gpl-2.0 |
snabbco/snabb | lib/luajit/testsuite/test/lib/coroutine/yield.lua | 6 | 2670 | local create = coroutine.create
local wrap = coroutine.wrap
local resume = coroutine.resume
local yield = coroutine.yield
do --- Stack overflow on return (create)
wrap(function()
local co = create(function()
yield(string.byte(string.rep(" ", 100), 1, 100))
end)
assert(select('#', resume(co)) == 101... | apache-2.0 |
hooksta4/darkstar | scripts/zones/Bastok_Markets/npcs/HomePoint#3.lua | 2 | 1197 | -----------------------------------
-- Area: Bastok Markets
-- NPC: HomePoint#3
-- @pos -189 -8 26 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Bastok_Markets/TextIDs");
require("scripts/globals/homep... | gpl-3.0 |
Creedsteam/Persian_Creed | plugins/all.lua | 9 | 5527 | do
data = load_data(_config.moderation.data)
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... | gpl-2.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Port_San_dOria/npcs/Deguerendars.lua | 36 | 2054 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Deguerendars
-- Only sells when San d'Oria contrls Tavnazian Archipelago
-- Only available to those with CoP Ch. 4.1 or higher
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
------------------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Apollyon/bcnms/CS_Apollyon.lua | 19 | 1260 | -----------------------------------
-- Area: Appolyon
-- Name:
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[CS_Apollyon]UniqueID",Generat... | gpl-3.0 |
project802/Focus-Points | focuspoints.lrdevplugin/FocusPointPrefs.lua | 2 | 1339 | --[[
Copyright 2016 JWhizzbang Inc
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 writi... | apache-2.0 |
gflima/nclua | tests/test-event-init-init.lua | 1 | 1280 | --[[ Copyright (C) 2013-2018 PUC-Rio/Laboratorio TeleMidia
This file is part of NCLua.
NCLua is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version... | gpl-2.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Hall_of_Transference/Zone.lua | 9 | 5008 | -----------------------------------
--
-- Zone: Hall_of_Transference
--
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("/scripts/globals/teleports");
require("scripts/zo... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/mobskills/Optic_Induration.lua | 18 | 1335 | ---------------------------------------------
-- Optic Induration
--
-- Description: Charges up a powerful, calcifying beam directed at targets in a fan-shaped area of effect. Additional effect: Petrification & enmity reset
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone... | gpl-3.0 |
RAlexis/ArcEmu_MoP | src/scripts/lua/LuaBridge/Stable Scripts/Azeroth/Karazhan/BOSS_Karazhan_Nightbane.lua | 30 | 1906 | function Nightbane_Cleave(Unit, event, miscunit, misc)
print "Nightbane Cleave"
Unit:FullCastSpellOnTarget(42587,Unit:GetClosestPlayer())
Unit:SendChatMessage(11, 0, "Cleave on you...")
end
function Nightbane_Tail_Sweep(Unit, event, miscunit, misc)
print "Nightbane Tail Sweep"
Unit:FullCastSpellOnTarget(25653,Uni... | agpl-3.0 |
Celtech/BOL | LulzAIO/LulzAIO.lua | 1 | 134462 | local pi, pi2, sin, cos, huge, sqrt, floor, ceil, max, random, round = math.pi, 2*math.pi, math.sin, math.cos, math.huge, math.sqrt, math.floor, math.ceil, math.max, math.random, math.round
local clock = os.clock
local pairs, ipairs = pairs, ipairs
local insert, remove = table.insert, table.remove
local TEAM_ALLY, TEAM... | gpl-2.0 |
hooksta4/darkstar | scripts/zones/zones/Lower_Jeuno/npcs/_l05.lua | 6 | 1499 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -61.132 6 -75.010
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/items/serving_of_medicinal_quus.lua | 35 | 1403 | -----------------------------------------
-- ID: 4294
-- Item: serving_of_medicinal_quus
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Dexterity 1
-- Mind -1
-- Ranged ACC % 7
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
FishFilletsNG/fillets-data | script/ending/demo_dialogs_bg.lua | 1 | 1619 | dialogId("dlg-x-poster1", "font_poster", "Good morning, fish!")
dialogStr("Добро утро, рибки!")
dialogId("dlg-x-poster2", "font_poster", "Again, you didn’t disappoint us. General Committee decided to decorate you with the highest orders. They are made of milk chocolate. Due to confidentiality, eat them immediately.")
... | gpl-2.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Rabao/npcs/HomePoint#1.lua | 12 | 1234 | -----------------------------------
-- Area: Rabao
-- NPC: HomePoint#1
-- @pos -29.276 0.001 -76.585 247
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Rabao/TextIDs");
require("scripts/globals/homepoint")... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Den_of_Rancor/npcs/HomePoint#2.lua | 19 | 1194 | -----------------------------------
-- Area: Den_of_Rancor
-- NPC: HomePoint#2
-- @pos 182 34 -62 160
-----------------------------------
package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Den_of_Rancor/TextIDs");
require("scripts/globals/homepoin... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Port_Bastok/npcs/Valeriano.lua | 17 | 1664 | -----------------------------------
-- Area: Port Bastok
-- NPC: Valeriano
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
-------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Lebros_Cavern/IDs.lua | 67 | 1719 | Lebros = {
text = {
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6376, -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6379, -- Obtained: <item>
GIL_OBTAINED = 6380, -- Obtained <number> gil
KEYITEM_OBTAINED = 6382, -- Obtained... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Port_San_dOria/npcs/Deguerendars.lua | 6 | 1975 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Deguerendars
-- Only sells when San d'Oria contrls Tavnazian Archipelago
-- Only available to those with CoP Ch. 4.1 or higher
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
profan/lua-bk-tree | bk-tree.lua | 1 | 6158 | ---------------------------
-- bk-tree datastructure
--
-- http://en.wikipedia.org/wiki/BK-tree
-- @module bk-tree
-- @author Robin Hübner
-- robinhubner@gmail.com
-- @release version 1.0.3
-- @license MIT
local bk_tree = {}
local function lazy_copy(t1)
local cp = {}
for k, v in pairs(t1) do
cp[k] = v
end
r... | mit |
gedadsbranch/Darkstar-Mission | scripts/zones/Northern_San_dOria/npcs/Maurinne.lua | 38 | 1026 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Maurinne
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos -127.185 0.000 179.193
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs")... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Maze_of_Shakhrami/npcs/Fossil_Rock.lua | 17 | 5025 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: Fossil Rock
-- Used in Mission: Windurst Mission 2-1
-- @pos 17 18 184 198 + <many pos>
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/AlTaieu/npcs/HomePoint#1.lua | 17 | 1228 | -----------------------------------
-- Area: AlTaieu
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/globals/homepoint");
--------------------------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Gusgen_Mines/npcs/_5ga.lua | 4 | 1309 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5ga (Lever C)
-- @pos 44 -40.561 -54.199 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
--------------------------... | gpl-3.0 |
raubana/AttackOfTheMimics | gamemodes/attack_of_the_mimics/entities/weapons/swep_aotm_holstered.lua | 1 | 1222 | AddCSLuaFile()
SWEP.Base = "weapon_base"
SWEP.PrintName = "Holstered"
SWEP.Category = "AOTM"
SWEP.Purpose = "Hands free."
SWEP.Spawnable = true
SWEP.AdminSpawnable = true
if CLIENT then
SWEP.BounceWeaponIcon = false
SWEP.WepSelectIcon = surface.GetTextureID( "attack_of_the_mimics/vgui/wep_icons/ha... | mit |
GreatBigBushyBeard/PAYDAY-2-BeardLib-Editor | Classes/Map/Elements/filterelement.lua | 1 | 1886 | EditorFilter = EditorFilter or class(MissionScriptEditor)
function EditorFilter:create_element()
self.super.create_element(self)
self._element.class = "ElementFilter"
self._element.values.difficulty_easy = true
self._element.values.difficulty_normal = true
self._element.values.difficulty_hard = true
self._element... | mit |
hooksta4/darkstar | scripts/zones/Apollyon/bcnms/SE_Apollyon.lua | 19 | 1396 | -----------------------------------
-- 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]UniqueI... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Rolanberry_Fields/npcs/Legion_Tome.lua | 29 | 1134 | -----------------------------------
-- Area: Rolanberry Fields
-- NPC: Legion Tome
-- Legion NPC
-- @pos 238 24 469 110
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/global... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/mobskills/Gates_of_Hades.lua | 3 | 1462 | ---------------------------------------------
-- Gates of Hades
--
-- 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%... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/Gravestone.lua | 6 | 1300 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Gravestone
-- Involved in Quests: fire and brimstone (Rng AF2)
-- @zone 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/abilities/feral_howl.lua | 58 | 3525 | ---------------------------------------------------
-- Ability: Feral Howl
-- Terrorizes the target.
-- Obtained: Beastmaster Level 75
-- Recast Time: 0:05:00
-- Duration: Apprx. 0:00:01 - 0:00:10
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status")... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Ranguemont_Pass/npcs/Myffore.lua | 19 | 1073 | -----------------------------------
-- Area: Ranguemont Pass
-- NPC: Myffore
-- Type: NPC
-- @pos -179.951 4 -172.234 166
-----------------------------------
package.loaded["scripts/zones/Ranguemont_Pass/TextIDs"] = nil;
-----------------------------------
-----------------------------------
-- onTrade Action
---... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/items/balik_sis_+1.lua | 35 | 1664 | -----------------------------------------
-- 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
-----------------------------------------
... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/items/balik_sis_+1.lua | 35 | 1664 | -----------------------------------------
-- 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
-----------------------------------------
... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/QuBia_Arena/bcnms/those_who_lurk_in_shadows.lua | 59 | 2394 | -----------------------------------
-- Area: Qu'Bia Arena
-- NPC: Those Who Lurk in Shadows
-- @pos -221 -24 19 206
-----------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions"... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/spells/curaga.lua | 13 | 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 |
gedadsbranch/Darkstar-Mission | scripts/zones/Southern_San_dOria/npcs/Raminel.lua | 18 | 4705 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Raminel
-- Involved in Quests: Riding on the Clouds
-- @zone 230
-- @pos -56 2 -21
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
lohool/OLA | Ola/wax/stdlib/ext/string.lua | 1 | 2064 | function string.unescape(url)
url = string.gsub(url, "+", " ")
url = string.gsub(url, "%%(%x%x)", function(hex)
return string.char(tonumber(hex, 16))
end)
return url
end
function string.split(s, sep)
local t = {}
for o in string.gmatch(s, "([^" .. (sep or " ") .. "]+)") do
table.i... | mit |
hooksta4/darkstar | scripts/zones/The_Shrouded_Maw/bcnms/waking_dreams.lua | 19 | 2489 | -----------------------------------
-- Area: The_Shrouded_Maw
-- Name: waking_dreams
-----------------------------------
package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/globals/q... | gpl-3.0 |
FishFilletsNG/fillets-data | script/floppy/models.lua | 1 | 3906 |
createRoom(51, 35, "images/"..codename.."/disketa-p-opr.png")
setRoomWaves(5, 10, 5)
room = addModel("item_fixed", 0, 0,
[[
XX..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XX..........XX.........XX.........XX.........XX....
XX..........XX.........XX.........XX.........XX....
XX..........XX.........XX.........XX..... | gpl-2.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/spells/absorb-mnd.lua | 11 | 1191 | --------------------------------------
-- Spell: Absorb-MND
-- Steals an enemy's mind.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
---------------... | gpl-3.0 |
Moodstocks/nn | Linear.lua | 8 | 2781 | local Linear, parent = torch.class('nn.Linear', 'nn.Module')
function Linear:__init(inputSize, outputSize)
parent.__init(self)
self.weight = torch.Tensor(outputSize, inputSize)
self.bias = torch.Tensor(outputSize)
self.gradWeight = torch.Tensor(outputSize, inputSize)
self.gradBias = torch.Tensor(output... | bsd-3-clause |
kaisama/gamecode4 | Assets/Scripts/TeapotStates.lua | 44 | 13650 | --========================================================================
-- ActorManager.lua : Defines all the states for an AI controlled teapot
--
-- Part of the GameCode4 Application
--
-- GameCode4 is the sample application that encapsulates much of the source code
-- discussed in "Game Coding Complete - 4t... | lgpl-3.0 |
SirFrancisBillard/assorted-gamemodes | prison/gamemode/modules/damage/sh_hitmarker.lua | 2 | 4617 |
-- Included here for simplification
-- Original:
-- https://github.com/Exho1/Hitmarkers
if SERVER then
AddCSLuaFile()
util.AddNetworkString("DrawHitMarker")
util.AddNetworkString("OpenMixer")
hook.Add("EntityTakeDamage","HitmarkerDetector",function( ply, dmginfo )
local att = dmginfo:GetAttacker()
local dmg... | gpl-3.0 |
guanbaiqiang/notion-scripts | keybindings/cfg_mouse.lua | 2 | 7228 | -- cfg_mouse.lua
--
-- (Canaan Hadley-Voth)
--
-- A set of bindings intended to make the mouse pull its weight.
-- Fluxbox users should feel right at home. This will be less
-- useful without a mouse wheel, but still worth considering.
--
-- Partly it's an experiment to see how far one can get
-- without using a keyb... | gpl-3.0 |
rrampage/monitor | lua/controllers/api_docs_controller.lua | 2 | 1588 | local http = require 'http'
local h = require 'controller_helpers'
local inspect = require 'inspect'
local m = require 'model_helpers'
local Service = require 'models.service'
local ngxex = require 'ngxex'
local get_code_from_host = function(code)
return string.match(code, "^https?://(.... | mit |
hooksta4/darkstar | scripts/zones/Northern_San_dOria/npcs/Mulaujeant.lua | 19 | 2331 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Mulaujeant
-- Involved in Quests: Missionary Man
-- @zone 231
-- @pos -175 0 181
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/spells/Logical_Etude.lua | 11 | 1613 | -----------------------------------------
-- Spell: Logical Etude
-- Static MND Boost, BRD 64
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
f... | gpl-3.0 |
chihyang/koreader | datastorage.lua | 2 | 1253 | -- need low-level mechnism to detect android to avoid recursive dependency
local isAndroid = pcall(require, "android")
local lfs = require("libs/libkoreader-lfs")
local DataStorage = {}
function DataStorage:getDataDir()
local data_dir
if isAndroid then
data_dir = "/sdcard/koreader"
elseif os.geten... | agpl-3.0 |
hooksta4/darkstar | scripts/zones/Castle_Oztroja/npcs/_47v.lua | 2 | 1204 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47v (Handle)
-- Notes: Opens door _472 from behind
-- @pos -61 0 -36 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztroja/Te... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Lower_Jeuno/npcs/Yatniel.lua | 19 | 1797 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Yatniel
-- Type: Standard NPC
-- @zone: 245
-- @pos -66.817 -7 -126.594
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
--------------------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Uleguerand_Range/npcs/HomePoint#1.lua | 19 | 1189 | -----------------------------------
-- Area: Uleguerand_Range
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Uleguerand_Range/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Uleguerand_Range/TextIDs");
require("scripts/globals/homepoint");
... | gpl-3.0 |
pisto/steam_interceptor | generate_headers.lua | 1 | 6516 | #!/bin/lua
steamapi = require("json").decode(io.read("*a"))
cheader = io.open("printers.hpp", "w")
function o(s) return cheader:write(s) end
--enums
--repeated enum
exclusions = { k_EWorkshopFileTypeFirst = true }
for _,enum in ipairs(steamapi.enums) do
local prefix = enum.enumname:match("(.*::).*") or "";
o((
... | mit |
gedadsbranch/Darkstar-Mission | scripts/globals/mobskills/Antimatter.lua | 6 | 1117 | ---------------------------------------------------
-- Antimatter
--
-- Description: Single-target ranged Light damage (~700-1500), ignores Utsusemi.
-- Type: Magical
--
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/script... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Metalworks/npcs/Cid.lua | 2 | 10929 | -----------------------------------
-- Area: Metalworks
-- NPC: Cid
-- Starts & Finishes Quest: Cid's Secret, The Usual, Dark Puppet (start)
-- Involved in Mission: Bastok 7-1
-- @pos -12 -12 1 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
---------------------------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Rolanberry_Fields/npcs/Saarlan.lua | 29 | 8425 | -----------------------------------
-- Area: Rolanberry Fields
-- NPC: Saarlan
-- Legion NPC
-- @pos 242 24.395 468
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/key... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Abyssea-Altepa/npcs/qm19.lua | 17 | 1372 | -----------------------------------
-- Zone: Abyssea-Altepa
-- NPC: ???
-- Spawns:
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(player,npc)
--... | gpl-3.0 |
unigent/openwrt-3.10.14 | package/ramips/ui/luci-mtk/src/modules/admin-full/luasrc/model/cbi/admin_network/routes.lua | 86 | 2540 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
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
$Id$
]]--
req... | gpl-2.0 |
yunlong/codis | extern/redis-2.8.13/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 |
ouyangkongtong/redis | 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... | bsd-3-clause |
Vavius/moai-framework | samples/priority/hd/interface.lua | 5 | 17470 | -- This file is for use with Moai SDK
--
-- This file is automatically generated with TexturePacker (http://www.codeandweb.com/texturepacker). Do not edit
-- $TexturePacker:SmartUpdate:a9943001caf52dbfcb20609e2914db1f$
--
return {
texture = 'interface.png',
frames = {
{
name = "btn_buy.png",
spriteColor... | mit |
AnySDK/Sample_Lua | frameworks/cocos2d-x/tests/lua-tests/src/XMLHttpRequestTest/XMLHttpRequestTest.lua | 9 | 6845 | require("json")
local function XMLHttpRequestLayer()
local layer = cc.Layer:create()
local winSize = cc.Director:getInstance():getWinSize()
local margin = 40
local space = 35
local function init()
local label = cc.Label:createWithTTF("XML Http Request Test", s_arialPath, 28)
label... | mit |
hooksta4/darkstar | scripts/zones/Ifrits_Cauldron/npcs/Altar_of_Ashes.lua | 2 | 1917 | ----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: Altar of Ashes
-- Involved in Quest: Greetings to the Guardian
-- @pos 16 .1 -58 205
-----------------------------------
require("scripts/zones/Ifrits_Cauldron/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/quests");
------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Northern_San_dOria/npcs/Pala_Korin.lua | 6 | 1370 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pala_Korin
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
req... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Northern_San_dOria/npcs/Pala_Korin.lua | 6 | 1370 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pala_Korin
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
req... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Bastok_Mines/npcs/Rashid.lua | 19 | 3429 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Rashid
-- Type: Mission Giver
-- @pos -8.444 -2 -123.575 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globa... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Qufim_Island/npcs/qm3.lua | 29 | 4306 | -----------------------------------
-- 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/zones/Qufim... | gpl-3.0 |
AnySDK/Sample_Lua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/SkeletonRenderer.lua | 10 | 2646 |
--------------------------------
-- @module SkeletonRenderer
-- @extend Node,BlendProtocol
-- @parent_module sp
--------------------------------
--
-- @function [parent=#SkeletonRenderer] setTimeScale
-- @param self
-- @param #float scale
--------------------------------
--
-- @function [parent=#SkeletonR... | mit |
hooksta4/darkstar | scripts/zones/Upper_Jeuno/npcs/Monberaux.lua | 2 | 5525 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Monberaux
-- Starts and Finishes Quest: The Lost Cardian (finish), The kind cardian (start)
-- Involved in Quests: Save the Clock Tower
-- @pos -43 0 -1 244
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
pac... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/items/garudas_dagger.lua | 7 | 1070 | -----------------------------------------
-- ID: 17627
-- Item: Garuda's Dagger
-- Additional Effect: Silence
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/weather");
-----------------------------------
-- onAdditionalEffect Act... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/items/serving_of_beaugreen_sautee.lua | 35 | 1419 | -----------------------------------------
-- ID: 4572
-- Item: serving_of_beaugreen_sautee
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -1
-- Ranged ATT % 7
-- Ranged ATT Cap 15
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Eastern_Altepa_Desert/npcs/Eulaclaire.lua | 27 | 1698 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Eulaclaire
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
--------------------------... | gpl-3.0 |
modulexcite/Zero-K-Infrastructure | Benchmarker/Benchmarks/Configs/ZKL_with_lights/LuaUI/Config/ZK_data.lua | 12 | 4681 | -- Widget Custom Data
return {
version = 9,
["Auto Group"] = {
version = "3.031",
groups = {},
},
["Chili Docking"] = {
Chat = {
[1] = 1055,
[2] = 0,
[3] = 1475,
[4] = 200,
},
Minimap = {
[1] = 0,
[2] = 0,
[3] = 565,
[4] = 316.95123291016,
},
["Player List"]... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/mobskills/Cross_Reaver.lua | 25 | 1030 | ---------------------------------------------
-- Cross Reaver
--
-- Description: Deals high damage to players in a fan-shaped area. Additional effect: Stun
-- Type: Physical
-- ? ? ? (No data offered)
-- Range: Melee
-- Special weaponskill unique to Ark Angel HM. Deals ~500-900 damage.
--------------------------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Southern_San_dOria/npcs/Emoussine.lua | 27 | 2406 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Emoussine
-- Type: Chocobo Renter
-- @pos -11 1 -100
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/g... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/abilities/chi_blast.lua | 2 | 1061 | -----------------------------------
-- Ability: Chi Blast
-- Releases Chi to attack an enemy.
-- Obtained: Monk Level 41
-- Recast Time: 3:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
--... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Tabar.lua | 17 | 1476 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Tabar
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
functio... | gpl-3.0 |
Moodstocks/nn | SpatialFullConvolution.lua | 1 | 3412 | local SpatialFullConvolution, parent = torch.class('nn.SpatialFullConvolution','nn.Module')
function SpatialFullConvolution:__init(nInputPlane, nOutputPlane,
kW, kH, dW, dH, padW, padH, adjW, adjH)
parent.__init(self)
dW = dW or 1
dH = dH or 1
self.nInputPlane = nIn... | bsd-3-clause |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.