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 |
|---|---|---|---|---|---|
hoku586/darkstar | scripts/zones/Davoi/TextIDs.lua | 7 | 1657 | -- 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 = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obtained... | gpl-3.0 |
CalinLeafshade/selene | plugins/roll.lua | 1 | 1352 |
local roll = Plugin:subclass("roll")
function roll:OnChat(user,channel,message)
local direct, mess = self.selene:isDirect(message)
if direct then
local cmd, count, size = string.match(mess:lower(), "^(roll)%s(%d+)d(%d+)$")
if cmd == "roll" then
count = tonumber(count)
size = tonumber(size)
if count and... | mit |
Vadavim/test | scripts/globals/items/bowl_of_vegetable_broth.lua | 35 | 1399 | -----------------------------------------
-- ID: 4323
-- Item: bowl_of_vegetable_broth
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- Vitality -1
-- Agility 5
-- Ranged Accuracy 6
-- HP Recovered While Healing 3
-----------------------------------------
require("scripts/globals... | gpl-3.0 |
tcdog001/ap_project | feeds/routing/luci-app-bmx6/files/usr/lib/lua/luci/model/cbi/bmx6/plugins.lua | 20 | 1493 | --[[
Copyright (C) 2011 Pau Escrich <pau@dabax.net>
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 2 of the License, or
(at your option) any later version.
Th... | gpl-2.0 |
Elkazan/darkstar | scripts/zones/Promyvion-Vahzl/npcs/_0m0.lua | 17 | 1398 | -----------------------------------
-- Area: Promyvion vahzl
-- NPC: Memory flux (3)
-----------------------------------
package.loaded["scripts/zones/Promyvion-Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Promyvion-Vahzl/TextIDs");
re... | gpl-3.0 |
likunpeng/cocos | QuickGame/runtime/ios/PrebuiltRuntimeLua.app/src/framework/cocos2dx/ActionEx.lua | 20 | 7961 | local cca = {}
_G.cca = cca -- make it global
function cc.Action:addTo(node)
node:runAction(self)
return self
end
function cc.Node:buildAction(...)
local builder = cca.builder(...)
builder.target = self
return builder
end
-- instant
function cca.show()
return cc.Show:create()
end
function cca.hid... | apache-2.0 |
tcdog001/ap_project | feeds/luci/libs/nixio/docsrc/nixio.lua | 151 | 15824 | --- General POSIX IO library.
module "nixio"
--- Look up a hostname and service via DNS.
-- @class function
-- @name nixio.getaddrinfo
-- @param host hostname to lookup (optional)
-- @param family address family [<strong>"any"</strong>, "inet", "inet6"]
-- @param service service name or port (optional)
-- @return ... | gpl-2.0 |
Elkazan/darkstar | scripts/zones/Mhaura/npcs/Kamilah.lua | 17 | 1174 | -----------------------------------
-- Area: Mhaura
-- NPC: Kamilah
-- Guild Merchant NPC: Blacksmithing Guild
-- @pos -64.302 -16.000 35.261 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
otservme/global1041 | data/npc/scripts/Duncan.lua | 1 | 3763 | 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 |
Elkazan/darkstar | scripts/zones/Windurst_Walls/npcs/Juvillie.lua | 38 | 1041 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Juvillie
-- Type: Event Replayer
-- @zone: 239
-- @pos -180.731 -3.451 143.138
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
--------... | gpl-3.0 |
we20/plugin | plugins/id.lua | 355 | 2795 | local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end
local function returnids(cb_extra, success, resu... | gpl-2.0 |
hoku586/darkstar | scripts/globals/mobskills/Spike_Flail.lua | 33 | 1247 | ---------------------------------------------------
-- Spike Flail
-- Deals extreme damage in a threefold attack to targets behind the user.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
----------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/Limion_RK.lua | 14 | 3388 | -----------------------------------
-- Area: The Sanctuary of Zi'Tah
-- NPC: Limion, R.K.
-- Border Conquest Guards
-- @pos -252.454 -1.958 624.366 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
Vadavim/test | scripts/globals/weaponskills/last_stand.lua | 30 | 1763 | -----------------------------------
-- Skill Level: 357
-- Description: Attacks once or twice, depending on remaining ammunition. Damage dealt varies with TP.
-- If the first shot of the weapon skill does enough damage to defeat the target, the second shot will not be used.
-- To obtain Last Stand, the quest Martia... | gpl-3.0 |
Vadavim/test | scripts/zones/Western_Altepa_Desert/npcs/Cermet_Headstone.lua | 17 | 2670 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: Cermet Headstone
-- Involved in Mission: ZM5 Headstone Pilgrimage (Earth Fragment)
-- @pos -108 10 -216 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
------------------------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Al_Zahbi/npcs/Zafif.lua | 17 | 1792 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Zafif
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
require("scripts/zones/Al_Zahbi/TextIDs");
-----------------------------------
-- onTrade Action
---... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/West_Sarutabaruta/npcs/Banege_RK.lua | 30 | 3066 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Banege, R.K.
-- Type: Border Conquest Guards
-- @pos 399.450 -25.858 727.545 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conq... | gpl-3.0 |
Vadavim/test | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Spear.lua | 17 | 1476 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Spear
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
functio... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Toraimarai_Canal/npcs/Treasure_Coffer.lua | 13 | 4554 | -----------------------------------
-- Area: Toraimarai Canal
-- NPC: Treasure Coffer
-- Involved In Quest: Wild Card
-- @zone 169
-- @pos 220 16 -50
-----------------------------------
package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setting... | gpl-3.0 |
Vadavim/test | scripts/zones/Bastok_Markets/npcs/HomePoint#2.lua | 12 | 1252 | -----------------------------------
-- Area: Bastok Markets
-- NPC: HomePoint#2
-- @pos -328 -12 -33 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Bastok_Markets/TextIDs");
require("scripts/g... | gpl-3.0 |
hoku586/darkstar | scripts/globals/items/mushroom_salad.lua | 12 | 1541 | -----------------------------------------
-- ID: 5678
-- Item: Mushroom Salad
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- MP 14% Cap 85
-- Agility 6
-- Mind 6
-- Strength -5
-- Vitality -5
-- Ranged Accuracy +15
-----------------------------------------
require("scripts/globals/status... | gpl-3.0 |
Noiwex/skoope | lua/modules/socket/http.lua | 20 | 12193 | -----------------------------------------------------------------------------
-- HTTP/1.1 client support for the Lua language.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: http.lua,v 1.70 2007/03/12 04:08:40 diego Exp $
-----------------------------------------------------------------------------
-----... | mit |
hoku586/darkstar | scripts/globals/items/kitron_macaron.lua | 15 | 1273 | -----------------------------------------
-- ID: 5781
-- Item: kitron_macaron
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Increases rate of synthesis success +7%
-- Increases synthesis skill gain rate +7%
-----------------------------------------
require("scripts/globals/status");
-... | gpl-3.0 |
Vadavim/test | scripts/globals/items/serving_of_vermillion_jelly.lua | 35 | 1448 | -----------------------------------------
-- ID: 5158
-- Item: Vermillion Jelly
-- Food Effect: 4 hours, All Races
-----------------------------------------
-- MP +12%(Cap: 90@750 Base MP)
-- Intelligence +6
-- MP Recovered While Healing +2
-----------------------------------------
require("scripts/globals/s... | gpl-3.0 |
CommandPost/CommandPost | src/plugins/compressor/feedback/bugreport.lua | 2 | 17180 | --- === plugins.compressor.feedback.bugreport ===
---
--- Sends Apple a Bug Report or Feature Request for Compressor.
local require = require
local hs = _G.hs
local log = require("hs.logger").new("compBug")
local inspect = require("hs.inspect")
local s... | mit |
ff94315/luci-1 | modules/luci-base/luasrc/ltn12.lua | 84 | 8954 | --[[
LuaSocket 2.0.2 license
Copyright � 2004-2007 Diego Nehab
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, me... | apache-2.0 |
Vadavim/test | 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 |
quanhua92/torch-android | src/cmake/lua2exe/lua2exe.lua | 2 | 2100 | local luafile = arg[1]
local cfile = arg[2]
assert(luafile, 'no Lua file provided')
assert(cfile, 'no C file provided')
local code = [[
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"
#include "luaT.h"
static const unsigned char luacode[] = {
LUA_... | bsd-3-clause |
JoppyFurr/OpenRA | mods/ra/maps/intervention/intervention.lua | 22 | 11100 | BeachheadTrigger =
{
CPos.New(120, 90), CPos.New(120, 89), CPos.New(120, 88), CPos.New(121, 88), CPos.New(122, 88), CPos.New(123, 88), CPos.New(124, 88),
CPos.New(125, 88), CPos.New(126, 88), CPos.New(126, 89), CPos.New(127, 89), CPos.New(128, 89), CPos.New(128, 90), CPos.New(129, 90),
CPos.New(130, 90), CPos.New(13... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rs.lua | 14 | 1655 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna_Aqueduct... | gpl-3.0 |
hoku586/darkstar | scripts/globals/items/jar_of_ground_wasabi.lua | 12 | 1589 | -----------------------------------------
-- ID: 5164
-- Item: jar_of_ground_wasabi
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -1
-- Dexterity -1
-- Agility -1
-- Vitality -1
-- Intelligence -1
-- Mind -1
-- Charisma -1
-----------------------------------------
require("scrip... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_ir9.lua | 14 | 1790 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: _ir9 (Iron Gate)
-- @pos 70 -1.5 140 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/missions... | gpl-3.0 |
justmao945/lab | conky-lua-dock/rc/conky.lua | 1 | 13529 | -- Rings and weather
-- justmao945@gmail.com
-- Changelog:
-- Ver 20111107: Original release
-- Ver 20111109: Fix bugs when no network available
-- Ver 20111111: Deprecate drawing png with cairo (without anti-alias)
--
require "cairo"
Rings = {
Settings =
{
{ -- Hour
Name = 'time',
Arg = '%I.%M',... | mit |
hoku586/darkstar | scripts/zones/Sacrarium/mobs/Old_Professor_Mariselle.lua | 23 | 2328 | -----------------------------------
-- Area: Sacrarium
-- MOB: Old Professor Mariselle
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
-----------------------------------
-- onMobSpawn
-----------------------------------
function onMobSpawn(mob)
end;
--... | gpl-3.0 |
mohammadclashclash/seed25 | plugins/minecraft.lua | 624 | 2605 | local usage = {
"!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565",
"!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.",
}
local ltn12 = require "ltn12"
local function mineSearch(ip, port, receiver) --25565
local responseText = ""
l... | gpl-2.0 |
electricpandafishstudios/Dredge | game/modules/dredge/data/damage_types.lua | 1 | 1554 | local function doDamageFlyers(src, x, y, type, dam)
local flash = game.flash.NEUTRAL
if target == game.player then flash = game.flash.BAD end
if src == game.player then flash = game.flash.GOOD end
local target = game.level.map(x, y, Map.ACTOR)
if target then
game.logSeen(target, flash, "%s hits %s for %s%0.2f... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/roll_of_buche_au_chocolat.lua | 36 | 1521 | -----------------------------------------
-- ID: 5550
-- Item: Roll of Buche Au Chocolat
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +8
-- MP +3% Cap 13
-- Intelligence +2
-- HP Recovered while healing +1
-- MP Recovered while healing +4
-----------------------... | gpl-3.0 |
Vadavim/test | scripts/zones/Castle_Zvahl_Keep/npcs/_4i5.lua | 23 | 1492 | -----------------------------------
-- Area: Castle Zvahl Keep
-- NPC: Ore door
-- Involved In Quest: Recollections
-- @pos -14 0 69 162
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require... | gpl-3.0 |
crazyboy11/crazyboy1 | plugins/cpu.lua | 244 | 1893 | 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 .. ' you... | gpl-2.0 |
hoku586/darkstar | scripts/globals/items/melon_snowcone.lua | 12 | 1233 | -----------------------------------------
-- ID: 5712
-- Item: Melon Snowcone
-- Food Effect: 5 Min, All Races
-----------------------------------------
-- HP % 10 Cap 200
-- HP Healing 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCh... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5ff.lua | 34 | 1109 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Leviathan's Gate
-- @pos 88 -34 -60 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextID... | gpl-3.0 |
Wiladams/ljgraph2d | ljgraph2D/embedded_raster_fonts.lua | 2 | 406531 | local ffi = require("ffi")
local gse4x6_tbl = {
6, 0, 32, 128 - 32,
0x00, 0x00, 0x07, 0x00, 0x0e, 0x00, 0x15, 0x00, 0x1c, 0x00, 0x23, 0x00, 0x2a, 0x00, 0x31, 0x00, 0x38, 0x00,
0x3f, 0x00, 0x46, 0x00, 0x4d, 0x00, 0x54, 0x00, 0x5b, 0x00, 0x62, 0x00, 0x69, 0x00, 0x70, 0x00, 0x77, 0x00,
0x7e, 0x00, 0x85, 0x00, 0x... | mit |
SwiftsNamesake/NewtonianConundrums | src/Camera.lua | 1 | 3476 | --
moses = require 'src.lib.moses.moses'
vec = require 'src.vec'
local Camera = class()
function Camera:__init(position, scale, angle, pixel_perfect)
self.position = position or vec(0,0) -- TODO: Use 'p' instead (?)
self.scale = scale or vec(1,1) --
self.angle = angle or 0.0 -- TODO... | mit |
AbigailBuccaneer/cparser.lua | luaunit/doc/test_something.lua | 5 | 2526 |
luaunit = require('luaunit')
function add(v1,v2)
-- add positive numbers
-- return 0 if any of the numbers are 0
-- error if any of the two numbers are negative
if v1 < 0 or v2 < 0 then
error('Can only add positive or null numbers, received '..v1..' and '..v2)
end
if v1 == 0 or v2 == 0... | mit |
Elkazan/darkstar | scripts/zones/PsoXja/npcs/_09g.lua | 17 | 1222 | -----------------------------------
-- Area: Pso'Xja
-- NPC: Avatars Gate
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/PsoXja/TextIDs");
require("scripts/globals/keyite... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Kazham/npcs/Bubupp.lua | 17 | 3365 | -----------------------------------
-- Area: Kazham
-- NPC: Bubupp
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
-- item ... | gpl-3.0 |
mkosler/CSCE-443-Project-2 | lib/LoveFrames/objects/checkbox.lua | 5 | 9221 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2013 Kenny Shields --
--]]------------------------------------------------
-- checkbox class
local newobject = loveframes.NewObject("checkbox", "loveframes_object_checkbox", true)
--[[-------------------... | mit |
Elkazan/darkstar | scripts/globals/spells/dia_ii.lua | 18 | 2295 | -----------------------------------------
-- Spell: Dia II
-- Lowers an enemy's defense and gradually deals light elemental damage.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------... | gpl-3.0 |
CapacitorSet/s-uzzbot | test/test.lua | 1 | 5274 | SUDO_USER_ID = 12345
_G.IS_TEST_ENVIRONMENT = true
_G.postpone = function() end
-- Return a fake message.
-- is_root: whether it comes from an admin
function test_craft_message(text, is_root, custom_id, custom_username)
local _peer_id
local _username
if is_root then
_peer_id = SUDO_USER_ID
_username = "root"
... | gpl-2.0 |
hoku586/darkstar | scripts/zones/Al_Zahbi/npcs/Talruf.lua | 14 | 1033 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Talruf
-- Type: Standard NPC
-- @zone 48
-- @pos 100.878 -7 14.291
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-------------------------------... | gpl-3.0 |
ff94315/luci-1 | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iptables.lua | 68 | 3415 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.sys.iptparser")
ip = luci.sys.iptparser.IptParser()
chains = { }
targets = { }
for i, rule in ipairs( ip:find() ) do
if rule.chain and rule.target then
chains[rule.chain] ... | apache-2.0 |
hoku586/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Geltpix.lua | 14 | 1142 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Geltpix
-- @zone 80
-- @pos 154 -2 103
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
-----------------------------------
-- onTr... | gpl-3.0 |
Vadavim/test | scripts/zones/Southern_San_dOria/npcs/Glenne.lua | 13 | 3792 | -------------------------------------
-- Area: Southern San d'Oria
-- NPC: Glenne
-- Starts and Finishes Quest: A Sentry's Peril
-- @zone 230
-- @pos -122 -2 15
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/plate_of_octopus_sushi.lua | 35 | 1302 | -----------------------------------------
-- ID: 5693
-- Item: plate_of_octopus_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 1
-- Accuracy % 16
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
Vadavim/test | scripts/globals/items/plate_of_octopus_sushi.lua | 35 | 1302 | -----------------------------------------
-- ID: 5693
-- Item: plate_of_octopus_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 1
-- Accuracy % 16
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Cloister_of_Gales/mobs/Ogmios.lua | 23 | 1336 | -----------------------------------
-- Area: Cloister of Gales
-- MOB: Ogmios
-- Involved in Quest: Carbuncle Debacle
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
-----------------------------------
-- OnMobSpawn Action
--------------------------------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Al_Zahbi/npcs/Ugahar.lua | 14 | 1033 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Ugahar
-- Type: Standard NPC
-- @zone 48
-- @pos 52.262 -1 123.185
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-------------------------------... | gpl-3.0 |
CommandPost/CommandPost | src/plugins/finalcutpro/commands/actions.lua | 1 | 5631 | --- === plugins.finalcutpro.commands.actions ===
---
--- An `action` which will execute a command with matching group/id values.
--- Registers itself with the `core.action.manager`.
local require = require
local image = require "hs.image"
local dialog = require "cp.dialog"
local fcp ... | mit |
Vadavim/test | scripts/globals/weaponskills/spinning_slash.lua | 30 | 1563 | -----------------------------------
-- Spinning Slash
-- Great Sword weapon skill
-- Skill level: 225
-- Delivers a single-hit attack. Damage varies with TP.
-- Modifiers: STR:30% ; INT:30%
-- 100%TP 200%TP 300%TP
-- 2.5 3 3.5
-----------------------------------
require("scripts/globals/status");
require... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Apollyon/mobs/Ice_Elemental.lua | 112 | 2441 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
--------------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Apollyon/mobs/Water_Elemental.lua | 112 | 2441 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
--------------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Apollyon/mobs/Thunder_Elemental.lua | 112 | 2441 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
--------------------------... | gpl-3.0 |
otservme/global1041 | data/npc/scripts/Emperor Kruzak.lua | 1 | 1721 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local talkState = {}
local Topic = {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
functi... | gpl-2.0 |
Elkazan/darkstar | scripts/zones/Kazham/npcs/Dakha_Topsalwan.lua | 17 | 1148 | -----------------------------------
-- Area: Kazham
-- NPC: Dakha Topsalwan
-- @zone 250
-- @pos
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Kazham/TextIDs");
---... | gpl-3.0 |
Vadavim/test | scripts/zones/Port_Windurst/npcs/Drozga.lua | 51 | 1440 | -----------------------------------
-- Area: Port Windurst
-- NPC: Drozga
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Port_Windurst/TextIDs");
----... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Quicksand_Caves/Zone.lua | 17 | 5995 | -----------------------------------
--
-- Zone: Quicksand_Caves (208)
--
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/zo... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Northern_San_dOria/npcs/Ishwar.lua | 14 | 1035 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Ishwar
-- Type: Standard Dialogue NPC
-- @zone 231
-- @pos -47.103 -1.999 -19.582
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");
-... | gpl-3.0 |
tcdog001/ap_project | feeds/routing/alfred/files/bat-hosts.lua | 17 | 2889 | #!/usr/bin/lua
local type_id = 64 -- bat-hosts
function get_hostname()
local hostfile = io.open("/proc/sys/kernel/hostname", "r")
local ret_string = hostfile:read()
hostfile:close()
return ret_string
end
function get_interfaces_names()
local ret = {}
for name in io.popen("ls -1 /sys/class/net/"):lines()... | gpl-2.0 |
hoku586/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/npcs/qm3.lua | 30 | 1360 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- NPC: ??? (Spawn Armed Gears(ZNM T3))
-- @pos -42 -4 -169 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Alzadaal_Undersea_Rui... | gpl-3.0 |
Gamerbude/Minetest_TNG | mods/default/lua/misc/spectator_mode.lua | 2 | 3389 | --[[
License of this file:
---------------------
Copyright (C) 2016 kilbith <jeanpatrick.guerrero@gmail.com>
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 you... | gpl-3.0 |
hoku586/darkstar | scripts/globals/spells/bluemagic/regeneration.lua | 46 | 1483 | -----------------------------------------
-- Spell: Regeneration
-- Gradually restores HP
-- Spell cost: 36 MP
-- Monster Type: Aquans
-- Spell Type: Magical (Light)
-- Blue Magic Points: 2
-- Stat Bonus: MND+2
-- Level: 78
-- Casting Time: 2 Seconds
-- Recast Time: 60 Seconds
-- Spell Duration: 30 ticks, 90 Seconds
--... | gpl-3.0 |
hoku586/darkstar | scripts/globals/items/plate_of_royal_sautee.lua | 12 | 1839 | -----------------------------------------
-- ID: 4295
-- Item: plate_of_royal_sautee
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Attack +22% (cap 80)
-- Ranged Attack +22% (cap 80)
-- Stun Resist +4
-- HP recovered while healing +1
-------... | gpl-3.0 |
redstormbot/khafankhafan | plugins/TIME.lua | 120 | 2804 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
hoku586/darkstar | scripts/zones/Windurst_Waters/npcs/Amagusa-Chigurusa.lua | 14 | 1468 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Amagusa-Chigurusa
-- Type: Standard NPC
-- @pos -28.746 -4.5 61.954 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
requ... | gpl-3.0 |
CapacitorSet/s-uzzbot | plugins/danbooru.lua | 3 | 1886 | do
local URL = "http://danbooru.donmai.us"
local URL_NEW = "/posts.json"
local URL_POP = "/explore/posts/popular.json"
local scale_day = "?scale=day"
local scale_week = "?scale=week"
local scale_month = "?scale=month"
local function get_post(url)
local b, c, h = http.request(url)
if c ~= 200 the... | gpl-2.0 |
hoku586/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Field_Manual.lua | 29 | 1056 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Field Manual
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
---------------------... | gpl-3.0 |
Vadavim/test | scripts/zones/Valkurm_Dunes/npcs/Quanteilleron_RK.lua | 28 | 3133 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Quanteilleron, R.K.
-- Outpost Conquest Guards
-- @pos 144 -7 104 103
-------------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/conquest")... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Signpost.lua | 19 | 1356 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Signpost
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Buburimu_Peninsula/TextIDs");
-----------------------------------
-- onTrad... | gpl-3.0 |
linushsao/sky_islands_game-linus | mods/farming/nodes.lua | 8 | 4576 | minetest.override_item("default:dirt", {
groups = {crumbly=3,soil=1},
soil = {
base = "default:dirt",
dry = "farming:soil",
wet = "farming:soil_wet"
}
})
minetest.override_item("default:dirt_with_grass", {
groups = {crumbly=3,soil=1},
soil = {
base = "default:dirt_with_grass",
dry = "farming:soil",
we... | gpl-3.0 |
MrKiaN/MineBot | plugins/lock_emoji.lua | 3 | 2056 | local function run(msg)
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)]['settings']['emoji'] == 'yes' then
if not is_momod(msg) then
delete_msg(msg.id, ok_cb, true)
end
end
end
return {patterns = {
"😞(.+)",
"😞",
"😐(.+)",
"😐",
"🙁(.+)",
"🙁",
"🌝(.+)",
"🌝",
"🤖(.+)",
... | gpl-2.0 |
hoku586/darkstar | scripts/globals/items/high_breath_mantle.lua | 43 | 1427 | -----------------------------------------
-- ID: 15487
-- Item: High Breath Mantle
-- Item Effect: HP+38 / Enmity+5
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------------------------------... | gpl-3.0 |
Gamerbude/Minetest_TNG | mods/default/lua/nodes/chessboard.lua | 2 | 19709 | --[[
mods/default/lua/nodes/chess.lua
================================
Realchess Mod (modified for Minetest TNG)
See https;//github.com/minetest-mods/realchess for details about the original
mod, which is licensed under the WTFPL.
Copyright (C) 2015-2016 kilbith <jeanpatrick.guerrero@gmail.com>
Copyright (C) 2015 beyo... | gpl-3.0 |
hoku586/darkstar | scripts/zones/RuLude_Gardens/npcs/Yavoraile.lua | 17 | 1388 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Yavoraile
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuLude_Gardens/TextIDs");
require("scripts/globals/quests");
... | gpl-3.0 |
hoku586/darkstar | scripts/globals/mobskills/Miasma.lua | 33 | 1139 | ---------------------------------------------
-- Miasma
--
-- Description: Releases a toxic cloud on nearby targets. Additional effects: Slow + Poison + Plague
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows?
-- Range: Less than or equal to 10.0
-- Notes: Only used by Gulool Ja Ja.
----------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Arrapago_Reef/npcs/qm2.lua | 16 | 1169 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: ??? (Spawn Velionis(ZNM T1))
-- @pos 311 -3 27 54
-----------------------------------
package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Arrapago_Reef/TextIDs");
-------------------... | gpl-3.0 |
otservme/global1041 | data/actions/scripts/other/potions.lua | 8 | 5823 | local ultimateHealthPot = 8473
local greatHealthPot = 7591
local greatManaPot = 7590
local greatSpiritPot = 8472
local strongHealthPot = 7588
local strongManaPot = 7589
local healthPot = 7618
local manaPot = 7620
local smallHealthPot = 8704
local antidotePot = 8474
local greatEmptyPot = 7635
local strongEmptyPot = 7634... | gpl-2.0 |
hoku586/darkstar | scripts/zones/Apollyon/mobs/Fire_Elemental.lua | 119 | 2740 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
... | gpl-3.0 |
Vadavim/test | scripts/zones/Tahrongi_Canyon/npcs/Telepoint.lua | 17 | 1649 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: Telepoint
-- @pos 100.000 35.150 340.000 117
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/spells/bluemagic/cannonball.lua | 17 | 1751 | -----------------------------------------
-- Spell: Cannonball
-- Damage varies with TP
-- Spell cost: 66 MP
-- Monster Type: Vermin
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 3
-- Stat Bonus: STR+1, DEX+1
-- Level: 70
-- Casting Time: 0.5 seconds
-- Recast Time: 28.5 seconds
-- Skillchain Element... | gpl-3.0 |
tcdog001/ap_project | feeds/luci/protocols/hso/luasrc/model/cbi/admin_network/proto_hso.lua | 14 | 4573 | --[[
LuCI - Lua Configuration Interface
Copyright 2015 Stanislas Bertrand <stanislasbertrand@gmail.com>
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
... | gpl-2.0 |
Pawel-Kaminski/2dGame | code/map/enterMap/createLayers/NPCLayer/secondMapNPC.lua | 1 | 2916 | function secondMapNPC()
NPC.sprites = {
teleport = {
image = love.graphics.newImage(
"assets/sprites/teleporter_active_scaled.gif"),
x = 0,
y = 0
},
Tinaldina = {
image = love.graphics.newImage(
"assets/s... | gpl-2.0 |
Elkazan/darkstar | scripts/globals/spells/bind.lua | 18 | 1086 | -----------------------------------------
-- Spell: Bind
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/The_Boyahda_Tree/mobs/Demonic_Rose.lua | 23 | 1477 | -----------------------------------
-- Area: The Boyahda Tree
-- Mob: Demonic Rose
-- Note: Placeholder V. Vivian
-----------------------------------
require("scripts/zones/The_Boyahda_Tree/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMo... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Aw_zdei.lua | 19 | 1909 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- MOB: Aw'Zdei
-- Animation Sub 0 Pot Form
-- Animation Sub 1 Pot Form (reverse eye position)
-- Animation Sub 2 Bar Form
-- Animation Sub 3 Ring Form
-----------------------------------
require("scripts/globals/status");
---------------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Norg/npcs/Colleraie.lua | 38 | 1028 | -----------------------------------
-- Area: Norg
-- NPC: Colleraie
-- Type: Event Scene Replayer
-- @zone: 252
-- @pos -24.684 0.097 -39.409
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
---------------------... | gpl-3.0 |
Vadavim/test | scripts/zones/Mhaura/npcs/Nomad_Moogle.lua | 34 | 1116 | -----------------------------------
-- Area: Mhaura
-- NPC: Nomad Moogle
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/settings");
------------------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Cloister_of_Tides/npcs/Water_Protocrystal.lua | 17 | 1880 | -----------------------------------
-- Area: Cloister of Tides
-- NPC: Water Protocrystal
-- Involved in Quests: Trial by Water, Trial Size Trial by Water
-- @pos 560 36 560 211
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Tides/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Windurst_Waters/npcs/Gantineux.lua | 14 | 2525 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Gantineux
-- Starts Quest: Acting in Good Faith
-- @zone 238
-- @pos -83 -9 3
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
mwharris1313/serval | img/sheet128.lua | 4 | 13968 | local options =
{
frames =
{
{x=0,y=0,width=128,height=128,}, -- frame 1
{x=128,y=0,width=128,height=128,}, -- frame 2
{x=256,y=0,width=128,height=128,}, -- frame 3
{x=384,y=0,width=128,height=128,}, -- frame 4
{x=512,y=0,width=128,height=128,}, -- frame 5
{x=640,y=0,width=128,height=128,}... | apache-2.0 |
otservme/global1041 | data/npc/scripts/Isimov.lua | 1 | 5598 | 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) npcHan... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.