repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
jlcvp/otxserver | data/monster/raids/brutus_bloodbeard.lua | 2 | 2533 | local mType = Game.createMonsterType("Brutus Bloodbeard")
local monster = {}
monster.description = "Brutus Bloodbeard"
monster.experience = 795
monster.outfit = {
lookType = 98,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 1555
monster.maxHealth = 155... | gpl-2.0 |
anewell/pose-hg-train | src/ref.lua | 1 | 2459 | require 'torch'
require 'xlua'
require 'optim'
require 'nn'
require 'nnx'
require 'nngraph'
require 'hdf5'
require 'string'
require 'image'
ffi = require 'ffi'
torch.setdefaulttensortype('torch.FloatTensor')
-- Project directory
projectDir = paths.concat(os.getenv('HOME'),'pose-hg-train')
-- Process command line argu... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Abyssea-Attohwa/npcs/Cavernous_Maw.lua | 29 | 1199 | -----------------------------------
-- Area: Abyssea - Attohwa
-- NPC: Cavernous Maw
-- @pos -133.197 20.242 -181.658 215
-- Notes: Teleports Players to Buburimu Peninsula
-----------------------------------
package.loaded["scripts/zones/Abyssea-Attohwa/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/API/VehicleData/GenericNetworkSignalData/004_VehicleData_permissions_in_OnPermissionChange.lua | 1 | 5247 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0173-Read-Generic-Network-Signal-data.md
--
-- Description: Applying of the VehicleDataItems from PTU
-- Precondition:
-- 1. Preloaded ... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Southern_San_dOria/npcs/Clainomille.lua | 14 | 1305 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Clainomille
-- Type: Standard NPC
-- @zone 230
-- @pos -72.771 0.999 -6.112
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
----... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Defects/8_1/3838/3838_2_SDL_does_not_send_UI.ClosePopUp_in_case_VR.PerformInteraction_SUCCESS.lua | 1 | 3983 | ---------------------------------------------------------------------------------------------------
-- Issue: https://github.com/SmartDeviceLink/sdl_core/issues/3838
---------------------------------------------------------------------------------------------------
-- Description: Check that SDL does not send UI.CloseP... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Bastok_Markets/npcs/Brunhilde.lua | 15 | 1604 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Brunhilde
-- Standard Merchant NPC
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm6.lua | 14 | 1343 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: qm6 (???)
-- Spawns Gancanagh
-- @pos ? ? ? 45
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[[... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/King_Ranperres_Tomb/npcs/Tombstone.lua | 13 | 3093 | -----------------------------------
-- Area: King Ranperre's Tomb
-- NPC: Tombstone
-- Involved in Quest: Grave Concerns
-- @pos 1 0.1 -101 190
-----------------------------------
package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/weaponskills/rampage.lua | 11 | 1472 | -----------------------------------
-- Rampage
-- Axe weapon skill
-- Skill level: 175
-- Delivers a five-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: None
-- Modifiers: STR:50%
-- 100%TP 200%TP 3... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Bastok_Markets/npcs/Wulfnoth.lua | 53 | 1818 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Wulfnoth
-- Type: Goldsmithing Synthesis Image Support
-- @pos -211.937 -7.814 -56.292 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
jlcvp/otxserver | data/monster/magicals/feversleep.lua | 2 | 3873 | local mType = Game.createMonsterType("Feversleep")
local monster = {}
monster.description = "a feversleep"
monster.experience = 4400
monster.outfit = {
lookType = 593,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 1021
monster.Bestiary = {
class = "Ma... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Temenos/bcnms/Temenos_Northern_Tower.lua | 35 | 1173 | -----------------------------------
-- Area: Temenos
-- Name:
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[Temenos_N_Tower]UniqueID",G... | gpl-3.0 |
gamestdio/colyseus.lua | coronasdk-example/dmc_corona/lib/dmc_lua/json.lua | 49 | 2030 | --====================================================================--
-- dmc_lua/json.lua
--
-- consistent method which which to load json on various systems
--
-- Documentation: http://docs.davidmccuskey.com/
--====================================================================--
--[[
The MIT License (MIT)
Cop... | mit |
Squeakz/darkstar | scripts/globals/weaponskills/shattersoul.lua | 2 | 2298 | -----------------------------------
-- Shattersoul
-- Skill Level: 357
-- Description: Delivers a threefold attack. Decreases target's magic defense. Duration of effect varies with TP.
-- To obtain Shattersoul, the quest Martial Mastery must be completed and it must be purchased from the Merit Points menu.
-- Target's ... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/API/ServiceStatusUpdateToHMI/007_Protected_service_GetSystemTime_no_response_INVALID_TIME.lua | 1 | 3847 | -----------------------------------------------------------------------------------------------------------------------
-- Proposal:
-- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0211-ServiceStatusUpdateToHMI.md
--------------------------------------------------------------------------------... | bsd-3-clause |
mahdikord/mahdim3 | plugins/stats.lua | 56 | 3988 | 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 |
jchuang1977/luci-1 | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/df.lua | 73 | 1370 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("luci_statistics",
translate("DF Plugin Configuration"),
translate(
"The df plugin collects statistics about the disk space " ..
"usage on different devices, mount points or file... | apache-2.0 |
ddumont/darkstar | scripts/globals/items/agaricus_mushroom.lua | 12 | 1160 | -----------------------------------------
-- ID: 5680
-- Item: agaricus mushroom
-- Food Effect: 5 Min, All Races
-----------------------------------------
-- STR -4
-- MND +2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------... | gpl-3.0 |
Xetrill/XsLuaJIT | LuaJIT2/src/jit/dump.lua | 1 | 19502 | ----------------------------------------------------------------------------
-- LuaJIT compiler dump module.
--
-- Copyright (C) 2005-2013 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
--
-... | mit |
HKingh/the-king | plugins/owners.lua | 284 | 12473 |
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 |
patrikrm13/soupergroup | plugins/boobs.lua | 731 | 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 |
alireza98/z | plugins/boobs.lua | 731 | 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 |
theonlywild/telegram-bot | plugins/boobs.lua | 731 | 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 |
Squeakz/darkstar | scripts/globals/summon.lua | 5 | 11158 |
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 |
ddumont/darkstar | scripts/zones/Upper_Jeuno/Zone.lua | 26 | 2502 | -----------------------------------
--
-- Zone: Upper_Jeuno (244)
--
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Upper_Jeuno/TextIDs");
-----------------------------------... | gpl-3.0 |
ddumont/darkstar | scripts/globals/items/holy_maul_+1.lua | 41 | 1077 | -----------------------------------------
-- ID: 17114
-- Item: Holy Maul +1
-- Additional Effect: Light Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
------------------------------... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/mobskills/Tachi_Yukikaze.lua | 27 | 1047 | ---------------------------------------------
-- Tachi: Yukikaze
--
-- Description: Blinds target. Damage varies with TP.
-- Type: Physical
-- Shadow per hit
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/glob... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Bastok_Markets/npcs/HomePoint#3.lua | 27 | 1266 | -----------------------------------
-- Area: Bastok Markets
-- NPC: HomePoint#3
-- @pos -189 -8 26 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Bastok_Markets/TextIDs");
require("scripts/globals/homep... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Northern_San_dOria/npcs/Guilerme.lua | 13 | 2054 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Guillerme
-- Involved in Quest: Rosel the Armorer
-- @zone: 231
-- @pos -4.500 0.000 99.000
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
ddumont/darkstar | scripts/globals/abilities/pets/spring_water.lua | 25 | 1137 | ---------------------------------------------------
-- Spring Water
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onAbilityCheck(player... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Grand_Palace_of_HuXzoi/npcs/_iyq.lua | 14 | 1523 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- NPC: cermet portal
-- @pos 440 0 401 34
-----------------------------------
package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Grand_Palace_of_HuXzoi/TextIDs");
requi... | gpl-3.0 |
ddumont/darkstar | scripts/globals/weaponskills/tachi_jinpu.lua | 23 | 1422 | -----------------------------------
-- Tachi Jinpu
-- Great Katana weapon skill
-- Skill level: 150
-- Two-hit attack. Deals Physical and wind elemental damage to enemy. Additonal Effect Damage varies with TP.
-- Will stack with Sneak Attack and Souleater.
-- Aligned with the Breeze Gorget & Shadow Gorget.
-- Aligned w... | gpl-3.0 |
jlcvp/otxserver | data/monster/reptiles/stonerefiner.lua | 2 | 2792 | local mType = Game.createMonsterType("Stonerefiner")
local monster = {}
monster.description = "a Stonerefiner"
monster.experience = 500
monster.outfit = {
lookType = 1032,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 1525
monster.Bestiary = {
class =... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Bhaflau_Remnants/mobs/Colibri.lua | 46 | 1626 | -----------------------------------
-- Area: Mamook
-- MOB: Colibri
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobFight Action
-----------------------------------
function onMobFight(mob, target)
local delay =... | gpl-3.0 |
tdzl2003/seedplugins | ui/ui/hold.lua | 1 | 1236 | local Node = requireClass("ui.Node").methods
local function holdListener(self, ev)
local startTime = ev.time
local sx, sy = ev.x, ev.y -- 取屏幕坐标。
local removeUpdateListener
local function holdUpdateListener(type, ev)
if (ev:overed() or ev:exclusive()) then
return
end
local dx = sx - ev.x
... | bsd-3-clause |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Smoke/API/045_PerformAudioPassThru_Non_Media_PositiveCase_SUCCESS.lua | 1 | 5281 | ---------------------------------------------------------------------------------------------------
-- User story: Smoke
-- Use case: PerformAudioPassThru
-- Item: Happy path
--
-- Requirement summary:
-- [PerformAudioPassThru] SUCCESS: getting SUCCESS:UI.PerformAudioPassThru()
--
-- Description:
-- Mobile application ... | bsd-3-clause |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Defects/7_0/1384/006_HMI_IsReady_response_VR_interface.lua | 1 | 1822 | ---------------------------------------------------------------------------------------------------
-- User story: https://github.com/smartdevicelink/sdl_core/issues/1384
--
-- Description: SDL doesn't check result code in VR.IsReady response from HMI
--
-- Precondition:
-- 1) SDL and HMI are started.
-- 2) SDL receive... | bsd-3-clause |
ddumont/darkstar | scripts/globals/items/bowl_of_yayla_corbasi.lua | 12 | 1478 | -----------------------------------------
-- ID: 5579
-- Item: bowl_of_yayla_corbasi
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP 20
-- Dexterity -1
-- Vitality 2
-- HP Recovered While Healing 3
-- MP Recovered While Healing 1
-----------------------------------------
require("script... | gpl-3.0 |
ddumont/darkstar | scripts/globals/mobskills/Necrobane.lua | 43 | 1075 | ---------------------------------------------
-- Necrobane
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------
function onMobSkillCheck(target,mob,skill)
if(mob:g... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Kocco_Ehllek.lua | 14 | 1066 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Kocco Ehllek
-- Type: Quest Giver
-- @zone 94
-- @pos -41.465 -2.125 -163.018
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
ddumont/darkstar | scripts/globals/items/serving_of_green_curry.lua | 12 | 1853 | -----------------------------------------
-- ID: 4296
-- Item: serving_of_green_curry
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 2
-- Vitality 1
-- Health Regen While Healing 2
-- Magic Regen While Healing 1
-- Defense +9% (cap 160)
-- Ranged ACC +5% (cap 25)
-- Sleep Resist ... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Policies/Related_HMI_API/175_ATF_OnAllowSDLFunctionality_allowed_true_without_device.lua | 1 | 2797 | ---------------------------------------------------------------------------------------------
-- Requirement summary:
-- [Policies]: OnAllowSDLFunctionality with 'allowed=true' and without 'device' param from HMI
--
-- Description:
-- 1. Preconditions: App is registered
-- 2. Steps: Activate App, send SDL.OnAllowSDLFun... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Pradiulot.lua | 13 | 2380 | -----------------------------------
-- 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 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Policies/External_UCS/External_Consent_ON/018_ATF_Policies_External_Consent_ON_external_consent_allowed_user_consent_allowed.lua | 1 | 9341 | require('user_modules/script_runner').isTestApplicable({ { extendedPolicy = { "EXTERNAL_PROPRIETARY" } } })
-------------------------------------- Requirement summary -------------------------------------------
-- [Policies] External UCS: "ON" user disables "functional grouping" for specific app
-- [Policies] External ... | bsd-3-clause |
vorbi123/testt | plugins/get.lua | 613 | 1067 | local function get_variables_hash(msg)
if msg.to.type == 'chat' then
return 'chat:'..msg.to.id..':variables'
end
if msg.to.type == 'user' then
return 'user:'..msg.from.id..':variables'
end
end
local function list_variables(msg)
local hash = get_variables_hash(msg)
if hash then
local names =... | gpl-2.0 |
reveller/trafficserver | plugins/experimental/ts_lua/example/test_post.lua | 17 | 1483 | -- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); y... | apache-2.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/external/lua/luasocket/script/socket/headers.lua | 31 | 3706 | -----------------------------------------------------------------------------
-- Canonic header field capitalization
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
local socket = require("socket.socket")
socket.headers = {}
local _M = socket.he... | mit |
jorgifumi/luci | modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/backupfiles.lua | 75 | 2451 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
if luci.http.formvalue("cbid.luci.1._list") then
luci.http.redirect(luci.dispatcher.build_url("admin/system/flashops/backupfiles") .. "?display=list")
elseif ... | apache-2.0 |
jchuang1977/luci-1 | modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/backupfiles.lua | 75 | 2451 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
if luci.http.formvalue("cbid.luci.1._list") then
luci.http.redirect(luci.dispatcher.build_url("admin/system/flashops/backupfiles") .. "?display=list")
elseif ... | apache-2.0 |
Squeakz/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm15.lua | 17 | 1550 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: ???
-- Spawns: Lacovie
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(play... | gpl-3.0 |
jlcvp/otxserver | data/monster/magicals/enfeebled_silencer.lua | 2 | 3577 | local mType = Game.createMonsterType("Enfeebled Silencer")
local monster = {}
monster.description = "an enfeebled silencer"
monster.experience = 1100
monster.outfit = {
lookType = 585,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 1443
monster.Bestiary... | gpl-2.0 |
urzds/Penlight | lua/pl/app.lua | 4 | 5722 | --- Application support functions.
-- See @{01-introduction.md.Application_Support|the Guide}
--
-- Dependencies: `pl.utils`, `pl.path`
-- @module pl.app
local io,package,require = _G.io, _G.package, _G.require
local utils = require 'pl.utils'
local path = require 'pl.path'
local app = {}
local function check_script... | mit |
ddumont/darkstar | scripts/globals/weaponskills/ukkos_fury.lua | 19 | 1877 | -----------------------------------
-- Ukko's Fury
-- Great Axe Weapon Skill
-- Skill Level: N/A
-- Description: Delivers a twofold attack that slows target. Chance of params.critical hit varies with TP. Ukonvasara: Aftermath.
-- Available only when equipped with Ukonvasara (85), Ukonvasara (90), Ukonvasara (95), Masch... | gpl-3.0 |
jorgifumi/luci | applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-app.lua | 137 | 15546 | cbimap = Map("asterisk", "asterisk", "")
module = cbimap:section(TypedSection, "module", "Modules", "")
module.anonymous = true
app_alarmreceiver = module:option(ListValue, "app_alarmreceiver", "Alarm Receiver Application", "")
app_alarmreceiver:value("yes", "Load")
app_alarmreceiver:value("no", "Do Not Load")
app_al... | apache-2.0 |
yeewang/openwrt-luci | applications/luci-asterisk/luasrc/asterisk/cc_idd.lua | 92 | 7735 | --[[
LuCI - Asterisk - International Direct Dialing Prefixes and Country Codes
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
]]--
module "luci.asteri... | apache-2.0 |
8devices/luci | applications/luci-asterisk/luasrc/asterisk/cc_idd.lua | 92 | 7735 | --[[
LuCI - Asterisk - International Direct Dialing Prefixes and Country Codes
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
]]--
module "luci.asteri... | apache-2.0 |
ld-test/lzmq-auth | test/test_cert.lua | 3 | 1905 | local HAS_RUNNER = not not lunit
local lunit = require "lunit"
local TEST_CASE = assert(lunit.TEST_CASE)
local skip = lunit.skip or function() end
local zcert = require "lzmq.cert"
local path = require "path"
local _ENV = TEST_CASE "lzmq.cert" do
local TESTDIR = ".test_zcert"
local cert, shado... | mit |
ddumont/darkstar | scripts/globals/mobskills/Final_Retribution.lua | 31 | 1048 | ---------------------------------------------
-- Final Retribution
-- Family: Corse
-- Description: Damages enemies in an area of effect. Additional effect: Stun
-- Type: Physical
-- Utsusemi/Blink absorb: 1-3 shadows
-- Range: Radial
-- Notes: Only used by some notorious monsters like Xolotl.
------------------... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/items/slice_of_cockatrice_meat.lua | 18 | 1349 | -----------------------------------------
-- ID: 4435
-- Item: slice_of_cockatrice_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 4
-- Intelligence -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- ... | gpl-3.0 |
jlcvp/otxserver | data/monster/quests/heart_of_destruction/damage_resonance.lua | 2 | 2334 | local mType = Game.createMonsterType("Damage Resonance")
local monster = {}
monster.description = "Damage Resonance"
monster.experience = 560
monster.outfit = {
lookTypeEx = 22761
}
monster.health = 11000
monster.maxHealth = 11000
monster.race = "venom"
monster.corpse = 0
monster.speed = 500
monster.manaCost = 0
mo... | gpl-2.0 |
tdzl2003/seedplugins | particle/particle_old.lua | 1 | 15257 | --[[
Seed 插件
particle
包含文件
particle.lua - 提供通过数据table或plist文件创建UI的方法
依赖组件
transition
plist
lua_ex
最后修改日期
2012-6-15
更新记录
2012-6-15:增加了self:pause(),self:resume(),self:stop(),self:start()方法,扩大粒子池size
]]--
math.randomseed(os.time())
local urilib = require("uri")
local r2d = require("render... | bsd-3-clause |
ddumont/darkstar | scripts/globals/items/blowfish.lua | 12 | 1323 | -----------------------------------------
-- ID: 5812
-- Item: Blowfish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
8devices/luci | modules/niu/luasrc/controller/niu/traffic.lua | 49 | 1218 | --[[
LuCI - Lua Development Framework
Copyright 2009 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
local... | apache-2.0 |
jorgifumi/luci | applications/luci-app-meshwizard/luasrc/model/cbi/freifunk/meshwizard.lua | 92 | 6917 | -- wizard rewrite wip
local uci = require "luci.model.uci".cursor()
local sys = require "luci.sys"
local util = require "luci.util"
local ip = require "luci.ip"
local community = "profile_" .. (uci:get("freifunk", "community", "name") or "Freifunk")
local mesh_network = ip.IPv4(uci:get_first(community, "community", "... | apache-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Policies/External_UCS/External_Consent_OFF/015_ATF_Policies_External_Consent_OFF_external_consent_disallowed_user_consent_allowed.lua | 1 | 8690 | require('user_modules/script_runner').isTestApplicable({ { extendedPolicy = { "EXTERNAL_PROPRIETARY" } } })
--------------------------------------Requirement summary---------------------------------------------
--[Policies] External UCS: "OFF" user enables "functional grouping" for specific app
--[Policies] External UC... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/Mhaura/npcs/Willah_Maratahya.lua | 13 | 3834 | -----------------------------------
-- Area: Mhaura
-- NPC: Willah Maratahya
-- Title Change NPC
-- @pos 23 -8 63 249
-----------------------------------
require("scripts/globals/titles");
local title2 = { PURVEYOR_IN_TRAINING , ONESTAR_PURVEYOR , TWOSTAR_PURVEYOR , THREESTAR_PURVEYOR , 0 , 0 , 0 , 0 , 0 , ... | gpl-3.0 |
otalk/lua-otalk | sessionManager.lua | 1 | 8865 | local M = {};
local Jingle = require "basejingle";
local global = {
c = {},
v = {},
conf = {},
sessions = {},
peers = {},
iceServers = {},
prepareSession = {},
};
local features = {
"urn:xmpp:jingle:1",
"urn:xmpp:jingle:apps:rtp:1",
"urn:xmpp:jingle:apps:rtp:audio",
"urn:x... | mit |
ddumont/darkstar | scripts/globals/spells/cura_iii.lua | 36 | 4123 | -----------------------------------------
-- Spell: Cura III
-- Restores hp in area of effect. Self target only
-- From what I understand, Cura III's base potency is the same as Cure III's.
-- With Afflatus Misery Bonus, it can be as potent as a Curaga IV
-- Modeled after our cure_iii.lua, which was modeled after the b... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Abyssea-Grauberg/Zone.lua | 33 | 1488 | -----------------------------------
--
-- Zone: Abyssea - Grauberg
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abyssea-Grauberg... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Staff.lua | 17 | 1486 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Staff
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEngag... | gpl-3.0 |
ddumont/darkstar | scripts/globals/abilities/pets/heavenly_strike.lua | 28 | 1332 | ---------------------------------------------------
-- Geocrush
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/magic");
---------------------------------------------------
... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/RC/CLIMATE_RADIO/OnRemoteControlSettings/010_Allowed_true_accessMode_AUTO_DENY.lua | 1 | 2225 | ---------------------------------------------------------------------------------------------------
-- User story: https://github.com/smartdevicelink/sdl_requirements/issues/11
-- Use case: https://github.com/smartdevicelink/sdl_requirements/blob/master/detailed_docs/RC/rc_enabling_disabling.md
-- Item: Use Case 2: Mai... | bsd-3-clause |
evgeni/sysdig | userspace/sysdig/chisels/netlower.lua | 12 | 4664 | --[[
netlower.lua - trace network I/O slower than a given threshold.
USAGE: sysdig -c netlower min_ms
eg,
sysdig -c netlower 1000 # show network I/O slower than 1000 ms.
sysdig -c netlower "1 disable_colors" # show network I/O slower than 1 ms. w/ no colors
sysdig -c netlower 1000 # show network... | gpl-2.0 |
ddumont/darkstar | scripts/globals/items/steamed_crab.lua | 12 | 1289 | -----------------------------------------
-- ID: 4342
-- Item: steamed_crab
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Vitality 3
-- Defense % 27 (cap 65)
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItem... | gpl-3.0 |
albmarvil/The-Eternal-Sorrow | Exes/media/LUA/Managers/Enemigos/Wompy.lua | 2 | 2000 |
-------------------------------TABLA Wompy---------------------------
Wompy = {
--variables del enemigo
id = 1,
tier = 1,
Archetype = "Wompy",
vida = function (x)
return 0.01*x*x + 0.75*x + 6
end,
ataque = function (x)
return 0.5*x + 1
end,
vel_mov = function (x)
return x / 20 --no se esta usando p... | apache-2.0 |
ddumont/darkstar | scripts/globals/abilities/dark_shot.lua | 10 | 2991 | -----------------------------------
-- Ability: Dark Shot
-- Consumes a Dark Card to enhance dark-based debuffs. Additional effect: Dark-based Dispel
-- Bio Effect: Attack Down Effect +5% and DoT + 3
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("sc... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/API/KeyboardEnhancements/SetGlobalProperties/006_App_defines_invalid_value_in_customKeys.lua | 1 | 2378 | ----------------------------------------------------------------------------------------------------
-- Proposal:
-- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0238-Keyboard-Enhancements.md
----------------------------------------------------------------------------------------------------
-... | bsd-3-clause |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Smoke/Registration/005_Reregister_App_after_disconnect.lua | 1 | 1726 | -- Requirement summary:
-- [RegisterAppInterface] SUCCESS
-- [RegisterAppInterface] RegisterAppInterface and HMILevel
-- [Unexpected Disconnect]: 6. "unexpectedDisconnect:true" in case of transport issues
--
-- Description:
-- Check that it is able to reregister App after connection was closed.
--
-- 1. Used pre... | bsd-3-clause |
yeewang/openwrt-luci | applications/luci-meshwizard/luasrc/model/cbi/freifunk/meshwizard.lua | 8 | 6913 | -- wizard rewrite wip
local uci = require "luci.model.uci".cursor()
local sys = require "luci.sys"
local util = require "luci.util"
local ip = require "luci.ip"
local community = "profile_" .. (uci:get("freifunk", "community", "name") or "Freifunk")
local mesh_network = ip.IPv4(uci:get_first(community, "community", "... | apache-2.0 |
jorgifumi/luci | applications/luci-app-ltqtapi/luasrc/controller/ltqtapi.lua | 73 | 1071 | -- Copyright 2019 John Crispin <blogic@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.ltqtapi", package.seeall)
function index()
if not nixio.fs.access("/etc/config/telephony") then
return
end
page = node("admin", "telephony")
page.target = firstchild()
page.title... | apache-2.0 |
urzds/Penlight | lua/pl/operator.lua | 10 | 4249 | --- Lua operators available as functions.
--
-- (similar to the Python module of the same name)
--
-- There is a module field `optable` which maps the operator strings
-- onto these functions, e.g. `operator.optable['()']==operator.call`
--
-- Operator strings like '>' and '{}' can be passed to most Penlight functions
... | mit |
jlcvp/otxserver | data/monster/constructs/damaged_crystal_golem.lua | 2 | 2048 | local mType = Game.createMonsterType("Damaged Crystal Golem")
local monster = {}
monster.description = "a damaged crystal golem"
monster.experience = 0
monster.outfit = {
lookType = 508,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 874
monster.Bestiar... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Hieroglyphics.lua | 13 | 2442 | -----------------------------------
-- Area: Tavnazian_Safehold
-- NPC: Hieroglyphics
-- Notes: Dynamis Tavnazia Enter
-- @pos 3.674 -7.278 -27.856 26
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/se... | gpl-3.0 |
ff-kbu/fff-luci | libs/httpclient/luasrc/httpclient/receiver.lua | 93 | 6049 | --[[
LuCI - Lua Development Framework
Copyright 2009 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
requ... | apache-2.0 |
Squeakz/darkstar | scripts/globals/gear_sets.lua | 17 | 26319 | -----------------------------------
-- Gear sets
-- Allows the use of gear sets with modifiers
-----------------------------------
require("scripts/globals/status");
-----------------------------------
local matchtype = {
any = 0,
earring_weapon = 1,
weapon_weapon = 2
}
-- placeholder for unkno... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Security/DTLS/common.lua | 1 | 7344 | ---------------------------------------------------------------------------------------------------
-- Navigation common module
---------------------------------------------------------------------------------------------------
--[[ General configuration parameters ]]
config.SecurityProtocol = "DTLS"
config.application... | bsd-3-clause |
ddumont/darkstar | scripts/globals/items/mihgo_mithkabob.lua | 12 | 1690 | -----------------------------------------
-- ID: 5708
-- Item: Mihgo Mithkabob
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- Dexterity 5
-- Vitality 2
-- Mind -2
-- Accuracy +50
-- Ranged Accuracy +50
-- Evasion +5
-- Defense % 25 (cap 95)
-----------------------------------------
requi... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Al_Zahbi/npcs/Najaaj.lua | 13 | 1034 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Najaaj
-- Type: Standard NPC
-- @zone: 48
-- @pos 61.563 -1 36.264
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
------------------------------... | gpl-3.0 |
ddumont/darkstar | scripts/globals/spells/armys_paeon.lua | 27 | 1361 | -----------------------------------------
-- Spell: Army's Paeon
-- Gradually restores target's HP.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targe... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5ci.lua | 13 | 1483 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5ci (Gate of Light)
-- Involved In Mission: 3-2
-- @pos -331 0 139 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
jorgifumi/luci | applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua | 17 | 19842 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.ip")
require("luci.model.uci")
local knownParams = {
--
-- Widget Name Default(s) Description Option(s)
--
{ "Service", {
-- initialisation and daemon options
{ List... | apache-2.0 |
LacusCon/slua | build/luajit-2.0.4/src/jit/dis_ppc.lua | 88 | 20319 | ----------------------------------------------------------------------------
-- LuaJIT PPC disassembler module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT/X license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------... | mit |
ddumont/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Sahnn_Dhansett.lua | 14 | 1067 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Sahnn Dhansett
-- Type: Standard NPC
-- @zone 94
-- @pos 112.820 -3.122 47.857
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ni... | gpl-3.0 |
mohammad24/newtinx | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Armature.lua | 11 | 7075 |
--------------------------------
-- @module Armature
-- @extend Node,BlendProtocol
-- @parent_module ccs
--------------------------------
-- Get a bone with the specified name<br>
-- param name The bone's name you want to get
-- @function [parent=#Armature] getBone
-- @param self
-- @param #string name
-- @return Bo... | mit |
Squeakz/darkstar | scripts/zones/Port_Windurst/npcs/_6o6.lua | 13 | 1424 | -----------------------------------
-- Area: Port Windurst
-- NPC: Door: Departures Exit
-- @zone 240
-- @pos 218 -5 114
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/ke... | gpl-3.0 |
ddumont/darkstar | scripts/globals/weaponskills/decimation.lua | 25 | 1538 | -----------------------------------
-- Decimation
-- Axe weapon skill
-- Skill level: 240
-- In order to obtain Decimation, the quest Axe the Competition must be completed.
-- Delivers a three-hit attack. params.accuracy varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget, Light Gorget & A... | gpl-3.0 |
vorbi123/testt | plugins/domaintools.lua | 359 | 1494 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function check(name)
local api = "https://domainsearch.p.mashape.com/index.php?"... | gpl-2.0 |
alireza98/z | plugins/domaintools.lua | 359 | 1494 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function check(name)
local api = "https://domainsearch.p.mashape.com/index.php?"... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.