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
caldweln/nn
Linear.lua
3
3278
local Linear, parent = torch.class('nn.Linear', 'nn.Module') function Linear:__init(inputSize, outputSize, bias) parent.__init(self) local bias = ((bias == nil) and true) or bias self.weight = torch.Tensor(outputSize, inputSize) self.gradWeight = torch.Tensor(outputSize, inputSize) if bias then se...
bsd-3-clause
npmaier/JuJuCast
mods/shamanmobs/animals/white_rhino.lua
1
1958
shamanmobs:register_mob("shamanmobs:white_rhino", { juju = White, type = "monster", hp_max = 22, collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4}, visual = "mesh", mesh = "shamanmobs_white_rhino.b3d", textures = {"shamanmobs_white_rhino.png"}, visual_size = {x = 8, y = 8}, makes_footstep_sound = true, view_r...
gpl-2.0
superopen/openwrt-luci
modules/admin-full/luasrc/model/cbi/admin_network/ipv6.lua
17
4011
--[[ LuCI - Lua Configuration Interface Copyright 2013 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 ]]-- local m,...
apache-2.0
ashdnazg/Zero-K
LuaRules/Gadgets/unit_target_on_the_move.lua
4
14462
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function gadget:GetInfo() return { name = "Target on the move", desc = "Adds a command to set unit target without using the normal command queue", ...
gpl-2.0
lumidify/Lord-of-the-Test
mods/lottblocks/guide_text/palantir_guide.lua
3
3339
return "return {[\"page\"] = 1, [\"title\"] = \"On Palantiri\", " .. "[\"page_max\"] = 7, [\"text_len\"] = 2640, [\"owner\"] = \"A Wise Sage\", " .. "[\"text\"] = \"The Palantir is a wonderful device, allowing those\\\nwho use " .. "it, so long as its owner has given\\\npermission for them to use it, to " .. "trave...
lgpl-2.1
mitterdoo/wire
lua/wire/client/hlzasm/hc_expression.lua
5
35632
-------------------------------------------------------------------------------- -- HCOMP / HL-ZASM compiler -- -- Dynamic and constant expression generator -------------------------------------------------------------------------------- ------------------------------------------------------------------------------...
apache-2.0
atlimit8/OpenRA
mods/ra/scripts/campaign.lua
7
2229
--[[ Copyright 2007-2022 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
Ali-2h/linux_w
plugins/banhammer.lua
106
11894
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
Igalia/pflua-test
pflua_ir.lua
1
2107
#!/usr/bin/env luajit -- -*- lua -*- -- This module generates (a subset of) pflua's IR, -- for property-based tests of pflua internals. module(..., package.seeall) local utils = require("utils") local True, False, Fail, ComparisonOp, BinaryOp, UnaryOp, Number, Len local Unary, Binary, Arithmetic, Comparison, Conditio...
apache-2.0
halilkaya/minetest-mods
technic/technic_chests/iron_chest.lua
4
1091
local cast_iron_ingot if minetest.get_modpath("technic_worldgen") then cast_iron_ingot = "technic:cast_iron_ingot" else cast_iron_ingot = "default:steel_ingot" end minetest.register_craft({ output = 'technic:iron_chest 1', recipe = { {cast_iron_ingot,cast_iron_ingot,cast_iron_ingot}, {cast_iron_ingot,'default:...
gpl-3.0
mamaddeveloper/mu-bot
plugins/wiki.lua
735
4364
-- http://git.io/vUA4M local socket = require "socket" local JSON = require "cjson" local wikiusage = { "!wiki [text]: Read extract from default Wikipedia (EN)", "!wiki(lang) [text]: Read extract from 'lang' Wikipedia. Example: !wikies hola", "!wiki search [text]: Search articles on default Wikipedia (EN)", "!...
gpl-2.0
mabako/mta-paradise
resources/vehicles/bike_c.lua
1
1375
--[[ Copyright (c) 2010 MTA: Paradise This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope ...
gpl-3.0
Phoib/truewar
mods/cnc/maps/nod02a/nod02a.lua
15
7806
NodUnits = { "bggy", "e1", "e1", "e1", "e1", "e1", "bggy", "e1", "e1", "e1", "bggy" } NodBaseBuildings = { "hand", "fact", "nuke" } DfndActorTriggerActivator = { Refinery, Barracks, Powerplant, Yard } Atk3ActorTriggerActivator = { Guard1, Guard2, Guard3, Guard4, Guard5, Guard6, Guard7 } Atk1CellTriggerActivator = { C...
gpl-3.0
minaka1412/Cocos3DEditor
cocos2d/cocos/scripting/lua-bindings/auto/api/TurnOffTiles.lua
11
2477
-------------------------------- -- @module TurnOffTiles -- @extend TiledGrid3DAction -- @parent_module cc -------------------------------- -- brief Show the tile at specified position.<br> -- param pos The position index of the tile should be shown. -- @function [parent=#TurnOffTiles] turnOnTile -- @param self -- @...
mit
vhpham80/luci
applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_mini.lua
141
1054
--[[ netdiscover_devinfo - SIP Device Information (c) 2009 Daniel Dickinson 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$ ]]-- require("luci.i1...
apache-2.0
lynnard/cocos2d-hs
cbits/cocos/scripting/lua-bindings/script/framework/extends/MenuEx.lua
57
1228
--[[ Copyright (c) 2011-2014 chukong-inc.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dis...
bsd-3-clause
mitterdoo/wire
lua/wire/gates/logic.lua
18
2870
--[[ Logic Gates ]] GateActions("Logic") GateActions["not"] = { name = "Not (Invert)", inputs = { "A" }, output = function(gate, A) if (A > 0) then return 0 end return 1 end, label = function(Out, A) return "not "..A.." = "..Out end } GateActions["and"] = { name = "And (All)", inputs = { "A", "B", "C...
apache-2.0
alech/libquvi-scripts
share/lua/website/redtube.lua
4
2325
-- libquvi-scripts -- Copyright (C) 2012 quvi project -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This library is free software; you can redistribute it and/or -- modify it under the terms of the GNU Lesser General Public -- License as published by the Free Software Foundation; ei...
agpl-3.0
chroteus/Polandball-Arena
class/Player.lua
1
1472
Player = Fighter:subclass("Player") function Player:initialize(arg) Fighter.initialize(self, arg) end function Player:attack() local dist = function(a,b) return math.dist(a.x,a.y, b.x,b.y) end self.enemy_to_attack = self.enemies[1] table.sort(self.enemies, function(a,b) return dist(self, self.ene...
gpl-3.0
BlackVoid/blackvoidvote
lua/autorun/cl_vote.lua
1
3416
if SERVER then return end surface.CreateFont( "Trebuchet22", { font = "Trebuchet18", size = 22, weight = 0, blursize = 0, scanlines = 0, antialias = true, underline = false, italic = false, strikeout = false, symbol = false, rotary = false, shadow = false, additive = false, outline =...
mit
NBSW/Atlas
lib/load-multi.lua
39
13282
--[[ $%BEGINLICENSE%$ Copyright (c) 2007, 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 dis...
gpl-2.0
halilkaya/minetest-mods
mesecons/mesecons/legacy.lua
13
1399
-- Ugly hack to prevent breaking compatibility with other mods -- Just remove the following two functions to delete the hack, to be done when other mods have updated function mesecon.receptor_on(self, pos, rules) if (self.receptor_on) then print("[Mesecons] Warning: A mod with mesecon support called mesecon:receptor...
gpl-3.0
tahabaghshomalazar/CrystaL_bot
plugins/weather.lua
274
1531
do local BASE_URL = "http://api.openweathermap.org/data/2.5/weather" local function get_weather(location) print("Finding weather in ", location) location = string.gsub(location," ","+") local url = BASE_URL url = url..'?q='..location url = url..'&units=metric' url = url..'&appid=bd82977b86bf27fb59a04b61b6...
gpl-2.0
GiuseppeGorgoglione/mame
3rdparty/genie/src/actions/clean/_clean.lua
7
3278
-- -- _clean.lua -- The "clean" action: removes all generated files. -- Copyright (c) 2002-2009 Jason Perkins and the Premake project -- premake.clean = { } -- -- Clean a solution or project specific directory. Uses information in the -- project object to build the target path. -- -- @param obj -- A solution or ...
gpl-2.0
superopen/openwrt-luci
applications/luci-pbx/luasrc/model/cbi/pbx-users.lua
146
5623
--[[ Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com> This file is part of luci-pbx. luci-pbx is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or ...
apache-2.0
sjznxd/luci-0.11.1
libs/sgi-luci/luasrc/ttpd/handler/luci.lua
53
1923
--[[ HTTP server implementation for LuCI - luci handler (c) 2008 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....
apache-2.0
ereizertmbot/fuck
plugins/SUDO.lua
36
1917
function run_sh(msg) name = get_name(msg) text = '' -- if config.sh_enabled == false then -- text = '!sh command is disabled' -- else -- if is_sudo(msg) then -- bash = msg.text:sub(4,-1) -- text = run_bash(bash) -- else -- text = name .. ' yo...
gpl-2.0
huailiang/GameEngineen
Assets/uLua/Lua_Backup/Logic/GameManager.lua
2
4924
require "3rd/pblua/login_pb" require "3rd/pbc/protobuf" local lpeg = require "lpeg" local json = require "cjson" local util = require "3rd/cjson.util" local sproto = require "3rd/sproto/sproto" local core = require "sproto.core" local print_r = require "3rd/sproto/print_r" require "Logic/LuaClass" require "Common/f...
mit
cedricporter/everlost
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Slider.lua
2
3700
-------------------------------- -- @module Slider -- @extend Widget -------------------------------- -- @function [parent=#Slider] setPercent -- @param self -- @param #int int -------------------------------- -- @function [parent=#Slider] loadSlidBallTextureDisabled -- @param self -- @param #string str --...
apache-2.0
lumidify/Lord-of-the-Test
mods/lottores/ithildin.lua
2
5682
minetest.register_node("lottores:ithildin_0", { description = "Ithildin", tiles = {"ithildin_0.png"}, drawtype = "glasslike", paramtype = "light", walkable = false, pointable = false, sunlight_propagates = true, drop = "lottores:ithildin_1", groups = {snappy=2,cracky=3, not_in_creative_inventory=1}, sounds = ...
lgpl-2.1
ashdnazg/Zero-K
LuaUI/Widgets/gui_icon_sets.lua
12
3482
function widget:GetInfo() return { name = "Icon Sets", desc = "Manages alternate icon/buildpic sets.", author = "Sprung", license = "PD", layer = 1, enabled = true, } end options_path = 'Settings/Graphics/Unit Visibility/Radar Icons' options_order = { 'coniconchassis', 'ships' } options = { ...
gpl-2.0
halilkaya/minetest-mods
plantlife/dryplants/reedmace.lua
2
14690
----------------------------------------------------------------------------------------------- -- Grasses - Reedmace 0.1.1 ----------------------------------------------------------------------------------------------- -- by Mossmanikin -- textures & ideas partly by Neuromancer -- License (everything): WTFPL -- Cont...
gpl-3.0
IRANBOT/IRANBOT
bot/utils.lua
356
14963
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
superopen/openwrt-luci
modules/niu/luasrc/controller/niu/system.lua
33
6889
--[[ 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
vhpham80/luci
modules/admin-full/luasrc/model/cbi/admin_system/system.lua
39
5650
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 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 http://w...
apache-2.0
Chessnut/NutScript
plugins/vendor/derma/cl_vendorfaction.lua
6
1427
local PANEL = {} function PANEL:Init() self:SetSize(256, 280) self:Center() self:MakePopup() self:SetTitle(L"vendorFaction") self.scroll = self:Add("DScrollPanel") self.scroll:Dock(FILL) self.scroll:DockPadding(0, 0, 0, 4) self.factions = {} self.classes = {} for k, v in ipairs(nut.faction.indice...
mit
halilkaya/minetest-mods
throwing/dig_arrow.lua
4
2493
minetest.register_craftitem("throwing:arrow_dig", { description = "Dig Arrow", inventory_image = "throwing_arrow_dig.png", }) minetest.register_node("throwing:arrow_dig_box", { drawtype = "nodebox", node_box = { type = "fixed", fixed = { -- Shaft {-6.5/17, -1.5/17, -1.5/17, 6.5/17, 1.5/17, 1.5/17}, --...
gpl-3.0
lumidify/Lord-of-the-Test
mods/lottclothes/ettenmoor.lua
2
1807
-- outfit from the ettenmoor region. wizard style (as possible). -- made from grey and brown felt & gold ingot. -- it's difficult to make because dye:brown, dye:grey and lottores:gold. -- hasn't got boots. local level=4 -- hood (head) minetest.register_tool("lottclothes:hood_ettenmoor", { description = "Ettenmoor Ho...
lgpl-2.1
lynnard/cocos2d-hs
cbits/cocos/scripting/lua-bindings/auto/api/EaseElasticInOut.lua
9
1268
-------------------------------- -- @module EaseElasticInOut -- @extend EaseElastic -- @parent_module cc -------------------------------- -- @overload self, cc.ActionInterval -- @overload self, cc.ActionInterval, float -- @function [parent=#EaseElasticInOut] create -- @param self -- @param #cc.Actio...
bsd-3-clause
kinotrip/HelloRuby
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/PhysicsJointSpring.lua
10
2061
-------------------------------- -- @module PhysicsJointSpring -- @extend PhysicsJoint -- @parent_module cc -------------------------------- -- -- @function [parent=#PhysicsJointSpring] setAnchr2 -- @param self -- @param #vec2_table anchr2 -------------------------------- -- -- @function [parent=#PhysicsJ...
gpl-2.0
Chessnut/NutScript
gamemode/core/derma/cl_noticebar.lua
2
1869
hook.Add("LoadFonts", "nutNoticeFont", function(font, genericFont) surface.CreateFont("nutNoticeFont", { font = genericFont, size = 16, weight = 500, extended = true, antialias = true }) end) local PANEL = {} PANEL.pnlTypes = { [1] = { -- NOT ALLOWED col = Color(200, 60, 60), icon = "icon16/exclamati...
mit
aqasaeed/antispam
plugins/stats.lua
5
3981
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
mitterdoo/wire
lua/entities/gmod_wire_speedometer.lua
9
3119
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Speedometer" ENT.WireDebugName = "Speedo" function ENT:GetXYZMode() return self:GetNetworkedBool( 0 ) end function ENT:GetAngVel() return self:GetNetworkedBool( 1 ) end function ENT:SetModes( XYZMode, AngVel ) self:SetNetworkedBool(...
apache-2.0
rwygand/ngx_borderpatrol
src/logout.lua
1
1215
------------------------------------------- -- delete auth token by session id ------------------------------------------- local args = ngx.req.get_uri_args() local destination = args['destination'] -- default to reasonable paths. -- allow only relative paths if not destination or string.sub(destination,1,1) ~= '/' t...
mit
ConstellationGuild/EsoCraftOrdering
CraftOrdering/libs/LibAddonMenu-2.0/controls/dropdown.lua
2
4901
--[[dropdownData = { type = "dropdown", name = "My Dropdown", -- or string id or function returning a string choices = {"table", "of", "choices"}, getFunc = function() return db.var end, setFunc = function(var) db.var = var doStuff() end, tooltip = "Dropdown's tooltip text.", -- or string id or ...
mit
AlexeySa/rspamd
contrib/torch/nn/CMul.lua
3
4873
local CMul, parent = torch.class('nn.CMul', 'nn.Module') function CMul:__init(...) parent.__init(self) local arg = {...} self.size = torch.LongStorage() local n = #arg if n == 1 and torch.type(arg[1]) == 'torch.LongStorage' then self.size:resize(#arg[1]):copy(arg[1]) else self.size:resi...
bsd-2-clause
TeleDALAD/n
plugins/lyrics.lua
695
2113
do local BASE_LNM_URL = 'http://api.lyricsnmusic.com/songs' local LNM_APIKEY = '1f5ea5cf652d9b2ba5a5118a11dba5' local BASE_LYRICS_URL = 'http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect' local function getInfo(query) print('Getting info of ' .. query) local url = BASE_LNM_URL..'?api_key='..LNM_APIKEY ...
gpl-2.0
cedricporter/everlost
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Component.lua
6
1322
-------------------------------- -- @module Component -- @extend Ref -------------------------------- -- @function [parent=#Component] setEnabled -- @param self -- @param #bool bool -------------------------------- -- @function [parent=#Component] setName -- @param self -- @param #string str -----...
apache-2.0
cedricporter/everlost
frameworks/cocos2d-x/external/lua/luajit/src/src/jit/bcsave.lua
78
18123
---------------------------------------------------------------------------- -- LuaJIT module to save/list bytecode. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
apache-2.0
vhpham80/luci
libs/nixio/axTLS/samples/lua/axssl.lua
176
19286
#!/usr/local/bin/lua -- -- Copyright (c) 2007, Cameron Rich -- -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributions of source code must retain the above copyright notice, -...
apache-2.0
sjznxd/luci-0.11.1
libs/nixio/axTLS/samples/lua/axssl.lua
176
19286
#!/usr/local/bin/lua -- -- Copyright (c) 2007, Cameron Rich -- -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributions of source code must retain the above copyright notice, -...
apache-2.0
napcode/ardour
share/scripts/vamp_audio_to_midi.lua
2
3746
ardour { ["type"] = "EditorAction", name = "Polyphonic Audio to MIDI", license = "MIT", author = "Ardour Team", description = [[ Analyze audio from the selected audio region to a selected MIDI region. A MIDI region on the target track will have to be created first (use the pen tool). This script uses the...
gpl-2.0
halilkaya/minetest-mods
ethereal/sealife.lua
1
4940
-- Seaweed minetest.register_node("ethereal:seaweed", { description = "Seaweed", drawtype = "plantlike", tiles = {"seaweed.png"}, inventory_image = "seaweed.png", wield_image = "seaweed.png", paramtype = "light", walkable = false, climbable = true, drowning = 1, is_ground_content = true, selection_box = {ty...
gpl-3.0
alartum/cells
textures/mm_data.lua
1
19752
textures = './textures/' -- Number of ticks for the whole -- animation sequence for one state animation_time = 16 -- Default tile size tile_size = {x = 32, y = 32} -- Init the sprite sheet model = {} model.sprite_sheet = textures .. 'water.png' -- Create new animation state default = {name = 'default'} -- Load frame...
gpl-3.0
Elkazan/darkstar
scripts/globals/items/plate_of_beef_paella_+1.lua
36
1429
----------------------------------------- -- ID: 5973 -- Item: Plate of Beef Paella +1 -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- HP 45 -- Strength 6 -- Attack % 19 Cap 95 -- Undead Killer 6 ----------------------------------------- require("scripts/globals/status"); ---------------...
gpl-3.0
dualface/creator-lua
creator-project/packages/creator-lua-support/lua/src/creator/components/EditBoxComponent.lua
1
2277
local ComponentBase = cc.import(".ComponentBase") local EditBoxComponent = cc.class("cc.EditBox", ComponentBase) local ccrect = cc.rect local EditBox = ccui.EditBox or cc.EditBox local Scale9Sprite = ccui.Scale9Sprite or cc.Scale9Sprite function EditBoxComponent:ctor(asset, assets) EditBoxComponent.super.ctor(se...
mit
hoku586/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Gevarg.lua
14
1065
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Gevarg -- Type: Past Event Watcher -- @zone 94 -- @pos -46.448 -6.312 212.384 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;...
gpl-3.0
CommandPost/CommandPost
src/tests/cp/websocket/buffer_spec.lua
2
2141
local spec = require "cp.spec" local expect = require "cp.spec.expect" local describe, it = spec.describe, spec.it local buffer = require "cp.buffer" -- local log = require "hs.logger" .new "ws_buff_spec" return describe "cp.buffer" { it "creates an empty buf...
mit
Vadavim/test
scripts/zones/La_Theine_Plateau/TextIDs.lua
5
2213
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6382; -- Obtained: <item>. GIL_OBTAINED = 6383; -- Obtained <number> gil. KEYITEM_OBTAINED = 6385; -- Obtained...
gpl-3.0
hoku586/darkstar
scripts/zones/Port_Windurst/npcs/Thubu_Parohren.lua
9
2123
----------------------------------- -- Area: Port Windurst -- NPC: Thubu Parohren -- Type: Fishing Guild Master -- @pos -182.230 -3.835 61.373 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Windurst/Te...
gpl-3.0
hoku586/darkstar
scripts/commands/addeffect.lua
20
2389
--------------------------------------------------------------------------------------------------- -- func: addeffect -- desc: Adds the given effect to the given player. --------------------------------------------------------------------------------------------------- require("scripts/globals/status"); require("scri...
gpl-3.0
Elkazan/darkstar
scripts/globals/mobskills/Fiery_Breath.lua
13
1293
--------------------------------------------- -- Fiery Breath -- -- Description: Deals Fire damage to enemies within a fan-shaped area. -- Type: Breath -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone -- Notes: Used only by Tiamat, Smok and Ildebrann ---------------------------------------...
gpl-3.0
hoku586/darkstar
scripts/globals/mobskills/Vorpal_Wheel.lua
37
1063
--------------------------------------------- -- Vorpal Wheel -- -- Description: Throws a slicing wheel at a single target. -- Type: Physical -- Utsusemi/Blink absorb: No -- Range: Unknown -- Notes: Only used by Gulool Ja Ja, and will use it as a counterattack to any spells cast on him. Damage increases as his he...
gpl-3.0
Vadavim/test
scripts/globals/items/silken_sash.lua
36
1212
----------------------------------------- -- ID: 5632 -- Item: Silken Sash -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP Recovered while healing +3 -- MP Recovered while healing +5 ----------------------------------------- require("scripts/globals/status"); ---...
gpl-3.0
Vadavim/test
scripts/zones/Meriphataud_Mountains/npcs/Cavernous_Maw.lua
29
1526
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Cavernous Maw -- @pos 597 -32 279 119 -- Teleports Players to Meriphataud Mountains [S] ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; ----------------------------------- requi...
gpl-3.0
Vadavim/test
scripts/zones/Mhaura/npcs/Willah_Maratahya.lua
15
3606
----------------------------------- -- 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
Elkazan/darkstar
scripts/globals/spells/logical_etude.lua
18
1616
----------------------------------------- -- Spell: Logical Etude -- Static MND Boost, BRD 64 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- f...
gpl-3.0
willardgibbs/Technosfera-perl
book/tex/setup/fontspec.lua
11
3076
-- -- This is file `fontspec.lua', -- generated with the docstrip utility. -- -- The original source files were: -- -- fontspec-lua.dtx (with options: `lua') -- ------------------------------------------------ -- The FONTSPEC package for XeLaTeX/LuaLaTeX -- (C) 2004--2016 Will Robertson and Khaled Hosny --...
gpl-2.0
Nikolo/Technosfera-perl
book/tex/setup/fontspec.lua
11
3076
-- -- This is file `fontspec.lua', -- generated with the docstrip utility. -- -- The original source files were: -- -- fontspec-lua.dtx (with options: `lua') -- ------------------------------------------------ -- The FONTSPEC package for XeLaTeX/LuaLaTeX -- (C) 2004--2016 Will Robertson and Khaled Hosny --...
gpl-2.0
Elkazan/darkstar
scripts/zones/Crawlers_Nest/npcs/qm12.lua
57
2120
----------------------------------- -- Area: Crawlers' Nest -- NPC: qm12 (??? - Exoray Mold Crumbs) -- Involved in Quest: In Defiant Challenge -- @pos 99.326 -0.126 -188.869 197 ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil; ----------------------------------- require...
gpl-3.0
Elkazan/darkstar
scripts/globals/spells/kurayami_san.lua
18
1142
----------------------------------------- -- Spell: Kurayami: San ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,targe...
gpl-3.0
3scale/docker-gateway
spec/resty/openssl/x509_spec.lua
1
3375
local _M = require('resty.openssl.x509') local pem = [[ -----BEGIN CERTIFICATE----- MIICvDCCAaQCCQCep4rpEMmCcDANBgkqhkiG9w0BAQsFADAgMR4wHAYDVQQDDBVD ZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMTgxMjA2MTcwNTQ3WhcNMjgxMjAzMTcw NTQ3WjAgMR4wHAYDVQQDDBVDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwggEiMA0GCSqG SIb3DQEBAQUAA4IBDwAwggEKAoIBAQCqIfkTccBd...
mit
Vadavim/test
scripts/zones/Mhaura/npcs/Mololo.lua
17
1170
----------------------------------- -- Area: Mhaura -- NPC: Mololo -- Guild Merchant NPC: Blacksmithing Guild -- @pos -64.278 -16.624 34.120 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); ...
gpl-3.0
hoku586/darkstar
scripts/zones/Kuftal_Tunnel/npcs/qm5.lua
17
1466
----------------------------------- -- Area: Kuftal Tunnel -- NPC: ??? -- Involved in Mission: Bastok 8-2 ----------------------------------- package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); requi...
gpl-3.0
likunpeng/cocos
QuickGame/src/framework/cc/ui/UIStretch.lua
19
3491
--[[ Copyright (c) 2011-2014 chukong-inc.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, di...
apache-2.0
Banasura/ntui
conf.lua
2
2647
--[[ NEVER TRUST USER'S INPUT non-released v0.1 alpha -------------------------------------------------------------------- This file is part of N.T.U.I. N.T.U.I. 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 Soft...
gpl-3.0
padrinoo1/vagir1
plugins/banhammer.lua
34
11497
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
gOOvER/InspectEquip
Locales/Locale-frFR.lua
1
4380
local L = LibStub("AceLocale-3.0"):NewLocale("InspectEquip", "frFR") if not L then return end -- Translation by polluxtroy3758 + LaMaG + lastdans + TorTue + Pettigrow L["Accessories"] = "Accessoires" L["Add drop information to tooltips"] = "Ajouter les information de loot au tooltip" L["Add item drop information to al...
gpl-3.0
suzuren/some-mmorpg
3rd/skynet/examples/login/gated.lua
57
2201
local msgserver = require "snax.msgserver" local crypt = require "crypt" local skynet = require "skynet" local loginservice = tonumber(...) local server = {} local users = {} local username_map = {} local internal_id = 0 -- login server disallow multi login, so login_handler never be reentry -- call by login server ...
mit
Vadavim/test
scripts/zones/Aht_Urhgan_Whitegate/npcs/Dkhaaya.lua
17
2378
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Dkhaaya -- Type: Standard NPC -- @pos -73.212 -1 -5.842 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitem...
gpl-3.0
Banasura/ntui
cutscene.lua
2
5631
--[[ NEVER TRUST USER'S INPUT non-released v0.1 alpha -------------------------------------------------------------------- This file is part of N.T.U.I. N.T.U.I. 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 Soft...
gpl-3.0
likunpeng/cocos
luatest/src/PhysicsTest/PhysicsTest.lua
7
57280
local size = cc.Director:getInstance():getWinSize() local MATERIAL_DEFAULT = cc.PhysicsMaterial(0.1, 0.5, 0.5) local curLayer = nil local STATIC_COLOR = cc.c4f(1.0, 0.0, 0.0, 1.0) local DRAG_BODYS_TAG = 0x80 local function range(from, to, step) step = step or 1 return function(_, lastvalue) local nextvalue = l...
apache-2.0
Elkazan/darkstar
scripts/globals/items/bowl_of_yayla_corbasi.lua
35
1482
----------------------------------------- -- 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 ----------------------------------------- req...
gpl-3.0
hoku586/darkstar
scripts/zones/Bastok_Markets_[S]/npcs/Weldon.lua
14
1087
---------------------------------- -- Area: Bastok Markets [S] -- NPC: Weldon -- Type: Item Deliverer -- @pos -191.575 -8 36.688 87 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bastok_Markets_[...
gpl-3.0
hoku586/darkstar
scripts/zones/Windurst_Walls/npcs/Zokima-Rokima.lua
14
2914
----------------------------------- -- Area: Windurst Walls -- NPC: Zokima-Rokima -- Starts Windurst Missions -- @pos 0 -16 124 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; package.loaded["scripts/globals/missions"] = nil; ----------------------------------- re...
gpl-3.0
Vadavim/test
scripts/globals/weaponskills/steel_cyclone.lua
30
1578
----------------------------------- -- Steel Cyclone -- Great Axe weapon skill -- Skill level: 240 -- Delivers a single-hit attack. Damage varies with TP. -- In order to obtain Steel Cyclone, the quest The Weight of Your Limits must be completed. -- Will stack with Sneak Attack. -- Aligned with the Breeze Gorget...
gpl-3.0
iedemam/AskoziaPBX
misc/lua/sde/getopt.lua
4
3937
-- --- T2-COPYRIGHT-NOTE-BEGIN --- -- This copyright note is auto-generated by ./scripts/Create-CopyPatch. -- -- T2 SDE: misc/lua/sde/getopt.lua -- Copyright (C) 2005 - 2006 The T2 SDE Project -- Copyright (C) 2005 - 2006 Juergen "George" Sawinski -- -- More information can be found in the files COPYING and README. -...
gpl-2.0
quanhua92/torch-android
src/3rdparty/luasocket-2.0.2/ftp.lua
144
9120
----------------------------------------------------------------------------- -- FTP support for the Lua language -- LuaSocket toolkit. -- Author: Diego Nehab -- RCS ID: $Id: ftp.lua,v 1.45 2007/07/11 19:25:47 diego Exp $ ----------------------------------------------------------------------------- -------------------...
bsd-3-clause
hoku586/darkstar
scripts/zones/Kazham/npcs/Bhi_Telifahgo.lua
17
1071
----------------------------------- -- Area: Kazham -- NPC: Bhi Telifahgo -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- f...
gpl-3.0
LuaExtend/LuaExtend
tools/ZeroBraneStudio/lualibs/lexers/elixir.lua
5
5413
-- Copyright 2015-2016 Mitchell mitchell.att.foicica.com. See LICENSE. -- Contributed by Richard Philips. -- Elixer LPeg lexer. local l = require('lexer') local token, style, color, word_match = l.token, l.style, l.color, l.word_match local B, P, R, S = lpeg.B, lpeg.P, lpeg.R, lpeg.S local M = {_NAME = 'elixir'} -- ...
apache-2.0
Elkazan/darkstar
scripts/zones/Spire_of_Mea/bcnms/ancient_flames_backon.lua
17
3854
----------------------------------- -- Area: Spire_of_Mea -- Name: ancient_flames_backon -- KSNM30 ----------------------------------- package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scripts/g...
gpl-3.0
Elkazan/darkstar
scripts/globals/spells/phalanx_ii.lua
25
1173
----------------------------------------- -- Spell: PHALANX -- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point -- Phalanx II value per point is '3' This is a constant set in the table 'merits' ----------------------------------------- require("scripts/globa...
gpl-3.0
hoku586/darkstar
scripts/zones/Batallia_Downs/mobs/Stalking_Sapling.lua
14
1076
----------------------------------- -- Area: Batallia Downs -- MOB: Stalking Sapling ----------------------------------- require("scripts/globals/fieldsofvalor"); require("scripts/zones/Batallia_Downs/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------- function onMobDeath...
gpl-3.0
Vadavim/test
scripts/zones/Tavnazian_Safehold/npcs/Nilerouche.lua
37
1301
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Nilerouche -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ------------...
gpl-3.0
Elkazan/darkstar
scripts/zones/Open_sea_route_to_Mhaura/Zone.lua
34
1477
----------------------------------- -- -- Zone: Open_sea_route_to_Mhaura (47) -- ----------------------------------- package.loaded["scripts/zones/Open_sea_route_to_Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Open_sea_route_to_Mhaura/TextIDs"); ----------------------...
gpl-3.0
Vadavim/test
scripts/globals/abilities/spectral_jig.lua
10
1400
----------------------------------- -- Ability: Spectral jig -- Allows you to evade enemies by making you undetectable by sight and sound. -- Obtained: Dancer Level 25 -- TP Required: 0 -- Recast Time: 30 seconds -- Duration: 3 minutes ----------------------------------- require("scripts/globals/settings"); ...
gpl-3.0
Elkazan/darkstar
scripts/zones/Upper_Delkfutts_Tower/mobs/Autarch.lua
21
1487
----------------------------------- -- Area: Upper Delkfutt's Tower -- NM: Autarch ----------------------------------- require("scripts/globals/status"); ----------------------------------- ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mo...
gpl-3.0
Elkazan/darkstar
scripts/zones/The_Shrine_of_RuAvitau/mobs/Seiryu.lua
27
1101
----------------------------------- -- Area: Ru'Aun Gardens -- NPC: Seiryu (Pet version) ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; ------------------...
gpl-3.0
lbfamous/arcemu
src/scripts/lua/LuaBridge/Stable Scripts/Azeroth/Karazhan/BOSS_Karazhan_Netherspite.lua
30
1703
function Netherspite_Portal_PhaseA(Unit, event, miscunit, misc) print "Netherspite Portal PhaseA" Unit:SendAreaTriggerMessage("PORTAL PHASE") Unit:FullCastSpell(30400) Unit:FullCastSpell(30401) Unit:FullCastSpell(30402) end function Netherspite_Nether_Burn(Unit, event, miscunit, misc) print "Netherspite Nether B...
agpl-3.0
Elkazan/darkstar
scripts/zones/RaKaznar_Turris/Zone.lua
29
1324
----------------------------------- -- -- Zone: Ra’Kanzar Turris (277) -- ----------------------------------- package.loaded["scripts/zones/RaKaznar_Turris/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/RaKaznar_Turris/TextIDs"); -----------...
gpl-3.0