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
Kthulupwns/darkstar
scripts/zones/Mhaura/npcs/Mololo.lua
17
1170
----------------------------------- -- Area: Mhaura -- NPC: Mololo -- Guild Merchant NPC: Blacksmithing Guild -- @pos -64.278 -16.624 34.120 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); ...
gpl-3.0
amenophis1er/prosody-modules
mod_swedishchef/mod_swedishchef.lua
32
1690
-- Copyright (C) 2009 Florian Zeitz -- Copyright (C) 2009 Matthew Wild -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local trigger_string = module:get_option_string("swedishchef_trigger"); trigger_string = (trigger_string and trigger_string .. " "...
mit
telbbs/luci-0.12
modules/admin-full/luasrc/controller/admin/index.lua
79
1245
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- mod...
apache-2.0
Kthulupwns/darkstar
scripts/globals/items/bowl_of_sunset_soup.lua
35
1498
----------------------------------------- -- ID: 4341 -- Item: bowl_of_sunset_soup -- Food Effect: 4Hrs, All Races ----------------------------------------- -- Agility 3 -- Vitality -1 -- HP Recovered While Healing 5 -- Ranged Accuracy % 9 (cap 20) ----------------------------------------- require("scripts/...
gpl-3.0
a-wortman/blingbling
progress_graph.lua
2
10422
--@author cedlemo local setmetatable = setmetatable local ipairs = ipairs local type = type local math = math local string = string local helpers = require('blingbling.helpers') local base = require("wibox.widget.base") local color = require("gears.color") local superproperties = require('blingbling.superproperties') -...
gpl-2.0
aa65535/luci
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/olsrd.lua
30
1473
-- Copyright 2011 Manuel Munz <freifunk at somakoma dot de> -- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("OLSRd Plugin Configuration"), translate("The OLSRd plugin reads information about meshed networks from the txtinfo plugin of OLSRd.")) s = m:section(NamedSection,...
apache-2.0
kinzhang/cocos2d-js-v3.2
frameworks/js-bindings/cocos2d-x/cocos/scripting/lua-bindings/auto/api/PhysicsShapeCircle.lua
11
1367
-------------------------------- -- @module PhysicsShapeCircle -- @extend PhysicsShape -- @parent_module cc -------------------------------- -- -- @function [parent=#PhysicsShapeCircle] getRadius -- @param self -- @return float#float ret (return value: float) -------------------------------- -- -- @functi...
mit
Narthorn/reStrat
profiles/Datascape/elementals.lua
1
12224
----------------------------------------------------------------------------- --- Elemental Pairs, Vim -- this is a mess sorry I'll get around to cleaning it up someday ----------------------------------------------------------------------------- local tMarkerSprites = { "IconSprites:Icon_Windows_UI_CRB_Marker_Bomb",...
gpl-2.0
Kthulupwns/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Nilerouche.lua
37
1301
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Nilerouche -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ------------...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Mhaura/npcs/Hagain.lua
17
2190
----------------------------------- -- Area: Mhaura -- NPC: Hagain -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts/globals/keyitems"); require("scripts/...
gpl-3.0
GabrielNicolasAvellaneda/luvit-upstream
tests/to-convert/test-path.lua
5
2782
--[[ Copyright 2012 The Luvit Authors. All Rights Reserved. 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 Unless required by applicable law or agr...
apache-2.0
Kthulupwns/darkstar
scripts/zones/Upper_Delkfutts_Tower/mobs/Autarch.lua
21
1487
----------------------------------- -- Area: Upper Delkfutt's Tower -- NM: Autarch ----------------------------------- require("scripts/globals/status"); ----------------------------------- ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mo...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Southern_San_dOria/npcs/Endracion.lua
13
6012
----------------------------------- -- Area: Northern San d'Oria -- NPC: Endracion -- @pos -110 1 -34 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/key...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/RuLude_Gardens/npcs/Radeivepart.lua
7
2823
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Radeivepart -- Starts and Finishes Quest: Northward -- Involved in Quests: Save the Clock Tower -- @zone 243 -- @pos 5 9 -39 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; package.loaded["sc...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Port_Windurst/npcs/Jack_of_Clubs.lua
35
1236
----------------------------------- -- Area: Port Windurst -- NPC: Jack of Clubs -- Adventurer's Assistant -- Working 100% ------------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst/TextIDs"); ...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Rytaal.lua
13
4534
----------------------------------- -- 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/globals/keyitems"); ...
gpl-3.0
jlopenwrtluci/luci
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua
37
1612
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.iwinfo", package.seeall) function rrdargs( graph, plugin, plugin_instance ) -- -- signal/noise diagram -- local snr = { title = "%H: Signal and noise on %pi", ...
apache-2.0
Mleaf/mleaf_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
shkan/telebot
plugins/inpm.lua
243
3007
do local 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]] ...
gpl-2.0
TheRowanA/DarkRPSk-MoneyPrinters
lua/entities/vip_copper_printer/init.lua
1
6191
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include("shared.lua") -- [ ALTER THESE VALUES ] ---- local printTime = 180 -- How long the printer takes to generate money. local minPrint = 4000 -- The minimum amount the printer can generate. local maxPrint = 7000 -- The maximum amou...
gpl-2.0
hamed9898/uzzbott
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
Kthulupwns/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Fayeewah.lua
34
1200
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Fayeewah -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); require...
gpl-3.0
ark120202/aabs
game/scripts/vscripts/libraries/modifiers/modifier_animation_translate_permanent.lua
26
10553
modifier_animation_translate_permanent = class({}) local _CODE_TO_ANIMATION_TRANSLATE = { [0]= "loadout", [1]= "split_shot", [2]= "chemical_rage", [3]= "agedspirit", [4]= "aggressive", [5]= "injured", [6]= "ancient_armor", [7]= "anvil", [8]= "arcana", [9]= "techies_arcana", [10]= "fast", [11]= ...
mit
alioshii/KASBAR
plugins/lock_username.lua
20
1116
--[[ # #ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ #:(( # For More Information ....! # Developer : Aziz < @TH3_GHOST > # our channel: @DevPointTeam # Version: 1.1 #:)) #ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ # ]] lo...
gpl-2.0
Kthulupwns/darkstar
scripts/zones/Port_Windurst/npcs/Machu-Kuchu.lua
34
1123
----------------------------------- -- Area: Port Windurst -- Machu-Kuchu -- Warps players to Windurst Walls ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Windurst/TextIDs"); ------------------...
gpl-3.0
telbbs/luci-0.12
applications/luci-asterisk/luasrc/model/cbi/asterisk-iax-connections.lua
80
2000
--[[ 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
kuoruan/luci
applications/luci-app-firewall/luasrc/model/cbi/firewall/rules.lua
5
7412
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2010-2012 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local ds = require "luci.dispatcher" local ft = require "luci.tools.firewall" m = Map("firewall", translate("Firewall - Traffic Rules"), translate("Tra...
apache-2.0
Kthulupwns/darkstar
scripts/globals/items/hushed_baghnakhs.lua
7
1082
----------------------------------------- -- ID: 18355 -- Item: Hushed Baghnakhs -- Additional Effect: Silence -- TODO: Enchantment: Ensilence ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action...
gpl-3.0
mlody1039/ModernOts
data/talkactions/scripts/PollSystem.lua
1
11867
PollSystem = { CONST_POLL_TIME = 120, CONST_POLL_ADM = 4, CONST_POLL_SHOWOPTIONS = 1, CONST_POLL_FTIME = "%d/%m/%y, %H:%M" } PollSystem_mt = { __index = PollSystem } function PollSystem:load() return setmetatable(PollSystem, PollSystem_mt) end function PollSystem:exists(id) local Query = db.getResult("SELECT * ...
gpl-3.0
ark120202/aabs
game/scripts/vscripts/heroes/hero_saber/mana_burst.lua
1
3757
LinkLuaModifier("modifier_saber_mana_burst", "heroes/hero_saber/mana_burst.lua", LUA_MODIFIER_MOTION_NONE) LinkLuaModifier("modifier_saber_mana_burst_active", "heroes/hero_saber/mana_burst.lua", LUA_MODIFIER_MOTION_NONE) saber_mana_burst = class({ GetIntrinsicModifierName = function() return "modifier_saber_mana_burs...
mit
Kthulupwns/darkstar
scripts/globals/items/prime_beef_stewpot.lua
36
1890
----------------------------------------- -- ID: 5548 -- Item: Prime Beef Stewpot -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% Cap 75 -- MP +15 -- Strength +2 -- Agility +1 -- Mind +1 -- HP Recovered while healing +7 -- MP Recovered while healing +2 -- Atta...
gpl-3.0
telbbs/luci-0.12
modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua
55
8246
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010-2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at htt...
apache-2.0
Kthulupwns/darkstar
scripts/globals/spells/hunters_prelude.lua
13
1489
----------------------------------------- -- Spell: Hunter's Prelude -- Gives party members ranged attack accuracy ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingChe...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/items/fuscina.lua
16
1054
----------------------------------------- -- ID: 18104 -- Item: Fuscina -- Additional Effect: Lightning Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -------------------------------...
gpl-3.0
mlody1039/ModernOts
data/npc/scripts/TP/Reed.lua
2
1288
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...
gpl-3.0
AttacqueSuperior/Engine
mods/d2k/maps/ordos-01a/ordos01a.lua
2
4981
--[[ Copyright 2007-2021 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Port_Bastok/npcs/Talib.lua
19
2852
----------------------------------- -- Area: Port Bastok -- NPC: Talib -- Starts Quest: Beauty and the Galka -- Starts & Finishes Quest: Shady Business ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/s...
gpl-3.0
pengzj/skynet
lualib/sharedata/corelib.lua
4
2512
local core = require "sharedata.core" local type = type local next = next local rawget = rawget local conf = {} conf.host = { new = core.new, delete = core.delete, getref = core.getref, markdirty = core.markdirty, incref = core.incref, decref = core.decref, } local meta = {} local isdirty = core.isdirty local...
mit
dpino/snabb
src/lib/yang/stream.lua
4
5126
module(..., package.seeall) local ffi = require("ffi") local S = require("syscall") local lib = require("core.lib") local function round_up(x, y) return y*math.ceil(x/y) end function open_output_byte_stream(filename) local fd, err = S.open(filename, "creat, wronly, trunc", "rusr, wusr, rgrp, roth") if no...
apache-2.0
Velkon/DarkRP
gamemode/modules/fadmin/fadmin/cl_interface/cl_PlayerLists.lua
6
1789
local function ScoreboardAddTeam(Name, color) local ScreenWidth, ScreenHeight = ScrW(), ScrH() local cat = FAdmin.ScoreBoard.Main.Controls.FAdminPanelList:Add("FAdminPlayerCatagory") cat:SetLabel(" " .. Name) cat.CatagoryColor = color cat:SetWide((FAdmin.ScoreBoard.Width - 40) / 2) function c...
mit
telbbs/luci-0.12
applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua
78
1344
--[[ Luci configuration model for statistics - collectd dns plugin configuration (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License a...
apache-2.0
Kthulupwns/darkstar
scripts/zones/Norg/npcs/Oruga.lua
34
3022
----------------------------------- -- Area: Norg -- NPC: Oruga -- Standard Info NPC ----------------------------------- require("scripts/globals/pathfind"); local path = { -0.016294, -1.251156, -30.703135, 1.135162, -1.295192, -30.737705, 2.267773, -1.620833, -30.756174, 3.344393, -1.879029, -30.778761, ...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Maze_of_Shakhrami/npcs/Fossil_Rock.lua
17
5025
----------------------------------- -- Area: Maze of Shakhrami -- NPC: Fossil Rock -- Used in Mission: Windurst Mission 2-1 -- @pos 17 18 184 198 + <many pos> ----------------------------------- package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
Velkon/DarkRP
entities/weapons/stick_base/shared.lua
8
4475
AddCSLuaFile() if CLIENT then SWEP.DrawAmmo = false SWEP.DrawCrosshair = false end DEFINE_BASECLASS("weapon_cs_base2") SWEP.Author = "DarkRP Developers" SWEP.Contact = "" SWEP.Purpose = "" SWEP.IconLetter = "" SWEP.ViewModelFOV = 62 SWEP.ViewModelFlip = false SWEP.AnimPrefix = "stunstick" SWEP.AdminOnly = ...
mit
xvaara/kong
kong/constants.lua
1
1860
local VERSION = "0.6.0" return { NAME = "kong", VERSION = VERSION, ROCK_VERSION = VERSION.."-1", SYSLOG = { ADDRESS = "kong-hf.mashape.com", PORT = 61828, API = "api" }, CLI = { GLOBAL_KONG_CONF = "/etc/kong/kong.yml", NGINX_CONFIG = "nginx.conf" }, DATABASE_NULL_ID = "00000000-0000...
apache-2.0
Kthulupwns/darkstar
scripts/zones/Bastok_Mines/npcs/HomePoint#3.lua
1
1185
----------------------------------- -- Area: Bastok Mines -- NPC: HomePoint#3 -- @pos 87 7 1 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Bastok_Mines/TextIDs"); require("scripts/globals/homepoint"); -...
gpl-3.0
coinzen/coinage
modules/menu/init.lua
2
1548
local module_invoke_all, empty, l = module_invoke_all, seawolf.variable.empty, l local tconcat, tinsert, theme, pairs = table.concat, table.insert, theme, pairs local type, tsort, render_attributes = type, table.sort, render_attributes local debug = debug module 'ophal.modules.menu' local menus = { primary_links =...
agpl-3.0
Kthulupwns/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Longbow.lua
17
1484
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Animated Longbow ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- funct...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/spells/curaga.lua
13
1210
----------------------------------------- -- Spell: Curaga -- Restores HP of all party members within area of effect. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- ...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/items/tortilla.lua
35
1264
----------------------------------------- -- ID: 4408 -- Item: tortilla -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 6 -- Dexterity -1 -- Vitality 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Lower_Jeuno/npcs/Rhimonne.lua
37
1153
----------------------------------- -- Area: Lower Jeuno -- NPC: Rhimonne -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); -----------------------------------...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/items/cup_of_imperial_coffee.lua
35
1254
----------------------------------------- -- ID: 5592 -- Item: cup_of_imperial_coffee -- Food Effect: 180Min, All Races ----------------------------------------- -- Health Regen While Healing 3 -- Magic Regen While Healing 3 ----------------------------------------- require("scripts/globals/status"); -----...
gpl-3.0
Godfather021/tg
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
Kthulupwns/darkstar
scripts/zones/Eastern_Altepa_Desert/npcs/Lindgard_IM.lua
30
3065
----------------------------------- -- Area: Eastern Altepa Desert -- NPC: Lindgard, I.M. -- Outpost Conquest Guards -- @pos -258.041 7.473 -254.527 114 ----------------------------------- package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
LubyRuffy/haka
lib/haka/lua/lua/state_machine.lua
3
6734
-- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this -- file, You can obtain one at http://mozilla.org/MPL/2.0/. local state = require("state") -- Hide internals local state_machine = haka.state_machine local state_machine_state ...
mpl-2.0
aa65535/luci
applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua
30
7206
-- Copyright 2014-2015 Álvaro Fernández Rojas <noltari@gmail.com> -- Licensed to the public under the Apache License 2.0. m = Map("dump1090", "dump1090", translate("dump1090 is a Mode S decoder specifically designed for RTLSDR devices, here you can configure the settings.")) s = m:section(TypedSection, "dump1090", ""...
apache-2.0
Kthulupwns/darkstar
scripts/zones/Windurst_Walls/npcs/Yoriri.lua
38
1403
----------------------------------- -- Area: Windurst Walls -- NPC: Yoriri -- Type: Standard NPC -- @pos 65.268 -8.5 -58.309 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/items/salmon_rice_ball.lua
14
1739
----------------------------------------- -- ID: 4590 -- Item: salmon_rice_ball -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +25, Dex +2, Vit +2, Mnd -1, hHP +1 (Atk +40, Def +40)*enhances rice ball effect ----------------------------------------- require("scripts/globals/st...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Decarabia.lua
19
1255
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Marquis Decarabia ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- fun...
gpl-3.0
VanessaE/minetest_game
mods/xpanes/init.lua
14
4717
local function is_pane(pos) return minetest.get_item_group(minetest.get_node(pos).name, "pane") > 0 end local function connects_dir(pos, name, dir) local aside = vector.add(pos, minetest.facedir_to_dir(dir)) if is_pane(aside) then return true end local connects_to = minetest.registered_nodes[name].connects_to...
lgpl-2.1
SPR-CPU-ORG/F80
Bot/TgLib/apiLIBS.lua
1
14578
-- _Config = dofile('./Bot/Config.lua') local URL = require 'socket.url' local JSON = require 'dkjson' local URL = require "socket.url" local url = require "socket.url" local http = require "socket.http" local https = require "ssl.https" local BASE_URL = 'https://api.telegram.org/bot' .. _Config. APiToken lo...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/items/garpike.lua
18
1255
----------------------------------------- -- ID: 5472 -- Item: Garpike -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----------...
gpl-3.0
mohammadclashclash/sinhfg
plugins/chat.lua
28
1195
local function run(msg) if msg.text == "hi" then return "Hello bb" end if msg.text == "Hi" then return "Hello honey" end if msg.text == "Hello" then return "Hi bb" end if msg.text == "hello" then return "Hi honey" end if msg.text == "Salam" then return "Salam aleykom" end if msg.text == "salam" then return "و علی...
gpl-2.0
Kthulupwns/darkstar
scripts/zones/Wajaom_Woodlands/npcs/qm1.lua
15
1188
----------------------------------- -- Area: Wajaom Woodlands -- NPC: ??? (Spawn Vulpangue(ZNM T1)) -- @pos -697 -7 -123 51 ----------------------------------- package.loaded["scripts/zones/Wajaom_Woodlands/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Wajaom_Woodlands/TextIDs"); ------...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/items/windurst_salad.lua
35
1465
----------------------------------------- -- ID: 4555 -- Item: windurst_salad -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic 20 -- Agility 5 -- Vitality -1 -- Ranged ACC % 8 -- Ranged ACC Cap 10 ----------------------------------------- require("scripts/globals/status"...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/HomePoint#3.lua
12
1217
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: HomePoint#3 -- @pos -108 -6 -108 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); require("s...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Valley_of_Sorrows/mobs/Adamantoise.lua
8
1656
----------------------------------- -- Area: Valley of Sorrows -- NPC: Adamantoise ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ------------------...
gpl-3.0
amenophis1er/prosody-modules
mod_onhold/mod_onhold.lua
32
2253
-- Prosody IM -- Copyright (C) 2008-2009 Matthew Wild -- Copyright (C) 2008-2009 Waqas Hussain -- Copyright (C) 2009 Jeff Mitchell -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local datamanager = require "util.datamanager"; local jid_bare = requi...
mit
paranoidq/annotated_redis_source
deps/lua/test/sort.lua
889
1494
-- two implementations of a sort function -- this is an example only. Lua has now a built-in function "sort" -- extracted from Programming Pearls, page 110 function qsort(x,l,u,f) if l<u then local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u x[l],x[m]=x[m],x[l] -- swap pivot to first posit...
bsd-3-clause
sfdazsdf/codis
extern/redis-2.8.21/deps/lua/test/sort.lua
889
1494
-- two implementations of a sort function -- this is an example only. Lua has now a built-in function "sort" -- extracted from Programming Pearls, page 110 function qsort(x,l,u,f) if l<u then local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u x[l],x[m]=x[m],x[l] -- swap pivot to first posit...
mit
Kthulupwns/darkstar
scripts/zones/Windurst_Woods/npcs/Lih_Pituu.lua
9
1830
----------------------------------- -- Area: Windurst Woods -- NPC: Lih Pituu -- Type: Bonecraft Adv. Image Support -- @pos -5.471 -6.25 -141.211 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Windurs...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/items/serving_of_squirrels_delight.lua
35
1341
----------------------------------------- -- ID: 5554 -- Item: serving_of_squirrels_delight -- Food Effect: 4Hrs, All Races ----------------------------------------- -- MP % 13 (cap 95) -- MP Recovered While Healing 2 ----------------------------------------- require("scripts/globals/status"); ------------...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Yuhtunga_Jungle/mobs/Rose_Garden.lua
29
1648
----------------------------------- -- Area: Yuhtunga Jungle -- MOB: Rose Garden ----------------------------------- ----------------------------------- function onMobSpawn(mob) local Voluptuous_Vilma = 17281358; GetMobByID(Voluptuous_Vilma):setLocalVar("1",os.time() + math.random((36000), (37800))); ...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/weaponskills/omniscience.lua
12
4694
----------------------------------- -- Omniscience -- Staff weapon skill -- Skill Level: N/A -- Lowers target's magic attack. Duration of effect varies with TP. Tupsimati: Aftermath effect varies with TP. -- Reduces enemy's magic attack by -10. -- Available only after completing the Unlocking a Myth (Scholar) que...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fr.lua
34
2570
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: South Plate -- @pos 180 -34 -31 195 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ------------------------...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Bastok_Mines/npcs/Gerbaum.lua
19
2167
----------------------------------- -- Area: Bastok Mines -- NPC: Gerbaum -- Starts & Finishes Repeatable Quest: Minesweeper (100%) ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("sc...
gpl-3.0
iSepehr1/TeleGuard
plugins/LinkPv.lua
1
31135
do local function check_member(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostring(msg.to.id)] = { ...
gpl-2.0
Kthulupwns/darkstar
scripts/zones/Castle_Oztroja/npcs/_47b.lua
17
1929
----------------------------------- -- Area: Castle Oztroja -- NPC: _47b (Handle) -- Notes: Opens Trap Door (_47a) or Brass Door (_470) -- @pos 22.310 -1.087 -14.320 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- req...
gpl-3.0
SPARKTEA/SPARKTEAM
plugin/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...
gpl-2.0
risteaandrei/price_checker
lib/civetweb/test/filehandler.lua
11
2399
function send_ok() mg.write("HTTP/1.0 200 OK\r\n") mg.write("Connection: close\r\n") mg.write("Date: " .. os.date("%a, %d %b %Y %H:%M:%S GMT") .. "\r\n") end function send_not_found() mg.write("HTTP/1.0 404 Not Found\r\n") mg.write("Connection: close\r\n") mg.write("Date: " .. os.date("%a, %d %b %Y %H...
lgpl-3.0
Kthulupwns/darkstar
scripts/globals/mobskills/Hydro_Canon.lua
6
1274
--------------------------------------------------- -- Hydro_Canon -- Description: -- Type: Magical -- additional effect : 40hp/tick Poison --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpmoves"); --...
gpl-3.0
amenophis1er/prosody-modules
mod_email_pass/vcard.lib.lua
33
9229
-- Copyright (C) 2011-2012 Kim Alvefur -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- -- TODO -- Fix folding. local st = require "util.stanza"; local t_insert, t_concat = table.insert, table.concat; local type = type; local next, pairs, ipairs = ...
mit
mohammadclashclash/sinhfg
plugins/stats.lua
16
4002
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
Kthulupwns/darkstar
scripts/globals/items/soft-boiled_egg.lua
35
1195
----------------------------------------- -- ID: 4532 -- Item: soft-boiled_egg -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 20 -- Magic 20 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Sauromugue_Champaign/npcs/qm3.lua
11
2298
----------------------------------- -- Area: Sauromugue Champaign -- NPC: qm3 (???) (Tower 3) -- Involved in Quest: THF AF "As Thick As Thieves" -- @pos 417.121 15.598 -137.466 120 ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil; -----------------------------...
gpl-3.0
AGTMADCAT/naev
dat/missions/sirius/heretic/heretic2.lua
9
7850
--[[misn title - the patrol]] --[[in this mission, the player will be guarding the "high command" of the nasin, the wringer/suna. house sirius is sending in recon parties. the players job is to take out any and all sirius in the system.]] include "dat/scripts/numstring.lua" lang = naev.lang() bmsg = {} --beginning...
gpl-3.0
telbbs/luci-0.12
applications/luci-firewall/luasrc/model/cbi/firewall/forwards.lua
85
3942
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010-2012 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at htt...
apache-2.0
Velkon/DarkRP
gamemode/modules/fadmin/fadmin/playeractions/jail/sv_init.lua
1
7183
local function Jail(ply, cmd, args) if not args[1] then return false end local targets = FAdmin.FindPlayer(args[1]) if not targets or #targets == 1 and not IsValid(targets[1]) then FAdmin.Messages.SendMessage(ply, 1, "Player not found") return false end local JailType = FAdmin.Play...
mit
Kthulupwns/darkstar
scripts/zones/Northern_San_dOria/npcs/Phairupegiont.lua
17
1709
----------------------------------- -- Area: Northern San d'Oria -- NPC: Phairupegiont -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- @pos -46 0.1 76 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- requir...
gpl-3.0
dreamsxin/otclient
modules/corelib/config.lua
10
1533
-- @docclass local function convertSettingValue(value) if type(value) == 'table' then if value.x and value.width then return recttostring(value) elseif value.x then return pointtostring(value) elseif value.width then return sizetostring(value) elseif value.r then return colort...
mit
Kthulupwns/darkstar
scripts/globals/abilities/wizards_roll.lua
2
1407
----------------------------------- -- Ability: Choral Roll ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- onUseAbility ----------------------------------- function onAbilityCheck(player,target,ability) lo...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/items/crayfish.lua
17
1408
----------------------------------------- -- ID: 4472 -- Item: crayfish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity -3 -- Vitality 1 -- defense 10 ----------------------------------------- require("scripts/globals/status"); -------------------------------------...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Port_Windurst/npcs/Papo-Hopo.lua
36
2900
----------------------------------- -- Area: Port Windurst -- NPC: Papo-Hopo ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); require("scripts/zones/Port_...
gpl-3.0
SPARKTEA/SPARKTEAM
bot/seedbot.lua
22
14096
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") local f = assert(io.popen('/usr/bin/git describe --tags', 'r')) VERSION = assert(f:read('*a')) f:close() -- This function is ...
gpl-2.0
Kthulupwns/darkstar
scripts/globals/items/flame_claymore.lua
16
1031
----------------------------------------- -- ID: 16588 -- Item: Flame Claymore -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -----------------------------...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Altar_Room/Zone.lua
28
1623
----------------------------------- -- -- Zone: Altar_Room (152) -- ----------------------------------- package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Altar_Room/TextIDs"); ---------------------------...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Western_Altepa_Desert/npcs/_3h6.lua
17
1868
----------------------------------- -- Area: Western Altepa Desert -- NPC: _3h6 (Topaz Column) -- Notes: Mechanism for Altepa Gate -- @pos -260 10 -344 125 ----------------------------------- package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("s...
gpl-3.0
Mleaf/mleaf_luci
applications/luci-radvd/luasrc/model/cbi/radvd/dnssl.lua
82
2276
--[[ LuCI - Lua Configuration Interface Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id: rdnss.lu...
apache-2.0
Kthulupwns/darkstar
scripts/zones/North_Gustaberg/npcs/Monument.lua
34
1448
----------------------------------- -- Area: North Gustaberg -- NPC: Monument -- Involved in Quest "Hearts of Mythril" -- @pos 300.000 -62.803 498.200 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Toraimarai_Canal/TextIDs.lua
5
1157
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6425; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6428; -- Obtained: <item>. GIL_OBTAINED = 6429; -- Obtained <number> gil. KEYITEM_OBTAINED = 6431; -- Obtained...
gpl-3.0