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 |
|---|---|---|---|---|---|
maikuru23/darkstar | scripts/zones/West_Sarutabaruta_[S]/npcs/Harvesting_Point.lua | 6 | 1135 | -----------------------------------
-- Area: West Sarutabaruta [S]
-- NPC: Harvesting Point
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/West_Saruta... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/items/sprig_of_cibol.lua | 35 | 1209 | -----------------------------------------
-- ID: 5234
-- Item: sprig_of_cibol
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Western_Adoulin/npcs/Dangueubert.lua | 14 | 1682 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Dangueubert
-- Type: Standard NPC and Quest NPC
-- Involved with Quest: 'A Certain Substitute Patrolman'
-- @zone 256
-- @pos 5 0 -136 256
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/quests")... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/spells/armys_paeon.lua | 27 | 1361 | -----------------------------------------
-- Spell: Army's Paeon
-- Gradually restores target's HP.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targe... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/items/cobalt_jellyfish.lua | 12 | 1342 | -----------------------------------------
-- ID: 4443
-- Item: cobalt_jellyfish
-- Food Effect: 5 Min, Mithra only
-----------------------------------------
-- Dexterity 1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/items/chocolate_rusk.lua | 12 | 1390 | -----------------------------------------
-- ID: 5783
-- Item: chocolate_rusk
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- Increases rate of high-quality synthesis. (?)
-- Reduces chance of synthesis material loss. (?)
-----------------------------------------
require("scripts/globals... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Yuhtunga_Jungle/npcs/Luck_Rune.lua | 14 | 1060 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Luck Rune
-- Involved in Quest: Mhaura Fortune
-- @pos -95.486 11.188 418.153 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Yuht... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/items/m&p_dumpling.lua | 36 | 1210 | -----------------------------------------
-- ID: 5641
-- Item: M&P Dumpling
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Intelligence 5
-- Agility -5
-- MP 30
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
either1/prosody-modules | mod_s2s_auth_fingerprint/mod_s2s_auth_fingerprint.lua | 31 | 1380 | -- Copyright (C) 2013-2014 Kim Alvefur
-- This file is MIT/X11 licensed.
module:set_global();
local digest_algo = module:get_option_string(module:get_name().."_digest", "sha1");
local fingerprints = {};
local function hashprep(h)
return tostring(h):gsub(":",""):lower();
end
local function hashfmt(h)
return h:gsu... | mit |
UnknownX7/darkstar | scripts/zones/East_Ronfaure_[S]/npcs/qm5.lua | 29 | 1559 | -----------------------------------
-- Area: East Ronfaure [S]
-- NPC: qm5 "???"
-- Involved in Quests: Steamed Rams
-- @pos 380.015 -26.5 -22.525
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems"... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/items/melon_pie_+1.lua | 35 | 1368 | -----------------------------------------
-- ID: 4523
-- Item: melon_pie_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 30
-- Intelligence 5
-- Magic Regen While Healing 2
-----------------------------------------
require("scripts/globals/status");
-----------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm19.lua | 57 | 2137 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm19 (??? - Bomb Coal Fragments)
-- Involved in Quest: In Defiant Challenge
-- @pos -50.175 6.264 251.669 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/effects/aftermath.lua | 30 | 2749 | -----------------------------------
--
-- EFFECT_AFTERMATH
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
local power = effect:getPower();
if (effect:g... | gpl-3.0 |
wland/quick3.6 | cocos/scripting/lua-bindings/auto/api/ReuseGrid.lua | 7 | 1060 |
--------------------------------
-- @module ReuseGrid
-- @extend ActionInstant
-- @parent_module cc
--------------------------------
-- brief Create an action with the number of times that the current grid will be reused.<br>
-- param times Specify times the grid will be reused.<br>
-- return Return a pointer of Reus... | mit |
UnknownX7/darkstar | scripts/zones/Buburimu_Peninsula/TextIDs.lua | 6 | 1886 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6414; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6420; -- Obtained: <item>.
GIL_OBTAINED = 6421; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6423; -- Obtained... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Windurst_Waters/npcs/Machitata.lua | 36 | 1704 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Machitata
-- Involved in Quest: Hat in Hand
-- Working 100%
-- @zone = 238
-- @pos = 163 0 -22
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
CuteOne/BadRotations | Rotations/Shaman/Restoration/MRestoKuu.lua | 1 | 91166 | local rotationName = "Kuu M+"
if br.shaman == nil then
br.shaman = {}
end
if br.shaman.resto == nil then
br.shaman.resto = {}
end
if br.shaman.resto["Healing Rain"] == nil then
br.shaman.resto["Healing Rain"] = 0
end
if br.shaman.resto["Earthen Wall Totem"] == nil then
br.shaman.resto["Earthen Wall Tote... | gpl-3.0 |
zhityer/zhityer40 | plugins/time.lua | 771 | 2865 | -- 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 |
Tatuy/UAServer | data/npc/FORGOTTENSERVER-ORTS/scripts/Skjaar.lua | 1 | 2574 | 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 |
mrexe1/GroupsManager | plugins/moderation.lua | 42 | 30441 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
UnknownX7/darkstar | scripts/zones/Davoi/npcs/Bernal.lua | 14 | 1152 | -----------------------------------
-- Area: Davoi
-- NPC: Bernal
-- @pos 177 -3 -127 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/zones/Davoi/... | gpl-3.0 |
hypebeast/hammerspoon | extensions/applescript/init.lua | 13 | 2635 | --- === hs.applescript ===
---
--- Execute AppleScript code
---
--- This module is based primarily on code from the previous incarnation of Mjolnir by [Steven Degutis](https://github.com/sdegutis/).
local module = require("hs.applescript.internal")
-- private variables and methods ------------------------------------... | mit |
UnknownX7/darkstar | scripts/zones/Port_Bastok/npcs/Mine_Konte.lua | 17 | 1124 | -----------------------------------
-- Area: Port Bastok
-- NPC: Mine Konte
-- Involved in Quest: Out of One's Shell
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Bastok_Markets/npcs/Zaira.lua | 15 | 1895 | -----------------------------------
-- Area: Batok Markets
-- NPC: Zaira
-- Standard Merchant NPC
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/zone... | gpl-3.0 |
wland/quick3.6 | quick/framework/cc/components/behavior/EventProtocol.lua | 10 | 5330 |
local Component = import("..Component")
local EventProtocol = class("EventProtocol", Component)
function EventProtocol:ctor()
EventProtocol.super.ctor(self, "EventProtocol")
self.listeners_ = {}
self.nextListenerHandleIndex_ = 0
end
function EventProtocol:addEventListener(eventName, listener, tag)
as... | mit |
vifino/ljwm | lua/xcb/raw.lua | 1 | 1199 | --- XCB FFI bindings. Or something.
-- Pretty much no convenience here, bare interface.
-- Probably not that great quality.
-- Contains some code from https://github.com/Wiladams/LJIT2XCB
-- Many thanks! ;)
local ffi = require("ffi")
-- Since we are modularized, load the defs and what not.
require("xcb.ffi_cdefs")
l... | mit |
maikuru23/darkstar | scripts/globals/items/dhalmel_steak.lua | 35 | 1391 | -----------------------------------------
-- ID: 4438
-- Item: dhalmel_steak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 4
-- Intelligence -1
-- Attack % 25
-- Attack Cap 45
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
zhityer/zhityer40 | plugins/rae.lua | 616 | 1312 | do
function getDulcinea( text )
-- Powered by https://github.com/javierhonduco/dulcinea
local api = "http://dulcinea.herokuapp.com/api/?query="
local query_url = api..text
local b, code = http.request(query_url)
if code ~= 200 then
return "Error: HTTP Connection"
end
dulcinea = json:decode(b)
... | gpl-2.0 |
UnknownX7/darkstar | scripts/zones/Windurst_Waters/npcs/Ohbiru-Dohbiru.lua | 28 | 12066 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ohbiru-Dohbiru
-- Involved in quest: Food For Thought, Say It with Flowers
-- Starts and finishes quest: Toraimarai Turmoil
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/globa... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/items/bowl_of_boiled_cockatrice.lua | 35 | 1750 | -----------------------------------------
-- ID: 4547
-- Item: Bowl of Boiled Cockatrice
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 5
-- Agility 2
-- Intelligence -1
-- Mind 1
-- Attack % 22
-- Attack Cap 60
-- Ranged ATT % 22
-- Ranged ATT Cap 60
--------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/abilities/box_step.lua | 14 | 7890 | -----------------------------------
-- Ability: Box Step
-- Lowers target's defense. If successful, you will earn two Finishing Moves.
-- Obtained: Dancer Level 30
-- TP Required: 10%
-- Recast Time: 00:05
-- Duration: First Step lasts 1 minute, each following Step extends its current duration by 30 seconds.
----------... | gpl-3.0 |
cuiqingwei1981/openwrt | feeds/luci/modules/rpc/luasrc/controller/rpc.lua | 70 | 4443 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | gpl-2.0 |
Coethium/server-minetestforfun | mods/mesecons/mesecons_insulated/init.lua | 8 | 2385 | function insulated_wire_get_rules(node)
local rules = {{x = 1, y = 0, z = 0},
{x =-1, y = 0, z = 0}}
if node.param2 == 1 or node.param2 == 3 then
return mesecon.rotate_rules_right(rules)
end
return rules
end
minetest.register_node("mesecons_insulated:insulated_on", {
drawtype = "nodebox",
description ... | unlicense |
maikuru23/darkstar | 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 |
UnknownX7/darkstar | scripts/globals/items/bowl_of_tomato_soup.lua | 12 | 1495 | -----------------------------------------
-- ID: 4420
-- Item: bowl_of_tomato_soup
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Agility 3
-- Vitality -1
-- HP Recovered While Healing 5
-- Ranged Accuracy % 9 (cap 15)
-----------------------------------------
require("scripts/globals/sta... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Castle_Oztroja/npcs/_m75.lua | 17 | 2229 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _m75 (Torch Stand)
-- Notes: Opens door _477 when _m72 to _m75 are lit
-- @pos -139.643 -72.113 -62.682 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
maikuru23/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 |
maikuru23/darkstar | scripts/globals/weaponskills/earth_crusher.lua | 6 | 1256 | -----------------------------------
-- Earth Crusher
-- Staff weapon skill
-- Skill Level: 70
-- Delivers an area of effect earth elemental attack. Damage varies with TP.
-- Aligned with the Breeze Gorget & Thunder Gorget.
-- Aligned with the Breeze Belt & Thunder Belt.
-- Element: Earth
-- Modifiers: S... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Lufaise_Meadows/npcs/Yoram_IM.lua | 8 | 2940 | -----------------------------------
-- Area: Lufaise Meadows
-- NPC: Yoram, I.M.
-- Outpost Conquest Guards
-- @pos -542.418 -7.124 -53.521 24
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
req... | gpl-3.0 |
maikuru23/darkstar | 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 |
UnknownX7/darkstar | scripts/zones/The_Boyahda_Tree/npcs/Grounds_Tome.lua | 30 | 1095 | -----------------------------------
-- Area: The Boyahda Tree
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Riverne-Site_A01/npcs/_0u3.lua | 19 | 1339 | -----------------------------------
-- Area: Riverne Site #A01
-- NPC: Unstable Displacement
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_A01/Text... | gpl-3.0 |
wangqi/gameserver | server/src/gensrc/lua/BceGuildBagTake_pb.lua | 1 | 1650 | -- Generated By protoc-gen-lua Do not Edit
local protobuf = require "protobuf"
module('BceGuildBagTake_pb', package.seeall)
local BCEGUILDBAGTAKE = protobuf.Descriptor();
local BCEGUILDBAGTAKE_GUILDID_FIELD = protobuf.FieldDescriptor();
local BCEGUILDBAGTAKE_INDEX_FIELD = protobuf.FieldDescriptor();
BCEGUILDBAGTAKE_... | apache-2.0 |
UnknownX7/darkstar | scripts/globals/items/bowl_of_miso_soup_+1.lua | 12 | 2119 | -----------------------------------------
-- ID: 6467
-- Item: bowl_of_miso_soup_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- HP +8% (cap 55)
-- DEX +5
-- AGI +5
-- Accuracy +11% (cap 45)
-- Attack +11% (cap 45)
-- Ranged Accuracy +11% (cap 45)
-- Ranged Attack +11% (cap 45)
--------... | gpl-3.0 |
cuiqingwei1981/openwrt | feeds/luci/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua | 141 | 1038 | --[[
smap_devinfo - SIP Device Information
(c) 2009 Daniel Dickinson
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
require("luci.i18n")
re... | gpl-2.0 |
UnknownX7/darkstar | scripts/zones/Selbina/npcs/Torapiont.lua | 17 | 1547 | -----------------------------------
-- Area: Selbina
-- NPC: Torapiont
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/shop");
--------------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Apollyon/mobs/Fir_Bholg.lua | 17 | 1394 | -----------------------------------
-- Area: Apollyon SW
-- NPC: Fir Bholg
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Sacrarium/npcs/Treasure_Chest.lua | 17 | 2934 | -----------------------------------
-- Area: Sacrarium
-- NPC: Treasure Chest
-- @zone 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure");
require("scripts/zones/Sa... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Eastern_Altepa_Desert/npcs/Field_Manual.lua | 29 | 1067 | -----------------------------------
-- Field Manual
-- Area: Eastern Altepa Desert
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
----------------------------... | gpl-3.0 |
omidgolmohammadi/omideblis | plugins/rules.lua | 43 | 2283 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
maikuru23/darkstar | scripts/globals/abilities/mug.lua | 4 | 1523 | -----------------------------------
-- Ability: Mug
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- OnUseAbility
-----------------------------------
function OnAbilityCheck(player,target,ability)
return 0,... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/mobskills/Wire_Cutter.lua | 6 | 1079 | ---------------------------------------------------
-- Wire_Cutter
-- Single-target damage (~500-1500), absorbed by 2 Utsusemi shadows.
--
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
... | gpl-3.0 |
UnknownX7/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 |
UnknownX7/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 |
uskdum/mermax | plugins/stats.lua | 2 | 4319 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
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.... | gpl-2.0 |
UnknownX7/darkstar | scripts/zones/Wajaom_Woodlands/mobs/Hydra.lua | 20 | 1298 | -----------------------------------
-- Area: Wajaom Woodlands
-- MOB: Hydra
-- @pos -282 -24 -1 51
-----------------------------------
require("scripts/globals/titles");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
function onMobFight(mo... | gpl-3.0 |
DengSir/tdBattlePetScript | Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua | 1 | 13892 |
-----------------------------------------------------------------------
-- LibDBIcon-1.0
--
-- Allows addons to easily create a lightweight minimap icon as an alternative to heavier LDB displays.
--
local DBICON10 = "LibDBIcon-1.0"
local DBICON10_MINOR = 43 -- Bump on changes
if not LibStub then error(DBICON... | mit |
AltraMayor/gatekeeper | lua/sol.lua | 3 | 1351 | return function (net_conf, sol_lcores)
--
-- Configure the variables below for the SOL block.
--
-- These parameters should likely be initially changed.
local log_level = staticlib.c.RTE_LOG_DEBUG
-- XXX #155 These parameters should only be changed for performance reasons.
local log_ratelimit_interval_ms = 50... | gpl-3.0 |
migmig00/lolo | 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 |
UnknownX7/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5ce.lua | 14 | 1070 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5ce (Gate of Earth)
-- @pos -228 0 140 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Inner_Horutoto_Ruins/TextIDs");
----... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Giddeus/npcs/HomePoint#1.lua | 27 | 1248 | -----------------------------------
-- Area: Giddeus
-- NPC: HomePoint#1
-- @pos -132 -3 -303 145
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Giddeus/TextIDs");
require("scripts/globals/homepoint");
----------... | gpl-3.0 |
maikuru23/darkstar | 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 |
maikuru23/darkstar | scripts/zones/Palborough_Mines/npcs/_3z7.lua | 14 | 1039 | -----------------------------------
-- Elevator in Palborough
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Palborough_Mines/T... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Abyssea-Grauberg/npcs/Dominion_Tactician.lua | 61 | 4431 | -----------------------------------
-- Area: Abyssea - Grauberg
-- NPC: Dominion Tactician
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/abyssea");
require("script... | gpl-3.0 |
druerridge/the-maestros | AI/Skirmish/Shard/dev/ai/ct/taskqueues.lua | 1 | 2619 | --[[
Task Queues!
]]--
math.randomseed( os.time() )
math.random(); math.random(); math.random()
taskqueues = {
bflagshipbase = {
"bengineer1",
"bengineer1",
"bengineer1",
"bengineer1",
"bengineer1",
"bengineer1",
"breztank",
},
bengineer1 = {
"bpowerplant",
"bmex",
"bpowerplant",
"bme... | gpl-2.0 |
UnknownX7/darkstar | scripts/globals/abilities/jump.lua | 14 | 2211 | -----------------------------------
-- Ability: Jump
-- Delivers a short jumping attack on a targeted enemy.
-- Obtained: Dragoon Level 10
-- Recast Time: 1:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/weapo... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/spells/bluemagic/grand_slam.lua | 33 | 1713 | -----------------------------------------
-- Spell: Grand Slam
-- Delivers an area attack. Damage varies with TP
-- Spell cost: 24 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 2
-- Stat Bonus: INT+1
-- Level: 30
-- Casting Time: 1 seconds
-- Recast Time: 14.25 seconds
-- Skillchain... | gpl-3.0 |
alexandru-elisei/rhea | scan.lua | 1 | 32297 | --[[
DEALS WITH AFFLICTION CURING
]]--
require "able"
require "affs"
require "flags"
require "act"
require "display"
if not scan then
scan = {}
end --if
--checking if i am locked
function scan.is_locked ()
if
(not able:to ("smoke") and
not able:to ("eat") and --identical to able:to (... | gpl-2.0 |
xiaobodu/mmoserver | data/script/TatooineNpcTest6.lua | 5 | 17085 | -- Tatooine NPC test
-- This script will not start until Zoneserver is ready.
-- This script file is a placeholder, and free to be used for any testing.
-- Start of new code
local script = LuaScriptEngine.getScriptObj();
local SE = ScriptEngine:Init();
local scriptSupport = ScriptSupport:Instance();
scriptSupport:... | gpl-3.0 |
LaoZhongGu/mmoserver | data/script/TatooineNpcTest6.lua | 5 | 17085 | -- Tatooine NPC test
-- This script will not start until Zoneserver is ready.
-- This script file is a placeholder, and free to be used for any testing.
-- Start of new code
local script = LuaScriptEngine.getScriptObj();
local SE = ScriptEngine:Init();
local scriptSupport = ScriptSupport:Instance();
scriptSupport:... | gpl-3.0 |
UnknownX7/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 |
UnknownX7/darkstar | scripts/zones/Mount_Zhayolm/mobs/Sarameya.lua | 20 | 3674 | -----------------------------------
-- Area: Mount Zhayolm
-- MOB: Sarameya
-- @pos 322 -14 -581 61
-- Spawned with Buffalo Corpse: @additem 2583
-- Wiki: http://ffxiclopedia.wikia.com/wiki/Sarameya
-- TODO: PostAIRewrite: Code the Howl effect and gradual resists.
-----------------------------------
require("scripts/... | gpl-3.0 |
winglsh/skynet | lualib/redis.lua | 47 | 4975 | local skynet = require "skynet"
local socket = require "socket"
local socketchannel = require "socketchannel"
local table = table
local string = string
local redis = {}
local command = {}
local meta = {
__index = command,
-- DO NOT close channel in __gc
}
---------- redis response
local redcmd = {}
redcmd[36] = f... | mit |
maikuru23/darkstar | scripts/globals/items/brass_loach.lua | 18 | 1329 | -----------------------------------------
-- ID: 5469
-- Item: Brass Loach
-- Food Effect: 5 Min, Mithra only
-----------------------------------------
-- Dexterity +2
-- Mind +4
-- Evasion +5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnI... | gpl-3.0 |
alxhh/piratenluci | applications/luci-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua | 3 | 4187 | --[[
Luci statistics - netlink plugin diagram definition
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.ap... | apache-2.0 |
UnknownX7/darkstar | scripts/zones/Altar_Room/Zone.lua | 32 | 1558 | -----------------------------------
--
-- Zone: Altar_Room (152)
--
-----------------------------------
package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Altar_Room/TextIDs");
-----------------------------------
--... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/items/gold_carp.lua | 17 | 1318 | -----------------------------------------
-- ID: 4427
-- Item: gold_carp
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChe... | gpl-3.0 |
wland/quick3.6 | cocos/scripting/lua-bindings/auto/api/CardinalSplineTo.lua | 18 | 2195 |
--------------------------------
-- @module CardinalSplineTo
-- @extend ActionInterval
-- @parent_module cc
--------------------------------
-- Return a PointArray.<br>
-- return A PointArray.
-- @function [parent=#CardinalSplineTo] getPoints
-- @param self
-- @return point_table#point_table ret (return value: poin... | mit |
UnknownX7/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 |
maikuru23/darkstar | scripts/globals/items/plate_of_tentacle_sushi.lua | 21 | 1809 | -----------------------------------------
-- ID: 5215
-- Item: plate_of_tentacle_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 20
-- Dexterity 3
-- Agility 3
-- Mind -1
-- Accuracy % 19 (cap 18)
-- Ranged Accuracy % 19 (cap 18)
-- Double Attack 1
--------------------... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Famad.lua | 5 | 3514 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Famad
-- Type: Assault Mission Giver
-- @pos 134.098 0.161 -43.759 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyit... | gpl-3.0 |
dveeden/wireshark | test/lua/proto.lua | 32 | 31020 | ----------------------------------------
-- script-name: proto.lua
-- This is based on the dissector.lua example script, which is also used for testing.
-- Unlike that one, this one is purely for testing even more things, notably
-- the Proto/ProtoField API.
----------------------------------------
------------- gener... | gpl-2.0 |
UnknownX7/darkstar | scripts/zones/Apollyon/mobs/Barometz.lua | 17 | 1394 | -----------------------------------
-- Area: Apollyon NE
-- NPC: Barometz
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
---------------------------------... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/AlTaieu/npcs/Swirling_Vortex.lua | 4 | 1424 | -----------------------------------
-- Area: Al'Taieu
-- NPC: Swirling_Vortex
-- Type: Standard NPC
-- @zone 33
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/global... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Suzel.lua | 14 | 1058 | ----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Suzel
-- Type: Item Deliverer
-- @zone 26
-- @pos -72.701 -20.25 -64.058
--
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/items/bowl_of_emerald_soup.lua | 12 | 1386 | -----------------------------------------
-- ID: 4327
-- Item: Bowl of Emerald Soup
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Agility 2
-- Vitality -1
-- Health Regen While Healing 3
-- Ranged ACC 6
-----------------------------------------
require("scripts/globals/status");
-----... | gpl-3.0 |
UnknownX7/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 |
robooo/luarocks | src/luarocks/manif_core.lua | 6 | 4153 |
--- Core functions for querying manifest files.
-- This module requires no specific 'fs' functionality.
local manif_core = {}
package.loaded["luarocks.manif_core"] = manif_core
local persist = require("luarocks.persist")
local type_check = require("luarocks.type_check")
local cfg = require("luarocks.cfg")
local dir =... | mit |
maikuru23/darkstar | scripts/globals/items/loach_gruel.lua | 35 | 1674 | -----------------------------------------
-- ID: 5670
-- Item: loach_soup
-- Food Effect: 4Hour,Group Food, All Races
-----------------------------------------
-- Dexterity 2
-- Agility 2
-- Accuracy % 7
-- Accuracy Cap 30
-- HP % 7
-- HP Cap 30
-- Evasion 4
-- (Did Not Add Group Food Effect)
-------------... | gpl-3.0 |
nounoursheureux/MCServer | Server/Plugins/APIDump/Hooks/OnHopperPushingItem.lua | 44 | 1338 | return
{
HOOK_HOPPER_PUSHING_ITEM =
{
CalledWhen = "A hopper is pushing an item into another block entity. ",
DefaultFnName = "OnHopperPushingItem", -- also used as pagename
Desc = [[
This hook is called whenever a {{cHopperEntity|hopper}} transfers an {{cItem|item}} from its own
internal storage into an... | apache-2.0 |
UnknownX7/darkstar | scripts/zones/Western_Adoulin/npcs/Merleg.lua | 14 | 2449 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Merleg
-- Type: Standard NPC and Quest Giver
-- Starts, Involved with, and Finishes Quest: 'A Pioneers Best (Imaginary) Friend'
-- @zone 256
-- @pos 34 0 -131 256
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/... | gpl-3.0 |
Tatuy/UAServer | data/npc/FORGOTTENSERVER-ORTS/scripts/Awareness Of The Emperor.lua | 1 | 3312 | 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 |
UnknownX7/darkstar | scripts/zones/Norg/npcs/_700.lua | 14 | 2994 | -----------------------------------
-- Area: Norg
-- NPC: Oaken door (Gilgamesh's room)
-- @pos 97 -7 -12 252
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/settings")
-----------------------------------
-- onTrade Action
-----------------------------------
functio... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/effects/voidstorm.lua | 35 | 1337 | -----------------------------------
--
--
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:addMod(MOD_STR,math.floor(effect:getPower()/2));
target:addMod(MOD_DEX,math.floor(effect:g... | gpl-3.0 |
either1/prosody-modules | mod_openid/mod_openid.lua | 32 | 15176 | local usermanager = require "core.usermanager"
local httpserver = require "net.httpserver"
local jidutil = require "util.jid"
local hmac = require "hmac"
local base64 = require "util.encodings".base64
local humane = require "util.serialization".serialize
-- Configuration
local base = "openid"
local openidns = "http:... | mit |
UnknownX7/darkstar | scripts/globals/items/meat_mithkabob.lua | 12 | 1456 | -----------------------------------------
-- ID: 4381
-- Item: meat_mithkabob
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Attack % 22
-- Attack Cap 60
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
wangqi/gameserver | server/src/gensrc/lua/BceCyRegister_pb.lua | 1 | 1623 | -- Generated By protoc-gen-lua Do not Edit
local protobuf = require "protobuf"
module('BceCyRegister_pb', package.seeall)
local BCECYREGISTER = protobuf.Descriptor();
local BCECYREGISTER_USERNAME_FIELD = protobuf.FieldDescriptor();
local BCECYREGISTER_PASSWORD_FIELD = protobuf.FieldDescriptor();
BCECYREGISTER_USERNA... | apache-2.0 |
UnknownX7/darkstar | scripts/zones/Sauromugue_Champaign/TextIDs.lua | 7 | 1425 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6401; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6407; -- Obtained: <item>.
GIL_OBTAINED = 6408; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6410; -- Obtained... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/items/army_biscuit.lua | 35 | 1254 | -----------------------------------------
-- ID: 5657
-- Item: army_biscuit
-- Food Effect: 5Min?, All Races
-----------------------------------------
-- HP Recovered While Healing 3
-- MP Recovered While Healing 3
-----------------------------------------
require("scripts/globals/status");
---------------... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/abilities/shield_bash.lua | 10 | 1567 | -----------------------------------
-- Ability: Shield Bash
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
function OnAbilityCheck(player,target,ability)
if (player:getShieldSize() == 0) then
return MSGBASIC_REQUIRES_SHIELD,0;
else
return 0,0;
end
en... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.