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
kjl2y/darkstar
scripts/globals/mobskills/Smoke_Discharger.lua
33
1301
--------------------------------------------------- -- Smoke_Discharger -- Description: -- Type: Magical -- additional effect : Petrification. --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); -----...
gpl-3.0
festevezga/ToME---t-engine4
game/modules/tome/data/zones/stellar-system-shandral/zone.lua
3
2800
-- 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
mahdibagheri/mmb
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
kjl2y/darkstar
scripts/zones/Bostaunieux_Oubliette/mobs/Dark_Aspic.lua
14
1063
----------------------------------- -- Area: Bostaunieux Oubliette (167) -- Mob: Dark_Aspic ----------------------------------- require("scripts/zones/Bostaunieux_Oubliette/MobIDs"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onMobDeath ----------------------------------- func...
gpl-3.0
Greven-of-Norway/RC_CollectionAgent
CollectionAgent.lrdevplugin/Framework/Catalog/PublishServices.lua
1
20207
--[[ PublishServices.lua Represents publish services (not one publish service) from the point of view of catalog/database functionality, as opposed to export functionality, which is handled by the publish module proper. --]] local PublishServices, dbg, dbgf = Object:newClass{ classNam...
artistic-2.0
kjl2y/darkstar
scripts/zones/Kuftal_Tunnel/Zone.lua
13
2329
----------------------------------- -- -- Zone: Kuftal_Tunnel (174) -- ----------------------------------- package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/Kuftal_Tunnel/TextIDs"...
gpl-3.0
alireza1998/nod32
plugins/banhammer.lua
1085
11557
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
mynameiscraziu/bgfdsabatu
plugins/banhammer.lua
1085
11557
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
kjl2y/darkstar
scripts/globals/items/plate_of_fatty_tuna_sushi.lua
17
1541
----------------------------------------- -- ID: 5153 -- Item: plate_of_fatty_tuna_sushi -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 20 -- Dexterity 3 -- Charisma 5 -- Accuracy % 16 -- Ranged ACC 16 -- Sleep Resist 5 ----------------------------------------- require("scripts/gl...
gpl-3.0
kjl2y/darkstar
scripts/zones/Windurst_Woods/npcs/Bopa_Greso.lua
13
1857
----------------------------------- -- Area: Windurst Woods -- NPC: Bopa Greso -- Type: Standard NPC -- @zone: 241 -- @pos 59.773 -6.249 216.766 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------...
gpl-3.0
tontyoutoure/DOTA2-AI-Fun
game/dota_addons/dota2_ai_fun/scripts/vscripts/heroes/intimidator/intimidator_init.lua
1
1246
local tNewAbilities = { "intimidator_glare_lua", "intimidator_grill_lua", "intimidator_physical_activity_lua", "generic_hidden", "generic_hidden", "intimidator_be_my_friend_lua", "special_bonus_gold_income_120", "special_bonus_exp_boost_30", "special_bonus_armor_10", "special_bonus_movement_speed_25", "speci...
mit
renolui/RenoStudio
Player/utils/hwstub/tools/lua/sansaview.lua
1
5029
-- -- Sansa View -- SANSAVIEW = {} function SANSAVIEW.set_backlight(val) -- backlight is PD0 PP.gpio.pin("D",0).enable(true) PP.gpio.pin("D",0).output_enable(true) PP.gpio.pin("D",0).write(val) end function SANSAVIEW.lcd_reset() PP.gpio.pin("B", 2).write(true) PP.gpio.pin("B", 2).write(false) ...
gpl-2.0
kjl2y/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Suzel.lua
13
1060
---------------------------------- -- Area: Tavnazian Safehold -- NPC: Suzel -- Type: Item Deliverer -- @zone: 26 -- @pos -72.701 -20.25 -64.058 -- ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ----------...
gpl-3.0
Igdra/darkstar
scripts/zones/Abyssea-Grauberg/npcs/qm7.lua
14
1344
----------------------------------- -- Zone: Abyssea-Grauberg -- NPC: qm7 (???) -- Spawns Xiabalba -- @pos ? ? ? 254 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) --[[...
gpl-3.0
kjl2y/darkstar
scripts/zones/Castle_Zvahl_Baileys/npcs/Treasure_Chest.lua
13
3750
----------------------------------- -- Area: Castle Zvahl Baileys -- NPC: Treasure Chest -- @zone 161 ----------------------------------- package.loaded["scripts/zones/Castle_Zvahl_Baileys/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); re...
gpl-3.0
kjl2y/darkstar
scripts/zones/Port_Bastok/npcs/Corann.lua
29
2129
----------------------------------- -- Area: Port Bastok -- NPC: Corann -- Start & Finishes Quest: The Quadav's Curse ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings");...
gpl-3.0
festevezga/ToME---t-engine4
game/modules/tome/data/chats/shertul-fortress-command-orb.lua
3
2816
-- 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
Igdra/darkstar
scripts/zones/Grauberg_[S]/npcs/qm5.lua
48
1159
----------------------------------- -- Area: Grauberg [S] -- NPC: ??? -- Quest - Fires of Discontent -- pos 258 33 516 ----------------------------------- package.loaded["scripts/zones/Grauberg_[S]/TextIDs"] = nil; ------------------------------------- require("scripts/globals/harvesting"); require("scripts/zones/...
gpl-3.0
Igdra/darkstar
scripts/zones/Eastern_Altepa_Desert/npcs/qm2.lua
14
1800
----------------------------------- -- Area: Eastern Altepa Desert -- NPC: qm2 (???) -- Involved In Quest: 20 in Pirate Years -- @pos 47.852 -7.808 403.391 114 ----------------------------------- package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
Igdra/darkstar
scripts/globals/items/bowl_of_homemade_stew.lua
18
1107
----------------------------------------- -- ID: 5222 -- Item: Bowl of Homemade Stew -- Food Effect: 30Min, All Races ----------------------------------------- -- Vitality 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------...
gpl-3.0
kjl2y/darkstar
scripts/globals/items/bowl_of_homemade_stew.lua
18
1107
----------------------------------------- -- ID: 5222 -- Item: Bowl of Homemade Stew -- Food Effect: 30Min, All Races ----------------------------------------- -- Vitality 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------...
gpl-3.0
Igdra/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Melleupaux.lua
17
1304
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Melleupaux -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ----------------------...
gpl-3.0
Igdra/darkstar
scripts/globals/abilities/pets/geocrush.lua
28
1448
--------------------------------------------------- -- Geocrush --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); --------------------------------------------------- ...
gpl-3.0
kjl2y/darkstar
scripts/zones/Port_Jeuno/npcs/Omiro-Zamiro.lua
13
1382
----------------------------------- -- Area: Port Jeuno -- NPC: Omiro-Zamiro -- @zone 246 -- @pos 3 7 -54 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require(...
gpl-3.0
festevezga/ToME---t-engine4
game/engines/default/engine/dialogs/SteamOptions.lua
3
3575
-- TE4 - T-Engine 4 -- 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 version....
gpl-3.0
kjl2y/darkstar
scripts/zones/Windurst_Woods/npcs/Aja-Panja.lua
13
1053
----------------------------------- -- Area: Windurst Woods -- NPC: Aja-Panja -- Type: Standard NPC -- @zone: 241 -- @pos -7.251 -6.55 -134.127 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; -----------...
gpl-3.0
Igdra/darkstar
scripts/zones/Dynamis-Beaucedine/mobs/Vanguard_Eye.lua
23
1958
----------------------------------- -- Area: Dynamis Beaucedine -- NPC: Vznguard_Eye -- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg ----------------------------------- package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil; -----------------...
gpl-3.0
Igdra/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/qm2.lua
25
1099
----------------------------------- -- Area: Temple of Uggalepih -- NPC: ??? (Uggalepih Offering ITEM) -- @pos 388 0 269 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Temple_of_Uggalepih/TextIDs"); ...
gpl-3.0
GLPJJ/PL
lua/b.lua
2
2454
#!lua 5.3.2 --@guliping --[[ lua 变量 lua中的变量有三种类型,全局变量,局部变量,表域 lua 中的变量全是全局变量,那怕是语句块或是函数里,除非用 local 显示声明为局部变量 局部变量的作用域为从声明位置开始到所在语句块结束。 变量的默认值均为 nil 应该尽可能的使用局部变量,有两个好处: 1. 避免命名冲突。 2. 访问局部变量的速度比全局变量更快。 --]] a = 1 -- 全局变量 local b = 1 -- 局部变量 function joke() c = 2 -- 全局变量 local d...
gpl-3.0
Igdra/darkstar
scripts/globals/spells/bluemagic/memento_mori.lua
25
1298
----------------------------------------- -- Spell: Memento Mori -- Enhances magic attack -- Spell cost: 46 MP -- Monster Type: Undead -- Spell Type: Magical (Ice) -- Blue Magic Points: 4 -- Stat Bonus: INT+1 -- Level: 62 -- Casting Time: 6 seconds -- Recast Time: 2 minutes -- -- Combos: Magic Attack Bonus -----------...
gpl-3.0
Igdra/darkstar
scripts/zones/Nashmau/TextIDs.lua
7
1841
-- 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_CANNOT_BE_OBTAINEDX = 6378; -- You cannot obtain the ITEM_OBTAINED = 6384; -- Obtained: <item> ITEM_OBTAINEDX = 6393; -- You obtai...
gpl-3.0
x7h/x7_bot
libs/XMLElement.lua
569
4025
-- Copyright 2009 Leo Ponomarev. Distributed under the BSD Licence. -- updated for module-free world of lua 5.3 on April 2 2015 -- Not documented at all, but not interesting enough to warrant documentation anyway. local setmetatable, pairs, ipairs, type, getmetatable, tostring, error = setmetatable, pairs, ipairs, typ...
gpl-3.0
festevezga/ToME---t-engine4
game/thirdparty/lxp/lom.lua
14
1441
-- See Copyright Notice in license.html -- $Id: lom.lua,v 1.6 2005/06/09 19:18:40 tuler Exp $ require "lxp" local tinsert, tremove, getn = table.insert, table.remove, table.getn local assert, type, print = assert, type, print local lxp = lxp module ("lxp.lom") local function starttag (p, tag, attr) local stack = ...
gpl-3.0
Igdra/darkstar
scripts/globals/items/bunch_of_buburimu_grapes.lua
18
1202
----------------------------------------- -- ID: 4503 -- Item: Bunch of Buburimu Grapes -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -6 -- Intelligence 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- On...
gpl-3.0
kjl2y/darkstar
scripts/zones/Port_San_dOria/npcs/Altiret.lua
11
3126
----------------------------------- -- Area: Port San d'Oria -- NPC: Altiret -- NPC for Quest "The Pickpocket" ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/settings"); re...
gpl-3.0
kjl2y/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fe.lua
13
1076
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Odin's Gate -- @pos 100 -34 -49 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); ------...
gpl-3.0
kjl2y/darkstar
scripts/globals/abilities/divine_waltz_ii.lua
19
2332
----------------------------------- -- Ability: Divine Waltz II -- Restores the HP of all party members within a small radius. -- Obtained: Dancer Level 78 -- TP Required: 80% -- Recast Time: 00:20 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ------------...
gpl-3.0
kjl2y/darkstar
scripts/zones/Southern_San_dOria/npcs/Orechiniel.lua
32
1912
----------------------------------- -- Area: Southern San d'Oria -- NPC: Orechiniel -- Type: Leathercraft Adv. Synthesis Image Support ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("s...
gpl-3.0
kjl2y/darkstar
scripts/zones/Abyssea-Altepa/npcs/qm12.lua
17
1371
----------------------------------- -- Zone: Abyssea-Altepa -- NPC: ??? -- Spawns: Dragua ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player...
gpl-3.0
devlinmr/contrib
ingress/controllers/nginx/lua/vendor/lua-resty-http/lib/resty/http.lua
45
21496
local http_headers = require "resty.http_headers" local ngx_socket_tcp = ngx.socket.tcp local ngx_req = ngx.req local ngx_req_socket = ngx_req.socket local ngx_req_get_headers = ngx_req.get_headers local ngx_req_get_method = ngx_req.get_method local str_gmatch = string.gmatch local str_lower = string.lower local str_u...
apache-2.0
Igdra/darkstar
scripts/globals/mobskills/Colossal_Blow.lua
35
1054
--------------------------------------------------- -- Colossal_Blow -- Deals damage to a single target. -- --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); ------------------------------------------...
gpl-3.0
kjl2y/darkstar
scripts/globals/mobskills/Colossal_Blow.lua
35
1054
--------------------------------------------------- -- Colossal_Blow -- Deals damage to a single target. -- --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); ------------------------------------------...
gpl-3.0
Igdra/darkstar
scripts/zones/Halvung/Zone.lua
32
1248
----------------------------------- -- -- Zone: Halvung (62) -- ----------------------------------- package.loaded["scripts/zones/Halvung/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Halvung/TextIDs"); ----------------------------------- -- onInitial...
gpl-3.0
kjl2y/darkstar
scripts/zones/Halvung/Zone.lua
32
1248
----------------------------------- -- -- Zone: Halvung (62) -- ----------------------------------- package.loaded["scripts/zones/Halvung/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Halvung/TextIDs"); ----------------------------------- -- onInitial...
gpl-3.0
Noneatme/iLife-SA
server/Classes/Object/cStorageBox.lua
1
2767
--[[ /////// ////////////////// /////// PROJECT: MTA iLife - German Fun Reallife Gamemode /////// VERSION: 1.7.2 /////// DEVELOPERS: See DEVELOPERS.md in the top folder /////// LICENSE: See LICENSE.md in the top folder /////// ///////////////// ]] CStorageBox = {} addEvent("onClientStorageBoxOpen", true) ad...
mit
Igdra/darkstar
scripts/zones/Bastok_Mines/npcs/Aulavia.lua
17
1572
----------------------------------- -- Area: Bastok Mines -- NPC: Aulavia -- Regional Marchant NPC -- Only sells when Bastok controls Vollbow. ----------------------------------- require("scripts/globals/events/harvest_festivals"); require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["s...
gpl-3.0
Igdra/darkstar
scripts/zones/Southern_San_dOria/npcs/Endracion.lua
5
6403
----------------------------------- -- 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/keyitems"); ...
gpl-3.0
Bo98/DarkRP
gamemode/modules/doorsystem/sv_doors.lua
1
18985
local meta = FindMetaTable("Entity") local pmeta = FindMetaTable("Player") --[[--------------------------------------------------------------------------- Functions ---------------------------------------------------------------------------]] function meta:doorIndex() return self:CreatedByMap() and self:MapCreati...
mit
kjl2y/darkstar
scripts/zones/Alzadaal_Undersea_Ruins/npcs/Runic_Portal.lua
25
2527
----------------------------------- -- Area: Alzadaal Undersea Ruins -- NPC: Runic Portal -- Arrapago Reef Teleporter Back to Aht Urgan Whitegate -- @pos 206.500 -1.220 33.500 72 -- @pos 206.500 -1.220 6.500 72 ----------------------------------- package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil; -...
gpl-3.0
Igdra/darkstar
scripts/zones/Norg/npcs/Vuliaie.lua
14
1304
----------------------------------- -- Area: Norg -- NPC: Vuliaie -- Type: Tenshodo Merchant -- @pos -24.259 0.891 -19.556 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/sho...
gpl-3.0
cracingbozo7/simply-unproffesional
Themes/Simply Unprofessional/Scripts/SL-Helpers.lua
1
6001
------------------------------------------------------------------------------ -- call this to draw a Quad with a border -- width of quad, height of quad, and border width, in pixels function Border(width, height, bw) return Def.ActorFrame { Def.Quad { InitCommand=cmd(zoomto, width-2*bw, height-2*bw; MaskSource...
gpl-3.0
emadni/usaandamujon
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
kjl2y/darkstar
scripts/zones/Quicksand_Caves/npcs/HomePoint#1.lua
27
1271
----------------------------------- -- Area: Quicksand_Caves -- NPC: HomePoint#1 -- @pos -984 17 -289 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Quicksand_Caves/TextIDs"); require("scripts/globals/...
gpl-3.0
Igdra/darkstar
scripts/zones/Castle_Oztroja/npcs/Brass_Statue.lua
27
1500
----------------------------------- -- Area: Castle Oztroja -- NPC: Brass Statue -- Type: Passageway Machine -- @pos -60.061 -4.348 -61.538 151 (1) -- @pos -18.599 -19.307 20.024 151 (2) -- @pos -60 22 -100 151 (3) -- @pos -100 -72 -19 151 (4) ----------------------------------- package...
gpl-3.0
kjl2y/darkstar
scripts/globals/abilities/accession.lua
27
1203
----------------------------------- -- Ability: Accession -- Extends the effect of your next healing or enhancing white magic spell to party members within range. -- MP cost and casting time are doubled. -- Obtained: Scholar Level 40 -- Recast Time: Stratagem Charge -- Duration: 1 compatible white magic spell or 60 sec...
gpl-3.0
Igdra/darkstar
scripts/zones/Windurst_Waters/npcs/Kopopo.lua
14
1182
----------------------------------- -- Area: Windurst Waters -- NPC: Kopopo -- Guild Merchant NPC: Cooking Guild -- @pos -103.935 -2.875 74.304 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"...
gpl-3.0
Bo98/DarkRP
gamemode/libraries/mysqlite/mysqlite.lua
5
13896
--[[ MySQLite - Abstraction mechanism for SQLite and MySQL Why use this? - Easy to use interface for MySQL - No need to modify code when switching between SQLite and MySQL - Queued queries: execute a bunch of queries in order an run the callback when all queries are done License: L...
mit
festevezga/ToME---t-engine4
game/modules/tome/data/gfx/particles/leafstorm.lua
3
1609
-- 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
kjl2y/darkstar
scripts/zones/Southern_San_dOria/npcs/Blendare.lua
13
1883
----------------------------------- -- Area: Southern San d'Oria -- NPC: Blendare -- Type: Standard NPC -- @zone: 230 -- @pos 33.033 0.999 -30.119 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; -...
gpl-3.0
AndrewTsao/luvit
tests/modules/helper.lua
1
2929
--[[ 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
Igdra/darkstar
scripts/zones/Rolanberry_Fields/npcs/Stone_Monument.lua
14
1302
----------------------------------- -- Area: Rolanberry Fields -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" -- @pos 362.479 -34.894 -398.994 110 ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil; ----------------------------------- require(...
gpl-3.0
festevezga/ToME---t-engine4
game/modules/tome/data/gfx/particles/stone_skin.lua
3
1404
-- 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
kjl2y/darkstar
scripts/globals/items/akamochi.lua
35
2064
----------------------------------------- -- ID: 6260 -- Item: akamochi -- Food Effect: 30 Min, All Races ----------------------------------------- -- HP + 20 (Pet & Master) -- Vitality + 3 (Pet & Master) -- Attack + 16% Cap: 50 (Pet & Master) Pet Cap: 75 -- Accuracy + 10% Cap: 50 (Pet & Master) Pet Cap: 75 -----------...
gpl-3.0
BeyondTeam/BDReborn
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-3.0
disslove2-bot/PLUS-BOT
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
BooM-amour/amourcopywili
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
mehrpouya81/irspm
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
mohammadclashclash/xy3
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
kjl2y/darkstar
scripts/zones/Al_Zahbi/Zone.lua
12
1307
----------------------------------- -- -- Zone: Al_Zahbi (48) -- ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Al_Zahbi/TextIDs"); ----------------------------------- -- onInit...
gpl-3.0
kjl2y/darkstar
scripts/globals/abilities/desperate_flourish.lua
26
2963
----------------------------------- -- Ability: Desperate Flourish -- Weighs down a target with a low rate of success. Requires one Finishing Move. -- Obtained: Dancer Level 30 -- Finishing Moves Used: 1 -- Recast Time: 00:20 -- Duration: ?? ----------------------------------- require("scripts/globals/settings"); requ...
gpl-3.0
kjl2y/darkstar
scripts/globals/items/slice_of_grilled_hare.lua
18
1382
----------------------------------------- -- ID: 4371 -- Item: slice_of_grilled_hare -- Food Effect: 180Min, All Races ----------------------------------------- -- Strength 2 -- Intelligence -1 -- Attack % 30 -- Attack Cap 15 ----------------------------------------- require("scripts/globals/status"); ---------------...
gpl-3.0
Tilka/vlc
share/lua/meta/art/00_musicbrainz.lua
12
2601
--[[ Gets an artwork from amazon $Id$ Copyright © 2007-2010 the VideoLAN team 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 2 of the License, or (at your option) any later ve...
gpl-2.0
Igdra/darkstar
scripts/globals/crafting.lua
16
9437
------------------------------------------------- -- Crafting functions -- Info from: -- http://wiki.ffxiclopedia.org/wiki/Crafts_%26_Hobbies ------------------------------------------------- -- 1 2 : Alchemy -- 2 4 : Bonecraft -- 3 8 : Clothcraft -- 4 16 : Cooking -- 5 32 : Fishing -- 6 64 : Goldsmi...
gpl-3.0
kjl2y/darkstar
scripts/zones/West_Ronfaure/npcs/Stone_Monument.lua
13
1272
----------------------------------- -- Area: West Ronfaure -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" -- @pos -183.734 -12.678 -395.722 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scrip...
gpl-3.0
kjl2y/darkstar
scripts/globals/items/bowl_of_wisdom_soup.lua
18
1809
----------------------------------------- -- ID: 4592 -- Item: bowl_of_wisdom_soup -- Food Effect: 4Hrs, All Races ----------------------------------------- -- HP 3 -- MP 3 -- Strength 1 -- Dexterity 1 -- Agility 1 -- Vitality 1 -- Intelligence 1 -- Mind 1 -- Charisma 1 -- HP Recovered While Healing 3 -----------------...
gpl-3.0
Noneatme/iLife-SA
client/Guis/Feature/tradegui.lua
1
7287
--[[ /////// ////////////////// /////// PROJECT: MTA iLife - German Fun Reallife Gamemode /////// VERSION: 1.7.2 /////// DEVELOPERS: See DEVELOPERS.md in the top folder /////// LICENSE: See LICENSE.md in the top folder /////// ///////////////// ]] TradeGuiSelectedItem = nil TradeGui = { ["Window"] = fals...
mit
teleforspeed100/telefor_speed
plugins/sudo.lua
359
1878
function run_sh(msg) name = get_name(msg) text = '' -- if config.sh_enabled == false then -- text = '!sh command is disabled' -- else -- if is_sudo(msg) then -- bash = msg.text:sub(4,-1) -- text = run_bash(bash) -- else -- text = name .. ' yo...
gpl-2.0
Igdra/darkstar
scripts/zones/Southern_San_dOria/npcs/Najjar.lua
17
1698
----------------------------------- -- Area: Southern San d'Oria -- NPC: Najjar -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Southern_San_dOria/TextIDs"); require("scripts/globals/s...
gpl-3.0
kjl2y/darkstar
scripts/zones/Nashmau/npcs/Kakkaroon.lua
13
2259
----------------------------------- -- Area: Nashmau -- NPC: Kakkaroon -- Standard Info NPC -- @pos 13.245 0.000 -25.307 53 ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings...
gpl-3.0
Igdra/darkstar
scripts/globals/magic.lua
4
45759
require("scripts/globals/magicburst"); require("scripts/globals/status"); require("scripts/globals/weather"); require("scripts/globals/utils"); require("scripts/globals/settings"); MMSG_BUFF_FAIL = 75; DIVINE_MAGIC_SKILL = 32; HEALING_MAGIC_SKILL = 33; ENHANCING_MAGIC_SKILL = 34; ENFEEBLIN...
gpl-3.0
kjl2y/darkstar
scripts/zones/Bastok_Markets/npcs/Rabid_Wolf_IM.lua
13
5590
----------------------------------- -- Area: Bastok Markets -- NPC: Rabid Wolf, I.M. -- X Grant Signet -- X Recharge Emperor Band, Empress Band, or Chariot Band -- X Accepts traded Crystals to fill up the Rank bar to open new Missions. -- X Sells items in exchange for Conquest Points -- X Start Supply Run Missions an...
gpl-3.0
yurenyong123/lds
lds/jemalloc.lua
3
17735
------------------------------------------------------------------------------- -- LuaJIT bindings to the jemalloc library -- -- Copyright (c) 2014 Evan Wies. -- Released under the MIT license. See the LICENSE file. -- -- Project home: https://github.com/neomantra/luajit-jemalloc -- -- Does not load jemalloc, this mus...
mit
Igdra/darkstar
scripts/zones/Castle_Zvahl_Baileys/npcs/Switchstix.lua
1
19764
----------------------------------- -- Area: Castle Zvahl Baileys -- NPC: Switchstix -- Type: Standard NPC -- @pos 386.091 -13 -17.399 161 ----------------------------------- package.loaded["scripts/zones/Castle_Zvahl_Baileys/TextIDs"] = nil; require("scripts/zones/Castle_Zvahl_Baileys/TextIDs"); require("scripts/g...
gpl-3.0
kjl2y/darkstar
scripts/zones/Dynamis-Windurst/mobs/Tzee_Xicu_Idol.lua
22
1314
----------------------------------- -- Area: Dynamis Windurst -- MOB: Tzee Xicu Idol ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/dynamis"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; ...
gpl-3.0
kjl2y/darkstar
scripts/globals/items/rolanberry_(864_ce).lua
18
1184
----------------------------------------- -- ID: 4531 -- Item: rolanberry_864_ce) -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -3 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCh...
gpl-3.0
swizl/QSanguosha-For-Hegemony
lua/sanguosha.lua
7
3489
--[[******************************************************************** Copyright (c) 2013-2015 Mogara This file is part of QSanguosha-Hegemony. This game 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...
gpl-3.0
Igdra/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Sabnak.lua
23
1533
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Marquis Sabnak ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEnga...
gpl-3.0
l0k1/naev
dat/factions/spawn/trader.lua
4
2172
include("dat/factions/spawn/common.lua") -- @brief Spawns a small trade fleet. function spawn_patrol () local pilots = {} local r = rnd.rnd() if r < 0.5 then scom.addPilot( pilots, "Trader Llama", 20 ); elseif r < 0.8 then scom.addPilot( pilots, "Trader Llama", 20 ); scom.addPilo...
gpl-3.0
Igdra/darkstar
scripts/globals/items/sis_kebabi_+1.lua
18
1653
----------------------------------------- -- ID: 5599 -- Item: sis_kebabi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Strength 6 -- Vitality -1 -- Intelligence -1 -- Attack % 20 -- Attack Cap 75 -- Ranged ATT % 20 -- Ranged ATT Cap 75 ----------------------------------------- requi...
gpl-3.0
Igdra/darkstar
scripts/zones/Kazham/npcs/Khaffi_Salponoihz.lua
17
1075
----------------------------------- -- Area: Kazham -- NPC: Khaffi Salponoihz -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------...
gpl-3.0
Igdra/darkstar
scripts/zones/Kuftal_Tunnel/mobs/Greater_Cockatrice.lua
14
1040
----------------------------------- -- Area: Kuftal Tunnel -- MOB: Greater Cockatrice -- Note: Place Holder for Pelican ----------------------------------- require("scripts/globals/groundsofvalor"); require("scripts/zones/Kuftal_Tunnel/MobIDs"); ----------------------------------- -- onMobDeath ---------------------...
gpl-3.0
festevezga/ToME---t-engine4
game/thirdparty/jit/v.lua
20
5614
---------------------------------------------------------------------------- -- Verbose mode of the LuaJIT compiler. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
gpl-3.0
festevezga/ToME---t-engine4
src/luajit2/src/jit/v.lua
20
5614
---------------------------------------------------------------------------- -- Verbose mode of the LuaJIT compiler. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
gpl-3.0
Igdra/darkstar
scripts/zones/Outer_Horutoto_Ruins/npcs/_5e9.lua
14
1772
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Gate: Magical Gizmo -- Involved In Mission: The Heart of the Matter -- @pos 584 0 -660 194 ----------------------------------- package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
Igdra/darkstar
scripts/globals/zone.lua
4
4223
------------------------------------ -- -- Contains global functions and variables -- related to area specific things -- ------------------------------------ ------------------------------------ -- zone related IDs ------------------------------------ -- Zone Types ZONETYPE_NONE = 0 ZONETYPE_CI...
gpl-3.0
mmdk95/cuberite
src/CheckBasicStyle.lua
5
13776
#!/usr/bin/env lua -- CheckBasicStyle.lua --[[ Checks that all source files (*.cpp, *.h) use the basic style requirements of the project: - Tabs for indentation, spaces for alignment - Trailing whitespace on non-empty lines - Two spaces between code and line-end comment ("//") - Spaces after comma, not before - ...
apache-2.0
Zet0rz/nzombies
gamemodes/nzombies/gamemode/tools/sh_tools_navlock.lua
2
5686
nzTools:CreateTool("navlock", { displayname = "Nav Locker Tool", desc = "LMB: Connect doors and navmeshes, RMB: Lock/Unlock navmeshes", condition = function(wep, ply) -- Serverside doesn't need to block return true end, PrimaryAttack = function(wep, ply, tr, data) local pos = tr.HitPos if tr.HitWorld or we...
gpl-3.0
festevezga/ToME---t-engine4
bootstrap/boot.lua
2
2922
-- This file is the very first lua file loaded -- It will be called before anything else is setup, including paths -- Usualy it will be put inside a zip that is concatenated to the executable itself print("Booting T-Engine from: "..tostring(__SELFEXE)) -- Mount the engine, either from a path guessed from SELFEXE, or ...
gpl-3.0
kjl2y/darkstar
scripts/zones/Windurst_Walls/npcs/Scavnix.lua
13
1183
----------------------------------- -- Area: Windurst Walls -- NPC: Scavnix -- Standard merchant, though he acts like a guild merchant -- @pos 17.731 0.106 239.626 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
kjl2y/darkstar
scripts/globals/items/cheval_salmon.lua
18
1329
----------------------------------------- -- ID: 4379 -- Item: cheval_salmon -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ------...
gpl-3.0