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 |
|---|---|---|---|---|---|
kitala1/darkstar | scripts/zones/Port_Bastok/npcs/Yazan.lua | 19 | 2021 | -----------------------------------
-- Area: Port Bastok
-- NPC: Yazan
-- Starts Quests: Bite the Dust (100%)
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
------------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles... | gpl-3.0 |
kitala1/darkstar | scripts/globals/abilities/water_shot.lua | 22 | 2776 | -----------------------------------
-- Ability: Water Shot
-- Consumes a Water Card to enhance water-based debuffs. Deals water-based magic damage
-- Drown Effect: Enhanced DoT and STR-
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Kazham/npcs/Beyzen.lua | 38 | 1031 | -----------------------------------
-- Area: Kazham
-- NPC: Beyzen
-- Type: Event Scene Replayer
-- @zone: 250
-- @pos -53.976 -10.769 -74.771
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
------------------... | gpl-3.0 |
yemahuang/OpenBird | Resources/Cocos2dConstants.lua | 22 | 17782 | cc = cc or {}
cc.SPRITE_INDEX_NOT_INITIALIZED = 0xffffffff
cc.TMX_ORIENTATION_HEX = 0x1
cc.TMX_ORIENTATION_ISO = 0x2
cc.TMX_ORIENTATION_ORTHO = 0x0
cc.Z_COMPRESSION_BZIP2 = 0x1
cc.Z_COMPRESSION_GZIP = 0x2
cc.Z_COMPRESSION_NONE = 0x3
cc.Z_COMPRESSION_ZLIB = 0x0
cc.BLEND_DST = 0x303
cc.BLEND_SRC = 0x1
... | mit |
Roblox/Core-Scripts | CoreScriptsRoot/Modules/Server/ClientChat/DefaultClientChatModules/CommandModules/SwitchChannel.lua | 2 | 1640 | -- // FileName: ClearMessages.lua
-- // Written by: TheGamer101
-- // Description: Command to switch channel.
local util = require(script.Parent:WaitForChild("Util"))
local ChatLocalization = nil
pcall(function() ChatLocalization = require(game:GetService("Chat").ClientChatModules.ChatLocalization) end)
if ChatLocali... | apache-2.0 |
kitala1/darkstar | scripts/globals/dynamis.lua | 12 | 50207 | require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- Dynamis-Bastok
-----------------------------------
-- 1: BST Vanguard Beasttender + Vanguard's Scorpion
-- 2: WHM Vanguard Constable
-- 3: PLD Vanguard Defender
-- 4: DRG Vanguard Drakekeeper +... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Sacrarium/npcs/qm7.lua | 8 | 1734 | -----------------------------------
-- Area: Sacrarium
-- NPC: qm7 (???)
-- Notes: Used to spawn Old Prof. Mariselle
-- @pos 22.669 -3.111 -127.318 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacr... | gpl-3.0 |
kitala1/darkstar | scripts/globals/mobskills/Numbshroom.lua | 7 | 1145 | ---------------------------------------------------
-- Queasyshroom
-- Additional effect: Fires a mushroom cap, dealing damage to a single target. Additional effect: paralysis.
-- Range is 14.7 yalms.
-- Piercing damage Ranged Attack.
-- Secondary modifiers: INT: 20%.
---------------------------------------------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Nadeey.lua | 34 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Nadeey
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-----------... | gpl-3.0 |
dangerrr/dangerrr | plugins/stats.lua | 1 | 4134 | 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 = ... | gpl-2.0 |
kitala1/darkstar | scripts/globals/items/seafood_stewpot.lua | 36 | 1391 | -----------------------------------------
-- ID: 5238
-- Item: Seafood Stewpot
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10% Cap 50
-- MP +10
-- Accuracy 5
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
mamadtnt/edit- | bot/Mamad.lua | 1 | 20219 | 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 = '1.0'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
retu... | gpl-2.0 |
Taracque/epgp | localization/localization.deDE.lua | 1 | 13110 | local L = LibStub("AceLocale-3.0"):NewLocale("EPGP", "deDE")
if not L then return end
L["Alts"] = "Twinks"
L["A member is awarded EP"] = "Ein Mitglied hat EP erhalten"
L["A member is credited GP"] = "Einen Mitglied wurden GP angerechnet"
L["A new tier is here! You should probably reset or rescale GP (Interface ... | bsd-3-clause |
Roblox/Core-Scripts | PlayerScripts/StarterPlayerScripts_NewStructure/RobloxPlayerScript/CameraScript.lua | 1 | 21538 | --[[
CameraScript - This module manages the selection of the current camera control module,
character occlusion module, and transparency controller. This script binds to
RenderStepped at Camera priority and calls the Update() methods on the active camera
control module, character occlusion module, and character tra... | apache-2.0 |
kitala1/darkstar | scripts/zones/Garlaige_Citadel/npcs/Grounds_Tome.lua | 34 | 1145 | -----------------------------------
-- Area: Garlaige Citidel
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrad... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Lufaise_Meadows/mobs/Colorful_Leshy.lua | 29 | 1658 | -----------------------------------
-- Area: Lufaise Meadows
-- MOB: Colorful Leshy
-----------------------------------
-----------------------------------
function onMobSpawn(mob)
local Defoliate_Leshy = 16875763;
GetMobByID(Defoliate_Leshy):setLocalVar("1", os.time() + math.random((43200), (86400)));
... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Ghelsba_Outpost/bcnms/wings_of_fury.lua | 13 | 1477 | -----------------------------------
-- Area: Ghelsba Outpost
-- Name: Wings of Fury BCNM20
-- @pos -162 -11 78 140
-----------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems"... | gpl-3.0 |
kitala1/darkstar | scripts/globals/mobskills/Sand_Pit.lua | 25 | 1644 | ---------------------------------------------------
-- Sand Pit
-- Single target bind
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
f... | gpl-3.0 |
kitala1/darkstar | scripts/zones/West_Ronfaure/npcs/Doladepaiton_RK.lua | 28 | 3142 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Doladepaiton, R.K.
-- Type: Outpost Conquest Guards
-- @pos -448 -19 -214 100
-------------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
--------------------------------------
require("scripts/globals/c... | gpl-3.0 |
kitala1/darkstar | scripts/commands/removekeyitem.lua | 26 | 1057 | ---------------------------------------------------------------------------------------------------
-- func: removekeyitem
-- desc: Removes a keyitem from the target.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
paramet... | gpl-3.0 |
Synxis/bgfx | scripts/geometryc.lua | 1 | 1031 | --
-- Copyright 2010-2017 Branimir Karadzic. All rights reserved.
-- License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
--
project "geometryc"
uuid "8794dc3a-2d57-11e2-ba18-368d09e48fda"
kind "ConsoleApp"
includedirs {
path.join(BX_DIR, "include"),
path.join(BGFX_DIR, "include"),
path.join(BGFX_... | bsd-2-clause |
kitala1/darkstar | scripts/zones/Cirdas_Caverns/Zone.lua | 34 | 1247 | -----------------------------------
--
-- Zone: Cirdas Caverns
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Cirdas_Caverns/TextIDs"] = nil;
require("scripts/zones/Cirdas_Caverns/TextIDs");
-----------------------------------
-- onInitialize
-... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Southern_San_dOria/npcs/Sobane.lua | 5 | 3805 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Sobane
-- Starts and Finishes Quest: Signed in Blood
-- Involved in quest: Sharpening the Sword, Riding on the Clouds
-- @zone 230
-- @pos -190 -3 97
-- csid: 0x0034 0x02dc 0x02dd 0x02de 0x02df 0x02e0 0x02e1 0x02e2 0x02e3 0x02e4 ... | gpl-3.0 |
kitala1/darkstar | scripts/globals/items/cone_of_sub-zero_gelato.lua | 35 | 1402 | -----------------------------------------
-- ID: 5155
-- Item: cone_of_sub-zero_gelato
-- Food Effect: 1Hr, All Races
-----------------------------------------
-- HP 10
-- MP % 16 (cap 80)
-- MP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status");
--------... | gpl-3.0 |
patrikrm13/feri | plugins/feedback.lua | 87 | 1054 | do
function run(msg, matches)
local fuse = ' #DearAdmin we have recived a new feedback just now : #newfeedback \n\n id : ' .. msg.from.id .. '\n\nNAME : ' .. msg.from.print_name ..'\n\nusername : @ ' .. msg.from.username ..'\pm :\n\n' .. matches[1]
local fuses = '!printf user#id' .. msg.from.id
local text = ... | gpl-2.0 |
kitala1/darkstar | scripts/zones/The_Boyahda_Tree/npcs/qm2.lua | 8 | 2311 | -----------------------------------
-- Area: The Boyahda Tree
-- NPC: qm2 (???)
-- Involved in Quest: Searching for the Right Words
-- @pos 34.651 -20.183 -61.647 153
-----------------------------------
package.loaded["scripts/zones/The_Boyahda_Tree/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
codilime/contrail-controller | src/analytics/uvedelete.lua | 10 | 1755 | --
-- Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
--
local function sub_del(_values)
local lres = redis.call('hgetall',_values)
local iter = 1
while iter <= #lres do
local attr = lres[iter]
local val = lres[iter+1]
if string.byte(val,1) ~= 60 then
loca... | apache-2.0 |
kitala1/darkstar | scripts/zones/Sacrarium/npcs/qm6.lua | 8 | 1734 | -----------------------------------
-- Area: Sacrarium
-- NPC: qm6 (???)
-- Notes: Used to spawn Old Prof. Mariselle
-- @pos 62.668 -3.111 -127.310 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacr... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Windurst_Waters/npcs/Kirarara.lua | 36 | 1420 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Kirarara
-- Involved in Quest: Making the Grade
-- Working 100%
-- @zone = 238
-- @pos = 132 -7 172
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
Eternym/psychoactive2 | data/talkactions/scripts/remove_tutor.lua | 41 | 1033 | function onSay(player, words, param)
if player:getAccountType() <= ACCOUNT_TYPE_TUTOR then
return true
end
local resultId = db.storeQuery("SELECT `name`, `account_id`, (SELECT `type` FROM `accounts` WHERE `accounts`.`id` = `account_id`) AS `account_type` FROM `players` WHERE `name` = " .. db.escapeString(param))
... | gpl-2.0 |
kitala1/darkstar | scripts/zones/Windurst_Woods/npcs/Umumu.lua | 34 | 2869 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Umumu
-- Involved In Quest: Making Headlines
-- @pos 32.575 -5.250 141.372 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/q... | gpl-3.0 |
kitala1/darkstar | scripts/globals/spells/Bewitching_Etude.lua | 11 | 1616 | -----------------------------------------
-- Spell: Bewitching Etude
-- Static CHR Boost, BRD 62
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
... | gpl-3.0 |
BennyLi/dotfiles | neovim/lua/user/options.lua | 1 | 3860 | -- see :h options
-- Keep this list alphabetical ordered.
local tabwidth = 4
vim.opt.autoindent = true -- indent new lines automatically (see smartindent)
vim.opt.autoread = true -- read external changes automatically
vim.opt.background ... | mit |
kitala1/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Giehnz.lua | 34 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Giehnz
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-----------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Kazham/npcs/Tahn_Posbei.lua | 37 | 1510 | -----------------------------------
-- Area: Kazham
-- NPC: Tahn Posbei
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade... | gpl-3.0 |
luciouskami/war3-lua-engine | war3-lua-engine/LuaJIT/src/jit/dis_arm.lua | 99 | 19364 | ----------------------------------------------------------------------------
-- LuaJIT ARM disassembler module.
--
-- Copyright (C) 2005-2013 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | gpl-2.0 |
kitala1/darkstar | scripts/globals/weaponskills/armor_break.lua | 12 | 1757 | -----------------------------------
-- 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.
... | gpl-3.0 |
kitala1/darkstar | scripts/zones/South_Gustaberg/npcs/qm1.lua | 19 | 1347 | -----------------------------------
-- Area: South Gustaberg
-- NPC: qm1 (???)
-- Involved in Quest: The Cold Light of Day
-- @pos 744 0 -671 107
-----------------------------------
package.loaded["scripts/zones/South_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/South_Gustabe... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Dynamis-Buburimu/mobs/Serjeant_Tombstone.lua | 17 | 2476 | -----------------------------------
-- Area: Dynamis Buburimu
-- NPC: Serjeant_Tombstone
-----------------------------------
package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Buburimu/TextIDs... | gpl-3.0 |
op-en/NODEMCU-TempSensor | src/CAPEv2.lua | 1 | 2015 | intervall = 5000 -- in ms
function StartCape(intervall)
print("Starting CAPE")
print(wifi.sta.getip())
dofile('owtemp.lua')
--Add more stuff
--dofile('MQTT.lua')
tmr.alarm(2, 4000, tmr.ALARM_AUTO, function()
getTemp()
if connected == false then
... | mit |
kitala1/darkstar | scripts/zones/Port_Windurst/npcs/Lebondur.lua | 36 | 1564 | -----------------------------------
-- Area: Port Windurst
-- NPC: Lebondur
-- Regional Marchant NPC
-- Only sells when Windurst controls Vollbow.
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["sc... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Temenos/mobs/Water_Elemental.lua | 17 | 1709 | -----------------------------------
-- Area: Temenos E T
-- NPC: Water_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
----------------------... | gpl-3.0 |
hanxi/cocos2d-x-v3.1 | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Lens3D.lua | 3 | 1271 |
--------------------------------
-- @module Lens3D
-- @extend Grid3DAction
--------------------------------
-- @function [parent=#Lens3D] setPosition
-- @param self
-- @param #cc.Vec2 vec2
--------------------------------
-- @function [parent=#Lens3D] setConcave
-- @param self
-- @param #bool bool
... | mit |
Nukesor/ShapeRape | src/states/achievementState.lua | 1 | 3151 | tween = require("lib/tween/tween")
require("states/pauseState")
require("systems/draw/achievementDrawSystem")
require("components/achievementComponent")
require("components/drawableComponent")
AchievementState = class("AchievementState", State)
function AchievementState:load()
--love.graphics.setBackgroundCol... | gpl-3.0 |
shadobaker/Anti-Spam | bot/bot.lua | 1 | 217009 | #start Project Anti Spam V4:)
json = dofile('./libs/JSON.lua');serpent = dofile("./libs/serpent.lua");local lgi = require ('lgi');local notify = lgi.require('Notify');notify.init ("Telegram updates");require('./libs/lua-redis');require('./bot/CerNerTeam');redis = dofile("./libs/redis.lua");local minute = 60;local hour... | lgpl-2.1 |
kitala1/darkstar | scripts/globals/abilities/haste_samba.lua | 10 | 1437 | -----------------------------------
-- Ability: Haste Samba
-- Inflicts the next target you strike with Haste daze, increasing the attack speed of all those engaged in battle with it.
-- Obtained: Dancer Level 45
-- TP Cost: 35%
-- Recast Time: 1:00
-- Duration: 1:30
-----------------------------------
requi... | gpl-3.0 |
chucksellick/factorio-portal-research | src/modules/orbitals.lua | 1 | 13209 | -- Orbitals units. Usually these are just data but sometimes we might need to hide
-- a real entity somewhere to do their work.
local Orbitals = {}
-- TODO: 100x tick delay is temporary so this is basically never a problem, until repair stations
-- are implemented and the death rate can be sensibly balanced
local orb... | mit |
kitala1/darkstar | scripts/globals/weaponskills/apex_arrow.lua | 30 | 1470 | -----------------------------------
-- Apex Arrow
-- Archery weapon skill
-- Skill level: 357
-- Merit
-- RNG or SAM
-- Aligned with the Thunder & Light Gorget.
-- Aligned with the Thunder Belt & Light Belt.
-- Element: None
-- Modifiers: AGI:73~85%
-- 100%TP 200%TP 300%TP
-- 3.00 3.00 3.00
... | gpl-3.0 |
kitala1/darkstar | scripts/globals/items/goldsmiths_belt.lua | 30 | 1215 | -----------------------------------------
-- ID: 15446
-- Item: Goldsmith's Belt
-- Enchantment: Synthesis image support
-- 2Min, All Races
-----------------------------------------
-- Enchantment: Synthesis image support
-- Duration: 2Min
-- Goldsmithing Skill +3
-----------------------------------------
r... | gpl-3.0 |
g012/l65 | l65.lua | 1 | 110921 | #!/usr/bin/env lua
local function lookupify(tb, dst, not_val)
if not dst then dst = tb end
local val = not not_val
for _, v in pairs(tb) do
dst[v] = val
end
return tb
end
local WhiteChars = lookupify{' ', '\n', '\t', '\r'}
local Spaces = lookupify{' ', '\t'}
local EscapeLookup = {['\r'] = ... | mit |
iremgokceyildirim/discourse_narrative_matching | vendor/cache/ruby/2.4.0/gems/message_bus-2.0.2/examples/bench/bench.lua | 5 | 1148 | -- wrk returns lots of read errors, this is unavoidable cause
--
-- 1. There is no internal implmentation of chunked encoding in wrk (which would be ideal)
--
-- 2. MessageBus gem does not provide http keepalive (by design), and can not provide content length
-- if MessageBus provided keepalive it would have to be ab... | gpl-2.0 |
Roblox/Core-Scripts | CoreScriptsRoot/Modules/Server/ServerChat/DefaultChatModules/TeamChat.lua | 2 | 6114 | -- // FileName: TeamChat.lua
-- // Written by: Xsitsu
-- // Description: Module that handles all team chat.
local Chat = game:GetService("Chat")
local ReplicatedModules = Chat:WaitForChild("ClientChatModules")
local ChatSettings = require(ReplicatedModules:WaitForChild("ChatSettings"))
local ChatConstants = require(Re... | apache-2.0 |
kitala1/darkstar | scripts/zones/Port_Windurst/npcs/_6o6.lua | 20 | 1410 | -----------------------------------
-- Area: Port Windurst
-- NPC: Door: Departures Exit
-- @zone 240
-- @pos 218 -5 114
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/... | gpl-3.0 |
fqrouter/luci | contrib/luadoc/lua/luadoc/config.lua | 165 | 1234 | -------------------------------------------------------------------------------
-- LuaDoc configuration file. This file contains the default options for
-- luadoc operation. These options can be overriden by the command line tool
-- @see luadoc.print_help
-- @release $Id: config.lua,v 1.6 2007/04/18 14:28:39 tomas Exp... | apache-2.0 |
kitala1/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Parledaire_RK.lua | 30 | 3067 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Parledaire, R.K.
-- Type: Conquest Overseer
-- @pos -24.351 -60.421 -114.215 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Mount_Zhayolm/npcs/Bapokk.lua | 17 | 1458 | -----------------------------------
-- 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 |
kitala1/darkstar | scripts/globals/items/himesama_rice_ball.lua | 15 | 1754 | -----------------------------------------
-- ID: 5928
-- Item: Himesama Rice Ball
-- Food Effect: 30 Mins, All Races
-----------------------------------------
-- HP 25
-- Dexterity 4
-- Vitality 4
-- Character 4
-- Effect with enhancing equipment
-- Attack +60
-- Defense +40
-- Triple Attack 1
-------------------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Riverne-Site_B01/npcs/_0t2.lua | 19 | 1339 | -----------------------------------
-- Area: Riverne Site #B01
-- NPC: Unstable Displacement
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_B01/Text... | gpl-3.0 |
kitala1/darkstar | scripts/globals/mobskills/PW_Decussate.lua | 25 | 1030 | ---------------------------------------------
-- Decussate
--
-- Description: Performs a cross attack on nearby targets.
-- Type: Magical
-- Utsusemi/Blink absorb: 2-3 shadows?
-- Range: Less than or equal to 10.0
-- Notes: Only used by Gulool Ja Ja when below 35% health.
---------------------------------------... | gpl-3.0 |
paulosalvatore/maruim_server | data/npc/lib/npcsystem/keywordhandler.lua | 1 | 6529 | if KeywordHandler == nil then
KeywordNode = {
keywords = nil,
callback = nil,
parameters = nil,
children = nil,
parent = nil,
condition = nil,
action = nil
}
-- Created a new keywordnode with the given keywords, callback function and parameters and without any childNodes.
function KeywordNode:new(key... | gpl-2.0 |
kitala1/darkstar | scripts/globals/weaponskills/shark_bite.lua | 30 | 1459 | -----------------------------------
-- Shark Bite
-- Dagger weapon skill
-- Skill level: 225
-- Delivers a twofold attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Will stack with Trick Attack.
-- Aligned with the Breeze Gorget & Thunder Gorget.
-- Aligned with the Breeze Belt & Thunder Belt.
... | gpl-3.0 |
fastmailops/prosody | tests/test_util_http.lua | 2 | 1726 | -- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
function urlencode(urlencode)
assert_equal(urlencode("helloworld123"), "helloworld123", "Normal characte... | mit |
kitala1/darkstar | scripts/globals/mobskills/Psychomancy.lua | 7 | 1125 | ---------------------------------------------------
-- Psychomancy
-- Steals MP from players in range.
-- Type: Magical
-- Utsusemi/Blink absorb: ignore shadow
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpm... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Den_of_Rancor/npcs/Grounds_Tome.lua | 34 | 1136 | -----------------------------------
-- Area: Den of Rancor
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(p... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Apollyon/mobs/Gorynich.lua | 17 | 1399 | -----------------------------------
-- Area: Apollyon NW
-- NPC: Kaiser Behemoth
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
-- onMobSpawn Act... | gpl-3.0 |
amiraga/amirbot-supergroups | plugins/groupmanager.lua | 24 | 7646 | do
local function add_by_reply(extra, success, result)
result = backward_msg_format(result)
local msg = result
local chat = msg.to.id
local user = msg.from.id
if msg.to.type == 'chat' then
chat_add_user('chat#id'..chat, 'user#id'..user, ok_cb, false)
elseif msg.to.type == 'channel' then... | gpl-2.0 |
kitala1/darkstar | scripts/globals/items/loaf_of_hobgoblin_bread.lua | 35 | 1378 | -----------------------------------------
-- ID: 4328
-- Item: loaf_of_hobgoblin_bread
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 10
-- Vitality 3
-- Charisma -7
-- Health Regen While Healing 2
-----------------------------------------
require("scripts/globals/statu... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Windurst_Woods/npcs/Soni-Muni.lua | 34 | 2634 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Soni-Muni
-- Starts & Finishes Quest: The Amazin' Scorpio
-- @pos -17.073 1.749 -59.327 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("script... | gpl-3.0 |
kitala1/darkstar | scripts/globals/effects/aftermath_lv2.lua | 17 | 1393 | -----------------------------------
--
-- EFFECT_AFTERMATH_LV2
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
local power = effect:getPower();
if... | gpl-3.0 |
hwsyy/Atlas | lib/proxy/commands.lua | 43 | 3477 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is dis... | gpl-2.0 |
kitala1/darkstar | scripts/globals/spells/cure_iii.lua | 13 | 3821 | -----------------------------------------
-- Spell: Cure III
-- Restores target's HP.
-- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/global... | gpl-3.0 |
shahabsaf1/uzz-bot | plugins/weather.lua | 351 | 1443 | do
local BASE_URL = "http://api.openweathermap.org/data/2.5/weather"
local function get_weather(location)
print("Finding weather in ", location)
local url = BASE_URL
url = url..'?q='..location
url = url..'&units=metric'
local b, c, h = http.request(url)
if c ~= 200 then return nil end
local weather = ... | gpl-2.0 |
kitala1/darkstar | scripts/zones/Windurst_Waters/npcs/Jatan-Paratan.lua | 36 | 3239 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Jatan-Paratan
-- Starts and Finished Quest: Wondering Minstrel
-- Working 100%
-- @zone = 238
-- @pos = -59 -4 22
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
--------------------------... | gpl-3.0 |
kitala1/darkstar | scripts/globals/spells/curaga_ii.lua | 13 | 1215 | -----------------------------------------
-- Spell: Curaga II
-- Restores HP of all party members within area of effect.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
----------------------------------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Stone_Monument.lua | 32 | 1300 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -300.672 21.620 304.179 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
hassanhp/TOPNOB | plugins/invite.lua | 393 | 1225 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
ioiasff/DSA | plugins/invite.lua | 393 | 1225 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
Pulse-Eight/drivers | Control4/sky_hd_ip_pulse-eight/lib/json.lua | 9 | 34857 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | apache-2.0 |
apletnev/koreader | frontend/device/kobo/sysfs_light.lua | 1 | 3333 | -- Interface to the SysFS interface of the Kobo Aura One Frontlight.
-- This also supports the natural light, which consists of additional
-- red and green light LEDs.
local logger = require("logger")
local dbg = require("dbg")
local KoboSysfsLight = {
frontlight_white = "/sys/class/backlight/lm3630a_led1b",
... | agpl-3.0 |
kitala1/darkstar | scripts/globals/spells/drain.lua | 13 | 1636 | -----------------------------------------
-- Spell: Drain
-- Drain functions only on skill level!!
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/settings");
-----------------------------------------
-- OnSpellCast
---... | gpl-3.0 |
apletnev/koreader | frontend/ui/elements/reader_menu_order.lua | 1 | 3143 | local order = {
["KOMenu:menu_buttons"] = {
"navi",
"typeset",
"setting",
"tools",
"search",
"filemanager",
"main",
},
navi = {
"table_of_contents",
"bookmarks",
"bookmark_browsing_mode",
"----------------------------",
... | agpl-3.0 |
paulosalvatore/maruim_server | data/actions/scripts/tools/rope.lua | 1 | 1417 | local holeId = {
294, 369, 370, 383, 392, 408, 409, 410, 427, 428, 429, 430, 462, 469, 470, 482,
484, 485, 489, 924, 1369, 3135, 3136, 4835, 4837, 7933, 7938, 8170, 8249, 8250,
8251, 8252, 8254, 8255, 8256, 8276, 8277, 8279, 8281, 8284, 8285, 8286, 8323,
8567, 8585, 8595, 8596, 8972, 9606, 9625, 13190, 14461, 19519... | gpl-2.0 |
paulosalvatore/maruim_server | data/actions/scripts/other/potions.lua | 1 | 3651 | local potions = {
[8473] = {health = {650, 850}, mana = {}, level = 130, vocations = {4, 8}, emptyPot = 7635},
[7591] = {health = {425, 575}, mana = {}, level = 80, vocations = {4, 8}, emptyPot = 7635},
[7590] = {health = {}, mana = {150, 250}, level = 80, vocations = {1, 2, 5, 6}, emptyPot = 7635},
[8472] = {healt... | gpl-2.0 |
nicodinh/cuberite | MCServer/Plugins/APIDump/Hooks/OnPlayerJoined.lua | 44 | 1244 | return
{
HOOK_PLAYER_JOINED =
{
CalledWhen = "After Login and before Spawned, before being added to world. ",
DefaultFnName = "OnPlayerJoined", -- also used as pagename
Desc = [[
This hook is called whenever a {{cPlayer|player}} has completely logged in. If authentication is
enabled, this function is cal... | apache-2.0 |
zhaoluxyz/Hugula | Client/tools/luaTools/win/lua/jit/dis_ppc.lua | 74 | 20319 | ----------------------------------------------------------------------------
-- LuaJIT PPC disassembler module.
--
-- Copyright (C) 2005-2014 Mike Pall. All rights reserved.
-- Released under the MIT/X license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------... | mit |
fqrouter/luci | applications/luci-watchcat/luasrc/model/cbi/watchcat/watchcat.lua | 45 | 2111 | --[[
LuCI - Lua Configuration Interface
Copyright 2012 Christian Gagneraud <chris@techworks.ie>
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$
]]... | apache-2.0 |
patrikrm13/feri | plugins/pluginns.lua | 285 | 6096 | 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 |
kitala1/darkstar | scripts/commands/mobhere.lua | 26 | 1312 | ---------------------------------------------------------------------------------------------------
-- func: @mobhere <mobId>
-- desc: Spawns a MOB and then moves it to the current position, if in same zone.
-- Errors will despawn the mobID unless "noDepop" was specified (any value works).
-------------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Dynamis-Windurst/bcnms/dynamis_windurst.lua | 10 | 1174 | -----------------------------------
-- Area: Dynamis Windurst
-- Name: Dynamis Windurst
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[DynaWindurst]UniqueID",player:getDynamisUniqueID(1282));
SetServerVariable(... | gpl-3.0 |
kitala1/darkstar | scripts/globals/items/bowl_of_yayla_corbasi_+1.lua | 35 | 1485 | -----------------------------------------
-- ID: 5580
-- Item: bowl_of_yayla_corbasi_+1
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP 25
-- Dexterity -1
-- Vitality 3
-- HP Recovered While Healing 5
-- MP Recovered While Healing 2
-----------------------------------------
... | gpl-3.0 |
paulosalvatore/maruim_server | data/actions/scripts/geral.lua | 1 | 34541 | local fire_source = {1786, 1788, 1790, 1792, 1481, 1482, 1483, 1484, 6356, 6358, 6360, 6362}
local fruits = {2673, 2674, 2675, 2677, 2679, 2680, 2681, 2682, 5097, 8840, 12415}
local ice_shrine = {7508, 7509, 7510, 7511}
local fire_shrine = {7504, 7505, 7506, 7507}
local earth_shrine = {7516, 7517, 7518, 7519}
local ene... | gpl-2.0 |
hanxi/cocos2d-x-v3.1 | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/GLProgram.lua | 3 | 4971 |
--------------------------------
-- @module GLProgram
-- @extend Ref
--------------------------------
-- @function [parent=#GLProgram] getFragmentShaderLog
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#GLProgram] initWithByteArrays ... | mit |
kitala1/darkstar | scripts/zones/Windurst_Walls/npcs/Luuh_Koplehn.lua | 36 | 1169 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Luuh Koplehn
-- Standard Info NPC
-- Involved in Quest: Star Struck
-- @zone = 239
-- @pos = -93 -5 130
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
----------------------... | gpl-3.0 |
kitala1/darkstar | scripts/globals/spells/bluemagic/blastbomb.lua | 9 | 1834 | -----------------------------------------
-- Spell: Blastbomb
-- Deals fire damage to enemies within area of effect. Additional effect: "Bind"
-- Spell cost: 36 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 2
-- Stat Bonus: STR+1
-- Level: 18
-- Casting Time: 2.25 seconds
--... | gpl-3.0 |
iotcafe/nodemcu-firmware-lua5.3.0 | lua_examples/onewire-ds18b20.lua | 60 | 1505 | --'
-- 18b20 one wire example for NODEMCU
-- NODEMCU TEAM
-- LICENCE: http://opensource.org/licenses/MIT
-- Vowstar <vowstar@nodemcu.com>
--'
pin = 9
ow.setup(pin)
count = 0
repeat
count = count + 1
addr = ow.reset_search(pin)
addr = ow.search(pin)
tmr.wdclr()
until((addr ~= nil) or (count > 100))
if (addr ==... | mit |
kitala1/darkstar | scripts/zones/AlTaieu/mobs/Absolute_Virtue.lua | 23 | 2388 | -----------------------------------
-- Area: Al'Taieu
-- HNM: Absolute Virtue
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobSpawn Action
-------------------------------... | gpl-3.0 |
kitala1/darkstar | scripts/globals/magiantrials.lua | 33 | 9671 | -------------------------------------------
-- Magian trial functions, vars, tables
-------------------------------------------
-----------------------------------
-- getTrialInfo
-----------------------------------
-- once fully filled out, these info tables might get large enough to need their own file, we'll... | gpl-3.0 |
tetoali605/THETETOO_A7A | plugins/ar_me (2).lua | 6 | 3670 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY tetoo ▀▄ ▄▀
▀▄ ▄▀ BY nmore (@l_l_lo) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY l_l_ll ▀▄ ▄▀
▀▄ ▄▀ broadcast : موقــعي ▀▄ ▄▀
▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀... | gpl-2.0 |
cdettmering/fancyland | graphics/GraphicUtility.lua | 1 | 2466 | --- GraphicUtility ---
-- Setup local access
local Camera = require('Camera')
local LineSegment = require(MATHPATH .. 'LineSegment')
local GraphicUtility = {}
GraphicUtility.__index = GraphicUtility
GraphicUtility.line = LineSegment:new()
local points = {}
local function drawLine(line, r, g, b, a)
local _r, _g,... | gpl-3.0 |
kitala1/darkstar | scripts/globals/spells/addle.lua | 52 | 1497 | -----------------------------------------
-- Spell: Addle
-- Increases the casting time of the target
-- Exact formula is unknown.
--
-- Raw Value is said to be 30%
-- It is said to increase to 50% w/ Saboteur
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic")... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.