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
hacker44-h44/teleguard-v2
plugins/bot_on_off.lua
292
1641
-- Checks if bot was disabled on specific chat local function is_channel_disabled( receiver ) if not _config.disabled_channels then return false end if _config.disabled_channels[receiver] == nil then return false end return _config.disabled_channels[receiver] end local function enable_channel(receiver) if...
gpl-2.0
fegimanam/plggod
plugins/bot_on_off.lua
292
1641
-- Checks if bot was disabled on specific chat local function is_channel_disabled( receiver ) if not _config.disabled_channels then return false end if _config.disabled_channels[receiver] == nil then return false end return _config.disabled_channels[receiver] end local function enable_channel(receiver) if...
gpl-2.0
Shayan123456/bottttttt
plugins/bot_on_off.lua
292
1641
-- Checks if bot was disabled on specific chat local function is_channel_disabled( receiver ) if not _config.disabled_channels then return false end if _config.disabled_channels[receiver] == nil then return false end return _config.disabled_channels[receiver] end local function enable_channel(receiver) if...
gpl-2.0
wenhulove333/ScutServer
Sample/Koudai/Client/lua/lib/Sprite.lua
1
4256
------------------------------------------------------------------ -- Sprite.lua -- Author : ChenJM -- Version : 1.15 -- Date : -- Description: ¾«ÁéÀà, ------------------------------------------------------------------ Sprite = { _sprite = nil, _frames = nil,--µ±Ç°Óõڼ¸¸ö¶¯»­ _nameLabel=ni...
mit
jbeich/Aquaria
files/scripts/entities/collectibleblasteregg.lua
6
3688
-- 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
jbeich/Aquaria
files/scripts/entities/li.lua
5
33599
-- 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
nyczducky/darkstar
scripts/zones/Kazham/npcs/Swift.lua
14
1027
----------------------------------- -- Area: Kazham -- NPC: Swift -- Type: Standard NPC -- @zone 250 -- @pos 2.017 -5 -1.880 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
wenhulove333/ScutServer
Sample/Doudizhu/Client/lua/lib/UIHelper.lua
1
19712
module("UIHelper", package.seeall) --return button and LableText function Button(normalPic, downPic, listtener, strText, TextAlign, fontSize, color, tag, bCheck, disablePic) menuItem = MenuItem(normalPic, downPic, listtener, strText, TextAlign, fontSize, color, bCheck, disablePic) if tag ~= nil then menuIt...
mit
sevu/wesnoth
data/ai/micro_ais/mai-defs/protect.lua
4
2017
local AH = wesnoth.require "ai/lua/ai_helper.lua" local MAIH = wesnoth.require("ai/micro_ais/micro_ai_helper.lua") function wesnoth.micro_ais.protect_unit(cfg) -- Scores for this AI need to be hard-coded, it does not work otherwise local CA_parms = { ai_id = 'mai_protect_unit', { ca_id = 'finish', location = 'ca...
gpl-2.0
nyczducky/darkstar
scripts/globals/instance.lua
48
1990
function updateInstanceTime(instance, elapsed, texttable) local players = instance:getChars(); local lastTimeUpdate = instance:getLastTimeUpdate(); local remainingTimeLimit = (instance:getTimeLimit()) * 60 - (elapsed / 1000); local wipeTime = instance:getWipeTime(); local message = 0; if (...
gpl-3.0
francot514/CardGamePRO-Simulator
data/cards/c1044.lua
1
1150
--Mounted archer function c1044.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_TO_GRAVE) e1:SetCondition(c1044.condition) e1:SetTarget(c1044.target) e1:Set...
gpl-2.0
cliffano/swaggy-jenkins
clients/lua/generated/spec/pipeline_branchesitempull_requestlinks_spec.lua
1
1032
--[[ Swaggy Jenkins Jenkins API clients generated from Swagger / Open API specification The version of the OpenAPI document: 1.5.1-pre.0 Contact: blah@cliffano.com Generated by: https://openapi-generator.tech ]] --[[ Unit tests for openapiclient.model.pipeline_branchesitempull_requestlinks Automatically ge...
mit
dtrip/awesome
tests/examples/wibox/widget/piechart/label.lua
6
2471
--DOC_HIDE_ALL --DOC_GEN_IMAGE local parent = ... local wibox = require( "wibox" ) local beautiful = require( "beautiful" ) parent:add(wibox.widget { { { markup = "<b>display_labels</b> = <i>false</i>", widget = wibox.widget.textbox ...
gpl-2.0
abcdefg30/OpenRA
mods/d2k/maps/ordos-03b/ordos03b-AI.lua
14
1862
--[[ Copyright 2007-2022 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
abcdefg30/OpenRA
mods/d2k/maps/ordos-03a/ordos03a-AI.lua
14
1862
--[[ Copyright 2007-2022 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
nyczducky/darkstar
scripts/globals/spells/dokumori_ichi.lua
26
1205
----------------------------------------- -- Spell: Dokumori: Ichi ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,targ...
gpl-3.0
nyczducky/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Dagger.lua
17
1490
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Animated Dagger ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEnga...
gpl-3.0
nyczducky/darkstar
scripts/zones/Metalworks/npcs/Udine_AMAN.lua
33
1311
----------------------------------- -- Area: Metalworks -- NPC: Udine A.M.A.N -- Type: Mentor Recruiter ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Metalworks/TextIDs"); ----------------------------------- --...
gpl-3.0
Tanmoytkd/vlc
share/lua/extensions/VLSub.lua
38
59549
--[[ VLSub Extension for VLC media player 1.1 and 2.0 Copyright 2013 Guillaume Le Maout Authors: Guillaume Le Maout Contact: http://addons.videolan.org/messages/?action=newmessage&username=exebetche Bug report: http://addons.videolan.org/content/show.php/?content=148752 This program is free software; you can redist...
gpl-2.0
telematin/telewebamoz
plugins/vote.lua
83
2129
do local _file_votes = './data/votes.lua' function read_file_votes () local f = io.open(_file_votes, "r+") if f == nil then print ('Created voting file '.._file_votes) serialize_to_file({}, _file_votes) else print ('Values loaded: '.._file_votes) f:close() end return loadfile (_file_votes)()...
gpl-2.0
AquariaOSE/Aquaria
files/scripts/entities/rock2.lua
12
1793
-- 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
ArmanIr/restore
plugins/pokedex.lua
626
1668
do local images_enabled = true; local function get_sprite(path) local url = "http://pokeapi.co/"..path print(url) local b,c = http.request(url) local data = json:decode(b) local image = data.image return image end local function callback(extra) send_msg(extra.receiver, extra.text, ok_cb, false) end lo...
gpl-2.0
mynameiscraziu/mycaty
plugins/pokedex.lua
626
1668
do local images_enabled = true; local function get_sprite(path) local url = "http://pokeapi.co/"..path print(url) local b,c = http.request(url) local data = json:decode(b) local image = data.image return image end local function callback(extra) send_msg(extra.receiver, extra.text, ok_cb, false) end lo...
gpl-2.0
AquariaOSE/Aquaria
files/scripts/maps/node_suntemple_gear2.lua
6
1402
-- 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
wenhulove333/ScutServer
Sample/Doudizhu/Client/lua/config/language/ZH_CN/CardConfig.lua
1
4919
------------------------------------------------------------------ --CardConfig.lua -- Author : JMChen -- Version : 1.0.0.0 -- Date : 2011-10-15 -- Description: ------------------------------------------------------------------ module("CardConfig", package.seeall) function getCardInfoByid(i...
mit
nyczducky/darkstar
scripts/globals/mobskills/Pit_Ambush.lua
27
1212
--------------------------------------------- -- Pit Ambush -- -- Description: Only used by black antlions when they emerge to attack a player overhead. -- Type: Physical -- Utsusemi/Blink absorb: 1 shadow -- Range: Melee -- Notes: --------------------------------------------- require("scripts/globals/settings");...
gpl-3.0
Afforess/AmmoBox
data-updates.lua
1
1611
require 'util' data.raw['ammo-turret']['gun-turret'].fast_replaceable_group = "ammo-turret" -- verify gun_turret 2 tech has not been overriden by another mod -- and if it is overriden, re-add the recipe to the list of effects local found_recipe = false for _, effect in pairs(data.raw.technology['turrets-2'].effects) ...
isc
nyczducky/darkstar
scripts/globals/items/burning_claymore.lua
41
1075
----------------------------------------- -- ID: 16929 -- Item: Burning Claymore -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ---------------------------...
gpl-3.0
nyczducky/darkstar
scripts/zones/FeiYin/npcs/Strange_Apparatus.lua
27
1124
----------------------------------- -- Area: FeiYin -- NPC: Strange Apparatus -- @pos -94 -15 220 204 ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; require("scripts/zones/FeiYin/TextIDs"); require("scripts/globals/strangeapparatus"); ----------------------------------- --...
gpl-3.0
nyczducky/darkstar
scripts/zones/Horlais_Peak/bcnms/contaminated_colosseum.lua
30
1813
----------------------------------- -- Area: Horlias peak -- Name: contaminated_colosseum -- KSNM30 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scripts/...
gpl-3.0
apir8181/DLINE
binding/lua/demos/xor/xor-multiverso.lua
6
2251
-- -- The multiverso version train example referring from -- https://github.com/torch/nn/blob/master/doc/training.md -- require 'nn' -- Load multiverso. local multiverso = require 'multiverso' -- Init multiverso. multiverso.init(false) -- Get some useful parameters from multiverso. -- 1) The total number of workers...
mit
rfaday/SuperAdmin-bot
plugins/channels.lua
300
1680
-- Checks if bot was disabled on specific chat local function is_channel_disabled( receiver ) if not _config.disabled_channels then return false end if _config.disabled_channels[receiver] == nil then return false end return _config.disabled_channels[receiver] end local function enable_channel(receiver) if...
gpl-2.0
sjznxd/lc-20121231
applications/luci-statistics/luasrc/model/cbi/luci_statistics/network.lua
80
3002
--[[ Luci configuration model for statistics - collectd network plugin configuration (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the Licen...
apache-2.0
nyczducky/darkstar
scripts/zones/Yhoator_Jungle/npcs/Harvesting_Point.lua
17
1100
----------------------------------- -- Area: Yhoator Jungle -- NPC: Harvesting Point ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ------------------------------------- require("scripts/globals/harvesting"); require("scripts/zones/Yhoator_Jungle/TextIDs"); ------...
gpl-3.0
nyczducky/darkstar
scripts/zones/King_Ranperres_Tomb/npcs/Treasure_Chest.lua
17
3005
----------------------------------- -- Area: King Ranperres Tomb -- NPC: Treasure Chest -- @zone 190 ----------------------------------- package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/treasure"); requ...
gpl-3.0
nyczducky/darkstar
scripts/zones/Dynamis-Jeuno/Zone.lua
10
2570
----------------------------------- -- -- Zone: Dynamis-Jeuno -- ----------------------------------- package.loaded["scripts/zones/Dynamis-Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Dynamis-Jeuno/TextIDs"); -----------------------------------...
gpl-3.0
nyczducky/darkstar
scripts/globals/abilities/pets/grand_fall.lua
28
1330
--------------------------------------------------- -- Geocrush --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); --------------------------------------------------- ...
gpl-3.0
nyczducky/darkstar
scripts/globals/weaponskills/blade_ten.lua
26
1432
----------------------------------- -- Blade Ten -- Katana weapon skill -- Skill Level: 225 -- Delivers a single-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget & Soil Gorget. -- Aligned with the Shadow Belt & Soil Belt. -- Element: None -- Modifiers: STR:30% ; DEX:...
gpl-3.0
dtrip/awesome
lib/wibox/widget/base.lua
2
26698
--------------------------------------------------------------------------- -- @author Uli Schlachter -- @copyright 2010 Uli Schlachter -- @classmod wibox.widget.base --------------------------------------------------------------------------- local object = require("gears.object") local cache = require("gears.cache") ...
gpl-2.0
AquariaOSE/Aquaria
game_scripts/_mods/guert_mod/tempo/energyorbcracked.lua
12
3306
-- 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
nyczducky/darkstar
scripts/zones/Yughott_Grotto/npcs/Mining_Point.lua
17
1083
----------------------------------- -- Area: Yughott Grotto -- NPC: Mining Point ----------------------------------- package.loaded["scripts/zones/Yughott_Grotto/TextIDs"] = nil; ------------------------------------- require("scripts/globals/mining"); require("scripts/zones/Yughott_Grotto/TextIDs"); --------------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Ordelles_Caves/npcs/Stalagmite.lua
14
2641
----------------------------------- -- 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/settings"); req...
gpl-3.0
hadess/libquvi-scripts-iplayer
share/lua/website/theonion.lua
1
2037
-- libquvi-scripts -- Copyright (C) 2012 Toni Gundogdu <legatvs@gmail.com> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This library is free software; you can redistribute it and/or -- modify it under the terms of the GNU Lesser General Public -- License as published by the Free So...
lgpl-2.1
nyczducky/darkstar
scripts/globals/spells/absorb-acc.lua
9
1334
-------------------------------------- -- Spell: Absorb-ACC -- Steals an enemy's accuracy. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast -----------------...
gpl-3.0
ArmanIr/restore
plugins/help.lua
337
5009
do function pairsByKeys(t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
gpl-2.0
nyczducky/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Mazuro-Oozuro.lua
17
1274
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Mazuro-Oozuro -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); -------------------...
gpl-3.0
nyczducky/darkstar
scripts/globals/weaponskills/wasp_sting.lua
18
1571
----------------------------------- -- Wasp Sting -- Dagger weapon skill -- Skill level: 5 -- Poisons target. Duration of effect varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Soil Gorget. -- Aligned with the Soil Belt. -- Element: None -- Modifiers: : DEX:100% -- 100%TP 200%TP 300%TP -- ...
gpl-3.0
jakianroy/NGUI_To_Be_Best
LuaEncoder/luajit/jit/dis_arm.lua
88
19364
---------------------------------------------------------------------------- -- LuaJIT ARM disassembler module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -...
gpl-3.0
sudheesh001/RFID-DBSync
cardpeek-0.8.3/dot_cardpeek_dir/scripts/moneo.lua
17
6671
-- -- This file is part of Cardpeek, the smartcard reader utility. -- -- Copyright 2009i-2013 by 'L1L1' -- -- Cardpeek 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 -- (...
gpl-2.0
Sojerbot/new
plugins/feedback.lua
1
1043
do function run(msg, matches) local fuse = ' #DearAdmin we have recived a new feedback just now : #newfeedback \n\n id : ' .. msg.from.id .. '\n\nNAME : ' .. msg.from.print_name ..'\n\nusername : @ ' .. msg.from.username ..'\pm :\n\n' .. matches[1] local fuses = '!printf user#id' .. msg.from.id local text = ...
gpl-2.0
jbeich/Aquaria
files/scripts/entities/collectibleenergytemple.lua
6
1036
-- 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
jbeich/Aquaria
files/scripts/entities/energyorb.lua
12
3455
-- 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
jbeich/Aquaria
files/scripts/maps/node_beacon_mithalas.lua
6
1131
-- 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
jbeich/Aquaria
files/scripts/entities/naijaswarmercommon.lua
6
3871
-- 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
nyczducky/darkstar
scripts/zones/Fort_Karugo-Narugo_[S]/npcs/qm6.lua
14
1727
---------------------------------- -- Area: Fort Karugo Narugo [S] -- NPC: ??? -- Type: Quest -- @zone 96 -- @pos -63 -75 4 -- ----------------------------------- package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil; require("scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"); require("scripts/globals/...
gpl-3.0
lgeek/koreader
frontend/ui/geometry.lua
4
8621
--[[-- 2D Geometry utilities All of these apply to full rectangles: local Geom = require("ui/geometry") Geom:new{ x = 1, y = 0, w = Screen:scaleBySize(100), h = Screen:scaleBySize(200), } Some behaviour is defined for points: Geom:new{ x = 0, y = 0, } Some behaviour is defined for dimensions: Geom...
agpl-3.0
vorbi123/x
bot/bot.lua
1
6805
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '0.14.6' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then r...
gpl-2.0
Lunarsu/Biomorphs
Awesome/rc.lua
1
26323
--[[ Biomorphs Awesome WM theme --]] -- Standard awesome library local gears = require("gears") local awful = require("awful") awful.rules = require("awful.rules") require("awful.autofocus") -- Widget and layout library local wibox = require("wibox") -- Theme handling library local beautiful = require("beautiful...
mit
ahmedjabbar/uor
plugins/filter.lua
8
3122
--[[ # #ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ #:(( # For More Information ....! # Developer : Aziz < @TH3_GHOST > # our channel: @DevPointTeam # Version: 1.1 #:)) #ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ # ]] lo...
gpl-2.0
jbeich/Aquaria
files/scripts/entities/kappa.lua
6
2335
-- 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
nyczducky/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Ruirara.lua
14
1058
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Ruirara -- Type: Standard NPC -- @zone 94 -- @pos -87.378 -2 -158.019 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Al_Zahbi/npcs/Dahaaba.lua
55
1752
----------------------------------- -- Area: Al Zahbi -- NPC: Dahaaba -- Type: Chocobo Renter -- @pos -65.309 -1 -39.585 ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ---------------...
gpl-3.0
lgeek/koreader
frontend/ui/widget/inputdialog.lua
1
7989
--[[-- Widget for taking user input. Example: local UIManager = require("ui/uimanager") local _ = require("gettext") local sample_input sample_input = InputDialog:new{ title = _("Dialog title"), input = "default value", input_hint = "hint text", input_type = "string", ...
agpl-3.0
dtrip/awesome
tests/examples/wibox/layout/grid/spacing.lua
6
1770
--DOC_GEN_IMAGE local generic_widget = ... --DOC_HIDE_ALL local wibox = require("wibox") --DOC_HIDE local beautiful = require("beautiful") --DOC_HIDE local w = wibox.widget { { { markup = "<b>spacing</b> = <i>0</i>", widget = wibox.widget.textbox }, { ...
gpl-2.0
nyczducky/darkstar
scripts/globals/spells/mages_ballad_ii.lua
27
1159
----------------------------------------- -- Spell: Mage's Ballad II -- Gradually restores target's MP. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,t...
gpl-3.0
nyczducky/darkstar
scripts/zones/Caedarva_Mire/npcs/_273.lua
9
4734
----------------------------------- -- Area: Caedarva Mire -- Door: Runic Seal -- @pos -353 -3 -20 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("...
gpl-3.0
nyczducky/darkstar
scripts/zones/Kuftal_Tunnel/npcs/Grounds_Tome.lua
30
1094
----------------------------------- -- Area: Kuftal Tunnel -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,tr...
gpl-3.0
blackman1380/selfbot
plugins/cpu.lua
5
1948
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 .. ' you...
gpl-2.0
oldstylejoe/vlc-timed
share/lua/sd/katsomo.lua
110
1336
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Ilkka Ollakka <ileoo at videolan dot org > This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at yo...
gpl-2.0
nyczducky/darkstar
scripts/zones/Xarcabard/mobs/Boreal_Tiger.lua
7
1112
----------------------------------- -- Area: Xarcabard -- NM: Boreal Tiger -- Involved in Quests: Atop the Highest Mountains -- @pos 341 -29 370 112 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/quests"); require("scripts/globals/settings"); require("scripts/zones/...
gpl-3.0
weissj3/milkywayathome_client
nbody/tests/orphan_test/orphan_test.lua
4
1522
prng = DSFMT.create(argSeed) nbody = 4096 dwarfMass = 16 dwarfRadius = 0.2 reverseTime = 4.0 evolveTime = 3.945 function makeHistogram() return HistogramParams.create() end function makePotential() local disk, halo, spherical disk = Disk.miyamotoNagai{ mass = 4.45865888e5, scaleLength ...
gpl-3.0
moskupols/dotfiles
awesome/zenburn.theme.lua
1
5319
------------------------------- -- "Zenburn" awesome theme -- -- By Adrian C. (anrxc) -- ------------------------------- -- Alternative icon sets and widget icons: -- * http://awesome.naquadah.org/wiki/Nice_Icons -- {{{ Main theme = {} theme.wallpaper = "/usr/share/awesome/themes/zenburn/zenburn-background.pn...
mit
dtrip/awesome
tests/examples/wibox/layout/grid/imperative.lua
6
1080
--DOC_GEN_IMAGE local generic_widget = ... --DOC_NO_USAGE --DOC_HIDE local wibox = require("wibox") --DOC_HIDE local first = generic_widget( "first" ) --DOC_HIDE local second = generic_widget( "second" ) --DOC_HIDE local third = generic_widget( "t\nh\ni\nr\nd" ) --DOC_HIDE local fourth = generic_widget( "fourt...
gpl-2.0
Mariappan/rcfiles
home/.notion/looks/look_greyviolet.lua
1
1815
-- look_greyviolet.lua drawing engine configuration file for Notion. if not gr.select_engine("de") then return end de.reset() de.defstyle("*", { shadow_colour = "#777777", highlight_colour = "#eeeeee", background_colour = "#aaaaaa", foreground_colour = "#000000", padding_pixels = 1, highlight...
gpl-2.0
nyczducky/darkstar
scripts/zones/Den_of_Rancor/npcs/_4g4.lua
27
2344
----------------------------------- -- Area: Den of Rancor -- NPC: Lantern (NW) -- @pos -59 45 24 160 ----------------------------------- package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Den_of_Rancor/TextIDs")...
gpl-3.0
nyczducky/darkstar
scripts/globals/spells/logical_etude.lua
27
1613
----------------------------------------- -- Spell: Logical Etude -- Static MND Boost, BRD 64 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMa...
gpl-3.0
lgeek/koreader
plugins/coverbrowser.koplugin/xutil.lua
3
1835
local ffi = require("ffi") -- Utilities functions needed by this plugin, but that may be added to -- existing base/ffi/ files local xutil = {} -- Data compression/decompression of strings thru zlib (may be put in a new base/ffi/zlib.lua) -- from http://luajit.org/ext_ffi_tutorial.html ffi.cdef[[ unsigned long compres...
agpl-3.0
MOSAVI17/Generalbot
plugins/slap.lua
17
4304
local command = 'slap [target]' local doc = [[``` /slap [target] Slap somebody. ```]] local triggers = { '^/slap[@'..bot.username..']*' } local slaps = { '$victim was shot by $victor.', '$victim was pricked to death.', '$victim walked into a cactus while trying to escape $victor.', '$victim drowned.', '$victim ...
gpl-2.0
nyczducky/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/qm6.lua
14
1118
----------------------------------- -- Area: Phomiuna Aqueducts -- NPC: qm6 (???) -- Notes: Opens door @ J-8 from behind -- @pos 105.502 -25.262 57.138 27 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade)...
gpl-3.0
BeyondTeam/Self-Bot
libs/dateparser.lua
502
6212
local difftime, time, date = os.difftime, os.time, os.date local format = string.format local tremove, tinsert = table.remove, table.insert local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable local dateparser={} --we shall use the host OS's...
gpl-2.0
dddaaaddd/teleiran_new
libs/dateparser.lua
502
6212
local difftime, time, date = os.difftime, os.time, os.date local format = string.format local tremove, tinsert = table.remove, table.insert local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable local dateparser={} --we shall use the host OS's...
gpl-2.0
alinoroz/pop_tm
libs/dateparser.lua
502
6212
local difftime, time, date = os.difftime, os.time, os.date local format = string.format local tremove, tinsert = table.remove, table.insert local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable local dateparser={} --we shall use the host OS's...
gpl-2.0
amwdrizz/factorio_Bulldozer
bulldozer-fixed/prototypes/entity.lua
1
6221
data:extend( { { type = "car", name = "bulldozer", icon = "__bulldozer-fixed__/graphics/icons/bulldozer.png", flags = {"pushable", "placeable-neutral", "player-creation"}, minable = {mining_time = 1, result = "bulldozer"}, max_health = 1500, corpse = "medium-remnants", dying_explosion ...
mit
nyczducky/darkstar
scripts/globals/spells/maidens_virelai.lua
12
1568
----------------------------------------- -- Spell: Maiden's Virelai -- Charms pet ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/pets"); ----------------------------------------- -- OnSpellCast -----------------------------------...
gpl-3.0
AquariaOSE/Aquaria
files/scripts/maps/node_energygodencounter.lua
6
6866
-- 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
jakianroy/NGUI_To_Be_Best
Assets/LuaFramework/ToLua/Lua/System/coroutine.lua
7
2582
-------------------------------------------------------------------------------- -- Copyright (c) 2015 - 2016 , 蒙占志(topameng) topameng@gmail.com -- All rights reserved. -- Use, modification and distribution are subject to the "MIT License" -----------------------------------------------------------------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Lufaise_Meadows/npcs/Cotete_WW.lua
14
3332
----------------------------------- -- Area: Lufaise Meadows -- NPC: Cotete, W.W. -- Border Conquest Guards -- @pos 414.659 0.905 -52.417 24 ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); requi...
gpl-3.0
ld-test/xlsxwriter
examples/defined_name.lua
2
1148
---- -- -- Example of how to create defined names with the xlsxwriter.lua module. -- -- This method is used to define a user friendly name to represent a value, -- a single cell or a range of cells in a workbook. -- -- Copyright 2014, John McNamara, jmcnamara@cpan.org -- local Workbook = require "xlsxwriter.workbook" ...
mit
jbeich/Aquaria
files/scripts/entities/pullplantnormal.lua
6
2771
-- 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
nyczducky/darkstar
scripts/globals/items/bowl_of_sophic_stew.lua
12
1478
----------------------------------------- -- ID: 5180 -- Item: bowl_of_sophic_stew -- Food Effect: 4Hrs, All Races ----------------------------------------- -- Dexterity 6 -- Intelligence 6 -- Mind 6 -- HP Recovered While Healing 3 -- MP Recovered While Healing 3 ----------------------------------------- require("scri...
gpl-3.0
ld-test/xlsxwriter
test/unit/worksheet/worksheet_merge_cells01.lua
2
1680
---- -- Tests for the xlsxwriter.lua worksheet class. -- -- Copyright 2014, John McNamara, jmcnamara@cpan.org -- require "Test.More" require "Test.LongString" plan(1) ---- -- Tests setup. -- local expected local got local caption local Worksheet = require "xlsxwriter.worksheet" local Format = require "xlsxwriter....
mit
nyczducky/darkstar
scripts/zones/Abyssea-Altepa/npcs/qm2.lua
14
1410
----------------------------------- -- Zone: Abyssea-Altepa -- NPC: qm2 (???) -- Spawns Amarok -- @pos ? ? ? 218 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) --[[ ...
gpl-3.0
nyczducky/darkstar
scripts/globals/weaponskills/tachi_hobaku.lua
18
1569
----------------------------------- -- Tachi Hobaku -- Great Katana weapon skill -- Skill Level: 30 -- Stuns enemy. Chance of stun varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Snow Gorget. -- Aligned with the Snow Belt. -- Element: None -- Modifiers: STR:60% -- 100%TP 200%TP 300%TP -- 1.00...
gpl-3.0
jbeich/Aquaria
files/scripts/entities/_unused/childdrask.lua
6
2571
-- 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
jbeich/Aquaria
files/scripts/entities/eric_forestgod.lua
6
1583
-- 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
sjznxd/lc-20121231
modules/niu/luasrc/model/cbi/niu/network/lan.lua
51
1037
local uci = require "luci.model.uci" local cursor = uci.cursor() local d = Delegator() d.allow_finish = true d.allow_back = true d.allow_cancel = true d:add("lan1", "niu/network/lan1") function d.on_cancel() cursor:revert("network") cursor:revert("dhcp") end function d.on_done() if uci.inst_state:get("network", "...
apache-2.0
nyczducky/darkstar
scripts/zones/Northern_San_dOria/npcs/Fittesegat.lua
14
1042
----------------------------------- -- Area: Northern San d'Oria -- NPC: Fittesegat -- Type: Standard Dialogue NPC -- @zone 231 -- @pos 144.250 0.000 138.203 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/TextIDs");...
gpl-3.0
nyczducky/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_ir7.lua
14
1933
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: _ir7 (Iron Gate) -- @pos -70.800 -1.500 60.000 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/global...
gpl-3.0
nyczducky/darkstar
scripts/globals/spells/bluemagic/filamented_hold.lua
26
1420
----------------------------------------- -- Spell: Filamented Hold -- Reduces the attack speed of enemies within a fan-shaped area originating from the caster -- Spell cost: 38 MP -- Monster Type: Vermin -- Spell Type: Magical (Earth) -- Blue Magic Points: 3 -- Stat Bonus: VIT+1 -- Level: 52 -- Casting Time: 2 seconds...
gpl-3.0
nyczducky/darkstar
scripts/zones/Open_sea_route_to_Al_Zahbi/npcs/Adeben.lua
14
1153
----------------------------------- -- Area: Open_sea_route_to_Al_Zahbi -- NPC: Adeben -- Notes: Tells ship ETA time -- @pos 0.340 -12.232 -4.120 46 ----------------------------------- package.loaded["scripts/zones/Open_sea_route_to_Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/zone...
gpl-3.0