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
lichtl/darkstar
scripts/zones/Maze_of_Shakhrami/npcs/Rockwell.lua
13
2288
----------------------------------- -- Area: Maze of Shakhrami -- Quest: Your Crystal Ball -- @pos -18 -13 181 198 ----------------------------------- package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/title...
gpl-3.0
lichtl/darkstar
scripts/zones/Lower_Jeuno/TextIDs.lua
7
5193
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6384; -- Obtained: <item>. GIL_OBTAINED = 6385; -- Obtained <number> gil. KEYITEM_OBTAINED = 6387; -- Obtained...
gpl-3.0
lichtl/darkstar
scripts/zones/Windurst_Waters/npcs/Maysoon.lua
25
2162
----------------------------------- -- Area: Windurst Waters -- NPC: Maysoon -- Starts and Finishes Quest: Hoist the Jelly, Roger -- Involved in Quests: Cook's Pride -- @zone 238 -- @pos -105 -2 69 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/mobskills/tail_swing.lua
11
1029
--------------------------------------------- -- Tail Swing -- -- Description: Deals damage to a single target. Additional effect: Bind -- Type: Physical -- Utsusemi/Blink absorb: 1 shadow -- Range: Melee -- Notes: --------------------------------------------- require("scripts/globals/settings") require("scripts/...
gpl-3.0
OctoEnigma/shiny-octo-system
gamemodes/terrortown/entities/weapons/weapon_ttt_defuser.lua
2
2406
AddCSLuaFile() SWEP.HoldType = "slam" if CLIENT then SWEP.PrintName = "defuser_name" SWEP.Slot = 7 SWEP.DrawCrosshair = false SWEP.ViewModelFOV = 10 SWEP.EquipMenuData = { type = "item_weapon", desc = "defuser_desc" }; SWEP.I...
mit
lichtl/darkstar
scripts/zones/Lower_Delkfutts_Tower/npcs/_540.lua
14
2241
----------------------------------- -- Area: Lower Delkfutt's Tower -- NPC: Cermet Door -- Cermet Door for Windy Ambassador -- Windurst Mission 3.3 "A New Journey" -- @pos 636 16 59 184 ----------------------------------- package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil; --------------------------...
gpl-3.0
PrimaStudios/ProjectPrima
src/libs/SUIT-master/imagebutton.lua
8
1338
-- This file is part of SUIT, copyright (c) 2016 Matthias Richter local BASE = (...):match('(.-)[^%.]+$') return function(core, normal, ...) local opt, x,y = core.getOptionsAndSize(...) opt.normal = normal or opt.normal or opt[1] opt.hovered = opt.hovered or opt[2] or opt.normal opt.active = opt.active or opt[3] ...
apache-2.0
stanxii/indexRiver
lua/bbs_main.lua
1
2501
local ickey_passwd="C=299792.458" --我方密钥 local ip=ngx.var.remote_addr --客户端IP local real_ip = ngx.req.get_headers()["x_forwarded_for"] if real_ip ~= nil then for astr in string.gfind(real_ip, "%d+%.%d+%.%d+%.%d+") do if string.find(astr,"10%.")==nil then --10 if string.find(astr,"172%.16"...
apache-2.0
lichtl/darkstar
scripts/zones/La_Theine_Plateau/npcs/Laurisse.lua
14
1795
----------------------------------- -- Area: La Theine Plateau -- NPC: Laurisse -- Involved in Mission: The Rescue Drill -- @pos -292 28 143 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions");...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Sacrarium/npcs/qm7.lua
9
1607
----------------------------------- -- Area: Sacrarium -- NPC: qm7 (???) -- Notes: Used to spawn Old Prof. Mariselle -- !pos 22.669 -3.111 -127.318 28 ----------------------------------- local ID = require("scripts/zones/Sacrarium/IDs"); require("scripts/globals/keyitems"); require("scripts/globals/missions"); func...
gpl-3.0
lichtl/darkstar
scripts/zones/Beadeaux/npcs/Haggleblix.lua
14
7234
----------------------------------- -- Area: Beadeaux -- NPC: Haggleblix -- Type: Dynamis NPC -- @pos -255.847 0.595 106.485 147 ----------------------------------- package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/glob...
gpl-3.0
lichtl/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Porter_Moogle.lua
14
1546
----------------------------------- -- Area: Tavnazian_Safehold -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 26 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Tavnazian_Sa...
gpl-3.0
OctoEnigma/shiny-octo-system
gamemodes/darkrp/gamemode/modules/base/sh_interface.lua
7
40603
DarkRP.registerDarkRPVar = DarkRP.stub{ name = "registerDarkRPVar", description = "Register a DarkRPVar by name. You should definitely register DarkRPVars. Registering DarkRPVars will make networking much more efficient.", parameters = { { name = "name", description = "The na...
mit
lichtl/darkstar
scripts/globals/spells/bluemagic/queasyshroom.lua
31
1990
----------------------------------------- -- Spell: Queasyshroom -- Additional effect: Poison. Duration of effect varies with TP -- Spell cost: 20 MP -- Monster Type: Plantoids -- Spell Type: Physical (Piercing) -- Blue Magic Points: 2 -- Stat Bonus: HP-5, MP+5 -- Level: 8 -- Casting Time: 2 seconds -- Recast Time: 15 ...
gpl-3.0
lichtl/darkstar
scripts/zones/Bastok_Mines/npcs/Gawful.lua
14
1103
----------------------------------- -- Area: Bastok Mines -- NPC: Gawful -- Type: Item Deliverer -- @zone 234 -- @pos -22.416 -3.999 -56.076 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("script...
gpl-3.0
Mudlet-cn/mudlet
src/mudlet-lua/lua/DebugTools.lua
7
6517
---------------------------------------------------------------------------------- --- Mudlet Debug Tools ---------------------------------------------------------------------------------- --- Function colorizes all matched regex capture groups on the screen. --- This is very handy if you make complex regex and want...
gpl-2.0
lichtl/darkstar
scripts/zones/Port_Jeuno/npcs/Zedduva.lua
14
1401
----------------------------------- -- Area: Port Jeuno -- NPC: Zedduva -- @zone 246 -- @pos -61 7 -54 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("sc...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/spells/kaustra.lua
12
1382
-------------------------------------- -- Spell: Kaustra -- Consumes 20% of your maximum MP. Relentless -- dark damage slowly devours an enemy. -------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/magic") ----------------------------------...
gpl-3.0
punisherbot/he
plugins/google.lua
722
1037
local function googlethat(query) local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&" local parameters = "q=".. (URL.escape(query) or "") -- Do the request local res, code = https.request(api..parameters) if code ~=200 then return nil end local data = json:decode(res) local r...
gpl-2.0
RunAwayDSP/darkstar
scripts/globals/ephemeral.lua
6
6004
---------------------------------------------- -- Global functionality for Ephemeral Moogles ---------------------------------------------- require("scripts/globals/npc_util") ---------------------------------------------- dsp = dsp or {} dsp.ephemeral = {} -- Cap per crystal type that can be stored. Retail/Default ...
gpl-3.0
MightyPirates/OC-LuaJ
luaj-test/src/test/resources/lua5.2.1-tests/all.lua
1
5647
#!../lua local version = "Lua 5.2" if _VERSION ~= version then io.stderr:write("\nThis test suite is for ", version, ", not for ", _VERSION, "\nExiting tests\n") return end -- next variables control the execution of some tests -- true means no test (so an undefined variable does not skip a test) -- defaults ...
mit
lichtl/darkstar
scripts/globals/mobskills/Chains_of_Rage.lua
18
1157
--------------------------------------------- -- Chains of Apathy -- --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/keyitems"); require("scripts/zones/Empyreal_Paradox/TextIDs"); -...
gpl-3.0
lichtl/darkstar
scripts/zones/Northern_San_dOria/npcs/Bertenont.lua
14
1763
----------------------------------- -- Area: Northern San d'Oria -- NPC: Bertenont -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- @pos -165 0.1 226 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/z...
gpl-3.0
OctoEnigma/shiny-octo-system
addons/ulx/lua/ulx/xgui/server/sv_bans.lua
1
9548
--sv_bans -- by Stickly Man! --Server-side code related to the bans menu. local bans={} function bans.init() ULib.ucl.registerAccess( "xgui_managebans", "superadmin", "Allows addition, removal, and viewing of bans in XGUI.", "XGUI" ) xgui.addDataType( "bans", function() return { count=table.Count( ULib.bans ) } end...
mit
lichtl/darkstar
scripts/zones/Periqia/instances/seagull_grounded.lua
29
4665
----------------------------------- -- -- Assault: Seagull Grounded -- ----------------------------------- require("scripts/zones/Periqia/IDs"); ----------------------------------- -- afterInstanceRegister ----------------------------------- function afterInstanceRegister(player) local instance = player:getIns...
gpl-3.0
lichtl/darkstar
scripts/zones/Bastok_Mines/npcs/Tami.lua
17
2878
----------------------------------- -- Area: Bastok Mines -- NPC: Tami -- Starts & Finishes Repeatable Quest: Groceries -- Note: Repeatable until proper completion ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
OctoEnigma/shiny-octo-system
gamemodes/sandbox/entities/weapons/gmod_tool/stool.lua
1
4834
ToolObj = {} include( "ghostentity.lua" ) include( "object.lua" ) if ( CLIENT ) then include( "stool_cl.lua" ) end function ToolObj:Create() local o = {} setmetatable( o, self ) self.__index = self o.Mode = nil o.SWEP = nil o.Owner = nil o.ClientConVar = {} o.ServerConVar = {} o.Objects = ...
mit
lichtl/darkstar
scripts/zones/Port_San_dOria/npcs/Ilgusin.lua
14
1051
----------------------------------- -- Area: Port San d'Oria -- NPC: Ilgusin -- Type: Standard NPC -- @zone 232 -- @pos -68.313 -6.5 -36.985 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; -------------...
gpl-3.0
taiha/luci
protocols/luci-proto-relay/luasrc/model/cbi/admin_network/proto_relay.lua
70
1945
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local ipaddr, network local forward_bcast, forward_dhcp, gateway, expiry, retry, table ipaddr = section:taboption("general", Value, "ipaddr", translate("Local IPv4 address"), t...
apache-2.0
ld-test/loop
lua/loop/compiler/Conditional.lua
12
1934
-------------------------------------------------------------------------------- ---------------------- ## ##### ##### ###### ----------------------- ---------------------- ## ## ## ## ## ## ## ----------------------- ---------------------- ## ## ## ## ## ###### --------------------...
mit
RunAwayDSP/darkstar
scripts/globals/weaponskills/combo.lua
10
1459
----------------------------------- -- Combo -- Hand-to-Hand weapon skill -- Skill level: 5 -- Delivers a threefold attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Thunder Gorget. -- Aligned with the Thunder Belt. -- Element: None -- Modifiers: STR:20% DEX:20% -- 100%TP 200%TP ...
gpl-3.0
OctoEnigma/shiny-octo-system
gamemodes/sandbox/entities/weapons/gmod_tool/stools/motor.lua
1
4943
TOOL.Category = "Constraints" TOOL.Name = "#tool.motor.name" TOOL.ClientConVar[ "torque" ] = "500" TOOL.ClientConVar[ "friction" ] = "1" TOOL.ClientConVar[ "nocollide" ] = "1" TOOL.ClientConVar[ "forcetime" ] = "0" TOOL.ClientConVar[ "fwd" ] = "45" TOOL.ClientConVar[ "bwd" ] = "42" TOOL.ClientConVar[ "toggle" ] = "0"...
mit
zegotinha/LiveShift
vlclib/windows/lua/modules/simplexml.lua
4
3833
--[==========================================================================[ simplexml.lua: Lua simple xml parser wrapper --[==========================================================================[ Copyright (C) 2010 Antoine Cellerier $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org> This progra...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/spells/bluemagic/light_of_penance.lua
12
2380
----------------------------------------- -- Spell: Light of Penance -- Reduces an enemy's TP. Additional effect: Blindness and "Bind" -- Spell cost: 53 MP -- Monster Type: Beastmen -- Spell Type: Magical (Light) -- Blue Magic Points: 5 -- Stat Bonus: CHR+1, HP+15 -- Level: 58 -- Casting Time: 3 seconds -- Recast Time:...
gpl-3.0
lichtl/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/qm7.lua
57
2181
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: qm7 (??? - Ancient Papyrus Shreds) -- Involved in Quest: In Defiant Challenge -- @pos 105.275 -32 92.551 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------...
gpl-3.0
lichtl/darkstar
scripts/globals/mobskills/Tourbillion.lua
31
1404
--------------------------------------------- -- Tourbillion -- -- Description: Delivers an area attack. Additional effect duration varies with TP. Additional effect: Weakens defense. -- Type: Physical -- Shadow per hit -- Range: Unknown range --------------------------------------------- require("scripts/globals/...
gpl-3.0
lichtl/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Despachiaire.lua
14
2761
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Despachiaire -- @pos 108 -40 -83 26 ----------------------------------- require("scripts/globals/missions"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ---...
gpl-3.0
lichtl/darkstar
scripts/globals/spells/bluemagic/tail_slap.lua
21
2101
----------------------------------------- -- Spell: Tail Slap -- Delivers an area attack. Additional effect: "Stun." Damage varies with TP -- Spell cost: 77 MP -- Monster Type: Beastmen -- Spell Type: Physical (Blunt) -- Blue Magic Points: 4 -- Stat Bonus: MND+2 -- Level: 69 -- Casting Time: 1 seconds -- Recast Time: 2...
gpl-3.0
lichtl/darkstar
scripts/commands/exec.lua
54
1121
--------------------------------------------------------------------------------------------------- -- func: exec -- desc: Allows you to execute a Lua string directly from chat. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 4, para...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/RuLude_Gardens/npcs/_6r8.lua
9
1986
----------------------------------- -- Area: Ru'Lud Gardens -- Door: Windurstian Ambassador -- Windurst Missions 3.3 "A New Journey" and 4.1 "Magicite" -- !pos 31 9 -22 243 ----------------------------------- local ID = require("scripts/zones/RuLude_Gardens/IDs") require("scripts/globals/keyitems") require("scripts/glo...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/abilities/ice_maneuver.lua
9
1877
----------------------------------- -- Ability: Ice Maneuver -- Enhances the effect of ice attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status") requir...
gpl-3.0
lichtl/darkstar
scripts/zones/Port_Bastok/npcs/Raifa.lua
14
1039
----------------------------------- -- Area: Port Bastok -- NPC: Raifa -- Type: Quest Giver -- @zone 236 -- @pos -166.416 -8.48 7.153 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; -------------------------...
gpl-3.0
sjznxd/lc-20130222
applications/luci-statistics/luasrc/model/cbi/luci_statistics/ping.lua
80
1397
--[[ Luci configuration model for statistics - collectd ping plugin configuration (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
apache-2.0
sdkbox/sdkbox-facebook-sample-v2
samples/Lua/TestLua/Resources/luaScript/ParticleTest/ParticleTest.lua
7
43201
local SceneIdx = -1 local MAX_LAYER = 42 local emitter = nil local background = nil local labelAtlas = nil local titleLabel = nil local subtitleLabel = nil local baseLayer_entry = nil local s = CCDirector:sharedDirector():getWinSize() local function backAction() SceneIdx = SceneIdx - 1 if SceneIdx < 0 then ...
mit
lichtl/darkstar
scripts/globals/spells/aisha_ichi.lua
27
1608
----------------------------------------- -- Spell: Aisha: Ichi ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/mobskills/abyss_blast.lua
11
1085
--------------------------------------------- -- Abyss Blast -- -- Description: Blasts a single target with dark energy. Additional effect: Blind -- Type: Magical -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown -- Notes: Blinds target --------------------------------------------- require("scripts/glo...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/abilities/pets/attachments/strobe.lua
11
1471
----------------------------------- -- Attachment: Strobe -- http://forum.square-enix.com/ffxi/threads/49065?p=565264#post565264 -- Values are currently PRIOR TO NOVEMBER 2015 UPDATE! ----------------------------------- require("scripts/globals/automaton") require("scripts/globals/status") -----------------------------...
gpl-3.0
scscgit/scsc_wildstar_addons
ChaChing/lib/GeminiAddon.lua
2
24902
--- GeminiAddon-1.0 -- Formerly DaiAddon -- Inspired by AceAddon -- Modules and packages embeds are based heavily on AceAddon's functionally, so credit goes their authors. -- -- Allows the addon to have modules -- Allows for packages to be embedded (if supported) into the addon and it's modules -- -- The core callbacks...
mit
RunAwayDSP/darkstar
scripts/globals/items/frostreaper.lua
12
1065
----------------------------------------- -- ID: 16784 -- Item: Frostreaper -- Additional Effect: Ice Damage ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------- function onAdditionalEffect(player...
gpl-3.0
lichtl/darkstar
scripts/zones/Valkurm_Dunes/npcs/Nyata-Mobuta_WW.lua
14
3336
----------------------------------- -- Area: Valkurm Dunes -- NPC: Nyata-Mobuta, W.W. -- Type: Outpost Conquest Guards -- @pos 139.394 -7.885 100.384 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conque...
gpl-3.0
lichtl/darkstar
scripts/zones/Bastok_Mines/npcs/Zemedars.lua
17
1780
----------------------------------- -- Area: Bastok Mines -- NPC: Zemedars -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Bastok_Mines/TextIDs"); ----------------------------------- -- onT...
gpl-3.0
LuaAdvanced/XTLanguage
start.lua
1
1347
XTL = require('src/XTL') -- Redis wget https://raw.githubusercontent.com/nrk/redis-lua/version-2.0/src/redis.lua redis_server = require('redis') redis = redis_server.connect('127.0.0.1', 6379) print('\n\nREDIS! TEST!') -- REDIS local ping = XTL.load_redis(redis) if ping then print('REDIS OK :)') else print('REDIS w...
gpl-2.0
lichtl/darkstar
scripts/zones/La_Theine_Plateau/npcs/Augevinne.lua
14
1628
----------------------------------- -- Area: La Theine Plateau -- NPC: Augevinne -- Involved in Mission: The Rescue Drill -- @pos -361 39 266 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions")...
gpl-3.0
NiLuJe/koreader
frontend/ui/widget/container/alphacontainer.lua
4
1750
--[[-- AlphaContainer will paint its content (a single widget) at the specified opacity level (0..1) Example: local alpha alpha = AlphaContainer:new{ alpha = 0.7, FrameContainer:new{ background = Blitbuffer.COLOR_WHITE, bordersize = Size.border.default, mar...
agpl-3.0
RunAwayDSP/darkstar
scripts/commands/promote.lua
22
1862
--------------------------------------------------------------------------------------------------- -- func: promote -- desc: Promotes the player to a new GM level. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, parameters = "si"...
gpl-3.0
lichtl/darkstar
scripts/zones/Bastok_Markets/npcs/Hortense.lua
15
1936
----------------------------------- -- Area: Bastok Markets -- NPC: Hortense -- 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; require("scripts/...
gpl-3.0
vasilecristian/SDL2_ttf
prj/premake5.lua
1
1563
include "../../premake/common/" solution "SDL2_ttf" addCommonConfig() project "SDL2_ttf" files { "../src/SDL_ttf.c", "../include/*.h", } includedirs { "../include/", "../src/", "../../Freetype/include/", "../../SDL2/include", } kind "...
mit
lichtl/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/qm8.lua
57
2181
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: qm8 (??? - Ancient Papyrus Shreds) -- Involved in Quest: In Defiant Challenge -- @pos 105.275 -32 92.551 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------...
gpl-3.0
ld-test/loop
lua/loop/debug/Inspector.lua
11
12926
-------------------------------------------------------------------------------- ---------------------- ## ##### ##### ###### ----------------------- ---------------------- ## ## ## ## ## ## ## ----------------------- ---------------------- ## ## ## ## ## ###### --------------------...
mit
pnorman/ClearTables
test-water.lua
2
2759
--[[ This file is part of ClearTables @author Paul Norman <penorman@mac.com> @copyright 2015-2016 Paul Norman, MIT license ]]-- require "water" print("water.lua tests") print("TESTING: accept_water_area") assert(not accept_water_area({}), "test failed: untagged") assert(not accept_water_area({foo="bar"}), "test fail...
mit
lichtl/darkstar
scripts/globals/items/slice_of_salted_hare.lua
18
1177
----------------------------------------- -- ID: 5737 -- Item: slice_of_salted_hare -- Food Effect: 30Min, All Races ----------------------------------------- -- HP 10 -- Strength 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --...
gpl-3.0
lichtl/darkstar
scripts/zones/Sealions_Den/mobs/Mammet-22_Zeta.lua
23
4284
----------------------------------- -- Area: Sealions Den -- Mob: Mammet-22_Zeta ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob) end; ------------------------------...
gpl-3.0
Mudlet-cn/mudlet
src/mudlet-lua/lua/geyser/GeyserGeyser.lua
16
2423
-------------------------------------- -- -- -- The Geyser Layout Manager by guy -- -- -- -------------------------------------- --================================================== -- Create the Geyser Root Container --=================================...
gpl-2.0
amerlyq/airy
%wf/obsolete/imapfilter/cfg/filters.lua
1
1051
-- vim:ft=lua:ts=2:sw=2:sts=2 -- personal(m, accs[1]) -- TEMP:FIXED: until I fix imapfilter code to support base64 match_subject -- SEE: http://lua-users.org/wiki/BaseSixtyFour -- REQ: https://github.com/lefcha/imapfilter/issues/127 -- SEE: https://maildrop.cc/ function mv_from(acc, m, dst, tbl) for i, v in pairs(tb...
mit
lc412/skynet
3rd/lpeg/re.lua
160
6286
-- $Id: re.lua,v 1.44 2013/03/26 20:11:40 roberto Exp $ -- imported functions and modules local tonumber, type, print, error = tonumber, type, print, error local setmetatable = setmetatable local m = require"lpeg" -- 'm' will be used to parse expressions, and 'mm' will be used to -- create expressions; that is, 're' ...
mit
Benjarobbi/UzzBott
plugins/media.lua
297
1590
do local function run(msg, matches) local receiver = get_receiver(msg) local url = matches[1] local ext = matches[2] local file = download_to_file(url) local cb_extra = {file_path=file} local mime_type = mimetype.get_content_type_no_sub(ext) if ext == 'gif' then print('send_file') send_docum...
gpl-2.0
qenter/vlc-android
vlc/share/lua/modules/dkjson.lua
95
25741
--[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.1* This module writes no global values, not even the module table. Import it using json = require ("dkjson") Exported functions and values: `json.encode (object [, state])` -------------------------------- ...
gpl-2.0
lichtl/darkstar
scripts/zones/Norg/npcs/Laisrean.lua
5
2353
----------------------------------- -- Area: Norg -- NPC: Laisrean -- Starts and Ends Quest: The Sahagin's Stash -- @zone 252 -- @pos -2.251 -1 21.654 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("s...
gpl-3.0
ali123345/ali-
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-3.0
telergybot/5252265
plugins/ingroup.lua
527
44020
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
lichtl/darkstar
scripts/zones/Abyssea-Empyreal_Paradox/Zone.lua
33
1376
----------------------------------- -- -- Zone: Abyssea - Empyreal_Paradox -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Empyreal_Paradox/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Ab...
gpl-3.0
lichtl/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Machionage.lua
14
1611
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Machionage -- @zone 80 -- @pos -255 -3 109 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); require("scripts/globals/quests"); ---...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/_4fx.lua
9
1492
----------------------------------- -- Area: Temple of Uggalepih -- NPC: Granite Door -- !pos 340 0.1 329 159 ----------------------------------- local ID = require("scripts/zones/Temple_of_Uggalepih/IDs") require("scripts/globals/keyitems") require("scripts/globals/missions") require("scripts/globals/npc_util") -----...
gpl-3.0
lichtl/darkstar
scripts/globals/mobskills/red_lotus_blade.lua
18
1364
--------------------------------------------- -- red lotus blade -- -- Description: Delivers a four-hit attack. Chance of critical varies with TP. -- Type: Physical -- Shadow per hit -- Range: Melee --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"...
gpl-3.0
da03/OpenNMT
test/onmt/MemoryOptimizerTest.lua
8
1492
require('onmt.init') local tester = ... local memoryOptimizerTest = torch.TestSuite() local function testSequential(sequential, input, shareOutputs) local sequencer = onmt.Sequencer(sequential) sequencer:training() local memoryOptimizer = onmt.utils.MemoryOptimizer.new({ sequencer }) local output = sequenc...
mit
NiLuJe/koreader
frontend/ui/widget/overlapgroup.lua
4
3209
--[[-- A layout widget that puts objects above each other. --]] local BD = require("ui/bidi") local Geom = require("ui/geometry") local WidgetContainer = require("ui/widget/container/widgetcontainer") local OverlapGroup = WidgetContainer:extend{ -- Note: we default to allow_mirroring = true. -- When using Lef...
agpl-3.0
RunAwayDSP/darkstar
scripts/zones/Northern_San_dOria/npcs/Andreas.lua
12
2331
----------------------------------- -- Area: Northern San d'Oria -- NPC: Andreas -- Type: Guildworker's Union Representative -- !pos -189.282 10.999 262.626 231 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/crafting"); local ID = require("scripts/zones/Northern_San_d...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/spells/paralyze.lua
12
1661
----------------------------------------- -- Spell: Paralyze -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND. ----------------------------------------- require("scripts/globals/magic") require("scripts/globals/msg") require("scripts/globals/status") require("scripts/globals/...
gpl-3.0
lichtl/darkstar
scripts/globals/spells/enchanting_etude.lua
27
1848
----------------------------------------- -- Spell: Enchanting Etude -- Static CHR Boost, BRD 22 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function o...
gpl-3.0
qenter/vlc-android
vlc/share/lua/sd/icecast.lua
82
2757
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Fabio Ritrovato <sephiroth87 at videolan dot org> 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 ...
gpl-2.0
NiLuJe/koreader
frontend/device/android/event_map.lua
9
1241
return { [29] = "A", [30] = "B", [31] = "C", [32] = "D", [33] = "E", [34] = "F", [35] = "G", [36] = "H", [37] = "I", [38] = "J", [39] = "K", [40] = "L", [41] = "M", [42] = "N", [43] = "O", [44] = "P", [45] = "Q", [46] = "R", [47] = "S", [48] = "T", [49] = "U", [50] = "V", [51] = "W", [52] = "X", [53...
agpl-3.0
lichtl/darkstar
scripts/zones/Promyvion-Holla/mobs/Memory_Receptacle.lua
15
7516
----------------------------------- -- Area: Promyvion-Holla -- MOB: Memory Receptacle -- Todo: clean up disgustingly bad formatting ----------------------------------- package.loaded["scripts/zones/Promyvion-Holla/TextIDs"] = nil; ----------------------------------- require( "scripts/zones/Promyvion-Holla/TextIDs" );...
gpl-3.0
Anarchid/Zero-K
LuaRules/Gadgets/cmd_block_ally_attack.lua
5
2588
function gadget:GetInfo() return { name = "Block Ally and Neutral Attack", desc = "Blocks attack command from being issued on allies and neutrals.", author = "GoogleFrog", date = "29 July 2017", license = "GNU GPL, v2 or later", layer = 0, enabled = true, } end include("LuaRules/Configs/cu...
gpl-2.0
Anarchid/Zero-K
effects/fires.lua
7
10955
-- flamer -- fire1_burn1_flame1 -- fire1_smoke1 -- fire1_burnlight -- fire1_burn1_flame3 -- fire1_burn1_flame4 -- fire1_burn1 -- fire1_burn1_flame2 -- fire1 return { ["flamer"] = { fire = { air = true, class = [[CSimpleParticleSystem]], count = 1, ...
gpl-2.0
PichotM/DarkRP
gamemode/modules/hitmenu/sh_init.lua
5
3198
local plyMeta = FindMetaTable("Player") local hitmanTeams = {} local minHitDistanceSqr = GM.Config.minHitDistance * GM.Config.minHitDistance function plyMeta:isHitman() return hitmanTeams[self:Team()] end function plyMeta:hasHit() return self:getDarkRPVar("hasHit") or false end function plyMeta:getHitTarget(...
mit
amircheshme/megatron
plugins/gnuplot.lua
622
1813
--[[ * Gnuplot plugin by psykomantis * dependencies: * - gnuplot 5.00 * - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html * ]] -- Gnuplot needs absolute path for the plot, so i run some commands to find where we are local outputFile = io.popen("pwd","r") io.input(outputFile...
gpl-2.0
mnemnion/grym
src/Orbit/header.lua
1
1316
local L = require "lpeg" local Node = require "espalier/node" local m = require "Orbit/morphemes" local H = setmetatable({}, { __index = Node }) H.id = "header" H.__index = H H.__tostring = function(header) return "Lvl " .. tostring(header.level) .. " ^: " .. tostring(header.line...
mit
Whit3Tig3R/bestspammbot2
plugins/quotes.lua
651
1630
local quotes_file = './data/quotes.lua' local quotes_table function read_quotes_file() local f = io.open(quotes_file, "r+") if f == nil then print ('Created a new quotes file on '..quotes_file) serialize_to_file({}, quotes_file) else print ('Quotes loaded: '..quotes_file) f...
gpl-2.0
alireza1998/supergroup
plugins/quotes.lua
651
1630
local quotes_file = './data/quotes.lua' local quotes_table function read_quotes_file() local f = io.open(quotes_file, "r+") if f == nil then print ('Created a new quotes file on '..quotes_file) serialize_to_file({}, quotes_file) else print ('Quotes loaded: '..quotes_file) f...
gpl-2.0
alex85k/osm2pgsql
multi.lua
6
9017
-- This is an example Lua transform for a multi style -- It is not intended for use directly with --tag-transform-script but -- for use from multi.style.json -- -- See docs/lua.md and docs/multi.md -- These are copied from default.style -- If new "tags" are being generated in the Lua code they should normally be -- ad...
gpl-2.0
jerizm/kong
spec/01-unit/08-entities_schemas_spec.lua
3
17098
local api_schema = require "kong.dao.schemas.apis" local consumer_schema = require "kong.dao.schemas.consumers" local plugins_schema = require "kong.dao.schemas.plugins" local validations = require "kong.dao.schemas_validation" local validate_entity = validations.validate_entity --require "kong.tools.ngx_stub" descri...
apache-2.0
Neopallium/lua-pb
pb/proto/grammar.lua
1
5648
-- Copyright (c) 2010-2011 by Robert G. Jakabosky <bobby@neoawareness.com> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -...
mit
Mortazamakasaadi/conky
AConky/AConky/.lua.lua
1
6347
--[[ Ring Meters by londonali1010 (2009) This script draws percentage meters as rings. It is fully customisable; all options are described in the script. IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement on line 145 uses a d...
gpl-2.0
rathersleepy/gamecode4
Assets/Scripts/TeapotStates.lua
44
13650
--======================================================================== -- ActorManager.lua : Defines all the states for an AI controlled teapot -- -- Part of the GameCode4 Application -- -- GameCode4 is the sample application that encapsulates much of the source code -- discussed in "Game Coding Complete - 4t...
lgpl-3.0
syj2010syj/All-star-Battle
map/lua/game.lua
1
6885
game = {} local game = game game.debug = jass.s__sys_Debug game.heroes = {} game.trg_hero_spell = jass.CreateTrigger() game.trg_hero_skill = jass.CreateTrigger() function game.initHero(u) table.insert(game.heroes, u) if jass.GetOwningPlayer(u) == jass...
apache-2.0
lxl1140989/dmsdk
feeds/luci/applications/luci-samba/luasrc/model/cbi/samba.lua
79
2602
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at h...
gpl-2.0
Sewerbird/blooming-suns
src_old/resource/SpriteInstance.lua
1
1560
--SpriteInstance SpriteInstance = {} SpriteInstance.new = function (init) local init = init or {} if init.sprite == nil then error("Sprite instance without sprite ref: " .. inspect(init)) end local self = { sprite_ref = init.sprite_ref or GlobalSpriteBank.sprites[init.sprite], curr_anim = init.curr...
gpl-3.0
Mutos/SoC-Test-001
dat/factions/spawn/civilian.lua
11
1283
include("dat/factions/spawn/common.lua") -- @brief Spawns a single small ship. function spawn_patrol () local pilots = {} local civships = {{"Civilian Schroedinger", 8}, {"Civilian Llama", 8}, {"Civilian Gawain", 8}, {"Civilian Hyena", 13} ...
gpl-3.0
Insurgencygame/LivingDead
TheLivingDeadv0.1.sdd/units/unused/corack.lua
1
3031
return { corack = { acceleration = 0.2039999961853, brakerate = 0.42500001192093, buildcostenergy = 5428, buildcostmetal = 319, builddistance = 136, builder = true, buildpic = "CORACK.DDS", buildtime = 9709, canmove = true, category = "KBOT MOBILE ALL NOTSUB NOWEAPON NOTSHIP NOTAIR NOTHOVER SURFACE...
gpl-2.0
reborndb/reborn
extern/redis-2.8.13/deps/lua/test/sort.lua
889
1494
-- two implementations of a sort function -- this is an example only. Lua has now a built-in function "sort" -- extracted from Programming Pearls, page 110 function qsort(x,l,u,f) if l<u then local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u x[l],x[m]=x[m],x[l] -- swap pivot to first posit...
mit