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
MalRD/darkstar
scripts/zones/Windurst_Waters/npcs/Angelica.lua
9
5457
----------------------------------- -- Area: Windurst Waters -- NPC: Angelica -- Starts and Finished Quest: A Pose By Any Other Name -- !pos -70 -10 -6 238 ----------------------------------- local ID = require("scripts/zones/Windurst_Waters/IDs"); require("scripts/globals/settings"); require("scripts/globals/keyitems...
gpl-3.0
cleytonk/globalfull
data/talkactions/scripts/mccheck.lua
10
1054
function onSay(cid, words, param) local player = Player(cid) if not player:getGroup():getAccess() then return true end if player:getAccountType() < ACCOUNT_TYPE_GOD then return false end player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Multiclient Check List:") local ipList = {} local players = Game...
gpl-2.0
shahabsaf1/My-system
plugins/img_google.lua
660
3196
do local mime = require("mime") local google_config = load_from_file('data/google.lua') local cache = {} --[[ local function send_request(url) local t = {} local options = { url = url, sink = ltn12.sink.table(t), method = "GET" } local a, code, headers, status = http.request(options) return tabl...
gpl-2.0
ashkanpj/yagoopfire
plugins/img_google.lua
660
3196
do local mime = require("mime") local google_config = load_from_file('data/google.lua') local cache = {} --[[ local function send_request(url) local t = {} local options = { url = url, sink = ltn12.sink.table(t), method = "GET" } local a, code, headers, status = http.request(options) return tabl...
gpl-2.0
hfjgjfg/hack54
plugins/img_google.lua
660
3196
do local mime = require("mime") local google_config = load_from_file('data/google.lua') local cache = {} --[[ local function send_request(url) local t = {} local options = { url = url, sink = ltn12.sink.table(t), method = "GET" } local a, code, headers, status = http.request(options) return tabl...
gpl-2.0
MalRD/darkstar
scripts/zones/Castle_Oztroja/npcs/_m75.lua
12
1225
----------------------------------- -- Area: Castle Oztroja -- NPC: _m75 (Torch Stand) -- Notes: Opens door _477 when _m72 to _m75 are lit -- !pos -139.643 -72.113 -62.682 151 ----------------------------------- local ID = require("scripts/zones/Castle_Oztroja/IDs") require("scripts/globals/settings") ----------------...
gpl-3.0
morfeo642/mta_plr_server
module/util/vehicleids.lua
1
10931
--[[! \file \brief Este script contiene grupos de IDs que nos permiten categorizar, clasificar vehiculos. ]] loadModule("util/groupids"); loadModule("util/checkutils"); --[[! Este grupo posee todas las IDs de todos los vehiculos existentes en MTA ]] allVehicleIds = groupIds(602, 545, 496, 517, 401, 410, 518, 600,...
mit
MalRD/darkstar
scripts/zones/Port_Bastok/IDs.lua
12
7450
----------------------------------- -- Area: Port_Bastok ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.PORT_BASTOK] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back a...
gpl-3.0
MalRD/darkstar
scripts/globals/items/pepperoni_pizza_+1.lua
11
1264
----------------------------------------- -- ID: 5698 -- Item: pepperoni_pizza_+1 -- Food Effect: 4 hours, all Races ----------------------------------------- -- HP +35 -- Strength 2 -- Accuracy 9% (caps @ 11) -- Attack 10% (caps @ 16) ----------------------------------------- require("scripts/globals/status") require(...
gpl-3.0
gallenmu/MoonGen
libmoon/lua/lib/syscall/libc.lua
24
2992
-- things that are libc only, not syscalls -- this file will not be included if not running with libc eg for rump local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs,...
mit
MalRD/darkstar
scripts/zones/Mount_Zhayolm/mobs/Sarameya.lua
11
2571
----------------------------------- -- Area: Mount Zhayolm -- NM: Sarameya -- !pos 322 -14 -581 61 -- Spawned with Buffalo Corpse: !additem 2583 -- Wiki: http://ffxiclopedia.wikia.com/wiki/Sarameya -- TODO: PostAIRewrite: Code the Howl effect and gradual resists. ----------------------------------- mixins = {require(...
gpl-3.0
MalRD/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Hadayah.lua
12
1163
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Hadayah -- Type: Alchemy Image Support -- !pos -10.470 -6.25 -141.700 241 ----------------------------------- local ID = require("scripts/zones/Aht_Urhgan_Whitegate/IDs") require("scripts/globals/status") require("scripts/globals/crafting") ----...
gpl-3.0
Lsty/ygopro-scripts
c39153655.lua
3
3077
--DDケルベロス function c39153655.initial_effect(c) --pendulum summon aux.AddPendulumProcedure(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --atk/def local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(39153655,0)) e2:S...
gpl-2.0
Lsty/ygopro-scripts
c49721904.lua
3
1198
--真六武衆-キザン function c49721904.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(c49721904.spcon) c:RegisterEffect(e1) --atk,def local e2=Effect.Crea...
gpl-2.0
openwrt/luci
modules/luci-compat/luasrc/model/network/proto_modemmanager.lua
8
1488
-- Copyright 2016 David Thornley <david.thornley@touchstargroup.com> -- Licensed to the public under the Apache License 2.0. local netmod = luci.model.network local interface = luci.model.network.interface local proto = netmod:register_protocol("modemmanager") function proto.get_i18n(self) return luci.i18n.translate...
apache-2.0
Lsty/ygopro-scripts
c77372241.lua
7
1102
--フレムベル・グルニカ function c77372241.initial_effect(c) --damage local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(77372241,0)) e1:SetCategory(CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetRange(LOCA...
gpl-2.0
MalRD/darkstar
scripts/zones/Norg/npcs/Edal-Tahdal.lua
9
4243
----------------------------------- -- Area: Norg -- NPC: Edal-Tahdal -- Starts and Finishes Quest: Trial by Water -- !pos -13 1 -20 252 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/keyitems"); require("scripts/globals/shop"); requ...
gpl-3.0
MalRD/darkstar
scripts/globals/weaponskills/blast_shot.lua
10
1365
----------------------------------- -- Blast Shot -- Marksmanship weapon skill -- Skill Level: 200 -- Delivers a melee-distance ranged attack. params.accuracy varies with TP. -- Aligned with the Snow Gorget & Light Gorget. -- Aligned with the Snow Belt & Light Belt. -- Element: None -- Modifiers: AGI:30% -- 100%TP 2...
gpl-3.0
Lsty/ygopro-scripts
c68396778.lua
3
1761
--悪魔への貢物 function c68396778.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c68396778.target) e1:SetOperation(c68396778.activat...
gpl-2.0
Noneatme/MTA-SCP-049
client/sound/CSoundManager.lua
1
4453
-- ############################### -- ## Project: MTA:scp-088 ## -- ## Name: SoundManager ## -- ## Author: Noneatme ## -- ## Version: 1.0 ## -- ## License: See top Folder ## -- ############################### -- FUNCTIONS / METHODS -- local cFunc = {}; -- Local Functions local cSetting = {}; -- Local Setting...
mit
cshore-firmware/openwrt-luci
applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/widgets_overview.lua
68
1868
-- Copyright 2012 Manuel Munz <freifunk at somakoma dot de> -- Licensed to the public under the Apache License 2.0. local uci = require "luci.model.uci".cursor() local fs = require "nixio.fs" local utl = require "luci.util" m = Map("freifunk-widgets", translate("Widgets"), translate("Configure installed widget...
apache-2.0
MalRD/darkstar
scripts/zones/Vunkerl_Inlet_[S]/npcs/qm7.lua
9
1940
----------------------------------- -- Area: Vunkerl Inlet (S) (H-6) -- NPC: ??? -- Involved in Quests -- !pos -26 -31 364 ----------------------------------- local ID = require("scripts/zones/Vunkerl_Inlet_[S]/IDs"); require("scripts/globals/quests"); ----------------------------------- function onTrade(player,npc,t...
gpl-3.0
robertbrook/Penlight
lua/pl/Set.lua
4
4587
--- A Set class. -- -- > Set = require 'pl.Set' -- > = Set{'one','two'} == Set{'two','one'} -- true -- > fruit = Set{'apple','banana','orange'} -- > = fruit['banana'] -- true -- > = fruit['hazelnut'] -- nil -- > colours = Set{'red','orange','green','blue'} -- > = fruit,colours --...
mit
openwrt/luci
applications/luci-app-dcwapd/luasrc/model/cbi/dcwapd/dcwapd.lua
8
5826
-- Copyright 2019 EWSI -- Licensed to the public under the Apache License 2.0. local wa = require "luci.tools.webadmin" local fs = require "nixio.fs" local ntm = require "luci.model.network" local uc = require "luci.model.uci".cursor() local sys = require "luci.sys" local devices = sys.net.devices() local m, s loca...
apache-2.0
morfeo642/mta_plr_server
hedit/client/gui/guicreator.lua
1
19170
--[[ local toggleEvents ( element window, bool toggle ) startBuilding ( ) destroyGUI ( ) buildMainWindow ( template ) buildUtilButtons ( template ) buildMenuButtons ( template ) buildMenus ( template ) buildSpecials ( template ) buildErrorMenu ( template ) gui...
mit
gallenmu/MoonGen
libmoon/lua/lib/turbo/turbo/websocket.lua
4
29912
--- Turbo.lua Websocket module. -- -- Websockets according to the RFC 6455. http://tools.ietf.org/html/rfc6455 -- -- The module offers two classes: -- * WebSocketHandler - WebSocket support for turbo.web.Application. -- * WebSocketClient - Callback based WebSocket client. -- Both classes uses the mixin class WebSocket...
mit
CommandPost/CommandPost-App
extensions/canvas/canvas.lua
4
50261
--- === hs.canvas === --- --- A different approach to drawing in Hammerspoon --- --- `hs.drawing` approaches graphical images as independant primitives, each "shape" being a separate drawing object based on the core primitives: ellipse, rectangle, point, line, text, etc. This model works well with graphical elements t...
mit
MalRD/darkstar
scripts/zones/Arrapago_Remnants/instances/arrapago_remnants.lua
11
5649
----------------------------------- -- -- Salvage: Arrapago Remnants -- ----------------------------------- local ID = require("scripts/zones/Arrapago_Remnants/IDs") require("scripts/globals/instance") ----------------------------------- function afterInstanceRegister(player) local instance = player:getInstance() ...
gpl-3.0
primeplus2017/COMING_SOON
plugins/stats.lua
866
4001
do -- Returns a table with `name` and `msgs` local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_prin...
agpl-3.0
sagarwaghmare69/nn
TemporalConvolution.lua
14
2040
local TemporalConvolution, parent = torch.class('nn.TemporalConvolution', 'nn.Module') function TemporalConvolution:__init(inputFrameSize, outputFrameSize, kW, dW) parent.__init(self) dW = dW or 1 self.inputFrameSize = inputFrameSize self.outputFrameSize = outputFrameSize self.kW = kW self.dW = dW ...
bsd-3-clause
Lsty/ygopro-scripts
c54407825.lua
3
1802
--驚天動地 function c54407825.initial_effect(c) local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --to deck local e2=Effect.CreateEffect(c) e2:SetCategory(CATEGORY_TODECK) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) e2:SetRange(LOCATION_SZONE...
gpl-2.0
gallenmu/MoonGen
libmoon/lua/lib/turbo/turbo/http_response_codes.lua
14
2456
--- Turbo.lua HTTP Response code list. -- -- Copyright John Abrahamsen 2011, 2012, 2013 < JhnAbrhmsn@gmail.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, in...
mit
Lsty/ygopro-scripts
c99002135.lua
3
1584
--緊急合成 function c99002135.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:SetCost(c99002135.cost) e1:SetTarget(c99002135.target) e1:SetOperation(c99002135.activate) c:RegisterEffect(e1) end fun...
gpl-2.0
Lsty/ygopro-scripts
c77414722.lua
3
1231
--マジック・ジャマー function c77414722.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_CHAINING) e1:SetCondition(c77414722.condition) e1:SetCost(c77414722.cost) e1:SetTarget(c77414722.target) e1:SetOperation...
gpl-2.0
Aaa1r/DRAGON
plugins/isup.lua
2
3748
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY ali dragon ▀▄ ▄▀ ▀▄ ▄▀ BY ali dragon (@Aaa1R) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY :ali dragon ▀▄ ▄▀ ▀▄ ▄▀ isup : ضد توقف البوت ▀▄ ▄▀ ▀▄...
gpl-2.0
Lsty/ygopro-scripts
c66451379.lua
5
2854
--グレイドル・アリゲーター function c66451379.initial_effect(c) --equip local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY) e1:SetCode(EVENT_TO_GRAVE) e1:SetCondition(c66451379.eq...
gpl-2.0
Lsty/ygopro-scripts
c93332803.lua
3
2707
--Dogoran, the Mad Flame Kaiju function c93332803.initial_effect(c) c:SetUniqueOnField(1,0,20000000) --special summon rule local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetRange(LOCATION_HAND) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_SPSUM_PARAM) e1:S...
gpl-2.0
maxrio/luci981213
modules/luci-mod-admin-mini/luasrc/controller/mini/index.lua
74
1261
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.mini.index", package.seeall) function index() local root = node() if not root.lock then root.target = alias("mini") root.index =...
apache-2.0
Lsty/ygopro-scripts
c70560957.lua
3
1324
--トゥーン・ロールバック function c70560957.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCondition(c70560957.condition) e1:SetTarget(c70560957.target) e1:SetOperation(c70560957.activate) c:RegisterE...
gpl-2.0
Lsty/ygopro-scripts
c24384095.lua
3
1345
--九蛇孔雀 function c24384095.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(24384095,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY) e1:SetCode(EVENT_TO_GRAVE) e1:SetCountLi...
gpl-2.0
Lsty/ygopro-scripts
c39900763.lua
3
1565
--異次元の邂逅 function c39900763.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:SetTarget(c39900763.target) e1:SetOperation(c39900763.operation) c:RegisterEffect(e1) end function c39900763.filter(c,...
gpl-2.0
stephenfournier/Dota-2-Building-Helper
game/dota_addons/samplerts/scripts/vscripts/libraries/popups.lua
9
5511
local popup = {} POPUP_SYMBOL_PRE_PLUS = 0 POPUP_SYMBOL_PRE_MINUS = 1 POPUP_SYMBOL_PRE_SADFACE = 2 POPUP_SYMBOL_PRE_BROKENARROW = 3 POPUP_SYMBOL_PRE_SHADES = 4 POPUP_SYMBOL_PRE_MISS = 5 POPUP_SYMBOL_PRE_EVADE = 6 POPUP_SYMBOL_PRE_DENY = 7 POPUP_SYMBOL_PRE_ARROW = 8 POPUP_SYMBOL_POST_EXCLAMATION = 0 POPUP_SYMBOL_POST...
gpl-3.0
donnadionne/grpc
third_party/upb/tests/bindings/lua/test_upb.lua
1
23556
local upb = require "lupb" local lunit = require "lunit" local upb_test = require "tests.bindings.lua.test_pb" local test_messages_proto3 = require "google.protobuf.test_messages_proto3_pb" local test_messages_proto2 = require "google.protobuf.test_messages_proto2_pb" local descriptor = require "google.protobuf.descri...
apache-2.0
cshore-firmware/openwrt-luci
protocols/luci-proto-qmi/luasrc/model/cbi/admin_network/proto_qmi.lua
17
1270
-- Copyright 2016 David Thornley <david.thornley@touchstargroup.com> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local device, apn, pincode, username, password local auth, ipv6 device = section:taboption("general", Value, "device", translate("Modem device")) device.rmempty ...
apache-2.0
MalRD/darkstar
scripts/zones/The_Garden_of_RuHmet/npcs/Ebon_Panel.lua
9
3451
----------------------------------- -- Area: The Garden of RuHmet -- NPC: Ebon_Panel -- !pos 100.000 -5.180 -337.661 35 | Mithra Tower -- !pos 740.000 -5.180 -342.352 35 | Elvaan Tower -- !pos 257.650 -5.180 -699.999 35 | Tarutaru Tower -- !pos 577.648 -5.180 -700.000 35 | Galka Tower ---------------------------------...
gpl-3.0
gallenmu/MoonGen
libmoon/deps/luajit/src/jit/v.lua
54
5783
---------------------------------------------------------------------------- -- Verbose mode of the LuaJIT compiler. -- -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
mit
Lsty/ygopro-scripts
c313513.lua
3
2664
--魔法の歯車 function c313513.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:SetCost(c313513.cost) e1:SetTarget(c313513.target) e1:SetOperation(c313513.activate) c:RegisterEffect(e1) end function c...
gpl-2.0
MalRD/darkstar
scripts/zones/Inner_Horutoto_Ruins/IDs.lua
9
2622
----------------------------------- -- Area: Inner Horutoto Ruins (192) ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.INNER_HORUTOTO_RUINS] = { text = { PORTAL_SEALED_BY_3_MAGIC = 8, -- The Sealed Portal ...
gpl-3.0
carloseduardosx/sky-force-infinite
src/images/mediumEnemies.lua
1
1325
-- -- created with TexturePacker (http://www.codeandweb.com/texturepacker) -- -- $TexturePacker:SmartUpdate:14f1e62f55d7f5242c38cbb240cc1172:0d7e9d0e9a9eaacc1ebd88e871ce9d63:202d7ad1136b4beb2111947776ecb911$ -- -- local sheetInfo = require("mysheet") -- local myImageSheet = graphics.newImageSheet( "mysheet.png", sheetI...
apache-2.0
Lsty/ygopro-scripts
c58820853.lua
5
1536
--BF-蒼炎のシュラ function c58820853.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(58820853,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DESTROYING) e1:SetCondition(aux.bdogcon) e1:SetTarget...
gpl-2.0
Aaa1r/DRAGON
plugins/writer_arbk2.lua
2
7943
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY ali dragon ▀▄ ▄▀ ▀▄ ▄▀ BY Alidragun (@Aaa1R) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY :ali dragon ▀▄ ▄▀ ▀▄ ▄▀ decoration : زخرفه ▀▄ ▄▀ ▀▄▀▀...
gpl-2.0
MalRD/darkstar
scripts/zones/Norg/npcs/Verctissa.lua
9
2679
----------------------------------- -- Area: Norg -- NPC: Verctissa -- Starts Quest: Trial Size Trial By Water -- !pos -13 1 -20 252 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/quests"); require("scripts/globals/teleports"); local...
gpl-3.0
MalRD/darkstar
scripts/zones/King_Ranperres_Tomb/mobs/Cemetery_Cherry.lua
10
1368
----------------------------------- -- Area: King Ranperres Tomb -- NM: Cemetery Cherry -- !pos 33.000 0.500 -287.000 190 ----------------------------------- local ID = require("scripts/zones/King_Ranperres_Tomb/IDs") require("scripts/globals/titles") ----------------------------------- function spawnSaplings() ...
gpl-3.0
Lsty/ygopro-scripts
c61962135.lua
3
2967
--閃光のイリュージョン function c61962135.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:SetHintTiming(0,TIMING_END_PHASE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c61962135.target) e1:SetOp...
gpl-2.0
MalRD/darkstar
scripts/globals/items/galkan_sausage_+2.lua
11
1056
----------------------------------------- -- ID: 5860 -- Item: galkan_sausage_+2 -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 5 -- Intelligence -6 -- Attack 11 -- Ranged Attack 11 ----------------------------------------- require("scripts/globals/status") require("scripts/globa...
gpl-3.0
MalRD/darkstar
scripts/globals/items/crepe_belle_helene.lua
11
1185
----------------------------------------- -- ID: 5778 -- Item: Crepe Belle Helene -- Food Effect: 30 Min, All Races ----------------------------------------- -- Intelligence +2 -- MP Healing +3 -- Magic Accuracy +21% (cap 50) -- Magic Defense +1 ----------------------------------------- require("scripts/globals/status"...
gpl-3.0
Frenzie/koreader
plugins/gestures.koplugin/main.lua
1
46507
local BD = require("ui/bidi") local ConfirmBox = require("ui/widget/confirmbox") local DataStorage = require("datastorage") local Device = require("device") local Dispatcher = require("dispatcher") local Event = require("ui/event") local FFIUtil = require("ffi/util") local Geom = require("ui/geometry") local GestureDet...
agpl-3.0
Frenzie/koreader
spec/unit/mock_time.lua
4
11171
require("commonrequire") local time = require("ui/time") local ffi = require("ffi") local dummy = require("ffi/posix_h") local logger = require("logger") local util = require("ffi/util") local C = ffi.C local MockTime = { original_os_time = os.time, original_util_time = nil, original_tv_realtime = nil, ...
agpl-3.0
ThingMesh/openwrt-luci
protocols/ipv6/luasrc/model/cbi/admin_network/proto_6rd.lua
53
2242
--[[ LuCI - Lua Configuration Interface Copyright 2011-2012 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ]]-- loc...
apache-2.0
Frenzie/koreader
frontend/ui/widget/htmlboxwidget.lua
4
7768
--[[-- HTML widget (without scroll bars). --]] local Device = require("device") local DrawContext = require("ffi/drawcontext") local Geom = require("ui/geometry") local GestureRange = require("ui/gesturerange") local InputContainer = require("ui/widget/container/inputcontainer") local Mupdf = require("ffi/mupdf") loca...
agpl-3.0
Lsty/ygopro-scripts
c12538374.lua
3
1273
--黄泉ガエル function c12538374.initial_effect(c) --Special Summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(12538374,0)) e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_FIELD) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCode(EVENT_PHASE+PHASE_STANDBY) e1:SetRange(LOCATION_GRAVE) e1:SetCountLimit...
gpl-2.0
MalRD/darkstar
scripts/zones/Port_San_dOria/npcs/Miene.lua
9
2320
----------------------------------- -- Area: Port San d'Oria -- NPC: Miene -- NPC for Quest "The Pickpocket" -- !pos 0.750 -4.000 -81.438 232 ----------------------------------- local ID = require("scripts/zones/Port_San_dOria/IDs") require("scripts/globals/npc_util") require("scripts/globals/settings") require("scrip...
gpl-3.0
maxrio/luci981213
applications/luci-app-pbx/luasrc/model/cbi/pbx-advanced.lua
99
14473
--[[ Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com> This file is part of luci-pbx. luci-pbx 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 ...
apache-2.0
MalRD/darkstar
scripts/globals/weaponskills.lua
8
42836
-- Contains all common weaponskill calculations including but not limited to: -- fSTR -- Alpha -- Ratio -> cRatio -- min/max cRatio -- applications of fTP -- applications of critical hits ('Critical hit rate varies with TP.') -- applications of accuracy mods ('Accuracy varies with TP.') -- applications of damage mods (...
gpl-3.0
Nuthen/ludum-dare-39
entities/control.lua
1
4405
local baton = { _VERSION = 'baton', _DESCRIPTION = 'Input library for LÖVE.', _URL = 'https://github.com/tesselode/baton', _LICENSE = [[ MIT License Copyright (c) 2016 Andrew Minnich Permission is hereby granted, free of charge, to any person obtaining a copy of this software and assoc...
mit
openwrt/luci
applications/luci-app-dockerman/luasrc/model/cbi/dockerman/configuration.lua
3
2271
-- Copyright 2021 Florian Eckert <fe@dev.tdt.de> -- Licensed to the public under the Apache License 2.0. local m, s, o m = Map("dockerd", translate("Docker - Configuration"), translate("DockerMan is a simple docker manager client for LuCI")) s = m:section(NamedSection, "globals", "section", translate("Global setti...
apache-2.0
MalRD/darkstar
scripts/globals/items/bowl_of_oceanfin_soup.lua
11
1615
----------------------------------------- -- ID: 6070 -- Item: Bowl of Oceanfin Soup -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- Accuracy % 15 Cap 95 -- Ranged Accuracy % 15 Cap 95 -- Attack % 19 Cap 85 -- Ranged Attack % 19 Cap 85 -- Amorph Killer 6 -----------------------------------...
gpl-3.0
MalRD/darkstar
scripts/globals/abilities/scholars_roll.lua
12
2513
----------------------------------- -- Ability: Scholar's Roll -- Enhances Conserve MP effect for party members within area of effect -- Optimal Job: Scholar -- Lucky Number: 2 -- Unlucky Number: 6 -- Level: 64 -- Phantom Roll +1 Value: 1 -- -- Data unknown ----------------------------------- require("scripts/globals/s...
gpl-3.0
Lsty/ygopro-scripts
c57690191.lua
3
3284
--聖騎士の三兄弟 function c57690191.initial_effect(c) --atk limit local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_CANNOT_ATTACK) e1:SetCondition(c57690191.atcon) c:RegisterEffect(e1) --special summon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(57690191,0)) e2:SetCa...
gpl-2.0
MalRD/darkstar
scripts/zones/Northern_San_dOria/npcs/Abeaule.lua
9
3954
----------------------------------- -- Area: Northern San d'Oria -- NPC: Abeaule -- Starts and Finishes Quest: The Trader in the Forest, The Medicine Woman -- !pos -136 -2 56 231 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/keyitem...
gpl-3.0
Lsty/ygopro-scripts
c95040215.lua
3
1640
--BF-星影のノートゥング function c95040215.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) c:EnableReviveLimit() --damage local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e...
gpl-2.0
gallenmu/MoonGen
libmoon/lua/lib/syscall/ffitypes.lua
24
2200
-- these are types which are currently the same for all ports -- in a module so rump does not import twice -- note that even if type is same (like pollfd) if the metatype is different cannot be here due to ffi -- TODO not sure we want these long term, merge to individual OS files. local require, error, assert, tonumb...
mit
maxrio/luci981213
libs/luci-lib-nixio/root/usr/lib/lua/nixio/util.lua
179
5824
--[[ nixio - Linux I/O library for lua Copyright 2009 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- local...
apache-2.0
MalRD/darkstar
scripts/zones/Port_San_dOria/npcs/Joulet.lua
9
3572
----------------------------------- -- Area: Port San d'Oria -- NPC: Joulet -- Starts The Competition -- !pos -18 -2 -45 232 ----------------------------------- local ID = require("scripts/zones/Port_San_dOria/IDs"); require("scripts/globals/npc_util"); require("scripts/globals/settings"); require("scripts/globals/ke...
gpl-3.0
MalRD/darkstar
scripts/globals/missions.lua
9
70112
require("scripts/globals/keyitems") require("scripts/globals/log_ids") require("scripts/globals/zone") dsp = dsp or {} dsp.mission = dsp.mission or {} dsp.mission.log_id = { SANDORIA = 0, BASTOK = 1, WINDURST = 2, ZILART = 3, TOAU = 4, WOTG = 5, COP ...
gpl-3.0
Noneatme/MTA-SCP-049
server/utils/CSettings.lua
1
2060
-- ####################################### -- ## Project: MTA:scp-088 ## -- ## Name: Settings.lua ## -- ## Author: Noneatme ## -- ## Version: 1.0 ## -- ## License: See top Folder ## -- ####################################### -- FUNCTIONS / METHODS -- local cFunc = {}; -- Local Functions local cSett...
mit
MalRD/darkstar
scripts/globals/items/seafood_pitaru.lua
11
1040
----------------------------------------- -- ID: 5891 -- Item: seafood_pitaru -- Food Effect: 30 Min, All Races ----------------------------------------- -- MP +8% (cap 120) -- Increases rate of magic skill gains by 60% ----------------------------------------- require("scripts/globals/status") require("scripts/globals...
gpl-3.0
MalRD/darkstar
scripts/zones/RoMaeve/npcs/Qu_Hau_Spring.lua
9
2676
----------------------------------- -- Qu_Hau_Spring -- Area: Ro'Maeve ----------------------------------- local ID = require("scripts/zones/RoMaeve/IDs") require("scripts/globals/keyitems") require("scripts/globals/missions") require("scripts/globals/quests") ----------------------------------- function onTrade(playe...
gpl-3.0
MalRD/darkstar
scripts/zones/Empyreal_Paradox/npcs/Transcendental.lua
9
1206
----------------------------------- -- Area: Empyreal_Paradox -- NPC: Transcendental ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/missions"); require("scripts/globals/keyitems"); require("scripts/globals/bcnm"); function onTrade(player,npc,trade) if (Trad...
gpl-3.0
MalRD/darkstar
scripts/zones/Southern_San_dOria/npcs/Endracion.lua
9
6588
----------------------------------- -- Area: Southern San d'Oria -- NPC: Endracion -- !pos -110 1 -34 230 ----------------------------------- local ID = require("scripts/zones/Southern_San_dOria/IDs"); require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/missions"); ------...
gpl-3.0
Lsty/ygopro-scripts
c50263751.lua
3
1401
--グリード・クエーサー function c50263751.initial_effect(c) --base attack local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SET_BASE_ATTACK) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetValue(c50263751.atkval) c:RegisterEffect(e1) local e2=e1:Clone() e2:SetCo...
gpl-2.0
MalRD/darkstar
scripts/globals/spells/hojo_ni.lua
12
1459
----------------------------------------- -- Spell: Hojo:Ni -- Description: Inflicts Slow on target. -- Edited from slow.lua ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onM...
gpl-3.0
zhaozg/lit
tests/libs/tap.lua
3
4990
--[[ 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
MalRD/darkstar
scripts/globals/mobskills/warm-up.lua
12
1751
--------------------------------------------- -- Warm-Up -- -- Description: Enhances accuracy and evasion. -- Type: Magical (Earth) --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/settings") require("scripts/globals/status") ------------------------------...
gpl-3.0
MalRD/darkstar
scripts/zones/AlTaieu/npcs/qm4.lua
12
1267
----------------------------------- -- Area: Al'Taieu -- NPC: ??? (Jailer of Love and Absolute Virtue Spawn) -- Allows players to spawn the Jailer of Love by trading the Fourth Virtue, Fifth Virtue and Sixth Virtue to a ???. -- Allows players to spawn Absolute Virtue by killing Jailer of Love. -- !pos , 431 -0 -603 --...
gpl-3.0
bforbis/thrift
lib/lua/TJsonProtocol.lua
42
18656
-- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"), you ma...
apache-2.0
Lsty/ygopro-scripts
c49221191.lua
3
2617
--CNo.32 海咬龍シャーク・ドレイク・バイス function c49221191.initial_effect(c) --xyz summon c:EnableReviveLimit() aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_WATER),4,4,c49221191.ovfilter,aux.Stringid(49221191,0)) --atk/def local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(49221191,1)) e...
gpl-2.0
CommandPost/CommandPost-App
extensions/pasteboard/pasteboard.lua
4
4770
--- === hs.pasteboard === --- --- Inspect/manipulate pasteboards (more commonly called clipboards). Both the system default pasteboard and custom named pasteboards can be interacted with. --- --- This module is based partially on code from the previous incarnation of Mjolnir by [Steven Degutis](https://github.com/sdegu...
mit
Lsty/ygopro-scripts
c73018302.lua
3
1754
--黒羽を狩る者 function c73018302.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(73018302,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCondition(c73018302.descon) e1:SetCost(...
gpl-2.0
Lsty/ygopro-scripts
c1764972.lua
3
4587
--デスカイザー・ドラゴン/バスター function c1764972.initial_effect(c) c:EnableReviveLimit() --Cannot special summon local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) e1:SetValue(aux.FALSE) c:RegisterEffect(e1) ...
gpl-2.0
Lsty/ygopro-scripts
c4857085.lua
5
2254
--Ωメガネ function c4857085.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c4857085.target) e1:SetOperation(c4857085.operation) c:RegisterEffect(e1) --Eq...
gpl-2.0
MalRD/darkstar
scripts/zones/Windurst_Waters/npcs/Piketo-Puketo.lua
12
1605
----------------------------------- -- Area: Windurst Waters -- NPC: Piketo-Puketo -- Type: Cooking Guild Master -- !pos -124.012 -2.999 59.998 238 ----------------------------------- local ID = require("scripts/zones/Windurst_Waters/IDs"); require("scripts/globals/crafting"); require("scripts/globals/status"); ------...
gpl-3.0
Rochet2/mangos-wotlk
dep/recastnavigation/RecastDemo/premake4.lua
82
3551
-- -- premake4 file to build RecastDemo -- http://industriousone.com/premake -- local action = _ACTION or "" local todir = "Build/" .. action solution "recastnavigation" configurations { "Debug", "Release" } location (todir) -- extra warnings, no exceptions or rtti flags { "ExtraWarnings", "FloatFast"...
gpl-2.0
Frenzie/koreader
frontend/luasettings.lua
4
8151
--[[-- This module handles generic settings as well as KOReader's global settings system. ]] local dump = require("dump") local ffiutil = require("ffi/util") local lfs = require("libs/libkoreader-lfs") local logger = require("logger") local LuaSettings = {} function LuaSettings:extend(o) o = o or {} setmetat...
agpl-3.0
T-L-N/Dev_TLN
plugins/lock_bot.lua
1
2913
--[[ _____ _ _ _ |_ _| | | | \ | | | | | | | \| | | | | |___ | |\ | |_| |_____| |_| \_| Dev @Aaa1R (علي_دراكون) Dev @llN00Nll (نظوري_الرئاسه) Dev @liknil (كرار_ابن_الرئاسه) Dev @x_I_10_I_x (انور_فايدر) —]] local function isAntiBotEnabled (chatId) local hash = ...
gpl-2.0
MalRD/darkstar
scripts/zones/Waughroon_Shrine/bcnms/hills_are_alive.lua
9
1072
----------------------------------- -- The Hills are Alive -- Waughroon Shrine KSNM99, Themis Orb -- !additem 1553 ----------------------------------- require("scripts/globals/battlefield") ----------------------------------- function onBattlefieldInitialise(battlefield) battlefield:setLocalVar("loot", 1) end fun...
gpl-3.0
Lsty/ygopro-scripts
c88301393.lua
5
4298
--インフェルノイド・アドラメレク function c88301393.initial_effect(c) c:EnableReviveLimit() --special summon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) c:RegisterEffect(e1) --special summon lo...
gpl-2.0
gallenmu/MoonGen
interface/flow/instance.lua
4
2016
local Flow = {} Flow.__index = Flow local function separateUid(uid) -- luacheck: globals read bit return bit.band(bit.rshift(uid, 24), 0xff), bit.band(bit.rshift(uid, 16), 0xff), bit.band(bit.rshift(uid, 8), 0xff), bit.band(bit.rshift(uid, 0), 0xff) end function Flow:prepare(error, final) self.isDynamic = ...
mit
Lsty/ygopro-scripts
c71044499.lua
3
1528
--抹殺の使徒 function c71044499.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c71044499.target) e1:SetOperation(c71044499.activate) c:Reg...
gpl-2.0
RadoslawWojdak/Guardians-of-the-Earth
packages/Box2D.2.3.0/src/native/premake4.lua
2
1600
-- Box2D premake script. -- http://industriousone.com/premake local action = _ACTION or "" solution "Box2D" location ( "Build/" .. action ) configurations { "Debug", "Release" } configuration "vs*" defines { "_CRT_SECURE_NO_WARNINGS" } configuration "Debug" targetdir ( "Build/" .. action .....
mit