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 |
|---|---|---|---|---|---|
estansifer/water-maze | config.lua | 1 | 3488 | require "patterns/patterns"
--[[
Configuration (information below)
]]
local watercolor = "blue"
local pattern = Zoom(Maze2(), 32)
-- local pattern = Distort(Distort(Distort(Zoom(Checkerboard(), 16), 64, 1), 32, 0.05), 256, 1)
-- local pattern = Distort(Distort(Distort(Zoom(Checkerboard(), 32), 256, 3.0), 128... | mit |
kitala1/darkstar | scripts/zones/Mhaura/npcs/Mauriri.lua | 34 | 1077 | ----------------------------------
-- Area: Mhaura
-- NPC: Mauriri
-- Type: Item Deliverer
-- @pos 10.883 -15.99 66.186 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Windurst_Woods/npcs/Gottah_Maporushanoh.lua | 37 | 1152 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Gottah Maporushanoh
-- Working 100%
-----------------------------------
require("scripts/globals/settings");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
e... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Signpost.lua | 10 | 1325 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: Signpost
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Tahrongi_Canyon/TextIDs");
-----------------------------------
-- onTrade Action
... | gpl-3.0 |
apletnev/koreader | frontend/document/koptinterface.lua | 3 | 41008 | local TileCacheItem = require("document/tilecacheitem")
local KOPTContext = require("ffi/koptcontext")
local Document = require("document/document")
local DataStorage = require("datastorage")
local CacheItem = require("cacheitem")
local Screen = require("device").screen
local Geom = require("ui/geometry")
local serial ... | agpl-3.0 |
paulosalvatore/maruim_server | data/actions/scripts/tools/pick.lua | 1 | 1447 | local groundIds = {354, 355}
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
if toPosition.x == CONTAINER_POSITION then
return false
end
local tile = Tile(toPosition)
if not tile then
return false
end
local ground = tile:getGround()
if not ground then
return false
end
if isIn... | gpl-2.0 |
kitala1/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Rholont.lua | 14 | 2290 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Rholont
-- @zone 80
-- @pos -168 -2 56
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/quests");
... | gpl-3.0 |
LaurieJohnson/iguana-web-apps | scratch/E76737E42964D985AA06049A663C1D2B/main.lua | 2 | 3312 | --
-- The server and the app object are global.
--
server = require 'server.simplewebserver'
app = require 'channelmanager.backend'
function main(Data)
--server.serveRequest(Data)
importChannel()
net.http.respond{body='oak'}
end
-- Draft code for import channel. Clean up and move to
-- proper method in chan... | mit |
tetoali605/THETETOO_A7A | plugins/badword.lua | 7 | 3635 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY tetoo ▀▄ ▄▀
▀▄ ▄▀ BY nmore (@l_l_lo) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY l_l_ll ▀▄ ▄▀
▀▄ ▄▀ broadcast : منـع الكلـما ▀▄ ▄▀
▀▄▀▀▄▄▀▀▄▄▀▄▄▀... | gpl-2.0 |
kitala1/darkstar | scripts/zones/Jugner_Forest_[S]/npcs/Logging_Point.lua | 29 | 1113 | -----------------------------------
-- Area: Jugner Forest [S]
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Jugner_Forest_[S]/TextIDs... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Bastok_Markets/npcs/Carmelide.lua | 36 | 1551 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Carmelide
-- 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;
requir... | gpl-3.0 |
pedishield/Persian_King | plugins/qrcode.lua | 16 | 3828 | --[[
* qr plugin uses:
* - http://goqr.me/api/doc/create-qr-code/
* psykomantis
]]
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors)... | gpl-2.0 |
ChronoPong/corona | ChronoPong/scenes/playScn.lua | 1 | 18171 | local composer = require( "composer" )
local physics = require("physics")
local scoreLib=require("lib.scoreLib")
local scene = composer.newScene()
physics.start()
-- -----------------------------------------------------------------------------------------------------------------
-- All code outside of the listener fun... | gpl-2.0 |
kitala1/darkstar | scripts/globals/items/forest_carp.lua | 17 | 1334 | -----------------------------------------
-- ID: 4289
-- Item: forest_carp
-- Food Effect: 30Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItem... | gpl-3.0 |
kitala1/darkstar | scripts/globals/items/tortilla_bueno.lua | 35 | 1193 | -----------------------------------------
-- ID: 5181
-- Item: tortilla_bueno
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 8
-- Vitality 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
kitala1/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fb.lua | 34 | 1110 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Leviathan's Gate
-- @pos 249 -34 -60 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextI... | gpl-3.0 |
kitala1/darkstar | scripts/globals/items/slice_of_tavnazian_ram_meat.lua | 17 | 1334 | -----------------------------------------
-- ID: 5208
-- Item: slice_of_tavnazian_ram_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
---------------------------------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Port_Jeuno/npcs/Moulloie.lua | 38 | 1028 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Moulloie
-- Type: Standard NPC
-- @zone: 246
-- @pos -77.724 7.003 59.044
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
---------------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Port_Windurst/npcs/Pygmalion.lua | 38 | 1033 | -----------------------------------
-- Area: Port Windurst
-- NPC: Pygmalion
-- Type: Standard NPC
-- @zone: 240
-- @pos 228.710 -7 93.314
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
----------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Norg/npcs/Edal-Tahdal.lua | 17 | 4274 | -----------------------------------
-- Area: Norg
-- NPC: Edal-Tahdal
-- Starts and Finishes Quest: Trial by Water
-- @pos -13 1 -20 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
sylvanaar/IDLua | resources/stdlibrary/string.lua | 2 | 8199 | -- Copyright 2013 Jon S Akhtar (Sylvanaar)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by appl... | apache-2.0 |
fqrouter/luci | libs/lucid-rpc/luasrc/lucid/rpc/ruci.lua | 52 | 2144 | --[[
LuCIRPCd
(c) 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 uci = require "luci.mode... | apache-2.0 |
kitala1/darkstar | scripts/globals/items/lungfish.lua | 18 | 1255 | -----------------------------------------
-- ID: 4315
-- Item: Lungfish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -2
-- Mind 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Port_San_dOria/npcs/Rugiette.lua | 19 | 2279 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Rugiette
-- Involved in Quests: Riding on the Clouds, Lure of the Wildcat (San d'Oria)
-- @pos 71 -9 -73 232
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
omideblisss/omid | plugins/anti_fosh.lua | 49 | 1591 | local function run(msg, matches)
if is_owner(msg) then
return
end
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)] then
if data[tostring(msg.to.id)]['settings'] then
if data[tostring(msg.to.id)]['settings']['antifosh'] then
lock_fos... | gpl-2.0 |
kitala1/darkstar | scripts/globals/items/magma_steak.lua | 36 | 1537 | -----------------------------------------
-- ID: 6071
-- Item: Magma Steak
-- Food Effect: 180 Min, All Races
-----------------------------------------
-- Strength +8
-- Attack +23% Cap 180
-- Ranged Attack +23% Cap 180
-- Vermin Killer +5
-----------------------------------------
require("scripts/globals/status");
-... | gpl-3.0 |
kiarash14/be | plugins/remind.lua | 279 | 1873 | local filename='data/remind.lua'
local cronned = load_from_file(filename)
local function save_cron(msg, text,date)
local origin = get_receiver(msg)
if not cronned[date] then
cronned[date] = {}
end
local arr = { origin, text } ;
table.insert(cronned[date], arr)
serialize_to_file(cronned, filename)
re... | gpl-2.0 |
kitala1/darkstar | scripts/globals/weaponskills/spirit_taker.lua | 30 | 1443 | -----------------------------------
-- Spirit Taker
-- Staff weapon skill
-- Skill Level: 215
-- Converts damage dealt to own MP. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Not aligned with any "elemental gorgets" or "elemental belts" due to it's absence of Skillchain properties.
-- It is a physi... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Throne_Room/mobs/Shadow_of_Rage.lua | 29 | 1102 | -----------------------------------
-- Area: Throne Room
-- NPC: Shadows
-- Mission 9-2 BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpaw... | gpl-3.0 |
xsolinsx/AISashaAPI | plugins/check_tag.lua | 1 | 25719 | notified = { }
-- recursive to simplify code
local function check_tag(msg, user_id, user)
if msg.entities then
for k, v in pairs(msg.entities) do
-- check if there's a text_mention
if msg.entities[k].type == 'text_mention' and msg.entities[k].user then
if ton... | gpl-2.0 |
Mechaniston/FibaroHC_mechHomeBcfg | TB_ventAuto (253, maxInst = 1).lua | 1 | 1093 | --[[
%% autostart
%% properties
%% globals
--]]
-- CONSTS
local debugMode = false;
-- Device's ID
local ventID = 12;
-- init vars
local ventValue = "0";
local curTime = 0;
-- PROCESS
if ( debugMode ) then fibaro:debug("Vent sequence ON!"); end
while true do
ventValue = fibaro:getValue(ventID, "value");
... | mit |
kidaa/MoonGen | test/example-scripts/test-qos.lua | 6 | 2258 | local mg = require "moongen"
require "number-assert"
describe("quality-of-service-test example", function()
it("should run", function()
local proc = mg.start("./examples/quality-of-service-test.lua", 8, 9, 100, 1000)
finally(function() proc:destroy() end)
proc:waitForPorts(2)
--[[
output should look like... | mit |
Teaonly/easyLearning.js | qulogo/data.lua | 1 | 1511 | require('torch')
require('image')
local randomBatch = function(opt, config, pageIndex)
local fileName = opt.d .. "/" .. pageIndex .. ".jpg"
local fullImage = image.loadJPG(fileName)
local batch = torch.Tensor(opt.batch_size, 3, config.inputHeight, config.inputWidth)
local i = 1
for i = 1, opt.b... | mit |
kitala1/darkstar | scripts/zones/Chateau_dOraguille/npcs/Nachou.lua | 38 | 1046 | -----------------------------------
-- Area: Chateau d'Oraguille
-- NPC: Nachou
-- Type: Standard NPC
-- @zone: 233
-- @pos -39.965 -3.999 34.292
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
---... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Cavernous_Maw.lua | 58 | 1890 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Cavernous Maw
-- @pos -334 -24 52
-- Teleports Players to Abyssea - Attohwa
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setting... | gpl-3.0 |
kitala1/darkstar | scripts/globals/items/bluetail.lua | 18 | 1256 | -----------------------------------------
-- ID: 4399
-- Item: Bluetail
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Selbina/npcs/Bretta.lua | 34 | 1105 | -----------------------------------
-- Area: Selbina
-- NPC: Bretta
-- @zone
-- @pos
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
-----------------------------------
-- onTrade Actio... | gpl-3.0 |
apletnev/koreader | plugins/coverbrowser.koplugin/main.lua | 2 | 27105 | local InputContainer = require("ui/widget/container/inputcontainer")
local UIManager = require("ui/uimanager")
local logger = require("logger")
local _ = require("gettext")
local BookInfoManager = require("bookinfomanager")
--[[
This plugin provides additional display modes to file browsers (File Manager
and H... | agpl-3.0 |
cdettmering/fancyland | math/BoundingBox.lua | 2 | 1131 | --- BoundingBox ---
-- Setup local access
local Point = require(MATHPATH .. 'Point')
local BoundingBox = {}
local BoundingBox_mt = {}
BoundingBox_mt.__index = BoundingBox
function BoundingBox:new(min, max)
local bb = {}
bb._min = min or Point:new()
bb._max = max or Point:new()
return setmetatable(bb... | gpl-3.0 |
Pulse-Eight/drivers | Control4/sky_q_ip_pulse-eight/lib/c4_object.lua | 9 | 5060 | --[[=============================================================================
c4_object Class
Copyright 2015 Control4 Corporation. All Rights Reserved.
===============================================================================]]
function inheritsFrom( baseClass )
local new_class = {}
local class_mt... | apache-2.0 |
fastmailops/prosody | util/sasl/scram.lua | 4 | 9503 | -- sasl.lua v0.4
-- Copyright (C) 2008-2010 Tobias Markmann
--
-- 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... | mit |
apletnev/koreader | frontend/ui/widget/timewidget.lua | 3 | 6213 | local Blitbuffer = require("ffi/blitbuffer")
local ButtonTable = require("ui/widget/buttontable")
local CenterContainer = require("ui/widget/container/centercontainer")
local CloseButton = require("ui/widget/closebutton")
local Device = require("device")
local FrameContainer = require("ui/widget/container/framecontaine... | agpl-3.0 |
kitala1/darkstar | scripts/zones/Den_of_Rancor/TextIDs.lua | 3 | 1067 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6382; -- Obtained: <item>
GIL_OBTAINED = 6383; -- Obtained <number> gil
KEYITEM_OBTAINED = 6385; -- Obtain... | gpl-3.0 |
apletnev/koreader | plugins/keepalive.koplugin/main.lua | 4 | 2214 | local ConfirmBox = require("ui/widget/confirmbox")
local Device = require("device")
local UIManager = require("ui/uimanager")
local WidgetContainer = require("ui/widget/container/widgetcontainer")
local _ = require("gettext")
local menuItem = {
text = _("Keep alive"),
checked = false,
}
local disable
local en... | agpl-3.0 |
fqrouter/luci | libs/web/luasrc/cbi/datatypes.lua | 16 | 6003 | --[[
LuCI - Configuration Bind Interface - Datatype Tests
(c) 2010 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://www.apache.org/licenses/LICENSE... | apache-2.0 |
kitala1/darkstar | scripts/globals/items/hellsteak_+1.lua | 35 | 1728 | -----------------------------------------
-- ID: 5610
-- Item: hellsteak_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health 20
-- Strength 6
-- Intelligence -2
-- Health Regen While Healing 2
-- Attack % 19
-- Ranged ATT % 19
-- Dragon Killer 5
-- Demon Killer 5
------... | gpl-3.0 |
apletnev/koreader | reader.lua | 2 | 7239 | #!./luajit
io.stdout:write([[
---------------------------------------------
launching...
_ _____ ____ _
| |/ / _ \| _ \ ___ __ _ __| | ___ _ __
| ' / | | | |_) / _ \/ _` |/ _` |/ _ \ '__|
| . \ |_| | _ < __/ (_| | (_| | __/ |
|_|\_\___/|_| \_\___|\__,_|\__,_|\___|_|
[*] Cu... | agpl-3.0 |
fqrouter/luci | applications/luci-freifunk-widgets/luasrc/controller/freifunk/widgets.lua | 78 | 1124 | --[[
LuCI - Lua Configuration Interface
Copyright 2012 Manuel Munz <freifunk at somakoma de>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
]]--
local... | apache-2.0 |
DangerCove/libquvi-scripts | share/lua/website/ted.lua | 2 | 2376 |
-- libquvi-scripts
-- Copyright (C) 2012 Toni Gundogdu <legatvs@gmail.com>
-- Copyright (C) 2011 Bastien Nocera <hadess@hadess.net>
--
-- 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 Le... | lgpl-2.1 |
crabman77/minetest-minetestforfun-server | mods/factions/factions.lua | 9 | 21536 | -------------------------------------------------------------------------------
-- factions Mod by Sapier
--
-- License WTFPL
--
--! @file factions.lua
--! @brief factions core file containing datastorage
--! @copyright Sapier
--! @author Sapier
--! @date 2013-05-08
--
-- Contact sapier a t gmx net
--------------------... | unlicense |
hanxi/cocos2d-x-v3.1 | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/JumpTiles3D.lua | 6 | 1237 |
--------------------------------
-- @module JumpTiles3D
-- @extend TiledGrid3DAction
--------------------------------
-- @function [parent=#JumpTiles3D] getAmplitudeRate
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#JumpTiles3D] setAmp... | mit |
kitala1/darkstar | scripts/zones/Toraimarai_Canal/npcs/qm11.lua | 8 | 1511 | -----------------------------------
-- Area: Toraimarai Canal
-- NPC: ???
-- Involved In Quest: Wild Card
-- @zone 169 // not accurate
-- @pos 220 16 -50 // not accurate
-----------------------------------
package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
kitala1/darkstar | scripts/globals/mobskills/Throat_Stab.lua | 7 | 1114 | ---------------------------------------------
-- Throat Stab
--
-- Description: Deals damage to a single target reducing their HP to 5%. Resets enmity.
-- Type: Physical
-- Utsusemi/Blink absorb: No
-- Range: Single Target
-- Notes: Very short range, easily evaded by walking away from it.
----------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Port_San_dOria/npcs/Fontoumant.lua | 17 | 4406 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Fontoumant
-- Starts Quest: The Brugaire Consortium
-- Involved in Quests: Riding on the Clouds
-- @zone 232
-- @pos -10 -10 -122
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
package.loade... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Giddeus/npcs/qm1.lua | 8 | 1715 | -----------------------------------
-- Area: Giddeus
-- NPC: ???
-- Involved In Quest: Dark Legacy
-- @zone 145
-- @pos -58 0 -449
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scr... | gpl-3.0 |
Roblox/Core-Scripts | CoreScriptsRoot/Modules/AvatarContextMenu/ContextMenuItems.lua | 1 | 10685 | --[[
// FileName: ContextMenuItems.lua
// Written by: TheGamer101
// Description: Module for creating the context menu items for the menu and doing the actions when they are clicked.
]]
-- CONSTANTS
local FRIEND_LAYOUT_ORDER = 1
local CHAT_LAYOUT_ORDER = 3
local WAVE_LAYOUT_ORDER = 4
local CUSTOM_LAYOUT_ORDER = 20
... | apache-2.0 |
kitala1/darkstar | scripts/globals/items/bowl_of_cursed_soup.lua | 35 | 1602 | -----------------------------------------
-- ID: 4235
-- Item: Bowl of Cursed Soup
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength -7
-- Dexterity -7
-- Agility -7
-- Vitality -7
-- Intelligence -7
-- Mind -7
-- Charisma -7
-----------------------------------------
... | gpl-3.0 |
Behemyth/GameJamFall2015 | GameJamFall2015/Libraries/bullet/Demos/OpenCLClothDemo/AMD/premake4.lua | 12 | 1104 |
hasCL = findOpenCL_AMD()
if (hasCL) then
project "AppOpenCLClothDemo_AMD"
defines { "USE_AMD_OPENCL","CL_PLATFORM_AMD"}
initOpenCL_AMD()
language "C++"
kind "ConsoleApp"
targetdir "../../.."
libdirs {"../../../Glut"}
links {
"LinearMath",
"BulletCollision",
"BulletDynamics",
... | mit |
UB12/lionbot | plugins/invite.lua | 1111 | 1195 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
kitala1/darkstar | scripts/zones/Apollyon/mobs/Cornu.lua | 17 | 1135 | -----------------------------------
-- Area: Apollyon NE
-- NPC: Sirins
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
----------------------------... | gpl-3.0 |
shahabsaf1/uzz-bot | plugins/remind.lua | 362 | 1875 | local filename='data/remind.lua'
local cronned = load_from_file(filename)
local function save_cron(msg, text,date)
local origin = get_receiver(msg)
if not cronned[date] then
cronned[date] = {}
end
local arr = { origin, text } ;
table.insert(cronned[date], arr)
serialize_to_file(cronned, filename)
re... | gpl-2.0 |
crabman77/minetest-minetestforfun-server | minetestforfun_game/mods/beds/spawns.lua | 7 | 1385 | local world_path = minetest.get_worldpath()
local org_file = world_path .. "/beds_spawns"
local file = world_path .. "/beds_spawns"
local bkwd = false
-- check for PA's beds mod spawns
local cf = io.open(world_path .. "/beds_player_spawns", "r")
if cf ~= nil then
io.close(cf)
file = world_path .. "/beds_player_spawn... | unlicense |
crabman77/minetest-minetestforfun-server | mods/plantlife_modpack/trunks/crafting.lua | 9 | 4425 | -- Code by Mossmanikin
-----------------------------------------------------------------------------------------------
-- TWiGS
-----------------------------------------------------------------------------------------------
minetest.register_craft({ -- *leaves --> twigs
output = "trunks:twig_1 2",
recipe = {{"group:l... | unlicense |
kitala1/darkstar | scripts/globals/effects/int_down.lua | 19 | 1095 | -----------------------------------
--
-- EFFECT_INT_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if((target:getStat(MOD_INT) - effect... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Dangruf_Wadi/npcs/Treasure_Chest.lua | 12 | 2567 | -----------------------------------
-- Area: Dangruf Wadi
-- NPC: Treasure Chest
-- @zone 191
-----------------------------------
package.loaded["scripts/zones/Dangruf_Wadi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure");
require("scripts/z... | gpl-3.0 |
cdettmering/fancyland | LayerController.lua | 1 | 3773 | -- LayerController ---
-- Visual: Shows how the camera moves along the layer over time.
--
-- Step 1:
-- -----------------------------------------------------
-- | Trees | Caves | Mountains | Trees | Trees | Caves |
-- -----------------------------------------------------
-- ----------
-- | Camera |
-- ----------
--
-... | gpl-3.0 |
hanxi/cocos2d-x-v3.1 | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Texture2D.lua | 3 | 5591 |
--------------------------------
-- @module Texture2D
-- @extend Ref
--------------------------------
-- @function [parent=#Texture2D] getMaxT
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#Texture2D] getStringForFormat
-- @param self
... | mit |
kitala1/darkstar | scripts/zones/Riverne-Site_A01/npcs/Unstable_Displacement.lua | 36 | 1068 | -----------------------------------
-- Area: Riverne Site #A01
-- NPC: Unstable Displacement
-- ENM Battlefield
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/R... | gpl-3.0 |
IBYoung/oceanbase | oceanbase_0.4/tools/mysql_stress/kucun.lua | 24 | 1063 | -- `stress_sqls' table list all sqls used to stress
stress_sqls = {
{
sql = [[
insert into ipm_inventory_detail ( opt_type, opt_num, inventory_id, user_id, item_id, sku_id, bizorderid, childbizorderid,
quantity, gmt_create, gmt_modified, status, version, time_out, time_number, opt_gmt_create, area_id, feat... | gpl-2.0 |
kitala1/darkstar | scripts/zones/Apollyon/mobs/Dee_Wapa_the_Desolator.lua | 17 | 2385 | -----------------------------------
-- Area: Apollyon CS
-- NPC: Dee_Wapa_the_Desolator
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-------------... | gpl-3.0 |
LuaDist2/lua_cliargs | spec/printer_spec.lua | 3 | 6891 | local helpers = require 'spec_helper'
local trim = helpers.trim
describe('printer', function()
local cli
before_each(function()
cli = require("cliargs.core")()
end)
describe('#generate_usage', function()
local function assert_msg(expected_msg)
local actual_msg = cli.printer.generate_usage()
... | mit |
Whitechaser/darkstar | scripts/zones/Bastok_Markets/npcs/Umberto.lua | 5 | 1263 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Umberto
-- Type: Quest NPC
-- Involved in Quest: Too Many Chefs
-- !pos -56.896 -5 -134.267 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/zon... | gpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/weapon/melee/sword/sword_lightsaber_obi.lua | 1 | 5132 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/commands/melee1hSpinAttack1.lua | 2 | 2475 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/weapon/melee/special/objects.lua | 3 | 6053 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
Whitechaser/darkstar | scripts/globals/spells/bluemagic/head_butt.lua | 2 | 2176 | -----------------------------------------
-- Spell: Head Butt
-- Damage varies with TP. Additional effect: "Stun"
-- Spell cost: 12 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 3
-- Stat Bonus: DEX+2
-- Level: 12
-- Casting Time: 0.5 seconds
-- Recast Time: 10 seconds
-- Skillchain... | gpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/components/engine/eng_haor_chall_old_engine.lua | 3 | 2316 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Whitechaser/darkstar | scripts/zones/Windurst_Waters/npcs/Fomina.lua | 5 | 1378 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Fomina
-- Only sells when Windurst controlls Elshimo Lowlands
-- Confirmed shop stock, August 2013
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
Whitechaser/darkstar | scripts/zones/Palborough_Mines/npcs/Old_Toolbox.lua | 5 | 1066 | -----------------------------------
-- Area: Palborough Mines
-- NPC: Old Toolbox
-- Continues Quest: The Eleventh's Hour
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals... | gpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/components/weapon/wpn_sfs_imperial_blaster_2.lua | 3 | 2320 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/bol.lua | 3 | 2128 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/food/crafted/drink_ruby_bliel.lua | 3 | 3367 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/building/naboo/filler_building_naboo_style_4.lua | 3 | 2264 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
DailyShana/ygopro-scripts | c39701395.lua | 9 | 1096 | --調和の宝札
function c39701395.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c39701395.cost)
e1:SetTarget(c39701395.target)
e1:SetOperation(c39701395.activ... | gpl-2.0 |
Qihoo360/nginx-openresty-windows | luajit-root-x64/luajit/share/luajit-2.1.0-alpha/jit/vmdef.lua | 18 | 7301 | -- This is a generated file. DO NOT EDIT!
return {
bcnames = "ISLT ISGE ISLE ISGT ISEQV ISNEV ISEQS ISNES ISEQN ISNEN ISEQP ISNEP ISTC ISFC IST ISF ISTYPEISNUM MOV NOT UNM LEN ADDVN SUBVN MULVN DIVVN MODVN ADDNV SUBNV MULNV DIVNV MODNV ADDVV SUBVV MULVV DIVVV MODVV POW CAT KSTR KCDATAKSHORTKNUM... | bsd-2-clause |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/weapon/ranged/pistol/pistol_srcombat.lua | 2 | 6211 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/component/bio/bio_component_clothing_casual_entertainer.lua | 3 | 3159 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/falumpaset_hue.lua | 3 | 2172 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/item/objects.lua | 3 | 105107 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
KingRaptor/Zero-K | units/arm_venom.lua | 1 | 4806 | unitDef = {
unitname = [[arm_venom]],
name = [[Venom]],
description = [[Lightning Riot Spider]],
acceleration = 0.26,
brakeRate = 0.78,
buildCostMetal = 200,
buildPic = [[arm_venom.png]],
canAttack = tru... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/mission/quest_item/grondorn_muse_q2_needed.lua | 3 | 2292 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
DailyShana/ygopro-scripts | c3657444.lua | 3 | 3683 | --サイバー・ヴァリー
function c3657444.initial_effect(c)
--be target
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(3657444,0))
e1:SetCategory(CATEGORY_DRAW)
e1:SetCode(EVENT_BE_BATTLE_TARGET)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCost(c3657444.cost1)
e1:SetTarget(c3657444.target1)
... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/faction/imperial/storm_commando.lua | 1 | 1449 | storm_commando = Creature:new {
objectName = "@mob/creature_names:storm_commando",
randomNameType = NAME_STORMTROOPER_TAG,
socialGroup = "imperial",
faction = "imperial",
level = 29,
chanceHit = 0.38,
damageMin = 300,
damageMax = 310,
baseXp = 3005,
baseHAM = 6100,
baseHAMmax = 9900,
armor = 0,
resists = {... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/talus/chunker_bully.lua | 1 | 1779 | chunker_bully = Creature:new {
objectName = "@mob/creature_names:chunker_bully",
randomNameType = NAME_GENERIC_TAG,
socialGroup = "chunker",
faction = "thug",
level = 10,
chanceHit = 0.280000,
damageMin = 90,
damageMax = 110,
baseXp = 356,
baseHAM = 810,
baseHAMmax = 990,
armor = 0,
resists = {0,0,0,0,0,0,... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/warren_agro_droid_s01.lua | 3 | 2200 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/space_imperial_tier3_yavin.lua | 3 | 2220 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Whitechaser/darkstar | scripts/globals/spells/bluemagic/blitzstrahl.lua | 2 | 1987 | -----------------------------------------
-- Spell: Blitzstrahl
-- Deals lightning damage to an enemy. Additional effect: "Stun"
-- Spell cost: 70 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Lightning)
-- Blue Magic Points: 4
-- Stat Bonus: DEX+3
-- Level: 44
-- Casting Time: 4.5 seconds
-- Recast Time: 29.25 se... | gpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/commands/bodyShot3.lua | 2 | 2446 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
KingRaptor/Zero-K | LuaUI/Widgets/unit_dynamic_avoidance_ex.lua | 1 | 138612 | local versionName = "v2.879"
--------------------------------------------------------------------------------
--
-- file: cmd_dynamic_Avoidance.lua
-- brief: a collision avoidance system
-- using: "non-Linear Dynamic system approach to modelling behavior" -SiomeGoldenstein, Edward Large, DimitrisMetaxas
-- code... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_scolex_grath.lua | 3 | 2196 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.