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 |
|---|---|---|---|---|---|
The-HalcyonDays/darkstar | scripts/globals/items/cluster_of_paprika.lua | 36 | 1233 | -----------------------------------------
-- ID: 5740
-- Item: Cluster of Paprika
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -3
-- Defense -1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-... | gpl-3.0 |
reza-sec/reza-sec | plugins/anti_spam.lua | 191 | 5291 | --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 |
The-HalcyonDays/darkstar | scripts/zones/Western_Altepa_Desert/npcs/_3h0.lua | 17 | 1175 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: _3h0 (Altepa Gate)
-- @pos -19 12 131 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Western_Altepa_Desert/TextIDs... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/magic.lua | 1 | 54584 | require("scripts/globals/magicburst")
require("scripts/globals/status")
require("scripts/globals/weather")
require("scripts/globals/utils")
MMSG_BUFF_FAIL = 75;
DIVINE_MAGIC_SKILL = 32;
HEALING_MAGIC_SKILL = 33;
ENHANCING_MAGIC_SKILL = 34;
ENFEEBLING_MAGIC_SKILL = 35;
ELEMEN... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Selbina/npcs/Gabwaleid.lua | 17 | 1506 | -----------------------------------
-- Area: Selbina
-- NPC: Gabwaleid
-- Involved in Quest: Riding on the Clouds
-- @pos -17 -7 11 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
requ... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Gusgen_Mines/npcs/Treasure_Chest.lua | 12 | 3222 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: Treasure Chest
-- Involved In Quest: The Goblin Tailor
-- @zone 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("script... | gpl-3.0 |
areski/cookiecutter-lua | {{cookiecutter.repo_name}}/src/{{cookiecutter.repo_name}}.lua | 1 | 1840 | --
-- {{ cookiecutter.repo_name }}-{{ cookiecutter.version }}
--
-- The MIT License (MIT)
--
-- Copyright (c) {{ cookiecutter.year }}, {{ cookiecutter.full_name }}
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy of
-- this software and associated documentation files (the "Software"), ... | mit |
sinavafa/xzy | plugins/plugmanager.lua | 22 | 3691 | do
local function run(msg, matches)
if not is_sudo(msg) then
return "you have not accsess to filemanager"
end
local receiver = get_receiver(msg)
if matches[1] == 'بفرس' then
local file = matches[3]
if matches[2] == 'sticker' and not matches[4] then
send_document(receiver, "./media/"... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Windurst_Waters/npcs/Zelala.lua | 38 | 1035 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Zelala
-- Type: Map Marker
-- @zone: 238
-- @pos 169.855 -1.295 -3.238
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
--------------... | gpl-3.0 |
hxw804781317/MT7620N | package/ralink/ui/luci-mtk/src/applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-format.lua | 80 | 3636 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Lower_Jeuno/npcs/Vola.lua | 17 | 3168 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Vola
-- Starts and Finishes Quest: Fistful of Fury
-- Involved in Quests: Beat Around the Bushin (before the quest)
-- @zone 245
-- @pos 43 3 -45
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
pack... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Rabao/npcs/HomePoint#1.lua | 12 | 1234 | -----------------------------------
-- Area: Rabao
-- NPC: HomePoint#1
-- @pos -29.276 0.001 -76.585 247
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Rabao/TextIDs");
require("scripts/globals/homepoint")... | gpl-3.0 |
Giorox/AngelionOT-Repo | data/npc/scripts/Grof, the guard.lua | 1 | 1617 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local talkState = {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) ... | gpl-3.0 |
aqasaeed/w | plugins/stats.lua | 7 | 4000 | 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 |
DarkstarProject/darkstar | scripts/globals/mobskills/spirit_tap.lua | 11 | 1292 | ---------------------------------------------
-- Spirit Tap
-- Attempts to absorb one buff from a single target, or otherwise steals HP.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores Shadows
-- Range: Melee
-- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any buffs
----... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/mobskills/glacial_breath.lua | 11 | 1300 | ---------------------------------------------
-- Glacial Breath
--
-- Description: Deals Ice damage to enemies within a fan-shaped area.
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes: Used only by Jormungand and Isgebind
---------------------------------------------
req... | gpl-3.0 |
misterdustinface/Beyond-the-Wheel | Beyond-the-Wheel/src/hump/signal.lua | 27 | 2769 | --[[
Copyright (c) 2012-2013 Matthias Richter
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... | gpl-2.0 |
marcel-sch/luci | contrib/luasrcdiet/lua/optlex.lua | 125 | 31588 | --[[--------------------------------------------------------------------
optlex.lua: does lexer-based optimizations
This file is part of LuaSrcDiet.
Copyright (c) 2008 Kein-Hong Man <khman@users.sf.net>
The COPYRIGHT file describes the conditions
under which this software may be distributed.
See the Chan... | apache-2.0 |
Fenix-XI/Fenix | scripts/commands/togglegm.lua | 50 | 1876 | ---------------------------------------------------------------------------------------------------
-- func: togglegm
-- desc: Toggles a GMs nameflags/icon.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = ""
};
funct... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/effects/warcry.lua | 34 | 1037 | -----------------------------------
--
-- EFFECT_WARCRY
--
-- Notes:
-- Savagery TP bonus not cut in half like ffxclopedia says.
-- ffxiclopedia is wrong, bg wiki right. See link where testing was done.
-- http://www.bluegartr.com/threads/108199-Random-Facts-Thread-Other?p=5367464&viewfull=1#post5367464
-----------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Crawlers_Nest/npcs/qm12.lua | 57 | 2120 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: qm12 (??? - Exoray Mold Crumbs)
-- Involved in Quest: In Defiant Challenge
-- @pos 99.326 -0.126 -188.869 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Bastok_Markets/npcs/Ulrike.lua | 6 | 1348 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Ulrike
-- Type: Goldsmithing Synthesis Image Support
-- !pos -218.399 -7.824 -56.203 235
-----------------------------------
local ID = require("scripts/zones/Bastok_Markets/IDs")
require("scripts/globals/status")
require("scripts/globals/crafting")
-... | gpl-3.0 |
crunchuser/prosody-modules | mod_mam/mod_mam.lua | 7 | 8099 | -- XEP-0313: Message Archive Management for Prosody
-- Copyright (C) 2011-2014 Kim Alvefur
--
-- This file is MIT/X11 licensed.
local xmlns_mam = "urn:xmpp:mam:0";
local xmlns_delay = "urn:xmpp:delay";
local xmlns_forward = "urn:xmpp:forward:0";
local st = require "util.stanza";
local rsm = module:require "rsm"... | mit |
DarkstarProject/darkstar | scripts/zones/Temenos/mobs/Pee_Qoho_the_Python.lua | 9 | 1224 | -----------------------------------
-- Area: Temenos
-- Mob: Pee Qoho the Python
-----------------------------------
require("scripts/globals/limbus");
-----------------------------------
function onMobEngaged(mob,target)
if (IsMobDead(16929023)==true and IsMobDead(16929024)==true and IsMobDead(16929025)==true an... | gpl-3.0 |
Giorox/AngelionOT-Repo | data/actions/scripts/quests/annihilator.lua | 1 | 6241 | local room = { -- room with demons
fromX = 33217,
fromY = 31655,
fromZ = 13,
toX = 33224,
toY = 31663,
toZ = 13
}
local monster_pos = {
[1] = {pos = {33220, 31657, 13}, monster = "Demon"},
[2] = {pos = {33222, 31657, 13}, monster = "Demo... | gpl-3.0 |
Giorox/AngelionOT-Repo | data/npc/scripts/blindorc.lua | 2 | 5164 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local Topic = {}
local Amount = {}
local Price = {}
local Type = {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Al_Zahbi/npcs/Numaaf.lua | 12 | 1736 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Numaaf
-- Type: Cooking Normal/Adv. Image Support
-- !pos 54.966 -7 8.328 48
-----------------------------------
require("scripts/globals/status")
require("scripts/globals/crafting")
local ID = require("scripts/zones/Al_Zahbi/IDs")
-------------------------... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/items/dish_of_hydra_kofte_+1.lua | 11 | 1613 | -----------------------------------------
-- ID: 5603
-- Item: dish_of_hydra_kofte_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength 8
-- Intelligence -4
-- Attack % 20
-- Attack Cap 160
-- Defense % 25
-- Defense Cap 75
-- Ranged ATT % 20
-- Ranged ATT Cap 160
-- Poison Resist ... | gpl-3.0 |
sprcpu/F80-V3.0 | setwlc.lua | 1 | 1923 | do
local function run(msg, matches, callback, extra)
local data = load_data(_config.moderation.data)
local rules = data[tostring(msg.to.id)]['rules']
local about = data[tostring(msg.to.id)]['description']
local hash = 'group:'..msg.to.id
local group_welcome = redis:hget(hash,'welcome')
if matches[1]:lower() == 'dw' and... | gpl-2.0 |
vlinhd11/vlinhd11-android-scripting | lua/luasocket/src/ftp.lua | 144 | 9120 | -----------------------------------------------------------------------------
-- FTP support for the Lua language
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: ftp.lua,v 1.45 2007/07/11 19:25:47 diego Exp $
-----------------------------------------------------------------------------
-------------------... | apache-2.0 |
DarkstarProject/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Shattered_Telepoint.lua | 9 | 1913 | -----------------------------------
-- Area: Tahrongi_Canyon
-- NPC: Shattered Telepoint
-- !pos 179 35 255 117
-----------------------------------
local ID = require("scripts/zones/Tahrongi_Canyon/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
-----------------------------------
functi... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Aht_Urhgan_Whitegate/npcs/Rytaal.lua | 24 | 4539 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Rytaal
-- Type: Standard NPC
-- @pos 112.002 -1.338 -45.038 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegat... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/abilities/box_step.lua | 11 | 7890 | -----------------------------------
-- Ability: Box Step
-- Lowers target's defense. If successful, you will earn two Finishing Moves.
-- Obtained: Dancer Level 30
-- TP Required: 10%
-- Recast Time: 00:05
-- Duration: First Step lasts 1 minute, each following Step extends its current duration by 30 seconds.
----------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Windurst_Waters/npcs/Ranpi-Monpi.lua | 12 | 5859 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ranpi-Monpi
-- Starts and Finishes Quest: A Crisis in the Making
-- Involved in quest: In a Stew, For Want of a Pot, The Dawn of Delectability
-- @zone = 238
-- @pos = -116 -3 52 (outside the shop he is in)
-----------------------------------
pack... | gpl-3.0 |
gwlim/openwrt_mr3420_8M | feeds/xwrt/webif-iw-lua/files/usr/lib/lua/lua-xwrt/xwrt/init.lua | 18 | 1593 | old_require = require
function exists(file)
local f = io.open( file, "r" )
if f then
io.close( f )
return true
else
return false
end
end
function require (str)
local fstr = string.gsub(str,"[.]","/")
for path in string.gmatch(package.path,"[^;]+") do
local path = string.gsu... | gpl-2.0 |
Fenix-XI/Fenix | scripts/zones/Valley_of_Sorrows/mobs/Adamantoise.lua | 1 | 1603 | -----------------------------------
-- Area: Valley of Sorrows
-- HNM: Adamantoise
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize
-----------------------------------
... | gpl-3.0 |
elapuestojoe/survive | build_temp/deployments/default/android/release/arm/intermediate_files/assets/quicklua/lua_socket/ltn12.lua | 127 | 8177 | -----------------------------------------------------------------------------
-- LTN12 - Filters, sources, sinks and pumps.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: ltn12.lua,v 1.31 2006/04/03 04:45:42 diego Exp $
-----------------------------------------------------------------------------
-------... | mit |
Fenix-XI/Fenix | scripts/globals/weaponskills/gate_of_tartarus.lua | 1 | 2033 | -----------------------------------
-- Gate Of Tartarus
-- Staff weapon skill
-- Skill Level: N/A
-- Lowers target's attack. Additional effect: Refresh
-- Refresh effect is 8mp/tick for 20 sec per 100 TP.
-- Available only when equipped with the Relic Weapons Thyrus (Dynamis use only) and Claustrum, or the Chthonic Sta... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Selbina/npcs/Tilala.lua | 13 | 1151 | -----------------------------------
-- Area: Selbina
-- NPC: Tilala
-- Guild Merchant NPC: Clothcrafting Guild
-- @pos 14.344 -7.912 10.276 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/West_Sarutabaruta/TextIDs.lua | 13 | 2666 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory.
ITEM_OBTAINED = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obt... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/IDs.lua | 8 | 3727 | -----------------------------------
-- Area: The_Sanctuary_of_ZiTah
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.THE_SANCTUARY_OF_ZITAH] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain t... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/The_Sanctuary_of_ZiTah/TextIDs.lua | 15 | 1760 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6383; -- You cannot obtain the <item>. Try trading again after sorting your inventory.
ITEM_OBTAINED = 6384; ... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Apollyon/bcnms/SE_Apollyon.lua | 13 | 1438 | -----------------------------------
-- Area: Appolyon
-- Name: SE_Apollyon
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[SE_Apollyon]Uniq... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/mobskills/Sand_Blast.lua | 24 | 1154 | ---------------------------------------------------
-- Sand Blast
-- Deals Earth damage to targets in a fan-shaped area of effect. Additional effect: Blind
-- Range: 8' cone
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/glob... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/equipment.lua | 14 | 3248 | require("scripts/globals/status");
BaseNyzulWeapons = {
18492, -- (WAR) Sturdy Axe
18753, -- (MNK) Burning Fists
18851, -- (WHM) Werebuster
18589, -- (BLM) Mage's Staff
17742, -- (RDM) Vorpal Sword
... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/items/himesama_rice_ball.lua | 51 | 1477 | -----------------------------------------
-- ID: 5928
-- Item: Himesama Rice Ball
-- Food Effect: 30 Mins, All Races
-----------------------------------------
-- HP +25
-- Dexterity +4
-- Vitality +4
-- Character +4
-- Effect with enhancing equipment (Note: these are latents on gear with the effect)
-- Attack +60
-- De... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Southern_San_dOria_[S]/IDs.lua | 9 | 1534 | -----------------------------------
-- Area: Southern_San_dOria_[S]
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.SOUTHERN_SAN_DORIA_S] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <it... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Ordelles_Caves/npcs/qm3.lua | 9 | 1097 | -----------------------------------
-- Area: Ordelle's Caves
-- NPC: ??? (qm3)
-- Involved in Quest: A Squire's Test II
-- !pos -139 0.1 264 193
-------------------------------------
local ID = require("scripts/zones/Ordelles_Caves/IDs")
require("scripts/globals/keyitems")
-----------------------------------
function... | gpl-3.0 |
maikerumine/extreme_survival_mini | mods/hud/hunger.lua | 1 | 10918 | -- Keep these for backwards compatibility
function hud.save_hunger(player)
hud.set_hunger(player)
end
function hud.load_hunger(player)
hud.get_hunger(player)
end
-- Poison player
local function poisenp(tick, time, time_left, player)
time_left = time_left + tick
if time_left < time then
minetest.after(tick, poisenp, ti... | lgpl-2.1 |
Fenix-XI/Fenix | scripts/zones/Temenos/mobs/Ice_Elemental.lua | 7 | 1799 | -----------------------------------
-- Area: Temenos E T
-- NPC: Ice_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-------------------------------... | gpl-3.0 |
tcatm/luci | applications/luci-app-asterisk/luasrc/model/cbi/asterisk/dialplan_out.lua | 68 | 3021 | -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local ast = require("luci.asterisk")
local function find_outgoing_contexts(uci)
local c = { }
local h = { }
-- uci:foreach("asterisk", "dialplan",
-- function(s)
-- if not h[s['.name']] then
-- c[#c+1]... | apache-2.0 |
emender/emender | src/common/logger.lua | 1 | 2315 | --
-- This file is part of Emender.
-- Copyright (C) 2014 Pavel Tisnovsky, Jaromir Hradilek
--
-- Emender 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; version 3 of the License.
--
-- Emender is distribute... | gpl-3.0 |
8devices/carambola2-luci | applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-res.lua | 80 | 3097 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | apache-2.0 |
Fenix-XI/Fenix | scripts/globals/spells/bluemagic/frost_breath.lua | 25 | 2023 | -----------------------------------------
-- Spell: Frost Breath
-- Deals ice damage to enemies within a fan-shaped area originating from the caster. Additional effect: Paralysis
-- Spell cost: 136 MP
-- Monster Type: Lizards
-- Spell Type: Magical (Ice)
-- Blue Magic Points: 3
-- Stat Bonus: INT-2
-- Level: 66
-- Cast... | gpl-3.0 |
8devices/carambola2-luci | applications/luci-polipo/luasrc/model/cbi/polipo.lua | 79 | 5961 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Aleksandar Krsteski <alekrsteski@gmail.com>
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$... | apache-2.0 |
Fenix-XI/Fenix | scripts/zones/Kazham/npcs/Kakapp.lua | 13 | 3339 | -----------------------------------
-- Area: Kazham
-- NPC: Kakapp
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
-- item ... | gpl-3.0 |
DarkstarProject/darkstar | scripts/commands/setskill.lua | 14 | 1982 | ---------------------------------------------------------------------------------------------------
-- func: setskill <skill name or ID> <skill level> <target>
-- desc: sets target's level of specified skill
---------------------------------------------------------------------------------------------------
require("scr... | gpl-3.0 |
L3E8S0S6E5N1OA5N6D3T8W5O/4568584657657 | plugins/invite.lua | 299 | 1025 | -- Invite other user to the chat group.
-- Use !invite name User_name or !invite id id_number
-- The User_name is the print_name (there are no spaces but _)
do
local function callback(extra, success, result)
vardump(success)
vardump(result)
end
local function run(msg, matches)
local user = matches[2]
-- Use... | gpl-2.0 |
Fenix-XI/Fenix | scripts/globals/items/coin_cookie.lua | 17 | 1324 | -----------------------------------------
-- ID: 4520
-- Item: coin_cookie
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Magic Regen While Healing 6
-- Vermin Killer 5
-- Poison Resist 5
-----------------------------------------
require("scripts/globals/status");
-----------------------... | gpl-3.0 |
ungarscool1/HL2RP | hl2rp/gamemode/modules/hitmenu/sv_init.lua | 2 | 8192 | local plyMeta = FindMetaTable("Player")
local hits = {}
local questionCallback
/*---------------------------------------------------------------------------
Net messages
---------------------------------------------------------------------------*/
util.AddNetworkString("onHitAccepted")
util.AddNetworkString("onHitComp... | agpl-3.0 |
ungarscool1/HL2RP | hl2rp/gamemode/modules/fadmin/fadmin/playeractions/slap/sv_init.lua | 4 | 2160 | local function ExecuteSlap(target, Amount, ply)
if not IsValid(target) or not IsValid(ply) then return end
local Force = Vector(math.Rand(-500, 500), math.Rand(-500, 500), math.Rand(-100, 700))
local DmgInfo = DamageInfo()
DmgInfo:SetDamage(Amount)
DmgInfo:SetDamageType(DMG_DROWN)
DmgInfo:SetA... | agpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Port_Windurst/npcs/Hakkuru-Rinkuru.lua | 9 | 9010 | -----------------------------------
-- Area: Port Windurst
-- NPC: Hakkuru-Rinkuru
-- Involved In Quest: Making Amends
-- Starts and Ends Quest: Wonder Wands
-- !pos -111 -4 101 240
-----------------------------------
local ID = require("scripts/zones/Port_Windurst/IDs");
require("scripts/globals/settings");
require("... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/weaponskills/tachi_fudo.lua | 10 | 1827 | -----------------------------------
-- Tachi: Fudo
-- Great Katana weapon skill
-- Skill Level: N/A
-- Deals double damage. Damage varies with TP. Masamune: Aftermath.
-- Available only when equipped with Masamune (85), Masamune (90), Masamune (95), Hiradennotachi +1 or Hiradennotachi +2.
-- Aligned with Light Gorget, ... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/West_Sarutabaruta/npcs/Cavernous_Maw.lua | 29 | 1467 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Cavernous Maw
-- Teleports Players to West Sarutabaruta [S]
-- @pos -2.229 0.001 -162.715 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
h3r2tic/rendertoy | tools/tundra/scripts/tundra/tools/msvc-vscommon.lua | 8 | 10970 | -- msvc-vscommon.lua - utility code for all versions of Visual Studio
module(..., package.seeall)
local native = require "tundra.native"
local os = require "os"
-- Visual Studio tooling layout
local vc_bin_map = {
["x86"] = {
["x86"] = "",
["x64"] = "x86_amd64",
["arm"] = "x86_arm",
},
["x64"] = {... | mit |
Fenix-XI/Fenix | scripts/zones/Giddeus/npcs/Harvesting_Point.lua | 13 | 1059 | -----------------------------------
-- Area: Giddeus
-- NPC: Harvesting Point
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/Giddeus/TextIDs");
---------------------------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Port_Windurst/npcs/Boronene.lua | 13 | 1051 | -----------------------------------
-- Area: Port Windurst
-- NPC: Boronene
-- Type: Moghouse Renter
-- @zone: 240
-- @pos 201.651 -13 229.584
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-------------... | gpl-3.0 |
ungarscool1/HL2RP | hl2rp/entities/entities/spawned_weapon/init.lua | 4 | 2306 | AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include("shared.lua")
function ENT:Initialize()
self:PhysicsInit(SOLID_VPHYSICS)
self:SetMoveType(MOVETYPE_VPHYSICS)
self:SetSolid(SOLID_VPHYSICS)
self:SetUseType(SIMPLE_USE)
local phys = self:GetPhysicsObject()
if not phys:IsValid() then... | agpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Bastok_Mines/npcs/Wahid.lua | 12 | 1988 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Wahid
-- Start & Finishes Quest: The Siren's Tear
-- @zone: 234
-- @pos 26.305 -1 -66.403
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests"... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Kazham/npcs/Thali_Mhobrum.lua | 13 | 1641 | -----------------------------------
-- Area: Kazham
-- NPC: Thali Mhobrum
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
local path = {
55.816410, -11.000000, -43.992680,
54.761787, -11.000000, -44.046181,
51.8058... | gpl-3.0 |
DarkstarProject/darkstar | scripts/mixins/families/colibri_mimic.lua | 9 | 2775 | --[[
Colibri that copy spells cast on it.
localVar default description
-------- ------- -----------
[colibri]reflect_blue_magic 0 set to 1 for this mob to also reflect blue magic cast on it
https://ffxiclopedia.fandom.com/wiki/Colibri
https://ffxiclo... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Behemoths_Dominion/mobs/King_Behemoth.lua | 11 | 1784 | -----------------------------------
-- Area: Behemoth's Dominion
-- HNM: King Behemoth
-----------------------------------
local ID = require("scripts/zones/Behemoths_Dominion/IDs")
mixins = {require("scripts/mixins/rage")}
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/items/angler_stewpot.lua | 11 | 1608 | -----------------------------------------
-- ID: 5611
-- Item: Angler's Stewpot
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10% (cap 200)
-- MP +10
-- HP Recoverd while healing 5
-- MP Recovered while healing 1
-- Accuracy +15% Cap 15
-- Ranged Accuracy 15% Ca... | gpl-3.0 |
dualface/killpests | src/framework/cc/ui/UIImage.lua | 9 | 3050 |
--[[
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, di... | mit |
synthein/synthein | src/world/structureParser.lua | 1 | 7496 | local GridTable = require("gridTable")
local PartRegistry = require("world/shipparts/partRegistry")
local parse = require("parse")
local blueprintDir = "res/ships/" --"blueprints/"
local StructureParser = {}
function StructureParser.loadShipFromFile(ship)
local contents, size
if ship then
local file = string.for... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/East_Ronfaure/npcs/Cheval_River.lua | 13 | 1679 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Cheval_River
-- @pos 223 -58 426 101
-- Involved in Quest: Waters of Cheval
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
r... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/items/nopales_salad.lua | 11 | 1057 | -----------------------------------------
-- ID: 5701
-- Item: nopales_salad
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Strength 1
-- Agility 6
-- Ranged Accuracy +20
-- Ranged Attack +10
-----------------------------------------
require("scripts/globals/status")
require("scripts/globa... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/abilities/feral_howl.lua | 58 | 3525 | ---------------------------------------------------
-- Ability: Feral Howl
-- Terrorizes the target.
-- Obtained: Beastmaster Level 75
-- Recast Time: 0:05:00
-- Duration: Apprx. 0:00:01 - 0:00:10
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status")... | gpl-3.0 |
ZACTELEGRAM1/-EMAM-ALI-1 | plugins/gnuplot.lua | 622 | 1813 | --[[
* Gnuplot plugin by psykomantis
* dependencies:
* - gnuplot 5.00
* - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html
*
]]
-- Gnuplot needs absolute path for the plot, so i run some commands to find where we are
local outputFile = io.popen("pwd","r")
io.input(outputFile... | gpl-2.0 |
Fenix-XI/Fenix | scripts/globals/homepoint.lua | 13 | 17850 | require("scripts/globals/settings");
local homepoints = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,
26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,
51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,
76,77,78,79,80,81... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/West_Ronfaure/npcs/qm1.lua | 13 | 1477 | -----------------------------------
-- Area: West Ronfaure
-- NPC: qm1 (???)
-- Involved in Quest: The Dismayed Customer
-- @pos -453 -20 -230 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings"... | gpl-3.0 |
soheildiscover/soheil | 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 |
DarkstarProject/darkstar | scripts/zones/Stellar_Fulcrum/npcs/_4z3.lua | 27 | 1030 | -----------------------------------
-- Area: Stellar Fulcrum
-- NPC: Qe'Lov Gate
-------------------------------------
require("scripts/globals/status");
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigger(player,npc)
player:startEvent(32003);
return 1;
end;
functi... | gpl-3.0 |
arfett/packages | utils/yunbridge/files/usr/bin/pretty-wifi-info.lua | 106 | 2067 | #!/usr/bin/lua
local function get_basic_net_info(network, iface, accumulator)
local net = network:get_network(iface)
local device = net and net:get_interface()
if device then
accumulator["uptime"] = net:uptime()
accumulator["iface"] = device:name()
accumulator["mac"] = device:mac()
accumulator["... | gpl-2.0 |
Fenix-XI/Fenix | scripts/globals/spells/absorb-int.lua | 17 | 1359 | --------------------------------------
-- Spell: Absorb-INT
-- Steals an enemy's intelligence.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Tavnazian_Safehold/npcs/Nomad_Moogle.lua | 13 | 1050 | -----------------------------------
--
-- Nomad Moogle
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
-----------------------------------
-- onTrade Action
----------... | gpl-3.0 |
8devices/carambola2-luci | applications/luci-samba/luasrc/model/cbi/samba.lua | 79 | 2602 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | apache-2.0 |
soccermitchy/mitchbot | plugins/filters.lua | 1 | 2497 | function commandEngine(usr,chan,msg)
if chan:sub(1,1)=="#" then target=chan else target=usr.nick end
if not users[usr.host] then
users[usr.host]={
identified=false,
perms={}
}
users[usr.host].perms[""]=true
end
print(string.format("[MESSAGE]\t[%s][%s]<%s> %s",os.date(),chan,usr.nick,msg))
called=fal... | gpl-2.0 |
Fenix-XI/Fenix | scripts/zones/Den_of_Rancor/npcs/Treasure_Coffer.lua | 13 | 3854 | -----------------------------------
-- Area: Den of Rancor
-- NPC: Treasure Coffer
-- @zone 160
-- @pos
-----------------------------------
package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
requir... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Bastok_Mines/npcs/Neigepance.lua | 12 | 1035 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Neigepance
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Bastok_Mines/IDs")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
function onTrigger(player,npc)
local stock =
{
... | gpl-3.0 |
Giorox/AngelionOT-Repo | data/npc/scripts/Atrad.lua | 1 | 2270 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
funct... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Castle_Oztroja/npcs/_47b.lua | 9 | 1646 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47b (Handle)
-- Notes: Opens Trap Door (_47a) or Brass Door (_470)
-- !pos 22.310 -1.087 -14.320 151
-----------------------------------
local ID = require("scripts/zones/Castle_Oztroja/IDs")
require("scripts/globals/missions")
require("scripts/globa... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/abilities/angon.lua | 27 | 1282 | -----------------------------------
-- Ability: Angon
-- Expends an Angon to lower an enemy's defense.
-- Obtained: Dragoon Level 75
-- Recast Time: 0:03:00
-- Duration: 0:00:30 (+0:00:15 for each merit, cap is 0:01:30)
-- Effect: Physical defense of target approximately -20% (51/256).
-- Range: 10.0 yalms
-- N... | gpl-3.0 |
Fenix-XI/Fenix | 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 |
Fenix-XI/Fenix | scripts/globals/spells/cure_ii.lua | 26 | 4497 | -----------------------------------------
-- Spell: Cure II
-- 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 |
franko/gsl-shell | benchmarks/lmfit/enso-model.lua | 1 | 1509 |
use 'math'
local function fdf_generate(dataset)
local Y = dataset.F
local n = #Y
return function(x, f, J)
local b0 = x[1]
local b1 = x[2]
local b2 = x[3]
local b3 = x[4]
local b4 = x[5]
local b5 = x[6]
local b6 = x[7]
local b7 = x[8]
local b8 = x[9]
... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/weaponskills/tachi_yukikaze.lua | 11 | 1731 | -----------------------------------
-- Tachi Yukikaze
-- Great Katana weapon skill
-- Skill Level: 200 (Samurai only.)
-- Blinds target. Damage varies with TP.
-- Blind effect duration is 60 seconds when unresisted.
-- Will stack with Sneak Attack.
-- Tachi: Yukikaze appears to have an attack bonus of 50%. http://www.b... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/mobskills/Drop_Hammer.lua | 33 | 1032 | ---------------------------------------------
-- Drop Hammer
--
-- Description: Drops the hammer. Additional effect: Bind
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows?
-- Range: Melee
-- Notes: Only used by "destroyers" (carrying massive warhammers).
---------------------------------------------
requi... | gpl-3.0 |
Fenix-XI/Fenix | 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 |
Fenix-XI/Fenix | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.