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
m241dan/darkstar
scripts/zones/RuLude_Gardens/npcs/Crooked_Arrow.lua
13
1384
----------------------------------- -- Area: Ru'Lud Gardens -- NPC: Crooked Arrow -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/zones/RuLude_Gardens/TextIDs"); require("scripts/global...
gpl-3.0
m241dan/darkstar
scripts/zones/East_Sarutabaruta/npcs/Sama_Gohjima.lua
13
1487
----------------------------------- -- Area: East Sarutabaruta -- NPC: Sama Gohjima -- Involved in Mission: The Horutoto Ruins Experiment (optional) -- @pos 377 -13 98 116 ----------------------------------- package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil; -----------------------------------...
gpl-3.0
m241dan/darkstar
scripts/zones/Abyssea-Misareaux/npcs/qm13.lua
17
1523
----------------------------------- -- Zone: Abyssea-Misereaux -- NPC: ??? -- Spawns: Cirein-Croin ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger...
gpl-3.0
santssoft/darkstar
scripts/globals/items/serving_of_medicinal_quus.lua
11
1095
----------------------------------------- -- ID: 4294 -- Item: serving_of_medicinal_quus -- Food Effect: 240Min, All Races ----------------------------------------- -- Dexterity 1 -- Mind -1 -- Ranged ACC % 7 -- Ranged ACC Cap 15 ----------------------------------------- require("scripts/globals/status") require("scrip...
gpl-3.0
santssoft/darkstar
scripts/zones/Beaucedine_Glacier/Zone.lua
9
2250
----------------------------------- -- -- Zone: Beaucedine_Glacier (111) -- ----------------------------------- local ID = require("scripts/zones/Beaucedine_Glacier/IDs") require("scripts/globals/icanheararainbow") require("scripts/globals/missions") require("scripts/globals/conquest") require("scripts/globals/zone") -...
gpl-3.0
m241dan/darkstar
scripts/zones/Mhaura/npcs/Porter_Moogle.lua
41
1512
----------------------------------- -- Area: Mhaura -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 249 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts...
gpl-3.0
silky/frequensea
lua/iq-lines-animate-freq.lua
2
1573
-- Visualize IQ data as lines, animating through the spectrum VERTEX_SHADER = [[ #version 400 layout (location = 0) in vec3 vp; layout (location = 1) in vec3 vn; layout (location = 2) in vec2 vt; out vec3 color; out vec2 texCoord; uniform mat4 uViewMatrix, uProjectionMatrix; uniform float uTime; void main() { colo...
mit
atitus5/FastLID-DNN
old/test_ensemble.lua
1
9947
require "torch" require "nn" require "optim" -- Parse command-line options local opt = lapp[[ -g,--gpu test on GPU -f,--full use the full test dataset -t,--threads (default 4) number of threads ]] if opt.gpu then require "cunn...
mit
m241dan/darkstar
scripts/globals/spells/dragonfoe_mambo.lua
27
1611
----------------------------------------- -- Spell: Dragonfoe Mambo -- Grants evasion bonus to all members. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(cast...
gpl-3.0
m241dan/darkstar
scripts/zones/Bastok_Mines/npcs/HomePoint#2.lua
27
1311
----------------------------------- -- Area: Bastok Mines -- NPC: HomePoint#2 -- @pos 118 1 -58 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; package.loaded["scripts/globals/homepoint"] = nil; require("scripts/globals/settings"); require("scripts/zones/Bastok_Mi...
gpl-3.0
santssoft/darkstar
scripts/globals/mobskills/radiant_breath.lua
11
1087
--------------------------------------------- -- Radiant Breath -- -- Description: Deals light damage to enemies within a fan-shaped area of effect originating from the caster. Additional effect: Slow and Silence. -- Type: Magical (Light) -- -- --------------------------------------------- require("scripts/globals/s...
gpl-3.0
m241dan/darkstar
scripts/globals/spells/dia.lua
27
2184
----------------------------------------- -- Spell: Dia -- Lowers an enemy's defense and gradually deals light elemental damage. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); -----------------------------------------...
gpl-3.0
m241dan/darkstar
scripts/zones/Crawlers_Nest/npcs/_5h1.lua
13
2974
----------------------------------- -- Area: Crawlers' Nest -- NPC: Strange Apparatus -- @pos: 214 0 -339 197 ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil; require("scripts/zones/Crawlers_Nest/TextIDs"); require("scripts/globals/strangeapparatus"); -----------------...
gpl-3.0
m241dan/darkstar
scripts/zones/Silver_Sea_route_to_Al_Zahbi/npcs/Shadeeu.lua
13
1142
----------------------------------- -- Area: Silver_Sea_route_to_Al_Zahbi -- NPC: Shadeeu -- Notes: Tells ship ETA time -- @pos 0.340 -12.232 -4.120 58 ----------------------------------- package.loaded["scripts/zones/Silver_Sea_route_to_Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts...
gpl-3.0
stuxnettel/my
plugins/banhammer.lua
6
13221
local function pre_process(msg) local data = load_data(_config.moderation.data) -- 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('Che...
agpl-3.0
videolan/vlc
share/lua/playlist/soundcloud.lua
1
4465
--[[ Copyright © 2012, 2015, 2019-2020 the VideoLAN team Authors: Cheng Sun <chengsun9atgmail.com> Pierre Ynard 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 th...
gpl-2.0
santssoft/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Hampu-Kampu.lua
9
1986
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Hampu-Kampu -- Type: Quest NPC -- !pos -115.597,-1.000,-158.703 94 ----------------------------------- local ID = require("scripts/zones/Windurst_Waters_[S]/IDs") require("scripts/globals/quests") require("scripts/globals/keyitems") require("scr...
gpl-3.0
m241dan/darkstar
scripts/globals/weaponskills/hard_slash.lua
11
1603
----------------------------------- -- Hard Slash -- Great Sword weapon skill -- Skill level: 5 -- Delivers a single-hit attack. Damage varies with TP. -- Modifiers: STR:30% -- 100%TP 200%TP 300%TP -- 1.5 1.75 2.0 ----------------------------------- require("scripts/globals/settings"); require("s...
gpl-3.0
m241dan/darkstar
scripts/zones/Caedarva_Mire/npcs/Nahshib.lua
15
2108
----------------------------------- -- Area: Caedarva Mire -- NPC: Nahshib -- Type: Assault -- @pos -274.334 -9.287 -64.255 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Caedarva_Mire/TextIDs"); require("sc...
gpl-3.0
santssoft/darkstar
scripts/globals/items/salmon_rice_ball.lua
11
1213
----------------------------------------- -- ID: 4590 -- Item: Salmon Rice Ball -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +10 -- Dex +2 -- Vit +2 -- Mnd -1 -- hHP +1 -- Effect with enhancing equipment (Note: these are latents on gear with the effect) -- Atk +40 -- Def +40 --------...
gpl-3.0
bananu7/LoveAndFun
shoot/main.lua
1
3712
function love.load(arg) if arg[#arg] == "-debug" then require("mobdebug").start() end love.graphics.setDefaultFilter("nearest", "nearest", 0) shipSprite = love.graphics.newImage "images/ship.png" shipfwd = { love.graphics.newImage "images/ship_fwd1.png", love.graphics.newImage "images/ship_fwd2.png...
mit
santssoft/darkstar
scripts/globals/weaponskills/vidohunir.lua
10
1857
----------------------------------- -- Vidohunir -- Staff weapon skill -- Skill Level: N/A -- Lowers target's magic defense. Duration of effect varies with TP. Laevateinn: Aftermath effect varies with TP. -- Reduces enemy's magic defense by 10%. -- Available only after completing the Unlocking a Myth (Black Mage) quest...
gpl-3.0
santssoft/darkstar
scripts/globals/items/chunk_of_orobon_meat.lua
11
1339
----------------------------------------- -- ID: 5563 -- Item: Chunk of Orobon Meat -- Effect: 5 Minutes, food effect, Galka Only ----------------------------------------- -- HP 10 -- MP -10 -- Strength +6 -- Intelligence -8 -- Demon Killer 10 ----------------------------------------- require("scripts/globals/status") ...
gpl-3.0
santssoft/darkstar
scripts/globals/weaponskills/seraph_blade.lua
10
1346
----------------------------------- -- Seraph Blade -- Sword weapon skill -- Skill Level: 125 -- Deals light elemental damage to enemy. Damage varies with TP. -- Ignores shadows. -- Aligned with the Soil Gorget. -- Aligned with the Soil Belt. -- Element: Light -- Modifiers: STR:40% MND:40% -- 100%TP 200%TP 300%T...
gpl-3.0
m241dan/darkstar
scripts/zones/Bastok_Mines/npcs/Mariadok.lua
59
1037
----------------------------------- -- Area: Bastok Mines -- NPC: Mariadok -- Type: Weather Reporter ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Bastok_Mines/TextIDs"); -...
gpl-3.0
santssoft/darkstar
scripts/zones/Uleguerand_Range/Zone.lua
6
2047
----------------------------------- -- -- Zone: Uleguerand_Range (5) -- ----------------------------------- local ID = require("scripts/zones/Uleguerand_Range/IDs"); require("scripts/globals/conquest"); require("scripts/globals/missions"); require("scripts/globals/weather"); require("scripts/globals/status"); require("...
gpl-3.0
santssoft/darkstar
scripts/globals/items/bowl_of_moogurt.lua
11
1063
----------------------------------------- -- ID: 5935 -- Item: Bowl of Moogurt -- Food Effect: 30Min, All Races ----------------------------------------- -- HP % 20 Cap 20 -- Vitality 3 -- HP Healing 3 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") -----------...
gpl-3.0
sigurdfdragon/wesnoth-fork
data/lua/wml/modify_side.lua
7
2993
local utils = wesnoth.require "wml-utils" local T = wml.tag local side_changes_needing_redraw = { 'shroud', 'fog', 'reset_map', 'reset_view', 'shroud_data', 'share_vision', 'share_maps', 'share_view', 'color', 'flag', } function wesnoth.wml_actions.modify_side(cfg) local sides = utils.get_sides(cfg) for i,side i...
gpl-2.0
dvr333/Zero-K
LuaRules/Configs/MetalSpots/Koom Gorge v1.lua
8
8707
return { spots = { {x = 1624, z = 664, metal = 0.88150006532669}, {x = 3688, z = 3304, metal = 0.88150006532669}, {x = 6792, z = 1944, metal = 0.86350005865097}, {x = 3784, z = 5912, metal = 0.89200001955032}, {x = 1272, z = 3272, metal = 0.86900001764297}, {x = 5688,...
gpl-2.0
santssoft/darkstar
scripts/globals/items/plate_of_ratatouille_+1.lua
11
1202
----------------------------------------- -- ID: 5732 -- Item: plate_of_ratatouille_+1 -- Food Effect: 4Hrs, All Races ----------------------------------------- -- Agility 6 -- Evasion 10 -- HP recovered while healing 3 -- MP recovered while healing 3 -- Undead Killer 10 ----------------------------------------- requir...
gpl-3.0
rekotc/game-engine-experimental-3
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/wsapi/src/wsapi/fastcgi.lua
2
1255
----------------------------------------------------------------------------- -- Fastcgi WSAPI handler -- -- Author: Fabio Mascarenhas -- Copyright (c) 2007 Kepler Project -- ----------------------------------------------------------------------------- local lfcgi = require"lfcgi" local os = require"os" local io = req...
lgpl-3.0
m241dan/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Balakaf.lua
13
1046
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Balakaf -- Type: Standard NPC -- @pos 25.505 -6.999 126.478 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whi...
gpl-3.0
dvr333/Zero-K
LuaRules/Gadgets/lups_shield.lua
6
11812
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function gadget:GetInfo() return { name = "Lups Shield", desc = "Draws variable shields for shielded units", author = "GoogleFrog", date =...
gpl-2.0
m241dan/darkstar
scripts/zones/Port_Jeuno/npcs/Sugandhi.lua
13
1545
----------------------------------- -- Area: Port Bastok -- NPC: Sugandhi -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/zones/Port_Bastok/TextIDs"); ----------------------------------- -- onTrad...
gpl-3.0
disslove777/MAX-BOT
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
m241dan/darkstar
scripts/zones/Southern_San_dOria/npcs/Phamelise.lua
1
1998
----------------------------------- -- Area: Southern San d'Oria -- NPC: Phamelise -- Only sells when San d'Oria controlls Zulkheim Region ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/ev...
gpl-3.0
santssoft/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm2.lua
9
1128
----------------------------------- -- Area: The Sanctuary of ZiTah -- NPC: qm2 (???) -- Involved in Quest: Forge Your Destiny -- !pos 639 -1 -151 121 ----------------------------------- local ID = require("scripts/zones/The_Sanctuary_of_ZiTah/IDs") require("scripts/globals/npc_util") require("scripts/globals/quests")...
gpl-3.0
dvr333/Zero-K
effects/nanobomb.lua
25
1716
-- nanobomb return { ["nanobomb"] = { usedefaultexplosions = false, groundflash = { alwaysvisible = false, circlealpha = 1, circlegrowth = 10, flashalpha = 0.5, flashsize = 100, ttl = 15, color = { [1] = 0, ...
gpl-2.0
rekotc/game-engine-experimental-3
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/penlight/tests/test-data.lua
2
3612
--_DEBUG=true data = require 'pl.data' List = require 'pl.list' . List array = require 'pl.array2d' seq = require 'pl.seq' utils = require 'pl.utils' stringio = require 'pl.stringio' open = stringio. open asserteq = require 'pl.test' . asserteq -- tab-separated data, explicit column names t1f = open [[ EventID Magnitu...
lgpl-3.0
mailru/tntlua
flyd/test/flyd.test.lua
4
11045
#!/usr/bin/env tarantool local json = require('json') local http = require('http.client') local fiber = require('fiber') local net_box = require('net.box') local user = arg[1] local flyd_tmp_dir = '/tmp/flyd' local config = string.format([[ default_cfg = { pid_file = "%s", wal_dir = "%s", snap_dir = "%s", ...
bsd-2-clause
hylthink/Sample_Lua
frameworks/cocos2d-x/external/lua/luajit/src/src/jit/dis_x86.lua
99
29330
---------------------------------------------------------------------------- -- LuaJIT x86/x64 disassembler module. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h --------------------------------------------------------------------------...
mit
santssoft/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
m241dan/darkstar
scripts/zones/Port_Windurst/npcs/Yujuju.lua
13
2747
----------------------------------- -- Area: Port Windurst -- NPC: Yujuju -- Involved In Quest: Making Headlines -- @pos 201.523 -4.785 138.978 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/ques...
gpl-3.0
dvr333/Zero-K
LuaUI/Widgets/unit_teleport_ai_2.lua
3
29586
function widget:GetInfo() return { name = "Teleport AI (experimental) v2", desc = "Units automatically use nearby teleport beacons to shorten travel time.", author = "Msafwan", date = "1 September 2013", license = "GNU GPL, v2 or later", layer = 21, enabled = false ...
gpl-2.0
santssoft/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
santssoft/darkstar
scripts/globals/spells/bluemagic/power_attack.lua
8
1541
----------------------------------------- -- Spell: Power Attack -- Deals critical damage. Chance of critical hit varies with TP -- Spell cost: 5 MP -- Monster Type: Vermin -- Spell Type: Physical (Blunt) -- Blue Magic Points: 1 -- Stat Bonus: MND+1 -- Level: 4 -- Casting Time: 0.5 seconds -- Recast Time: 7.25 seconds ...
gpl-3.0
Mailaender/OpenRA
mods/d2k/maps/harkonnen-05/harkonnen05.lua
3
11365
--[[ Copyright 2007-2020 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
moltafet35/spamersss
plugins/SiS1.lua
2
18104
do function run(msg, matches) return "SiS is Atacking SiS is Atacking SiS is Atacking SiS is Atacking SiS is Atacking SiS is Atacking SiS is Atacking SiS is Atacking ...
gpl-2.0
m241dan/darkstar
scripts/globals/items/pot-au-feu.lua
32
1707
----------------------------------------- -- ID: 5752 -- Item: Pot-au-feu -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 3 -- Agility 3 -- Intelligence -3 -- Ranged Attk % 15 Cap 60 -- Ranged ACC % 10 Cap 50 -- Enmity -3 ----------------------------------------- require("scripts...
gpl-3.0
m241dan/darkstar
scripts/zones/Windurst_Woods/npcs/Spare_One.lua
13
1497
----------------------------------- -- Area: Windurst Woods -- NPC: Spare One -- Working 100% -- Involved in quest: A Greeting Cardian ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/globals/quests"] = nil; require("scripts/globals/quests"); package.loaded["s...
gpl-3.0
m241dan/darkstar
scripts/zones/Norg/npcs/Quntsu-Nointsu.lua
27
2965
----------------------------------- -- Area: Norg -- NPC: Quntsu-Nointsu -- Title Change NPC -- @pos -67 -1 34 252 ----------------------------------- require("scripts/globals/titles"); local title2 = { HONORARY_DOCTORATE_MAJORING_IN_TONBERRIES , BUSHIDO_BLADE , BLACK_MARKETEER , CRACKER_OF_THE_SECRET_CODE , ...
gpl-3.0
dvr333/Zero-K
units/chickenr.lua
4
3149
return { chickenr = { unitname = [[chickenr]], name = [[Lobber]], description = [[Artillery]], acceleration = 1.3, activateWhenBuilt = true, brakeRate = 1.5, buildCostEnergy = 0, buildCostMetal = 0, builder = false, buildPic ...
gpl-2.0
m241dan/darkstar
scripts/globals/spells/foe_requiem_vi.lua
26
1736
----------------------------------------- -- Spell: Foe Requiem VI ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target...
gpl-3.0
santssoft/darkstar
scripts/globals/spells/cure_vi.lua
6
4637
----------------------------------------- -- Spell: Cure VI -- Restores target's HP. -- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html ----------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/magic") re...
gpl-3.0
hacker44-h44/hacker44
plugins/owners.lua
284
12473
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0
aqasaeed/uzzbot
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
CCAAHH/1kh
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
m241dan/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/Dedden_IM.lua
13
3340
----------------------------------- -- Area: The Sanctuary of Zi'Tah -- NPC: Dedden, I.M. -- Border Conquest Guards -- @pos -252.454 -1.958 624.366 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
rekotc/game-engine-experimental-3
Assets/Scripts/DebugBrain.lua
4
2365
--======================================================================== -- DebugBrain.lua : A brain for debugging the AI -- -- Part of the GameCode4 Application -- -- GameCode4 is the sample application that encapsulates much of the source code -- discussed in "Game Coding Complete - 4th Edition" by Mike McShaffry a...
lgpl-3.0
rekotc/game-engine-experimental-3
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/xavante/src/codeweb/coroWeb.lua
4
2103
----------------------------------------------------------------------------- -- webThreads: Xavante resumable handlers framework -- -- Author: Javier Guerra -- Copyright (c) 2005 Kepler Project ----------------------------------------------------------------------------- local session = require "xavante.session" mod...
lgpl-3.0
perusio/lua-busted-debian-package
busted/init.lua
7
3852
local function init(busted) local block = require 'busted.block'(busted) local file = function(file) busted.wrap(file.run) if busted.safe_publish('file', { 'file', 'start' }, file) then block.execute('file', file) end busted.safe_publish('file', { 'file', 'end' }, file) end local describ...
mit
m241dan/darkstar
scripts/zones/Konschtat_Highlands/npcs/qm2.lua
13
1465
----------------------------------- -- Area: Konschtat Highlands -- NPC: qm2 (???) -- Involved in Quest: Forge Your Destiny -- @pos -709 2 102 108 ----------------------------------- package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"...
gpl-3.0
m241dan/darkstar
scripts/globals/spells/paralyga.lua
21
1694
----------------------------------------- -- Spell: Paralyze -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpell...
gpl-3.0
m241dan/darkstar
scripts/zones/Selbina/npcs/Isacio.lua
13
3104
----------------------------------- -- Area: Selbina -- NPC: Isacio -- Finishes Quest: Elder Memories -- @pos -54 -1 -44 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/...
gpl-3.0
m241dan/darkstar
scripts/zones/Lower_Jeuno/npcs/Derrick.lua
25
4615
----------------------------------- -- Area: Lower Jeuno -- NPC: Derrick -- Involved in Quests and finish : Save the Clock Tower -- @zone 245 -- @pos -32 -1 -7 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/set...
gpl-3.0
santssoft/darkstar
scripts/zones/Apollyon/bcnms/cs_apollyon_ii.lua
10
1055
----------------------------------- -- Area: Appolyon -- Name: ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/battlefield") -- After registering the BCNM via bcnmRegister(bcnmid) function onBattlefieldRegister(player,battlefield) end; function onBattlefieldTic...
gpl-3.0
santssoft/darkstar
scripts/globals/items/loaf_of_hobgoblin_bread.lua
11
1070
----------------------------------------- -- ID: 4328 -- Item: loaf_of_hobgoblin_bread -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 10 -- Vitality 3 -- Charisma -7 -- Health Regen While Healing 2 ----------------------------------------- require("scripts/globals/status") require(...
gpl-3.0
m241dan/darkstar
scripts/zones/Yuhtunga_Jungle/npcs/Field_Manual.lua
1
1095
----------------------------------- -- Field Manual -- Area: Yuhtunga Jungle ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onTrigger Action ----------------------------------...
gpl-3.0
m241dan/darkstar
scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Wind.lua
13
2381
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Wind -- Involved in Zilart Mission 7 -- @pos 199 -2 36 168 ------------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ------------------------------------- require("scripts/globals/titles")...
gpl-3.0
santssoft/darkstar
scripts/globals/weaponskills/primal_rend.lua
10
1664
----------------------------------- -- Primal Rend -- Axe weapon skill -- Skill Level: N/A -- Deals light elemental damage. Damage varies with TP. Aymur: Aftermath effect varies with TP. -- Available only after completing the Unlocking a Myth (Beastmaster) quest. -- Aligned with the Shadow Gorget, Soil Gorget & Aqua Go...
gpl-3.0
silky/frequensea
lua/signal-detector.lua
2
3844
-- Detect signals on the ISM band (433 MHz) and show the "signature" if NWM_OPENGL_TYPE == NWM_OPENGL then VERTEX_SHADER = [[ #version 400 layout (location = 0) in vec3 vp; layout (location = 1) in vec3 vn; layout (location = 2) in vec2 vt; out vec3 color; out vec2 texCoord; uniform ma...
mit
m241dan/darkstar
scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Light.lua
13
2386
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Light -- Involved in Zilart Mission 7 -- @pos 199 -2 36 168 ------------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ------------------------------------- require("scripts/globals/titles"...
gpl-3.0
mrmost/SILVER
plugins/Group_Manager.lua
26
44100
do -- Check Member local function check_member_autorealm(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[tostr...
gpl-2.0
santssoft/darkstar
scripts/globals/abilities/pets/attachments/eraser.lua
11
1703
----------------------------------- -- Attachment: Eraser ----------------------------------- require("scripts/globals/status") ----------------------------------- local removable = { dsp.effect.PETRIFICATION, dsp.effect.SILENCE, dsp.effect.BANE, dsp.effect.CURSE_II, dsp.effect.CURSE, dsp.effec...
gpl-3.0
santssoft/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
rekotc/game-engine-experimental-3
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/wxLua/samples/coroutine.wx.lua
4
5845
-------------------------------------------------------------------------=--- -- Name: coroutine.wx.lua -- Purpose: Tests coroutines and wxIDLE_EVENTS -- Author: Leandro Motta Barros -- Created: 2006 -- Copyright: -- Licence: wxWidgets licence ----------------------------------------------------...
lgpl-3.0
m241dan/darkstar
scripts/zones/Port_Windurst/npcs/Aroro.lua
17
1675
----------------------------------- -- Area: Port Windurst -- NPC: Aroro -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst/TextIDs"); -----...
gpl-3.0
rekotc/game-engine-experimental-3
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/luajson/tests/regressionTest.lua
3
3600
-- Additional path that may be required require("json") local io = require("io") local os = require("os") require("lfs") local success = true local function getFileData(fileName) local f = io.open(fileName, 'rb') if not f then return end local data = f:read('*a') f:close() return data end local function putTem...
lgpl-3.0
nfshanq/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
call4ever/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
m241dan/darkstar
scripts/zones/Monastic_Cavern/Zone.lua
17
1771
----------------------------------- -- -- Zone: Monastic_Cavern (150) -- ----------------------------------- package.loaded["scripts/zones/Monastic_Cavern/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Monastic_Cavern/TextIDs"); -----------------------...
gpl-3.0
m241dan/darkstar
scripts/globals/magicburst.lua
33
3436
require("scripts/globals/status") SC_NONE = 0 -- Lv0 None SC_TRANSFIXION = 1 -- Lv1 Light SC_COMPRESSION = 2 -- Lv1 Dark SC_LIQUEFACTION = 3 -- Lv1 Fire SC_SCISSION = 4 -- Lv1 Earth SC_REVERBERATION = 5 -- Lv1 Water SC_DETONATION = 6 -- Lv1 Wind SC_INDURATION = 7 -- Lv1 Ice SC_IMPACTIO...
gpl-3.0
santssoft/darkstar
scripts/globals/weaponskills/shell_crusher.lua
10
1698
----------------------------------- -- Shell Crusher -- Staff weapon skill -- Skill Level: 175 -- Lowers target's defense. Duration of effect varies with TP. -- If unresisted, lowers target defense by 25%. -- Will stack with Sneak Attack. -- Aligned with the Breeze Gorget. -- Aligned with the Breeze Belt. -- Element: N...
gpl-3.0
m241dan/darkstar
scripts/globals/mobskills/Bilgestorm.lua
30
1415
--------------------------------------------- -- Bilgestorm -- -- Description: Deals damage in an area of effect. Additional effect: Lowers attack, accuracy, and defense -- Type: Physical -- Utsusemi/Blink absorb: Wipes shadows -- Range: Unknown -- Notes: Only used at low health.*Experienced the use at 75%* -----...
gpl-3.0
ask-compu/OpenComputers-Bot-Control
botclient.lua
1
1797
local component = require("component") local computer = require("computer") local event = require("event") local keyboard = require("keyboard") local tunnel = component.tunnel local function handleControl() event.pull("key_down") if keyboard.isKeyDown(keyboard.keys.w) then tunnel.send("w") elseif keyboard.i...
gpl-3.0
dvr333/Zero-K
LuaRules/Utilities/unitTypeChecker.lua
3
1281
local moveType = {} for i = 1, #UnitDefs do local ud = UnitDefs[i] if ud.canFly or ud.isAirUnit then if ud.isHoveringAirUnit then moveType[i] = 1 -- gunship else moveType[i] = 2 -- fixedwing end elseif not ud.isImmobile then moveType[i] = 2 -- ground/sea end moveType[i] = false -- For structures or a...
gpl-2.0
santssoft/darkstar
scripts/zones/Port_Bastok/npcs/Talib.lua
9
2647
----------------------------------- -- Area: Port Bastok -- NPC: Talib -- Starts Quest: Beauty and the Galka -- Starts & Finishes Quest: Shady Business ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/shop"); require("scripts/globals...
gpl-3.0
2089764/Atlas
lib/proxy/filter.lua
41
1906
module("proxy.filter", package.seeall) local config_file = string.format("proxy.conf.config_%s", proxy.global.config.instance) local config = require(config_file) local whitelist = config.whitelist local blacklist = config.blacklist local log = require("proxy.log") local level = log.level local write_log = log.writ...
gpl-2.0
Schaka/PartyAbilityBarsLegion
libs/Spells/spell_lib_shaman.lua
2
7852
local name, SPELLDB = ... SPELLDB.SHAMAN = {} SPELLDB.SHAMAN.ELEMENTAL = {} SPELLDB.SHAMAN.ENHANCEMENT = {} SPELLDB.SHAMAN.RESTORATION = {} SPELLDB.SHAMAN.ELEMENTAL.spells = { 208683, 2008 --[[Ancestral Spirit--]], 556 --[[Astral Recall--]], 108271 --[[Astral Shift--]], 2825 --[[Bloodlust-...
gpl-3.0
hylthink/Sample_Lua
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Armature.lua
10
5702
-------------------------------- -- @module Armature -- @extend Node,BlendProtocol -- @parent_module ccs -------------------------------- -- Get a bone with the specified name<br> -- param name The bone's name you want to get -- @function [parent=#Armature] getBone -- @param self -- @param #string name -- @return Bo...
mit
m241dan/darkstar
scripts/zones/Jugner_Forest_[S]/npcs/Larkin_CA.lua
13
1045
----------------------------------- -- Area: Jugner Forest (S) -- NPC: Larkin, C.A. -- Type: Campaign Arbiter -- @pos 50.217 -1.769 51.095 82 ----------------------------------- package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Jugner_Fores...
gpl-3.0
hadirahimi1380/selfprivate
bot/utils.lua
473
24167
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
m241dan/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Geltpix.lua
19
1124
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Geltpix -- @zone 80 -- @pos 154 -2 103 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); ----------------------------------- -- on...
gpl-3.0
santssoft/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_0rt.lua
12
1083
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: Oil lamp -- !pos -60 -23 60 27 ----------------------------------- require("scripts/globals/missions"); local ID = require("scripts/zones/Phomiuna_Aqueducts/IDs"); ----------------------------------- function onTrade(player,npc,trade) end; funct...
gpl-3.0
santssoft/darkstar
scripts/globals/spells/bluemagic/screwdriver.lua
8
1679
----------------------------------------- -- Spell: Screwdriver -- Deals critical damage. Chance of critical hit varies with TP -- Spell cost: 21 MP -- Monster Type: Aquans -- Spell Type: Physical (Piercing) -- Blue Magic Points: 3 -- Stat Bonus: VIT+1, CHR+1, HP+10 -- Level: 26 -- Casting Time: 0.5 seconds -- Recast T...
gpl-3.0
dvr333/Zero-K
scripts/turretgauss.lua
1
6637
include "constants.lua" include "aimPosTerraform.lua" --pieces local concrete, belt = piece('Concrete','Belt'); local wheel, arm, hand, cannon = piece('Wheel', 'Arm','Hand', 'Cannon'); local barrel1, barrel2, barrel3, muzzle = piece("Barrel1","Barrel2","Barrel3","Muzzle"); local muzzleProxy = piece("MuzzleProxy") loca...
gpl-2.0
m241dan/darkstar
scripts/zones/Dynamis-Windurst/mobs/Wuu_Qoho_the_Razorclaw.lua
4
1041
----------------------------------- -- Area: Dynamis Windurst -- NPC: Wuu Qoho the Razorclaw -- Boss Trigger for RDM NM ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; ----------------------------------- -...
gpl-3.0
m241dan/darkstar
scripts/zones/Bastok_Mines/npcs/Deidogg.lua
12
5208
----------------------------------- -- Area: Bastok Mines -- NPC: Deidogg -- Starts and Finishes Quest: The Talekeeper's Truth, The Talekeeper's Gift (start) -- @pos -13 7 29 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require(...
gpl-3.0
dvr333/Zero-K
LuaUI/Widgets/unit_auto_group.lua
5
12685
local versionNum = '3.031' function widget:GetInfo() return { name = "Auto Group", desc = "v".. (versionNum) .." Alt+0-9 sets autogroup# for selected unit type(s). Newly built units get added to group# equal to their autogroup#. Alt BACKQUOTE (~) remove units. Type '/luaui autogroup help' for help or view s...
gpl-2.0
santssoft/darkstar
scripts/globals/weaponskills/knights_of_round.lua
10
1784
----------------------------------- -- Knights Of Round -- Sword Weapon Skill -- Skill Level: N/A -- Caliburn/Excalibur: Additional Effect: Regen. -- Regen 10HP/Tick, duration varies with TP. -- Available only when equipped with the Relic Weapons Caliburn (Dynamis use only) or Excalibur. -- Also available without after...
gpl-3.0