repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
The-HalcyonDays/darkstar
scripts/zones/Port_Windurst/npcs/Choyi_Totlihpa.lua
38
1414
----------------------------------- -- Area: Port Windurst -- NPC: Choyi Totlihpa -- Type: Standard NPC -- @pos -58.927 -5.732 132.819 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require...
gpl-3.0
The-HalcyonDays/darkstar
scripts/globals/abilities/chi_blast.lua
8
1100
----------------------------------- -- Ability: Chi Blast -- Releases Chi to attack an enemy. -- Obtained: Monk Level 41 -- Recast Time: 3:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- --...
gpl-3.0
Tenrys/mgn
lua/mgn/stages/cl_intro.lua
1
2122
file.CreateDir("mgn/sound") mgn.IntroMusicDownload = "https://files.metaman.xyz/mgn/sound/intro_music.mp3" mgn.IntroMusicPath = "mgn/sound/intro_music.dat" mgn.IntroETagPath = "mgn/sound/intro_music.txt" do local intro_etag = file.Read(mgn.IntroETagPath, "DATA") if intro_etag == "" or not file.Exists(mgn.IntroMusic...
bsd-3-clause
The-HalcyonDays/darkstar
scripts/zones/Waughroon_Shrine/bcnms/rank_2_mission.lua
13
1874
----------------------------------- -- Area: Waughroon Shrine -- Name: Mission Rank 2 -- @pos -345 104 -260 144 ----------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Waughroon_Shrine/TextIDs"); -------------------...
gpl-3.0
Feudalciv/Feudalciv
dependencies/tolua-5.2/src/bin/lua/function.lua
9
9884
-- tolua: function class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: function.lua,v 1.4 2009/11/24 16:45:14 fabraham Exp $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to p...
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/RuAun_Gardens/npcs/HomePoint#4.lua
12
1248
----------------------------------- -- Area: RuAun_Gardens -- NPC: HomePoint#4 -- @pos 500 -42 158 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/RuAun_Gardens/TextIDs"); require("scripts/globa...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Southern_San_dOria/npcs/Adaunel.lua
17
1598
----------------------------------- -- Area: Southern San d'Oria -- NPC: Adaunel -- General Info NPC -- @zone 230 -- @pos 80 -7 -22 ------------------------------------ package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings");...
gpl-3.0
SapphireMordred/Sapphire
src/tools/Script/ce_dump_vfs_path_406.lua
1
5164
-- init global variable g_dump = io.open(os.date("dump_%Y-%m-%d-%H-%M-%S.txt"), "a") g_dump:write("ptr, name\n") g_count = 0 -- relative virtual address(rva) to register_whatever function -- this assume ffxiv sb benchmark -- YOU MUST EDIT THIS TO RIGHT VALUE TO WORK -- check http://imgur.com/a/nJCef for disasm...
agpl-3.0
The-HalcyonDays/darkstar
scripts/globals/weaponskills/vorpal_thrust.lua
30
1397
----------------------------------- -- Vorpal Thrust -- Polearm weapon skill -- Skill Level: 175 -- Delivers a single-hit attack. Chance of params.critical varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Aqua Gorget & Light Gorget. -- Aligned with the Aqua Belt & Light Belt. -- Element: Non...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Northern_San_dOria/npcs/Justi.lua
36
1852
----------------------------------- -- Area: Northern San d'Oria -- NPC: Justi -- Conquest depending furniture seller ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/...
gpl-3.0
rrpgfirecast/firecast
Plugins/Sheets/Hora da Aventura/output/rdkObjs/Ficha_HdA/1.lfm.lua
1
24198
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmFicha_HdA1_svg() local obj = GUI.fromHandle(_obj_newOb...
apache-2.0
rrpgfirecast/firecast
Plugins/Core/sceneinlua/rrpgScene_SincronizadorGrid.lua
1
11454
require("scene.lua"); require("utils.lua"); require("rrpgScene_TouchNav.lua"); require("rrpgScene_InertialMov.lua"); require("rrpgScene_MovementHistory.lua"); require("rrpgScene_Undo.dlua"); require("rrpgScene_UserDrawingDetails.lua"); --[[ PLUGIN para fazer user drawings ]]-- local SETTINGS_CATEGORY = "settings"...
apache-2.0
otservme/global1053
data/npc/scripts/Rashid.lua
2
23424
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) ...
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Port_Windurst/npcs/Honorio.lua
20
1382
----------------------------------- -- Area: Port Windurst -- NPC: Honorio -- @zone 240 -- @pos 218 -5 114 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyite...
gpl-3.0
tectronics/muduo
premake4.lua
58
2093
solution "muduo" projectdir = basedir() builddir = path.join(projectdir, '../build') installdir = path.join(projectdir, '../install') bindir = path.join(installdir, 'bin') libdir = path.join(installdir, 'lib') includedir = path.join(installdir, 'include') curheadersdir = includedir -- s...
bsd-3-clause
Kinathka/gmod_airbase_vehicles
avehicle_main/lua/entities/avehicle_hp_cannon_ar2/shared.lua
1
2635
/********************************************************************************************** //////##////////##//////////##//##########//##////////##////////##////////##########//########## ////##//##//////##//////////##//##//////////####//////##//////##//##//////////##//////##//////// ////##//##//////##//////////##...
lgpl-3.0
telegrambot81/farsi
plugins/cpu.lua
12
1904
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 .. ' you...
gpl-2.0
otservme/global1053
data/npc/scripts/Lokur.lua
2
16731
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local count = {} local transfer = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end ...
gpl-2.0
ThomasMonroe314/ExoticOres
nevadaite.lua
1
4186
--nevadaite-- --nodes-- minetest.register_node("exoticores:stone_with_nevadaite", { tiles = {"exoticores_stone.png^exoticores_nevadaite.png"}, groups = {cracky=1}, description = "Nevadaite Ore", drop = "exoticores:nevadaite_lump", paramtype = "light", light_source = 4, }) minetest.register_node("exoticores:neva...
gpl-3.0
The-HalcyonDays/darkstar
scripts/commands/changejob.lua
26
1936
--------------------------------------------------------------------------------------------------- -- func: changejob -- desc: Changes the players current job. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, parameters = ...
gpl-3.0
The-HalcyonDays/darkstar
scripts/globals/items/sausage_roll.lua
35
1655
----------------------------------------- -- ID: 4396 -- Item: sausage_roll -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 6 -- Vitality 3 -- Intelligence -1 -- Attack % 27 -- Attack Cap 30 -- Ranged ATT % 27 -- Ranged ATT Cap 30 --------------------------------------...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Korroloka_Tunnel/npcs/qm2.lua
17
3455
----------------------------------- -- Area: Korroloka Tunnel -- NPC: ??? (qm2) -- Involved In Quest: Ayame and Kaede -- @pos -208 -9 176 173 ----------------------------------- package.loaded["scripts/zones/Korroloka_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
KlonD90/tarantool
test/box/fiber.test.lua
6
8503
fiber = require('fiber') space = box.schema.space.create('tweedledum') index = space:create_index('primary', { type = 'hash' }) -- A test case for a race condition between ev_schedule -- and wal_schedule fiber schedulers. -- The same fiber should not be scheduled by ev_schedule (e.g. -- due to cancellation) if it is wi...
bsd-2-clause
The-HalcyonDays/darkstar
scripts/zones/Cloister_of_Tremors/bcnms/sugar-coated_directive.lua
13
1704
---------------------------------------- -- Area: Cloister of Tremors -- BCNM: Sugar Coated Directive (ASA-4) ---------------------------------------- package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil; ---------------------------------------- require("scripts/globals/keyitems"); require("scripts/global...
gpl-3.0
coltonj96/UsefulCombinators
UsefulCombinators_0.3.2/prototypes/technology/technology.lua
7
2251
data:extend({ { type = "technology", name = "useful-combinators", icon = "__UsefulCombinators__/graphics/technology/clock.png", icon_size = 64, effects = { { type = "unlock-recipe", recipe = "timer-combinator" }, { type = "unlock-recipe", ...
mit
The-HalcyonDays/darkstar
scripts/zones/Bastok_Markets/npcs/Brunhilde.lua
36
1636
----------------------------------- -- Area: Bastok Markets -- NPC: Brunhilde -- Standard Merchant NPC -- -- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; requir...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Pashhow_Marshlands_[S]/npcs/Cavernous_Maw.lua
29
1489
----------------------------------- -- Area: Sauromugue Champaign -- NPC: Cavernous Maw -- @pos 418 25 27 90 -- Teleports Players to Pashhow_Marshlands ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil; ----------------------------------- require("script...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Quartermaster.lua
38
1051
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Quartermaster -- Type: Standard NPC -- @zone: 94 -- @pos -60.200 -4.7 32.500 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil...
gpl-3.0
coltonj96/UsefulCombinators
UsefulCombinators_0.0.1/prototypes/entity/entities.lua
1
16636
data:extend({ { type = "constant-combinator", name = "timer-combinator", icon = "__UsefulCombinators__/graphics/icons/timer-combinator.png", flags = {"placeable-neutral", "player-creation"}, minable = {hardness = 0.2, mining_time = 0.5, result = "timer-combinator"}, max_health = 50, ...
mit
rrpgfirecast/firecast
Plugins/Template/output/rdkObjs/ProjectName/Notes.lfm.lua
5
6751
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmTemplateNotes() local obj = GUI.fromHandle(_obj_newObj...
apache-2.0
Feudalciv/Feudalciv
data/classic/script.lua
9
3100
-- Freeciv - Copyright (C) 2007 - The Freeciv Project -- 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, or (at your option) -- any later version. -- -- This program ...
gpl-2.0
kiarash14/supb
plugins/welcome.lua
190
3526
local add_user_cfg = load_from_file('data/add_user_cfg.lua') local function template_add_user(base, to_username, from_username, chat_name, chat_id) base = base or '' to_username = '@' .. (to_username or '') from_username = '@' .. (from_username or '') chat_name = string.gsub(chat_name, '_', ' ') or '' c...
gpl-2.0
zhaozg/luvit
tests/test-fs-utime.lua
11
5359
--[[ Copyright 2012-2015 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...
apache-2.0
rrpgfirecast/firecast
Plugins/Sheets/Konoha Heroes/output/rdkObjs/Ficha LH/LH.2.3.lfm.lua
1
3461
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmLH2_3() local obj = GUI.fromHandle(_obj_newO...
apache-2.0
The-HalcyonDays/darkstar
scripts/globals/items/plate_of_patlican_salata_+1.lua
35
1224
----------------------------------------- -- ID: 5583 -- Item: plate_of_patlican_salata_+1 -- Food Effect: 4Hrs, All Races ----------------------------------------- -- Agility 4 -- Vitality -1 ----------------------------------------- require("scripts/globals/status"); -------------------------------------...
gpl-3.0
hxw804781317/MT7620N
package/ralink/ui/luci-mtk/src/applications/luci-wol/luasrc/model/cbi/wol.lua
37
2522
--[[ 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 ]]-- local sy...
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Riverne-Site_B01/mobs/Nimbus_Hippogryph.lua
23
1357
----------------------------------- -- Area: Riverne - Site B01 -- MOB: Nimbus Hippogryph -- Note: Place holder Imdugud ----------------------------------- require("scripts/zones/Riverne-Site_B01/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------- funct...
gpl-3.0
godly-devotion/Baka-MPlayer-old
Baka MPlayer/bin/Debug/libquvi-scripts/0.9/media/vimeo.lua
2
3346
-- libquvi-scripts -- Copyright (C) 2010-2013 Toni Gundogdu <legatvs@gmail.com> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This program is free software: you can redistribute it and/or -- modify it under the terms of the GNU Affero General Public -- License as published by the Fre...
gpl-2.0
rrpgfirecast/firecast
Plugins/Sheets/PokePTU/output/rdkObjs/03.PerEdgFeaAux2.lfm.lua
2
4775
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmPokePerEdgeFea2() local obj = GUI.fromHandle(_obj_newO...
apache-2.0
coltonj96/UsefulCombinators
UsefulCombinators_0.3.9/prototypes/item/items.lua
2
7169
data:extend( { { type = "item", name = "timer-combinator", icon = "__UsefulCombinators__/graphics/icons/timer-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "main", place_result="timer-combinator", order = "a[timer]", stack_siz...
mit
The-HalcyonDays/darkstar
scripts/globals/abilities/call_wyvern.lua
10
1038
----------------------------------- -- Ability: Call Wyvern -- Summons a Wyvern to fight by your side. -- Obtained: Dragoon Level 1 -- Recast Time: 20:00 -- Duration: Instant -- Special: Only available if Dragoon is your main class. ----------------------------------- require("scripts/globals/settings"); req...
gpl-3.0
JohnTM/Craft-Examples
Learn Craft.codea/TheSky.lua
1
2451
-- Craft Sky function setup() -- Create a new craft scene scene = craft.scene() myEntity = scene:entity() myEntity.model = craft.model.cube(vec3(2,2,2)) myEntity.material = craft.material.preset("Surfaces:Basic Bricks") myEntity.material.normalScale = vec2(-1,-1) myEntity.eulerAngles =...
apache-2.0
The-HalcyonDays/darkstar
scripts/zones/Upper_Jeuno/npcs/Hinda.lua
34
1370
----------------------------------- -- Area: Upper Jeuno -- NPC: Hinda -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/globals/quests"); ---...
gpl-3.0
mohammad8/1234
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) 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...
gpl-2.0
rrpgfirecast/firecast
Plugins/Sheets/Konoha Heroes/output/rdkObjs/Ficha LH/LH.5.1.lfm.lua
1
7369
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmLH5_1() local obj = GUI.fromHandle(_obj_newO...
apache-2.0
sysr-q/lua
lua-5.3.0-tests/main.lua
1
9955
# testing special comment on first line -- $Id: main.lua,v 1.61 2014/12/26 17:20:53 roberto Exp $ -- most (all?) tests here assume a reasonable "Unix-like" shell if _port then return end -- use only "double quotes" inside shell scripts (better change to -- run on Windows) print ("testing stand-alone interpreter") ...
mit
Feudalciv/Feudalciv
dependencies/tolua-5.2/src/bin/lua/package.lua
13
9061
-- tolua: package class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: package.lua,v 1.4 2009/11/24 16:45:15 fabraham Exp $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to pro...
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Windurst_Woods/npcs/Miiri-Wohri.lua
38
1037
----------------------------------- -- Area: Windurst Woods -- NPC: Miiri-Wohri -- Type: Standard NPC -- @zone: 241 -- @pos 106.766 -6 -30.492 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ------------...
gpl-3.0
ArchiveTeam/comcast-grab
comcast.lua
1
6860
dofile("urlcode.lua") dofile("table_show.lua") local url_count = 0 local tries = 0 local item_type = os.getenv('item_type') local item_value = os.getenv('item_value') local downloaded = {} local addedtolist = {} for ignore in io.open("ignore-list", "r"):lines() do downloaded[ignore] = true end read_file = functio...
unlicense
rrpgfirecast/firecast
Plugins/Sheets/Ficha RPG meister/output/rdkObjs/FichaRPGmeister/02.Ataques.Select.lfm.lua
1
3442
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmFichaRPGmeister2AS_svg() local obj = GUI.fromHandle(_o...
apache-2.0
rrpgfirecast/firecast
Plugins/Sheets/Shadow of the Demon Lord/output/rdkObjs/SODLFillable/SODLFillable.lfm.lua
1
450228
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmSODLSheet() local obj = GUI.fromHandle(_obj_newObject(...
apache-2.0
rrpgfirecast/firecast
Plugins/Sheets/MightyBladeV6/output/rdkObjs/mb3.0/1.lfm.lua
1
110335
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmmb3_01_svg() local obj = GUI.fromHandle(_obj_newObject...
apache-2.0
ccw808/mtasa-blue
vendor/google-breakpad/premake5.lua
7
1543
project "breakpad" language "C++" kind "StaticLib" targetname "breakpad" includedirs { "src", "src/third_party/glog/src" } vpaths { ["Headers/*"] = "src/**.h", ["Sources/*"] = {"src/**.cc", "src/**.c"}, ["*"] = "premake5.lua" } files { "premake5.lua", "src/**.h", "src/client/*.cc", "src/common/*...
gpl-3.0
otservme/global1053
data/actions/scripts/in service of yalahar quest/inServiceOfYalaharQuestSewers.lua
2
2100
function onUse(cid, item, fromPosition, itemEx, toPosition) if(item.itemid == 2416) then if(itemEx.uid == 3071) then if(getPlayerStorageValue(cid, 26) < 1) then doSetMonsterOutfit(cid, "skeleton", 3 * 1000) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_ENERGYHIT) for x = -1, 1 do for y = -1,...
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Cattah_Pamjah.lua
38
1050
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Cattah Pamjah -- Type: Title Changer -- @zone: 94 -- @pos -13.564 -2 10.673 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;...
gpl-3.0
sinavafa/xzy
plugins/admin.lua
230
6382
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
otservme/global1053
data/migrations/4.lua
1
1162
function onUpdateDatabase() print("> Updating database to version 5 (black skull & guild wars)") db.query("ALTER TABLE `players` CHANGE `redskull` `skull` TINYINT(1) NOT NULL DEFAULT '0', CHANGE `redskulltime` `skulltime` INT(11) NOT NULL DEFAULT '0'") db.query("CREATE TABLE IF NOT EXISTS `guild_wars` ( `id` int(...
gpl-2.0
The-HalcyonDays/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
FingasGaming/Game-Development
VRPE/sandbox/bin/scripts/core/kernel.lua
2
2885
package("fsm") package("window") package("SDLEvent") local eKey = keyCode() Kernel = {} Engine = {} function Kernel:Create() local fsm = kpFSM:Create(Kernel) Kernel.fsm = fsm Kernel.engine = Engine:Create() function Kernel:onInit() Kernel.engine:onInit() end function Kernel:onExecute(run) while run == true a...
gpl-2.0
Goranaws/Dominos
core/fadeManager.lua
1
1122
--[[ fadeManager.lua Handles fading out frames when not moused over Necessary since using the blizzard fading functions can cause issues in combat --]] local MouseOverWatcher = {}; Dominos.MouseOverWatcher = MouseOverWatcher local Timer_After = _G['C_Timer'].After local watched = {} function MouseOverWatcher:Upd...
bsd-3-clause
rrpgfirecast/firecast
Plugins/Sheets/Ficha Pathfinder 2e/output/rdkObjs/FichaPathfinder2e/05.Magias.Foco.lfm.lua
1
15975
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmMagiasFoco() local obj = GUI.fromHandle(_obj_newObject...
apache-2.0
The-HalcyonDays/darkstar
scripts/zones/Hazhalm_Testing_Grounds/Zone.lua
28
1351
----------------------------------- -- -- Zone: Hazhalm_Testing_Grounds (78) -- ----------------------------------- package.loaded["scripts/zones/Hazhalm_Testing_Grounds/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Hazhalm_Testing_Grounds/Tex...
gpl-3.0
sepehrpk/firebot1
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
shahabsaf1/beni-dalton
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
mamaddeveloper/ghs
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
The-HalcyonDays/darkstar
scripts/globals/spells/exuviation.lua
13
1241
----------------------------------------- -- Spell: Exuviation -- Restores HP and removes one detrimental magic effect. -- Can be used with Diffusion. -- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html ----------------------------------------- require("scripts/globals/settin...
gpl-3.0
The-HalcyonDays/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
zhaozg/luvit
tests/test-emitter.lua
2
3057
--[[ Copyright 2014 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
otservme/global1053
data/migrations/8.lua
1
3420
function onUpdateDatabase() print("> Updating database to version 9 (global inbox)") db.query("CREATE TABLE IF NOT EXISTS `player_inboxitems` (`player_id` int(11) NOT NULL, `sid` int(11) NOT NULL, `pid` int(11) NOT NULL DEFAULT '0', `itemtype` smallint(6) NOT NULL, `count` smallint(5) NOT NULL DEFAULT '0', `attribu...
gpl-2.0
CNA2/cna3
plugins/info.lua
8
5246
do local function scan_name(extra, success, result) local founds = {} for k,member in pairs(result.members) do if extra.name then gp_member = extra.name fields = {'first_name', 'last_name', 'print_name'} elseif extra.user then gp_member = string.gsub(extra.user, '@', '') ...
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/RuAun_Gardens/mobs/Groundskeeper.lua
25
1323
----------------------------------- -- Area: RuAun Gardens -- MOB: Groundskeeper -- Note: Place holder Despot ----------------------------------- require("scripts/zones/RuAun_Gardens/MobIDs"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onMobDeath --------------------------------...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Apollyon/mobs/Dark_Elemental.lua
17
2413
----------------------------------- -- Area: Apollyon SW -- NPC: elemental ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); --------------------------...
gpl-3.0
miralireza/telegram_star
plugins/boobs.lua
731
1601
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
The-HalcyonDays/darkstar
scripts/globals/items/bowl_of_riverfin_soup.lua
36
1822
----------------------------------------- -- ID: 6069 -- Item: Bowl of Riverfin Soup -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- Accuracy % 14 Cap 90 -- Ranged Accuracy % 14 Cap 90 -- Attack % 18 Cap 80 -- Ranged Attack % 18 Cap 80 -- Amorph Killer 5 -----------------------------------...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5f6.lua
34
1105
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Odin's Gate -- @pos 260 -34 110 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs");...
gpl-3.0
bobsomers/flexrender
frlib/base/mat4.lua
1
6798
-- Import relevant base types. local types = require "base.types" require "base.common" require "base.vec4" -- Import utility functions. local geometric = require "base.geometric" -- Module aliases. local mat4 = types.mat4 local vec4 = types.vec4 local dot = geometric.dot -- Constructor that provides the following f...
mit
telldus/tellstick-lua-examples
zwave/Fibaro/RGBW-to-sensor.lua
1
1212
-- Script to convert the SWITCH_MULTILEVEL_REPORT that is sent from the analog -- input on Fibaro RGBW Controller FGRGBWM-441 to a sensor value. -- The sensor value is shown as degrees celcius (°C), but is in fact voltage (V). -- This script can only handle 1 analog input as it is now. -- Please note that configurati...
mit
zhaozg/luvit
examples/poll-libcurl.lua
12
5680
-- FFI example for libcurl integration into the libuv event loop local ffi = require('ffi') local bit = require('bit') local uv = require('uv') local timer = require('timer') local Object = require('core').Object local utils = require('utils') local libcurl = ffi.load('libcurl') ffi.cdef[[ enum CURLMSG { CURLMS...
apache-2.0
CodeAndWeb/TexturePacker-Shiva-JPSprite
ShivaProject/Resources/Scripts/JPSpriteSample_Function_updateInfoLabel.lua
1
1048
-------------------------------------------------------------------------------- -- Function......... : updateInfoLabel -- Author........... : -- Description...... : -------------------------------------------------------------------------------- -------------------------------------------------------------------...
mit
The-HalcyonDays/darkstar
scripts/zones/Mhaura/npcs/Phoochuchu.lua
19
1441
----------------------------------- -- Area: Mhaura -- NPC: Phoochuchu -- Involved in Quest: A Thief in Norg!? -- @pos -4 -4 69 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Mh...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Quicksand_Caves/npcs/qm7.lua
8
1900
----------------------------------- -- Area: Quicksand Caves -- NPC: ??? -- Involved in Mission: The Mithra and the Crystal (Zilart 12) -- @pos -504 20 -419 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
The-HalcyonDays/darkstar
scripts/globals/weaponskills/slice.lua
30
1623
----------------------------------- -- Slice -- Scythe weapon skill -- Skill level: 5 -- Delivers a single-hit attack. Damage varies with TP. -- Modifiers: STR:100% -- 100%TP 200%TP 300%TP -- 1.50 1.75 2.00 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/sett...
gpl-3.0
rrpgfirecast/firecast
Macros/Uteis/timer.lua
1
4297
-- -- -- -- -- -- ...
apache-2.0
ds84182/roblox-sbx
source/native/settings.lua
1
2868
local Settings = cure:WaitForChild('settings') local settings = {} local eventChanged do local connections = {} local waitEvent = Instance.new('BoolValue') local waitArguments = {} local Event = {} local Invoker = {Event = Event} function Event:connect(func) local connection = {connected = true} function c...
lgpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Upper_Jeuno/npcs/HomePoint#1.lua
12
1252
----------------------------------- -- Area: Upper Jeuno -- NPC: HomePoint#1 -- @pos -98.981 0.001 167.569 244 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/g...
gpl-3.0
rrpgfirecast/firecast
Plugins/Sheets/Ficha Ragnarock/output/rdkObjs/Ficha Ragnarock/Library.lfm.lua
2
3837
require("rrpg.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); function newfrmLibrary() __o_rrpgObjs.beginObjectsLoading(); local obj = gui.fromHandle(_obj_newObject("form")); local self = obj; local sh...
apache-2.0
otservme/global1053
data/actions/scripts/elemental spheres quest/ElementalSpheresQuestMachine.lua
2
1616
local t = { [1] = {x=33183, y=32197, z=13}, [2] = {x=33331, y=32076, z=13}, [3] = {x=33265, y=32202, z=13}, [4] = {x=33087, y=32096, z=13} } function onUse(cid, item, fromPosition, itemEx, toPosition) if(itemEx.actionid == 100) then return true end if(isInArray({7911, 7912}, item.itemid)) then if(isInArray(...
gpl-2.0
tyochiai/nyagos
nyagos.d/aliases.lua
1
2608
if not nyagos then print("This is a script for nyagos not lua.exe") os.exit() end nyagos.alias.lua_e=function(args) if #args >= 1 then assert(load(args[1]))() end end nyagos.alias.lua_f=function(args) local path=table.remove(args,1) assert(loadfile(path))(args) end nyagos...
bsd-3-clause
The-HalcyonDays/darkstar
scripts/zones/Boneyard_Gully/bcnms/like_the_wind.lua
11
1653
----------------------------------- -- Area: Boneyard_Gully -- Name: like_the_wind -- BCNM: 673 -- Mask: 1 ----------------------------------- package.loaded["scripts/zones/Boneyard_Gully/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/globals/keyite...
gpl-3.0
coltonj96/UsefulCombinators
UsefulCombinators_0.4.0/migrations/UsefulCombinators_0.2.9.lua
14
1409
game.reload_script() for index, force in pairs(game.forces) do force.reset_technologies() if force.technologies["useful-combinators"].researched then force.recipes["random-combinator"].enabled = true if force.recipes["comparator-combinator"] then force.recipes["comparator-combinator"].enabled ...
mit
The-HalcyonDays/darkstar
scripts/zones/Metalworks/npcs/Lutia.lua
38
1034
----------------------------------- -- Area: Metalworks -- NPC: Lutia -- Type: Standard NPC -- @zone: 237 -- @pos 24.076 -17 -33.060 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; require("scripts/zones/M...
gpl-3.0
The-HalcyonDays/darkstar
scripts/globals/weaponskills/wasp_sting.lua
12
1538
----------------------------------- -- Wasp Sting -- Dagger weapon skill -- Skill level: 5 -- Poisons target. Duration of effect varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Soil Gorget. -- Aligned with the Soil Belt. -- Element: None -- Modifiers: : DEX:100% -- 100%TP 200%TP 300...
gpl-3.0
APItools/monitor
lua/spec/http_ng/backend/ngx_spec.lua
2
1077
local backend = require 'http_ng.backend.ngx' describe('ngx backend',function() describe('GET method', function() local method = 'GET' it('accesses the url', function() backend.capture = function(location, options) assert.equal('/___http_call', location) assert.equal(ngx.HTTP_GET, opti...
mit
JohnTM/Craft-Examples
Learn Craft.codea/Main.lua
1
1386
----------------------------------------- -- Learn Craft -- Written by John Millard -- Special thanks to Ignatz for the MultiStep project template ----------------------------------------- -- Description: ----------------------------------------- -- MultiStep function setup() steps = listProjectTabs() if steps...
apache-2.0
laroccrj/BattleStratego
game/dota_addons/Battle Stratego/scripts/vscripts/addon_game_mode.lua
6
2377
-- This is the entry-point to your game mode and should be used primarily to precache models/particles/sounds/etc require('internal/util') require('gamemode') function Precache( context ) --[[ This function is used to precache resources/units/items/abilities that will be needed for sure in your game and that will...
apache-2.0
Ali-2h/zed-spam
plugins/ingroup.lua
202
31524
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
sysr-q/lua
lua-5.3.0-tests/constructs.lua
1
7255
-- $Id: constructs.lua,v 1.37 2014/12/26 17:20:53 roberto Exp $ ;;print "testing syntax";; local debug = require "debug" -- testing semicollons do ;;; end ; do ; a = 3; assert(a == 3) end; ; -- invalid operations should not raise errors when not executed if false then a = 3 // 0; a = 0 % 0 end -- testing priorit...
mit
The-HalcyonDays/darkstar
scripts/globals/mobskills/Sand_Blast.lua
25
1241
--------------------------------------------------- -- Sand Blast -- Deals Earth damage to targets in a fan-shaped area of effect. Additional effect: Blind -- Range: 8' cone --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scri...
gpl-3.0
mjanicek/rembulan
rembulan-tests/src/test/resources/benchmarksgame/pidigits.lua-2.lua
4
3450
-- The Computer Language Benchmarks Game -- http://benchmarksgame.alioth.debian.org/ -- contributed by Mike Pall -- Start of dynamically compiled chunk. local chunk = [=[ -- Factory function for multi-precision number (mpn) operations. local function fmm(fa, fb) return loadstring([[ return function(y, a, ka, b,...
apache-2.0
mamaddeveloper/ghs
plugins/domaintools.lua
359
1494
local ltn12 = require "ltn12" local https = require "ssl.https" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function check(name) local api = "https://domainsearch.p.mashape.com/index.php?"...
gpl-2.0