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 |
|---|---|---|---|---|---|
Fenix-XI/Fenix | scripts/globals/items/silver_shark.lua | 18 | 1319 | -----------------------------------------
-- ID: 4451
-- Item: silver_shark
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Jugner_Forest/npcs/Takamoto_IM.lua | 13 | 3315 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Takamoto, I.M.
-- Outpost Conquest Guards
-- @pos 60.087 -0.602 -11.847 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
requi... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/npcs/_20d.lua | 11 | 1240 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- Door: Gilded Doors (South)
-- !pos 180 0 -39 62 72
-----------------------------------
require("scripts/globals/keyitems")
local ID = require("scripts/zones/Alzadaal_Undersea_Ruins/IDs")
-----------------------------------
function onTrigger(playe... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Temenos/mobs/Cryptonberry_Skulker.lua | 7 | 1127 | -----------------------------------
-- Area: Temenos N T
-- NPC: Cryptonberry_Skulker
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
------------------------... | gpl-3.0 |
fegimanam/smp | bot/bot.lua | 2 | 7098 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '0.14.6'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
r... | gpl-2.0 |
8devices/carambola2-luci | protocols/ppp/luasrc/model/cbi/admin_network/proto_l2tp.lua | 59 | 1868 | --[[
LuCI - Lua Configuration Interface
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://www.apache.org/licenses/LICENSE-2.0
]]--
local ma... | apache-2.0 |
Fenix-XI/Fenix | scripts/zones/Windurst_Walls/npcs/HomePoint#2.lua | 27 | 1270 | -----------------------------------
-- Area: Windurst Walls
-- NPC: HomePoint#2
-- @pos -212 0.001 -99 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Walls/TextIDs");
require("scripts/globals/h... | gpl-3.0 |
maikerumine/extreme_survival_mini | mods/tnt/init.lua | 1 | 9942 | --[[
-- Default to enabled in singleplayer and disabled in multiplayer
local singleplayer = minetest.is_singleplayer()
local setting = minetest.setting_getbool("enable_tnt")
if (not singleplayer and setting ~= true) or
(singleplayer and setting == false) then
return
end
]]
-- loss probabilities array (one in X will ... | lgpl-2.1 |
DarkstarProject/darkstar | scripts/globals/spells/bluemagic/infrasonics.lua | 12 | 1346 | -----------------------------------------
-- Spell: Infrasonics
-- Lowers the evasion of enemies within a fan-shaped area originating from the caster
-- Spell cost: 42 MP
-- Monster Type: Lizards
-- Spell Type: Magical (Ice)
-- Blue Magic Points: 4
-- Stat Bonus: INT+1
-- Level: 65
-- Casting Time: 5 seconds
-- Recast ... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/items/bowl_of_moogurt.lua | 18 | 1371 | -----------------------------------------
-- ID: 5935
-- Item: Bowl of Moogurt
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP % 20 Cap 20
-- Vitality 3
-- HP Healing 3
-----------------------------------------
require("scripts/globals/status");
---------------------------------------... | gpl-3.0 |
perfectstrong/Puzzle17 | globalData.lua | 1 | 1654 | --[[This contains all global parameters]]
local M = {}
-- Font overall
M.font = {
default = "InknutAntiqua-Light.ttf",
defaultBold = "InknutAntiqua-ExtraBold.ttf",
size = {
normal = display.contentHeight * 0.03,
large = display.contentHeight * 0.05,
xlarge = display.contentHeight * 0.075,
small = display.c... | mit |
Fenix-XI/Fenix | scripts/zones/Port_Windurst/npcs/Shanruru.lua | 13 | 2884 | -----------------------------------
-- Area: Port Windurst
-- NPC: Shanruru
-- Involved in Quest: Riding on the Clouds
-- @zone 240
-- @pos -1 -6 187
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
asdofindia/prosody-modules | mod_sift/mod_sift.lua | 32 | 6448 |
local st = require "util.stanza";
local jid_bare = require "util.jid".bare;
-- advertise disco features
module:add_feature("urn:xmpp:sift:1");
-- supported features
module:add_feature("urn:xmpp:sift:stanzas:iq");
module:add_feature("urn:xmpp:sift:stanzas:message");
module:add_feature("urn:xmpp:sift:stanzas:presence"... | mit |
oTibia/UnderLight-AK47 | data/npc/scripts/runes.lua | 2 | 1532 | -- This is an example NPC script that can be used on Jiddo's NPC system
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
-- OTServ event handling functions start
function onCreatureAppear(cid) npcHandler:onCreatureAppear... | gpl-2.0 |
gamenew09/GMod-Jailbreak | gamemode/init.lua | 1 | 7485 | include("shared.lua")
local PLAYER = getmetatable("Player")
local SpawnPoints = {
{
ClassName = "info_player_terrorist",
Team = 1
},
{
ClassName = "info_player_counterterrorist",
Team = 2
}
}
AddCSLuaFile( "cl_init.lua" ) -- Make sure clientside
AddCSLuaFile( "shared.lua" ) -- and shared scripts are sen... | gpl-2.0 |
SkzKatsushiro/OpenRA | lua/stacktraceplus.lua | 59 | 12006 | -- tables
local _G = _G
local string, io, debug, coroutine = string, io, debug, coroutine
-- functions
local tostring, print, require = tostring, print, require
local next, assert = next, assert
local pcall, type, pairs, ipairs = pcall, type, pairs, ipairs
local error = error
assert(debug, "debug table must be availa... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Grand_Palace_of_HuXzoi/mobs/Ixaern_MNK.lua | 9 | 2302 | -----------------------------------
-- Area: Grand Palace of HuXzoi
-- Mob: Ix'aern MNK
-----------------------------------
local ID = require("scripts/zones/Grand_Palace_of_HuXzoi/IDs");
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
function onMobSpawn(mo... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/items/hedgehog_pie.lua | 18 | 1973 | -----------------------------------------
-- ID: 5146
-- Item: hedgehog_pie
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 55
-- Strength 6
-- Vitality 2
-- Intelligence -3
-- Mind 3
-- Magic Regen While Healing 2
-- Attack % 18
-- Attack Cap 90
-- Accuracy 5
-- Ranged ATT % 18
--... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Southern_San_dOria/npcs/Diary.lua | 9 | 2458 | -----------------------------------
-- Area: South San d'Oria
-- NPC: Diary
-- Involved in Quest: To Cure a Cough, Over The Hills And Far Away
-- !pos -75 -12 65 230
-----------------------------------
require("scripts/globals/settings")
require("scripts/globals/quests")
-----------------------------------
function o... | gpl-3.0 |
crunchuser/prosody-modules | mod_lastlog/mod_lastlog.lua | 32 | 2636 | local datamanager = require "util.datamanager";
local jid = require "util.jid";
local time = os.time;
local log_ip = module:get_option_boolean("lastlog_ip_address", false);
local host = module.host;
module:hook("authentication-success", function(event)
local session = event.session;
if session.username then
datama... | mit |
Fenix-XI/Fenix | scripts/zones/Aht_Urhgan_Whitegate/npcs/HomePoint#1.lua | 27 | 1295 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: HomePoint#1
-- @pos -21.129 0.001 -20.944 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
r... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/items/plate_of_squid_sushi_+1.lua | 17 | 1540 | -----------------------------------------
-- ID: 5162
-- Item: plate_of_squid_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 30
-- Dexterity 6
-- Agility 5
-- Accuracy % 16
-- Ranged ACC % 16
-- Sleep Resist 5
-----------------------------------------
require("scripts/glo... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Upper_Jeuno/npcs/_6s1.lua | 13 | 4078 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Marble Bridge Eatery (Door)
-- @pos -96.6 -0.2 92.3 244
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/miss... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/West_Sarutabaruta/npcs/Signpost.lua | 13 | 1933 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Signpost (18 total)
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/West_Sarutabaruta/TextIDs");
-----------------------------------
-... | gpl-3.0 |
wangg12/fbcunn | fbcunn/AbstractParallel.lua | 8 | 7985 | -- Copyright 2004-present Facebook. All Rights Reserved.
require('cutorch')
local withDevice = cutorch.withDevice
local gpu_local_copy_buffers = {}
--[[
`nn.AbstractParallel` is the base class for modules controlling
data/model-parallel behaviour in Torch.
The key concept is that data/model-parallelism _splits_ a... | bsd-3-clause |
DarkstarProject/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Komalata.lua | 11 | 1326 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Komalata
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Tavnazian_Safehold/IDs")
require("scripts/globals/missions")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
function ... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/King_Ranperres_Tomb/mobs/Vrtra.lua | 10 | 1801 | -----------------------------------
-- Area: King Ranperre's Tomb
-- NM: Vrtra
-----------------------------------
require("scripts/globals/status")
require("scripts/globals/titles")
-----------------------------------
local offsets = {1, 3, 5, 2, 4, 6}
function onMobEngaged(mob, target)
mob:resetLocalVars()
en... | gpl-3.0 |
alonikomax/RocketUp | liberies/anim8.lua | 1 | 8488 | local anim8 = {
_VERSION = 'anim8 v2.3.0',
_DESCRIPTION = 'An animation library for LÖVE',
_URL = 'https://github.com/kikito/anim8',
_LICENSE = [[
MIT LICENSE
Copyright (c) 2011 Enrique García Cota
Permission is hereby granted, free of charge, to any person obtaining a
copy of th... | mit |
DarkstarProject/darkstar | scripts/globals/spells/cure_iv.lua | 6 | 4999 | -----------------------------------------
-- Spell: Cure IV
-- Restores target's HP.
-----------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------------
function onMagi... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Windurst_Woods/npcs/Bopa_Greso.lua | 9 | 1153 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Bopa Greso
-- Type: Standard NPC
-- !pos 59.773 -6.249 216.766 241
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
require("scripts/globals/quests")
-----------------------------------
function onTra... | gpl-3.0 |
marcel-sch/luci | applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config.lua | 61 | 1072 | -- Copyright 2009 Daniel Dickinson
-- Licensed to the public under the Apache License 2.0.
require("luci.controller.luci_diag.devinfo_common")
m = Map("luci_devinfo", translate("SIP Device Scanning Configuration"), translate("Configure scanning for supported SIP devices on specified networks. Decreasing \'Timeout\', ... | apache-2.0 |
ungarscool1/HL2RP | hl2rp/gamemode/modules/language/sh_interface.lua | 13 | 4169 | DarkRP.addLanguage = DarkRP.stub{
name = "addLanguage",
description = "Create a language/translation.",
parameters = {
{
name = "Language name",
description = "The short name of the language (\"en\" is English). Make sure the language name fits a possible value for gmod_langu... | agpl-3.0 |
8devices/carambola2-luci | applications/luci-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua | 78 | 1089 | --[[
Luci configuration model for statistics - collectd interface plugin configuration
(c) 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://ww... | apache-2.0 |
marcel-sch/luci | protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_ppp.lua | 47 | 3692 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local device, username, password
local ipv6, defaultroute, metric, peerdns, dns,
keepalive_failure, keepalive_interval, demand, mtu
device = section:taboption("general", Value... | apache-2.0 |
Fenix-XI/Fenix | scripts/zones/Qufim_Island/npcs/Matica_RK.lua | 13 | 3323 | -----------------------------------
-- Area: Qufim Island
-- NPC: Matica, R.K.
-- Type: Border Conquest Guards
-- @pos 179.093 -21.575 -15.282 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
re... | gpl-3.0 |
gdewald/Sputter | dev/premake/premake/tests/test_string.lua | 84 | 1550 | --
-- tests/test_string.lua
-- Automated test suite for the new string functions.
-- Copyright (c) 2008 Jason Perkins and the Premake project
--
T.string = { }
--
-- string.endswith() tests
--
function T.string.endswith_ReturnsTrue_OnMatch()
test.istrue(string.endswith("Abcdef", "def"))
end
function T.strin... | mit |
gdewald/Sputter | dev/premake/premake/tests/actions/vstudio/vc2010/test_filters.lua | 47 | 4151 | --
-- tests/actions/vstudio/vc2010/test_filters.lua
-- Validate generation of filter blocks in Visual Studio 2010 C/C++ projects.
-- Copyright (c) 2011 Jason Perkins and the Premake project
--
T.vs2010_filters = { }
local suite = T.vs2010_filters
local vc2010 = premake.vstudio.vc2010
--
-- Setup/teardown
--
lo... | mit |
crunchuser/prosody-modules | mod_statsd/mod_statsd.lua | 32 | 2429 | -- Log common stats to statsd
--
-- Copyright (C) 2014 Daurnimator
--
-- This module is MIT/X11 licensed.
local socket = require "socket"
local iterators = require "util.iterators"
local jid = require "util.jid"
local options = module:get_option("statsd") or {}
-- Create UDP socket to statsd server
local sock = sock... | mit |
Fenix-XI/Fenix | scripts/globals/items/bowl_of_witch_stew.lua | 18 | 1449 | -----------------------------------------
-- ID: 4344
-- Item: witch_stew
-- Food Effect: 4hours, All Races
-----------------------------------------
-- Magic Points 45
-- Strength -1
-- Mind 4
-- MP Recovered While Healing 4
-- Enmity -4
-----------------------------------------
require("scripts/globals/status");
--... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Lower_Jeuno/npcs/Zauko.lua | 1 | 5484 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Zauko
-- Involved in Quests: Save the Clock Tower, Community Service
-- @zone 245
-- @pos -3 0 11
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globals/settings"] = nil;
-----------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Upper_Jeuno/npcs/Zekobi-Morokobi.lua | 13 | 1053 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Zekobi-Morokobi
-- Type: Standard NPC
-- @zone: 244
-- @pos 41.258 -5.999 -74.105
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------... | gpl-3.0 |
eugeneia/snabbswitch | lib/ljsyscall/syscall/netbsd/fcntl.lua | 24 | 1318 | -- NetBSD fcntl
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string =
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string
local function init(types)
local c = require... | apache-2.0 |
Fenix-XI/Fenix | scripts/zones/Cape_Teriggan/npcs/Salimardi_RK.lua | 13 | 3309 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: Bright Moon
-- Type: Outpost Conquest Guards
-- @pos -185 7 -63 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
require("scri... | gpl-3.0 |
U-MA/mal | lua/step9_try.lua | 40 | 5971 | #!/usr/bin/env lua
local table = require('table')
local readline = require('readline')
local utils = require('utils')
local types = require('types')
local reader = require('reader')
local printer = require('printer')
local Env = require('env')
local core = require('core')
local List, Vector, HashMap = types.List, typ... | mpl-2.0 |
DarkstarProject/darkstar | scripts/globals/aftermath.lua | 11 | 15721 | -----------------------------------
-- Aftermath handling
-----------------------------------
require("scripts/globals/common")
require("scripts/globals/status")
require("scripts/globals/weaponskillids")
dsp = dsp or {}
dsp.aftermath = {}
dsp.aftermath.type =
{
RELIC = 1,
MYTHIC = 2,
EMPYREAN = 3,
}... | gpl-3.0 |
dualface/killpests | src/framework/cc/components/behavior/StateMachine.lua | 22 | 9185 |
local Component = import("..Component")
local StateMachine = class("StateMachine", Component)
--[[--
port from Javascript State Machine Library
https://github.com/jakesgordon/javascript-state-machine
JS Version: 2.2.0
]]
StateMachine.VERSION = "2.2.0"
-- the event transitioned successfully from one state to ano... | mit |
Giorox/AngelionOT-Repo | data/actions/scripts/doc.lua | 1 | 1046 | local config = {
small_diamond_id = 2145,
documents = {7844, 7845, 7846}, -- follower, officer, leader
}
local levers = {
[15051] = {pos = {x=32784,y=32229,z=14}, item = config.documents[1]},
[15052] = {pos = {x=32782,y=32225,z=14}, item = config.documents[2]},
[15053] = {pos = {x=32785,y=32223,z=14}, item = conf... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Port_San_dOria/npcs/Fiva.lua | 12 | 1856 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Fiva
-- Only sells when San d'Oria controls Kolshushu
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/g... | gpl-3.0 |
Giorox/AngelionOT-Repo | data/actions/scripts/quests/dcq_dead.lua | 1 | 1210 | local config = {
storage = 16440,
key_id = 1988 -- Key ID
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerStorageValue(cid, config.storage) == -1 then
setPlayerStorageValue(cid, config.storage, 1)
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "Yo... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Port_San_dOria/npcs/Meta.lua | 13 | 1352 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Meta
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextIDs");
-----... | gpl-3.0 |
SamuelePilleri/sysdig | userspace/sysdig/chisels/echo_fds.lua | 6 | 4115 | --[[
Copyright (C) 2013-2014 Draios inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without e... | gpl-2.0 |
dios-game/dios | templates/lua_cocos/resources/src/cocos/network/DeprecatedNetworkFunc.lua | 61 | 1123 | if nil == cc.XMLHttpRequest then
return
end
--tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of WebSocket will be deprecated begin
local targetPlatform = CCApplication:getInstance():get... | mit |
chucksellick/factorio-bad-chest | src/prototypes/entities.lua | 1 | 5492 | data:extend({
{
type = "smart-container",
name = "blueprint-deployer",
icon = "__recursive-blueprints__/graphics/blueprint-deployer-icon.png",
flags = {"placeable-player", "player-creation"},
minable = {hardness = 0.2, mining_time = 0.5, result = "blueprint-deployer"},
max_health = 150,
co... | mit |
DarkstarProject/darkstar | scripts/zones/Horlais_Peak/bcnms/hostile_herbivores.lua | 9 | 1066 | -----------------------------------
-- Hostile Herbivores
-- Horlais Peak BCNM50, Comet Orb
-- !additem 1177
-----------------------------------
require("scripts/globals/battlefield")
-----------------------------------
function onBattlefieldInitialise(battlefield)
battlefield:setLocalVar("loot", 1)
end
function ... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Meriphataud_Mountains/npcs/Akane_IM.lua | 13 | 3343 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Akane, I.M.
-- Type: Outpost Conquest Guards
-- @pos -294.470 15.806 420.117 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Qulun_Dome/npcs/qm1.lua | 13 | 1386 | -----------------------------------
-- Area: Qulun Dome
-- NPC: qm1 (???)
-- Used In Quest: Whence Blows the Wind
-- @pos 261 39 79 148
-----------------------------------
package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scrip... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Mount_Zhayolm/npcs/Bapokk.lua | 13 | 1456 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: Bapokk
-- Handles access to Alzadaal Ruins
-- @pos -20 -6 276 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mount_Zhayolm/TextIDs");
----... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Northern_San_dOria/npcs/Olbergieut.lua | 12 | 2339 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Olbergieut
-- Type: Quest NPC
-- @zone 231
-- @pos 91 0 121
--
-- Starts and Finishes Quest: Gates of Paradise
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-------------------------------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Northern_San_dOria/npcs/Aivedoir.lua | 13 | 1041 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Aivedoir
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos -123.119 7.999 134.490
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs")... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/San_dOria-Jeuno_Airship/npcs/qm1.lua | 11 | 1036 | -----------------------------------
-- Area: San d'Oria-Jeuno Airship
-- NPC: ???
-- Involved In Quest: The Stars Of Ifrit
-- !pos -9 -5 -13 223
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/keyitems");
require("scripts/globals/weather");
local ID = require("scripts/zo... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Northern_San_dOria/npcs/Guilerme.lua | 11 | 1569 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Guillerme
-- Involved in Quest: Rosel the Armorer
-- !pos -4.500 0.000 99.000 231
-----------------------------------
local ID = require("scripts/zones/Northern_San_dOria/IDs");
require("scripts/globals/settings");
require("scripts/globals/title... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Eastern_Altepa_Desert/npcs/qm.lua | 13 | 1620 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: ???
-- Involved In Quest: A Craftsman's Work
-- @pos 113 -7.972 -72 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setti... | gpl-3.0 |
alirezadeadly/sers | plugins/IP.lua | 6 | 4751 | local function run(msg, matches)
if matches[1]:lower() == "config" then
local data = http.request("http://ip-api.com/json/"..URL.escape(matches[2]).."?fields=262143")
local jdat = JSON.decode(data)
if jdat.status == "success" then
local text = "مشخصات آی اس پی شخص-دامنه مورد نظر:\n"
.."کشور: "... | gpl-2.0 |
dualface/killpests | src/framework/cc/init.lua | 19 | 2233 | --[[
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... | mit |
mrgloom/gtsrb.torch | dataset.lua | 1 | 7573 | local pl = (require 'pl.import_into')()
require 'torch'
require 'image'
torch.setdefaulttensortype('torch.FloatTensor')
local dataset = {}
-- Private function declaration
local generate_dataset
local prune_dataset
-- These paths should not be changed
dataset.path_remote_train = "http://benchmark.ini.rub.de/Dataset... | mit |
DarkstarProject/darkstar | scripts/globals/weaponskills/mystic_boon.lua | 10 | 1835 | -----------------------------------
-- Mystic Boon
-- Club weapon skill
-- Skill level: N/A
-- Converts damage dealt to own MP. Damage varies with TP. Yagrush: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (White Mage) quest.
-- Damage is significantly affected by Attack. Veri... | gpl-3.0 |
spamn/lain | widget/contrib/tpbat/init.lua | 2 | 4934 | --[[
tpbat.lua
Battery status widget for ThinkPad laptops that use SMAPI
lain.widget.contrib.tpbat
More on tp_smapi: http://www.thinkwiki.org/wiki/Tp_smapi
Licensed under GNU General Public License v2
* (c) 2013, Conor Heine
* (c) 2013, Luke Bonham
* (c) 2010-2012... | gpl-2.0 |
Fenix-XI/Fenix | scripts/globals/spells/bluemagic/blitzstrahl.lua | 25 | 1897 | -----------------------------------------
-- 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 |
DarkstarProject/darkstar | scripts/zones/PsoXja/npcs/_i98.lua | 9 | 1161 | -----------------------------------
-- Area: Pso'Xja
-- NPC: Stone Gate
-----------------------------------
local ID = require("scripts/zones/PsoXja/IDs");
require("scripts/globals/missions");
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigger(player,npc)
if (player:ge... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/mobskills/head_butt_turtle.lua | 11 | 1053 | ---------------------------------------------------
-- Head Butt (Adamantoise)
-- Deals damage to single target. Additional effects: Accuracy Down and large knockback
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monst... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/spells/bluemagic/bomb_toss.lua | 12 | 1246 | -----------------------------------------
-- Spell: Bomb Toss
-- Throws a bomb at an enemy
-- Spell cost: 42 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 3
-- Stat Bonus: STR+2
-- Level: 28
-- Casting Time: 3.75 seconds
-- Recast Time: 24.5 seconds
-- Magic Bursts on: Liquefaction, F... | gpl-3.0 |
botFree/botFree | lock_bot.lua | 2 | 3089 | --[[
_ _ _ _ ___ ___ _
__ _| |__ ___ ___| | ___ __ ___ _ __ (_) __ _ / |/ _ \ / _ \| | __
/ _` | '_ \ / _ \/ __| |/ / '__/ _ \| '_ \ | |/ _` | | | | | | | | | |/ /
| (_| | |_) | (_) \__ \ <| | | (_) | |_) | | | (_| | | | |_| | |_| | < ... | gpl-2.0 |
Fenix-XI/Fenix | scripts/zones/Outer_Horutoto_Ruins/npcs/_ne4.lua | 13 | 2994 | -----------------------------------
-- Area: Outer Horutoto Ruins
-- NPC: Strange Apparatus
-- @pos: -574 0 739 194
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
require("scripts/zones/Outer_Horutoto_Ruins/TextIDs");
require("scripts/globals/strangeapparatus")... | gpl-3.0 |
vlinhd11/vlinhd11-android-scripting | lua/luasocket/samples/lpr.lua | 59 | 1574 | local lp = require("socket.lp")
local function usage()
print('\nUsage: lua lpr.lua [filename] [keyword=val...]\n')
print('Valid keywords are :')
print(
' host=remote host or IP address (default "localhost")\n' ..
' queue=remote queue or printer name (default "printer")\n' ..
' port=remote port ... | apache-2.0 |
DarkstarProject/darkstar | scripts/zones/Apollyon/mobs/Apollyon_Cleaner.lua | 9 | 1201 | -----------------------------------
-- Area: Apollyon NE
-- Mob: Apollyon Cleaner
-----------------------------------
require("scripts/globals/limbus");
-----------------------------------
function onMobDeath(mob, player, isKiller)
end;
function onMobDespawn(mob)
local mobID = mob:getID();
-- print(mobID);
l... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Yuhtunga_Jungle/IDs.lua | 8 | 4606 | -----------------------------------
-- Area: Yuhtunga_Jungle
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.YUHTUNGA_JUNGLE] =
{
text =
{
NOTHING_HAPPENS = 119, -- Nothing happens...
ITEM_... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Sanraku.lua | 9 | 9782 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Sanraku
-- Type: Zeni NM pop item and trophy management.
-- !pos -125.724 0.999 22.136 50
-----------------------------------
require("scripts/globals/keyitems")
require("scripts/globals/besieged")
local ID = require("scripts/zones/Aht_Urhgan_Wh... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Southern_San_dOria_[S]/npcs/_6eo.lua | 31 | 1367 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Door:House
-- @zone 80
-- @pos 148 0 27
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/globals/quests");
require("scripts/globals/settings");
---------------------------... | gpl-3.0 |
exhu/miod | notes/expr_model.lua | 1 | 3546 | --[[
Modelling compile-time expression evaluation.
--]]
local pp = require 'pp'
local M = {}
-- utils --
local function enum(t)
local newt = {}
for i = 1, #t do
newt[t[i]] = i
end
return newt
end
-- === ---
-- constant folding phase, compile-time evaluation of expressions
-- 'value' means ... | mit |
Fenix-XI/Fenix | scripts/zones/Windurst_Woods/Zone.lua | 26 | 2352 | -----------------------------------
--
-- Zone: Windurst_Woods (241)
--
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/events/harvest_festivals");
require("scripts/globals/zone");
require("scripts/globals/se... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Al_Zahbi/npcs/Mihli_Aliapoh.lua | 13 | 1049 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Mihli Aliapoh
-- Type: Waterserpent General
-- @zone: 48
-- @pos -22.615 -7 78.907
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
---------------... | gpl-3.0 |
grmss214/shg | plugins/inrealm.lua | 850 | 25085 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
sina021/bottg | plugins/inrealm.lua | 850 | 25085 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
aqasaeed/w | plugins/inrealm.lua | 850 | 25085 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
Fenix-XI/Fenix | scripts/zones/Port_Windurst/npcs/Pichichi.lua | 13 | 2775 | -----------------------------------
-- Area: Port Windurst
-- NPC: Pichichi
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/Port_Windurst/T... | gpl-3.0 |
dualface/killpests | src/framework/cocos2dx.lua | 18 | 1999 | --[[
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... | mit |
Fenix-XI/Fenix | scripts/globals/weaponskills/tachi_jinpu.lua | 11 | 1398 | -----------------------------------
-- Tachi Jinpu
-- Great Katana weapon skill
-- Skill level: 150
-- Two-hit attack. Deals Physical and wind elemental damage to enemy. Additonal Effect Damage varies with TP.
-- Will stack with Sneak Attack and Souleater.
-- Aligned with the Breeze Gorget & Shadow Gorget.
-- Aligned w... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Norg/npcs/Magephaud.lua | 17 | 2210 | -----------------------------------
-- Area: Norg
-- NPC: Magephaud
-- Standard Info NPC
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
EveryonesGrudge = player:getQuestStatus(OUTLANDS,EVERYONES_GRUDG... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/items/bowl_of_cursed_soup.lua | 11 | 1308 | -----------------------------------------
-- ID: 4235
-- Item: Bowl of Cursed Soup
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength -7
-- Dexterity -7
-- Agility -7
-- Vitality -7
-- Intelligence -7
-- Mind -7
-- Charisma -7
-----------------------------------------
require("scrip... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Dynamis-Tavnazia/Zone.lua | 13 | 2401 | -----------------------------------
--
-- Zone: Dynamis-Tavnazia
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Dynamis-Tavnazia/TextIDs"] = nil;
require("scripts/zones/Dynamis-Tavnazia/TextIDs");
-----------------------------------
-- onInitialize
-------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/mobskills/Glacier_Splitter.lua | 33 | 1074 | ---------------------------------------------
-- Glacier Splitter
--
-- Description: Cleaves into targets in a fan-shaped area. Additional effect: Paralyze
-- Type: Physical
-- Utsusemi/Blink absorb: 1-3 shadows
-- Range: Unknown cone
-- Notes: Only used the Aern wielding a sword (RDM, DRK, and PLD).
------------... | gpl-3.0 |
asdofindia/prosody-modules | mod_http_index/mod_http_index.lua | 31 | 3606 | local st = require "util.stanza";
local url = require"socket.url";
module:depends"http";
-- local dump = require"util.serialization".new"dump".serialize;
local function template(data)
--[[ DOC
Like util.template, but deals with plain text
Returns a closure that is called with a table of values
{name} is substitu... | mit |
tcatm/luci | applications/luci-app-multiwan/luasrc/controller/multiwan.lua | 62 | 1929 | module("luci.controller.multiwan", package.seeall)
function index()
local fs = require "nixio.fs"
if not fs.access("/etc/config/multiwan") then
return
end
local page
page = entry({"admin", "network", "multiwan"}, cbi("multiwan/multiwan"), _("Multi-WAN"))
page.dependent = true
entry({"admin", "network", "m... | apache-2.0 |
emender/emender | src/writers/messageWriter.lua | 1 | 2817 | -- messageWriter.lua - a writer for the very simple summary plain text file format
-- Copyright (C) 2014 - 2017 Pavel Tisnovsky
-- This file is part of Emender.
-- 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
-- F... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Waughroon_Shrine/bcnms/operation_desert_swarm.lua | 9 | 1077 | -----------------------------------
-- Operation Desert Storm
-- Waughroon Shrine KSNM30, Lachesis Orb
-- !additem 1178
-----------------------------------
require("scripts/globals/battlefield")
-----------------------------------
function onBattlefieldInitialise(battlefield)
battlefield:setLocalVar("loot", 1)
end... | gpl-3.0 |
soheildiscover/soheil | plugins/media.lua | 376 | 1679 | do
local function run(msg, matches)
local receiver = get_receiver(msg)
local url = matches[1]
local ext = matches[2]
local file = download_to_file(url)
local cb_extra = {file_path=file}
local mime_type = mimetype.get_content_type_no_sub(ext)
if ext == 'gif' then
print('send_file')
send_docum... | gpl-2.0 |
Fenix-XI/Fenix | scripts/zones/Windurst_Waters/npcs/Cochal-Monchal.lua | 13 | 1597 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Cochal-Monchal
-- Involved in Quest: Dark Legacy
-- @zone 238
-- @pos -52 -6 110
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings... | gpl-3.0 |
marcel-sch/luci | libs/luci-lib-nixio/docsrc/nixio.File.lua | 173 | 4457 | --- Large File Object.
-- Large file operations are supported up to 52 bits if the Lua number type is
-- double (default).
-- @cstyle instance
module "nixio.File"
--- Write to the file descriptor.
-- @class function
-- @name File.write
-- @usage <strong>Warning:</strong> It is not guaranteed that all data
-- in the bu... | apache-2.0 |
jeiboor/nod32bot | plugins/plugins.lua | 1 | 6390 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists(... | gpl-2.0 |
Fenix-XI/Fenix | scripts/globals/weaponskills/armor_break.lua | 10 | 1754 | -----------------------------------
-- Armor Break
-- Great Axe weapon skill
-- Skill level: 100
-- Lowers enemy's defense. Duration of effect varies with TP.
-- Lowers defense by as much as 25% if unresisted.
-- Strong against: Antica, Bats, Cockatrice, Dhalmel, Lizards, Mandragora, Worms.
-- Immune: Ahriman.
-- Will ... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.