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 |
|---|---|---|---|---|---|
Zenny89/darkstar | scripts/globals/items/bowl_of_brain_stew.lua | 35 | 1482 | -----------------------------------------
-- ID: 4542
-- Item: Bowl of Brain Stew
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Dexterity 5
-- Intelligence 5
-- Mind 5
-- Health Regen While Healing 3
-- Magic Regen While Healing 3
-----------------------------------------
r... | gpl-3.0 |
mercury233/ygopro-scripts | c62219643.lua | 2 | 2592 | --逢華妖麗譚-魔妖不知火語
function c62219643.initial_effect(c)
--spsummon limit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER)
e1:SetCountLimit(1,62219643)
e1:SetCost(c62219643.limcost)
e1:SetOperation(c62219643.limop)
c:RegisterEffe... | gpl-2.0 |
valhallaGaming/uno | src_trunk/resources/item-system/c_drug_system.lua | 2 | 9390 | addEvent( "onClientVehicleEnterDelayed" )
wChemistrySet, gChemicals, colChemSlot, colChemName, chemItems, bMixItems, bChemClose = nil
function showChemistrySet()
if not (wItems) then
if not (wChemistrySet) then
local width, height = 600, 500
local scrWidth, scrHeight = guiGetScreenSize()
local x ... | bsd-3-clause |
AntonioModer/fuccboiGDX | fuccboi/resources/particles/sperm/loveframes/objects/menu.lua | 3 | 7040 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2013 Kenny Shields --
--]]------------------------------------------------
-- menu object
local newobject = loveframes.NewObject("menu", "loveframes_object_menu", true)
--[[------------------------------... | mit |
Zenny89/darkstar | scripts/zones/Southern_San_dOria/npcs/Thadiene.lua | 34 | 1983 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Thadiene
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/sho... | gpl-3.0 |
mercury233/ygopro-scripts | c92411493.lua | 2 | 2786 | --雨天気ラズラ
function c92411493.initial_effect(c)
--place
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(92411493,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,92411493)
e1:SetTarget(c92411493.tftg)
e... | gpl-2.0 |
mercury233/ygopro-scripts | c9349094.lua | 2 | 3257 | --神樹獣ハイペリュトン
function c9349094.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,9,2)
c:EnableReviveLimit()
--attach overlay
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(9349094,0))
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_CHAINING)
e1:S... | gpl-2.0 |
Zenny89/darkstar | scripts/commands/npchere.lua | 26 | 1372 | ---------------------------------------------------------------------------------------------------
-- func: @npchere <npcId>
-- desc: Spawns an NPC and then moves it to the current position, if in same zone.
-- Errors will despawn the mobID unless "noDepop" was specified (any value works).
------------------... | gpl-3.0 |
noname007/koreader | frontend/ui/widget/textboxwidget.lua | 4 | 7086 | local Blitbuffer = require("ffi/blitbuffer")
local Widget = require("ui/widget/widget")
local RenderText = require("ui/rendertext")
local Screen = require("device").screen
local Geom = require("ui/geometry")
local util = require("util")
--[[
A TextWidget that handles long text wrapping
--]]
local TextBoxWidget = Widge... | agpl-3.0 |
mercury233/ygopro-scripts | c98630720.lua | 2 | 3188 | --ヴァレルエンド・ドラゴン
function c98630720.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkType,TYPE_EFFECT),3)
c:EnableReviveLimit()
--indestructable
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZON... | gpl-2.0 |
valhallaGaming/uno | src_trunk/resources/realism-system/water.lua | 2 | 1539 | -- waves
function setInitialWaves(res)
local hour, mins = getTime()
createSewerFlood()
if (hour%2==0) then -- even hour
setWaveHeight(1)
else
setWaveHeight(0)
end
end
addEventHandler("onClientResourceStart", getResourceRootElement(), setInitialWaves)
function updateWaves()
local hour, mins =... | bsd-3-clause |
mercury233/ygopro-scripts | c86758915.lua | 2 | 2098 | --魔神儀の祝誕
function c86758915.initial_effect(c)
--Activate
local e1=aux.AddRitualProcGreater2(c,nil,nil,nil,c86758915.mfilter,true)
e1:SetDescription(aux.Stringid(86758915,0))
c:RegisterEffect(e1)
--to hand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(86758915,1))
e2:SetCategory(CATEGORY_SPECIAL... | gpl-2.0 |
mercury233/ygopro-scripts | c45283341.lua | 2 | 4278 | --エターナル・ボンド
function c45283341.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,45283341)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetTarge... | gpl-2.0 |
mrbangi/mrbangii | bot/creed.lua | 1 | 8702 | 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")
VERSION = '1.0'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
retu... | gpl-2.0 |
lichtl/darkstar | scripts/zones/Boneyard_Gully/bcnms/like_the_wind.lua | 30 | 1652 | -----------------------------------
-- Area: Boneyard_Gully
-- Name: like_the_wind
-- BCNM: 673
-- Mask: 1
-----------------------------------
package.loaded["scripts/zones/Boneyard_Gully/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Port_San_dOria/npcs/Comittie.lua | 9 | 1074 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Comittie
-- !pos -6.570 -9.8 -147.952 232
-----------------------------------
local ID = require("scripts/zones/Port_San_dOria/IDs")
require("scripts/globals/npc_util")
require("scripts/globals/quests")
-----------------------------------
function o... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Waughroon_Shrine/bcnms/final_bout.lua | 9 | 1066 | -----------------------------------
-- The Final Bout
-- Waughroon Shrine BCNM50, Comet Orb
-- !additem 1177
-----------------------------------
require("scripts/globals/battlefield")
-----------------------------------
function onBattlefieldInitialise(battlefield)
battlefield:setLocalVar("loot", 1)
end
function ... | gpl-3.0 |
lichtl/darkstar | scripts/zones/The_Celestial_Nexus/npcs/_513.lua | 22 | 1488 |
-----------------------------------
-- Area: Celestial Nexus
-- NPC: _515
-----------------------------------
package.loaded["scripts/zones/The_Celestial_Nexus"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests")... | gpl-3.0 |
OctoEnigma/shiny-octo-system | addons/donations1337/lua/helpers.lua | 1 | 2941 | UNIX_1_DAY = 86400
function genericOnSuccess(q,data)
--print("DB query returned again")
end
function wrapSuccess(f)
return function(val) xpcall(f,errCall,val) end
end
function genericOnError(q, err, sql)
ply = {}
for k,v in pairs(player.GetAll()) do
if isAdmin(v) then
table.insert(ply,v)
end
end
DarkRP... | mit |
lichtl/darkstar | scripts/zones/Port_Jeuno/Zone.lua | 3 | 3793 | -----------------------------------
--
-- Zone: Port_Jeuno (246)
--
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
--... | gpl-3.0 |
geekboxzone/lollipop_external_chromium_org_third_party_skia | tools/lua/classify_rrect_clips.lua | 160 | 3346 |
function sk_scrape_startcanvas(c, fileName) end
function sk_scrape_endcanvas(c, fileName) end
function classify_rrect(rrect)
if (rrect:type() == "simple") then
local x, y = rrect:radii(0)
if (x == y) then
return "simple_circle"
else
return "simple_oval"
end... | bsd-3-clause |
nfxosp/platform_external_skia | tools/lua/classify_rrect_clips.lua | 160 | 3346 |
function sk_scrape_startcanvas(c, fileName) end
function sk_scrape_endcanvas(c, fileName) end
function classify_rrect(rrect)
if (rrect:type() == "simple") then
local x, y = rrect:radii(0)
if (x == y) then
return "simple_circle"
else
return "simple_oval"
end... | bsd-3-clause |
lichtl/darkstar | scripts/zones/Bastok_Mines/npcs/Phara.lua | 14 | 2662 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Phara
-- Starts and Finishes Quest: The doorman (start)
-- Involved in Quest: The Talekeeper's Truth
-- @zone 234
-- @pos 75 0 -80
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
--------------------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/spells/burn.lua | 6 | 2384 | -----------------------------------------
-- Spell: Burn
-- Deals fire damage that lowers an enemy's intelligence and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
... | gpl-3.0 |
luningcowboy/ejoy2d | ejoy2d/spritepack.lua | 20 | 8718 | local pack = require "ejoy2d.spritepack.c"
-- table or number , texture
-- table data
-- return { texture = maxtex, max = maxid, size = capsize, data = block, export = {} }
-- don't release pack_pool
local pack_pool = {}
local spritepack = {}
local TYPE_PICTURE = assert(pack.TYPE_PICTURE)
local TYPE_ANIMATION = as... | mit |
lichtl/darkstar | scripts/globals/weaponskills/flat_blade.lua | 18 | 1540 | -----------------------------------
-- Flat Blade
-- Sword weapon skill
-- Skill Level: 75
-- Stuns enemy. Chance of stunning varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: None
-- Modifiers: STR:30%
-- 100%TP 200%TP 300%TP
-- 1.0... | gpl-3.0 |
qenter/vlc-android | vlc/share/lua/playlist/cue.lua | 60 | 4393 | --[[
Parse CUE files
$Id$
Copyright (C) 2009 Laurent Aimar
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This pro... | gpl-2.0 |
lichtl/darkstar | scripts/zones/Metalworks/npcs/Glarociquet_TK.lua | 13 | 5583 | -----------------------------------
-- Area: Metalworks
-- NPC: Glarociquet, T.K.
-- @pos 19 -16 -28 237
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Sup... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/modules/fadmin/fadmin/playeractions/kickban/sh_shared.lua | 9 | 4533 | function FAdmin.PlayerActions.ConvertBanTime(time)
local Add = ""
time = math.Round(time)
if time <= 0 then
return "permanent"
elseif time < 60 then
-- minutes
return math.ceil(time) .. " minute(s)"
elseif time >= 60 and time < 1440 then
-- hours
if math.floo... | mit |
weolar/miniblink49 | third_party/skia/tools/lua/dump_clipstack_at_restore.lua | 147 | 1096 | function sk_scrape_startcanvas(c, fileName)
canvas = c
clipstack = {}
restoreCount = 0
end
function sk_scrape_endcanvas(c, fileName)
canvas = nil
end
function sk_scrape_accumulate(t)
if (t.verb == "restore") then
restoreCount = restoreCount + 1;
-- io.write("Clip Stack at restore #... | apache-2.0 |
lichtl/darkstar | scripts/zones/Caedarva_Mire/npcs/Runic_Portal.lua | 25 | 2671 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Runic Portal
-- Caedarva Mire Teleporter Back to Aht Urhgan Whitegate
-- @pos -264 -6 -28 79 (Dvucca)
-- @pos 524 -28 -503 79 (Azouph)
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
--------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Palborough_Mines/TextIDs.lua | 7 | 1671 | -- 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 |
lichtl/darkstar | scripts/zones/Grand_Palace_of_HuXzoi/npcs/_0y0.lua | 14 | 1036 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- NPC: Particle Gate
-- @pos -483 0 259 34
-----------------------------------
package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Grand_Palace_of_HuXzoi/TextIDs");
---... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/The_Eldieme_Necropolis/IDs.lua | 9 | 4206 | -----------------------------------
-- Area: The Eldieme Necropolis (195)
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.THE_ELDIEME_NECROPOLIS] =
{
text =
{
CONQUEST_BASE = 0, -- Tallyin... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/items/inferno_sword.lua | 12 | 1073 | -----------------------------------------
-- ID: 16594
-- Item: Inferno Sword
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------
function onAdditionalEffect(pla... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/cream_puff.lua | 18 | 1265 | -----------------------------------------
-- ID: 5718
-- Item: Cream Puff
-- Food Effect: 30 mintutes, All Races
-----------------------------------------
-- Intelligence +7
-- HP -10
-- Resist Slow
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Bajahb.lua | 17 | 1267 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Bajahb
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require("scripts/g... | gpl-3.0 |
lichtl/darkstar | scripts/mixins/families/aern.lua | 36 | 1749 | -- Aern family mixin
-- Customization:
-- Setting AERN_RERAISE_MAX will determine the number of times it will reraise.
-- By default, this will be 1 40% of the time and 0 the rest (ie. default aern behaviour).
-- For multiple reraises, this can be set on spawn for more reraises.
-- To run a function when a rera... | gpl-3.0 |
OctoEnigma/shiny-octo-system | addons/orgrus/lua/orgs/sh_orgconfig.lua | 1 | 1114 | ORGS_Config = {}
--[[
Organisations Addon for DarkRP 2.x.x
Config File
]]--
--Main settings
-- Name for the addon
ORGS_Config.addonName = "orgs"
-- Creation Price
ORGS_Config.createPrice = 50000
-- Key to open the menu
ORGS_Config.keyToActivate = 93 --Change the value that you want to open the menu (values f... | mit |
RunAwayDSP/darkstar | scripts/globals/abilities/spirit_surge.lua | 12 | 1639 | -----------------------------------
-- Ability: Spirit Surge
-- Adds your wyvern's strength to your own.
-- Obtained: Dragoon Level 1
-- Recast Time: 1:00:00
-- Duration: 1:00
-----------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------
functi... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/betta.lua | 18 | 1305 | -----------------------------------------
-- ID: 5139
-- Item: Betta
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Empyreal_Paradox/mobs/Prishe.lua | 8 | 2008 | -----------------------------------
-- Area: Empyreal Paradox
-- Mob: Prishe
-- Chains of Promathia 8-4 BCNM Fight
-----------------------------------
local ID = require("scripts/zones/Empyreal_Paradox/IDs")
require("scripts/globals/status")
-----------------------------------
function onMobInitialize(mob)
mob:ad... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Gusgen_Mines/npcs/qm4.lua | 14 | 1449 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: qm4 (???)
-- Involved In Quest: Ghosts of the Past
-- @pos -174 0 369 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("... | gpl-3.0 |
sjznxd/lc-20130222 | applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-chan.lua | 80 | 1726 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
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
h... | apache-2.0 |
LuaDist2/luchia | tests/unit/high_level_utilities.lua | 2 | 2763 | local lunatest = require "lunatest"
local assert_equal = lunatest.assert_equal
local assert_function = lunatest.assert_function
local assert_table = lunatest.assert_table
local common = require "common_test_functions"
local utilities = require "luchia.utilities"
-- Server.
local good_protocol = common.server_good_pro... | bsd-3-clause |
sdkbox/sdkbox-facebook-sample-v2 | template/multi-platform-lua/Resources/hello.lua | 10 | 6992 | require "AudioEngine"
-- for CCLuaEngine traceback
function __G__TRACKBACK__(msg)
print("----------------------------------------")
print("LUA ERROR: " .. tostring(msg) .. "\n")
print(debug.traceback())
print("----------------------------------------")
end
local function main()
-- avoid memory le... | mit |
RunAwayDSP/darkstar | scripts/globals/items/black_sole.lua | 11 | 1048 | -----------------------------------------
-- ID: 4384
-- Item: Black Sole
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-------------------------------------... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/terrortown/entities/weapons/weapon_ttt_knife.lua | 1 | 9457 | AddCSLuaFile()
SWEP.HoldType = "knife"
if CLIENT then
SWEP.PrintName = "knife_name"
SWEP.Slot = 6
SWEP.ViewModelFlip = false
SWEP.ViewModelFOV = 54
SWEP.DrawCrosshair = false
SWEP.EquipMenuData = {
type = "item_weapon",
desc = "... | mit |
lichtl/darkstar | scripts/globals/spells/bluemagic/battle_dance.lua | 27 | 1922 | -----------------------------------------
-- Spell: Battle Dance
-- Delivers an area attack. Additional effect: DEX Down. Duration of effect varies with TP
-- Spell cost: 12 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 3
-- Stat Bonus: DEX+2
-- Level: 12
-- Casting Time: 1 secon... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Windurst_Waters/npcs/Upih_Khachla.lua | 17 | 2184 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Upih Khachla
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/events/harvest_festivals")
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["... | gpl-3.0 |
PrimaStudios/ProjectPrima | src/libs/luafortune-master/test/points/main.lua | 1 | 1648 |
package.path = "./../?.lua;" .. package.path
local random_points = require("points")
local seed = os.time()
local time_running = 0
local points = {}
local modes = {
[1] = "White Noise",
[2] = "Blue Noise",
}
local mode = 1
local auto = false
local polygon = {
{x= 50, y=100},
{x=650, y=200},
{x=... | apache-2.0 |
OctoEnigma/shiny-octo-system | gamemodes/terrortown/entities/entities/ttt_health_station.lua | 2 | 4243 | ---- Health dispenser
AddCSLuaFile()
if CLIENT then
-- this entity can be DNA-sampled so we need some display info
ENT.Icon = "vgui/ttt/icon_health"
ENT.PrintName = "hstation_name"
local GetPTranslation = LANG.GetParamTranslation
ENT.TargetIDHint = {
name = "hstation_name",
hint = "hstati... | mit |
scscgit/scsc_wildstar_addons | Speed/Speed.lua | 1 | 1534 | ----------------------------------------------------------------------------------------------
-- Speed
--- © 2015 Vim
--
--- Speed is free software, all files licensed under the GPLv3. See LICENSE for details.
Speed = {
name = "Speed",
version = {0,4,1},
fTimer = 0.5,
}
function Speed:OnLoad()
self.xmlDoc = Xml... | mit |
lichtl/darkstar | scripts/globals/mobskills/Bomb_Toss_Suicide.lua | 10 | 1076 | require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onMobSkillCheck(target,mob,skill)
-- notorious monsters shouldn't explode, nor dynamis
if (mob:isMobType(MOBTYPE_NOTORIOUS) or mob:isIn... | gpl-3.0 |
sdkbox/sdkbox-facebook-sample-v2 | samples/Lua/TestLua/Resources/luaScript/LabelTest/LabelTest.lua | 7 | 48329 | local size = CCDirector:sharedDirector():getWinSize()
local scheduler = CCDirector:sharedDirector():getScheduler()
local kTagTileMap = 1
local kTagSpriteManager = 1
local kTagAnimation1 = 1
local kTagBitmapAtlas1 = 1
local kTagBitmapAtlas2 = 2
local kTagBitmapAtlas3 = 3
local kTagSprite1 = 0
local kTagSprite2 = 1
loca... | mit |
scscgit/scsc_wildstar_addons | VortexMeter/VortexMeter.lua | 1 | 35874 | ---------------------------------------------------------------------------------------
-- Vortex Meter
--- Maintained by Vim <Codex>
--- Original addon : Rift Meter by Vince (http://www.curse.com/addons/rift/rift-meter)
local VortexMeter = {
name = "VortexMeter",
version = {1,3,5},
combats = {},
}
local ApolloUnit... | mit |
sjznxd/lc-20130222 | contrib/luadoc/lua/luadoc/doclet/debug.lua | 175 | 1048 | -----------------------------------------------------------------
-- LuaDoc debugging facilities.
-- @release $Id: debug.lua,v 1.3 2007/04/18 14:28:39 tomas Exp $
-----------------------------------------------------------------
module "luadoc.doclet.debug"
function printline()
print(string.rep('-', 79))
end
------... | apache-2.0 |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/entities/weapons/weapon_m42/shared.lua | 12 | 3487 | AddCSLuaFile()
if CLIENT then
SWEP.Author = "DarkRP Developers"
SWEP.Contact = ""
SWEP.Purpose = ""
SWEP.Instructions = ""
SWEP.PrintName = "M4"
SWEP.Instructions = "Hold use and right-click to change firemodes or left-click to attach silencer."
SWEP.Slot = 2
SWEP.SlotPos = 0
SWEP.I... | mit |
lichtl/darkstar | scripts/zones/Mhaura/npcs/Kamilah.lua | 14 | 1162 | -----------------------------------
-- Area: Mhaura
-- NPC: Kamilah
-- Guild Merchant NPC: Blacksmithing Guild
-- @pos -64.302 -16.000 35.261 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/items/balik_sis_+1.lua | 11 | 1370 | -----------------------------------------
-- ID: 5601
-- Item: Balik Sis +1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 5
-- Mind -2
-- Attack % 15
-- Attack Cap 70
-- Ranged ACC 2
-- Ranged ATT % 15
-- Ranged ATT Cap 70
-----------------------------------------
require("scri... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/log_ids.lua | 14 | 5472 | -----------------------------------
-- Area/Content Identifiers
-----------------------------------
SANDORIA =
{
['full_name'] = "San d' Oria",
['mission_log']= 0,
['quest_log']= 0,
['fame_area']= 0
};
BASTOK =
{
['full_name'] = "Bastok",
['mission_log']= 1,
['quest_log']= 1,
['fame_ar... | gpl-3.0 |
lichtl/darkstar | scripts/zones/North_Gustaberg/npcs/Waterfall_Base.lua | 14 | 1402 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Waterfall Base
-- Involved In Quest: Drachenfall
-- @pos -217.594 98.644 464.722 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/ques... | gpl-3.0 |
XxMTxX1/advisor1 | bot/utils.lua | 6 | 15475 | --Begin Utils.lua By #TEAMBOSS :)
function serialize_to_file(data, file, uglify)
file = io.open(file, 'w+')
local serialized
if not uglify then
serialized = serpent.block(data, {
comment = false,
name = '_'
})
else
serialized = serpent.dump(data)
end
file:write(serialized)
fi... | gpl-3.0 |
LuaDist2/luchia | src/luchia/core/attachment.lua | 2 | 4447 | --- Core attachment handler class.
--
-- Implements the methods necessary to handle attachments. Note that for most
-- cases, the attachment handling methods in @{luchia.document} should be used;
-- this module provides the core functionality that those higher-level methods
-- use.
--
-- See the @{core.attachment.lua} ... | bsd-3-clause |
YuanPeir-Chen/turbo-support-mipsel | turbo/3rdparty/middleclass/middleclass.lua | 12 | 5300 | -- middleclass.lua - v2.0 (2011-09)
-- Copyright (c) 2011 Enrique García Cota
-- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use,... | apache-2.0 |
OctoEnigma/shiny-octo-system | gamemodes/sandbox/gamemode/editor_player.lua | 1 | 8747 |
AddCSLuaFile()
local default_animations = { "idle_all_01", "menu_walk" }
list.Set( "DesktopWindows", "PlayerEditor", {
title = "Player Model",
icon = "icon64/playermodel.png",
width = 960,
height = 700,
onewindow = true,
init = function( icon, window )
local mdl = window:Add( "DModelPanel" )
mdl:Doc... | mit |
lichtl/darkstar | scripts/zones/Abyssea-Uleguerand/npcs/qm11.lua | 9 | 1346 | -----------------------------------
-- Zone: Abyssea-Uleguerand
-- NPC: qm11 (???)
-- Spawns Koghatu
-- @pos ? ? ? 253
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Metalworks/npcs/HomePoint#1.lua | 14 | 1254 | -----------------------------------
-- Area: Metalworks
-- NPC: HomePoint#1
-- @pos 46 -14 -19 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Metalworks/TextIDs");
require("scripts/globals/homepoint");
---... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/abilities/feral_howl.lua | 12 | 3371 | ---------------------------------------------------
-- 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 |
NiLuJe/koreader | frontend/device/android/device.lua | 4 | 21265 | local FFIUtil = require("ffi/util")
local Generic = require("device/generic/device")
local A, android = pcall(require, "android") -- luacheck: ignore
local Geom = require("ui/geometry")
local ffi = require("ffi")
local C = ffi.C
local lfs = require("libs/libkoreader-lfs")
local logger = require("logger")
local util = ... | agpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Selbina/npcs/Quelpia.lua | 11 | 1264 | -----------------------------------
-- Area: Selbina
-- NPC: Quelpia
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Selbina/IDs")
require("scripts/globals/shop")
-----------------------------------
function onTrade(player,npc,trade)
end
function onTrigger(player,npc)
... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/spells/valor_minuet_v.lua | 10 | 1568 | -----------------------------------------
-- Spell: Valor Minuet V
-- Grants Attack bonus to all allies.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0
en... | gpl-3.0 |
lichtl/darkstar | scripts/globals/spells/bluemagic/death_scissors.lua | 33 | 1802 | -----------------------------------------
-- Spell: Death Scissors
-- Damage varies with TP
-- Spell cost: 51 MP
-- Monster Type: Vermin
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 5
-- Stat Bonus: MND+2, CHR+2, HP+5
-- Level: 60
-- Casting Time: 0.5 seconds
-- Recast Time: 24.5 seconds
-- Skillchain Prope... | gpl-3.0 |
bear24rw/gamingcape_fceu | output/luaScripts/Multitrack.lua | 9 | 27590 | -- Multi-track rerecording for FCEUX 2.1.2 or later (script V2)
-- To make up for the lack of an internal multi-track rerecording in FCEUX.
-- It may get obsolete when TASEdit comes around.
--FatRatKnight
-- Rewind (by Antony Lavelle) added by DarkKobold
-- Instructions:
-- The script has its own buttons, def... | gpl-2.0 |
sjznxd/lc-20130222 | applications/luci-statistics/luasrc/model/cbi/luci_statistics/df.lua | 78 | 1628 | --[[
Luci configuration model for statistics - collectd df plugin configuration
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
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... | apache-2.0 |
RunAwayDSP/darkstar | scripts/globals/items/bowl_of_miso_ramen.lua | 11 | 1548 | -----------------------------------------
-- ID: 6460
-- Item: bowl_of_miso_ramen
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP +100
-- STR +5
-- VIT +5
-- DEF +10% (cap 170)
-- Magic Evasion +10% (cap 50)
-- Magic Def. Bonus +5
-- Resist Slow +10
-------------------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/PsoXja/npcs/_091.lua | 14 | 2875 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _091 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos 350.000 -1.925 -61.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
SkyzohKeyx/Defensive-Mode | twf.lua | 4 | 5066 | ----------------------------------
-- Transformice Window Framework.
-- @author Fish.
-- @version 0.0.1
-- @proof http://i.imgur.com/fRHs0PE.png
-- @date 21/08/2014
----------------------------------
twf = { -- Start the package.
ui = { -- Start the ui part of the Framework.
... | gpl-2.0 |
lichtl/darkstar | scripts/globals/items/dish_of_spaghetti_ortolana.lua | 18 | 1451 | -----------------------------------------
-- ID: 5658
-- Item: Dish of Spafhetti Ortolana
-- Food Effect: 30 Mins, All Races
-----------------------------------------
-- Agility 2
-- Vitality 2
-- HP +30% Cap 70
-- StoreTP +6
-----------------------------------------
require("scripts/globals/status");
---------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Western_Adoulin/npcs/Westerly_Breeze.lua | 14 | 7397 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Westerly Breeze
-- Type: Standard NPC and Quest Giver
-- Starts, Involved with, and Finishes Quests: 'Hunger Strikes'
-- 'The Starving'
-- 'Always More, Quot... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm16.lua | 42 | 1872 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: ???
-- Spawns Chloris
-- @pos ? ? ? 45
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
-----------------------------------
function... | gpl-3.0 |
lichtl/darkstar | scripts/zones/The_Ashu_Talif/Zone.lua | 5 | 1097 | -----------------------------------
--
-- Zone: The_Ashu_Talif
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/The_Ashu_Talif/TextIDs"] = nil;
require("scripts/zones/The_Ashu_Talif/TextIDs");
-----------------------------------
-- onInitialize
-------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Port_Bastok/npcs/Ensetsu.lua | 9 | 2914 | -----------------------------------
-- Area: Port Bastok
-- NPC: Ensetsu
-- Finish Quest: Ayame and Kaede
-- Involved in Quest: 20 in Pirate Years, I'll Take the Big Box
-- !pos 33 -6 67 236
-----------------------------------
local ID = require("scripts/zones/Port_Bastok/IDs");
require("scripts/globals/keyitems");
re... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Empyreal_Paradox/mobs/Prishe.lua | 23 | 2622 | -----------------------------------
-- Area: Empyreal Paradox
-- MOB: Prishe
-- Chains of Promathia 8-4 BCNM Fight
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/zones/Empyreal_Paradox/TextIDs");
-----------------------------------
-- onMobIn... | gpl-3.0 |
sjznxd/lc-20130222 | libs/web/luasrc/template.lua | 68 | 3061 | --[[
LuCI - Template Parser
Description:
A template parser supporting includes, translations, Lua code blocks
and more. It can be used either as a compiler or as an interpreter.
FileId: $Id$
License:
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you... | apache-2.0 |
scscgit/scsc_wildstar_addons | HacksByAramunn/Hacks/MovableHudAlerts.lua | 2 | 1967 | local Hack = {
nId = 20170323,
strName = "Movable HUD Alerts",
strDescription = "Allows the HUD Alerts (E.g. Vacuum Loot) to be movable via Interface Options",
strXmlDocName = nil,
tSave = nil,
}
local kstrWndMgmtName = "HUD Alerts (HbA)"
local knWndMgmtSaveVersion = 1
function Hack:Initialize()
self.addo... | mit |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/modules/fadmin/fadmin/commands/cl_chatcommands.lua | 4 | 3950 | local Options = {}
local targets
hook.Add("ChatTextChanged", "FAdmin_Chat_autocomplete", function(text)
if not FAdmin.GlobalSetting.FAdmin then return end
Options = {}
local prefix = GetGlobalString("FAdmin_commandprefix")
prefix = prefix ~= '' and prefix or '/'
if string.sub(text, 1, 1) ~= prefix ... | mit |
lichtl/darkstar | scripts/zones/Western_Adoulin/npcs/Flapano.lua | 14 | 4690 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Flapno
-- Type: Standard NPC, Quest NPC, and Shop NPC
-- Starts, Involved with, and Finishes Quest: 'Exotic Delicacies'
-- Involved with Quest: 'All the Way to the Bank'
-- @zone 256
-- @pos 70 0 -13 256
-----------------------------------
pack... | gpl-3.0 |
ggcrunchy/arrayfire-lua | wrapper/arrayfire/misc/env_loop.lua | 4 | 2974 | --- Ephemeral environment-based loops.
-- Standard library imports --
local remove = table.remove
-- Modules --
local array = require("impl.array")
-- Imports --
local CallWithEnvironment = array.CallWithEnvironment
local CallWithEnvironment_Args = array.CallWithEnvironment_Args
-- Exports --
local M = {}
-- --
lo... | bsd-3-clause |
NiLuJe/koreader | frontend/ui/message/filemessagequeue.lua | 4 | 1700 | local ffi = require("ffi")
local logger = require("logger")
local MessageQueue = require("ui/message/messagequeue")
local _ = require("ffi/zeromq_h")
local czmq = ffi.load("libs/libczmq.so.1")
local filemq = ffi.load("libs/libfmq.so.1")
local FileMessageQueue = MessageQueue:extend{
client = nil,
server = nil,
... | agpl-3.0 |
lichtl/darkstar | scripts/zones/Abyssea-La_Theine/npcs/qm11.lua | 14 | 1350 | -----------------------------------
-- Zone: Abyssea-LaTheine
-- NPC: qm11 (???)
-- Spawns Toppling Tuber
-- @pos ? ? ? 132
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trad... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Upper_Jeuno/npcs/Koriso-Manriso.lua | 14 | 1046 | ----------------------------------
-- Area: Upper Jeuno
-- NPC: Koriso-Manriso
-- Type: Item Deliverer
-- @zone 244
-- @pos -64.39 1 23.704
--
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
------------------------... | gpl-3.0 |
thermofisherlsms/xcalibur-workbench | Tartare/FAIMSChargeStates.lua | 1 | 4251 | -- Copyright (c) 2018 Thermo Fisher Scientific
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
-- (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
-- merge, ... | mit |
lichtl/darkstar | scripts/zones/Tavnazian_Safehold/Zone.lua | 4 | 3498 | -----------------------------------
--
-- Zone: Tavnazian_Safehold (26)
--
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions");
require("scripts/zones/Tavnazian... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/commands/getcraftrank.lua | 14 | 1644 | ---------------------------------------------------------------------------------------------------
-- func: getcraftRank <craft skill or ID> {player}
-- desc: returns target's RANK of specified craft skill
---------------------------------------------------------------------------------------------------
require("scri... | gpl-3.0 |
alantsev/mal | lua/core.lua | 2 | 6105 | local utils = require('utils')
local types = require('types')
local reader = require('reader')
local printer = require('printer')
local readline = require('readline')
local socket = require('socket')
local Nil, List, _pr_str = types.Nil, types.List, printer._pr_str
local M = {}
-- string functions
function pr_str(.... | mpl-2.0 |
taiha/luci | modules/luci-base/luasrc/http/protocol/date.lua | 68 | 1697 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
-- This class contains functions to parse, compare and format http dates.
module("luci.http.protocol.date", package.seeall)
require("luci.sys.zoneinfo")
MONTHS = {
"Jan", "Feb", "Mar", "Ap... | apache-2.0 |
RunAwayDSP/darkstar | scripts/zones/Bastok_Mines/npcs/Abd-al-Raziq.lua | 9 | 2162 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Abd-al-Raziq
-- Type: Alchemy Guild Master
-- !pos 126.768 1.017 -0.234 234
-----------------------------------
local ID = require("scripts/zones/Bastok_Mines/IDs");
require("scripts/globals/crafting");
require("scripts/globals/missions");
require("scri... | gpl-3.0 |
OctoEnigma/shiny-octo-system | lua/autorun/server/sensorbones/tf2_sniper.lua | 2 | 5372 | --
-- These are the physics bone numbers
--
local PLVS = 0;
local RTHY = 1;
local RCLF = 2;
local RFOT = 3;
local LTHY = 4;
local LCLF = 5;
local LFOT = 6;
local SPNE = 7;
local RSLD = 8;
local RARM = 9;
local LSLD = 10;
local LARM = 11;
local LHND = 12;
local NECK = 13;
local HEAD = 14;
local RHND = 15... | mit |
RunAwayDSP/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/Sarcophagus.lua | 9 | 3036 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Sarcophagus
-- Involved in Quests: The Requiem (BARD AF2), A New Dawn (BST AF3)
-- !pos -420 8 500 195
-----------------------------------
local ID = require("scripts/zones/The_Eldieme_Necropolis/IDs")
require("scripts/globals/keyitems")
requi... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.