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 |
|---|---|---|---|---|---|
kidaa/darkstar | scripts/globals/items/gold_carp.lua | 17 | 1318 | -----------------------------------------
-- ID: 4427
-- Item: gold_carp
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChe... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/PsoXja/TextIDs.lua | 2 | 1544 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6376; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6379; -- Obtained: <item>
GIL_OBTAINED = 6380; -- Obtained <number> gil
KEYITEM_OBTAINED = 6382; -- Obtain... | gpl-3.0 |
lhog/Zero-K | LuaRules/Configs/StartBoxes/Gehenna Rising 3.lua | 8 | 10999 | local areas = {
{ -- NW 8 A
{2357, 228},
{2531, 285},
{2669, 348},
{2752, 450},
{2806, 589},
{2811, 688},
{2814, 700},
{2817, 791},
{2818, 802},
{2799, 874},
{2798, 889},
{2797, 899},
{2739, 972},
{2732, 984},
{2656, 1041},
{2643, 1049},
{2626, 1060},
{2529, 1105},
{2516, 1113},
... | gpl-2.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c11112037.lua | 1 | 2380 | --狩猎开始
function c11112037.initial_effect(c)
c:SetUniqueOnField(1,0,11112037)
--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_IGNITION)
e2:SetRange(LOCATION_SZONE)
e2:SetC... | gpl-3.0 |
kidaa/darkstar | scripts/globals/weaponskills/spinning_slash.lua | 30 | 1563 | -----------------------------------
-- Spinning Slash
-- Great Sword weapon skill
-- Skill level: 225
-- Delivers a single-hit attack. Damage varies with TP.
-- Modifiers: STR:30% ; INT:30%
-- 100%TP 200%TP 300%TP
-- 2.5 3 3.5
-----------------------------------
require("scripts/globals/status");
require... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Apollyon/mobs/Water_Elemental.lua | 112 | 2441 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
--------------------------... | gpl-3.0 |
waterlgndx/darkstar | scripts/globals/items/balik_sandvici.lua | 2 | 1219 | -----------------------------------------
-- ID: 5590
-- Item: Balik Sandvici
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 3
-- Agility 1
-- Intelligence 3
-- Mind -2
-- Ranged ACC 5
-----------------------------------------
require("scripts/globals/status");
-----------------... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Kuftal_Tunnel/mobs/Phantom_Worm.lua | 6 | 1396 | -----------------------------------
-- Area: Kuftal Tunnel (173)
-- Mob: Phantom Worm
-----------------------------------
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob,killer)
local npc = GetNPCByID(17490250);
npc:hideNPC(900);
local randpos =... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c1000600.lua | 1 | 4267 | --圆环的使徒 晓美焰
function c1000600.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(1000600,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_D... | gpl-3.0 |
davidedmonds/darkstar | scripts/globals/spells/bewitching_etude.lua | 18 | 1619 | -----------------------------------------
-- Spell: Bewitching Etude
-- Static CHR Boost, BRD 62
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
... | gpl-3.0 |
kidaa/darkstar | scripts/zones/The_Boyahda_Tree/npcs/HomePoint#1.lua | 12 | 1203 | -----------------------------------
-- Area: The Boyahda Tree
-- NPC: HomePoint#1
-- @pos 88 -15 -217 153
-----------------------------------
package.loaded["scripts/zones/The_Boyahda_Tree/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/The_Boyahda_Tree/TextIDs");
require("scripts/global... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Inner_Horutoto_Ruins/npcs/_5ce.lua | 34 | 1077 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5ce (Gate of Earth)
-- @pos -228 0 140 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Inner_Horutoto_Ruins/TextIDs... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Davoi/npcs/Zantaviat.lua | 19 | 2238 | -----------------------------------
-- Area: Davoi
-- NPC: Zantaviat
-- Involved in Mission: The Davoi Report
-- @pos 215 0.1 -10 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/globa... | gpl-3.0 |
waterlgndx/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/npcs/_20u.lua | 2 | 2763 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- Door: Gilded Gateway (Arrapago)
-- !pos -580 0 -159 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scri... | gpl-3.0 |
wexom/OpenOS-improvements | init.lua | 1 | 5751 | do
_G._OSVERSION = "OpenOS 1.5"
local component = component
local computer = computer
local unicode = unicode
-- Runlevel information.
local runlevel, shutdown = "S", computer.shutdown
computer.runlevel = function() return runlevel end
computer.shutdown = function(reboot)
runlevel = reboot and 6 o... | gpl-2.0 |
will4wachter/Project1 | scripts/zones/Port_San_dOria/npcs/Albinie.lua | 37 | 1468 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Albinie
-- Standard Merchant NPC
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/P... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Aht_Urhgan_Whitegate/npcs/Zyfhil.lua | 34 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Zyfhil
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-----------... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c29200167.lua | 1 | 3962 | --凋叶棕-改-永恒不变之物
function c29200167.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,c29200167.mfilter,3,2,c29200167.ovfilter,aux.Stringid(29200167,0),2,c29200167.xyzop)
c:EnableReviveLimit()
--negate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(29200167,1))
e1:SetType(EFFECT_TYPE_QUICK_O)
e... | gpl-3.0 |
waterlgndx/darkstar | scripts/globals/items/whale_staff.lua | 2 | 1094 | -----------------------------------------
-- ID: 17533
-- Item: Whale Staff
-- Additional Effect: Water Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg");
-----------------------------------
function onAdditionalEffect(p... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c80006050.lua | 1 | 5256 | --- 十六夜 - 玫瑰之秋
function c80006050.initial_effect(c)
c:SetUniqueOnField(1,1,80006050)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcFun2(c,c80006050.ffilter,aux.FilterBoolFunction(Card.IsType,TYPE_SYNCHRO),false)
--spsummon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:S... | gpl-3.0 |
lhog/Zero-K | effects/london.lua | 7 | 12441 | -- london_flames
-- london_gflash
-- london
-- london_sphere
-- london_glow
-- london_flat
local effects = {
["london_flames"] = {
rocks = {
air = true,
class = [[CSimpleParticleSystem]],
count = 30,
ground = true,
water ... | gpl-2.0 |
will4wachter/Project1 | scripts/zones/Dynamis-San_dOria/npcs/qm1.lua | 17 | 1336 | -----------------------------------
-- Area: Dynamis San d'Oria
-- NPC: qm1 (???)
-- Notes: Spawns when Megaboss is defeated
-----------------------------------
package.loaded["scripts/zones/Dynamis-San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require(... | gpl-3.0 |
nimaghorbani/creed | plugins/Boobs.lua | 150 | 1613 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
RyMarq/Zero-K | units/shieldshield.lua | 1 | 3137 | return { shieldshield = {
unitname = [[shieldshield]],
name = [[Aspis]],
description = [[Area Shield Walker]],
acceleration = 0.75,
activateWhenBuilt = true,
brakeRate = 4.5,
buildCostMetal = 600,
buildPic = [[s... | gpl-2.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/zones/town-irkkk/grids.lua | 3 | 1115 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
RyMarq/Zero-K | LuaIntro/Addons/main.lua | 6 | 2974 |
if addon.InGetInfo then
return {
name = "Main",
desc = "displays a simple loadbar",
author = "jK",
date = "2012,2013",
license = "GPL2",
layer = 0,
depend = {"LoadProgress"},
enabled = true,
}
end
------------------------------------------
local BAR_SCALING = 0.72
local X_OFFSET = -0.15... | gpl-2.0 |
gleachkr/luakit | lib/styles.lua | 1 | 15915 | --- User stylesheets.
--
-- This module provides support for Mozilla-format user stylesheets, as a
-- replacement for the old `domain_props`-based `user_stylesheet_uri` method
-- (which is no longer supported). User stylesheets from https://userstyles.org
-- are supported, giving access to a wide variety of already-mad... | gpl-3.0 |
madpilot78/ntopng | scripts/lua/modules/test/test_ping_req_reply.lua | 1 | 2971 | --
-- (C) 2017-21 - ntop.org
--
local dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/test/?.lua;" .. package.path
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
local json = require "dkjson"
local unittest = require("unittest"):new()
... | gpl-3.0 |
eXhausted/Ovale | WarriorCharge.lua | 1 | 3292 | --[[--------------------------------------------------------------------
Copyright (C) 2015 Johnny C. Lam.
See the file LICENSE.txt for copying permission.
--]]-------------------------------------------------------------------
local OVALE, Ovale = ...
local OvaleWarriorCharge = Ovale:NewModule("OvaleWarriorCh... | mit |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Tasks/EditModel/EditModelProperty.lua | 1 | 13412 | --[[
Title: edit model property
Author(s): LiXizhi
Date: 2022/1/1
Desc:
use the lib:
-------------------------------------------------------
NPL.load("(gl)script/apps/Aries/Creator/Game/Tasks/EditModel/EditModelProperty.lua");
local EditModelProperty = commonlib.gettable("MyCompany.Aries.Game.Tasks.EditModelProperty")... | gpl-2.0 |
madpilot78/ntopng | scripts/lua/modules/blog_utils.lua | 1 | 5407 | --
-- (C) 2020-21 - ntop.org
--
local json = require("dkjson")
local MAX_POSTS = 3
local blog_utils = {}
local BLOG_FEED_KEY = "ntopng.cache.blog_feed"
local BLOG_NEXT_FEED_UPDATE = "ntopng.prefs.next_feed_update"
local JSON_FEED = "https://feed.ntop.org/blog.json"
-- Parse the date string, foll... | gpl-3.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Beadeaux/npcs/Treasure_Coffer.lua | 1 | 3711 | -----------------------------------
-- Area: Beadeaux
-- NPC: Treasure Coffer
-- @zone 147
-- @pos 215 40 69
-----------------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems"... | gpl-3.0 |
TeamHypersomnia/Hypersomnia | hypersomnia/content/gfx/metropolis_torso_rifle_gtm_1.meta.lua | 2 | 2786 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 0.43000000715255737,
amplification = 140,
light_colors = {
"89 31 168 255",
"48 42 88 255",
"61 16 123 0"
},
radius = {
x = 80,
y = 80
},
standard_deviati... | agpl-3.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Valkurm_Dunes/npcs/Medicine_Axe.lua | 1 | 1868 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Medicine Axe
-- @zone 103
-- @pos 144 -7 104
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/s... | gpl-3.0 |
fegimanam/best | plugins/boobs.lua | 24 | 1601 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
Ali-2h/hackerbot | plugins/all.lua | 264 | 4202 | do
data = load_data(_config.moderation.data)
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_print... | gpl-2.0 |
madpilot78/ntopng | scripts/lua/toggle_check.lua | 1 | 1398 | --
-- (C) 2019-21 - ntop.org
--
local dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
local json = require("dkjson")
local checks = require("checks")
local alert_consts = require("alert_consts")
sendHTTPContentTypeHeader('application/json')
l... | gpl-3.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Common/MountPoint.lua | 1 | 2946 | --[[
Title: Model mount point
Author(s): LiXizhi
Date: 2021/12/5
Desc: a single mount point used by ModelMountPoints
use the lib:
-------------------------------------------------------
NPL.load("(gl)script/apps/Aries/Creator/Game/Common/MountPoint.lua");
local MountPoint = commonlib.gettable("MyCompany.Aries.Game.Com... | gpl-2.0 |
yasinghorbani/yagooo | bot/utils.lua | 239 | 13499 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
http.TIMEOUT = 10
funct... | gpl-2.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/gfx/particles/gravity_breath.lua | 2 | 2943 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/gfx/particles/temporal_vortex.lua | 3 | 1468 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
madpilot78/ntopng | scripts/lua/modules/alert_definitions/other/alert_host_pool_connection.lua | 1 | 1388 | --
-- (C) 2019-21 - ntop.org
--
-- ##############################################
local other_alert_keys = require "other_alert_keys"
local alert_creators = require "alert_creators"
-- Import the classes library.
local classes = require "classes"
-- Make sure to import the Superclass!
local alert = require "alert"
lo... | gpl-3.0 |
rezaforever/ViVo | plugins/inpm.lua | 1114 | 3008 | do
local 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 |
ZACTELEGRAM1/IRAN | plugins/inpm.lua | 1114 | 3008 | do
local 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 |
fmassa/nn | Linear.lua | 11 | 2622 | local Linear, parent = torch.class('nn.Linear', 'nn.Module')
function Linear:__init(inputSize, outputSize)
parent.__init(self)
self.weight = torch.Tensor(outputSize, inputSize)
self.bias = torch.Tensor(outputSize)
self.gradWeight = torch.Tensor(outputSize, inputSize)
self.gradBias = torch.Tensor(output... | bsd-3-clause |
Laterus/Darkstar-Linux-Fork | scripts/zones/Bastok_Markets/npcs/Zacc.lua | 5 | 1072 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Zacc
-- Type: Quest NPC
-- @zone: 235
-- @pos: -255.709 -13 -91.379
--
-- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs... | gpl-3.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Tasks/SelectCharacterTask.lua | 1 | 4685 | --[[
Title: Show a character talk dialog page in game mode
Author(s): LiXizhi
Date: 2013/1/26
Desc:
use the lib:
------------------------------------------------------------
NPL.load("(gl)script/apps/Aries/Creator/Game/Tasks/SelectCharacterTask.lua");
local task = MyCompany.Aries.Game.Tasks.SelectCharacter:new({obj=re... | gpl-2.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/RuLude_Gardens/npcs/Morlepiche.lua | 1 | 4380 | -----------------------------------
-- Area: Rulude Gardens
-- NPC: Morlepiche
-- @zone 244
-- @pos -95 0 160
-- X Grant Signet
-- Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points... | gpl-3.0 |
jsj2008/ValyriaTear | dat/maps/layna_village/layna_village_center_map.lua | 4 | 65096 | map_data = {}
-- The number of rows, and columns that compose the map
map_data.num_tile_cols = 60
map_data.num_tile_rows = 40
-- The tilesets definition files used.
map_data.tileset_filenames = {}
map_data.tileset_filenames[1] = "dat/tilesets/mountain_landscape.lua"
map_data.tileset_filenames[2] = "dat/tilesets/mount... | gpl-2.0 |
nyczducky/darkstar | scripts/globals/items/galkan_sausage_+2.lua | 12 | 1357 | -----------------------------------------
-- ID: 5860
-- Item: galkan_sausage_+2
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 5
-- Intelligence -6
-- Attack 11
-- Ranged Attack 11
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Port_Windurst/npcs/Thubu_Parohren.lua | 9 | 2123 | -----------------------------------
-- Area: Port Windurst
-- NPC: Thubu Parohren
-- Type: Fishing Guild Master
-- @pos -182.230 -3.835 61.373 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Windurst/Te... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Pradiulot.lua | 14 | 2398 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Pradiulot
-- Involved in Quest: Unforgiven
-- @zone 26
-- @pos -20.814 -22 8.399
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Tavnaz... | gpl-3.0 |
Shayan123456/bottttttt | plugins/chatbot.lua | 5 | 1828 | --shared by @blackhatchannel
local function run(msg)
if msg.text == "hi" then
return "Hello bb"
end
if msg.text == "Hi" then
return "Hello honey"
end
if msg.text == "Hello" then
return "Hi bb"
end
if msg.text == "hello" then
return "Hi honey"
end
if msg.text == "Salam" then
return "Salam aleykom"
end
if msg.text =... | gpl-2.0 |
jbeich/Aquaria | files/scripts/maps/node_hint_natureformability.lua | 6 | 1252 | -- 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 |
cliffano/swaggy-jenkins | clients/lua/generated/spec/queue_item_impl_spec.lua | 1 | 1601 | --[[
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.queue_item_impl
Automatically generated by openapi-gene... | mit |
medoo3131/NEW-BOT3 | plugins/broadcast.lua | 2 | 1753 | local function deactivate(msg, hash)
redis:hset(hash, 'stage', 'off')
return "تم الغاء الطلب"
end
local function activate(msg, hash)
redis:hset(hash, 'stage', 'one')
return 'اكتب ما تريد ارساله للمجموعات'
end
local function pre_process(msg)
local hash = 'broadcast'..msg.to.id
local get_hash = redis:hgetall(... | gpl-2.0 |
Reisz/LoveGui | src/util/Font/Utf8FontObject.lua | 1 | 7477 | local utf8 = require "utf8"
local class = require "lib.middleclass"
local version = require "util.version"
local glyphsUtil = require "util.Font.glyphs"
local FontObject = require "util.Font.Object"
local Utf8FontObject = class("Utf8FontObject", FontObject)
local removeSepColShader = love.graphics.newShader [[
exter... | apache-2.0 |
nyczducky/darkstar | scripts/zones/Xarcabard/npcs/Telepoint.lua | 14 | 1702 | -----------------------------------
-- Area: Xarcabard
-- NPC: Telepoint
-- @pos 150.258 -21.047 -37.256 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Xarcabard/TextIDs");... | gpl-3.0 |
lgeek/koreader | plugins/calibrecompanion.koplugin/main.lua | 1 | 12849 | local InputContainer = require("ui/widget/container/inputcontainer")
local InfoMessage = require("ui/widget/infomessage")
local UIManager = require("ui/uimanager")
local JSON = require("json")
local DEBUG = require("dbg")
local _ = require("gettext")
local NetworkMgr = require("ui/network/manager")
local util = require... | agpl-3.0 |
nyczducky/darkstar | scripts/zones/RuAun_Gardens/npcs/HomePoint#5.lua | 27 | 1265 | -----------------------------------
-- Area: RuAun_Gardens
-- NPC: HomePoint#5
-- @pos 305 -42 -427 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/globals/homepo... | gpl-3.0 |
AquariaOSE/Aquaria | files/scripts/entities/breakablecommon.lua | 5 | 3492 | -- 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/admin-mini/luasrc/model/cbi/mini/luci.lua | 81 | 1335 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | apache-2.0 |
nyczducky/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/Ebon_Panel.lua | 14 | 3785 | -----------------------------------
-- 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 |
abcdefg30/OpenRA | mods/ra/maps/allies-05a/allies05a.lua | 7 | 12012 | --[[
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 |
blackman1380/selfbot | plugins/blackPlus.lua | 2 | 3999 | 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... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/PsoXja/npcs/_096.lua | 14 | 2875 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _096 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos 290.000 -1.925 -98.399 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
guangbin79/Lua_5.1.5-iOS | luasocket-3.0-rc1/test/urltest.lua | 30 | 17349 | local socket = require("socket")
socket.url = require("socket.url")
dofile("testsupport.lua")
local check_build_url = function(parsed)
local built = socket.url.build(parsed)
if built ~= parsed.url then
print("built is different from expected")
print(built)
print(expected)
os.exi... | mit |
hanikk/tele-you | bot/bot.lua | 1 | 6651 | 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")
local f = assert(io.popen('/usr/bin/git describe --tags', 'r'))
VERSION = assert(f:read('*a'))
f:close()
-- This function is ... | gpl-2.0 |
sudheesh001/RFID-DBSync | cardpeek-0.8.3/dot_cardpeek_dir/scripts/lib/compatibility-with-0.7.lua | 17 | 1952 |
local DEPRECATED_FUNCS = {}
function DEPRECATED_FOR(fname)
local func = debug.getinfo(2, "n")
local orig = debug.getinfo(3, "lS")
if DEPRECATED_FUNCS[func.name]==nil then
log.print(log.WARNING,orig.short_src .. "[" .. orig.currentline .. "]: " .. func.name .. "() is deprecated, please use " .. fn... | gpl-2.0 |
sjznxd/lc-20121231 | applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-res.lua | 80 | 3097 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | apache-2.0 |
cliffano/swaggy-jenkins | clients/lua/generated/spec/computer_set_spec.lua | 1 | 1603 | --[[
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.computer_set
Automatically generated by openapi-generat... | mit |
nyczducky/darkstar | scripts/zones/Dynamis-Windurst/mobs/Xoo_Kaza_the_Solemn.lua | 17 | 1160 | -----------------------------------
-- Area: Dynamis Windurst
-- NPC: Xoo Kaza the Solemn
-- Boss Trigger for RDM NM
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-- o... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/items/wild_steak.lua | 12 | 1379 | -----------------------------------------
-- ID: 4519
-- Item: wild_steak
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength 4
-- Intelligence -2
-- Attack % 25
-- Attack Cap 50
-----------------------------------------
require("scripts/globals/status");
--------------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/abilities/thunder_shot.lua | 9 | 2898 | -----------------------------------
-- Ability: Thunder Shot
-- Consumes a Thunder Card to enhance lightning-based debuffs. Deals lightning-based magic damage
-- Shock Effect: Enhanced DoT and MND-
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scri... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/items/sakura_biscuit.lua | 12 | 1276 | -----------------------------------------
-- ID: 6010
-- Item: Sakura Biscuit
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Intelligence 3
-- Charisma 2
-- Evasion +2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
GabrielNicolasAvellaneda/boundary-plugin-disk-summary | init.lua | 1 | 2979 | -- Copyright 2015 Boundary, Inc.
--
-- 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 agreed to i... | apache-2.0 |
nyczducky/darkstar | scripts/zones/Periqia/Zone.lua | 12 | 1408 | -----------------------------------
--
-- Zone: Periqia
--
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Periqia/IDs");
-----------------------------------
-- onInitialize
-----------------------------------
function onInitialize(zone)
end;
------------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/items/chunk_of_sweet_lizard.lua | 12 | 1408 | -----------------------------------------
-- ID: 5738
-- Item: chunk_of_sweet_lizard
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 5
-- MP 5
-- Dexterity 1
-- hHP +2
-- hMP +2
-----------------------------------------
require("scripts/globals/status");
------------------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Xarcabard_[S]/npcs/HomePoint#1.lua | 27 | 1267 | -----------------------------------
-- Area: Xarcabard [S]
-- NPC: HomePoint#1
-- @pos 223 -13 -254 137
-----------------------------------
package.loaded["scripts/zones/Xarcabard_[S]/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Xarcabard_[S]/TextIDs");
require("scripts/globals/homep... | gpl-3.0 |
AquariaOSE/Aquaria | files/scripts/entities/songlampcommon.lua | 6 | 2290 | -- 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/greenseadragon.lua | 6 | 6527 | -- 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/Attohwa_Chasm/mobs/Sekhmet.lua | 14 | 1780 | -----------------------------------
-- Area: Attohwa Chasm
-- NM: Sekhmet
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
fun... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Bibiki_Bay/TextIDs.lua | 7 | 2478 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory.
ITEM_OBTAINED = 6385; -- Obtained: <item>.
GIL_OBTAINED = 6386; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6388; -- Obt... | gpl-3.0 |
blackman1380/selfbot | libs/serpent.lua | 6 | 7878 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | gpl-2.0 |
nyczducky/darkstar | scripts/globals/summon.lua | 13 | 11172 |
require("scripts/globals/common");
require("scripts/globals/status");
SUMMONING_MAGIC_SKILL = 38
MSG_NONE = 0; -- display nothing
MSG_NO_EFFECT = 189;
MSG_DAMAGE = 185; -- player uses, target takes 10 damage. DEFAULT
MSG_MISS = 188;
MSG_RESIST = 85;
function AvatarPhysicalMove(avatar,target,skill,numberofhits,accmo... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Pelftrix.lua | 17 | 1263 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Pelftrix
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Windurst_Waters_[... | gpl-3.0 |
dtrip/awesome | tests/test-awful-widget-only_on_screen.lua | 4 | 4497 | -- Test that awful.widget.only_on_screen works correctly
local runner = require("_runner")
local wibox = require("wibox")
local awful = require("awful")
-- Make sure we have at least two screens to test this on.
local origin_width = screen[1].geometry.width
screen[1]:fake_resize(
screen[1].geometry.x,
screen[... | gpl-2.0 |
ahmedjabbar/uor | plugins/anti_spam.lua | 191 | 5291 | --An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id == our_id then
return msg
end
-- Save... | gpl-2.0 |
medoo3131/NEW-BOT3 | plugins/anti_spam.lua | 191 | 5291 | --An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id == our_id then
return msg
end
-- Save... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/East_Ronfaure_[S]/npcs/Cavernous_Maw.lua | 29 | 1412 | -----------------------------------
-- Area: East Ronfaure [S]
-- NPC: Cavernous Maw
-- Teleports Players to East Ronfaure
-- @pos 322 -59 503 81
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems")... | gpl-3.0 |
devadvisor/Advisor | plugins/ingroup.lua | 47 | 60291 | do
-- Check Member
local function check_member_autorealm(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.peer_id
if member_id ~= our_id then
-- Group configuration
data[... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Davoi/npcs/_459.lua | 14 | 1163 | -----------------------------------
-- Area: Davoi
-- NPC: Wall of Dark Arts
-- Involved in Mission: Magicite
-- @pos -22 1 -66 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/D... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Xarcabard/npcs/Pelogrant.lua | 14 | 1903 | -----------------------------------
-- Area: Xarcabard
-- NPC: Pelogrant
-- Type: Outpost Vendor
-- @pos 210 -22 -201 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest"... | gpl-3.0 |
ruleless/skynet | lualib/snax/hotfix.lua | 21 | 2186 | local si = require "snax.interface"
local io = io
local hotfix = {}
local function envid(f)
local i = 1
while true do
local name, value = debug.getupvalue(f, i)
if name == nil then
return
end
if name == "_ENV" then
return debug.upvalueid(f, i)
end
i = i + 1
end
end
local function collect_uv(f , ... | mit |
nyczducky/darkstar | scripts/zones/Dynamis-Beaucedine/mobs/Goblin_Statue.lua | 22 | 1841 | -----------------------------------
-- Area: Dynamis Beaucedine
-- MOB: Goblin Statue
-- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg
-----------------------------------
package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil;
----------------... | gpl-3.0 |
marioyc/UETorch | Scripts/uetorch.lua | 1 | 20235 | -------------------------------------------------------------------------------
-- Copyright (c) 2015-present, Facebook, Inc.
-- All rights reserved.
-- This source code is licensed under the BSD-style license found in the
-- LICENSE file in the root directory of this source tree. An additional grant
-- of patent right... | bsd-3-clause |
sudheesh001/RFID-DBSync | cardpeek-0.8.3/dot_cardpeek_dir/scripts/etc/ravkav-strings.lua | 16 | 27069 | RAVKAV_ISSUERS = {
[1] = "Service Center (Postal Bank)",
[2] = "Israel Rail",
[3] = "Egged",
[4] = "Egged Transport",
[5] = "Dan",
[6] = "NTT (Nazereth Consolidated Bus Services)",
[7] = "NTT (Nazereth Travel & Tourism)",
[8] = "JB Tours",
[9] = "Omni (Nazrin Express)",
[10] = "A... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Al_Zahbi/npcs/Chochoroon.lua | 14 | 1035 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Chochoroon
-- Type: Appraiser
-- @zone 48
-- @pos -42.739 -1 -45.987
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/La_Theine_Plateau/npcs/Vicorpasse.lua | 14 | 2267 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Vicorpasse
-- Involved in Mission: The Rescue Drill
-- @pos -344 37 266 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems"... | gpl-3.0 |
wenhulove333/ScutServer | Sample/Koudai/Client/lua/scenes/TrainScene.lua | 1 | 29250 | ------------------------------------------------------------------
-- TrainScene.lua
-- Author : Zonglin Liu
-- Version : 1.0
-- Date :
-- Description:
------------------------------------------------------------------
module("TrainScene", package.seeall)
local mScene = nil -- ³¡¾°
loc... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.