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 |
|---|---|---|---|---|---|
Vadavim/jsr-darkstar | scripts/zones/Northern_San_dOria/npcs/Pagisalis.lua | 1 | 3474 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pagisalis
-- Involved In Quest: Enveloped in Darkness
-- @zone 231
-- @pos
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setting... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/mobskills/Digest.lua | 1 | 1189 | ---------------------------------------------------
-- Drainkiss
-- Deals dark damage to a single target. Additional effect: Drain
-- Type: Magical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes: If used against undead, it will simply do damage and not drain HP.
--------------------------------------------... | gpl-3.0 |
zynjec/darkstar | scripts/globals/weaponskills/quietus.lua | 10 | 1867 | -----------------------------------
-- Quietus
-- Scythe weapon skill
-- Skill Level: N/A
-- Delivers a triple damage attack that ignores target's defense. Amount ignored varies with TP. Redemption: Aftermath.
-- Available only when equipped with Redemption (85)/(90)/(95)/(99) or Penitence +1/+2/+3/Umiliati.
-- Aligned... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Yuhtunga_Jungle/npcs/Logging_Point.lua | 17 | 1091 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Yuhtunga_Jungle/TextIDs");
---------... | gpl-3.0 |
vseledkin/torch-toolbox | Dataset-tools/data_augmentation.lua | 2 | 3001 | -- Author: Aysegul Dundar
-- Date: December, 2014
require 'image'
require 'pl'
require 'trepl'
opt = lapp[[
-h,--hflip (default true) horizontal flip
-t,--transImgInt (default 20) stepping of translation, number of images to create (ta/t)^2
--ta (default... | bsd-3-clause |
Vadavim/jsr-darkstar | scripts/zones/Port_Bastok/npcs/Mine_Konte.lua | 17 | 1124 | -----------------------------------
-- Area: Port Bastok
-- NPC: Mine Konte
-- Involved in Quest: Out of One's Shell
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Bastok_Markets/npcs/Zaira.lua | 15 | 1895 | -----------------------------------
-- Area: Batok Markets
-- NPC: Zaira
-- Standard Merchant NPC
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/zone... | gpl-3.0 |
darklost/quick-ng | quick/framework/cc/components/behavior/EventProtocol.lua | 10 | 5330 |
local Component = import("..Component")
local EventProtocol = class("EventProtocol", Component)
function EventProtocol:ctor()
EventProtocol.super.ctor(self, "EventProtocol")
self.listeners_ = {}
self.nextListenerHandleIndex_ = 0
end
function EventProtocol:addEventListener(eventName, listener, tag)
as... | mit |
kickstandproject/asterisk-testsuite-temporary | asttest/self-tests/astlib_configs2/test.lua | 5 | 1883 | -- test astlib
skip_if(not ast.exists(), "asterisk not found")
-- generate what we expect to see
expected_test_conf = [[
[test]
test = 1
test = test
value = this
allow = true
[section]
value = yes
setting = on
ip = 10.10.10.10
[section]
value = no
#include file
[template](!)
value = default
[inherit](template)
v... | gpl-2.0 |
Vadavim/jsr-darkstar | scripts/globals/effects/accuracy_boost_ii.lua | 1 | 1028 | -----------------------------------
--
-- EFFECT_ACCURACY_BOOST
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:addMod(MOD_ACC,effect:getPower());
... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Windurst_Waters/npcs/Tonana.lua | 13 | 1113 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Tonana
-- Warps players to Windurst Woods
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Waters/TextIDs");
-------------... | gpl-3.0 |
amir0858/telesuper1 | plugins/saveplug.lua | 19 | 1055 | --Created by: @WaderTGTeam
--Powered by: @WaderTGTeam
--âڑ ï¸ڈ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 saving to:'... | agpl-3.0 |
runswithd6s/awesome-configs | battery.lua | 1 | 1955 | -- Source: http://awesome.naquadah.org/wiki/Closured_Battery_Widget
local io = io
local math = math
local naughty = naughty
local beautiful = beautiful
local tonumber = tonumber
local tostring = tostring
local print = print
local pairs = pairs
module("battery")
local limits = {{25, 5},
{12, 3},
{ 7, 1},
{0... | gpl-3.0 |
anthrotype/sile | packages/converters.lua | 4 | 2468 | local lfs = require('lfs')
SILE.scratch.converters = {}
local register = function(sourceExt, targetExt, command)
table.insert(SILE.scratch.converters, {
sourceExt = sourceExt,
targetExt = targetExt,
command = command
})
end
local applyConverter = function(source, converter)
local extLen = string.le... | mit |
actboy168/MoeHero | scripts/maps/map_item/武器/星云苍斧.lua | 1 | 1297 |
--物品名称
local mt = ac.skill['星云苍斧']
--图标
mt.art = [[BTNattack6.blp]]
--说明
mt.tip = [[
%chance%%概率对%area%码范围的敌人释放幻雷。
这个效果每%cool%秒只能触发一次。
]]
--物品类型
mt.item_type = '武器'
--物品等级
mt.level = 4
--附魔价格
mt.gold = 1800
--物品唯一
mt.unique = true
mt.chance = 25
mt.area = 600
mt.cool = 3
mt.damage = 1.2
function mt:on_ad... | gpl-3.0 |
CosyVerif/library | src/cosy/webclient/dashboard/init.lua | 1 | 2891 | return function (loader)
local I18n = loader.load "cosy.i18n"
local Webclient = loader.load "cosy.webclient"
local i18n = I18n.load {
"cosy.webclient.dashboard",
}
i18n._locale = Webclient.window.navigator.language
local Dashboard = {
template = {},
}
Dashboard.__index = Dashboar... | mit |
amyvmiwei/skynet | lualib/mqueue.lua | 115 | 1798 | -- This is a deprecated module, use skynet.queue instead.
local skynet = require "skynet"
local c = require "skynet.core"
local mqueue = {}
local init_once
local thread_id
local message_queue = {}
skynet.register_protocol {
name = "queue",
-- please read skynet.h for magic number 8
id = 8,
pack = skynet.pack,
u... | mit |
xiaq/luarocks | src/luarocks/fetch/hg.lua | 14 | 2144 |
--- Fetch back-end for retrieving sources from HG.
--module("luarocks.fetch.hg", package.seeall)
local hg = {}
local unpack = unpack or table.unpack
local fs = require("luarocks.fs")
local dir = require("luarocks.dir")
local util = require("luarocks.util")
--- Download sources for building a rock, using hg.
-- @par... | mit |
zynjec/darkstar | scripts/zones/Quicksand_Caves/npcs/Fountain_of_Kings.lua | 9 | 1187 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Fountain of Kings
-- !pos 567 18 -939 208
-----------------------------------
local ID = require("scripts/zones/Quicksand_Caves/IDs");
require("scripts/globals/missions");
require("scripts/globals/keyitems");
function onTrade(player,npc,trade)
end;
... | gpl-3.0 |
pando85/telegram-bot | plugins/rae.lua | 616 | 1312 | do
function getDulcinea( text )
-- Powered by https://github.com/javierhonduco/dulcinea
local api = "http://dulcinea.herokuapp.com/api/?query="
local query_url = api..text
local b, code = http.request(query_url)
if code ~= 200 then
return "Error: HTTP Connection"
end
dulcinea = json:decode(b)
... | gpl-2.0 |
hossein5251/hossein5251bot | plugins/rae.lua | 616 | 1312 | do
function getDulcinea( text )
-- Powered by https://github.com/javierhonduco/dulcinea
local api = "http://dulcinea.herokuapp.com/api/?query="
local query_url = api..text
local b, code = http.request(query_url)
if code ~= 200 then
return "Error: HTTP Connection"
end
dulcinea = json:decode(b)
... | gpl-2.0 |
darklost/quick-ng | cocos/scripting/lua-bindings/auto/api/FiniteTimeAction.lua | 18 | 1071 |
--------------------------------
-- @module FiniteTimeAction
-- @extend Action
-- @parent_module cc
--------------------------------
-- Set duration in seconds of the action. <br>
-- param duration In seconds of the action.
-- @function [parent=#FiniteTimeAction] setDuration
-- @param self
-- @param #float duration... | mit |
Vadavim/jsr-darkstar | scripts/zones/AlTaieu/npcs/_0x0.lua | 14 | 2215 | -----------------------------------
-- Area: Al'Taieu
-- NPC: Crystalline Field
-- @pos .1 -10 -464 33
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/globals/missions");
------... | gpl-3.0 |
dkogan/notion-scripts | scripts/named_scratchpad.lua | 2 | 1398 | --[[
Author: Etan Reisner
Email: deryni@gmail.com
Summary: Toggle (and create) scratchpads by name.
Version: 0.2
Last Updated: 2007-01-23
Copyright (c) Etan Reisner 2007
This software is released under the terms of the MIT license. For more
information, see http://opensource.org/licenses/mit-license.php .
--]]
-- Us... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Wajaom_Woodlands/npcs/Watisa.lua | 32 | 1643 | -----------------------------------
-- Area: Wajaom Woodlands
-- NPC: Watisa
-- Type: Chocobo Renter
-- @pos -201 -11 93 51
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrade Action
---------------------------... | gpl-3.0 |
zynjec/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/_0z0.lua | 9 | 1306 | -----------------------------------
-- Area: The_Garden_of_RuHmet
-- NPC: _0z0
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions");
require("scripts/globals/keyitems");
require("scripts/globals/bcnm");
function onTrade(player,npc,trade)
if (TradeBCNM(... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fk.lua | 13 | 1076 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Titan's Gate
-- @pos 100 -34 88 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
------... | gpl-3.0 |
zynjec/darkstar | scripts/zones/Bastok_Markets/npcs/Ciqala.lua | 12 | 1058 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Ciqala
-- Type: Merchant
-- !pos -283.147 -11.319 -143.680 235
-----------------------------------
local ID = require("scripts/zones/Bastok_Markets/IDs")
require("scripts/globals/shop")
function onTrigger(player,npc)
local stock =
{
1... | gpl-3.0 |
hfjgjfg/core2000 | plugins/stats.lua | 866 | 4001 | do
-- Returns a table with `name` and `msgs`
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_prin... | gpl-2.0 |
mahdimohbi/xyxy | plugins/stats.lua | 866 | 4001 | do
-- Returns a table with `name` and `msgs`
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_prin... | gpl-2.0 |
mahdibagheri/TeleSeed | plugins/stats.lua | 866 | 4001 | do
-- Returns a table with `name` and `msgs`
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_prin... | gpl-2.0 |
Vadavim/jsr-darkstar | scripts/zones/South_Gustaberg/npcs/qm2.lua | 27 | 2839 | -----------------------------------
-- Area: South Gustaberg
-- NPC: ???
-- Involved in Quest: Smoke on the Mountain
-- @pos 461 -21 -580 107
-----------------------------------
package.loaded["scripts/zones/South_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/South_Gustaberg/Te... | gpl-3.0 |
jrgdiz/NewtonsRevenge | advtiledloader/Tile.lua | 3 | 2502 | ---------------------------------------------------------------------------------------------------
-- -= Tile =-
---------------------------------------------------------------------------------------------------
-- Setup
local assert = assert
local Tile = {}
Tile.__index = Tile
-- Creates a new tile and returns it.... | mit |
anthrotype/sile | lua-libraries/repl/plugins/autoreturn.lua | 7 | 1364 | -- Copyright (c) 2011-2014 Rob Hoelz <rob@hoelz.ro>
--
-- 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,... | mit |
Colettechan/darkstar | scripts/zones/West_Sarutabaruta/npcs/Darumomo_WW.lua | 13 | 3341 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Darumomo, W.W.
-- Type: Border Conquest Guards
-- @pos 399.450 -25.858 727.545 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
sumory/lor | lib/lor/lib/router/group.lua | 2 | 4055 | local setmetatable = setmetatable
local pairs = pairs
local type = type
local error = error
local next = next
local string_format = string.format
local string_lower = string.lower
local table_insert = table.insert
local unpack = table.unpack or unpack
local supported_http_methods = require("lor.lib.methods")
local deb... | mit |
zynjec/darkstar | scripts/globals/items/shrimp_cracker_+1.lua | 11 | 1189 | -----------------------------------------
-- ID: 5636
-- Item: shrimp_cracker_+1
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Vitality 2
-- Defense +10
-- Amorph Killer 12
-- Resist Virus 12
-- HP Recovered While Healing 9
-----------------------------------------
require("scripts/global... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Port_Bastok/npcs/Sawyer.lua | 17 | 1551 | -----------------------------------
-- Area: Port Bastok
-- NPC: Sawyer
-- 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 |
Vadavim/jsr-darkstar | scripts/zones/Abyssea-Altepa/Zone.lua | 33 | 1470 | -----------------------------------
--
-- Zone: Abyssea - Altepa
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Altepa/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abyssea-Altepa/TextIDs... | gpl-3.0 |
actboy168/MoeHero | scripts/maps/hero/夜刀神十香/init.lua | 1 | 1149 | require 'maps.hero.夜刀神十香.暴虐斩'
require 'maps.hero.夜刀神十香.暴虐舞'
require 'maps.hero.夜刀神十香.空间震'
require 'maps.hero.夜刀神十香.终焉之剑'
return ac.hero.create '夜刀神十香'
{
--物编中的id
id = 'H011',
production = '约会大作战',
model_source = 'U9模型区',
hero_designer = 'actboy168',
hero_scripter = 'actboy168',
show_animation = { 'spell on... | gpl-3.0 |
lcf8858/Sample_Lua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Label.lua | 10 | 12761 |
--------------------------------
-- @module Label
-- @extend SpriteBatchNode,LabelProtocol
-- @parent_module cc
--------------------------------
--
-- @function [parent=#Label] isClipMarginEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Enable shadow... | mit |
Colettechan/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rr.lua | 13 | 1451 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna_Aqueduct... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/items/cone_of_seraphs_kiss.lua | 18 | 1385 | -----------------------------------------
-- ID: 5556
-- Item: cone_of_seraphs_kiss
-- Food Effect: 1Hr, All Races
-----------------------------------------
-- HP 15
-- MP % 16 (cap 85)
-- MP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status");
-----------------------... | gpl-3.0 |
ignacio/StackTracePlus | src/StackTracePlus.lua | 1 | 12581 | -- tables
local _G = _G
local string, io, debug, coroutine = string, io, debug, coroutine
-- functions
local tostring, print, require = tostring, print, require
local next, assert = next, assert
local pcall, type, pairs, ipairs = pcall, type, pairs, ipairs
local error = error
assert(debug, "debug table must... | mit |
zynjec/darkstar | scripts/zones/Riverne-Site_B01/npcs/Unstable_Displacement.lua | 9 | 1230 | -----------------------------------
-- Area: Riverne Site #B01
-- NPC: Unstable Displacement
-----------------------------------
local ID = require("scripts/zones/Riverne-Site_B01/IDs");
require("scripts/globals/settings")
require("scripts/globals/quests")
require("scripts/globals/status")
require("scripts/globals/bcn... | gpl-3.0 |
syntafin/prosody-modules | mod_firewall/conditions.lib.lua | 31 | 6103 | local condition_handlers = {};
local jid = require "util.jid";
-- Return a code string for a condition that checks whether the contents
-- of variable with the name 'name' matches any of the values in the
-- comma/space/pipe delimited list 'values'.
local function compile_comparison_list(name, values)
local conditio... | mit |
dhlab-basel/Sipi | scripts/upload.lua | 1 | 4781 | --
-- Copyright © 2016 Lukas Rosenthaler, Andrea Bianco, Benjamin Geer,
-- Ivan Subotic, Tobias Schweizer, André Kilchenmann, and André Fatton.
-- This file is part of Sipi.
-- Sipi is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Affero General Public License as published
-- by ... | agpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/mobskills/Antiphase.lua | 1 | 1061 | ---------------------------------------------
-- Antiphase
--
-- Description: Silence Area of Effect (15.0')
-- Type: Enfeebling
-- Utsusemi/Blink absorb: Ignores shadows
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/mo... | gpl-3.0 |
JarnoVgr/InfectedWars | gamemode/debug/cl_debug.lua | 1 | 1625 | --[[-----------------------------------------------------------------------------
* Infected Wars, an open source Garry's Mod game-mode.
*
* Infected Wars is the work of multiple authors,
* a full list can be found in CONTRIBUTORS.md.
* For more information, visit https://github.com/JarnoVgr/InfectedWars
*
* Inf... | mit |
zynjec/darkstar | scripts/globals/items/serving_of_bass_meuniere.lua | 11 | 1364 | -----------------------------------------
-- ID: 4582
-- Item: serving_of_bass_meuniere
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health % 3 (cap 130)
-- Dexterity 3
-- Agility 3
-- Mind -3
-- Ranged ACC % 6
-- Ranged ACC Cap 15
-----------------------------------------
require("scr... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Western_Adoulin/npcs/HomePoint#1.lua | 27 | 1255 | -----------------------------------
-- Area: Western_Adoulin
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Western_Adoulin/TextIDs");
require("scripts/globals/homepoint");
--... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/Kasim.lua | 13 | 1889 | -----------------------------------
-- Area: The Sanctuary of Zitah
-- NPC: Kasim
-- @pos -46 0 -148 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_Zitah/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
r... | gpl-3.0 |
zevv/lgi | tools/dump-typelib.lua | 6 | 5603 | #! /usr/bin/env lua
------------------------------------------------------------------------------
--
-- LGI tools for dumping typelib fragments into readable text format.
--
-- Copyright (c) 2010, 2011 Pavel Holejsovsky
-- Licensed under the MIT license:
-- http://www.opensource.org/licenses/mit-license.php
--
---... | mit |
Vadavim/jsr-darkstar | scripts/zones/Kazham/npcs/Lulupp.lua | 14 | 6017 | -----------------------------------
-- Area: Kazham
-- NPC: Lulupp
-- Type: Standard NPC
-- @zone 250
-- @pos -26.567 -3.5 -3.544
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/globals/pathfind");
local path = {
-27.457125, -3.043032, -22.057966,
-27.3734... | gpl-3.0 |
JarnoVgr/InfectedWars | entities/weapons/iw_und_locustcannon/shared.lua | 1 | 8692 | --[[-----------------------------------------------------------------------------
* Infected Wars, an open source Garry's Mod game-mode.
*
* Infected Wars is the work of multiple authors,
* a full list can be found in CONTRIBUTORS.md.
* For more information, visit https://github.com/JarnoVgr/InfectedWars
*
* Inf... | mit |
Vadavim/jsr-darkstar | scripts/zones/Jugner_Forest_[S]/Zone.lua | 4 | 1772 | -----------------------------------
--
-- Zone: Jugner_Forest_[S] (82)
--
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Jugner_Forest_[S]/TextIDs");
------------------... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/spells/bluemagic/frightful_roar.lua | 1 | 1419 | -----------------------------------------
-- Spell: Frightful Roar
-- Weakens defense of enemies within range
-- Spell cost: 32 MP
-- Monster Type: Demon
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 3
-- Stat Bonus: AGI+2
-- Level: 50
-- Casting Time: 2 seconds
-- Recast Time: 20 seconds
-- Magic Bursts on: Deto... | gpl-3.0 |
zynjec/darkstar | scripts/zones/Northern_San_dOria/npcs/Heruze-Moruze.lua | 9 | 1417 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Heruze-Moruze
-- Involved in Mission: 2-3 Windurst
-- !pos -56 -3 36 231
-----------------------------------
local ID = require("scripts/zones/Northern_San_dOria/IDs");
require("scripts/globals/keyitems");
require("scripts/globals/missions");
---... | gpl-3.0 |
KTXSoftware/angleproject | kake.lua | 1 | 6982 | project = Project.new("angle")
project:addExclude(".git/**")
project:addExclude("extensions/**")
project:addExclude("samples/**")
project:addExclude("tests/**")
project:addDefine("ANGLE_DISABLE_PERF")
project:addDefine("ANGLE_DISABLE_TRACE")
project:addIncludeDir("src")
project:addIncludeDir("include")
... | bsd-3-clause |
Colettechan/darkstar | scripts/zones/Ceizak_Battlegrounds/Zone.lua | 16 | 1206 | -----------------------------------
--
-- Zone: Ceizak Battlegrounds
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Ceizak_Battlegrounds/TextIDs"] = nil;
require("scripts/zones/Ceizak_Battlegrounds/TextIDs");
-----------------------------------
-- onInitia... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/items/serving_of_emperor_roe.lua | 18 | 1339 | -----------------------------------------
-- ID: 4275
-- Item: serving_of_emperor_roe
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 8
-- Magic 8
-- Dexterity 4
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-------------------------------... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Temenos/mobs/Enhanced_Dragon.lua | 26 | 1283 | -----------------------------------
-- Area: Temenos Central 1floor
-- NPC: Enhanced_Dragon
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
------------------... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/spells/bio.lua | 1 | 2549 | -----------------------------------------
-- Spell: Bio
-- Deals dark damage that weakens an enemy's attacks and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/magic");
require("scripts/globals/status");
-------------------------------... | gpl-3.0 |
JarnoVgr/InfectedWars | gamemode/cl_init.lua | 1 | 30217 | --[[-----------------------------------------------------------------------------
* Infected Wars, an open source Garry's Mod game-mode.
*
* Infected Wars is the work of multiple authors,
* a full list can be found in CONTRIBUTORS.md.
* For more information, visit https://github.com/JarnoVgr/InfectedWars
*
* Inf... | mit |
Vadavim/jsr-darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Renten-Tonten.lua | 14 | 1066 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Renten-Tonten
-- Type: Standard NPC
-- @zone 94
-- @pos 133.840 -6.75 173.305
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/items/piece_of_cascade_candy.lua | 18 | 1175 | -----------------------------------------
-- ID: 5942
-- Item: Piece of Cascade Candy
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Mind +4
-- Charisma +4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChe... | gpl-3.0 |
Ali-2h/iranibot | plugins/minecraft.lua | 624 | 2605 | local usage = {
"!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565",
"!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.",
}
local ltn12 = require "ltn12"
local function mineSearch(ip, port, receiver) --25565
local responseText = ""
l... | gpl-2.0 |
pando85/telegram-bot | plugins/minecraft.lua | 624 | 2605 | local usage = {
"!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565",
"!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.",
}
local ltn12 = require "ltn12"
local function mineSearch(ip, port, receiver) --25565
local responseText = ""
l... | gpl-2.0 |
Vadavim/jsr-darkstar | scripts/globals/mobskills/Water_Shield.lua | 1 | 1308 | ---------------------------------------------
-- Water Shield
--
-- Description: Enhances evasion.
-- Type: Enhancing
-- Utsusemi/Blink absorb: N/A
-- Range: Self
-- Notes: Very sharp evasion increase.
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/stat... | gpl-3.0 |
lcf8858/Sample_Lua | src/anysdkConst.lua | 2 | 7269 | Plugin_type = {
kPluginAds = 16,
kPluginAnalytics = 1,
kPluginIAP = 8,
kPluginShare = 4,
kPluginUser = 32,
kPluginSocial = 2,
kPluginPush = 64
}
-- for ads
AdsResultCode = {
kAdsReceived = 0, --enum value is callbac... | mit |
zynjec/darkstar | scripts/zones/Norg/npcs/Verctissa.lua | 9 | 2679 | -----------------------------------
-- Area: Norg
-- NPC: Verctissa
-- Starts Quest: Trial Size Trial By Water
-- !pos -13 1 -20 252
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/quests");
require("scripts/globals/teleports");
local... | gpl-3.0 |
adminerror/22222222 | plugins/help.lua | 25 | 4629 | do
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]]
end
end
return iter
end... | gpl-2.0 |
amyvmiwei/skynet | test/testredis2.lua | 82 | 1043 | local skynet = require "skynet"
local redis = require "redis"
local db
function add1(key, count)
local t = {}
for i = 1, count do
t[2*i -1] = "key" ..i
t[2*i] = "value" .. i
end
db:hmset(key, table.unpack(t))
end
function add2(key, count)
local t = {}
for i = 1, count do
... | mit |
actboy168/MoeHero | scripts/maps/hero/鹿目圆香/圆环之理.lua | 1 | 5223 |
local mt = ac.skill['圆环之理']
mt{
--初始等级
level = 0,
--最大等级
max_level = 3,
--需要的英雄等级
requirement = {6, 11, 16},
--技能图标
art = [[BTNxyr.blp]],
--技能说明
title = '圆环之理',
tip = [[
获得%mana_up%(+%mana_up_plus%)法力值,并将所有敌方单位法力值消除,小圆进入不可干涉状态但期间不能移动、攻击或使用物品技能,期间第一次[净化箭矢]射程提高到%power_range%,并同时攻击%power_count%个目标
持续%l... | gpl-3.0 |
zynjec/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Dhea_Prandoleh.lua | 9 | 1972 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Dhea Prandoleh
-- Type: Standard NPC
-- !pos 1 -1 15 94
-----------------------------------
local ID = require("scripts/zones/Windurst_Waters_[S]/IDs")
require("scripts/globals/quests")
require("scripts/globals/titles")
--------------------------... | gpl-3.0 |
mirbot/mirTG | plugins/cpu.lua | 244 | 1893 | function run_sh(msg)
name = get_name(msg)
text = ''
-- if config.sh_enabled == false then
-- text = '!sh command is disabled'
-- else
-- if is_sudo(msg) then
-- bash = msg.text:sub(4,-1)
-- text = run_bash(bash)
-- else
-- text = name .. ' you... | gpl-2.0 |
Vadavim/jsr-darkstar | scripts/globals/abilities/pets/rock_throw.lua | 1 | 1524 | ---------------------------------------------------
-- Rock Throw M=3.5
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/summon");
---------------------------------------------------
function onAbilityCheck(player, ta... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/weaponskills/vorpal_thrust.lua | 11 | 1395 | -----------------------------------
-- Vorpal Thrust
-- Polearm weapon skill
-- Skill Level: 175
-- Delivers a single-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget & Light Gorget.
-- Aligned with the Aqua Belt & Light Belt.
-- Element: None
-- Mod... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/spells/bluemagic/smite_of_rage.lua | 1 | 1704 | -----------------------------------------
-- Spell: Smite of Rage
-- Damage varies with TP
-- Spell cost: 28 MP
-- Monster Type: Arcana
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 3
-- Stat Bonus: AGI+3
-- Level: 34
-- Casting Time: 0.5 seconds
-- Recast Time: 13 seconds
-- Skillchain Element(s): Wind (can... | gpl-3.0 |
anthrotype/sile | lua-libraries/std/strbuf.lua | 6 | 1203 | --[[--
String buffers.
@classmod std.strbuf
]]
local Object = require "std.object"
--- Add a string to a buffer.
-- @tparam string s string to add
-- @treturn std.strbuf modified buffer
local function concat (self, s)
table.insert (self, s)
return self
end
--- Convert a buffer to a string.
-- @treturn strin... | mit |
akfidjeland/logroll | logroll/init.lua | 1 | 2762 | require 'paths'
require 'os'
require 'io'
require 'string'
require 'fn'
require 'pprint'
logroll = {}
local DEFAULT_LEVEL = 'INFO'
local LOG_LEVELS = {'DEBUG', 'INFO', 'WARN', 'ERROR'}
for i, label in ipairs(LOG_LEVELS) do
logroll[label] = i
end
logroll.levels = LOG_LEVELS
local function default_formatter(lev... | bsd-3-clause |
zynjec/darkstar | scripts/globals/items/bowl_of_miso_soup.lua | 11 | 1850 | -----------------------------------------
-- ID: 6466
-- Item: bowl_of_miso_soup
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP +7% (cap 50)
-- DEX +4
-- AGI +4
-- Accuracy +10% (cap 40)
-- Attack +10% (cap 40)
-- Ranged Accuracy +10% (cap 40)
-- Ranged Attack +10% (cap 40)
-----------... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/items/nebimonite.lua | 18 | 1409 | -----------------------------------------
-- ID: 4361
-- Item: nebimonite
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -3
-- Vitality 2
-- Defense % 12.9
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-... | gpl-3.0 |
nodemcu/nodemcu-firmware | lua_examples/gossip_example.lua | 7 | 2136 | -- need a wifi connection
-- enter your wifi credentials
local credentials = {SSID = "SSID", PASS = "PASS"};
-- push a message onto the network
-- this can also be done by changing gossip.networkState[gossip.ip].data = {temperature = 78};
local function sendAlarmingData()
Gossip.pushGossip({temperature = 78});
pri... | mit |
zynjec/darkstar | scripts/zones/Norg/npcs/Shivivi.lua | 11 | 2722 | -----------------------------------
-- Area: Norg
-- NPC: Shivivi
-- Starts Quest: Secret of the Damp Scroll
-- !pos 68.729 -6.281 -6.432 252
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop");
require("scripts/globals/quests");
require("scripts/globals/pathfind");... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/weaponskills/tachi_koki.lua | 9 | 1579 | -----------------------------------
-- Tachi Koki
-- Great Katana weapon skill
-- Skill level: 175
-- Deals light elemental damage to enemy. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget & Thunder Gorget.
-- Aligned with the Aqua Belt & Thunder Belt.
-- Element: Light
-- Modifi... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/spells/cure_vi.lua | 26 | 3921 | -----------------------------------------
-- 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/magic")... | gpl-3.0 |
zynjec/darkstar | scripts/zones/Bearclaw_Pinnacle/npcs/Armoury_Crate.lua | 9 | 5731 | -----------------------------------
-- Area: Bearclaw Pinnacle
-- NPC: Armoury Crate
-----------------------------------
require("scripts/globals/battlefield")
-----------------------------------
local loot =
{
-- ENM: Follow the White Rabbit
[641] =
{
{
{itemid = 0, droprate = 5... | gpl-3.0 |
Silverfeelin/SpawnableItemPack | scripts/sip_util.lua | 2 | 5602 | require "/scripts/util.lua"
sip_util = {}
--- Returns a value indicating whether an item has color options.
-- @param itemConfig Item configuration (root.itemConfig().config).
-- @return True if the item supports color options.
function sip_util.isColorable(itemConfig)
if itemConfig then
return not not itemConf... | mit |
zynjec/darkstar | scripts/zones/Port_Windurst/npcs/Hohbiba-Mubiba.lua | 12 | 1078 | -----------------------------------
-- Area: Port Windurst
-- NPC: Hohbiba-Mubiba
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Port_Windurst/IDs")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
function onTrigger(player,npc)
local stock =
... | gpl-3.0 |
anthrotype/sile | languages/ml.lua | 4 | 1285 | SILE.hyphenator.languages["ml"] = {};
SILE.hyphenator.languages["ml"].patterns =
{
-- GENERAL RULE
-- Do not break either side of ZERO-WIDTH JOINER (U+200D)
"22",
-- Break on both sides of ZERO-WIDTH NON JOINER (U+200C)
"11",
-- Break before or after any independent vowel.
"1അ1",
"1ആ1",
"1ഇ1",
"1ഈ1",
"1ഉ1",
"1ഊ1... | mit |
zynjec/darkstar | scripts/globals/weaponskills/skewer.lua | 10 | 1409 | -----------------------------------
-- Skewer
-- Polearm weapon skill
-- Skill Level: 200
-- Delivers a three-hit attack. Chance of params.critical hit varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Light Gorget & Thunder Gorget.
-- Aligned with the Light Belt & Thunder Belt.
-- Element: None
-- M... | gpl-3.0 |
zynjec/darkstar | scripts/globals/items/dish_of_spaghetti_pescatora.lua | 11 | 1378 | -----------------------------------------
-- ID: 5191
-- Item: dish_of_spaghetti_pescatora
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 15
-- Health Cap 150
-- Vitality 3
-- Mind -1
-- Defense % 22
-- Defense Cap 65
-- Store TP 6
-----------------------------------------
requir... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/items/serving_of_beaugreen_sautee.lua | 18 | 1404 | -----------------------------------------
-- 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 |
Vadavim/jsr-darkstar | scripts/globals/items/istiridye.lua | 18 | 1404 | -----------------------------------------
-- ID: 5456
-- Item: Istiridye
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -5
-- Vitality 4
-- Defense +17.07%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Southern_San_dOria/npcs/Gizel.lua | 14 | 1503 | -----------------------------------
-- Area: Southern San dOria
-- NPC: Gizel
-- Type: Event Scene Replayer NPC
-- @zone 230
-- @pos -34.412 0.000 33.362
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/South... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/spells/barblizzara.lua | 1 | 1426 | -----------------------------------------
-- Spell: BARBLIZZARA
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Southern_San_dOria/npcs/Thadiene.lua | 17 | 2118 | -----------------------------------
-- 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/shop");
requ... | gpl-3.0 |
syntafin/prosody-modules | mod_muc_log/mod_muc_log.lua | 32 | 4843 | -- Copyright (C) 2009 Thilo Cestonaro
-- Copyright (C) 2009 Waqas Hussain
-- Copyright (C) 2009-2013 Matthew Wild
-- Copyright (C) 2013 Kim Alvefur
-- Copyright (C) 2013 Marco Cirillo
local hosts = prosody.hosts;
local tostring = tostring;
local split_jid = require "util.jid".split;
local datamanager = require"core.st... | mit |
Colettechan/darkstar | scripts/globals/items/plate_of_octopus_sushi_+1.lua | 18 | 1324 | -----------------------------------------
-- ID: 5694
-- Item: plate_of_octopus_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 2
-- Accuracy % 17 (Unknown, assuming 1% more than NQ)
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.