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
Kong/kong
spec/02-integration/03-db/12-dao_hooks_spec.lua
1
6980
local helpers = require "spec.helpers" local hooks = require "kong.hooks" for _, strategy in helpers.each_strategy() do describe("kong.db hooks [#" .. strategy .. "]", function() local db, bp, s1, r1 lazy_setup(function() bp, db = helpers.get_db_utils(strategy, { "routes", "services",...
apache-2.0
Kong/kong
kong/plugins/azure-functions/schema.lua
1
1274
local typedefs = require "kong.db.schema.typedefs" return { name = "azure-functions", fields = { { protocols = typedefs.protocols }, { config = { type = "record", fields = { -- connection basics { timeout = { type = "number", default = 600000}, }, { kee...
apache-2.0
destdev/ygopro-scripts
c88032456.lua
1
2150
--コピーキャット function c88032456.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1,88032456+EFFECT_COUNT_CODE_OATH) e1:SetCondition(c88032456.co...
gpl-2.0
destdev/ygopro-scripts
c51227866.lua
1
2149
--閃刀機-シャークキャノン function c51227866.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_REMOVE+CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c51227866.condition) e1:SetTarget(c51227866...
gpl-2.0
Kong/kong
kong/pdk/request.lua
1
30386
--- Client request module. -- -- This module provides a set of functions to retrieve information about the -- incoming requests made by clients. -- -- @module kong.request local cjson = require "cjson.safe".new() local multipart = require "multipart" local phase_checker = require "kong.pdk.private.phases" local norma...
apache-2.0
RwNigma/darkstar
scripts/zones/Ordelles_Caves/npcs/Stalagmite.lua
17
2450
----------------------------------- -- Area: Ordelles Caves -- NPC: Stalagmite -- Involved In Quest: Sharpening the Sword -- @pos -51 0.1 3 193 ----------------------------------- package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
destdev/ygopro-scripts
c6103294.lua
9
1128
--オアシスの使者 function c6103294.initial_effect(c) --atk target local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_CANNOT_BE_BATTLE_TARGET) e1:SetCondition(c6103294.atkcon) e1:SetValue(aux.imval1) c:RegisterEffect(e1)...
gpl-2.0
nikai3d/naev
dat/missions/empire/collective/ec04.lua
6
9130
--[[ Collective Extraction Author: bobbens minor edits by Infiltrator Fifth mission in the collective mini campaign. You must go rescue a team of commandos after being attacked by collective forces on a surveillance mission. ]]-- include "dat/scripts/nextjump.lua" include "proximity.lua" la...
gpl-3.0
destdev/ygopro-scripts
c10833828.lua
1
5919
--魔神王の禁断契約書 function c10833828.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --special summon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(10833828,0)) e2:SetCategory(CATEGORY_SPECIAL_SUMMON) e2...
gpl-2.0
MonkeyFirst/urho3d-staticmodel-instances
Sources/bin/Data/LuaScripts/14_SoundEffects.lua
3
6177
-- Sound effects example -- This sample demonstrates: -- - Playing sound effects and music -- - Controlling sound and music master volume require "LuaScripts/Utilities/Sample" local soundNames = { "Fist", "Explosion", "Power-up" } local soundResourceNames = { "Sounds/PlayerFistHit.wav", ...
mit
Deadwing888/darkstar
scripts/zones/Al_Zahbi/npcs/Devonte.lua
13
1036
----------------------------------- -- Area: Al Zahbi -- NPC: Devonte -- Type: Standard NPC -- @zone: 48 -- @pos 29.449 -1 142.671 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------...
gpl-3.0
RwNigma/darkstar
scripts/globals/abilities/pets/pet_lightning_breath.lua
25
1262
--------------------------------------------------- -- Lightning Breath --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------------- function onAbili...
gpl-3.0
destdev/ygopro-scripts
c99111753.lua
4
1368
--セキュリティ・ドラゴン function c99111753.initial_effect(c) --link summon c:EnableReviveLimit() aux.AddLinkProcedure(c,nil,2,2) --to hand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(99111753,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EF...
gpl-2.0
RwNigma/darkstar
scripts/zones/Grand_Palace_of_HuXzoi/mobs/Ix_ghrah.lua
16
1317
----------------------------------- -- Area: Grand Palace of HuXzoi -- NPC: Ix_ghrah ----------------------------------- require("scripts/globals/status"); require("scripts/globals/missions"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(...
gpl-3.0
LGCaerwyn/QSanguosha-Para-tangjs520-LGCaerwyn
lua/ai/boss-ai.lua
2
3260
sgs.ai_skill_playerchosen.bossdidong = function(self, targets) self:sort(self.enemies) for _, enemy in ipairs(self.enemies) do if enemy:faceUp() then return enemy end end end sgs.ai_skill_playerchosen.bossluolei = function(self, targets) self:sort(self.enemies) for _, enemy in ipairs(self.enemies) do if self:...
lgpl-3.0
ffxijuggalo/darkstar
scripts/globals/mobskills/mega_holy.lua
11
1047
--------------------------------------------- -- Mega Holy -- -- Description: Deals Light damage to targets in an area of effect. -- Type: Magical -- Can be dispelled: N/A -- Utsusemi/Blink absorb: Wipes shadows -- Range: Unknown radial "Extremely large damage radius." says wiki. -- Notes: Accompanied by text -- "O...
gpl-3.0
destdev/ygopro-scripts
c11047543.lua
2
2357
--サイコ・フィール・ゾーン function c11047543.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(11047543,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOGRAVE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTa...
gpl-2.0
ffxijuggalo/darkstar
scripts/zones/La_Theine_Plateau/npcs/Cermet_Headstone.lua
11
2611
----------------------------------- -- Area: La Theine Plateau -- NPC: Cermet Headstone -- Involved in Mission: ZM5 Headstone Pilgrimage (Water Fragment) -- !pos -170 39 -504 102 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/titles"); require("scripts/globals/mission...
gpl-3.0
Deadwing888/darkstar
scripts/globals/items/boneworkers_belt.lua
18
1178
----------------------------------------- -- ID: 15449 -- Item: Boneworker's belt -- Enchantment: Synthesis image support -- 2Min, All Races ----------------------------------------- -- Enchantment: Synthesis image support -- Duration: 2Min -- Bonecraft Skill +3 ----------------------------------------- require("scrip...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/items/hallowed_sword.lua
12
1257
----------------------------------------- -- ID: 16550 -- Hallowed Sword -- Additional Effect: Light Damage -- Enchantment: "Enlight" ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------- function ...
gpl-3.0
Deadwing888/darkstar
scripts/globals/items/bowl_of_wild_stew.lua
18
1731
----------------------------------------- -- ID: 4589 -- Item: Bowl of Wild Stew -- Food Effect: 240Min, All Races ----------------------------------------- -- Strength 4 -- Agility 1 -- Vitality 2 -- Intelligence -2 -- Attack % 25 -- Attack Cap 50 -- Ranged ATT % 25 -- Ranged ATT Cap 50 -------------------------------...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/weaponskills/arching_arrow.lua
10
1405
----------------------------------- -- Arching Arrow -- Archery weapon skill -- Skill level: 225 -- Delivers a single-hit attack. Chance of params.critical varies with TP. -- Aligned with the Flame Gorget & Light Gorget. -- Aligned with the Flame Belt & Light Belt. -- Element: None -- Modifiers: STR:16% AGI:25% -- 100...
gpl-3.0
nikai3d/naev
dat/factions/spawn/collective.lua
10
2908
include("dat/factions/spawn/common.lua") -- @brief Spawns a small swarm. function spawn_patrol () local pilots = {} scom.addPilot( pilots, "Collective Drone", 20 ); return pilots end -- @brief Spawns a medium sized squadron. function spawn_squad () local pilots = {} local r = rnd.rnd() if...
gpl-3.0
RwNigma/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Nafiwaa.lua
34
1032
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Nafiwaa -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ----------...
gpl-3.0
ldurniat/The-Great-Pong
com/ponywolf/visualMonitor.lua
2
2147
-- Project: Visual Monitor 0.1 -- -- Date: Mar 3, 2012 -- Last Update: Mar 3, 2012 -- -- Version: 0.1 -- -- File name: visualMonitor.lua -- -- Author: Michael Wilson / Ponywolf www.ponywolf.com -- -- Update History: -- -- 0.1 - Initial release local M = {} local int, min, fps = math.floor, math.min, display.fps M.fon...
mit
Kong/kong
spec/01-unit/01-db/01-schema/02-metaschema_spec.lua
1
36077
local Schema = require "kong.db.schema" local helpers = require "spec.helpers" local MetaSchema = require "kong.db.schema.metaschema" describe("metaschema", function() it("rejects a bad schema", function() local s = { name = "bad", fields = { { foo = "bar", }, }, primary_key = { ...
apache-2.0
ffxijuggalo/darkstar
scripts/zones/Windurst_Waters/npcs/Jacodaut.lua
12
1289
----------------------------------- -- Area: Windurst Waters -- NPC: Jacodaut -- Type: Cooking Image Support -- !pos -125.890 -2.999 62.499 238 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/crafting"); local ID = require("scripts/zones/Windurst_Waters/IDs"); ----------...
gpl-3.0
Deadwing888/darkstar
scripts/zones/South_Gustaberg/mobs/Tococo.lua
7
1075
----------------------------------- -- Area: South Gustaberg -- NM: Tococo ----------------------------------- require("scripts/globals/status"); ----------------------------------- ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) mob:setM...
gpl-3.0
destdev/ygopro-scripts
c39998992.lua
4
3128
--エクスクローラー・シナプシス function c39998992.initial_effect(c) --link summon c:EnableReviveLimit() aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkAttribute,ATTRIBUTE_EARTH),2,2) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(39998992,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) ...
gpl-2.0
Deadwing888/darkstar
scripts/zones/Mhaura/npcs/Ekokoko.lua
13
1624
----------------------------------- -- Area: Mhaura -- NPC: Ekokoko -- Gouvernor of Mhaura -- Involved in Quest: Riding on the Clouds -- @pos -78 -24 28 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems")...
gpl-3.0
destdev/ygopro-scripts
c36006208.lua
2
2993
--彼岸の沈溺 function c36006208.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE) e1:SetCost(c36006208.cost) e1...
gpl-2.0
Deadwing888/darkstar
scripts/zones/Port_San_dOria/npcs/Bonarpant.lua
13
1357
----------------------------------- -- Area: Port San d'Oria -- NPC: Bonarpant -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/TextIDs"); ...
gpl-3.0
destdev/ygopro-scripts
c56827051.lua
4
2511
--影霊衣の巫女 エリアル function c56827051.initial_effect(c) --level change local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(56827051,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCost(c56827051.lvcost) e1:SetOperation(c56827051.lvop) c:RegisterEffect(e1) --toh...
gpl-2.0
destdev/ygopro-scripts
c31554054.lua
1
1878
--エクシーズ・リベンジ・シャッフル function c31554054.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOEXTRA) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_BE_BATTLE_TARGET) e1:SetCondition(c31554054.condition) e1:SetTarge...
gpl-2.0
destdev/ygopro-scripts
c15520842.lua
1
1707
--フォトン・ハンド function c15520842.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_CONTROL) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,15520842+EFFECT_COUNT_CODE_OATH) e1:SetCondition(c15520842.conditio...
gpl-2.0
ffxijuggalo/darkstar
scripts/zones/Northern_San_dOria/npcs/Maloquedil.lua
9
3283
----------------------------------- -- Area: Northern San d'Oria -- NPC: Maloquedil -- Involved in Quest : Warding Vampires, Riding on the Clouds, Lure of the Wildcat (San d'Oria) -- !pos 35 0.1 60 231 ----------------------------------- local ID = require("scripts/zones/Northern_San_dOria/IDs"); require("scripts/glob...
gpl-3.0
Deadwing888/darkstar
scripts/globals/items/steamed_crayfish.lua
18
1218
----------------------------------------- -- ID: 4338 -- Item: steamed_crayfish -- Food Effect: 60Min, All Races ----------------------------------------- -- Defense % 30 -- Defense Cap 30 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemC...
gpl-3.0
Kong/kong
kong/plugins/zipkin/schema.lua
1
2610
local typedefs = require "kong.db.schema.typedefs" local Schema = require "kong.db.schema" local PROTECTED_TAGS = { "error", "http.method", "http.path", "http.status_code", "kong.balancer.state", "kong.balancer.try", "kong.consumer", "kong.credential", "kong.node.id", "kong.route", "kong.service"...
apache-2.0
linuxmaniac/pkg-prosody
plugins/mod_s2s/s2sout.lib.lua
2
12363
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- --- Module containing all the logic for connecting to a remote server local portmanager = require "core....
mit
tetoali605/THETETOO_A9
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
mynameiscraziu/waqerr
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
matinbot/telegram
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
Deadwing888/darkstar
scripts/zones/Lufaise_Meadows/npcs/Yoram_IM.lua
13
3323
----------------------------------- -- Area: Lufaise Meadows -- NPC: Yoram, I.M. -- Outpost Conquest Guards -- @pos -542.418 -7.124 -53.521 24 ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); req...
gpl-3.0
topameng/tolua
Assets/ToLua/Lua/protobuf/protobuf.lua
2
37618
-- -------------------------------------------------------------------------------- -- FILE: protobuf.lua -- DESCRIPTION: protoc-gen-lua -- Google's Protocol Buffers project, ported to lua. -- https://code.google.com/p/protoc-gen-lua/ -- -- Copyright (c) 2010 , 林卓毅 (Zhuoyi Lin) netsnail@gmail....
mit
Deadwing888/darkstar
scripts/zones/Southern_San_dOria/npcs/Amutiyaal.lua
13
4626
----------------------------------- -- Area: Southern San d'Oria -- NPC: Amutiyaal -- Warp NPC (Aht Urhgan) -- @pos 116 0.1 84 230 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); r...
gpl-3.0
domoticz/domoticz
dzVents/runtime/Utils.lua
5
17883
local jsonParser = require('JSON') local _ = require('lodash') local self = { LOG_ERROR = 1, LOG_FORCE = 0.5, LOG_MODULE_EXEC_INFO = 2, LOG_INFO = 3, LOG_WARNING = 3, LOG_DEBUG = 4, DZVERSION = '3.1.8', } function jsonParser:unsupportedTypeEncoder(value_of_unsupported_type) if type(value_of_unsupported_type) ...
gpl-3.0
destdev/ygopro-scripts
c18486927.lua
1
2594
--古代の歯車機械 function c18486927.initial_effect(c) --declare card local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetTarget(c18486927.dectg) e1:SetOperation(c18486927.decop) c:RegisterEffect(e1) local e2=e1:C...
gpl-2.0
ffxijuggalo/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Ezura-Romazura.lua
12
1063
----------------------------------- -- Area: Windurst Waters [S] -- NPC: Ezura-Romazura -- Standard Merchant NPC ----------------------------------- local ID = require("scripts/zones/Windurst_Waters_[S]/IDs") require("scripts/globals/shop") ----------------------------------- function onTrade(player,npc,trade) end f...
gpl-3.0
RwNigma/darkstar
scripts/globals/items/hallowed_sword.lua
42
1454
----------------------------------------- -- ID: 16550 -- Hallowed Sword -- Additional Effect: Light Damage -- Enchantment: "Enlight" ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action --------...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/abilities/pets/attachments/volt_gun.lua
11
1675
----------------------------------- -- Attachment: Volt Gun ----------------------------------- require("scripts/globals/status") ----------------------------------- function onEquip(pet) local skill = math.max(pet:getSkillLevel(dsp.skill.AUTOMATON_MELEE), pet:getSkillLevel(dsp.skill.AUTOMATON_RANGED), pet:getSkil...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/items/blowfish.lua
11
1047
----------------------------------------- -- ID: 5812 -- Item: Blowfish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 1 -- Mind -3 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ---------------------------------------...
gpl-3.0
destdev/ygopro-scripts
c97795930.lua
1
3140
--幻煌龍の天渦 function c97795930.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c97795930.target) e1:SetOperation(c97795930.activate) c:RegisterEffect(e1) --act in hand local e2=Effect.C...
gpl-2.0
ffxijuggalo/darkstar
scripts/globals/items/grape_daifuku.lua
11
2009
----------------------------------------- -- ID: 6343 -- Item: grape_daifuku -- Food Effect: 30 Min, All Races ----------------------------------------- -- HP + 20 (Pet & Master) -- Vitality + 3 (Pet & Master) -- Master MAB + 3 , Pet MAB + 14 -- Accuracy/Ranged Accuracy +10% (cap 50 on master, cap 75 on pet) ----------...
gpl-3.0
padrinoo/behrooz12
plugins/sudo.lua
359
1878
function run_sh(msg) name = get_name(msg) text = '' -- if config.sh_enabled == false then -- text = '!sh command is disabled' -- else -- if is_sudo(msg) then -- bash = msg.text:sub(4,-1) -- text = run_bash(bash) -- else -- text = name .. ' yo...
gpl-2.0
RwNigma/darkstar
scripts/zones/Eastern_Altepa_Desert/npcs/Eaulevisat_RK.lua
28
3153
----------------------------------- -- Area: Eastern Altepa desert -- NPC: Eaulevisat, R.K. -- Outpost Conquest Guards -- @pos -257 8 -249 114 ------------------------------------ package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil; -------------------------------------- require("scripts/glob...
gpl-3.0
pouria346/selfbot3
plugins/img2sticker.lua
16
1031
local function tosticker(msg, success, result) local receiver = get_receiver(msg) if success then local file = '/root/robot/data/stickers/'..msg.from.id..'.webp' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) send_document(get_receiver(msg), file, ok_c...
gpl-2.0
Deadwing888/darkstar
scripts/globals/weaponskills/sonic_thrust.lua
11
1335
----------------------------------- -- Sonic Thrust -- Polearm weapon skill -- Skill Level: 300 -- Delivers an area attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Element: None -- Modifiers: STR:40% ; DEX:40% -- 100%TP 200%TP 300%TP -- 3.00 3.7 4.50 --------------------------------...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Maze_of_Shakhrami/npcs/Treasure_Chest.lua
13
3778
----------------------------------- -- Area: Maze of Shakhrami -- NPC: Treasure Chest -- Involved In Quest: The Goblin Tailor -- @zone 198 ----------------------------------- package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); requi...
gpl-3.0
simonfork/aquaria
game_scripts/scripts/entities/sunworm.lua
5
12464
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
angt/overthebox
feeds/luci/modules/luci-compat/luasrc/model/network/proto_6x4.lua
9
1065
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local netmod = luci.model.network local _, p for _, p in ipairs({"6in4", "6to4", "6rd"}) do local proto = netmod:register_protocol(p) function proto.get_i18n(self) if p == "6in4" then return luci.i18n....
gpl-3.0
RwNigma/darkstar
scripts/zones/RuLude_Gardens/npcs/_6r9.lua
17
2864
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Audience Chamber -- Involved in Mission: Magicite -- @pos 0 -5 66 243 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems");...
gpl-3.0
destdev/ygopro-scripts
c14618326.lua
7
1158
--赤い忍者 function c14618326.initial_effect(c) --flip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(14618326,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP) e1:SetTarget(c14618326.target) e1:SetOperation(c14618326.operati...
gpl-2.0
destdev/ygopro-scripts
c24661486.lua
6
1601
--コールド・エンチャンター function c24661486.initial_effect(c) --add counter local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(24661486,0)) e1:SetCategory(CATEGORY_COUNTER) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCost(c24661486.cost) e1:SetTa...
gpl-2.0
fodinabor/Polycode
bindings/lua/Polycode/Vector3.lua
1
2122
class "Vector3" function Vector3:__getvar(name) if name == "x" then return Polycode.Vector3_get_x(self.__ptr) elseif name == "y" then return Polycode.Vector3_get_y(self.__ptr) elseif name == "z" then return Polycode.Vector3_get_z(self.__ptr) end end function Vector3:__setvar(name,value) if name == "x" the...
mit
w86021702/svr_demo
3rd/skynet/service/multicastd.lua
18
5556
local skynet = require "skynet" local mc = require "multicast.core" local datacenter = require "datacenter" local harbor_id = skynet.harbor(skynet.self()) local command = {} local channel = {} local channel_n = {} local channel_remote = {} local channel_id = harbor_id local NORET = {} local function get_address(t, i...
mit
destdev/ygopro-scripts
c4149689.lua
1
1307
--天狗のうちわ function c4149689.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e2:SetCode(EFFECT_CANNOT_ACTIVATE) ...
gpl-2.0
RwNigma/darkstar
scripts/zones/Bastok_Markets/npcs/Ken.lua
38
1395
----------------------------------- -- Area: Bastok Markets -- NPC: Ken -- Type: Quest NPC -- @pos -340.857 -11.003 -149.008 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts...
gpl-3.0
destdev/ygopro-scripts
c67744384.lua
4
1456
--ティンダングル・アポストル function c67744384.initial_effect(c) --flip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(67744384,0)) e1:SetCategory(CATEGORY_POSITION+CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetC...
gpl-2.0
hamid1164/google-diff-match-patch
lua/diff_match_patch_test.lua
264
39109
--[[ * Test Harness for Diff Match and Patch * * Copyright 2006 Google Inc. * http://code.google.com/p/google-diff-match-patch/ * * Based on the JavaScript implementation by Neil Fraser * Ported to Lua by Duncan Cross * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except...
apache-2.0
RwNigma/darkstar
scripts/globals/items/serving_of_cherry_bavarois.lua
35
1385
----------------------------------------- -- ID: 5745 -- Item: serving_of_cherry_bavarois -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP 25 -- Intelligence 3 -- MP 10 -- HP Recovered While Healing 3 ----------------------------------------- require("scripts/globals/status");...
gpl-3.0
Deadwing888/darkstar
scripts/globals/items/serving_of_salmon_meuniere.lua
18
1389
----------------------------------------- -- ID: 4583 -- Item: serving_of_salmon_meuniere -- Food Effect: 180Min, All Races ----------------------------------------- -- Dexterity 2 -- Mind -2 -- Ranged ACC % 7 -- Ranged ACC Cap 10 ----------------------------------------- require("scripts/globals/status"); ----------...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Sharin-Garin.lua
13
1992
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Sharin-Garin -- Type: Adventurer's Assistant -- @pos 122.658 -1.315 33.001 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/b...
gpl-3.0
Deadwing888/darkstar
scripts/globals/items/strip_of_bison_jerky.lua
18
1383
----------------------------------------- -- ID: 5207 -- Item: strip_of_bison_jerky -- Food Effect: 60Min, All Races ----------------------------------------- -- Strength 5 -- Mind -2 -- Attack % 18 -- Attack Cap 70 ----------------------------------------- require("scripts/globals/status"); -------------------------...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/weaponskills/torcleaver.lua
10
1788
----------------------------------- -- Torcleaver -- Skill Level: N/A -- Description: Deals triple damage. Damage varies with TP. Caladbolg: Aftermath. -- Available only when equipped with Caladbolg (85)/(90)/(95) or Espafut +1/+2/+3. -- Aligned with the Light Gorget, Aqua Gorget & Snow Gorget. -- Aligned with the Ligh...
gpl-3.0
Kong/kong
spec/02-integration/02-cmd/03-reload_spec.lua
1
19152
local helpers = require "spec.helpers" local cjson = require "cjson" local wait_for_file_contents = helpers.wait_for_file_contents for _, strategy in helpers.each_strategy() do describe("kong reload #" .. strategy, function() lazy_setup(function() helpers.get_db_utils(nil, {}) -- runs migrations helpers.p...
apache-2.0
moses1984/aafmt
book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf/gd/tools/make_gd_wrap.lua
3
4929
-- Copyright 2012 by Till Tantau -- -- This file may be distributed an/or modified -- -- 1. under the LaTeX Project Public License and/or -- 2. under the GNU Public License -- -- See the file doc/generic/pgf/licenses/LICENSE for more information -- @release $Header: /cvsroot/pgf/pgf/generic/pgf/graphdrawing/lua/pgf/gd...
gpl-2.0
emadni/hajiemadlotian
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
AaMegaTeam/newTg
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
destdev/ygopro-scripts
c11868731.lua
2
1895
--マドルチェ・マジョレーヌ function c11868731.initial_effect(c) --to deck local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(11868731,0)) e1:SetCategory(CATEGORY_TODECK) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_TO_GRAVE) e1:SetCondition(c11868731.retcon) e1:SetTarget(c11868731.rettg...
gpl-2.0
destdev/ygopro-scripts
c94212438.lua
1
3905
--ウィジャ盤 function c94212438.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) c:RegisterEffect(e1) --place card local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(94212438,0)) e2:SetType(EF...
gpl-2.0
destdev/ygopro-scripts
c2851070.lua
2
1701
--魔鏡導士リフレクト・バウンダー function c2851070.initial_effect(c) --damage local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(2851070,0)) e1:SetCategory(CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_BATTLE_CONFIRM) e1:SetCondition(c2851070.damcon) e1:SetTarget(c2851070.d...
gpl-2.0
chi-bd/clink
clink/test/test_history.lua
4
5211
-- -- Copyright (c) 2014 Martin Ridgers -- -- 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, publ...
gpl-3.0
X-Coder/spacebuild
lua/entities/storage_hot_liquid_nitrogen/init.lua
5
2855
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include('shared.lua') function ENT:Initialize() self.BaseClass.Initialize(self) self.damaged = 0 self.vent = false if not (WireAddon == nil) then self.WireDebugName = self.PrintName self.Inputs = Wire_CreateInputs(self, { "Vent" })...
apache-2.0
Deadwing888/darkstar
scripts/zones/Port_Bastok/npcs/Valah_Molkot.lua
26
3641
----------------------------------- -- Area: Port Bastok -- NPC: Valah Molkot -- Starts and Finishes Quest: A Lady's Heart -- @zone 236 -- @pos 59 8 -221 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Port_Bastok/TextIDs"); ---------...
gpl-3.0
RwNigma/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fl.lua
34
2568
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: East Plate -- @pos 231 -34 20 195 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; --------------------------...
gpl-3.0
ffxijuggalo/darkstar
scripts/zones/Full_Moon_Fountain/bcnms/moon_reading.lua
8
1377
----------------------------------- -- Area: Full Moon Mountain -- Name: Windurst Mission 9-2 Moon Reading ----------------------------------- require("scripts/globals/battlefield") require("scripts/globals/missions") ----------------------------------- function onBattlefieldTick(battlefield, tick) dsp.battlefield...
gpl-3.0
Deadwing888/darkstar
scripts/globals/weaponskills/dark_harvest.lua
11
1224
----------------------------------- -- Dark Harvest -- Scythe weapon skill -- Skill Level: 30 -- Delivers a dark elemental attack. Damage varies with TP. -- Aligned with the Aqua Gorget. -- Aligned with the Aqua Belt. -- Element: Dark -- Modifiers: STR:20% ; INT:20% -- 100%TP 200%TP 300%TP -- 1.00 2.00 ...
gpl-3.0
Kong/kong
spec/02-integration/05-proxy/19-grpc_proxy_spec.lua
1
10292
local helpers = require "spec.helpers" local cjson = require "cjson" local pl_path = require "pl.path" local FILE_LOG_PATH = os.tmpname() for _, strategy in helpers.each_strategy() do describe("gRPC Proxying [#" .. strategy .. "]", function() local proxy_client_grpc local proxy_client_grpcs local proxy...
apache-2.0
RwNigma/darkstar
scripts/zones/Garlaige_Citadel/npcs/qm20.lua
57
2134
----------------------------------- -- Area: Garlaige Citadel -- NPC: qm20 (??? - Bomb Coal Fragments) -- Involved in Quest: In Defiant Challenge -- @pos -137.047 0 347.502 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- requi...
gpl-3.0
RwNigma/darkstar
scripts/zones/Windurst_Woods/npcs/Tapoh_Lihzeh.lua
17
3315
----------------------------------- -- Area: Windurst Woods -- NPC: Tapoh Lihzeh -- Starts & Finishes Repeatable Quest: Paying Lip Service ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); re...
gpl-3.0
simonfork/aquaria
game_scripts/scripts/maps/node_enter_openwaters.lua
6
1117
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
destdev/ygopro-scripts
c48343627.lua
6
1104
--グレイブ・スクワーマー function c48343627.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(48343627,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetConditio...
gpl-2.0
destdev/ygopro-scripts
c52589809.lua
2
2060
--風来王 ワイルド・ワインド function c52589809.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCondition(c52589809.spcon) e1:SetOperation(c52589809.spop) c:RegisterEffec...
gpl-2.0
MrGrim48/prop_hunt
gamemode/modules/sv_bonus_ps_points.lua
1
2821
/* sv_bonus_ps_points.lua Copyright© Nekom Glew, 2017 */ BonusPSPoints = {} BonusPSPoints.PropWinPointsAlive = 50 BonusPSPoints.PropWinPoints = 20 BonusPSPoints.HunterWinPointsAlive = 40 BonusPSPoints.HunterWinPoints = 15 BonusPSPoints.HunterKillPoints = 5 BonusPSPoints.PointsMultiplier = 2 --[...
mit
Deadwing888/darkstar
scripts/zones/Windurst_Woods/npcs/Matata.lua
13
1820
----------------------------------- -- Area: Windurst Woods -- NPC: Matata -- Type: Standard NPC -- @zone: 241 -- @pos 131 -5 -109 -- Involved in quest: In a Stew ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/globals/titles"); re...
gpl-3.0
maikerumine/grieftest
mods/farming/cotton.lua
12
3263
local S = farming.intllib -- cotton seeds minetest.register_node("farming:seed_cotton", { description = S("Cotton Seed"), tiles = {"farming_cotton_seed.png"}, inventory_image = "farming_cotton_seed.png", wield_image = "farming_cotton_seed.png", drawtype = "signlike", groups = {seed = 1, snappy = 3, attached_nod...
lgpl-2.1
Deadwing888/darkstar
scripts/zones/Cloister_of_Frost/bcnms/sugar-coated_directive.lua
27
1819
---------------------------------------- -- Area: Cloister of Frost -- BCNM: Sugar Coated Directive (ASA-4) -- @pos -721 0 -598 207 ---------------------------------------- package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil; ---------------------------------------- require("scripts/globals/keyitems"); req...
gpl-3.0
destdev/ygopro-scripts
c52248570.lua
1
2125
--プリズンクインデーモン function c52248570.initial_effect(c) --maintain local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EVENT_PHASE+PHASE_STANDBY) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetConditi...
gpl-2.0
Choonster/TargetNameplateIndicator
options.lua
1
7738
local addon, TNI = ... local ACR = LibStub("AceConfigRegistry-3.0") local ACD = LibStub("AceConfigDialog-3.0") local ACC = LibStub("AceConfigCmd-3.0") local frameref local L = LibStub("AceLocale-3.0"):GetLocale(addon) -- The indicator textures provided by the AddOn. Used for the texture dropdowns. local TEXTURE_NAMES...
mit
destdev/ygopro-scripts
c93912845.lua
2
2336
--リバイバル・ギフト function c93912845.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) e1:SetTarget(c93912845.tar...
gpl-2.0