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 |
|---|---|---|---|---|---|
UnknownX7/darkstar | scripts/globals/weaponskills/heavy_swing.lua | 25 | 1367 | -----------------------------------
-- Heavy Swing
-- Staff weapon skill
-- Skill Level: 5
-- Deacription:Delivers a single-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: None
-- Modifiers: STR:30%
-- 100%TP 200%TP... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Palborough_Mines/npcs/_3z6.lua | 34 | 1087 | -----------------------------------
-- Elevator in Palborough
-- Notes: Used to operate Elevator @3z0
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Palborough_Mines/TextIDs");
require("scripts/globals/status... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Abyssea-Konschtat/npcs/qm3.lua | 10 | 1344 | -----------------------------------
-- Zone: Abyssea-Konschtat
-- NPC: qm3 (???)
-- Spawns Hexenpilz
-- @pos ? ? ? 15
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/items/party_egg.lua | 12 | 1333 | -----------------------------------------
-- ID: 4595
-- Item: party_egg
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 25
-- Magic 25
-- Attack 5
-- Ranged Attack 4
-----------------------------------------
require("scripts/globals/status");
-------------------------------------... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Lageegee.lua | 6 | 1038 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Lageegee
-- Type: Assault Mission Giver
-- @pos 120.808 0.161 -30.435
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urh... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Windurst_Woods/npcs/Miiri-Wohri.lua | 38 | 1037 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Miiri-Wohri
-- Type: Standard NPC
-- @zone: 241
-- @pos 106.766 -6 -30.492
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Windurst_Walls/npcs/Tsuaora-Tsuora.lua | 14 | 1056 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Tsuaora-Tsuora
-- Type: Standard NPC
-- @zone 239
-- @pos 71.489 -3.418 -67.809
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
--------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/AlTaieu/mobs/JoL_Qn_hpemde.lua | 15 | 1512 | -----------------------------------
-- Area: Al'Taieu
-- MOB: Qn'hpemde
-- Jailor of Love Pet version
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
mob:AnimationSub(6); -- Mouth Closed
end;
--------------... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/spells/noctohelix.lua | 4 | 1717 | --------------------------------------
-- Spell: Noctohelix
-- Deals dark damage that gradually reduces
-- a target's HP. Damage dealt is greatly affected by the weather.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/... | gpl-3.0 |
henry4k/apoapsis | core/Timer.lua | 2 | 1885 | --- @classmod core.Timer
--- Repeatedly calls a function after a given timeframe has been simulated by
--- the engine.
--
-- @usage
-- function Grenade:initialize()
-- self.timer = Timer(10, self, Grenade.onTimerTriggered)
-- end
-- function Grenade:onTimerTriggered( timeDelta, timer )
-- timer:destroy()
-- ... | mit |
UnknownX7/darkstar | scripts/zones/The_Celestial_Nexus/Zone.lua | 30 | 1741 | -----------------------------------
--
-- Zone: The_Celestial_Nexus (181)
--
-----------------------------------
package.loaded["scripts/zones/The_Celestial_Nexus/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/The_Celestial_Nexus/TextIDs");
-----------... | gpl-3.0 |
psydev/OpenRA | mods/ra/maps/survival02/survival02.lua | 10 | 13010 | FrenchSquad = { "2tnk", "2tnk", "mcv" }
TimerTicks = DateTime.Minutes(10)
AttackTicks = DateTime.Seconds(52)
AttackAtFrame = DateTime.Seconds(18)
AttackAtFrameIncrement = DateTime.Seconds(18)
Producing = true
SpawningInfantry = true
ProduceAtFrame = DateTime.Seconds(12)
ProduceAtFrameIncrement = DateTime.Seconds(12)
S... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/mobskills/Spirit_Tap.lua | 32 | 1401 | ---------------------------------------------------
-- Spirit Tap
-- Attempts to absorb one buff from a single target, or otherwise steals HP.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores Shadows
-- Range: Melee
-- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any buff... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Port_Jeuno/npcs/Karl.lua | 17 | 2498 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Karl
-- Starts and Finishes Quest: Child's Play
-- @pos -60 0.1 -8 246
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globals/settings"] = nil;
---------------------------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/items/fudgy-wudge.lua | 12 | 1201 | -----------------------------------------
-- ID: 5920
-- Item: Fudgy-wudge
-- Food Effect: 3 Min, All Races
-----------------------------------------
-- Intelligence 1
-- Speed 12.5%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
cvfish/waifu2x | lib/image_loader.lua | 32 | 2887 | local gm = require 'graphicsmagick'
local ffi = require 'ffi'
require 'pl'
local image_loader = {}
function image_loader.decode_float(blob)
local im, alpha = image_loader.decode_byte(blob)
if im then
im = im:float():div(255)
end
return im, alpha
end
function image_loader.encode_png(rgb, alpha)
if... | mit |
UnknownX7/darkstar | scripts/zones/Metalworks/npcs/HomePoint#2.lua | 14 | 1253 | -----------------------------------
-- Area: Metalworks
-- NPC: HomePoint#2
-- @pos -78 2 2 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Metalworks/TextIDs");
require("scripts/globals/homepoint");
-----... | gpl-3.0 |
Fizzadar/Luapress | luapress/util.lua | 1 | 14162 | -- Luapress
-- File: luapress/util.lua
-- Desc: internal Luapress utilities!
local os = os
local io = io
local print = print
local pairs = pairs
local error = error
local table = table
local string = string
local unpack = unpack or table.unpack
local discount = require('discount')
local lfs = require('lfs')
local te... | mit |
dani-sj/parsa | plugins/chatbot.lua | 31 | 1138 |
local function run(msg)
if msg.text == "hi" then
return "Hello bb"
end
if msg.text == "Hi" then
return "Hello honey"
end
if msg.text == "Hello" then
return "Hi bb"
end
if msg.text == "hello" then
return "Hi honey"
end
if msg.text == "Salam" then
return "Salam aleykom"
end
if msg.text == "salam" then
return "va a... | gpl-2.0 |
UnknownX7/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Shattered_Telepoint.lua | 27 | 2330 | -----------------------------------
-- Area: Tahrongi_Canyon
-- NPC: Shattered Telepoint
-- @pos 179 35 255 117
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Tahrongi_Ca... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Lufaise_Meadows/mobs/Colorful_Leshy.lua | 4 | 1646 | -----------------------------------
-- Area: Lufaise Meadows
-- MOB: Colorful Leshy
-----------------------------------
-----------------------------------
function onMobSpawn(mob)
local Defoliate_Leshy = 16875763;
GetMobByID(Defoliate_Leshy):setExtraVar(os.time() + math.random((43200), (86400)));
en... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/West_Ronfaure/npcs/Molting_Moth_IM.lua | 8 | 2938 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Molting Moth, I.M.
-- Border Conquest Guards
-- @pos -560.292 -0.961 -576.655 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/items/loaf_of_iron_bread.lua | 12 | 1184 | -----------------------------------------
-- ID: 4499
-- Item: loaf_of_iron_bread
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 4
-- Vitality 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
psydev/OpenRA | mods/cnc/maps/nod05/nod05.lua | 10 | 10833 | NodUnitsVehicle = { 'bike', 'bike', 'bggy', 'ltnk', 'bike', 'bike' }
NodUnitsRocket = { 'e1', 'e1', 'e1', 'e1' }
NodUnitsGunner = { 'e3', 'e3', 'e3', 'e3' }
GDIReinforceUnits = { 'e2', 'e2', 'e2', 'e2', 'e2' }
Gdi1Units = { ['e1'] = 3, ['e2'] = 1 }
Gdi2Units = { ['e1'] = 2, ['e2'] = 1 }
Gdi3Units = { ['jeep'] = 1 }
Gd... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Meriphataud_Mountains_[S]/npcs/Cavernous_Maw.lua | 29 | 1450 | -----------------------------------
-- Area: Meriphataud Mountains [S]
-- NPC: Cavernous Maw
-- @pos 597 -32 279 97
-- Teleports Players to Meriphataud Mountains
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains_[S]/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/FeiYin/npcs/Grounds_Tome.lua | 30 | 1074 | -----------------------------------
-- Area: Fei'Yin
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
e... | gpl-3.0 |
Tatuy/UAServer | data/npc/FORGOTTENSERVER-ORTS/scripts/Peter.lua | 1 | 2003 | 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 |
UnknownX7/darkstar | scripts/zones/Rabao/npcs/HomePoint#1.lua | 27 | 1250 | -----------------------------------
-- Area: Rabao
-- NPC: HomePoint#1
-- @pos -29.276 0.001 -76.585 247
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Rabao/TextIDs");
require("scripts/globals/homepoint");
-------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Port_Jeuno/npcs/qm1.lua | 14 | 2509 | -----------------------------------
-- Area: Port Jeuno
-- NPC: ???
-- Finish Quest: Borghertz's Hands (AF Hands, Many job)
-- @zone 246
-- @pos -51 8 -4
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globals/settings"] = nil;
----------------------... | gpl-3.0 |
wland/quick3.6 | tools/cocos2d-console/plugins/plugin_luacompile/bin/jit/v.lua | 78 | 5755 | ----------------------------------------------------------------------------
-- Verbose mode of the LuaJIT compiler.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
-------------------------------------------------------------------------... | mit |
UnknownX7/darkstar | scripts/zones/PsoXja/npcs/_i9y.lua | 14 | 1317 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _i9y (Crystal Receptor)
-- @pos -389.980 -3.198 -203.595 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/PsoXja/TextIDs");
------------------------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Metalworks/npcs/Ayame.lua | 14 | 2996 | -----------------------------------
-- Area: Metalworks
-- NPC: Ayame
-- Involved in Missions
-- Starts and Finishes Quest: True Strength
-- @pos 133 -19 34 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/sta... | gpl-3.0 |
mrexe1/GroupsManager | plugins/spam.lua | 34 | 1560 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
maikuru23/darkstar | scripts/zones/Bastok_Mines/npcs/Vaghron.lua | 38 | 1396 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Vaghron
-- Type: Adventurer's Assistant
-- @pos -39.162 -1 -92.147 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("s... | gpl-3.0 |
cc-ru/ut-server | src/glasses/update.lua | 1 | 3057 | local module = require("ut-serv.modules")
local db = module.load("db")
local events = module.load("events")
local EventEngine = events.engine
EventEngine:subscribe("uiupdate", events.priority.normal, function(handler, evt)
local surface = evt.surface
-- 1. Update score
do
-- calculate advantages
local... | apache-2.0 |
maikuru23/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm13.lua | 34 | 1386 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm13 (???)
-- Involved in Quest: Hitting the Marquisate (THF AF3)
-- @pos -194.166 -5.500 139.969 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
r... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/PsoXja/npcs/_09c.lua | 9 | 1609 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _09c (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos -330.000 14.074 -261.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Pso... | gpl-3.0 |
migmig00/lolo | plugins/meme.lua | 637 | 5791 | local helpers = require "OAuth.helpers"
local _file_memes = './data/memes.lua'
local _cache = {}
local function post_petition(url, arguments)
local response_body = {}
local request_constructor = {
url = url,
method = "POST",
sink = ltn12.sink.table(response_body),
headers = {},
red... | gpl-2.0 |
zhityer/zhityer40 | plugins/meme.lua | 637 | 5791 | local helpers = require "OAuth.helpers"
local _file_memes = './data/memes.lua'
local _cache = {}
local function post_petition(url, arguments)
local response_body = {}
local request_constructor = {
url = url,
method = "POST",
sink = ltn12.sink.table(response_body),
headers = {},
red... | gpl-2.0 |
Tatuy/UAServer | data/actions/scripts/uatibia/questnewcity.lua | 1 | 1601 | -- time ring quest --
function onUse(cid, item, frompos, item2, topos)
if getPlayerLevel(cid) < 35 then
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,"Sorry, you are under lvl 35.")
return 1
end
if item.actionid == 20018 then
queststatus = getPlayerStorageValue(cid,20018)
if queststatus == -1 or questst... | gpl-2.0 |
UnknownX7/darkstar | scripts/globals/spells/curaga_iv.lua | 28 | 1277 | -----------------------------------------
-- Spell: Curaga IV
-- Restores HP of all party members within area of effect.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSp... | gpl-3.0 |
wangqi/gameserver | server/src/gensrc/lua/BseRoleMoveStop_pb.lua | 1 | 3222 | -- Generated By protoc-gen-lua Do not Edit
local protobuf = require "protobuf"
module('BseRoleMoveStop_pb', package.seeall)
local BSEROLEMOVESTOP = protobuf.Descriptor();
local BSEROLEMOVESTOP_SESSIONID_FIELD = protobuf.FieldDescriptor();
local BSEROLEMOVESTOP_PASSFRAMES_FIELD = protobuf.FieldDescriptor();
local BSER... | apache-2.0 |
UnknownX7/darkstar | scripts/globals/spells/knights_minne_iv.lua | 27 | 1497 | -----------------------------------------
-- Spell: Knight's Minne IV
-- Grants Defense bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(cas... | gpl-3.0 |
zozaiq1/KING_BOTS1 | plugins/ar-robot.lua | 4 | 1852 | local function is_channel_disabled( receiver )
if not _config.disabled_channels then
return false
end
if _config.disabled_channels[receiver] == nil then
return false
end
return _config.disabled_channels[receiver]
end
local function enable_channel(receiver)
if not _config.disabled_channels then
_config... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Windurst_Woods/npcs/Aja-Panja.lua | 14 | 1051 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Aja-Panja
-- Type: Standard NPC
-- @zone 241
-- @pos -7.251 -6.55 -134.127
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-------------... | gpl-3.0 |
wildstarnasa/AddonsMonitor | AMdataManager.lua | 1 | 7950 | ---------------------------------------------------------------------------------------------------
-- addons monitor data objects manager
---------------------------------------------------------------------------------------------------
local AMutils = _G.AddonsManagerStuff.AMutils
local AMdata = _G.AddonsManagerStu... | mit |
Tatuy/UAServer | data/npc/FORGOTTENSERVER-ORTS/scripts/Xelvar.lua | 1 | 3560 | 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 |
maikuru23/darkstar | scripts/zones/Kazham/Zone.lua | 4 | 1292 | -----------------------------------
--
-- Zone: Kazham (250)
--
-----------------------------------
-----------------------------------
-- onInitialize
-----------------------------------
function onInitialize(zone)
end;
-----------------------------------
-- onZoneIn
---------------------------------... | gpl-3.0 |
kararahmed/karar.dev | plugins/replay.lua | 8 | 4083 | --[[
# For More Information ....!
# Developer : Aziz < @devss_bot > #Dev
# our channel: @help_tele
]]
do
ws = {}
rs = {}
-- some examples of how to use this :32
ws[1] = "السلام عليكم" -- msg
rs[1] = "وعليكم السلام ورحمة الله هلا اغاتي" -- reply
ws[2] = "بوسني" -- msg
rs[2] = "مووواح فدوه لربك❤️🙈" --... | gpl-2.0 |
maikuru23/darkstar | scripts/zones/Windurst_Woods/npcs/Ronana.lua | 12 | 1748 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Ronana
-- Type: Bonecraft Image Support
-- @pos -1.540 -6.25 -144.517 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Woods/... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Apollyon/mobs/Dark_Elemental.lua | 17 | 2413 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
--------------------------... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rr.lua | 17 | 1455 | -----------------------------------
-- 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... | gpl-3.0 |
dani-sj/parsa | plugins/stats.lua | 56 | 3988 | do
-- Returns a table with `name` and `msgs`
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_prin... | gpl-2.0 |
maikuru23/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/Credaurion_RK.lua | 8 | 3001 | -----------------------------------
-- Area: The Sanctuary of Zi'Tah
-- NPC: Credaurion, R.K.
-- Outpost Conquest Guards
-- @pos -40.079 -0.642 -148.785 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
Coethium/server-minetestforfun | minetestforfun_game/mods/farming/soil.lua | 8 | 2011 |
local S = farming.intllib
-- normal soil
minetest.register_node("farming:soil", {
description = S("Soil"),
tiles = {"default_dirt.png^farming_soil.png", "default_dirt.png"},
drop = "default:dirt",
groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 2},
sounds = default.node_sound_dirt_defaults(),
})
--... | unlicense |
CuteOne/BadRotations | System/UI/Elements/Arrow.lua | 1 | 2419 | local DiesalGUI = _G.LibStub("DiesalGUI-1.0")
local _, br = ...
-- Right Arrow
function br.ui:createRightArrow(window)
local rArr = DiesalGUI:Create("Button")
rArr:SetParent(window.parent.header)
rArr:SetStyle("frame", br.ui.arrowRight)
rArr.settings.width = 20
rArr.settings.height = 20
rArr.set... | gpl-3.0 |
CuteOne/BadRotations | Rotations/Old/SL/old_RetributionADSpirit.lua | 1 | 62007 | local rotationName = "ADSpirit" -- Based on Fiskee's CR
---------------
--- Toggles ---
---------------
local function createToggles()
-- Rotation Button
RotationModes = {
[1] = { mode = "Auto", value = 1 , overlay = "Automatic Rotation", tip = "Swaps between Single and Multiple based on number of targets in range."... | gpl-3.0 |
MOSAVI17/Creed | plugins/owners.lua | 284 | 12473 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
migmig00/lolo | plugins/boobs.lua | 731 | 1601 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
Whit3Tig3R/123bot | plugins/boobs.lua | 731 | 1601 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
maikuru23/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Mesachedeau_RK.lua | 8 | 2958 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Mesachedeau, R.K.
-- Type: Outpost Conquest Guards
-- @pos 470.843 23.465 415.520 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
kerlw/Dawn | data/zone1.collision.lua | 1 | 52654 | EditorInterface.addCollisionRect( 1180, 128, 15, 76 );
EditorInterface.addCollisionRect( 408, 1338, 213, 22 );
EditorInterface.addCollisionRect( 246, 1472, 188, 12 );
EditorInterface.addCollisionRect( 407, 1363, 24, 104 );
EditorInterface.addCollisionRect( 790, 1338, 209, 23 );
EditorInterface.addCollisionRect( 978, 13... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/items/cone_of_seraphs_kiss.lua | 35 | 1399 | -----------------------------------------
-- ID: 5556
-- Item: cone_of_seraphs_kiss
-- Food Effect: 1Hr, All Races
-----------------------------------------
-- HP 15
-- MP % 16 (cap 85)
-- MP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status");
-----------... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/items/cup_of_choco-delight.lua | 12 | 1151 | -----------------------------------------
-- ID: 4283
-- Item: cup_of_choco-delight
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Magic Regen While Healing 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/weaponskills/backhand_blow.lua | 6 | 1226 | -----------------------------------
-- Backhand Blow
-- Hand-to-Hand weapon skill
-- Skill Level: 100
-- Deals params.critical damage. Chance of params.critical hit varies with TP.
-- Aligned with the Breeze Gorget.
-- Aligned with the Breeze Belt.
-- Element: None
-- Modifiers: STR:30% ; DEX:30%
-- 1... | gpl-3.0 |
alxhh/piratenluci | applications/luci-olsr/luasrc/controller/olsr.lua | 1 | 6329 | module("luci.controller.olsr", package.seeall)
function index()
if not nixio.fs.access("/etc/config/olsrd") then
return
end
require("luci.i18n").loadc("olsr")
local i18n = luci.i18n.translate
local page = node("admin", "status", "olsr")
page.target = call("action_index")
page.title = "OLSR"
page.i18n =... | apache-2.0 |
maikuru23/darkstar | scripts/zones/Windurst_Waters/npcs/Anja-Enja.lua | 37 | 1052 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Anja-Enja
-- Adventurer's Assistant
-- Working 100%
-------------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/zones/Windurst_Waters/TextIDs");
... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Grand_Palace_of_HuXzoi/npcs/_iyq.lua | 14 | 1523 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- NPC: cermet portal
-- @pos 440 0 401 34
-----------------------------------
package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Grand_Palace_of_HuXzoi/TextIDs");
requi... | gpl-3.0 |
alxhh/piratenluci | applications/luci-coovachilli/luasrc/controller/coovachilli.lua | 1 | 1109 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
modu... | apache-2.0 |
UnknownX7/darkstar | scripts/zones/Bhaflau_Remnants/mobs/Colibri.lua | 46 | 1626 | -----------------------------------
-- Area: Mamook
-- MOB: Colibri
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobFight Action
-----------------------------------
function onMobFight(mob, target)
local delay =... | gpl-3.0 |
chihyaoma/Activity-Recognition-with-CNN-and-RNN | RNN/checkpoints.lua | 1 | 1848 | --
-- Copyright (c) 2016, Facebook, Inc.
-- All rights reserved.
--
-- This source code is licensed under the BSD-style license found in the
-- LICENSE file in the root directory of this source tree. An additional grant
-- of patent rights can be found in the PATENTS file in the same directory.
--
local checkpoin... | mit |
UnknownX7/darkstar | scripts/globals/items/serving_of_green_curry.lua | 12 | 1853 | -----------------------------------------
-- ID: 4296
-- Item: serving_of_green_curry
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 2
-- Vitality 1
-- Health Regen While Healing 2
-- Magic Regen While Healing 1
-- Defense +9% (cap 160)
-- Ranged ACC +5% (cap 25)
-- Sleep Resist ... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Kazham/npcs/Mamerie.lua | 17 | 1410 | -----------------------------------
-- Area: Kazham
-- NPC: Mamerie
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-------... | gpl-3.0 |
psydev/OpenRA | mods/ra/maps/soviet-05/soviet05.lua | 4 | 8053 | CheckForBase = function()
baseBuildings = Map.ActorsInBox(Map.TopLeft, CFBPoint.CenterPosition, function(actor)
return actor.Type == "fact" or actor.Type == "powr"
end)
return #baseBuildings >= 2
end
CheckForCYard = function()
ConYard = Map.ActorsInBox(mcvGGLoadPoint.CenterPosition, ReinfEastPoint.CenterPositio... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Lufaise_Meadows/TextIDs.lua | 7 | 1194 | -- 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 = 6385; -- Obtained: <item>.
GIL_OBTAINED = 6386; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6... | gpl-3.0 |
wangqi/gameserver | server/src/gensrc/lua/BceTreasureHuntQuery_pb.lua | 1 | 1264 | -- Generated By protoc-gen-lua Do not Edit
local protobuf = require "protobuf"
module('BceTreasureHuntQuery_pb', package.seeall)
local BCETREASUREHUNTQUERY = protobuf.Descriptor();
local BCETREASUREHUNTQUERY_REFRESH_FIELD = protobuf.FieldDescriptor();
BCETREASUREHUNTQUERY_REFRESH_FIELD.name = "refresh"
BCETREASUREHU... | apache-2.0 |
AnahitaParsa/telemax-3 | plugins/get.lua | 613 | 1067 | local function get_variables_hash(msg)
if msg.to.type == 'chat' then
return 'chat:'..msg.to.id..':variables'
end
if msg.to.type == 'user' then
return 'user:'..msg.from.id..':variables'
end
end
local function list_variables(msg)
local hash = get_variables_hash(msg)
if hash then
local names =... | gpl-2.0 |
maikuru23/darkstar | scripts/zones/Halvung/npcs/Mining_Point.lua | 6 | 1076 | -----------------------------------
-- Area: Halvung
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/Halvung/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/Halvung/TextIDs");
-------------------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/_4wa.lua | 14 | 1794 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Sahagin Key Door
-- @zone 176
-- @pos 40 8.6 20.012
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zo... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Temenos/npcs/Armoury_Crate.lua | 5 | 7894 | -----------------------------------
-- Area: Temenos
-- NPC: Armoury Crate
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/zones/Temenos/Text... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Gustav_Tunnel/mobs/Antares.lua | 14 | 1024 | ----------------------------------
-- Area: Gustav Tunnel
-- MOB: Antares
-- Note: Place holder Amikiri
-----------------------------------
require("scripts/globals/groundsofvalor");
require("scripts/zones/Gustav_Tunnel/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Ruhotz_Silvermines/Zone.lua | 36 | 1131 | -----------------------------------
--
-- Zone: Ruhotz_Silvermines
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Ruhotz_Silvermines/TextIDs"] = nil;
require("scripts/zones/Ruhotz_Silvermines/TextIDs");
-----------------------------------
-- onI... | gpl-3.0 |
AndreaGvA/sipml5 | asterisk/etc/extensions.lua | 317 | 5827 |
CONSOLE = "Console/dsp" -- Console interface for demo
--CONSOLE = "DAHDI/1"
--CONSOLE = "Phone/phone0"
IAXINFO = "guest" -- IAXtel username/password
--IAXINFO = "myuser:mypass"
TRUNK = "DAHDI/G2"
TRUNKMSD = 1
-- TRUNK = "IAX2/user:pass@provider"
--
-- Extensions are expected to be defined in a global table ... | bsd-3-clause |
fischerling/lumail | t/test.stack.lua | 4 | 1834 | --
-- Configure a sane load-path
--
package.path = package.path .. ";t/?.lua;../lib/?.lua;lib/?.lua"
--
-- Require our unit-testing framework.
--
luaunit = require 'luaunit'
--
-- Require the library we're testing
--
Stack = require "stack"
--
-- Basic testing
--
function testStack ()
--
-- The stack functions ... | gpl-2.0 |
Chris7/Mudlet1 | src/mudlet-lua/lua/Logging.lua | 7 | 9091 | ----------------------------------------------------------------------------------
--- Mudlet Logging
----------------------------------------------------------------------------------
-- <pre>
-- The basic design of this system is inspired by Python's logging module, which is
-- in turn inspired by log4J. However it d... | gpl-2.0 |
UnknownX7/darkstar | scripts/zones/AlTaieu/npcs/_0x1.lua | 14 | 1936 | -----------------------------------
-- Area: Al'Taieu
-- NPC: Rubious Crystal (South Tower)
-- @pos 0 -6.250 -736.912 33
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/zones/AlT... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Kuftal_Tunnel/mobs/Goblin_Mercenary.lua | 14 | 1128 | -----------------------------------
-- Area: Kuftal Tunnel
-- MOB: Goblin Mercenary
-- Note: Place Holder for Bloodthirster Madkix
-----------------------------------
require("scripts/globals/groundsofvalor");
require("scripts/zones/Kuftal_Tunnel/MobIDs");
-----------------------------------
-- onMobDeath
----------... | gpl-3.0 |
Tatuy/UAServer | data/actions/scripts/uatibia/questpally.lua | 1 | 1069 | -- voc pally 500 power bolt quest --
function onUse(cid, item, frompos, item2, topos)
if getPlayerLevel(cid) < 30 then
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,"Sorry, you are under lvl 30.")
return 1
end
if getPlayerVocation(cid) == 1 or getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 4 or ... | gpl-2.0 |
maikuru23/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fd.lua | 34 | 1106 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Shiva's Gate
-- @pos 110 -34 -60 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs")... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Valkurm_Dunes/npcs/Stone_Monument.lua | 14 | 1293 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -311.299 -4.420 -138.878 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/La_Theine_Plateau/npcs/Dimensional_Portal.lua | 17 | 1389 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Dimensional Portal
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/... | gpl-3.0 |
cuiqingwei1981/openwrt | feeds/luci/applications/luci-asterisk/luasrc/model/cbi/asterisk/dialzones.lua | 91 | 3529 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 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
$Id: trunks.l... | gpl-2.0 |
cyberbeat/mysql-gui-tools | common/source/lua/RdbmsInfoOracle.lua | 1 | 13647 | -- ----------------------------------------------------------------------------------------
-- Copyright (C) 2004 MySQL AB
--
-- 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 versi... | gpl-2.0 |
maikuru23/darkstar | scripts/zones/Toraimarai_Canal/npcs/qm9.lua | 23 | 1404 | -----------------------------------
-- Area: Toraimarai Canal
-- NPC: ???
-- Involved In Quest: Wild Card
-- @zone 169 // not accurate
-- @pos 220 16 -50 // not accurate
-----------------------------------
package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/items/felicifruit.lua | 36 | 1158 | -----------------------------------------
-- ID: 5964
-- Item: Felicifruit
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -7
-- Intelligence 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---... | gpl-3.0 |
Coethium/server-minetestforfun | other_things/irc-old-save/chatcmds.lua | 6 | 3393 | -- This file is licensed under the terms of the BSD 2-clause license.
-- See LICENSE.txt for details.
-- Note: This file does NOT conatin every chat command, only general ones.
-- Feature-specific commands (like /join) are in their own files.
minetest.register_chatcommand("irc_msg", {
params = "<name> <message>",
... | unlicense |
UnknownX7/darkstar | scripts/zones/Cloister_of_Storms/mobs/Ramuh_Prime.lua | 23 | 2201 | -----------------------------------
-- Area: Cloister of Storms
-- MOB: Ramuh Prime
-- Involved in Quest: Trial by Lightning
-- Involved in Mission: ASA-4 Sugar Coated Directive
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/status... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Windurst_Woods/npcs/Nalta.lua | 14 | 1046 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Nalta
-- Type: Conquest Troupe
-- @zone 241
-- @pos 19.140 1 -51.297
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
------------------... | gpl-3.0 |
Tatuy/UAServer | data/npc/FORGOTTENSERVER-ORTS/scripts/Maealil.lua | 1 | 5944 | 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 |
hypebeast/hammerspoon | extensions/host/init.lua | 4 | 1032 | --- === hs.host ===
---
--- Inspect information about the machine Hammerspoon is running on
local host = require "hs.host.internal"
local fnutils = require "hs.fnutils"
local __tostring_for_tables = function(self)
local result = ""
local width = 0
for i,v in fnutils.sortByKeys(self) do
if type(i) ... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.