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 |
|---|---|---|---|---|---|
linushsao/sky_islands_game-linus | mods/animalmaterials/animal_resources/tools.lua | 2 | 1135 | -------------------------------------------------------------------------------
-- Mob Framework Mod by Sapier
--
-- You may copy, use, modify or do nearly anything except removing this
-- copyright notice.
-- And of course you are NOT allow to pretend you have written it.
--
--! @file tools.lua
--! @brief tool initial... | gpl-3.0 |
Vadavim/test | scripts/globals/weaponskills/shadowstitch.lua | 12 | 1530 | -----------------------------------
-- Shadowstitch
-- Dagger weapon skill
-- Skill level: 70
-- Binds target. Chance of binding varies with TP.
-- Does stack with Sneak Attack.
-- Aligned with the Aqua Gorget.
-- Aligned with the Aqua Belt.
-- Element: None
-- Modifiers: CHR:100%
-- 100%TP 200%TP 300%T... | gpl-3.0 |
szagoruyko/torch7 | FFI.lua | 69 | 6117 | local ok, ffi = pcall(require, 'ffi')
local function checkArgument(condition, fn, ud, msg, level)
local level = level or 3
if not condition then
error("bad argument #" .. ud .. " to '" .. fn .. "' (" .. msg .. ")", level)
end
end
local function checkArgumentType(expected, actual, fn, ud, level)
loca... | bsd-3-clause |
Vadavim/test | scripts/globals/items/piscators_skewer.lua | 36 | 1339 | -----------------------------------------
-- ID: 5983
-- Item: Piscator's Skewer
-- Food Effect: 60 Mins, All Races
-----------------------------------------
-- Dexterity 3
-- Vitality 4
-- Defense % 26 Cap 155
-----------------------------------------
require("scripts/globals/status");
------------------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Claymore.lua | 16 | 1489 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Claymore
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
func... | gpl-3.0 |
Vadavim/test | scripts/globals/items/ojo_rice_ball.lua | 15 | 1749 | -----------------------------------------
-- ID: 5929
-- Item: Ojo Rice Ball
-- Food Effect: 60 Mins, All Races
-----------------------------------------
-- HP 50
-- Dexterity 5
-- Vitality 5
-- Character 5
-- Effect with enhancing equipment
-- Attack +60
-- Defense +40
-- Triple Attack 2
------------------------------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Naja_Salaheem.lua | 3 | 8996 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Naja Salaheem
-- Type: Standard NPC
-- @pos 22.700 -8.804 -45.591 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_W... | gpl-3.0 |
Vadavim/test | scripts/zones/Western_Altepa_Desert/Zone.lua | 27 | 4592 | -----------------------------------
--
-- Zone: Western_Altepa_Desert (125)
--
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/Western_Al... | gpl-3.0 |
Vadavim/test | scripts/zones/Northern_San_dOria/npcs/Alphollon_C_Meriard.lua | 19 | 3153 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Alphollon C Meriard
-- Type: Purifies cursed items with their corresponding abjurations.
-- @zone: 231
-- @pos 98.108 -1 137.999
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
---------------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Caedarva_Mire/npcs/Runic_Portal.lua | 17 | 2782 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Runic Portal
-- Caedarva Mire Teleporter Back to Aht Urhgan Whitegate
-- @pos -264 -6 -28 79 (Dvucca)
-- @pos 524 -28 -503 79 (Azouph)
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
------------... | gpl-3.0 |
Vadavim/test | scripts/zones/Windurst_Waters_[S]/npcs/Kristen.lua | 38 | 1041 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Kristen
-- Type: Standard NPC
-- @zone: 94
-- @pos 2.195 -2 60.296
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
--------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Sabnak.lua | 16 | 1256 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Marquis Sabnak
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
functi... | gpl-3.0 |
tehran980/tele_immortal | plugins/webshot.lua | 919 | 1473 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
pezhmanEX/third | plugins/webshot.lua | 919 | 1473 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
Vadavim/test | scripts/globals/spells/bluemagic/sound_blast.lua | 1 | 1422 | -----------------------------------------
-- Spell: Sound Blast
-- Lowers Intelligence of enemies within range.
-- Spell cost: 25 MP
-- Monster Type: Birds
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 1
-- Stat Bonus: None
-- Level: 32
-- Casting Time: 4 seconds
-- Recast Time: 30 seconds
-- Magic Bur... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Fort_Karugo-Narugo_[S]/npcs/Spondulix.lua | 37 | 1195 | -----------------------------------
-- Area: Fort Karugo-Narugo
-- NPC: Spondulix
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil;
require("scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs");
-----... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Port_Windurst/npcs/Uli_Pehkowa.lua | 36 | 1578 | -----------------------------------
-- Area: Port Windurst
-- NPC: Uli Pehkowa
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst/Te... | gpl-3.0 |
quanhua92/torch-android | src/3rdparty/nn/SpatialDivisiveNormalization.lua | 39 | 5171 | local SpatialDivisiveNormalization, parent = torch.class('nn.SpatialDivisiveNormalization','nn.Module')
function SpatialDivisiveNormalization:__init(nInputPlane, kernel, threshold, thresval)
parent.__init(self)
-- get args
self.nInputPlane = nInputPlane or 1
self.kernel = kernel or torch.Tensor(9,9):fill(... | bsd-3-clause |
hoku586/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Souun_IM.lua | 14 | 3340 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Souun, I.M.
-- Type: Outpost Conquest Guards
-- @pos 470.843 23.465 415.520 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/con... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Bastok_Markets/npcs/Zaira.lua | 15 | 1895 | -----------------------------------
-- Area: Batok Markets
-- NPC: Zaira
-- 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/zone... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/loaf_of_white_bread.lua | 35 | 1278 | -----------------------------------------
-- ID: 4356
-- Item: loaf_of_white_bread
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 16
-- Dexterity -1
-- Vitality 3
-----------------------------------------
require("scripts/globals/status");
----------------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/red_hot_cracker.lua | 35 | 1341 | -----------------------------------------
-- ID: 4281
-- Item: red_hot_cracker
-- Food Effect: 3Min, All Races
-----------------------------------------
-- HP Recovered While Healing 9
-- Beast Killer 5
-- Resist Sleep 5
-----------------------------------------
require("scripts/globals/status");
--------... | gpl-3.0 |
grandboy0/wader | plugins/saveplug.lua | 19 | 1055 | --Created by: @WaderTGTeam
--Powered by: @WaderTGTeam
--âڑ ï¸ڈCopyRight all right reservedâڑ ï¸ڈ
local function saveplug(extra, success, result)
local msg = extra.msg
local name = extra.name
local receiver = get_receiver(msg)
if success then
local file = 'plugins/'..name..'.lua'
print('File saving to:'... | gpl-2.0 |
Vadavim/test | scripts/zones/Sauromugue_Champaign/npcs/Stone_Monument.lua | 32 | 1305 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 77.544 -2.746 -184.803 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
CommandPost/CommandPost | src/tests/cp/fn_spec.lua | 1 | 23307 | -- test spec for `cp.fn`
local require = require
local spec = require "cp.spec"
local expect = require "cp.spec.expect"
local describe, context, it = spec.describe, spec.context, spec.it
local pack = table.pack
local unpack = table.unpack
... | mit |
Vadavim/test | scripts/globals/spells/bluemagic/bludgeon.lua | 1 | 1746 | -----------------------------------------
-- Spell: Bludgeon
-- Delivers a threefold attack. Accuracy varies with TP
-- Spell cost: 16 MP
-- Monster Type: Arcana
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 2
-- Stat Bonus: STR+1
-- Level: 18
-- Casting Time: 0.5 seconds
-- Recast Time: 11.75 seconds... | gpl-3.0 |
CommandPost/CommandPost | src/plugins/finalcutpro/touchbar/virtual/init.lua | 2 | 9995 | --- === plugins.finalcutpro.touchbar.virtual ===
---
--- Virtual Touch Bar Plugin.
local require = require
local config = require("cp.config")
local dialog = require("cp.dialog")
local fcp = require("cp.apple.f... | mit |
ff94315/luci-1 | modules/luci-mod-admin-full/luasrc/controller/admin/uci.lua | 40 | 1769 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.admin.uci", package.seeall)
function index()
local redir = luci.http.formvalue("redir", true) or
luci.dispatcher.build_url(unpack(... | apache-2.0 |
Vadavim/test | scripts/globals/items/dhalmel_steak.lua | 35 | 1391 | -----------------------------------------
-- ID: 4438
-- Item: dhalmel_steak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 4
-- Intelligence -1
-- Attack % 25
-- Attack Cap 45
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
likunpeng/cocos | QuickGame/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/BaseLight.lua | 10 | 1196 |
--------------------------------
-- @module BaseLight
-- @extend Node
-- @parent_module cc
--------------------------------
-- light enabled getter and setter.
-- @function [parent=#BaseLight] setEnabled
-- @param self
-- @param #bool enabled
--------------------------------
-- intensity getter and setter ... | apache-2.0 |
Elkazan/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Dwago.lua | 34 | 1290 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Dwago
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require("s... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/sausage.lua | 35 | 1650 | -----------------------------------------
-- ID: 4578
-- Item: sausage
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 3
-- Strength 3
-- Intelligence -1
-- Attack % 27
-- Attack Cap 30
-- Ranged ATT % 27
-- Ranged ATT Cap 30
-----------------------------------------
... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Sorrowful_Sage.lua | 14 | 2481 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Sorrowful Sage
-- Type: Assault Mission Giver
-- @pos 134.096 0.161 -30.401 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
hoku586/darkstar | scripts/zones/RuLude_Gardens/npcs/Laityn.lua | 17 | 1202 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Laityn
-- Involved In Quest: Recollections
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
--... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Port_Bastok/npcs/Agapito.lua | 19 | 1868 | -----------------------------------
-- Area: Port Bastok
-- NPC: Agapito
-- Start & Finishes Quest: The Stars of Ifrit
-- @zone: 236
-- @pos -72.093 -3.097 9.309
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
Vadavim/test | scripts/zones/Eastern_Altepa_Desert/npcs/Daborn_IM.lua | 30 | 3062 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Daborn, I.M.
-- Border Conquest Guards
-- @pos 226.493 -12.231 260.194 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Attohwa_Chasm/mobs/Alastor_Antlion.lua | 9 | 1866 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: Alastor Antlion
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
mixins = {require("scripts/mixins/families/antlion_ambush_noaggro")}
-----------------------------------
-- onMobInitialize Actio... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Port_San_dOria/npcs/Eddy.lua | 38 | 1038 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Eddy
-- Type: NPC Quest Giver
-- @zone: 232
-- @pos -5.209 -8.999 39.833
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------... | gpl-3.0 |
otservme/global1041 | data/npc/scripts/Nah'Bob.lua | 1 | 3337 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local talkState = {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCre... | gpl-2.0 |
Elkazan/darkstar | scripts/globals/items/plate_of_witch_risotto.lua | 35 | 1537 | -----------------------------------------
-- ID: 4330
-- Item: witch_risotto
-- Food Effect: 4hours, All Races
-----------------------------------------
-- Magic Points 35
-- Strength -1
-- Vitality 3
-- Mind 3
-- MP Recovered While Healing 2
-- Enmity -1
-----------------------------------------
require(... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Craigine_RK.lua | 30 | 3063 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Craigine, R.K.
-- Border Conquest Guards
-- @pos -599.903 -41.441 165.776 118
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conqu... | gpl-3.0 |
tcdog001/ap_project | feeds/luci/modules/rpc/luasrc/controller/rpc.lua | 70 | 4443 | --[[
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... | gpl-2.0 |
iff/dotfiles | nvim/lua/my/lspconfig.lua | 1 | 7460 | local M = {}
function M.plugs()
local Plug = vim.fn['plug#']
Plug('neovim/nvim-lspconfig')
Plug('nvim-lua/lsp_extensions.nvim')
Plug('hrsh7th/cmp-nvim-lsp', { ['branch'] = 'main' })
Plug('hrsh7th/cmp-buffer', { ['branch'] = 'main' })
Plug('hrsh7th/cmp-path', { ['branch'] = 'main' })
Plug(... | mit |
Vadavim/test | scripts/globals/spells/bluemagic/heat_breath.lua | 1 | 1804 | -----------------------------------------
-- Spell: Heat Breath
-- Deals fire damage to enemies within a fan-shaped area originating from the caster
-- Spell cost: 169 MP
-- Monster Type: Beasts
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 4
-- Stat Bonus: STR+3
-- Level: 71
-- Casting Time: 7.5 seconds... | gpl-3.0 |
hoku586/darkstar | scripts/globals/spells/bluemagic/soporific.lua | 27 | 1377 | -----------------------------------------
-- Spell: Soporific
-- Puts all enemies within range to sleep
-- Spell cost: 38 MP
-- Monster Type: Plantoids
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 4
-- Stat Bonus: HP-5, MP+5
-- Level: 24
-- Casting Time: 3 seconds
-- Recast Time: 90 seconds
-- Duration: 90 secon... | gpl-3.0 |
chuangyi0128/SLRWax | SLRWax/stdlib/enums.lua | 18 | 12158 | -- UIViewContentMode
UIViewContentModeScaleToFill = 0
UIViewContentModeScaleAspectFit = 1
UIViewContentModeScaleAspectFill = 2
UIViewContentModeRedraw = 3
UIViewContentModeCenter = 4
UIViewContentModeTop = 5
UIViewContentModeBottom = 6
UIViewContentModeLeft = 7
UIViewContentModeRight = 8
UIViewContentModeTopLeft = 9
UI... | mit |
mramir8274/botman | plugins/Location.lua | 185 | 1565 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
Elkazan/darkstar | scripts/globals/effects/mnd_down.lua | 18 | 1090 | -----------------------------------
--
-- EFFECT_MND_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if ((target:getStat(MOD_MND) - effec... | gpl-3.0 |
nimaghorbani/dozdi4 | plugins/moderation.lua | 336 | 9979 | do
local function check_member(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.id
if member_id ~= our_id then
local username = v.username
data[tostring(m... | gpl-2.0 |
hoku586/darkstar | scripts/globals/items/magma_steak_+1.lua | 12 | 1603 | -----------------------------------------
-- ID: 6072
-- Item: Magma Steak +1
-- Food Effect: 240 Min, All Races
-----------------------------------------
-- Strength +9
-- Attack +24% Cap 185
-- Ranged Attack +24% Cap 185
-- Vermin Killer +6
-----------------------------------------
require("scripts/globals/status");... | gpl-3.0 |
likunpeng/cocos | QuickGame/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Label.lua | 10 | 12761 |
--------------------------------
-- @module Label
-- @extend SpriteBatchNode,LabelProtocol
-- @parent_module cc
--------------------------------
--
-- @function [parent=#Label] isClipMarginEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Enable shadow... | apache-2.0 |
Elkazan/darkstar | scripts/zones/Bastok_Markets/npcs/Oggodett.lua | 36 | 1630 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Oggodett
-- Only sells when Bastok controlls Aragoneu Region
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
packa... | gpl-3.0 |
Vadavim/test | scripts/zones/Bastok_Markets/npcs/Oggodett.lua | 36 | 1630 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Oggodett
-- Only sells when Bastok controlls Aragoneu Region
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
packa... | gpl-3.0 |
electricpandafishstudios/Dredge | game/modules/dredge/data/talents.lua | 1 | 3304 | newTalentType{ type="role/combat", name = "combat", description = "Combat techniques" }
newTalentType{ type="attack/mob", name = "mob", description = "Mob auto-attacks" }
--Unused / boxed
newTalent{
name = "Kick",
type = {"role/combat", 1},
points = 1,
cooldown = 6,
-- sanity = 0,
range = 1,
action = function(s... | gpl-3.0 |
ff94315/luci-1 | modules/luci-mod-admin-mini/luasrc/controller/mini/index.lua | 74 | 1261 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.mini.index", package.seeall)
function index()
local root = node()
if not root.lock then
root.target = alias("mini")
root.index =... | apache-2.0 |
hoku586/darkstar | scripts/zones/Dynamis-Qufim/Zone.lua | 7 | 2576 | -----------------------------------
--
-- Zone: Dynamis-Qufim
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Dynamis-Qufim/TextIDs"] = nil;
require("scripts/zones/Dynamis-Qufim/TextIDs");
-----------------------------------
-- onInitialize
----------------... | gpl-3.0 |
Vadavim/test | scripts/zones/Yuhtunga_Jungle/npcs/Robino-Mobino.lua | 17 | 1852 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Robino-Mobino
-- @pos -244 0 -401 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest"... | gpl-3.0 |
lbfamous/arcemu | src/scripts/lua/LuaBridge/AUCHINDOUN/AUCHENAI_CRYPTS/maladaar.lua | 13 | 5776 | --?!MAP=558
assert( include("acrypts.lua") , "Failed to load acrypts.lua")
local mod = require("DUNGEON_AUCHINDOUN.INSTANCE_ACRYPTS")
assert(mod)
module(mod._NAME..".EXARCH_MALADAAR",package.seeall)
local self = getfenv(1)
function OnCombat(unit)
self[tostring(unit)] = {
ribbon = math.random(2,5),
scream = math.r... | agpl-3.0 |
lidesdk/commandline | lua/socket/url.lua | 2 | 10826 | -----------------------------------------------------------------------------
-- URI parsing, composition and relative URL resolution
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: url.lua,v 1.38 2006/04/03 04:45:42 diego Exp $
-------------------------------------------------------------------------... | gpl-3.0 |
mindrunner/awesome-config | conf/window_rules.lua | 1 | 2331 | local awful = require("awful")
local beautiful = require("beautiful")
---{{{ Rules
awful.rules.rules = {
-- All clients will match this rule.
{ rule = { },
properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal,
size_hints_honor = false,
focus = awful.client.focus.filter,
r... | gpl-2.0 |
ff94315/luci-1 | modules/luci-mod-admin-mini/luasrc/model/cbi/mini/system.lua | 78 | 2244 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.sys")
require("luci.sys.zoneinfo")
require("luci.tools.webadmin")
require("luci.util")
m = Map("system", translate("System"), translate("Here you can configure the basic aspects of your device li... | apache-2.0 |
hoku586/darkstar | scripts/zones/Selbina/npcs/Torapiont.lua | 17 | 1547 | -----------------------------------
-- Area: Selbina
-- NPC: Torapiont
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/shop");
--------------------... | gpl-3.0 |
Vadavim/test | scripts/globals/spells/foe_requiem.lua | 11 | 1624 | -----------------------------------------
-- Spell: Foe Requiem
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,sp... | gpl-3.0 |
hoku586/darkstar | scripts/zones/East_Ronfaure_[S]/npcs/qm4.lua | 29 | 1556 | -----------------------------------
-- Area: East Ronfaure [S]
-- NPC: qm4 "???"
-- Involved in Quests: Steamed Rams
-- @pos 541.425 -49.83 178.563
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Windurst_Woods/npcs/Catalia.lua | 14 | 1050 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Catalia
-- Type: Standard NPC
-- @zone 241
-- @pos -46.160 -0.501 -32.698
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
--------------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Outer_Horutoto_Ruins/TextIDs.lua | 7 | 2183 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6584; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6588; -- Obtained: <item>.
GIL_OBTAINED = 6589; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6591; -- Obtained... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Dilgeur.lua | 36 | 1106 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Dilgeur -- Misnamed NPC, name is Crochepallade when it should be Dilgeur, swap pos with the NPC at -46 2 -8
-- @zone 80
-- @pos 22 2 3
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextID... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Lower_Delkfutts_Tower/npcs/_544.lua | 17 | 1670 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Cermet Door
-- Notes: Door opens when you trade Delkfutt Key to it
-- @pos 345 0.1 20 184
-----------------------------------
package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
Vadavim/test | scripts/zones/Southern_San_dOria/npcs/Daggao.lua | 17 | 1969 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Daggao
-- Involved in Quest: Peace for the Spirit, Lure of the Wildcat (San d'Oria)
-- @pos 89 0 119 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
--------------------------------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Northern_San_dOria/npcs/Matildie.lua | 17 | 1749 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Matildie
-- Adventurer's Assistant
-------------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Northern_San_dOria/TextIDs");
require("scripts/g... | gpl-3.0 |
Vadavim/test | scripts/zones/Aht_Urhgan_Whitegate/npcs/Saluhwa.lua | 34 | 1475 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Saluhwa
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Aht_Urh... | gpl-3.0 |
Vadavim/test | scripts/zones/Bibiki_Bay/npcs/Mep_Nhapopoluko.lua | 19 | 1157 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: Mep Nhapopoluko
-- Type: Guild Merchant NPC (Fishing Guild)
-- @pos 464.350 -6 752.731 4
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Woh_Gates/Zone.lua | 34 | 1270 | -----------------------------------
--
-- Zone: Woh Gates
--
-----------------------------------
package.loaded["scripts/zones/Woh_Gates/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Woh_Gates/TextIDs");
-----------------------------------
... | gpl-3.0 |
quanhua92/torch-android | src/3rdparty/nn/Threshold.lua | 42 | 1158 | local Threshold, parent = torch.class('nn.Threshold','nn.Module')
function Threshold:__init(th,v,ip)
parent.__init(self)
self.threshold = th or 1e-6
self.val = v or 0
if (th and type(th) ~= 'number') or (v and type(v) ~= 'number') then
error('nn.Threshold(threshold, value)')
end
-- default for ... | bsd-3-clause |
likunpeng/cocos | QuickGame/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/LayerColor.lua | 10 | 1484 |
--------------------------------
-- @module LayerColor
-- @extend Layer,BlendProtocol
-- @parent_module cc
--------------------------------
-- change width and height in Points<br>
-- since v0.8
-- @function [parent=#LayerColor] changeWidthAndHeight
-- @param self
-- @param #float w
-- @param #float h
----... | apache-2.0 |
otservme/global1041 | data/npc/scripts/Captain Bluebear.lua | 2 | 11092 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg)... | gpl-2.0 |
suzuren/some-mmorpg | 3rd/skynet/test/testredis2.lua | 82 | 1043 | local skynet = require "skynet"
local redis = require "redis"
local db
function add1(key, count)
local t = {}
for i = 1, count do
t[2*i -1] = "key" ..i
t[2*i] = "value" .. i
end
db:hmset(key, table.unpack(t))
end
function add2(key, count)
local t = {}
for i = 1, count do
... | mit |
hoku586/darkstar | scripts/zones/Giddeus/npcs/HomePoint#1.lua | 27 | 1248 | -----------------------------------
-- Area: Giddeus
-- NPC: HomePoint#1
-- @pos -132 -3 -303 145
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Giddeus/TextIDs");
require("scripts/globals/homepoint");
----------... | gpl-3.0 |
Vadavim/test | scripts/globals/items/bowl_of_shimmy_soup.lua | 36 | 1323 | -----------------------------------------
-- ID: 5931
-- Item: Bowl of Shimmy Soup
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- MP 32
-- Mind 5
-- HP Recovered While Healing 5
-- Enmity -5
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Abyssea-Grauberg/npcs/Dominion_Tactician.lua | 61 | 4431 | -----------------------------------
-- Area: Abyssea - Grauberg
-- NPC: Dominion Tactician
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/abyssea");
require("script... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/mobskills/Cryo_Jet.lua | 18 | 1243 | ---------------------------------------------------
-- Cryo_Jet
-- Description:
-- Type: Magical
-- additional effect : Paralyze
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
----------------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Upper_Jeuno/npcs/Constance.lua | 14 | 1835 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Constance
-- Involved in Quests: Save the Clock Tower
-- @zone 244
-- @pos -48 0 4
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
req... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/La_Theine_Plateau/npcs/Galaihaurat.lua | 17 | 2430 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Galaihaurat
-- Involved in Mission: The Rescue Drill
-- @pos -482 -7 222 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
hoku586/darkstar | scripts/globals/items/konigskuchen.lua | 12 | 1443 | -----------------------------------------
-- ID: 5614
-- Item: konigskuchen
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 8
-- Magic % 3
-- Magic Cap 13
-- Intelligence 2
-- hMP +1
-----------------------------------------
require("scripts/globals/status");
--------------------... | gpl-3.0 |
Vadavim/test | scripts/globals/items/stick_of_pepperoni.lua | 35 | 1595 | -----------------------------------------
-- ID: 5660
-- Item: stick_of_pepperoni
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP % 3 (assuming 3% from testing, no known cap)
-- Strength 3
-- Intelligence -1
-- Attack % 60 (assuming 60%, cap 30)
--------------------------------... | gpl-3.0 |
Vadavim/test | scripts/zones/Aht_Urhgan_Whitegate/npcs/Saliyahf.lua | 34 | 1033 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Saliyahf
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
---------... | gpl-3.0 |
linushsao/sky_islands_game-linus | mods/mobf_core/mobf/attention.lua | 2 | 13447 | -------------------------------------------------------------------------------
-- Mob Framework Mod by Sapier
--
-- You may copy, use, modify or do nearly anything except removing this
-- copyright notice.
-- And of course you are NOT allow to pretend you have written it.
--
--! @file attention.lua
--! @brief componen... | gpl-3.0 |
chanko08/Ludum-Dare-32 | assets/lvls/level12.lua | 2 | 3305 | return {
version = "1.1",
luaversion = "5.1",
orientation = "orthogonal",
width = 20,
height = 15,
tilewidth = 32,
tileheight = 32,
properties = {},
tilesets = {
{
name = "levelobjects",
firstgid = 1,
tilewidth = 32,
tileheight = 32,
spacing = 0,
margin = 0,
... | mit |
Elkazan/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/RongeloutsNDistaud.lua | 17 | 1622 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Rongelouts N Distaud
-- @zone 80
-- @pos 0.067 2 -22
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/glob... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Windurst_Waters/npcs/Rukuku.lua | 36 | 1417 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Rukuku
-- Involved in Quest: Making the Grade
-- Working 100%
-- @zone = 238
-- @pos = 130 -6 160
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
r... | gpl-3.0 |
Vadavim/test | scripts/zones/Spire_of_Mea/npcs/_0l3.lua | 36 | 1313 | -----------------------------------
-- Area: Spire_of_Mea
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Mea/TextIDs");
---------------... | gpl-3.0 |
Vadavim/test | scripts/zones/La_Theine_Plateau/npcs/Galaihaurat.lua | 17 | 2418 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Galaihaurat
-- Involved in Mission: The Rescue Drill
-- @pos -482 -7 222 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
Vadavim/test | scripts/globals/weaponskills/realmrazer.lua | 30 | 1450 | -----------------------------------
-- Realmrazer
-- Club weapon skill
-- Skill Level: 357
-- Delivers a seven-hit attack. params.accuracy varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget & Soil Gorget.
-- Aligned with the Shadow Belt & Soil Belt.
-- Element: None
-- Modifiers... | gpl-3.0 |
korialuo/skynet | lualib/skynet/snax.lua | 24 | 3697 | local skynet = require "skynet"
local snax_interface = require "snax.interface"
local snax = {}
local typeclass = {}
local interface_g = skynet.getenv("snax_interface_g")
local G = interface_g and require (interface_g) or { require = function() end }
interface_g = nil
skynet.register_protocol {
name = "snax",
id =... | mit |
ivan-83/mpv | TOOLS/lua/osd-test.lua | 16 | 1050 | local assdraw = require 'mp.assdraw'
local utils = require 'mp.utils'
things = {}
for i = 1, 2 do
things[i] = {
osd1 = mp.create_osd_overlay("ass-events"),
osd2 = mp.create_osd_overlay("ass-events")
}
end
things[1].text = "{\\an5}hello\\Nworld"
things[2].text = "{\\pos(400, 200)}something somet... | gpl-2.0 |
hclhkbu/dlbench | synthetic/experiments/torch/fc/ffn_gtx1080.lua | 4 | 2065 | require 'sys';
require 'bit';
require 'cunn';
require 'cudnn';
require 'optim';
torch.setdefaulttensortype('torch.FloatTensor')
local steps = 1000 -- number of runs
local Linear = nn.Linear
local Transfer = nn.Sigmoid
local isize = 512
local hsize = 2048
local osize = 1000
-- Network definition
local mlp = nn.Sequen... | mit |
Elkazan/darkstar | scripts/globals/mobskills/PW_Groundburst.lua | 25 | 1068 | ---------------------------------------------
-- Groundburst
--
-- Description: Expels a fireball on targets in an area of effect.
-- Type: Physical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: Unknown radial
-- Notes: Only used by notorious monsters, and from any Mamool Ja in besieged.
-------------------... | gpl-3.0 |
iiey/dotfiles | conky/rings_clock.lua | 1 | 18332 | --[[
Clock Rings + Binary Clock + File Readers + sensors + misc
Original Clock Rings by londonali1010 (2009) - edited by h0zza (2012)
[http://blog.hozzamedia.com/software/conky-resource-dialrings/]
Sunrise/Sunset script by 2012 Alexander Yakushev
https://github.com/alexander-yakushev/lustrous/blob/master/sunriseset.l... | mit |
fanchanghu/sysrepo | swig/lua52/examples/lua52_application_example.lua | 3 | 3985 | -- This sample application demonstrates use of Lua programming language bindings for sysrepo library.
-- Original c application was rewritten in Lua to show similarities and differences
-- between the two.
--
-- Most notable difference is in the very different nature of languages, c is weakly statically typed language ... | apache-2.0 |
Moodstocks/fbcunn | fbcunn/OneBitQuantization.lua | 9 | 1269 | -- Copyright 2004-present Facebook. All Rights Reserved.
require 'cutorch'
require 'nn'
--[[
CUDA implementation of the quantize/unquantize methods used by `nn.OneBitDataParallel`.
]]
local OneBitQuantization = torch.class('nn.OneBitQuantization')
function OneBitQuantization:__init()
self.quantized = torch.CudaTe... | bsd-3-clause |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.