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 |
|---|---|---|---|---|---|
byterom/android_external_skia | tools/lua/count_reduced_clipstacks.lua | 147 | 3116 | stats = {}
-- switch this to run on the automated scraper system
newline = "\n"
-- newline = "\\n"
function sk_scrape_startcanvas(c, fileName)
canvas = c
oldstackstr = "<invalid>"
end
function sk_scrape_endcanvas(c, fileName)
canvas = nil
end
function string.starts(String,Start)
return string.sub(Str... | bsd-3-clause |
Piotr3k1447/forgottenserver | data/globalevents/scripts/startup.lua | 6 | 2554 | function onStartup()
db.query("TRUNCATE TABLE `players_online`")
db.asyncQuery("DELETE FROM `guild_wars` WHERE `status` = 0")
db.asyncQuery("DELETE FROM `players` WHERE `deletion` != 0 AND `deletion` < " .. os.time())
db.asyncQuery("DELETE FROM `ip_bans` WHERE `expires_at` != 0 AND `expires_at` <= " .. os.time())
... | gpl-2.0 |
GTWCode/GTW-RPG | [resources]/GTWcivilians/ranks/ranks_s.lua | 2 | 8046 | --[[
********************************************************************************
Project owner: RageQuit community
Project name: GTW-RPG
Developers: Mr_Moose
Source code: https://github.com/GTWCode/GTW-RPG
Bugtracker: https://forum.404rq.com/bug-reports
Suggestions: https://forum.404rq.com/mta-se... | bsd-2-clause |
poire-z/koreader | frontend/ui/data/keyboardlayouts/keypopup/he_popup.lua | 9 | 1964 | return {
aleph = {
"א",
north = "אַ",
northeast = "אָ",
northwest = "אּ",
east = "ﭏ",
west = "ﬡ",
},
beis = {
"ב",
north = "בּ",
northeast = "בֿ",
},
gimmel = {
"ג",
north = "גּ",
},
daled = {
"ד",
... | agpl-3.0 |
salamader/ffxi-a | scripts/globals/abilities/curing_waltz_iv.lua | 2 | 1232 | -----------------------------------
-- Ability: Curing Waltz IV
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- OnUseAbility
-----------------------------------
function OnAbilityCheck(player,target,ability... | gpl-3.0 |
cardentity/DarkRP | gamemode/modules/voting/sv_questions.lua | 3 | 1477 | local Question = {}
local Questions = {}
local function ccDoQuestion(ply, cmd, args)
if not Questions[args[1]] then return end
if not tonumber(args[2]) then return end
Questions[args[1]]:handleNewQuestion(tonumber(args[2]))
end
concommand.Add("ans", ccDoQuestion)
local function handleQuestionEnd(id)
if not Quest... | mit |
cardentity/DarkRP | gamemode/modules/hungermod/cl_f4foodtab.lua | 1 | 1255 | local PANEL = {}
local function canBuyFood(food)
local ply = LocalPlayer()
if (food.requiresCook == nil or food.requiresCook == true) and not ply:isCook() then return false, true end
if food.customCheck and not food.customCheck(LocalPlayer()) then return false, false end
if not ply:canAfford(food.price) then ret... | mit |
g0g0dancer/searework | LuaRules/Gadgets/CustomUnitShaders/UnitMaterials/0_angleshark.lua | 18 | 2195 | -- $Id$
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
local unitInfo = {}
local function DrawUnit(unitid, material, materialID)
local info = unitInfo[unitid]
if (not info) then
info = {dir=0, lx... | gpl-2.0 |
salamader/ffxi-a | scripts/globals/weaponskills/spinning_slash.lua | 6 | 1461 | -----------------------------------
-- Spinning Slash
-- Great Sword weapon skill
-- Skill level: 225
-- Delivers a single-hit attack. Damage varies with TP.
-- Modifiers: STR:30% ; INT:30%
-- 100%TP 200%TP 300%TP
-- 2.5 3 3.5
-----------------------------------
require("/scripts/globals/settings");
... | gpl-3.0 |
ArmanIr/olalala | plugins/remind.lua | 279 | 1873 | local filename='data/remind.lua'
local cronned = load_from_file(filename)
local function save_cron(msg, text,date)
local origin = get_receiver(msg)
if not cronned[date] then
cronned[date] = {}
end
local arr = { origin, text } ;
table.insert(cronned[date], arr)
serialize_to_file(cronned, filename)
re... | gpl-2.0 |
lxl1140989/6291-xl | feeds/luci/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua | 78 | 4582 | --[[
Luci statistics - netlink plugin diagram definition
(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
http://www.ap... | gpl-2.0 |
salamader/ffxi-a | scripts/zones/Promyvion-Mea/mobs/Memory_Receptacle.lua | 2 | 3727 | -----------------------------------
-- Area: Promyvion - Mea (20)
-- Mob: Memory_Receptacle
-----------------------------------
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob,killer)
local rand = 0;
local mobID = mob:getID();
... | gpl-3.0 |
wiremod/wire-extras | lua/weapons/gmod_tool/stools/dscale.lua | 4 | 3313 | TOOL.Category = "Wire Extras/Obsolete"
TOOL.Name = "Damage Scale"
TOOL.Tab = "Wire"
TOOL.Command = nil
TOOL.ConfigName = ""
if ( CLIENT ) then
language.Add( "Tool.dscale.name", "Damage Scale Tool (Wire)" )
language.Add( "Tool.dscale.desc", "Spawns a Scale" )
language.Add( "Tool.dscale.0", "... | apache-2.0 |
poire-z/koreader | frontend/apps/filemanager/filemanagercollection.lua | 4 | 6805 | local BD = require("ui/bidi")
local ButtonDialogTitle = require("ui/widget/buttondialogtitle")
local Device = require("device")
local FileManagerBookInfo = require("apps/filemanager/filemanagerbookinfo")
local InfoMessage = require("ui/widget/infomessage")
local Menu = require("ui/widget/menu")
local ReadCollection = r... | agpl-3.0 |
salamader/ffxi-a | scripts/zones/Southern_San_dOria/npcs/Lusiane.lua | 36 | 1830 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Lusiane
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/West_Sarutabaruta_[S]/npcs/Sealed_Entrance2.lua | 2 | 1701 | -----------------------------------
-- Area: West Sarutabaruta [S]
-- NPC: 263.600', '-6.512', '40.000', 95
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/settings");
require("scripts/... | gpl-3.0 |
g0g0dancer/searework | LuaUI/Widgets/chili/Skins/DarkGlass/skin.lua | 43 | 1112 | --//=============================================================================
--// GlassSkin
local skin = {
info = {
name = "DarkGlass",
version = "0.11",
author = "jK",
depend = {
"Glass",
},
}
}
--//=============================================================================
... | gpl-2.0 |
salamader/ffxi-a | scripts/zones/Southern_San_dOria/npcs/Valeriano.lua | 2 | 2001 | -----------------------------------
-- Area: Southern_San_dOria
-- NPC: Valeriano
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/sho... | gpl-3.0 |
tmiw/cardpeek | dot_cardpeek_dir/scripts/lib/calypso_card_num.lua | 17 | 1572 | --
-- This file is part of Cardpeek, the smart card reader utility.
--
-- Copyright 2009-2013 by Alain Pannetrat <L1L1@gmx.com>
--
-- Cardpeek 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 3... | gpl-3.0 |
TeslaRus/OpenTomb | scripts/strings/russian/generic.lua | 7 | 4038 | -- OPENTOMB GENERIC STRINGS - RUSSIAN LANGUAGE
-- by Lwmte, Jan 2015
--------------------------------------------------------------------------------
-- This set of strings is used globally in all engine versions for various
-- menu entries, notify pop-ups, inventory entries etc.
--------------------------------------... | lgpl-3.0 |
g0g0dancer/searework | LuaUI/Widgets/gui_chili_facpanel.lua | 3 | 32984 | -------------------------------------------------------------------------------
local version = "v0.019"
function widget:GetInfo()
return {
name = "Chili FactoryPanel",
desc = version .. " - Chili buildmenu for factories.",
author = "CarRepairer",
date = "2013-07-06",
license ... | gpl-2.0 |
TeslaRus/OpenTomb | scripts/loadscript.lua | 2 | 1650 | -- OPENTOMB SCRIPT LOADING ORDER
-- By Lwmte, Jun 2015
print("loadscript->initialized !");
--------------------------------------------------------------------------------
-- This is the core of Lua script loading, all script files should be loaded via
-- this file.
-- DO NOT CHANGE SCRIPT ORDER, unless you're comple... | lgpl-3.0 |
youfearm3/vlc | share/lua/sd/magnatune.lua | 110 | 1935 | --[[
$Id$
Copyright © 2010 VideoLAN and AUTHORS
Authors: Rémi Duraffort <ivoire at videolan dot org>
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 ... | gpl-2.0 |
salamader/ffxi-a | scripts/globals/items/blackened_frog.lua | 2 | 1680 | -----------------------------------------
-- ID: 4536
-- Item: Blackened Frog
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 2
-- Agility 2
-- Mind -2
-- Attack % 14
-- Attack Cap 60
-- Ranged ATT % 14
-- Ranged ATT Cap 60
-- Enmity -5
------------------------------... | gpl-3.0 |
Baylamon/Illarion-Content | item/id_505_treasuremap.lua | 3 | 4253 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
salamader/ffxi-a | scripts/globals/spells/cure_vi.lua | 2 | 3411 | -----------------------------------------
-- Spell: Cure VI
-- Restores target's HP.
-- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/Windurst_Walls/npcs/Orudoba-Sondeba.lua | 5 | 1045 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Orudoba-Sondeba
-- Type: Standard NPC
-- @zone: 239
-- @pos: 70.086 -3.503 -69.939
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
----... | gpl-3.0 |
cardentity/DarkRP | gamemode/modules/base/cl_interface.lua | 3 | 2370 | DarkRP.PLAYER.isInRoom = DarkRP.stub{
name = "isInRoom",
description = "Whether the player is in the same room as the LocalPlayer.",
parameters = {},
returns = {
{
name = "inRoom",
description = "Whether the player is in the same room.",
type = "boolean"
}
},
metatable = DarkRP.PLAYER
}
DarkRP.deLoc... | mit |
g0g0dancer/searework | LuaRules/Gadgets/unit_carrier_drones.lua | 4 | 24020 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
if not gadgetHandler:IsSyncedCode() then
return
end
--------------------------------------------------------------------------------
------------------------... | gpl-2.0 |
salamader/ffxi-a | scripts/zones/Sacrarium/npcs/Stale_Draft.lua | 2 | 3447 | -----------------------------------
-- Stale_Draft
-- Area: Sacrarium
-----------------------------------
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(player,npc)
local Hate = player:getVar("FOMOR_HATE");
if (Hate < 8)... | gpl-3.0 |
DdMi/TeleDragon | system/libs/feedparser.lua | 36 | 11976 | local LOM = assert(require("lxp.lom"), "LuaExpat doesn't seem to be installed. feedparser kind of needs it to work...")
local XMLElement = (loadfile "./system/libs/XMLElement.lua")()
local dateparser = (loadfile "./system/libs/dateparser.lua")()
local URL = (loadfile "./system/libs/url.lua")()
local tinsert, tremove, t... | gpl-2.0 |
g0g0dancer/searework | LuaRules/Gadgets/Include/IterableMap.lua | 4 | 2893 | local IterableMap = {}
function IterableMap.New()
local indexByKey = {}
local dataByKey = {}
local indexMax = 0
local unusedKey = 1
local keyByIndex = {}
local api = {}
function api.GetUnusedKey()
while api.InMap(unusedKey) do
unusedKey = unusedKey + 1
end
return unusedKey
end
function api.Add(... | gpl-2.0 |
salamader/ffxi-a | scripts/globals/abilities/hunters_roll.lua | 6 | 1416 | -----------------------------------
-- Ability: Hunter's Roll
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- OnUseAbility
-----------------------------------
function OnAbilityCheck(player,target,ability)
... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/Selbina/npcs/Lucia.lua | 2 | 1042 | -----------------------------------
-- Area: Selbina
-- NPC: Lucia
-- @zone
-- @pos
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-- onTrigger Act... | gpl-3.0 |
SirFrancisBillard/stupid-ttt | stupid-ttt/lua/entities/ttt_confgrenade_proj.lua | 2 | 3021 |
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "ttt_basegrenade_proj"
ENT.Model = Model("models/weapons/w_eq_fraggrenade_thrown.mdl")
local ttt_allow_jump = CreateConVar("ttt_allow_discomb_jump", "0")
local function PushPullRadius(pos, pusher)
local radius = 400
local phys_force = 1500
local push_force = 256
... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/Metalworks/TextIDs.lua | 2 | 2614 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6430; --Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6432; --Try trading again after sorting your inventory.
ITEM_OBTAINED = 6433; --Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Spec... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/Korroloka_Tunnel/npcs/qm2.lua | 2 | 3251 | -----------------------------------
-- Area: Korroloka Tunnel
-- NPC: ???
-- Involved In Quest: Ayame and Kaede
-- @zone 173
-- @pos -208 -9 176
-----------------------------------
package.loaded["scripts/zones/Korroloka_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/se... | gpl-3.0 |
salamader/ffxi-a | scripts/globals/spells/frost.lua | 6 | 1644 | -----------------------------------------
-- Spell: Frost
-- Deals ice damage that lowers an enemy's agility and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
----------------------... | gpl-3.0 |
salamader/ffxi-a | scripts/globals/spells/hydrohelix.lua | 2 | 1518 | --------------------------------------
-- Spell: Hydrohelix
-- Deals water damage that gradually reduces
-- a target's HP. Damage dealt is greatly affected by the weather.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals... | gpl-3.0 |
g0g0dancer/searework | scripts/corch.lua | 11 | 2643 | include "constants.lua"
local base = piece "base"
local body = piece "cube1_sep2"
local beam = piece "beam"
local boom = piece "boom"
local neck = piece "neck"
local gun = piece "gun"
local ground1 = piece "ground1"
local wakes = {}
for i = 1, 8 do
wakes[i] = piece ("wake"..i)
end
local curTerrainType = 0
local wobb... | gpl-2.0 |
salamader/ffxi-a | scripts/globals/spells/jubaku_ni.lua | 8 | 1759 | -----------------------------------------
-- Spell: Jubaku: Ni
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT.
-- taken from paralyze
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
---------------------------... | gpl-3.0 |
Xamla/torch-moveit | MoveGroupInterface.lua | 1 | 25415 | --- LUA wrapper for moveit planning environment
-- dependency to tourch.ros
-- @classmod MoveGroupInterface
local ffi = require 'ffi'
local torch = require 'torch'
local ros = require 'ros'
local moveit = require 'moveit.env'
local utils = require 'moveit.utils'
local tf = ros.tf
local MoveGroupInterface = torch.class... | bsd-3-clause |
salamader/ffxi-a | scripts/zones/Windurst_Waters/npcs/Prestapiq.lua | 36 | 1606 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Prestapiq
-- Only sells when Windurst controls Movalpolos
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Windurst_... | gpl-3.0 |
CapsAdmin/goluwa | engine/lua/libraries/prototype/ecs_entity.lua | 1 | 6595 | local prototype = ... or _G.prototype
local META = prototype.CreateTemplate("entity")
function META:__tostring2()
return ("[%s][%s]"):format(self.config, self:GetName())
end
function META:GetEditorName()
if self.Name ~= "" then return self.Name end
for _, v in ipairs(self.Components) do
if v.EditorName then ret... | gpl-3.0 |
male-puppies/luci | applications/luci-app-p2pblock/luasrc/model/cbi/luci_fw/p2pblock.lua | 60 | 2067 | -- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local sys = require "luci.sys"
m = Map("freifunk_p2pblock", translate("P2P-Block"),
translate("P2P-Block is a greylisting mechanism to block various peer-to-peer protocols for non-whitelisted clients."))
s = ... | apache-2.0 |
salamader/ffxi-a | scripts/zones/Dynamis-Bastok/bcnms/dynamis_bastok.lua | 7 | 1105 | -----------------------------------
-- Area: Dynamis Bastok
-- Name: Dynamis Bastok
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function OnBcnmRegister(player,instance)
SetServerVariable("[DynaBastok]UniqueID",player:getDynamisUniqueID(1280));
SetServerVariable("[Dyna... | gpl-3.0 |
TeslaRus/OpenTomb | scripts/level/tr1/LEVEL8C.lua | 2 | 1721 | -- OPENTOMB LEVEL SCRIPT
-- FOR TOMB RAIDER, LEVEL8C
print("level/tr1/level8c.sanctuary_of_the_scion->level_loaded !");
level_PostLoad = function()
playStream(59);
sectorAddTrigger(62, 9, 3, 0, TR_FD_TRIGTYPE_PICKUP, 0x1F, 0 , 0); -- (room_id, index_x, index_y, function, sub_function, mask, once, time... | lgpl-3.0 |
go2ev-devteam/Gplus_2159_0801 | openplatform/sdk/bin/script/kernel_config_setup.lua | 1 | 3175 | require "lfs"
function checkKernelConfig(kernelPath, arch)
local flag = false
local pattern = "CONFIG_ARCH_" .. arch .. "=y"
for line in io.lines(kernelPath .. "/.config") do
if string.find(line, pattern) then
flag = true
break;
end
end
return flag
end
function parseConfigFile(filename... | gpl-2.0 |
salamader/ffxi-a | scripts/zones/Windurst_Waters_[S]/npcs/Ponono.lua | 4 | 1048 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ponono
-- Type: Standard NPC
-- @zone: 94
-- @pos: 156.069 -0.001 -15.667
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-... | gpl-3.0 |
Baylamon/Illarion-Content | lte/vision.lua | 3 | 1604 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
pm234md/sbbs | plugins/save.lua | 3 | 1142 | --Created by: @janlou & @Alirezame
--Powered by: @SUDO_TM & @AdvanTM
--⚠️CopyRight all right reserved⚠️
local function saveplug(extra, success, result)
local msg = extra.msg
local name = extra.name
local receiver = get_receiver(msg)
if success then
local file = 'plugins/'..name..'.lua'
print('File savi... | gpl-2.0 |
salamader/ffxi-a | scripts/globals/items/bowl_of_loach_gruel.lua | 3 | 1506 | -----------------------------------------
-- ID: 5670
-- Item: Bowl of Loach Gruel
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Make Group Effect
-- Dexterity 2
-- Agility 2
-- Accuracy 7% Cap 30
-- HP 7% Cap 30
-- Evasion 4
-----------------------------------------
require("scri... | gpl-3.0 |
KohaiKhaos/modified-MWDF | MWDF Project/Dwarf Fortress/hack/scripts/masterwork/base/on-death.lua | 2 | 6318 | --base/classes.lua v1.0
local persistTable = require 'persist-table'
local utils = require 'utils'
local split = utils.split_string
local events = require "plugins.eventful"
events.enableEvent(events.eventType.UNIT_DEATH,10)
function expCheck(unit,unitTarget,radius)
local xmin = unitTarget.pos.x - radius
... | mit |
poire-z/koreader | frontend/socketutil.lua | 4 | 5873 | --[[--
This module contains miscellaneous helper functions specific to our usage of LuaSocket/LuaSec.
]]
local Version = require("version")
local http = require("socket.http")
local https = require("ssl.https")
local ltn12 = require("ltn12")
local socket = require("socket")
local socketutil = {
-- Init to the def... | agpl-3.0 |
GreatBigBushyBeard/PAYDAY-2-BeardLib | Classes/UI/Dialogs/FileBrowserDialog.lua | 2 | 8529 | FileBrowserDialog = FileBrowserDialog or class(MenuDialog)
FileBrowserDialog._no_clearing_menu = true
FileBrowserDialog._no_reshaping_menu = true
FileBrowserDialog.type_name = "FileBrowserDialog"
--TODO: Clean this
function FileBrowserDialog:_Show(params, force)
if not self:basic_show(params) then
return
... | mit |
salamader/ffxi-a | scripts/zones/Western_Altepa_Desert/npcs/Topaz_Column.lua | 2 | 1721 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: Topaz Column
-- Mechanism for Altepa Gate
-- @pos -260 10 -344 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Wes... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/Windurst_Waters_[S]/npcs/Mearuru.lua | 4 | 1045 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Mearuru
-- Type: Standard NPC
-- @zone: 94
-- @pos: 153.798 -1 153.712
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
----... | gpl-3.0 |
g0g0dancer/searework | scripts/armcsa.lua | 9 | 2627 | local fuselage = piece 'fuselage'
local head = piece 'head'
local wingl = piece 'wingl'
local wingr = piece 'wingr'
local enginel = piece 'enginel'
local enginer = piece 'enginer'
local arm = piece 'arm'
local lathe = piece 'lathe'
local jaw1 = piece 'jaw1'
local jaw2 = piece 'jaw2'
local nanopoint = piece 'n... | gpl-2.0 |
salamader/ffxi-a | scripts/globals/abilities/pets/glittering_ruby.lua | 6 | 1111 | ---------------------------------------------------
-- Glittering Ruby
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
---------------------------------------------------
function OnAbi... | gpl-3.0 |
g0g0dancer/searework | units/heavyturret.lua | 3 | 4338 | unitDef = {
unitname = [[heavyturret]],
name = [[Sunlance]],
description = [[Anti-Tank Turret - Requires 25 Power]],
activateWhenBuilt = true,
buildCostEnergy = 700,
buildCostMetal = 700,
builder ... | gpl-2.0 |
Baylamon/Illarion-Content | npc/base/consequence/consequence.lua | 4 | 1164 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
Shayan123456/botttttt12 | plugins/qr.lua | 60 | 1731 | --[[
* qr plugin uses:
* - http://goqr.me/api/doc/create-qr-code/
* psykomantis
]]
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors)... | gpl-2.0 |
salamader/ffxi-a | scripts/zones/Quicksand_Caves/mobs/Triarius_IV-XIV.lua | 2 | 1115 | -- Triarius IV-XIV
-- by ReaperX (Convert to DSP by Hypnotoad)
-- Pops in Bastok mission 8-1 "The Chains that Bind Us"
require("scripts/globals/settings");
require("scripts/zones/Quicksand_Caves/TextIDs");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function... | gpl-3.0 |
g0g0dancer/searework | units/armjamt.lua | 3 | 3084 | unitDef = {
unitname = [[armjamt]],
name = [[Sneaky Pete]],
description = [[Area Cloaker/Jammer]],
activateWhenBuilt = true,
buildCostEnergy = 420,
buildCostMetal = 420,
builder =... | gpl-2.0 |
mahdikord/mahdib6 | plugins/invite.lua | 1111 | 1195 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
salamader/ffxi-a | scripts/zones/Al_Zahbi/npcs/Bjibar.lua | 4 | 1025 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Bjibar
-- Type: Standard NPC
-- @zone: 48
-- @pos: -105.178 0.999 60.115
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
------------------------... | gpl-3.0 |
wiremod/wire-extras | lua/entities/gmod_wire_door_controller/init.lua | 2 | 3920 | AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include("shared.lua")
ENT.WireDebugName = "Door Controller"
function ENT:Initialize()
self:PhysicsInit(SOLID_VPHYSICS)
self:SetMoveType(MOVETYPE_VPHYSICS)
self:SetSolid(SOLID_VPHYSICS)
self.Inputs = WireLib.CreateSpecialInputs(self, {
"Ope... | apache-2.0 |
salamader/ffxi-a | scripts/globals/spells/regen_iii.lua | 2 | 1094 | -----------------------------------------
-- Spell: Regen III
-- Gradually restores target's HP.
-----------------------------------------
-- Cleric's Briault enhances the effect
-- Scale down duration based on level
-- Composure increases duration 3x
-----------------------------------------
require("scripts... | gpl-3.0 |
Nevahen/rust_legacy_plugins | SimpleMute/simplemute.lua | 1 | 3753 | PLUGIN.Name = "Simple Mute"
PLUGIN.Title = "Simple Mute"
PLUGIN.Version = V(1, 0, 1)
PLUGIN.Description = "Use this plugin to mute players from spamming chat"
PLUGIN.Author = "Leez (Gramexer)"
PLUGIN.HasConfig = true
function PLUGIN:Init()
command.AddChatCommand( "mute", self.Plugin, "cmdMute" )
command.A... | gpl-3.0 |
salamader/ffxi-a | scripts/globals/mobskills/Blade_Metsu.lua | 10 | 1094 | ---------------------------------------------
-- Blade Metsu
--
-- Description: Additional effect: Paralysis
-- Hidden effect: temporarily enhances Subtle Blow effect.
-- Type: Physical
-- Range: Melee
---------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/s... | gpl-3.0 |
mrbangi/tce | plugins/owners.lua | 71 | 12458 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
lxl1140989/6291-xl | feeds/luci/build/setup.lua | 99 | 1114 | local SYSROOT = os.getenv("LUCI_SYSROOT")
-- override uci access
local uci_core = require "uci"
local uci_model = require "luci.model.uci"
uci_model.cursor = function(config, save)
return uci_core.cursor(config or SYSROOT .. "/etc/config", save or SYSROOT .. "/tmp/.uci")
end
uci_model.cursor_state = function()
re... | gpl-2.0 |
salamader/ffxi-a | scripts/zones/Ghelsba_Outpost/bcnms/petrifying_pair.lua | 10 | 1480 | -----------------------------------
-- Area: Ghelsba Outpost
-- Name: pertrifying_pair BCNM30
-- @pos -162 -11 78 140
-----------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyite... | gpl-3.0 |
CapsAdmin/goluwa | core/lua/modules/nattlua/nattlua/analyzer/operators/prefix.lua | 1 | 3558 | local ipairs = ipairs
local error = error
local tostring = tostring
local Union = require("nattlua.types.union").Union
local Nil = require("nattlua.types.symbol").Nil
local type_errors = require("nattlua.types.error_messages")
local LString = require("nattlua.types.string").LString
local Boolean = require("nattlua.type... | gpl-3.0 |
devMrALiloper/TeleVigilant-thebestproject | plugins/anti_spam.lua | 2 | 5292 | --An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id == our_id then
return msg
end
-- Save... | gpl-2.0 |
g0g0dancer/searework | units/capturecar.lua | 3 | 4835 | unitDef = {
unitname = [[capturecar]],
name = [[Dominatrix]],
description = [[Capture Vehicle]],
acceleration = 0.0444,
brakeRate = 0.0385,
buildCostEnergy = 420,
buildCostMetal = 420,
builder = false,
buildPic = [[capt... | gpl-2.0 |
g0g0dancer/searework | LuaUI/Widgets/gfx_lups_units_on_fire.lua | 11 | 4607 | -- $Id: gfx_lups_units_on_fire.lua 3171 2008-11-06 09:06:29Z det $
function widget:GetInfo()
return {
name = "Units on Fire",
desc = "Graphical effect for burning units",
author = "jK/quantum",
date = "Sep, 2008",
license = "GNU GPL, v2 or later",
layer = 10,
enabl... | gpl-2.0 |
CapsAdmin/goluwa | framework/lua/libraries/graphics/render/render.lua | 1 | 4108 | local render = _G.render or {}
runfile("texture_format.lua", render)
runfile("texture_decoder.lua", render)
runfile("global_shader_code.lua", render)
runfile("generated_textures.lua", render)
runfile("window.lua", render)
runfile("texture_atlas.lua", render)
runfile("material.lua", render)
runfile("camera.lua", render)... | gpl-3.0 |
raboof/notion | etc/look_brownsteel.lua | 2 | 2417 | -- look_brownsteel.lua drawing engine configuration file for Notion.
if not gr.select_engine("de") then return end
de.reset()
de.defstyle("*", {
shadow_colour = "#404040",
highlight_colour = "#707070",
background_colour = "#505050",
foreground_colour = "#a0a0a0",
padding_pixels = 1,
highlight... | lgpl-2.1 |
salamader/ffxi-a | scripts/globals/spells/cursna.lua | 6 | 1739 | -----------------------------------------
-- Spell: Cursna
-- Removes curse and bane from target.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(cas... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/Eastern_Adoulin/npcs/Yocile.lua | 2 | 1047 | -----------------------------------
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Eastern_Adoulin/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Eastern_Adoulin/TextIDs");
-------------------------... | gpl-3.0 |
salamader/ffxi-a | scripts/globals/mobskills/Throat_Stab.lua | 6 | 1117 | ---------------------------------------------
-- Throat Stab
--
-- Description: Deals damage to a single target reducing their HP to 5%. Resets enmity.
-- Type: Physical
-- Utsusemi/Blink absorb: No
-- Range: Single Target
-- Notes: Very short range, easily evaded by walking away from it.
----------------... | gpl-3.0 |
lxl1140989/6291-xl | feeds/luci/applications/luci-ahcp/luasrc/controller/ahcp.lua | 76 | 1533 | --[[
LuCI - Lua Configuration Interface
Copyright 2011 Jo-Philipp Wich <xm@subsignal.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: init.lua... | gpl-2.0 |
fegimanam/bbb | plugins/banhammer.lua | 6 | 12947 |
local function pre_process(msg)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Checking invited user '..user_id)
local banned ... | gpl-2.0 |
LegionXI/darkstar | scripts/zones/Abyssea-Grauberg/npcs/Cruor_Prospector.lua | 29 | 1305 | -----------------------------------
-- Area: Abyssea - Grauberg
-- NPC: Cruor Prospector
-- Type: Cruor NPC
-- @pos ? ? ? 254 (missing from DSP database)
-----------------------------------
package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Abysse... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/abilities/steal.lua | 9 | 4311 | -----------------------------------
-- Ability: Steal
-- Steal items from enemy.
-- Obtained: Thief Level 5
-- Recast Time: 5:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/msg")
-- these are the quadavs that th... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/mobskills/hurricane_wing.lua | 22 | 1398 | ---------------------------------------------
-- Hurricane Wing
--
-- Description: Deals hurricane-force wind damage to enemies within a very wide area of effect. Additional effect: Blind
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 30' radial.
-- Notes: Used only by Dragua, Fafnir, Nidhogg,... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Nashmau/npcs/Leleroon.lua | 9 | 3083 | -----------------------------------
-- Area: Nashmau
-- NPC: Leleroon
-- Corsair AF2 and AF3 quests
-- !pos -14.687 0.000 25.114 53
-----------------------------------
local ID = require("scripts/zones/Nashmau/IDs");
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/quest... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/mobskills/mantle_pierce.lua | 11 | 1049 | ---------------------------------------------
-- Mantle Pierce
--
-- Description: Stabs a single target. Additional effect: Weight
-- Type: Physical
-- Utsusemi/Blink absorb: 1-3 shadow(s)
-- Range: Melee
-- Notes:
---------------------------------------------
require("scripts/globals/settings")
require("scripts... | gpl-3.0 |
alerque/sile | core/frame.lua | 1 | 9489 | SILE.frames = {}
-- Buggy, relies on side effects
-- luacheck: ignore solver frame
-- See https://github.com/sile-typesetter/sile/issues/694
local cassowary = require("cassowary")
local solver = cassowary.SimplexSolver()
local solverNeedsReloading = true
local widthdims = pl.Set { "left", "right", "width" }
local he... | mit |
LegionXI/darkstar | scripts/globals/mobskills/Cimicine_Discharge.lua | 29 | 1027 | ---------------------------------------------------
-- 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/globals/mo... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/mobskills/Final_Sting.lua | 36 | 1218 | ---------------------------------------------
-- Final Sting
--
-- Description: Deals damage proportional to HP. Reduces HP to 1 after use. Damage varies with TP.
-- Type: Physical (Slashing)
--
--
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
r... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/VeLugannon_Palace/npcs/Grounds_Tome.lua | 34 | 1141 | -----------------------------------
-- Area: Ve'Lugannon Palace
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTr... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Qufim_Island/npcs/Jiwon.lua | 14 | 1909 | -----------------------------------
-- Area: Qufim Island
-- NPC: Jiwon
-- Type: Outpost Vendor
-- @pos -249 -19 300 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conques... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Maze_of_Shakhrami/Zone.lua | 30 | 1836 | -----------------------------------
--
-- Zone: Maze_of_Shakhrami (198)
--
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Maze... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/mobskills/Toxic_Spit.lua | 36 | 1025 | ---------------------------------------------
-- Toxic Spit
--
-- Description: Spews a toxic glob at a single target. Additional effect: Poison
-- Type: Magical Water
-- Utsusemi/Blink absorb: Ignores shadows
-- Notes: Additional effect can be removed with Poisona.
---------------------------------------------
req... | gpl-3.0 |
Tyxz/-ESO--ingame--Clock---Tamriel-Standard-Time | Test/Lib/Data/Settings_spec.lua | 1 | 42733 | --[[--------------------------------------------
Project: Clock - Tamriel Standard Time
Author: Arne Rantzen (Tyx)
Created: 2020-02-19
Updated: 2020-03-06
License: GPL-3.0
--------------------------------------------]]--
describe("Settings", function()
require("Test.Lib.Data.Sett... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Windurst_Walls/npcs/Chawo_Shipeynyo.lua | 38 | 1040 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Chawo Shipeynyo
-- Type: Standard NPC
-- @zone: 239
-- @pos 3.593 -17 124.069
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
---------... | gpl-3.0 |
viera2/5040bot | plugins/channels.lua | 300 | 1680 | -- Checks if bot was disabled on specific chat
local function is_channel_disabled( receiver )
if not _config.disabled_channels then
return false
end
if _config.disabled_channels[receiver] == nil then
return false
end
return _config.disabled_channels[receiver]
end
local function enable_channel(receiver)
if... | gpl-2.0 |
ibm2431/darkstar | scripts/globals/items/ham_and_cheese_crepe.lua | 11 | 1323 | -----------------------------------------
-- ID: 5771
-- Item: ham_and_cheese_crepe
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- HP +10% (cap 25)
-- STR +2
-- VIT +1
-- Magic Accuracy +10
-- Magic Defense +3
-- hHP +2
-----------------------------------------
require("scripts/globals/s... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.