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 |
|---|---|---|---|---|---|
Vadavim/jsr-darkstar | scripts/globals/mobskills/Cursed_Sphere.lua | 1 | 1168 | ---------------------------------------------
-- Cursed Sphere
--
-- Description: Deals water damage to enemies within area of effect.
-- Type: Magical Water (Element)
--
--
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Hall_of_Transference/npcs/_0e6.lua | 22 | 1709 | -----------------------------------
-- Area: Hall of Transference
-- NPC: Large Apparatus (Right) - Dem
-- @pos -243.723 -41.482 -289.937 14
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Hall_of_Transfe... | gpl-3.0 |
pando85/telegram-bot | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
asmantarik/MAGIC-BOT | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
hossein5251/hossein5251bot | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
zhaijialong/skynet | service/cmaster.lua | 78 | 3256 | local skynet = require "skynet"
local socket = require "socket"
--[[
master manage data :
1. all the slaves address : id -> ipaddr:port
2. all the global names : name -> address
master hold connections from slaves .
protocol slave->master :
package size 1 byte
type 1 byte :
'H' : HANDSHAKE, report slav... | mit |
Colettechan/darkstar | scripts/zones/Port_Jeuno/npcs/Dohhel.lua | 13 | 1046 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Dohhel
-- Type: Event Scene Replayer
-- @zone: 246
-- @pos -156.031 -2 6.051
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
------------------... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/items/chocolate_rarab_tail.lua | 18 | 1193 | -----------------------------------------
-- ID: 5921
-- Item: Chocolate Rarab Tail
-- Food Effect: 3 Min, All Races
-----------------------------------------
-- Dexterity 1
-- Speed 12.5%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemC... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/chocolate_rarab_tail.lua | 18 | 1193 | -----------------------------------------
-- ID: 5921
-- Item: Chocolate Rarab Tail
-- Food Effect: 3 Min, All Races
-----------------------------------------
-- Dexterity 1
-- Speed 12.5%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemC... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Giddeus/npcs/Ghoo_Pakya.lua | 13 | 2141 | -----------------------------------
-- Area: Giddeus
-- NPC: Ghoo Pakya
-- Involved in Mission 1-3
-- @pos -139 0 147 145
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/mission... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Bastok_Mines/npcs/Deadly_Spider.lua | 33 | 1388 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Deadly Spider
-- Involved in Quest: Stamp Hunt
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Bastok_Mines/Tex... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/mobskills/Sickle_Slash.lua | 34 | 1178 | ---------------------------------------------------
-- Sickle Slash
-- Deals critical damage. Chance of critical hit varies with TP.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
------------------... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Horlais_Peak/npcs/relic.lua | 13 | 1842 | -----------------------------------
-- Area: Horlais Peak
-- NPC: <this space intentionally left blank>
-- @pos 450 -40 -31 139
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Horlais_Peak/TextIDs");
-----------... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Windurst_Walls/npcs/Nine_of_Diamonds.lua | 13 | 1062 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Nine of Diamonds
-- Type: Standard NPC
-- @zone: 239
-- @pos -76.446 -10.822 107.692
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
--... | gpl-3.0 |
CosyVerif/library | src/cosy/client/i18n.lua | 1 | 1563 | return function (--[[loader]])
return {
["client:server"] = {
en = "using '{{{server}}}' server",
},
["client:identified"] = {
en = "identified as user '{{{user}}}'",
},
["client:command"] = {
en = "cosy command-line interface",
},
["server:not-url"] = {
en = "serv... | mit |
haiderqwwwqe/mr.SRBOT | plugins/me.lua | 1 | 1649 | -- Begin myinfo.lua
local function run(msg, matches)
if matches[1]:lower() == 'معلوماتي' then
function get_id(arg, data)
local username
if data.first_name_ then
if data.username_ then
username = '@'..data.username_
else
username = '<i>No Username!</i>'
end
local telNum
if data.pho... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/weaponskills/last_stand.lua | 16 | 1848 | -----------------------------------
-- Last Stand
-- Skill Level: 357
-- Description: Attacks once or twice, depending on remaining ammunition. Damage dealt varies with TP.
-- If the first shot of the weapon skill does enough damage to defeat the target, the second shot will not be used.
-- To obtain Last Stand, the qu... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Abyssea-Vunkerl/npcs/qm12.lua | 14 | 1350 | -----------------------------------
-- Zone: Abyssea-Vunkerl
-- NPC: qm12 (???)
-- Spawns Gnawtooth Gary
-- @pos ? ? ? 217
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Port_Windurst/npcs/Panja-Nanja.lua | 53 | 1909 | -----------------------------------
-- Area: Port Windurst
-- NPC: Panja-Nanja
-- Type: Fishing Adv. Image Support
-- @pos -194.499 -3 58.692 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Port_Windurst/npcs/Panja-Nanja.lua | 53 | 1909 | -----------------------------------
-- Area: Port Windurst
-- NPC: Panja-Nanja
-- Type: Fishing Adv. Image Support
-- @pos -194.499 -3 58.692 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
zynjec/darkstar | scripts/zones/Windurst_Walls/npcs/Ambrosius.lua | 11 | 4127 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Ambrosius
--
-- Quest NPC for "The Postman Always KOs Twice"
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
-----------------------------------
function onTrigger(player,npc)
QuestStatu... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/items/black_sole.lua | 18 | 1329 | -----------------------------------------
-- ID: 4384
-- Item: Black Sole
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Southern_San_dOria/npcs/Well.lua | 14 | 1415 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Well
-- Involved in Quest: Grave Concerns
-- @zone 230
-- @pos -129 -6 92
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
darklost/quick-ng | quick/framework/shortcodes.lua | 19 | 13473 | --[[
Copyright (c) 2011-2014 chukong-inc.com
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, publish, dis... | mit |
Colettechan/darkstar | scripts/globals/spells/invisible.lua | 27 | 1280 | -----------------------------------------
-- Spell: Invisible
-- Lessens chance of being detected by sight.
-- Duration is random number between 30 seconds and 5 minutes
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
----------------------------------... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/plate_of_beef_paella.lua | 18 | 1554 | -----------------------------------------
-- ID: 5972
-- Item: Plate of Beef Paella
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- HP 40
-- Strength 5
-- Intelligence -1
-- Attack % 18 Cap 90
-- Undead Killer 5
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
syntafin/prosody-modules | mod_auth_imap/auth_imap/mod_auth_imap.lua | 32 | 2142 | -- IMAP authentication backend for Prosody
--
-- Copyright (C) 2011 FIMXE from hg annotate -u
local name = "IMAP SASL";
local log = require "util.logger".init("auth_imap");
local imap_host = module:get_option_string("imap_auth_host", "localhost");
local imap_port = module:get_option_number("imap_auth_port");
local i... | mit |
Vadavim/jsr-darkstar | scripts/zones/Windurst_Woods/npcs/Nikkoko.lua | 53 | 1835 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Nikkoko
-- Type: Clothcraft Image Support
-- @pos -32.810 -3.25 -113.680 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Windurst_Woods/npcs/Nikkoko.lua | 53 | 1835 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Nikkoko
-- Type: Clothcraft Image Support
-- @pos -32.810 -3.25 -113.680 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/items/homemade_rice_ball.lua | 18 | 1105 | -----------------------------------------
-- ID: 5224
-- Item: homemade_rice_ball
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------------... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/weaponskills/cataclysm.lua | 1 | 1545 | -----------------------------------
-- Cataclysm
-- Skill level: 290
-- Delivers light elemental damage. Additional effect: Flash. Chance of effect varies with TP.
-- Generates a significant amount of Enmity.
-- Does not stack with Sneak Attack
-- Aligned with Aqua Gorget.
-- Aligned with Aqua Belt.
-- Properties:
-- E... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Rolanberry_Fields/npcs/Saarlan.lua | 29 | 8425 | -----------------------------------
-- Area: Rolanberry Fields
-- NPC: Saarlan
-- Legion NPC
-- @pos 242 24.395 468
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/key... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/dish_of_spaghetti_melanzane.lua | 18 | 1386 | -----------------------------------------
-- ID: 5213
-- Item: dish_of_spaghetti_melanzane
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 25
-- Health Cap 100
-- Vitality 2
-- Store TP 4
-----------------------------------------
require("scripts/globals/status");
--------------... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Apollyon/mobs/Adamantshell.lua | 4 | 1251 | -----------------------------------
-- Area: Apollyon SE
-- NPC: Adamantshell
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
---------------------------------... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Spire_of_Holla/Zone.lua | 30 | 1406 | -----------------------------------
--
-- Zone: Spire_of_Holla (17)
--
-----------------------------------
package.loaded["scripts/zones/Spire_of_Holla/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Spire_of_Holla/TextIDs");
---------------------------... | gpl-3.0 |
lcf8858/Sample_Lua | frameworks/cocos2d-x/tests/lua-tests/src/XMLHttpRequestTest/XMLHttpRequestTest.lua | 9 | 6845 | require("json")
local function XMLHttpRequestLayer()
local layer = cc.Layer:create()
local winSize = cc.Director:getInstance():getWinSize()
local margin = 40
local space = 35
local function init()
local label = cc.Label:createWithTTF("XML Http Request Test", s_arialPath, 28)
label... | mit |
scholzd/libmoon | lua/graphite.lua | 4 | 1926 | --- Output data to graphite
local mod = {}
local log = require "log"
local S = require "syscall"
local ffi = require "ffi"
local C = ffi.C
ffi.cdef[[
struct hostent {
char *h_name;
char **h_aliases;
int h_addrtype;
int h_length;
uint8_t **h_addr_list;
};
struct hostent *gethostb... | mit |
anthrotype/sile | lua-libraries/repl/plugins/completion.lua | 6 | 4670 | -- 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/Norg/npcs/Vuliaie.lua | 13 | 1305 | -----------------------------------
-- Area: Norg
-- NPC: Vuliaie
-- Type: Tenshodo Merchant
-- @pos -24.259 0.891 -19.556 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/sh... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Rabao/npcs/Spirit_Singer.lua | 14 | 1034 | ----------------------------------
-- Area: Rabao
-- NPC: Spirit Singer
-- Type: Item Deliverer
-- @zone 247
-- @pos 140.337 7.999 80.661
--
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/zones/Rabao/TextIDs");
-----------------------------------
--... | gpl-3.0 |
Gh0stblade/OpenTomb | scripts/entity/entity_functions_common.lua | 1 | 16775 | -- OPENTOMB ENTITY FUNCTIONS SCRIPT
-- By TeslaRus, Lwmte, 2014-2016
function save_crystal_init(id)
disableEntity(id);
end
function door_init(id) -- NORMAL doors only!
setEntityTypeFlag(id, ENTITY_TYPE_GENERIC);
setEntityActivity(id, true);
entity_funcs[id].state_on = 1;
entity_funcs[id]... | lgpl-3.0 |
jrgdiz/NewtonsRevenge | src/body.lua | 1 | 4903 | -- bodies, affected by gravity and blocks
function body_new()
local body = Collider:addRectangle(0, 0, 64, 64)
body.type = "body"
body.maxspd = 240
body.yspd = 0
body.xspd = 0
body.xacc = 10
body.yacc = 10
body.xfrc = 3
body.xdec = 7
body.x = 64
body.y = 64
... | mit |
pedja1/aNmap | dSploit/jni/nmap/nselib/strict.lua | 5 | 2586 | ---
-- Strict declared global library. Checks for undeclared global variables
-- during runtime execution.
--
-- This module places the <code>strict</code> function in the global
-- environment. The strict function allows a script to add runtime checking so
-- that undeclared globals cause an error to be raised. This i... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Southern_San_dOria/npcs/Emoussine.lua | 27 | 2406 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Emoussine
-- Type: Chocobo Renter
-- @pos -11 1 -100
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/g... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Ifrits_Cauldron/npcs/Flame_Spout.lua | 14 | 1607 | ----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: Flame Spout
-- @pos 193.967 -0.400 19.492 205
-----------------------------------
require("scripts/zones/Ifrits_Cauldron/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/quests");
-----------------------------------
-- onTrad... | gpl-3.0 |
zynjec/darkstar | scripts/zones/Windurst_Waters/npcs/Honoi-Gomoi.lua | 9 | 3485 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Honoi-Gumoi
-- Involved In Quest: Crying Over Onions, Hat in Hand
-- !pos -195 -11 -120 238
-----------------------------------
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scripts/globals/npc_util")
require("scrip... | gpl-3.0 |
CosyVerif/library | src/cosy/nginx/setup.lua | 1 | 2856 | return [==[
#! /usr/bin/env bash
red='\033[0;31m'
green='\033[0;32m'
nc='\033[0m'
tempwd=$(mktemp -d 2>/dev/null || mktemp -d -t cosy-setup)
log="${tempwd}/setup.log"
for i in "$@"
do
case ${i} in
-f=*|--package-uri=*)
package_uri="${i#*=}"
package_uri=${package_uri%/}
shift # past argument=v... | mit |
Vadavim/jsr-darkstar | scripts/zones/Misareaux_Coast/Zone.lua | 4 | 1649 | -----------------------------------
--
-- Zone: Misareaux_Coast (25)
--
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Misareaux_Coast/TextIDs");
------------------------... | gpl-3.0 |
zynjec/darkstar | scripts/globals/weaponskills/earth_crusher.lua | 10 | 1304 | -----------------------------------
-- Earth Crusher
-- Staff weapon skill
-- Skill Level: 70
-- Delivers an area of effect earth elemental attack. Damage varies with TP.
-- Aligned with the Breeze Gorget & Thunder Gorget.
-- Aligned with the Breeze Belt & Thunder Belt.
-- Element: Earth
-- Modifiers: STR:30% INT:30%
... | gpl-3.0 |
crowleaj/ApolloParser | parser/function.lua | 1 | 5117 | --Created by Alex Crowley
--On July 19, 2016
--Copyright (c) 2016, TBD
--Licensed under the MIT license
--See LICENSE file for terms
local function populateParams(list, params)
for _, val in ipairs(params) do
table.insert(list, val)
end
end
--[[
Parses and validates a function.
Returns:
Error code, 0... | mit |
Vadavim/jsr-darkstar | scripts/zones/Port_Bastok/npcs/Jabbar.lua | 14 | 1822 | -----------------------------------
-- Area: Port Bastok
-- NPC: Jabbar
-- Type: Tenshodo Merchant
-- Involved in Quests: Tenshodo Menbership
-- @pos -99.718 -2.299 26.027 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
nodemcu/nodemcu-firmware | lua_modules/email/imap.lua | 7 | 6297 | ---
-- Working Example: https://www.youtube.com/watch?v=PDxTR_KJLhc
-- IMPORTANT: run node.compile("imap.lua") after uploading this script
-- to create a compiled module. Then run file.remove("imap.lua")
-- @name imap
-- @description An IMAP 4rev1 module that can be used to read email.
-- Tested on NodeMCU 0.9.5 build ... | mit |
Colettechan/darkstar | scripts/zones/Windurst_Waters/npcs/Leepe-Hoppe.lua | 13 | 9408 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Leepe-Hoppe
-- Involved in Mission 1-3, Mission 7-2
-- @pos 13 -9 -197 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
re... | gpl-3.0 |
ridrogo/ModeradorBot | plugins/floodmanager.lua | 4 | 5482 | local function do_keyboard_flood(chat_id, ln)
--no: enabled, yes: disabled
local status = db:hget('chat:'..chat_id..':settings', 'Flood') or 'yes' --check (default: disabled)
if status == 'no' then
status = '✅ | ON'
elseif status == 'yes' then
status = '❌ | OFF'
end
local ha... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/abilities/pets/attachments/tension_spring.lua | 27 | 1089 | -----------------------------------
-- Attachment: Tension Spring
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onUseAbility
-----------------------------------
function onEquip(pet)
pet:addMod(MOD_ATTP, 3)
pet:addMod(MOD_RATTP, 3)
end
function... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Bastok_Markets/npcs/Michea.lua | 29 | 4408 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Michea
-- Quest NPC
-- Starts: Father Figure (100%) | The Elvaan Goldsmith (100%)
-- Involed in: Fetichism | Where Two Paths Converge
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
--------------------... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/items/tropical_clam.lua | 18 | 1318 | -----------------------------------------
-- ID: 5124
-- Item: Tropical Clam
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Vitality 4
-- Dexterity -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/VeLugannon_Palace/mobs/Brigandish_Blade.lua | 22 | 1276 | -----------------------------------
-- Area: VeLugannon Palace
-- NM: Brigandish Blade
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize
-----------------------------------
function onMobInitialize(mob)
mob:setMobMod(MOBMOD_ADD_EFFECT,... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Lower_Jeuno/npcs/Chululu.lua | 25 | 5445 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Chululu
-- Starts and Finishes Quests: Collect Tarut Cards, Rubbish Day
-- Optional Cutscene at end of Quest: Searching for the Right Words
-- @pos -13 -6 -42 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = n... | gpl-3.0 |
amir0858/telesuper1 | plugins/all.lua | 184 | 4452 | do
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print_name(user)..' ['..user_id..']'
return u... | agpl-3.0 |
zynjec/darkstar | scripts/globals/mobskills/optic_induration.lua | 11 | 1404 | ---------------------------------------------
-- Optic Induration
--
-- Description: Charges up a powerful, calcifying beam directed at targets in a fan-shaped area of effect. Additional effect: Petrification & enmity reset
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- No... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Garlaige_Citadel/Zone.lua | 13 | 4132 | -----------------------------------
--
-- Zone: Garlaige_Citadel (200)
--
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Garlaige_Citadel... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/weaponskills/earth_crusher.lua | 11 | 1287 | -----------------------------------
-- Earth Crusher
-- Staff weapon skill
-- Skill Level: 70
-- Delivers an area of effect earth elemental attack. Damage varies with TP.
-- Aligned with the Breeze Gorget & Thunder Gorget.
-- Aligned with the Breeze Belt & Thunder Belt.
-- Element: Earth
-- Modifiers: STR:30% ; INT:30%... | gpl-3.0 |
darklost/quick-ng | tools/cocos2d-console/plugins/plugin_luacompile/bin/jit/bc.lua | 78 | 5620 | ----------------------------------------------------------------------------
-- LuaJIT bytecode listing module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | mit |
Vadavim/jsr-darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm7.lua | 14 | 1376 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: qm7 (???)
-- Spawns Hedetet
-- @pos ? ? ? 45
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[[
... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/items/silken_siesta.lua | 18 | 1238 | -----------------------------------------
-- ID: 5626
-- Item: Silken Siesta
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP Recoverd while healing 2
-- MP Recovered while healing 5
-----------------------------------------
require("scripts/globals/status");
----... | gpl-3.0 |
anthrotype/sile | packages/simpletable.lua | 3 | 2953 | -- A very simple table formatting class
-- Calling conventions:
-- myClass:loadPackage("simpletable", {
-- tableTag = "a",
-- trTag = "b",
-- tdTag = "c"
-- })
-- Defines commands \a, \b and \c equivalent to HTML
-- <table>, <tr> and <td> tags.
-- Todo: Set a maximum width for the whole table and ensure
-- vbox w... | mit |
Colettechan/darkstar | scripts/zones/QuBia_Arena/TextIDs.lua | 15 | 1428 | -- 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 |
Vadavim/jsr-darkstar | scripts/zones/Port_San_dOria/npcs/HomePoint#2.lua | 27 | 1270 | -----------------------------------
-- Area: Port San dOria
-- NPC: HomePoint#2
-- @pos 48 -12.000 -105 232
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/globals/... | gpl-3.0 |
Reisz/DeclarativeLua | spec/list_spec.lua | 1 | 1108 | local Component = require "Component"
local List = require "Component.List"
describe("Component List type", function()
it("should assign to existing properties properly", function()
local c = Component{ x = Component.property() }()
c.x = List("a", "b")
assert.are_equal("a", c.x[1])
assert.are_equal("... | apache-2.0 |
Vadavim/jsr-darkstar | scripts/globals/spells/windstorm.lua | 1 | 1210 | --------------------------------------
-- Spell: Windstorm
-- Changes the weather around target party member to "windy."
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-... | gpl-3.0 |
zynjec/darkstar | scripts/commands/petgodmode.lua | 14 | 2916 | ---------------------------------------------------------------------------------------------------
-- func: petgodmode
-- desc: Toggles god mode on the player's pet, granting them several special abilities.
---------------------------------------------------------------------------------------------------
cmdprops =
... | gpl-3.0 |
RJRetro/mame | 3rdparty/genie/tests/base/test_action.lua | 59 | 1366 | --
-- tests/base/test_action.lua
-- Automated test suite for the action list.
-- Copyright (c) 2009 Jason Perkins and the Premake project
--
T.action = { }
--
-- Setup/teardown
--
local fake = {
trigger = "fake",
description = "Fake action used for testing",
}
function T.action.setup()
premake.action.li... | gpl-2.0 |
devlua/DEVPRO.get | libs/serpent.lua | 656 | 7877 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | gpl-2.0 |
kiavateam/kiavasec_bot | libs/serpent.lua | 656 | 7877 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | gpl-3.0 |
aleksijuvani/premake-core | modules/vstudio/tests/vc200x/test_nmake_settings.lua | 14 | 2271 | --
-- tests/actions/vstudio/vc200x/test_nmake_settings.lua
-- Validate generation the VCNMakeTool element in Visual Studio 200x C/C++ projects.
-- Copyright (c) 2013 Jason Perkins and the Premake project
--
local p = premake
local suite = test.declare("vs200x_nmake_settings")
local vc200x = p.vstudio.vc200x
--
--... | bsd-3-clause |
zynjec/darkstar | scripts/globals/spells/regen_iii.lua | 12 | 1134 | -----------------------------------------
-- Spell: Regen III
-- Gradually restores target's HP.
-----------------------------------------
require("scripts/globals/magic")
require("scripts/globals/msg")
require("scripts/globals/status")
-----------------------------------------
function onMagicCastingCheck(caster, tar... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fr.lua | 14 | 2656 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: South Plate
-- @pos 180 -34 -31 195
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Uleguerand_Range/npcs/Chamnaet_Spring.lua | 12 | 1058 | -----------------------------------
-- Area: Uleguerand Range
-- NPC: Chamnaet Spring
-- Receive Chamnaet Ice upon trading Cotton Pouch
-- @pos -305.240 3.605 17.977
-----------------------------------
package.loaded["scripts/zones/Uleguerand_Range/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/chocobo_digging.lua | 46 | 7397 | -- chocobo_digging.lua
require("scripts/globals/status");
require("scripts/globals/utils");
require("scripts/globals/settings");
-----------------------------------
-- DIG REQUIREMENTS
-----------------------------------
DIGREQ_NONE = 0;
DIGREQ_BURROW = 1;
DIGREQ_BORE = 2;
DIGREQ_MODIFIER = 4;
DIGREQ_NIGHT ... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Windurst_Woods/npcs/Tesch_Garanjy.lua | 16 | 4318 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Tesch_Garanjy
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/armorstorage");
requir... | gpl-3.0 |
abasshacker/ukown | plugins/quran.lua | 20 | 1243 | do
umbrella = "http://umbrella.shayan-soft.ir/quran/" -- database
-- get sound of sura
local function read_sura(chat_id, target)
local readq = http.request(umbrella.."Sura"..target..".mp3")
local url = umbrella.."Sura"..target..".mp3"
local file = download_to_file(url)
local cb_extra = {file_path=file}
return sen... | gpl-2.0 |
zynjec/darkstar | scripts/globals/spells/bluemagic/sound_blast.lua | 12 | 1314 | -----------------------------------------
-- Spell: Sound Blast
-- Lowers Intelligence of enemies within range.
-- Spell cost: 25 MP
-- Monster Type: Birds
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 1
-- Stat Bonus: None
-- Level: 32
-- Casting Time: 4 seconds
-- Recast Time: 30 seconds
-- Magic Bursts on: Liq... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/items/bowl_of_tomato_soup.lua | 18 | 1487 | -----------------------------------------
-- ID: 4420
-- Item: bowl_of_tomato_soup
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Agility 3
-- Vitality -1
-- HP Recovered While Healing 5
-- Ranged Accuracy % 9 (cap 15)
-----------------------------------------
require("scripts/globals/sta... | gpl-3.0 |
Disslove77777/33334444 | plugins/groupmanager.lua | 1 | 17113 | -- data saved to data/moderation.json
do
local function export_chat_link_cb(extra, success, result)
local msg = extra.msg
local data = extra.data
if success == 0 then
return send_large_msg(get_receiver(msg), 'Cannot generate invite link for this group.\nMake sure you are an admin or a sudoer.')
... | gpl-2.0 |
actboy168/MoeHero | scripts/maps/smart_cast/smart_cast.lua | 1 | 10494 | --本地命令
local japi = require 'jass.japi'
local message = require 'jass.message'
if not message then
return
end
local keyboard = message.keyboard
local jass = require 'jass.common'
local unit = require 'types.unit'
local order_id = require 'war3.order_id'
local table = table
local ipairs = ipairs
local ORDER_STOP = ... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/spells/drain.lua | 21 | 1716 | -----------------------------------------
-- Spell: Drain
-- Drain functions only on skill level!!
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/settings");
-----------------------------------------
-- OnSpellCast
--------------... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Behemoths_Dominion/mobs/Behemoth.lua | 12 | 1907 | -----------------------------------
-- Area: Behemoth's Dominion
-- HNM: Behemoth
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize
-----------------------------------
... | gpl-3.0 |
RJRetro/mame | 3rdparty/genie/src/actions/xcode/xcode4_workspace.lua | 16 | 1654 | premake.xcode4 = {}
local xcode4 = premake.xcode4
function xcode4.workspace_head()
_p('<?xml version="1.0" encoding="UTF-8"?>')
_p('<Workspace')
_p(1,'version = "1.0">')
end
function xcode4.workspace_tail()
_p('</Workspace>')
end
function xcode4.workspace_file_ref(prj)
local projpath = path.getrelative(prj... | gpl-2.0 |
Colettechan/darkstar | scripts/globals/items/plate_of_dorado_sushi.lua | 18 | 1686 | -----------------------------------------
-- ID: 5178
-- Item: plate_of_dorado_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 5
-- Accuracy % 15
-- Accuracy Cap 72
-- Ranged ACC % 15
-- Ranged ACC Cap 72
-- Sleep Resist 5
-- Enmity 4
---------------------------------------... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Upper_Jeuno/npcs/Mairee.lua | 27 | 1734 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Mairee
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- o... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/mobskills/Barbed_Crescent.lua | 1 | 1273 | ---------------------------------------------------
-- Barbed Crescent
-- Damage. Additional Effect: Accuracy Down.
-- Area of Effect is centered around caster.
-- The Additional Effect: Accuracy Down may not always process.
-- Duration: Three minutes ?
---------------------------------------------------
require("scri... | gpl-3.0 |
zynjec/darkstar | scripts/zones/Windurst_Waters/npcs/Maqu_Molpih.lua | 12 | 1194 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Maqu Molpih
-- Only sells when Windurst controlls Aragoneu Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/events/harvest_festivals")
local ID = require("scripts/zones/Windurst_Waters/IDs");
re... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/weaponskills/true_strike.lua | 11 | 1463 | -----------------------------------
-- True Strike
-- Club weapon skill
-- Skill level: 175
-- Deals params.critical damage. params.accuracy varies with TP.
-- 100% Critical Hit Rate. Has a substantial accuracy penalty at 100TP. http://www.bg-wiki.com/bg/True_Strike
-- Will stack with Sneak Attack.
-- Aligned with the ... | gpl-3.0 |
dkogan/notion-scripts | styles/look_cleanwhite.lua | 2 | 1868 | -- look_cleanwhite.lua a bright theme fitting white terminals
--
-- uses Terminus fonts
--
-- -- René van Bevern <rvb@debian.org>
if not gr.select_engine("de") then return end
de.reset()
de.defstyle("*", {
shadow_colour = "grey70",
highlight_colour = "grey70",
background_colour = "grey90",
foregro... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Pashhow_Marshlands/npcs/Luck_Rune.lua | 14 | 1069 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Luck Rune
-- Involved in Quest: Mhaura Fortune
-- @pos 573.245 24.999 199.560 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-------------------------------------
require("scripts/zone... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/North_Gustaberg/npcs/Butsutsu_WW.lua | 14 | 3338 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Butsutsu, W.W.
-- Type: Border Conquest Guards
-- @pos -520.704 38.75 560.258 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conques... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/watermelon.lua | 18 | 1176 | -----------------------------------------
-- ID: 4491
-- Item: watermelon
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -6
-- Intelligence 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Windurst_Woods/npcs/Wani_Casdohry.lua | 17 | 1310 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Wani Casdohry
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Windurst_Woods/TextIDs");
------------------... | gpl-3.0 |
RJRetro/mame | 3rdparty/bgfx/scripts/bgfx.lua | 13 | 4430 | --
-- Copyright 2010-2016 Branimir Karadzic. All rights reserved.
-- License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
--
function bgfxProject(_name, _kind, _defines)
project ("bgfx" .. _name)
uuid (os.uuid("bgfx" .. _name))
kind (_kind)
if _kind == "SharedLib" then
defines {
"BGFX_SHARED... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.