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
LegionXI/darkstar
scripts/globals/items/cup_of_chamomile_tea.lua
12
1477
----------------------------------------- -- ID: 4603 -- Item: cup_of_chamomile_tea -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic 8 -- Vitality -2 -- Charisma 2 -- Magic Regen While Healing 1 -- Sleep resistance -30 ----------------------------------------- require("scripts/globa...
gpl-3.0
greasydeal/darkstar
scripts/globals/items/zafmlug_bass.lua
17
1321
----------------------------------------- -- ID: 4385 -- Item: zafmlug_bass -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItem...
gpl-3.0
greasydeal/darkstar
scripts/zones/Selbina/npcs/Graegham.lua
7
1182
----------------------------------- -- Area: Selbina -- NPC: Graegham -- Guild Merchant NPC: Fishing Guild -- @pos -12.423 -7.287 8.665 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); req...
gpl-3.0
LegionXI/darkstar
scripts/globals/spells/absorb-vit.lua
9
1369
-------------------------------------- -- Spell: Absorb-VIT -- Steals an enemy's vitality. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------...
gpl-3.0
ibm2431/darkstar
scripts/zones/Grand_Palace_of_HuXzoi/mobs/Eoghrah.lua
9
2620
----------------------------------- -- Area: Grand Palace of Hu'Xzoi -- Mob: Eo'ghrah ----------------------------------- require("scripts/globals/status"); ----------------------------------- function onMobSpawn(mob) -- Set core Skin and mob elemental resist/weakness; other elements set to 0. -- Set to non a...
gpl-3.0
greasydeal/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Ampiro-Mapiro.lua
38
1053
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Ampiro-Mapiro -- Type: Standard NPC -- @zone: 94 -- @pos 131.380 -6.75 174.169 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n...
gpl-3.0
ibm2431/darkstar
scripts/zones/Caedarva_Mire/npcs/qm10.lua
9
1050
----------------------------------- -- Area: Caedarva Mire -- NPC: qm10 -- Involved in quest: Operation Teatime -- !pos 473 -31 75 79 ----------------------------------- local ID = require("scripts/zones/Caedarva_Mire/IDs") require("scripts/globals/npc_util") require("scripts/globals/quests") -------------------------...
gpl-3.0
siktirmirza/supergp
plugins/chating.lua
12
1106
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 "va al...
gpl-2.0
LegionXI/darkstar
scripts/zones/Valkurm_Dunes/npcs/qm2.lua
14
1328
----------------------------------- -- Area: Valkurm Dunes -- NPC: qm2 (???) -- Involved In Quest: Messenger from Beyond -- @pos -716 -10 66 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); req...
gpl-3.0
greasydeal/darkstar
scripts/zones/LaLoff_Amphitheater/bcnms/ark_angels_2.lua
13
3037
----------------------------------- -- Area: LaLoff Amphitheater -- Name: Ark Angels 2 (Tarutaru) ----------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ----------------------------------- require("scripts/zones/LaLoff_Amphitheater/TextIDs"); require("scripts/globals/mis...
gpl-3.0
greasydeal/darkstar
scripts/zones/Garlaige_Citadel/npcs/qm13.lua
34
1386
----------------------------------- -- Area: Garlaige Citadel -- NPC: qm13 (???) -- Involved in Quest: Hitting the Marquisate (THF AF3) -- @pos -194.166 -5.500 139.969 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- r...
gpl-3.0
wizardbottttt/wizard
plugins/meme.lua
637
5791
local helpers = require "OAuth.helpers" local _file_memes = './data/memes.lua' local _cache = {} local function post_petition(url, arguments) local response_body = {} local request_constructor = { url = url, method = "POST", sink = ltn12.sink.table(response_body), headers = {}, red...
gpl-2.0
greasydeal/darkstar
scripts/zones/Davoi/npcs/_45h.lua
19
2043
----------------------------------- -- Area: Davoi -- NPC: Howling Pond -- Used In Quest: Whence Blows the Wind -- @pos 21 0.1 -258 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/glo...
gpl-3.0
LegionXI/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Mainchelite.lua
29
5404
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Mainchelite -- @zone 80 -- @pos -16 1 -30 -- CS IDs: -- 0x005 = Generic Greeting for Iron Ram members -- 0x006 = Mid Initiation of other nation -- 0x007 = Ask player to Join Iron Rams -- 0x008 = Ask if changed mind about joining Iron rams (after...
gpl-3.0
LegionXI/darkstar
scripts/zones/Jugner_Forest/npcs/Cavernous_Maw.lua
29
1443
----------------------------------- -- Area: Jugner Forest -- NPC: Cavernous Maw -- @pos -118 -8 -518 104 -- Teleports Players to Jugner Forest [S] ----------------------------------- package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); ...
gpl-3.0
evrooije/beerarchy
mods/00_bt_nodes/farming/init.lua
1
18555
--[[ Minetest Farming Redo Mod 1.24 (28th April 2017) by TenPlus1 NEW growing routine by prestidigitator auto-refill by crabman77 ]] farming = {} farming.mod = "redo" farming.path = minetest.get_modpath("farming") farming.hoe_on_use = default.hoe_on_use farming.select = { type = "fixed", fixed = {-0.5, -0.5, -0....
lgpl-2.1
gwlim/luci
protocols/ipv6/luasrc/model/network/proto_6x4.lua
78
1602
--[[ LuCI - Network model - 6to4, 6in4 & 6rd protocol extensions Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/L...
apache-2.0
ibm2431/darkstar
scripts/globals/items/blindfish.lua
11
1048
----------------------------------------- -- ID: 4313 -- Item: Blindfish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") --------------------------------------...
gpl-3.0
icyxp/kong
spec/02-integration/04-admin_api/03-consumers_routes_spec.lua
3
31474
local helpers = require "spec.helpers" local cjson = require "cjson" local escape = require("socket.url").escape local function it_content_types(title, fn) local test_form_encoded = fn("application/x-www-form-urlencoded") local test_json = fn("application/json") it(title .. " with application/www-form-urlencoded...
apache-2.0
ibm2431/darkstar
scripts/zones/Batallia_Downs/npcs/qm4.lua
9
1106
----------------------------------- -- Area: Batallia Downs -- NPC: qm4 (???) -- ----------------------------------- local ID = require("scripts/zones/Batallia_Downs/IDs"); require("scripts/globals/missions"); require("scripts/globals/keyitems"); ----------------------------------- function onTrigger(player,npc) ...
gpl-3.0
ibm2431/darkstar
scripts/globals/spells/bluemagic/regurgitation.lua
12
1960
----------------------------------------- -- Spell: Regurgitation -- Deals Water damage to an enemy. Additional Effect: Bind -- Spell cost: 69 MP -- Monster Type: Lizards -- Spell Type: Magical (Water) -- Blue Magic Points: 1 -- Stat Bonus: INT+1 MND+1 MP+3 -- Level: 68 -- Casting Time: 5 seconds -- Recast Time: 24 sec...
gpl-3.0
wizardbottttt/wizard
plugins/search_youtube.lua
674
1270
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end local function searchYoutubeVideos(text) local url = 'https://www.googleapis.com/youtube/v3/search?' u...
gpl-2.0
ibm2431/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Justinius.lua
9
1569
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Justinius -- Involved in mission : COP2-3 -- !pos 76 -34 68 26 ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/missions"); ----------------------------------- function onTrade(player,npc,trade) end;...
gpl-3.0
ibm2431/darkstar
scripts/globals/promyvion.lua
12
3892
require("scripts/zones/Promyvion-Dem/IDs") require("scripts/zones/Promyvion-Holla/IDs") require("scripts/zones/Promyvion-Mea/IDs") require("scripts/zones/Promyvion-Vahzl/IDs") require("scripts/globals/status") ------------------------------------ dsp = dsp or {} dsp.promyvion = dsp.promyvion or {} -------------------...
gpl-3.0
greasydeal/darkstar
scripts/globals/status.lua
2
76144
------------------------------------ -- -- STATUSES AND MODS -- -- Contains variable-ized definitions of things like core enums for use in lua scripts. ------------------------------------ ------------------------------------ -- Job IDs ------------------------------------ JOB_NON = 0 JOB_WAR = 1 JOB_M...
gpl-3.0
LegionXI/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fl.lua
14
2654
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: East Plate -- @pos 231 -34 20 195 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- ...
gpl-3.0
ibm2431/darkstar
scripts/globals/pets/wyvern.lua
12
7305
----------------------------------- -- PET: Wyvern ----------------------------------- require("scripts/globals/status") require("scripts/globals/msg") local WYVERN_OFFENSIVE = 1 local WYVERN_DEFENSIVE = 2 local WYVERN_MULTI = 3 local wyvernTypes = { [dsp.job.WAR] = WYVERN_OFFENSIVE, [dsp.job.MNK] = WYVERN_O...
gpl-3.0
greasydeal/darkstar
scripts/zones/Cape_Teriggan/npcs/HomePoint#1.lua
12
1195
----------------------------------- -- Area: Cape Teriggan -- NPC: HomePoint#1 -- @pos -303 -8 526 113 ----------------------------------- package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Cape_Teriggan/TextIDs"); require("scripts/globals/homepo...
gpl-3.0
LegionXI/darkstar
scripts/zones/Lower_Jeuno/npcs/Zalsuhm.lua
18
4645
----------------------------------- -- Area: Lower Jeuno -- NPC: Zalsuhm -- Standard Info NPC ----------------------------------- require("scripts/globals/equipment"); require("scripts/globals/quests"); package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); function g...
gpl-3.0
greasydeal/darkstar
scripts/globals/items/flame_sword.lua
16
1029
----------------------------------------- -- ID: 16621 -- Item: Flame Sword -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action --------------------------------...
gpl-3.0
ibm2431/darkstar
scripts/globals/items/piscators_skewer.lua
11
1072
----------------------------------------- -- ID: 5983 -- Item: Piscator's Skewer -- Food Effect: 60 Mins, All Races ----------------------------------------- -- Dexterity 3 -- Vitality 4 -- Defense % 26 Cap 155 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") --...
gpl-3.0
bittorf/luci
applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-codec.lua
68
1959
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") module = cbimap:section(TypedSection, "module", "Modules", "") module.anonymous = true codec_a_mu = module:option(Li...
apache-2.0
naclander/tome
game/modules/tome/data/texts/intro-halfling.lua
3
1790
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later ...
gpl-3.0
greasydeal/darkstar
scripts/zones/Southern_San_dOria/npcs/Coderiant.lua
36
1471
----------------------------------- -- Area: Southern San d'Oria -- NPC: Coderiant -- General Info NPC -- @zone 230 -- @pos -111 -2 33 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
greasydeal/darkstar
scripts/zones/FeiYin/npcs/HomePoint#2.lua
12
1171
----------------------------------- -- Area: FeiYin -- NPC: HomePoint#2 -- @pos 102 0 269 204 ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/FeiYin/TextIDs"); require("scripts/globals/homepoint"); ----------------...
gpl-3.0
naclander/tome
game/modules/tome/data/gfx/particles/healing_vapour.lua
3
1473
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later ...
gpl-3.0
ibm2431/darkstar
scripts/zones/Stellar_Fulcrum/Zone.lua
9
1365
----------------------------------- -- -- Zone: Stellar_Fulcrum -- ----------------------------------- local ID = require("scripts/zones/Stellar_Fulcrum/IDs") require("scripts/globals/conquest") require("scripts/globals/missions") ----------------------------------- function onInitialize(zone) zone:registerRegion...
gpl-3.0
sthesing/.textadept
modules/debugger/lua/init.lua
1
10994
-- Copyright 2007-2022 Mitchell. See LICENSE. local M = {} --[[ This comment is for LuaDoc. --- -- Language debugging support for Lua. -- Requires LuaSocket to be installed for the external Lua interpreter invoked. -- This module bundles a copy of LuaSocket for use with Textadept and its version of Lua, -- which may ...
mit
ibm2431/darkstar
scripts/zones/Upper_Jeuno/npcs/Souren.lua
9
1437
----------------------------------- -- Area: Upper Jeuno -- NPC: Souren -- Involved in Quests: Save the Clock Tower -- !pos -51 0 4 244 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); ----------------------------------- function onTrade(player,npc,trade) ...
gpl-3.0
greasydeal/darkstar
scripts/zones/Hall_of_Transference/npcs/_0e4.lua
43
1699
----------------------------------- -- Area: Hall of Transference -- NPC: Large Apparatus (Right) - Holla -- @pos -242.301 -1.849 269.867 14 ----------------------------------- package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Hall_of_Transf...
gpl-3.0
LegionXI/darkstar
scripts/zones/Norg/npcs/Spasija.lua
14
1027
---------------------------------- -- Area: Norg -- NPC: Spasija -- Type: Item Deliverer -- @zone 252 -- @pos -82.896 -5.414 55.271 -- ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; require("scripts/zones/Norg/TextIDs"); ----------------------------------- -- onTrade...
gpl-3.0
LegionXI/darkstar
scripts/globals/items/plate_of_beef_paella_+1.lua
12
1482
----------------------------------------- -- ID: 5973 -- Item: Plate of Beef Paella +1 -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- HP 45 -- Strength 6 -- Attack % 19 Cap 95 -- Undead Killer 6 ----------------------------------------- require("scripts/globals/status"); ---------------...
gpl-3.0
naclander/tome
game/thirdparty/moonscript/util.lua
5
2390
module("moonscript.util", package.seeall) moon = { is_object = function(value) return type(value) == "table" and value.__class end, type = function(value) base_type = type(value) if base_type == "table" then cls = value.__class if cls then return cls end end return base_type end } function pos_to...
gpl-3.0
alerque/sile
classes/book.lua
1
8199
local plain = require("classes.plain") local class = pl.class(plain) class._name = "book" class.defaultFrameset = { content = { left = "8.3%pw", right = "86%pw", top = "11.6%ph", bottom = "top(footnotes)" }, folio = { left = "left(content)", right = "right(content)", top = "bottom(fo...
mit
icyxp/kong
spec/01-unit/008-api_helpers_spec.lua
12
2395
local api_helpers = require "kong.api.api_helpers" local norm = api_helpers.normalize_nested_params describe("api_helpers", function() describe("normalize_nested_params()", function() it("renders table from dot notation", function() assert.same({ foo = "bar", number = 10, config = {...
apache-2.0
ibm2431/darkstar
scripts/zones/Waughroon_Shrine/bcnms/shattering_stars.lua
9
1634
----------------------------------- -- Shattering Stars -- Waughroon Shrine Maat battlefield -- !pos -345 104 -260 144 ----------------------------------- require("scripts/globals/battlefield") require("scripts/globals/npc_util") require("scripts/globals/quests") require("scripts/globals/titles") ----------------------...
gpl-3.0
greasydeal/darkstar
scripts/zones/Upper_Jeuno/npcs/Ilumida.lua
17
5044
----------------------------------- -- Area: Upper Jeuno -- NPC: Ilumida -- Starts and Finishes Quest: A Candlelight Vigil -- @pos -75 -1 58 244 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; ----------------------...
gpl-3.0
Guard13007/ThompsonWasAClone
src/levels.lua
1
3123
local LightWorld = require "lib.LightWorld" require "lightWorldRectangleFix" local Object = {} Object.__index = Object function Object.new(x, y, w, h) local self = { x = x, y = y, w = w, h = h, shadow = lightWorldRectangleFix(lightWorld, x, y, w, h) } return self end level = { function() lightWorld = Lig...
mit
greasydeal/darkstar
scripts/zones/Oldton_Movalpolos/npcs/Treasure_Chest.lua
12
3003
----------------------------------- -- Area: Oldton Movalpolos -- NPC: Treasure Chest -- @zone 11 ----------------------------------- package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("...
gpl-3.0
LegionXI/darkstar
scripts/globals/items/agaricus_mushroom.lua
12
1160
----------------------------------------- -- ID: 5680 -- Item: agaricus mushroom -- Food Effect: 5 Min, All Races ----------------------------------------- -- STR -4 -- MND +2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --------...
gpl-3.0
greasydeal/darkstar
scripts/zones/South_Gustaberg/npcs/qm2.lua
11
2570
----------------------------------- -- Area: South Gustaberg -- NPC: ??? -- Involved in Quest: Smoke on the Mountain -- @pos 461 -21 -580 107 ----------------------------------- package.loaded["scripts/zones/South_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/zones/South_Gustaberg/Te...
gpl-3.0
lache/RacingKingLee
crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/EventDispatcher.lua
10
6285
-------------------------------- -- @module EventDispatcher -- @extend Ref -- @parent_module cc -------------------------------- -- Pauses all listeners which are associated the specified target.<br> -- param target A given target node.<br> -- param recursive True if pause recursively, the default value is false. --...
mit
LegionXI/darkstar
scripts/zones/Windurst_Woods/npcs/Retto-Marutto.lua
27
1193
----------------------------------- -- Area: Windurst Woods -- NPC: Retto-Marutto -- Guild Merchant NPC: Bonecrafting Guild -- @pos -6.142 -6.55 -132.639 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/s...
gpl-3.0
ibm2431/darkstar
scripts/zones/Port_Windurst/npcs/Fennella.lua
12
2208
----------------------------------- -- Area: Port Windurst -- NPC: Fennella -- Type: Guildworker's Union Representative -- !pos -177.811 -2.835 65.639 240 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/crafting"); local ID = require("scripts/zones/Port_Windurst/IDs");...
gpl-3.0
ibm2431/darkstar
scripts/globals/spells/dokumori_san.lua
12
1441
----------------------------------------- -- Spell: Dokumori: San ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0 end fun...
gpl-3.0
howard0su/cslua
tests/calls.lua
3
6998
print("testing functions and calls") local debug = require "debug" -- get the opportunity to test 'type' too ;) assert(type(1<2) == 'boolean') assert(type(true) == 'boolean' and type(false) == 'boolean') assert(type(nil) == 'nil' and type(-3) == 'number' and type'x' == 'string' and type{} == 'table' and type(...
bsd-2-clause
greasydeal/darkstar
scripts/zones/Xarcabard/npcs/qm7.lua
8
1339
----------------------------------- -- Area: Xarcabard -- NPC: qm7 (???) -- Involved in Quests: RNG AF3 quest - Unbridled Passion -- @pos -295.065 -25.054 151.250 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
greasydeal/darkstar
scripts/commands/addeffect.lua
24
1711
--------------------------------------------------------------------------------------------------- -- func: addeffect -- desc: Adds the given effect to the given player. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, par...
gpl-3.0
naclander/tome
game/engines/default/modules/boot/data/general/grids/water.lua
3
1380
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later ...
gpl-3.0
Igalia/snabbswitch
src/lib/hash/murmur.lua
15
6965
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. -- Implementation of the MurmurHash3 hash function according to the -- reference implementation -- https://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp -- -- This implementation does not include the variant MurmurMash3_x86...
apache-2.0
ibm2431/darkstar
scripts/zones/Windurst_Waters/npcs/Chomoro-Kyotoro.lua
9
1200
----------------------------------- -- Area: Windurst Waters -- NPC: Chomoro-Kyotoro -- Involved in Quest: Making the Grade -- !pos 133 -5 167 238 ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); ---------------------------...
gpl-3.0
naclander/tome
game/modules/tome/class/WorldNPC.lua
1
7882
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later ...
gpl-3.0
rameplayerorg/rameplayer-backend
plugins/ffprobe.lua
1
4112
local json = require 'cjson.safe' local process = require 'cqp.process' local RAME = require 'rame.rame' local Item = require 'rame.item' local url = require 'socket.url' local Plugin = {} -- Media scanning local function ffprobe_file(fn) -- reference: https://ffmpeg.org/ffprobe.html if not fn then return nil end ...
gpl-2.0
ibm2431/darkstar
scripts/globals/items/tonosama_rice_ball.lua
11
1150
----------------------------------------- -- ID: 4277 -- Item: Tonosama Rice Ball -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +15 -- Dex +3 -- Vit +3 -- Chr +3 -- Effect with enhancing equipment (Note: these are latents on gear with the effect) -- Atk +50 -- Def +30 -- Double Attack...
gpl-3.0
ricker75/Global-Server
data/movements/scripts/demon oak quest/demonOakTreeEnter.lua
2
1101
function onStepIn(cid, item, position, fromPosition) local player = Player(cid) if not player then return true end if player:getStorageValue(1010) >= 1 then player:teleportTo(DEMON_OAK_KICK_POSITION) player:getPosition():sendMagicEffect(CONST_ME_TELEPORT) return true end if player:getLevel() < 120 then ...
gpl-2.0
naclander/tome
game/modules/tome/data/general/objects/egos/mindstars.lua
1
24785
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later ...
gpl-3.0
LegionXI/darkstar
scripts/globals/items/bowl_of_yayla_corbasi.lua
12
1478
----------------------------------------- -- ID: 5579 -- Item: bowl_of_yayla_corbasi -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP 20 -- Dexterity -1 -- Vitality 2 -- HP Recovered While Healing 3 -- MP Recovered While Healing 1 ----------------------------------------- require("script...
gpl-3.0
LegionXI/darkstar
scripts/zones/Kazham/npcs/Mamerie.lua
17
1410
----------------------------------- -- Area: Kazham -- NPC: Mamerie -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action -------...
gpl-3.0
ibm2431/darkstar
scripts/zones/Promyvion-Vahzl/Zone.lua
9
1386
----------------------------------- -- -- Zone: Promyvion-Vahzl (22) -- ----------------------------------- local ID = require("scripts/zones/Promyvion-Vahzl/IDs") require("scripts/globals/promyvion") require("scripts/globals/missions") require("scripts/globals/settings") require("scripts/globals/status") -------------...
gpl-3.0
LegionXI/darkstar
scripts/zones/Abyssea-Konschtat/npcs/Atma_Fabricant.lua
33
1061
----------------------------------- -- Zone: Abyssea - Konschtat -- NPC: Atma Fabricant -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/abyssea"); require("scripts/...
gpl-3.0
NebronTM/TeleBot
plugins/monshi.lua
4
1364
--Start By @Tele_Sudo local function run(msg, matches) if matches[1] == "setpm" then if not is_sudo(msg) then return 'شما سودو نیستید' end local pm = matches[2] redis:set('bot:pm',pm) return 'متن پاسخ گویی ثبت شد' end if matches[1] == "pm" and is_sudo(msg) then local hash = ('bot:pm') local pm = redis:g...
gpl-3.0
greasydeal/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Koyol-Futenol.lua
15
3803
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Koyol-Futenol -- Title Change NPC -- @pos -129 2 -20 50 ----------------------------------- require("scripts/globals/titles"); local title2 = { DARK_RESISTANT , BEARER_OF_THE_MARK_OF_ZAHAK , SEAGULL_PHRATRIE_CREW_MEMBER , PROUD_AUTOMA...
gpl-3.0
lache/RacingKingLee
crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/MenuItemImage.lua
6
1676
-------------------------------- -- @module MenuItemImage -- @extend MenuItemSprite -- @parent_module cc -------------------------------- -- Sets the sprite frame for the disabled image. -- @function [parent=#MenuItemImage] setDisabledSpriteFrame -- @param self -- @param #cc.SpriteFrame frame -- @return MenuItemIm...
mit
ibm2431/darkstar
scripts/globals/items/plate_of_octopus_sushi_+1.lua
11
1300
----------------------------------------- -- ID: 5694 -- Item: plate_of_octopus_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Strength 2 -- Accuracy % 15 (cap 72) -- Ranged Accuracy % 15 (cap 72) -- Resist Sleep +2 ----------------------------------------- require("scripts/globa...
gpl-3.0
lache/RacingKingLee
crazyclient/frameworks/cocos2d-x/external/lua/luasocket/script/socket/headers.lua
31
3706
----------------------------------------------------------------------------- -- Canonic header field capitalization -- LuaSocket toolkit. -- Author: Diego Nehab ----------------------------------------------------------------------------- local socket = require("socket.socket") socket.headers = {} local _M = socket.he...
mit
LegionXI/darkstar
scripts/globals/mobskills/Mijin_Gakure.lua
32
1342
--------------------------------------------------- -- Mijin Gakure --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------------- function onMobSkillCheck(targe...
gpl-3.0
ibm2431/darkstar
scripts/globals/items/skewer_of_m&p_chicken.lua
11
1088
----------------------------------------- -- ID: 5639 -- Item: Skewer of M&P Chicken -- Food Effect: 3Min, All Races ----------------------------------------- -- Strength 5 -- Intelligence -5 -- Attack % 25 -- Attack Cap 154 ----------------------------------------- require("scripts/globals/status") require("scripts/gl...
gpl-3.0
Tommy228/TTTDamagelogs
lua/damagelogs/client/listview.lua
1
12352
local color_what = Color(255, 0, 0, 100) local color_darkblue = Color(25, 25, 220) local color_orange = Color(255, 128, 0) function Damagelog:SetLineMenu(item, infos, tbl, roles, text, old_logs) item.ShowTooLong = function(_, b) item.ShowLong = b end item.ShowCopy = function(_, b, steamid1, steami...
gpl-3.0
LegionXI/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Gavrie.lua
17
1534
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Gavrie -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); require("scripts/g...
gpl-3.0
lajoll1/sipml5
asterisk/etc/extensions.lua
317
5827
CONSOLE = "Console/dsp" -- Console interface for demo --CONSOLE = "DAHDI/1" --CONSOLE = "Phone/phone0" IAXINFO = "guest" -- IAXtel username/password --IAXINFO = "myuser:mypass" TRUNK = "DAHDI/G2" TRUNKMSD = 1 -- TRUNK = "IAX2/user:pass@provider" -- -- Extensions are expected to be defined in a global table ...
bsd-3-clause
cspyb/sipml5
asterisk/etc/extensions.lua
317
5827
CONSOLE = "Console/dsp" -- Console interface for demo --CONSOLE = "DAHDI/1" --CONSOLE = "Phone/phone0" IAXINFO = "guest" -- IAXtel username/password --IAXINFO = "myuser:mypass" TRUNK = "DAHDI/G2" TRUNKMSD = 1 -- TRUNK = "IAX2/user:pass@provider" -- -- Extensions are expected to be defined in a global table ...
bsd-3-clause
greasydeal/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Aligi-Kufongi.lua
15
2993
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Aligi-Kufongi -- Title Change NPC -- @pos -23 -21 15 26 ----------------------------------- require("scripts/globals/titles"); local title2 = { TAVNAZIAN_SQUIRE ,PUTRID_PURVEYOR_OF_PUNGENT_PETALS , MONARCH_LINN_PATROL_GUARD , SIN_HUNTER_...
gpl-3.0
LegionXI/darkstar
scripts/globals/items/plate_of_urchin_sushi_+1.lua
12
1643
----------------------------------------- -- ID: 5160 -- Item: plate_of_urchin_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 40 -- Strength 1 -- Vitality 6 -- Accuracy % 16 (cap 76) -- Ranged ACC % 16 (cap 76) ----------------------------------------- require("scripts/gl...
gpl-3.0
greasydeal/darkstar
scripts/zones/Port_Jeuno/TextIDs.lua
4
3021
-- 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 = 6383; -- Obtained: <item>. GIL_OBTAINED = 6384; -- Obtained <number> gil. KEYITEM_OBTAINED = 6386; -- Obtained...
gpl-3.0
greasydeal/darkstar
scripts/globals/items/quus.lua
17
1313
----------------------------------------- -- ID: 5793 -- Item: quus -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
whd/data-pipeline
hindsight/io_modules/derived_stream/tsv.lua
5
1274
-- 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 M = {} local ipairs = ipairs local tostring = tostring local type = type local read_message = re...
mpl-2.0
LegionXI/darkstar
scripts/globals/weaponskills/ukkos_fury.lua
19
1877
----------------------------------- -- Ukko's Fury -- Great Axe Weapon Skill -- Skill Level: N/A -- Description: Delivers a twofold attack that slows target. Chance of params.critical hit varies with TP. Ukonvasara: Aftermath. -- Available only when equipped with Ukonvasara (85), Ukonvasara (90), Ukonvasara (95), Masch...
gpl-3.0
alerque/sile
languages/jv.lua
1
2022
local lpeg = require("lpeg") local types = { "Bi", "Bi","CSR", "Vs", "VI", "VI", "VI", "VI", "VI", "C", "C", "C", "VI", "VI", "VI", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C...
mit
LegionXI/darkstar
scripts/zones/Jugner_Forest/Zone.lua
11
4038
----------------------------------- -- -- Zone: Jugner_Forest (104) -- ----------------------------------- package.loaded[ "scripts/zones/Jugner_Forest/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/Jugner_Forest/TextIDs"); require("...
gpl-3.0
alireza1998/mega1
plugins/admin.lua
60
6680
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(rec...
gpl-2.0
LegionXI/darkstar
scripts/zones/Apollyon/mobs/Cornu.lua
17
1256
----------------------------------- -- Area: Apollyon NE -- NPC: Sirins ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); -----------------------------------...
gpl-3.0
destroyerdust/Class-Hall
ClassHall.lua
1
6131
--------------------------------------------- -- Local Ace3 Declarations --------------------------------------------- local name = "ClassHall" ClassHall = LibStub("AceAddon-3.0"):NewAddon(name, "AceConsole-3.0", "AceEvent-3.0") local L = LibStub("AceLocale-3.0"):GetLocale("ClassHall") local icon = LibStub("LibDBIcon-...
mit
LegionXI/darkstar
scripts/zones/Abyssea-Konschtat/npcs/qm21.lua
10
1347
----------------------------------- -- Zone: Abyssea-Konschtat -- NPC: qm21 (???) -- Spawns Sarcophilus -- @pos ? ? ? 15 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) ...
gpl-3.0
lache/RacingKingLee
crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/EventAssetsManagerEx.lua
11
1975
-------------------------------- -- @module EventAssetsManagerEx -- @extend EventCustom -- @parent_module cc -------------------------------- -- -- @function [parent=#EventAssetsManagerEx] getAssetsManagerEx -- @param self -- @return AssetsManagerEx#AssetsManagerEx ret (return value: cc.AssetsManagerEx) --...
mit
evrooije/beerarchy
mods/00_bt_mobs/fishing/prizes.lua
2
3645
fishing_setting.prizes["rivers"] = {} fishing_setting.prizes["rivers"]["little"] = { {"fishing", "fish_raw", 0, "a Fish."}, {"fishing", "carp_raw", 0, "a Carp."}, } fishing_setting.prizes["rivers"]["big"] = { {"fishing", "pike_raw", 0, "a Northern Pike."}, {"fishing", "perch_raw...
lgpl-2.1
LegionXI/darkstar
scripts/zones/Grand_Palace_of_HuXzoi/Zone.lua
20
4585
----------------------------------- -- -- Zone: Grand_Palace_of_HuXzoi (34) -- ----------------------------------- package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"); requ...
gpl-3.0
lache/RacingKingLee
crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/PageView.lua
2
6202
-------------------------------- -- @module PageView -- @extend Layout -- @parent_module ccui -------------------------------- -- brief Query the custom scroll threshold of the PageView.<br> -- return Custom scroll threshold in float. -- @function [parent=#PageView] getCustomScrollThreshold -- @param self -- @return...
mit
edwinhollen/StationIsLife
src/utf8.lua
1
7645
-- $Id: utf8.lua 179 2009-04-03 18:10:03Z pasta $ -- -- Provides UTF-8 aware string functions implemented in pure lua: -- * string.utf8len(s) -- * string.utf8sub(s, i, j) -- * string.utf8reverse(s) -- -- If utf8data.lua (containing the lower<->upper case mappings) is loaded, these -- additional functions are available:...
gpl-3.0
naclander/tome
game/modules/tome/data/gfx/shockbolt/attachements.lua
1
40371
tiles={} dolls={} tiles["npc/humanoid_shalore_elven_guard.png"] = { base=64, feet = {x=33, y=61}, belly = {x=32, y=28}, hand1 = {x=13, y=31}, back = {x=32, y=15}, head = {x=31, y=5}, } tiles["npc/humanoid_player_default.png"] = { base=64, feet = {x=33, y=60}, hand1 = {x=21, y=35}, hand2 = {x=44, y=36}, back =...
gpl-3.0
LocutusOfBorg/ettercap
src/lua/share/core/base64.lua
12
2550
-- Base64-encoding -- Sourced from http://en.wikipedia.org/wiki/Base64 require('math') local __author__ = 'Daniel Lindsley' local __version__ = 'scm-1' local __license__ = 'BSD' local index_table = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' function to_binary(integer) local remaining =...
gpl-2.0