repo_name
stringlengths
6
78
path
stringlengths
4
206
copies
stringclasses
281 values
size
stringlengths
4
7
content
stringlengths
625
1.05M
license
stringclasses
15 values
Kthulupwns/darkstar
scripts/zones/Southern_San_dOria/npcs/HomePoint#4.lua
12
1208
----------------------------------- -- Area: Southern San dOria -- NPC: HomePoint#4 -- @pos -165 -1 11 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Southern_San_dOria/TextIDs"); require("scripts/g...
gpl-3.0
scottcs/wyx
wyx/ui/CheckButton.lua
1
1733
local Class = require 'lib.hump.class' local Frame = getClass 'wyx.ui.Frame' local Button = getClass 'wyx.ui.Button' -- CheckButton -- a clickable Frame local CheckButton = Class{name='CheckButton', inherits=Button, function(self, ...) Button.construct(self, ...) self._checked = false end } -- destructor funct...
mit
Kthulupwns/darkstar
scripts/zones/Port_Bastok/npcs/Vattian.lua
36
1487
----------------------------------- -- Area: Port Bastok -- NPC: Vattian -- Only sells when Bastok controlls Kuzotz Region -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Port_Bastok/Te...
gpl-3.0
mightymadTV/gmod_deathmatch
teamdeathmatch/gamemode/player_shd.lua
1
4662
--[[--------------------------------------------------------- Name: gamemode:PlayerTraceAttack( ) Desc: A bullet has been fired and hit this player Return true to completely override internals -----------------------------------------------------------]] function GM:PlayerTraceAttack( ply, dmginfo, dir, trace...
gpl-2.0
ZeroNoFun/The-Aperture
lua/entities/ent_laser_catcher.lua
2
3328
AddCSLuaFile( ) ENT.Base = "gasl_base_ent" ENT.RenderGroup = RENDERGROUP_BOTH ENT.AutomaticFrameAdvance = true function ENT:SpawnFunction( ply, trace, ClassName ) if ( !APERTURESCIENCE.ALLOWING.laser_catcher && !ply:IsSuperAdmin() ) then ply:PrintMessage( HUD_PRINTTALK, "This entity is blocked" ) return end if ( ...
mit
Kthulupwns/darkstar
scripts/zones/Port_Jeuno/npcs/Gekko.lua
37
1360
----------------------------------- -- Area: Port Jeuno -- NPC: Gekko -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; require("scripts/zones/Port_Jeuno/TextIDs"); ----------------------------------- -- o...
gpl-3.0
kuoruan/luci
applications/luci-app-asterisk/luasrc/model/cbi/asterisk/dialplans.lua
68
2597
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local ast = require("luci.asterisk") cbimap = Map("asterisk", "Registered Trunks") cbimap.pageaction = false local sip_peers = { } cbimap.uci:foreach("asterisk", "sip", function(s) if s.type == "peer" then ...
apache-2.0
Kthulupwns/darkstar
scripts/zones/Gusgen_Mines/npcs/_5gb.lua
34
1345
----------------------------------- -- Area: Gusgen Mines -- NPC: _5gb (Lever B) -- @pos 19.999 -40.561 -54.198 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gusgen_Mines/TextIDs"); ------------...
gpl-3.0
amenophis1er/prosody-modules
mod_s2s_log_certs/mod_s2s_log_certs.lua
31
1617
module:set_global(); local dm_load = require "util.datamanager".load; local dm_store = require "util.datamanager".store; local datetime = require "util.datetime".datetime; local do_store = module:get_option_boolean(module:get_name().."_persist", false); local digest_algo = module:get_option_string(module:get_name().....
mit
GabrielNicolasAvellaneda/luvit-upstream
examples/broken/static-file-server.lua
6
1232
local mime = require('mime') local http = require('http') local url = require('url') local fs = require('fs') local Response = require('http').Response -- Monkey patch in a helper function Response:notFound(reason) self:writeHead(404, { ["Content-Type"] = "text/plain", ["Content-Length"] = #reason }) sel...
apache-2.0
himamm/uzzbot
plugins/xkcd.lua
628
1374
do function get_last_id() local res,code = https.request("http://xkcd.com/info.0.json") if code ~= 200 then return "HTTP ERROR" end local data = json:decode(res) return data.num end function get_xkcd(id) local res,code = http.request("http://xkcd.com/"..id.."/info.0.json") if code ~= 200 then return "HT...
gpl-2.0
Kthulupwns/darkstar
scripts/zones/Kazham/npcs/Lalapp.lua
19
1323
----------------------------------- -- Area: Kazham -- NPC: Lalapp -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); require("scripts/globals/pathfind"); local path = { -63.243702, -11.000023, -97.916130, ...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Windurst_Walls/npcs/Ojha_Rhawash.lua
37
3193
----------------------------------- -- Area: Windurst Walls -- NPC: Ojha Rhawash -- Starts and Finishes Quest: Flower Child -- @zone 239 -- @pos -209 0 -134 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Windurst_Walls/TextID...
gpl-3.0
mlody1039/ModernOts
data/talkactions/scripts/unban.lua
1
1596
function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return true end local account, tmp = getAccountIdByName(param), true if(account == 0) then account = getAccountIdByAccount(param) if(account == 0) then doPlayerSendTextMe...
gpl-3.0
lcagustini/globaljam
src/lib/class.lua
25
3024
--[[ Copyright (c) 2010-2013 Matthias Richter 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 to use, copy, modify, merge, publish, dis...
mit
mlody1039/ModernOts
data/npc/scripts/Lynda.lua
2
4587
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisap...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Nashmau/npcs/Yohj_Dukonlhy.lua
10
1450
----------------------------------- -- Area: Nashmau -- NPC: Yohj Dukonlhy -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Nashmau/TextIDs"); ----------------------------------- -- onT...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Northern_San_dOria/npcs/Coullene.lua
19
1483
----------------------------------- -- Area: Northern San d'Oria -- NPC: Coullene -- Type: Involved in Quest (Flyers for Regine) -- @zone: 231 -- @pos 146.420 0.000 127.601 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/PsoXja/npcs/_i9y.lua
17
1307
----------------------------------- -- Area: Pso'Xja -- NPC: _i9y (Crystal Receptor) -- @pos -389.980 -3.198 -203.595 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/PsoXja/TextIDs"); --------------------...
gpl-3.0
amenophis1er/prosody-modules
mod_admin_blocklist/mod_admin_blocklist.lua
20
1454
-- mod_admin_blocklist -- -- If a local admin has blocked a domain, don't allow s2s to that domain -- -- Copyright (C) 2015 Kim Alvefur -- -- This file is MIT/X11 licensed. -- module:depends("blocklist"); local st = require"util.stanza"; local jid_split = require"util.jid".split; local admins = module:get_option_inh...
mit
FPtje/DarkRP
gamemode/modules/chat/cl_chat.lua
1
3662
--[[--------------------------------------------------------------------------- Gamemode function ---------------------------------------------------------------------------]] function GM:OnPlayerChat() end --[[--------------------------------------------------------------------------- Add a message to chat ----------...
mit
Kthulupwns/darkstar
scripts/globals/mobskills/Amon_Drive.lua
6
1193
--------------------------------------------- -- Amon Drive -- -- Description: Performs an area of effect weaponskill. Additional effect: Paralysis + Petrification + Poison -- Type: Physical -- 2-3 Shadows? -- Range: Melee range radial -- Special weaponskill unique to Ark Angel TT. Deals ~100-400 damage. --------...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/VeLugannon_Palace/npcs/qm2.lua
9
1268
----------------------------------- -- Area: VeLugannon Palace -- NPC: qm2 (???) -- Notes: Used to spawn Brigandish Blade -- @pos 0.1 0.1 -286 177 ----------------------------------- package.loaded["scripts/zones/VeLugannon_Palace/TextIDs"] = nil; ----------------------------------- require("scripts/zones/...
gpl-3.0
AGTMADCAT/naev
dat/factions/equip/collective.lua
9
1970
-- Generic equipping routines, helper functions and outfit definitions. include("dat/factions/equip/generic.lua") --[[ -- New script to equip the Collective drone swarm. Code probably crap. -- -- TODO: Give Heavy Drones a proper, unique, and varied weapon loadout. Creativity is weak right now. Bleh. -- ~Areze --]]...
gpl-3.0
aa65535/luci
applications/luci-app-asterisk/luasrc/model/cbi/asterisk/phones.lua
68
2736
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local ast = require("luci.asterisk") cbimap = Map("asterisk", "Registered Phones") cbimap.pageaction = false local sip_peers = { } cbimap.uci:foreach("asterisk", "sip", function(s) if s.type ~= "peer" then ...
apache-2.0
pengzj/skynet
lualib/mongo.lua
5
8663
local bson = require "bson" local socket = require "socket" local socketchannel = require "socketchannel" local skynet = require "skynet" local driver = require "mongo.driver" local md5 = require "md5" local rawget = rawget local assert = assert local bson_encode = bson.encode local bson_encode_order = bson.encode_ord...
mit
Kthulupwns/darkstar
scripts/commands/addmission.lua
3
1095
--------------------------------------------------------------------------------------------------- -- func: @addmission <logID> <missionID> <player> -- auth: <Unknown>, modified by TeoTwawki -- desc: Adds a mission to the GM or target players log. -------------------------------------------------------------------...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Bastok_Markets/npcs/Zhikkom.lua
36
1504
----------------------------------- -- Area: Bastok Markets -- NPC: Zhikkom -- 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(...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/mobskills/Spike_Flail.lua
6
1250
--------------------------------------------------- -- Spike Flail -- Deals extreme damage in a threefold attack to targets behind the user. --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpmoves"); ...
gpl-3.0
jlopenwrtluci/luci
modules/luci-base/luasrc/i18n.lua
74
1344
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. module("luci.i18n", package.seeall) require("luci.util") local tparser = require "luci.template.parser" table = {} i18ndir = luci.util.libpath() .. "/i18n/" loaded = {} context = luci.util.threadlocal() def...
apache-2.0
Kthulupwns/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Kunai.lua
17
1476
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Animated Kunai ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- functio...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Misareaux_Coast/npcs/_0p4.lua
9
1652
----------------------------------- -- Area: Misareaux Coast -- NPC: Storage Compartment -- COP spawn Boggelmann. ----------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zon...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Dho_Gates/Zone.lua
50
1181
----------------------------------- -- -- Zone: Foret de Hennetiel -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Dho_Gates/TextIDs"] = nil; require("scripts/zones/Dho_Gates/TextIDs"); ----------------------------------- -- onInitialize -------------------...
gpl-3.0
letoram/awb
tools/socsrv.lua
1
3948
-- -- Networking features, for both client and server. -- local function popup_chatwnd(btn) end local function popup_userlist(btn) end local function popup_browsewin(btn, dst) end local function serverwin_logmsg(wnd, msg) table.insert(wnd.messages, string.format("%d : %s", CLOCK, string.gsub(msg, "\\", "\\...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/armor_upgrade.lua
1
14259
----------------------------------------------------------------------------------------------------------------------- -- Artefact Armor +1 ------------------------------------------------------------------------------------------------------------------------ Artifact_Armor_...
gpl-3.0
ark120202/aabs
game/scripts/vscripts/libraries/playertables.lua
1
13838
PLAYERTABLES_VERSION = "0.90" --[[ PlayerTables: Player-specific shared state/nettable Library by BMD PlayerTables sets up a table that is shared between server (lua) and client (javascript) between specific (but changeable) clients. It is very similar in concept to nettables, but is built on being player-specific...
mit
coinzen/coinage
includes/mobile.lua
2
9941
local seawolf = require 'seawolf'.__build('text', 'text.preg', 'variable') local _SERVER, pairs, rawget = _SERVER, pairs, rawget local strpos, empty = seawolf.text.strpos, seawolf.variable.empty local substr = seawolf.text.substr local tconcat, tinsert = table.concat, table.insert local preg = require 'seawolf.text.pre...
agpl-3.0
jlopenwrtluci/luci
applications/luci-app-splash/luasrc/controller/splash/splash.lua
22
4649
module("luci.controller.splash.splash", package.seeall) local uci = luci.model.uci.cursor() local util = require "luci.util" function index() entry({"admin", "services", "splash"}, cbi("splash/splash"), _("Client-Splash"), 90) entry({"admin", "services", "splash", "splashtext" }, form("splash/splashtext"), _("Splas...
apache-2.0
ark120202/aabs
game/scripts/vscripts/heroes/hero_huskar/burning_spear.lua
1
1998
function DealDamage(keys) local caster = keys.caster local ability = keys.ability local target = keys.target ApplyDamage({ attacker = caster, victim = target, damage_type = ability:GetAbilityDamageType(), damage = (keys.damage + (caster:GetMaxHealth() - caster:GetHealth()) * keys.missing_hp_damage_pct * 0.0...
mit
Kthulupwns/darkstar
scripts/zones/Upper_Jeuno/npcs/Luto_Mewrilah.lua
34
1856
----------------------------------- -- Area: Upper Jeuno -- NPC: Luto Mewrilah -- @zone 244 -- @pos -53 0 45 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"...
gpl-3.0
AGTMADCAT/naev
dat/ai/include/atk_target.lua
2
3507
--[[ -- Nongeneric Think functions for determining who to attack are found here -- attack.lua contains bindings to these functions by ship class --]] --[[ -- Mainly targets in biggest-to-smallest priority. --]] function atk_topdown_think () local enemy_cat1 = ai.getenemy_size(2500, 10000) local enemy_cat...
gpl-3.0
GabrielNicolasAvellaneda/luvit-upstream
deps/stream/stream_passthrough.lua
7
1102
--[[ 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
kinzhang/cocos2d-js-v3.2
frameworks/js-bindings/cocos2d-x/plugin/luabindings/auto/api/ProtocolAnalytics.lua
146
2113
-------------------------------- -- @module ProtocolAnalytics -- @extend PluginProtocol -- @parent_module plugin -------------------------------- -- brief Track an event begin.<br> -- param eventId The identity of event -- @function [parent=#ProtocolAnalytics] logTimedEventBegin -- @param self -- @param #char eventI...
mit
telbbs/luci-0.12
applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna6.lua
38
1176
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2011 Manuel Munz <freifunk at somakoma dot de> 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...
apache-2.0
ark120202/aabs
game/scripts/vscripts/heroes/hero_zen_gehraz/mystic_twister.lua
1
1045
function StartAbility(keys) local caster = keys.caster local point = keys.target_points[1] local ability = keys.ability ability.thinker_dummy = CreateUnitByName("npc_dummy_unit", point, true, caster, nil, caster:GetTeam()) ability:ApplyDataDrivenModifier(caster, ability.thinker_dummy, "modifier_zen_gehraz_mystic_t...
mit
FPtje/DarkRP
gamemode/libraries/modificationloader.lua
1
5761
-- Modification loader. -- Dependencies: -- - fn -- - simplerr --[[--------------------------------------------------------------------------- Disabled defaults ---------------------------------------------------------------------------]] DarkRP.disabledDefaults = {} DarkRP.disabledDefaults["modules"] = { ...
mit
Kthulupwns/darkstar
scripts/zones/Riverne-Site_A01/npcs/_0u4.lua
19
1339
----------------------------------- -- Area: Riverne Site #A01 -- NPC: Unstable Displacement ----------------------------------- package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Riverne-Site_A01/Text...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/effects/bust.lua
37
1640
----------------------------------- -- -- -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if (effect:getSubType() == MOD_DMG) then target:addM...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Lufaise_Meadows/npcs/Logging_Point.lua
29
1107
----------------------------------- -- Area: Lufaise Meadows -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/Lufaise_Meadows/TextIDs"); ...
gpl-3.0
FPtje/DarkRP
gamemode/modules/fadmin/fadmin/messaging/cl_init.lua
1
5813
local showChat = CreateClientConVar("FAdmin_ShowChatNotifications", 1, true, false) local HUDNote_c = 0 local HUDNote_i = 1 local HUDNotes = {} --Notify ripped off the Sandbox notify, changed to my likings function FAdmin.Messages.AddMessage(MsgType, Message) local tab = {} tab.text = Message tab.recv ...
mit
dios-game/dios-cocos-samples
src/lua-fantasy-warrior-3d/Resources/src/cocos/cocos2d/Cocos2dConstants.lua
35
15728
cc = cc or {} cc.SPRITE_INDEX_NOT_INITIALIZED = 0xffffffff cc.TMX_ORIENTATION_HEX = 0x1 cc.TMX_ORIENTATION_ISO = 0x2 cc.TMX_ORIENTATION_ORTHO = 0x0 cc.Z_COMPRESSION_BZIP2 = 0x1 cc.Z_COMPRESSION_GZIP = 0x2 cc.Z_COMPRESSION_NONE = 0x3 cc.Z_COMPRESSION_ZLIB = 0x0 cc.BLEND_DST = 0x303 cc.BLEND_SRC = 0x1...
mit
Kthulupwns/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/_1e6.lua
68
1031
----------------------------------- -- Area: Aht Urhgan Whitegate -- Door: Kokba Hostel -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ----...
gpl-3.0
dios-game/dios-cocos-samples
src/lua-fantasy-warrior-3d/src/custom/api/Effect3DOutline.lua
9
1229
-------------------------------- -- @module Effect3DOutline -- @extend Effect3D -- @parent_module cc -------------------------------- -- -- @function [parent=#Effect3DOutline] setOutlineWidth -- @param self -- @param #float width -- @return Effect3DOutline#Effect3DOutline self (return value: cc.Effect3DOutline) ...
mit
telbbs/luci-0.12
modules/rpc/luasrc/jsonrpc.lua
81
2192
--[[ 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...
apache-2.0
Mleaf/mleaf_luci
modules/admin-full/luasrc/controller/admin/status.lua
56
4609
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://w...
apache-2.0
CadishShank/Ardour-5.0.2.0-Cad
scripts/s_chanmap.lua
9
1191
ardour { ["type"] = "Snippet", name = "plugin channel-map dev" } function factory () return function () -- first track needs to be stereo and have a stereo plugin -- (x42-eq with spectrum display, per channel processing, -- and pre/post visualization is very handy here) function checksetup (r) -- fail if Route...
gpl-2.0
jlopenwrtluci/luci
applications/luci-app-ddns/luasrc/tools/ddns.lua
4
10142
-- Copyright 2014-2016 Christian Schoenebeck <christian dot schoenebeck at gmail dot com> -- Licensed to the public under the Apache License 2.0. module("luci.tools.ddns", package.seeall) local NX = require "nixio" local NXFS = require "nixio.fs" local OPKG = require "luci.model.ipkg" local UCI = require "luci.mod...
apache-2.0
Kthulupwns/darkstar
scripts/globals/items/leremieu_taco.lua
35
1867
----------------------------------------- -- ID: 5175 -- Item: leremieu_taco -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 20 -- Magic 20 -- Dexterity 4 -- Agility 4 -- Vitality 6 -- Charisma 4 -- Health Regen While Healing 1 -- Magic Regen While Healing 1 -- Defense ...
gpl-3.0
daid/EmptyEpsilon
scripts/scenario_00_basic.lua
1
24332
-- Name: Basic Battle -- Description: A few random stations are under attack by enemies, with random terrain around them. Destroy all enemies to win. --- --- The scenario provides a single player-controlled Atlantis, which is sufficient to win even in the "Extreme" variant. --- --- Other player ships can be spawned, bu...
gpl-2.0
awhitesong/rspamd
src/plugins/lua/dmarc.lua
1
10302
--[[ Copyright (c) 2011-2015, Vsevolod Stakhov <vsevolod@highsecure.ru> Copyright (c) 2015, Andrew Lewis <nerf@judo.za.org> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source c...
bsd-2-clause
Kthulupwns/darkstar
scripts/globals/items/meatloaf.lua
39
1357
----------------------------------------- -- ID: 5689 -- Item: Meatloaf -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- Strength 6 -- Agility 2 -- Intelligence -3 -- Attack 20% Cap 75 ----------------------------------------- require("scripts/globals/status"); ---------------------------...
gpl-3.0
CadishShank/Ardour-5.0.2.0-Cad
scripts/scope.lua
5
7216
ardour { ["type"] = "dsp", name = "a-Inline Scope", category = "Visualization", license = "MIT", author = "Ardour Team", description = [[Mixer strip inline waveform display]] } -- return possible i/o configurations function dsp_ioconfig () -- -1, -1 = any number of channels as long as inpu...
gpl-2.0
Kthulupwns/darkstar
scripts/zones/Jugner_Forest/npcs/Bubchu-Bibinchu_WW.lua
30
3059
----------------------------------- -- Area: Jugner Forest -- NPC: Bubchu-Bibinchu, W.W. -- Type: Outpost Conquest Guards -- @pos 60.087 -0.602 -11.847 104 ----------------------------------- package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conq...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Beaucedine_Glacier_[S]/npcs/Luhk_Leotih_MC.lua
38
1069
----------------------------------- -- Area: Beaucedine Glacier (S) -- NPC: Luhk Leotih, M.C. -- Type: Campaign Arbiter -- @zone: 136 -- @pos 76.178 -60.763 -48.775 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier_[...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Mhaura/npcs/Standing_Bear.lua
34
1052
----------------------------------- -- Area: Mhaura -- NPC: Standing Bear ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); ----------------------------------- require("scripts/globals/set...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/items/dil.lua
18
1252
----------------------------------------- -- ID: 5457 -- Item: Dil -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 4 -- Mind -6 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --------------...
gpl-3.0
AGTMADCAT/naev
dat/missions/neutral/pirbounty_alive.lua
10
6415
--[[ Alive Pirate Bounty Copyright 2014, 2015 Julian Marchant This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Mount_Zhayolm/npcs/Waudeen.lua
12
2060
----------------------------------- -- Area: Mount_Zhayolm -- NPC: Waudeen -- Type: Assault -- @pos 673.882 -23.995 367.604 61 ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require...
gpl-3.0
AttacqueSuperior/Engine
mods/d2k/maps/atreides-05/atreides05-AI.lua
2
2832
--[[ Copyright 2007-2021 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
Kthulupwns/darkstar
scripts/zones/Oldton_Movalpolos/npcs/Mining_Point.lua
29
1108
----------------------------------- -- Area: Oldton Movalpolos -- NPC: Mining Point ----------------------------------- package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil; ------------------------------------- require("scripts/globals/mining"); require("scripts/zones/Oldton_Movalpolos/TextIDs")...
gpl-3.0
kuoruan/luci
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/swap.lua
76
1713
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local util = require "nixio.util" local devices = {} util.consume((fs.glob("/dev/sd*")), devices) util.consume((fs.glob("/dev/hd*")), devices) util.consume((fs.glob("/dev/scd*"))...
apache-2.0
ignacio/valua
valua-test.lua
3
2116
local v = require "valua" local function check(val_test, test_value, expected, n) local res,err = val_test(test_value) local msg = "Validation "..n.." " if res == expected then msg = msg.. "succeeded" else msg = msg.. " \27[31m FAILED \27[0m" end msg = msg.." on '"..(tostring(test_value)).."'. Expected:...
mit
Kthulupwns/darkstar
scripts/zones/Port_Jeuno/npcs/Red_Ghost.lua
34
2108
----------------------------------- -- Area: Port Jeuno -- NPC: Red Ghost -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Jeuno/TextIDs"); require("scripts/globals/quests"); requ...
gpl-3.0
Mleaf/mleaf_luci
applications/luci-upnp/luasrc/controller/upnp.lua
66
2082
--[[ 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...
apache-2.0
Kthulupwns/darkstar
scripts/zones/Northern_San_dOria/npcs/Guilerme.lua
34
2033
----------------------------------- -- Area: Northern San d'Oria -- NPC: Guillerme -- Involved in Quest: Rosel the Armorer -- @zone: 231 -- @pos -4.500 0.000 99.000 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/items/clump_of_batagreens.lua
35
1214
----------------------------------------- -- ID: 4367 -- Item: clump_of_batagreens -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 2 -- Vitality -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- --...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Cirdas_Caverns/Zone.lua
34
1247
----------------------------------- -- -- Zone: Cirdas Caverns -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Cirdas_Caverns/TextIDs"] = nil; require("scripts/zones/Cirdas_Caverns/TextIDs"); ----------------------------------- -- onInitialize -...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Rabao/npcs/Irmilant.lua
19
3756
----------------------------------- -- Area: Rabao -- NPC: Irmilant -- Starts and Ends Quests: The Immortal Lu Shang and Indomitable Spirit ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; require("scripts/globals/titles"); require("scripts/globals/settings"); require("...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/The_Garden_of_RuHmet/mobs/Aw_ghrah.lua
11
2668
----------------------------------- -- Area: The Garden of Ru'Hmet -- MOB: Aw'ghrah ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- OnMobSpawn Action -- Set core Skin and mob elemental bonus -- Set to non aggro. ----------------------------------- functio...
gpl-3.0
FPtje/DarkRP
gamemode/modules/base/cl_jobmodels.lua
3
1741
-- Create a table for the preferred playermodels sql.Query([[CREATE TABLE IF NOT EXISTS darkp_playermodels( jobcmd VARCHAR(45) NOT NULL PRIMARY KEY, model VARCHAR(140) NOT NULL );]]) local preferredModels = {} --[[--------------------------------------------------------------------------- Interface functions...
mit
scottcs/wyx
wyx/ui/CreateCharUI.lua
1
6827
local Class = require 'lib.hump.class' local Frame = getClass 'wyx.ui.Frame' local CheckButton = getClass 'wyx.ui.CheckButton' local Button = getClass 'wyx.ui.Button' local Text = getClass 'wyx.ui.Text' local TextEntry = getClass 'wyx.ui.TextEntry' local property = require 'wyx.component.property' local command = requi...
mit
AttacqueSuperior/Engine
mods/ra/maps/soviet-11a/soviet11a.lua
2
1434
--[[ Copyright 2007-2021 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
amenophis1er/prosody-modules
mod_pubsub_googlecode/mod_pubsub_googlecode.lua
31
2693
module:depends("http"); local st = require "util.stanza"; local json = require "util.json"; local formdecode = require "net.http".formdecode; local hmac_md5 = require "util.hashes".hmac_md5; local st = require "util.stanza"; local json = require "util.json"; local datetime = require "util.datetime".datetime; local p...
mit
lcagustini/globaljam
src/lib/timer.lua
15
6533
--[[ Copyright (c) 2010-2013 Matthias Richter 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 to use, copy, modify, merge, publish, dis...
mit
Kthulupwns/darkstar
scripts/globals/settings.lua
1
13916
----------------------------------------------- ------------- GLOBAL SETTINGS ------------- ----------------------------------------------- --This is to allow server operators to further customize their servers. As more features are added to pXI, the list will surely expand. --Anything scripted can be custom...
gpl-3.0
dios-game/dios-cocos-samples
src/lua-fantasy-warrior-3d/src/custom/api/DrawNode3D.lua
9
2791
-------------------------------- -- @module DrawNode3D -- @extend Node -- @parent_module cc -------------------------------- -- js NA<br> -- lua NA -- @function [parent=#DrawNode3D] getBlendFunc -- @param self -- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) -------------------------------- -...
mit
Kthulupwns/darkstar
scripts/zones/Windurst_Woods/npcs/Umumu.lua
34
2869
----------------------------------- -- Area: Windurst Woods -- NPC: Umumu -- Involved In Quest: Making Headlines -- @pos 32.575 -5.250 141.372 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/q...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/items/black_eel.lua
17
1402
----------------------------------------- -- ID: 4429 -- Item: Black Eel -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 -- Evasion 5 ----------------------------------------- require("scripts/globals/status"); -----------------------------------------...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Ironbound_Gate.lua
17
1497
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Ironbound Gate ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ------------------------...
gpl-3.0
Mleaf/mleaf_luci
applications/luci-minidlna/luasrc/model/cbi/minidlna.lua
87
5720
--[[ LuCI - Lua Configuration Interface - miniDLNA support Copyright 2012 Gabor Juhos <juhosg@openwrt.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...
apache-2.0
hogepiyosan/pd2wp
mods/Weapon Panel/lua/option.lua
1
6549
dofile(ModPath.. "lua/common.lua") WeaponPanel.options_menu = "WeaponPanel_menu" Hooks:Add("LocalizationManagerPostInit", "WeaponPanelLocatizations", function(loc) LocalizationManager:add_localized_strings({ ["WeaponPanel_options_title"] = "Weapon Panel", ["WeaponPanel_options_desc"] = "Weapon Panel Options", })...
mit
Kthulupwns/darkstar
scripts/zones/Alzadaal_Undersea_Ruins/npcs/_20m.lua
32
3590
----------------------------------- -- Area: Alzadaal Undersea Ruins -- Door: Runic Seal -- @pos 125 -2 20 72 ----------------------------------- package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/mis...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/items/trumpet_shell.lua
18
1265
----------------------------------------- -- ID: 5466 -- Item: Trumpet Shell -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity -5 -- Vitality 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Southern_San_dOria/npcs/Varchet.lua
38
2735
----------------------------------- -- Area: Southern San d'Oria -- NPC: Varchet -- Type: NPC -- @pos 116.484 -1 91.554 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/...
gpl-3.0
hamed9898/uzzbott
plugins/youtube.lua
644
1722
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 function get_yt_data (yt_code) local url = 'https://www.googleapis.com/yo...
gpl-2.0
Kthulupwns/darkstar
scripts/zones/Cloister_of_Tremors/Zone.lua
32
1667
----------------------------------- -- -- Zone: Cloister_of_Tremors (209) -- ----------------------------------- package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Cloister_of_Tremors/TextIDs"); ...
gpl-3.0
Nehmulos/knight-game
cocos2d/external/lua/luajit/src/src/jit/dis_arm.lua
99
19364
---------------------------------------------------------------------------- -- LuaJIT ARM disassembler module. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Arrapago_Reef/npcs/qm6.lua
42
1099
----------------------------------- -- Area: Arrapago Reef -- NPC: ??? (corsair job flag quest) -- ----------------------------------- package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Arrapago_Reef/TextIDs"); ----------------------------------- ...
gpl-3.0
GabrielNicolasAvellaneda/luvit-upstream
tests/test-fs-write-stream.lua
3
1589
--[[ 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
kuoruan/luci
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua
68
3418
-- Copyright 2011 Manuel Munz <freifunk at somakoma dot de> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.olsrd", package.seeall) function rrdargs( graph, plugin, plugin_instance, dtype ) local g = { } if plugin_instance == "routes" then g[#g+1] = { ...
apache-2.0