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 |
|---|---|---|---|---|---|
nasomi/darkstar | scripts/globals/weaponskills/rock_crusher.lua | 30 | 1240 | -----------------------------------
-- Rock Crusher
-- Staff weapon skill
-- Skill Level: 40
-- Delivers an earth elemental attack. Damage varies with TP.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: Earth
-- Modifiers: STR:40% ; INT:40%
-- 100%TP 200%TP 300%TP
-- 1.... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Ordelles_Caves/npcs/qm3.lua | 19 | 1571 | -----------------------------------
-- Area: Ordelle's Caves
-- NPC: ??? (qm3)
-- Involved in Quest: A Squire's Test II
-- @pos -139 0.1 264 193
-------------------------------------
package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
nasomi/darkstar | scripts/globals/mobskills/Pelagic_Tempest.lua | 25 | 1133 | ---------------------------------------------
-- Pelagic Tempest
--
-- Description: Delivers an area attack that inflicts Shock and Terror.
-- Type: Physical?
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: 10' cone
-- Notes: Used by Murex affiliated with lightning element. Shock effect is fairly stron... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/bowl_of_pumpkin_soup.lua | 35 | 1656 | -----------------------------------------
-- ID: 4430
-- Item: bowl_of_pumpkin_soup
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP % 1
-- Vitality -1
-- Agility 3
-- HP Recovered While Healing 5
-- Ranged Accuracy % 8 (cap 20)
-----------------------------------------
requi... | gpl-3.0 |
shangjiyu/luci-with-extra | applications/luci-app-minidlna/luasrc/model/cbi/minidlna.lua | 60 | 5493 | -- Copyright 2012 Gabor Juhos <juhosg@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local m, s, o
m = Map("minidlna", translate("miniDLNA"),
translate("MiniDLNA is server software with the aim of being fully compliant with DLNA/UPnP-AV clients."))
m:section(SimpleSection).template = "minidln... | apache-2.0 |
renyaoxiang/QSanguosha-For-Hegemony | lua/ai/formation-ai.lua | 2 | 24121 | --[[********************************************************************
Copyright (c) 2013-2015 Mogara
This file is part of QSanguosha-Hegemony.
This game 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... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Bastok_Markets/npcs/Marin.lua | 38 | 1121 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Marin
-- Type: Quest Giver
-- @zone: 235
-- @pos -340.060 -11.003 -148.181
--
-- Auto-Script: Requires Verification. Verified standard dialog is also "All By Myself" repeatable quest. - thrydwolf 12/18/2011
-----------------------------------
pac... | gpl-3.0 |
RhenaudTheLukark/CreateYourFrisk | Assets/Mods/Examples/Lua/Encounters/#10 - timeScale test.lua | 1 | 1506 | -- A basic encounter script skeleton you can copy and modify for your own creations.
-- music = "shine_on_you_crazy_diamond" --Either OGG or WAV. Extension is added automatically. Uncomment for custom music.
encountertext = "Poseur checks out the ACT menu!" --Modify as necessary. It will only be read out in the action... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Davoi/npcs/!.lua | 19 | 2445 | -----------------------------------
-- Area: Davoi
-- NPC: !
-- Involved in Mission: The Davoi Report
-- @pos 164 0.1 -21 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/keyit... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Nashmau/npcs/Kyokyoroon.lua | 17 | 1764 | -----------------------------------
-- Area: Nashmau
-- NPC: Kyokyoroon
-- Standard Info NPC
-- @pos 18.020 -6.000 10.467 53
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globa... | gpl-3.0 |
mlem/wesnoth | data/lua/ilua.lua | 30 | 3556 | -- ilua.lua
-- A more friendly Lua interactive prompt
-- doesn't need '='
-- will try to print out tables recursively, subject to the pretty_print_limit value.
-- Steve Donovan, 2007
-- Adapted by iceiceice for wesnoth, 2014
-- Retrived from: http://lua-users.org/files/wiki_insecure/users/steved/ilua.lua
local pretty_... | gpl-2.0 |
nasomi/darkstar | scripts/globals/items/strip_of_smoked_mackerel.lua | 36 | 1154 | -----------------------------------------
-- ID: 5943
-- Item: Strip of Smoked Mackerel
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Agility 4
-- Vitality -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Mushayra.lua | 38 | 1034 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Mushayra
-- Type: Standard NPC
-- @pos -111.551 -6.999 -61.720 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_... | gpl-3.0 |
ngeiswei/ardour | share/scripts/__plugin_modulation.lua | 4 | 1701 | --- session-script example to modulate plugin parameter(s) globally
--
-- Ardour > Menu > Session > Scripting > Add Lua Script
-- "Add" , select "Modulate Plugin Parameter", click "Add" + OK.
--
-----------------------------------------------------------------------------
-- This script currently assumes you have a ... | gpl-2.0 |
nasomi/darkstar | scripts/globals/titles.lua | 31 | 46695 | -----------------------------------
--
-- TITLES IDs
--
-----------------------------------
FODDERCHIEF_FLAYER = 1;
WARCHIEF_WRECKER = 2;
DREAD_DRAGON_SLAYER = 3;
OVERLORD_EXECUTIONER = 4;
DARK_DRAGON_SLAYER ... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Castle_Oztroja/npcs/_m74.lua | 16 | 2227 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _m74 (Torch Stand)
-- Notes: Opens door _477 when _m72 to _m75 are lit
-- @pos -59.525 -72.320 -62.379 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/cup_of_date_tea.lua | 36 | 1352 | -----------------------------------------
-- ID: 5926
-- Item: Cup of Date Tea
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- HP 20
-- MP 30
-- Vitality -1
-- Charisma 5
-- Intelligence 3
-----------------------------------------
require("scripts/globals/status");
----------------------... | gpl-3.0 |
OpenPrograms/payonel-Programs | payo-lib/usr/lib/payo-lib/config.lua | 1 | 1249 | local fs = require("filesystem");
local des = require("serialization").unserialize
local ser = require("serialization").serialize
local config = {};
function config.load(configPath)
if (type(configPath) ~= type("")) then
return nil, "file path must be a string";
end
if (not fs.exists(configPath)) then
r... | mit |
kenyh0926/DBProxy | lib/proxy/split.lua | 41 | 14816 | module("proxy.split", package.seeall)
--local table = require("proxy.table")
local crc = require("proxy.crc32")
local log = require("proxy.log")
local filter = require("proxy.filter")
local config_file = string.format("proxy.conf.config_%s", proxy.global.config.instance)
local config = require(config_file)
l... | gpl-2.0 |
Hello23-Ygopro/ygopro-ds | expansions/script/c27003031.lua | 1 | 1282 | --BT3-030 Planet M-2
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
--field
ds.EnableField(c,ds.PayEnergyCost(COLOR_RED,1,0))
--draw
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(sid,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
... | gpl-3.0 |
MatthewDwyer/botman | mudlet/profiles/newbot/scripts/chat/gmsg_tracker.lua | 1 | 33948 | --[[
Botman - A collection of scripts for managing 7 Days to Die servers
Copyright (C) 2020 Matthew Dwyer
This copyright applies to the Lua source code in this Mudlet profile.
Email smegzor@gmail.com
URL http://botman.nz
Source https://bitbucket.org/mhdwyer/botman
--]]
loc... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/magma_steak.lua | 36 | 1537 | -----------------------------------------
-- ID: 6071
-- Item: Magma Steak
-- Food Effect: 180 Min, All Races
-----------------------------------------
-- Strength +8
-- Attack +23% Cap 180
-- Ranged Attack +23% Cap 180
-- Vermin Killer +5
-----------------------------------------
require("scripts/globals/status");
-... | gpl-3.0 |
shangjiyu/luci-with-extra | applications/luci-app-multiwan/luasrc/model/cbi/multiwan/multiwan.lua | 147 | 5025 | require("luci.tools.webadmin")
m = Map("multiwan", translate("Multi-WAN"),
translate("Multi-WAN allows for the use of multiple uplinks for load balancing and failover."))
s = m:section(NamedSection, "config", "multiwan", "")
e = s:option(Flag, "enabled", translate("Enable"))
e.rmempty = false
e.default = e.enabled
... | apache-2.0 |
amirik22/i4bot | plugins/remind.lua | 279 | 1873 | local filename='data/remind.lua'
local cronned = load_from_file(filename)
local function save_cron(msg, text,date)
local origin = get_receiver(msg)
if not cronned[date] then
cronned[date] = {}
end
local arr = { origin, text } ;
table.insert(cronned[date], arr)
serialize_to_file(cronned, filename)
re... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Metalworks/npcs/_6ld.lua | 17 | 1318 | -----------------------------------
-- Area: Metalworks
-- Door: _6ld (President's Office)
-- @pos 92 -19 0.1 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Metalw... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Cloister_of_Flames/bcnms/sugar-coated_directive.lua | 19 | 1731 | ----------------------------------------
-- Area: Cloister of Flames
-- BCNM: Sugar Coated Directive (ASA-4)
-- @pos -721 0 -598 207
----------------------------------------
package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil;
----------------------------------------
require("scripts/globals/keyitems");
r... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cs.lua | 17 | 2441 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cs (Magical Gizmo) #4
-- Involved In Mission: The Horutoto Ruins Experiment
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Southern_San_dOria/npcs/Lusiane.lua | 36 | 1830 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Lusiane
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop... | gpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/resistance_torso_heavy_walk_4.meta.lua | 2 | 2771 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 0.40000000596046448,
amplification = 100,
light_colors = {
"223 113 38 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
generate_desaturation = fals... | agpl-3.0 |
thesabbir/luci | applications/luci-app-fwknopd/luasrc/model/cbi/fwknopd.lua | 45 | 3678 | -- Copyright 2015 Jonathan Bennett <jbennett@incomsystems.biz>
-- Licensed to the public under the GNU General Public License v2.
m = Map("fwknopd", translate("Firewall Knock Operator"))
s = m:section(TypedSection, "global", translate("Enable Uci/Luci control")) -- Set uci control on or off
s.anonymous=true
s:option(... | apache-2.0 |
shakfu/start-vm | config/base/awesome/vicious/contrib/openweather.lua | 11 | 3426 | ---------------------------------------------------
-- Licensed under the GNU General Public License v2
-- * (c) 2013, NormalRa <normalrawr gmail com>
---------------------------------------------------
-- {{{ Grab environment
local tonumber = tonumber
local io = { popen = io.popen }
local setmetatable = setmetatable... | mit |
phcosta29/rstats | lua/Rserve.lua | 1 | 15953 | local vstruct = require("vstruct")
local socket = require("socket")
local tcp = assert(socket.tcp())
local QAP1_HEADER_FORMAT = "4*u4"
local QAP1_PARAMETER_HEADER_FORMAT = "u1 u3"
local QAP1_SEXP_HEADER_TYPE_FORMAT = "[1 | b2 u6]"
local QAP1_SEXP_HEADER_LEN_FORMAT = "u3"
local function vectorToString(data)
local expre... | gpl-3.0 |
Hello23-Ygopro/ygopro-ds | expansions/script/c27001001.lua | 1 | 1305 | --BT1-001 God of Destruction Champa
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableLeaderAttribute(c)
ds.AddSetcode(c,CHARACTER_CHAMPA,SPECIAL_TRAIT_GOD)
--draw
ds.AddSingleAutoAttack(c,0,nil,ds.hinttg,ds.DrawOperation(PLAYER_PLAYER,1))
--give skill... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Konschtat_Highlands/npcs/Shattered_Telepoint.lua | 19 | 2234 | -----------------------------------
-- Area: Konschtat Highlands
-- NPC: Shattered telepoint
-- @pos 135 19 220 108
-----------------------------------
package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Kon... | gpl-3.0 |
nasomi/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fo.lua | 34 | 2569 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: North Plate
-- @pos 174 -32 50 195
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-------------------------... | gpl-3.0 |
alexaxel705/MTA-Tomsk | shared.lua | 1 | 27170 | --[Скин] = [Стиль походки, команда, пол, оружие, диалоги, {возможные имена ботов},]
SkinData = {
[0] = {0, "Мирные жители", "Мужчина"},
[1] = {0, "Мирные жители", "Мужчина"},
[2] = {0, "Мирные жители", "Мужчина"},
[3] = {0, "Мирные жители", "Мужчина"},
[4] = {0, "Мирные жители", "Мужчина"},
[5] = {0, "Мирн... | gpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/darkblue_fish_1.meta.lua | 16 | 1897 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 80,
light_colors = {
"0 139 161 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
generate_desaturation = false
},
offsets = {... | agpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/darkblue_fish_6.meta.lua | 16 | 1897 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 80,
light_colors = {
"0 139 161 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
generate_desaturation = false
},
offsets = {... | agpl-3.0 |
jeffreyling/seq2seq-hard | beam.lua | 1 | 38755 | require 'nn'
require 'string'
require 'hdf5'
require 'nngraph'
require 'data.lua'
require 'models.lua'
require 'util.lua'
require 'logging'
ENTROPY = 0
GOLD_SIZE = 0
MUTE = true
stringx = require('pl.stringx')
cmd = torch.CmdLine()
cmd:option('-log_path', '', [[Logging path]])
-- check attn options
cmd:option('-nu... | mit |
Gamerbude/Wasteland | mods/cme/sheep/init.lua | 1 | 5837 | --= Sheep for Creatures MOB-Engine (cme) =--
-- Copyright (c) 2015-2016 BlockMen <blockmen2015@gmail.com>
--
-- init.lua
--
-- This software is provided 'as-is', without any express or implied warranty. In no
-- event will the authors be held liable for any damages arising from the use of
-- this software.
--
-- Permis... | gpl-3.0 |
icplus/OP-SDK | package/ramips/ui/luci-mtk/src/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua | 36 | 15568 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008-2011 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
htt... | gpl-2.0 |
icplus/OP-SDK | package/ramips/ui/luci-mtk/src/applications/luci-freifunk-widgets/luasrc/controller/freifunk/widgets.lua | 78 | 1124 | --[[
LuCI - Lua Configuration Interface
Copyright 2012 Manuel Munz <freifunk at somakoma de>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
]]--
local... | gpl-2.0 |
EnjoyHacking/nn | CosineEmbeddingCriterion.lua | 23 | 3849 | local CosineEmbeddingCriterion, parent = torch.class('nn.CosineEmbeddingCriterion', 'nn.Criterion')
function CosineEmbeddingCriterion:__init(margin)
parent.__init(self)
margin = margin or 0
self.margin = margin
self.gradInput = {torch.Tensor(), torch.Tensor()}
self.sizeAverage = true
end
function Cos... | bsd-3-clause |
ngeiswei/ardour | share/scripts/normalize_all_tracks.lua | 6 | 1784 | ardour { ["type"] = "EditorAction",
name = "Normalize All Tracks",
license = "MIT",
author = "Ardour Team",
description = [[Normalize all regions using a common gain-factor per track.]]
}
function factory () return function ()
-- target values -- TODO: use a LuaDialog.Dialog and ask..
local target_peak ... | gpl-2.0 |
RhenaudTheLukark/CreateYourFrisk | Assets/Mods/Examples/Lua/Monsters/poseurIntroAndLaunchMusic.lua | 1 | 1496 | comments = {"Smells like the work\rof an enemy stand.", "Poseur is posing like his\rlife depends on it.", "Poseur's limbs shouldn't be\rmoving in this way."}
commands = {"Act 1", "Act 2", "Act 3"}
randomdialogue = {"Check\nit\nout."}
sprite = "poseur" --Always PNG. Extension is added automatically.
name = "Poseur"
hp ... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Bastok_Markets_[S]/npcs/Pagdako.lua | 31 | 1385 | -----------------------------------
-- Area: Bastok Markets (S)
-- NPC: Pagdako
-- Quest NPC
-- pos -200 -6 -93
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok_Markets_[S]/TextIDs");
require("scripts... | gpl-3.0 |
Hello23-Ygopro/ygopro-ds | expansions/script/c27002048.lua | 1 | 1511 | --BT2-042 Trunks, The Constant Hope
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableBattleAttribute(c)
ds.AddSetcode(c,CHARACTER_TRUNKS_FUTURE,SPECIAL_TRAIT_SAIYAN,SPECIAL_TRAIT_EARTHLING)
ds.AddPlayProcedure(c,COLOR_BLUE,2,4)
--evolve
ds.EnableEvolv... | gpl-3.0 |
nasomi/darkstar | scripts/globals/mobskills/Tribulation.lua | 18 | 1128 | ---------------------------------------------
-- Tribulation
--
-- Description: Inflicts Bio and blinds all targets in an area of effect.
-- Type: Enfeebling
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: AoE
-- Notes: Bio effect can take away up to 39/tick.
------------------------------------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Port_Windurst/npcs/Yaman-Hachuman.lua | 19 | 1715 | -----------------------------------
-- Area: Port Windurst
-- NPC: Yaman-Hachuman
-- Type: Standard NPC
-- Involved in Quests: Wonder Wands
-- @pos -101.209 -4.25 110.886 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
requi... | gpl-3.0 |
srush/OpenNMT | tools/utils/BPE.lua | 1 | 3331 | local unicode = require 'tools.utils.unicode'
local BPE = torch.class('BPE')
function BPE:__init(codesfile_path)
self.split = string.split
-- to be able to run the code without torch
if not self.split then
self.split = function(t, sep)
local fields = {}
local pattern = string.format("([^%s]+)", ... | mit |
hqren/Atlas | lib/ro-pooling.lua | 40 | 7080 | --[[ $%BEGINLICENSE%$
Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is distribut... | gpl-2.0 |
thesabbir/luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/collectd.lua | 68 | 2082 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.sys")
m = Map("luci_statistics",
translate("Collectd Settings"),
translate(
"Collectd is a small daemon for collecting data from " ..
"various sources through different p... | apache-2.0 |
iassael/learning-to-communicate | code/game/ColorDigit.lua | 1 | 4430 | require 'torch'
local class = require 'class'
local log = require 'include.log'
local kwargs = require 'include.kwargs'
local util = require 'include.util'
local ColorDigit = class('ColorDigit')
function ColorDigit:__init(opt)
self.opt = opt
self.step_counter = 1
-- Preprocess data
local dataset = ... | apache-2.0 |
nasomi/darkstar | scripts/globals/items/plate_of_sole_sushi_+1.lua | 14 | 1750 | -----------------------------------------
-- ID: 5163
-- Item: plate_of_sole_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 20
-- Strength 5
-- Dexterity 6
-- Accuracy % 16
-- Ranged ACC % 16
-- Sleep Resist 5
-----------------------------------------
require... | gpl-3.0 |
Ingenious-Gaming/Starfall | lua/weapons/gmod_tool/stools/starfall_processor.lua | 1 | 6342 | TOOL.Category = "Chips, Gates"
TOOL.Name = "Starfall - Processor"
TOOL.Command = nil
TOOL.ConfigName = ""
TOOL.Tab = "Wire"
-- ------------------------------- Sending / Recieving ------------------------------- --
include( "starfall/sflib.lua" )
TOOL.ClientConVar[ "Model" ] = "models/spacecode/sfchip.mdl"
clea... | bsd-3-clause |
m13790115/eset | plugins/invite.lua | 1111 | 1195 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
actboy168/YDWE | Development/Component/plugin/w3x2lni/script/core/slk/backend_txtlni.lua | 3 | 2094 |
local function sortpairs(t)
local sort = {}
for k, v in pairs(t) do
sort[#sort+1] = {k, v}
end
table.sort(sort, function (a, b)
return a[1] < b[1]
end)
local n = 1
return function()
local v = sort[n]
if not v then
return
end
n = n ... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Bastok_Mines/npcs/Babenn.lua | 17 | 2308 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Babenn
-- Finishes Quest: The Eleventh's Hour
-- Involved in Quests: Riding on the Clouds
-- @zone 234
-- @pos 73 -1 34
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
package.loaded["scripts/glob... | gpl-3.0 |
shangjiyu/luci-with-extra | applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua | 108 | 3104 | -- ------ extra functions ------ --
function policyCheck() -- check to see if any policy names exceed the maximum of 15 characters
uci.cursor():foreach("mwan3", "policy",
function (section)
if string.len(section[".name"]) > 15 then
nameTooLong = 1
err_name_list = err_name_list .. section[".name"] .. " "
... | apache-2.0 |
Hello23-Ygopro/ygopro-ds | expansions/script/c27002071.lua | 1 | 2411 | --BT2-064 Mafuba
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
--place on top
ds.AddCounterBattleCardAttackSkill(c,0,scard.topop,scard.topcost)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(DS_EVENT_PLAY_SU... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Al_Zahbi/TextIDs.lua | 9 | 2053 | -- 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 = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Obtain... | gpl-3.0 |
nasomi/darkstar | scripts/zones/The_Celestial_Nexus/mobs/Eald_narche.lua | 18 | 2569 | -----------------------------------
-- Area: The Celestial Nexus
-- NPC: Eald'Narche - Phase 1
-- Zilart Mission 16 BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
function onMobInitialize(mob)
--50% fast cast
... | gpl-3.0 |
Wouterz90/SuperSmashDota | Game/scripts/vscripts/libraries/containers.lua | 10 | 88873 | CONTAINERS_VERSION = "0.80"
require('libraries/timers')
require('libraries/playertables')
local ID_BASE = "cont_"
FORCE_NIL = false
CONTAINERS_DEBUG = IsInToolsMode() -- Should we print debugging prints for containers
--[[
Containers API Calls
Containers:AddItemToUnit(unit, item)
Containers:CreateContai... | mit |
ZuoGuocai/Atlas | lib/auditing.lua | 40 | 1694 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is dis... | gpl-2.0 |
hqren/Atlas | lib/auditing.lua | 40 | 1694 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is dis... | gpl-2.0 |
tempbottle/elliptics | wireshark/elliptics.lua | 11 | 3222 | do
local elliptics_proto = Proto("elliptics", "Elliptics");
local elliptics_command = function(label, fields)
return {
["label"] = label,
["parse"] = function(buffer, off, tree)
return 1
end
}
end
local commands = {
[1] = elliptics_command(
"DNET_CMD_LOOKUP", {}
),
[2] = ellipt... | lgpl-3.0 |
nasomi/darkstar | scripts/zones/Mhaura/npcs/Hagain.lua | 17 | 2194 | -----------------------------------
-- Area: Mhaura
-- NPC: Hagain
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/keyitems");
require("scripts/... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Bastok_Mines/npcs/Gerbaum.lua | 17 | 2169 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Gerbaum
-- Starts & Finishes Repeatable Quest: Minesweeper (100%)
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("sc... | gpl-3.0 |
RhenaudTheLukark/CreateYourFrisk | Assets/Mods/Examples/Lua/Encounters/01 - Two monsters.lua | 1 | 1414 | encountertext = "Your path is blocked by two mannequins!" --Modify as necessary. It will only be read out in the action select screen.
wavetimer = 4
arenasize = {155, 130}
nextwaves = {"bullettest_touhou"}
autolinebreak = true
enemies = {"twoMonstersPoseur", "twoMonstersPosette"}
enemypositions = { {-180, 0}, {120, 0... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm6.lua | 34 | 1385 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm6 (???)
-- Involved in Quest: Hitting the Marquisate (THF AF3)
-- @pos -220.039 -5.500 194.192 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/sandfish.lua | 18 | 1318 | -----------------------------------------
-- ID: 4291
-- Item: sandfish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChec... | gpl-3.0 |
nasomi/darkstar | scripts/commands/hide.lua | 62 | 1164 | ---------------------------------------------------------------------------------------------------
-- func: hide
-- desc: Hides the GM from other players.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = "s"
};
funct... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Apollyon/mobs/Inhumer.lua | 16 | 1161 | -----------------------------------
-- Area: Apollyon SE
-- NPC: Inhumer
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
----------------------------... | gpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/force_grenade.meta.lua | 2 | 2742 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 469,
light_colors = {
"255 0 0 255",
"103 0 0 255",
"39 0 0 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 3
},
gene... | agpl-3.0 |
djkamran021/BY | libs/serpent.lua | 656 | 7877 | 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-3.0 |
5620g/pp | libs/serpent.lua | 656 | 7877 | 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 |
maxton/xenia | tools/build/scripts/util.lua | 12 | 1450 | -- Prints a table and all of its contents.
function print_r(t)
local print_r_cache={}
local function sub_print_r(t, indent)
if (print_r_cache[tostring(t)]) then
print(indent.."*"..tostring(t))
else
print_r_cache[tostring(t)]=true
if (type(t)=="table") then
for pos,val in pairs(t) d... | bsd-3-clause |
oneoo/alilua-coevent-module | lua-libs/lua-cjson-2.1.0/tests/test.lua | 32 | 17977 | #!/usr/bin/env lua
-- Lua CJSON tests
--
-- Mark Pulford <mark@kyne.com.au>
--
-- Note: The output of this script is easier to read with "less -S"
local json = require "cjson"
local json_safe = require "cjson.safe"
local util = require "cjson.util"
local function gen_raw_octets()
local chars = {}
for i = 0, ... | mit |
Sponk/NeoEditor | SDK/LuaApi/OEntity.lua | 1 | 7415 | --- The OEntity class
-- An 'OEntity' instance is an entity object in a scene which can be
-- manipulated. The 'OEntity' class is mostly used to manage meshes in your 3D scene.
--
-- See also: <a href="Object3d.lua.html">Widget</a>
dofile("class.lua")
dofile("Object3d.lua")
--- OEntity(object3d)
-- Create a new OEnt... | gpl-2.0 |
devlaith/DEVLAITH | plugins/shrfa.lua | 2 | 7073 | local function run(msg, matches)
if #matches < 2 then
return "بعد هذا الأمر، من خلال تحديد كلمة المسافة أو العبارة التي تريد إدخال الكتابة الجميلة"
end
if string.len(matches[2]) > 44 then
return "الحد الأقصى المسموح به 40 حرفاالأحرف الإنجليزية والأرقام"
end
local font_base = "ء,ئ,ا,ب,ت,ث,ج,ح,خ,د,ذ,ر,ز,س,ش,ص,ض,... | gpl-2.0 |
hhsaez/crimild | examples/ParticleShowcase/assets/prefabs/sprinklers.lua | 1 | 1661 | function sprinklers( x, y, z )
local MAX_PARTICLES = 500
return {
type = 'crimild::Group',
components = {
{
type = 'crimild::ParticleSystemComponent',
particles = {
type = 'crimild::ParticleData',
maxParticles = MAX_PARTICLES,
computeInWorldSpace = true,
},
emitRate = 0.25 * ... | bsd-3-clause |
soheil22222222/ub | plugins/antiSpam.lua | 4 | 5374 | --An empty table for solving multiple kicking problem(thanks to @MehdiHS )
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 us... | gpl-2.0 |
5620g/pp | libs/lua-redis.lua | 580 | 35599 | local redis = {
_VERSION = 'redis-lua 2.0.4',
_DESCRIPTION = 'A Lua client library for the redis key value storage system.',
_COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri',
}
-- The following line is used for backwards compatibility in order to keep the `Redis`
-- global module name. Using... | gpl-2.0 |
jiuaiwo1314/skynet | lualib/http/httpd.lua | 101 | 3708 | local internal = require "http.internal"
local table = table
local string = string
local type = type
local httpd = {}
local http_status_msg = {
[100] = "Continue",
[101] = "Switching Protocols",
[200] = "OK",
[201] = "Created",
[202] = "Accepted",
[203] = "Non-Authoritative Information",
[204] = "No Content",... | mit |
amirb8/TELEHONES- | plugins/all.lua | 1321 | 4661 | 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 |
gitTerebi/OpenRA | mods/d2k/maps/atreides-01b/atreides01b.lua | 18 | 4800 |
HarkonnenReinforcements = { }
HarkonnenReinforcements["Easy"] =
{
{ "rifle", "rifle" }
}
HarkonnenReinforcements["Normal"] =
{
{ "rifle", "rifle" },
{ "rifle", "rifle", "rifle" },
{ "rifle", "trike" },
}
HarkonnenReinforcements["Hard"] =
{
{ "rifle", "rifle" },
{ "trike", "trike" },
{ "rifle", "rifle", "rifle... | gpl-3.0 |
marcosalm/RIOT | dist/tools/wireshark_dissector/riot.lua | 21 | 2130 | -- RIOT native support for Wireshark
-- A Lua implementation for dissection of RIOT native packets in wireshark
-- @Version: 0.0.1
-- @Author: Martine Lenders
-- @E-Mail: mlenders@inf.fu-berlin.de
do
--Protocol name "RIOT"
local p_riot = Proto("RIOT", "RIOT native packet")
--Protocol Fields
local f_le... | lgpl-2.1 |
tudelft/chdkptp | lua/gui_sched.lua | 5 | 2389 | --[[
Copyright (C) 2010-2014 <reyalp (at) gmail dot com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITH... | gpl-2.0 |
DigitalVeer/Lua-Research | Tables/Matrix.lua | 2 | 1309 | --[[
Gives a way for transposing a matrix and printing it to a readable form for humans
]]--
local Matrix = { }
function Matrix.new(m, n, contents)
assert(m*n == #contents)
local ourMatrix = { }
function ourMatrix:transpose()
local twoDTransform = {}
for row = 1,m do
local temp = {}
for col = 1,n do
... | mit |
korialuo/xServer | common/rdsagent.lua | 1 | 1350 | local skynet = require "skynet"
local socket = require "skynet.socket"
local rds_ip, rds_port, listen_ip, listen_port = ...
local listen_socket
local rds_sock_pool = {}
local cli_sock_pool = {}
local function cli_loop(clisock)
local rdssock = rds_sock_pool[clisock]
if rdssock == nil then return ... | mit |
teleblue/telele | bot/WaderTGbot.lua | 1 | 15424 | 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 |
telespeed/telespeed | plugins/owners.lua | 68 | 12477 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
artynet/luci | applications/luci-app-statistics/luasrc/statistics/i18n.lua | 5 | 1894 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.i18n", package.seeall)
local util = require("luci.util")
local i18n = require("luci.i18n")
Instance = util.class()
function Instance.__init__( self, graph )
self.i... | apache-2.0 |
akh00/kong | spec/02-integration/05-proxy/05-ssl_spec.lua | 2 | 8586 | local ssl_fixtures = require "spec.fixtures.ssl"
local cache = require "kong.tools.database_cache"
local helpers = require "spec.helpers"
local cjson = require "cjson"
local function get_cert(server_name)
local _, _, stdout = assert(helpers.execute(
string.format("echo 'GET /' | openssl s_client -connect 0.0.0.... | apache-2.0 |
gitTerebi/OpenRA | mods/cnc/maps/gdi05b/gdi05b.lua | 19 | 5853 | AllToHuntTrigger =
{
Silo1, Proc1, Silo2, Silo3, Silo4, Afld1, Hand1, Nuke1, Nuke2, Nuke3, Fact1
}
AtkRoute1 = { waypoint4.Location, waypoint5.Location, waypoint6.Location, waypoint7.Location, waypoint8.Location }
AtkRoute2 = { waypoint0.Location, waypoint1.Location, waypoint2.Location, waypoint3.Location }
AutoCrea... | gpl-3.0 |
gitTerebi/OpenRA | mods/ra/maps/allies-05a/AI.lua | 34 | 6702 |
IdlingUnits = { }
AttackGroupSize = 6
Barracks = { Barracks2, Barracks3 }
Rallypoints = { VehicleRallypoint1, VehicleRallypoint2, VehicleRallypoint3, VehicleRallypoint4, VehicleRallypoint5 }
WaterLZs = { WaterLZ1, WaterLZ2 }
Airfields = { Airfield1, Airfield2 }
Yaks = { }
SovietInfantryTypes = { "e1", "e1", "e2", ... | gpl-3.0 |
pchote/OpenRA | mods/cnc/maps/gdi06/gdi06.lua | 2 | 4952 | --[[
Copyright 2007-2021 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
theonlywild/erfaan | plugins/meme.lua | 637 | 5791 | local helpers = require "OAuth.helpers"
local _file_memes = './data/memes.lua'
local _cache = {}
local function post_petition(url, arguments)
local response_body = {}
local request_constructor = {
url = url,
method = "POST",
sink = ltn12.sink.table(response_body),
headers = {},
red... | gpl-2.0 |
artynet/luci | applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua | 7 | 7256 | -- Copyright 2014 Aedan Renner <chipdankly@gmail.com
-- Copyright 2018 Florian Eckert <fe@dev.tdt.de>
-- Licensed to the public under the GNU General Public License v2.
local dsp = require "luci.dispatcher"
local uci = require "uci"
local m, mwan_interface, enabled, track_method, reliability, interval
local down, up,... | apache-2.0 |
TGlandTeam/AntiSpamCreatorBot | plugins/setver.lua | 1 | 2078 | do
local function run(msg, matches)
hashfun = 'bot:help:fun'
hashmods = 'bot:help:mods'
hashadmin = 'bot:help:admin'
hashver = 'bot:ver'
hash = 'bot:help'
if matches[1] == 'helpfun' then
if not is_sudo(msg) then return end
redis:set(hashfun,'waiting:'..msg.from.id)
return 'Send Your Text Now 📌'
else
if redis:get(ha... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.