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 |
|---|---|---|---|---|---|
hanxi/cocos2d-x-v3.1 | src/RankScene.lua | 1 | 6446 | local RankScene = {}
local visibleSize = cc.Director:getInstance():getVisibleSize()
local origin = cc.Director:getInstance():getVisibleOrigin()
local function scrollViewDidScroll(view)
print("scrollViewDidScroll")
end
local function scrollViewDidZoom(view)
print("scrollViewDidZoom")
end
local function table... | mit |
kitala1/darkstar | scripts/zones/Temenos/mobs/Dark_Elemental.lua | 33 | 1233 | -----------------------------------
-- Area: Temenos E T
-- NPC: Dark_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------... | gpl-3.0 |
kitala1/darkstar | scripts/globals/weaponskills/fast_blade.lua | 30 | 1345 | -----------------------------------
-- Fast Blade
-- Sword weapon skill
-- Skill Level: 5
-- Delivers a two-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: None
-- Modifiers: STR:20% ; DEX:20%
-- 100%TP 200%TP ... | gpl-3.0 |
kitala1/darkstar | scripts/globals/weaponskills/namas_arrow.lua | 12 | 1755 | -----------------------------------
-- Skill Level: N/A
-- Description: Additional Effect: Temporarily improves Ranged Accuracy
-- Aligned with the Light Gorget, Snow Gorget & Aqua Gorget.
-- Properties
-- Element: N/A
-- Skillchain Properties: Light/Distortion
-- Modifiers: STR: 40% AGI: 40%
-- Damage Multipli... | gpl-3.0 |
kmiku7/redis-2.8.21-annotated | deps/lua/test/life.lua | 888 | 2635 | -- life.lua
-- original by Dave Bollinger <DBollinger@compuserve.com> posted to lua-l
-- modified to use ANSI terminal escape sequences
-- modified to use for instead of while
local write=io.write
ALIVE="¥" DEAD="þ"
ALIVE="O" DEAD="-"
function delay() -- NOTE: SYSTEM-DEPENDENT, adjust as necessary
for i=1,10000 do... | bsd-3-clause |
kitala1/darkstar | scripts/zones/North_Gustaberg_[S]/npcs/Mining_Point.lua | 29 | 1114 | -----------------------------------
-- Area: North Gustaberg [S]
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/North_Gustaberg_[S]/Tex... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Castle_Oztroja/npcs/Antiqix.lua | 19 | 7281 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: Antiqix
-- Type: Dynamis Vendor
-- @pos -207.835 -0.751 -25.498 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztroja/TextID... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/LaisavieXBerlends1.lua | 36 | 1080 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Laisavie X Berlends
-- @zone 80
-- @pos 26 2 6
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
-----------------------... | gpl-3.0 |
paulosalvatore/maruim_server | data/modules/scripts/equipobject/equipobject.lua | 2 | 3758 | EquipObject = {}
EquipObject.Slots = {
[48] = CONST_SLOT_LEFT,
[49] = CONST_SLOT_HEAD,
[50] = CONST_SLOT_NECKLACE,
[52] = CONST_SLOT_BACKPACK,
[56] = CONST_SLOT_ARMOR,
[112] = CONST_SLOT_LEGS,
[176] = CONST_SLOT_FEET,
[304] = CONST_SLOT_RING,
[560] = CONST_SLOT_AMMO,
[2096] = SLOTP_TWO_HAND -- We only use slo... | gpl-2.0 |
dtrip/.ubuntu | awesome/3.4/volume.lua | 2 | 1055 | volume_widget = widget({ type = "textbox", name = "tb_volume", align = "right" })
function update_volume(widget)
local fd = io.popen("amixer sget Master")
local status = fd:read("*all")
fd:close()
local volume = tonumber(string.match(status, "(%d?%d?%d)%%")) / 100
-- volume = string.format("% 3d",... | mit |
kitala1/darkstar | scripts/globals/items/noble_lady.lua | 17 | 1392 | -----------------------------------------
-- ID: 4485
-- Item: noble_lady
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-- Charisma 3
-----------------------------------------
require("scripts/globals/status");
---------------------------------------... | gpl-3.0 |
kitala1/darkstar | scripts/globals/weaponskills/savage_blade.lua | 30 | 1556 | -----------------------------------
-- Savage Blade
-- Sword weapon skill
-- Skill Level: 240
-- Delivers an aerial attack comprised of two hits. Damage varies with TP.
-- In order to obtain Savage Blade, the quest Old Wounds must be completed.
-- Will stack with Sneak Attack.
-- Aligned with the Breeze Gorget, ... | gpl-3.0 |
redg3ar/meowrio | enemy.lua | 1 | 2254 | class = require("lib/30log/30log")
vector = require("lib/hump/vector")
object = require("object")
enemy = object:extend("enemy")
function enemy:init(file, loc)
enemy.super.init(self, file)
self.vel = vector(0, 0)
self.gravity = vector(0, 64 * 16)
self.friction = 0
self.spawn = loc:clone()
self.loc = nil
... | mit |
kitala1/darkstar | scripts/zones/Upper_Delkfutts_Tower/npcs/_4e2.lua | 17 | 1329 | -----------------------------------
-- Area: Upper Delkfutt's Tower
-- NPC: Elevator
-- @pos -294 -143 27 158
-----------------------------------
package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zone... | gpl-3.0 |
fqrouter/luci | applications/luci-statistics/luasrc/model/cbi/luci_statistics/df.lua | 78 | 1628 | --[[
Luci configuration model for statistics - collectd df plugin configuration
(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... | apache-2.0 |
kitala1/darkstar | scripts/globals/mobskills/Wanion.lua | 7 | 1325 | ---------------------------------------------------
-- Wanion
-- AoE of all status ailments it has.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Apollyon/mobs/Jidra.lua | 17 | 2157 | -----------------------------------
-- Area: Apollyon SW
-- NPC: Jidra
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/PsoXja/npcs/_i96.lua | 17 | 1260 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _i96 (Stone Gate)
-- Notes: Red Bracelet Door
-- @pos -310.000 -1.925 -238.399 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/PsoXja/TextIDs")... | gpl-3.0 |
kitala1/darkstar | scripts/globals/porter_moogle_util.lua | 27 | 27581 | -----------------------------------
-- Porter Moogle Utilities
-- desc: Common functionality for Porter Moogles.
-----------------------------------
require("scripts/globals/common");
-- Item IDs for all of the slips.
local slipIds = { 29312, 29313, 29314, 29315, 29316, 29317, 29318, 29319, 29320, 29321, 29322, 29323,... | gpl-3.0 |
kitala1/darkstar | scripts/globals/mobskills/Dread_Dive.lua | 25 | 1043 | ---------------------------------------------
-- Dread Dive
--
-- Description: Dives into a single target. Additional effect: Knockback + Stun
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes: Used instead of Gliding Spike by certain notorious monsters.
-----------------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Spire_of_Holla/npcs/_0h1.lua | 36 | 1319 | -----------------------------------
-- Area: Spire_of_Holla
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Holla/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Holla/TextIDs");
---------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Spire_of_Holla/npcs/_0h3.lua | 36 | 1319 | -----------------------------------
-- Area: Spire_of_Holla
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Holla/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Holla/TextIDs");
---------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Chateau_dOraguille/npcs/_6h1.lua | 17 | 2271 | -----------------------------------
-- Area: Chateau d'Oraguille
-- Door: Prince Regent's Rm
-- Starts and Finishes Quest: Prelude of Black and White (Start), Pieuje's Decision (Start)
-- @pos -37 -3 31 233
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
----... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Den_of_Rancor/npcs/HomePoint#2.lua | 12 | 1193 | -----------------------------------
-- Area: Den_of_Rancor
-- NPC: HomePoint#2
-- @pos 182 34 -62 160
-----------------------------------
package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Den_of_Rancor/TextIDs");
require("scripts/globals/homepoin... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Dynamis-Beaucedine/mobs/Vanguard_Eye.lua | 16 | 3228 | -----------------------------------
-- Area: Dynamis Beaucedine
-- NPC: Vznguard_Eye
-- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg
-----------------------------------
package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil;
-----------... | gpl-3.0 |
kitala1/darkstar | scripts/globals/abilities/wind_maneuver.lua | 35 | 1604 | -----------------------------------
-- Ability: Wind Maneuver
-- Enhances the effect of wind attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Lower_Delkfutts_Tower/npcs/Cermet_Door.lua | 17 | 1160 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Cermet Door
-- Notes: Leads to Upper Delkfutt's Tower.
-- @pos 524 16 20 184
-----------------------------------
require("scripts/globals/settings");
-----------------------------------
-- onTrade Action
------------------------... | gpl-3.0 |
tetoali605/THETETOO_A7A | plugins/redis.lua | 5 | 1102 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY tetoo ▀▄ ▄▀
▀▄ ▄▀ BY nmore (@l_l_lo) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY l_l_ll ▀▄ ▄▀
▀▄ ▄▀ broadcast : ريـــدس ▀▄ ▄▀
▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀... | gpl-2.0 |
kitala1/darkstar | scripts/globals/spells/bluemagic/exuviation.lua | 9 | 1850 | -----------------------------------------
-- Spell: Exuviation
-- Restores HP and removes one detrimental magic effect
-- Spell cost: 40 MP
-- Monster Type: Vermin
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 4
-- Stat Bonus: HP+5 MP+5 CHR+1
-- Level: 75
-- Casting Time: 3 seconds
-- Recast Time: 60 se... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Southern_San_dOria/npcs/Esmallegue.lua | 36 | 1515 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Esmallegue
-- General Info NPC
-- @zone 230
-- @pos 0 2 -83
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings... | gpl-3.0 |
TeamInAura/TeamInAura | trunk/tbc/bin/lua_scripts/masterscript.lua | 8 | 1057 | --
--
-- This is the Eluna for MaNGOS MasterScript
--
--
print("\n")
print("_______________$$$$")
print("______________$$$$$$$")
print("______________$$$$$$$$_____$_$_$")
print("_______________$$$$$$$____$$$$$$")
print("________________$$$$$$$____$$$")
print("________$__$_$____$$$$$$$$$$$")
print("_________$$$$$$... | gpl-2.0 |
kitala1/darkstar | scripts/zones/Behemoths_Dominion/npcs/qm1.lua | 8 | 1433 | -----------------------------------
-- Area: Behemoth's Dominion
-- NPC: ???
-- Involved In Quest: The Talekeeper's Gift
-- @pos 211 4 -79 127
-----------------------------------
package.loaded["scripts/zones/Behemoths_Dominion/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/set... | gpl-3.0 |
kitala1/darkstar | scripts/zones/QuBia_Arena/mobs/Rojgnoj_s_Left_Hand.lua | 10 | 1232 | -----------------------------------
-- Area: QuBia_Arena
-- Mission 9-2 SANDO
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/missions");
require("scripts/zones/QuBia_Arena/TextIDs");
-----------------------------------
-- onMobSpawn A... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Horlais_Peak/bcnms/contaminated_colosseum.lua | 13 | 1776 | -----------------------------------
-- Area: Horlias peak
-- Name: contaminated_colosseum
-- KSNM30
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Northern_San_dOria/npcs/Morjean.lua | 21 | 1691 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Morjean
-- Involved in Quest: A Squire's Test II (Optional), The Holy Crest
-- @pos 99 0 116 231
-------------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
ZenityRTS/Zenity | LuaUI/Widgets/s11n_widget_load.lua | 2 | 1467 | ----------------------------------------------------------------------------
----------------------------------------------------------------------------
-- Copy this file to the luaui/widgets folder
-- Set this line to the s11n installation folder
S11N_FOLDER = "libs/s11n"
LCS_FOLDER = "libs/lcs"
-- Do NOT modify t... | gpl-2.0 |
Roblox/Core-Scripts | CoreScriptsRoot/Modules/AvatarContextMenu/ContextMenuUtil.lua | 1 | 8122 | --[[
// FileName: ContextMenuUtil.lua
// Written by: TheGamer101
// Description: Module for utility funcitons of the avatar context menu.
]]
--[[
// FileName: ContextMenuGui.lua
// Written by: TheGamer101
// Description: Module for creating the context GUI.
]]
--- CONSTANTS
local STOP_MOVEMENT_ACTION_NAME = "A... | apache-2.0 |
kitala1/darkstar | scripts/zones/South_Gustaberg/npcs/Stone_Monument.lua | 32 | 1291 | -----------------------------------
-- Area: South Gustaberg
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 520.064 -5.881 -738.356 107
-----------------------------------
package.loaded["scripts/zones/South_Gustaberg/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
kitala1/darkstar | scripts/zones/The_Shrouded_Maw/mobs/Diabolos.lua | 8 | 8357 | -----------------------------------
-- Area: The Shrouded Maw
-- MOB: Diabolos
-----------------------------------
-- TODO: CoP Diabolos
-- 1) Make the diremites in the pit all aggro said player that falls into region. Should have a respawn time of 10 seconds.
-- 2) Diremites also shouldnt follow you back to t... | gpl-3.0 |
ZenityRTS/Zenity | lups/ParticleClasses/JitterParticles.lua | 2 | 12346 | -- $Id: JitterParticles.lua 3171 2008-11-06 09:06:29Z det $
-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
local JitterParticles = {}
Jitt... | gpl-2.0 |
TeleDALAD/2DALAD2 | plugins/owners.lua | 1467 | 12478 |
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 |
kitala1/darkstar | scripts/globals/spells/bluemagic/wild_oats.lua | 9 | 1959 | -----------------------------------------
-- Spell: Wild Oats
-- Additional effect: Vitality Down. Duration of effect varies on TP
-- Spell cost: 9 MP
-- Monster Type: Plantoids
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 3
-- Stat Bonus: CHR+1, HP+10
-- Level: 4
-- Casting Time: 0.5 seconds
-- R... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Kazham/npcs/Khifo_Ryuhkowa.lua | 37 | 1500 | -----------------------------------
-- Area: Kazham
-- NPC: Khifo Ryuhkowa
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTr... | gpl-3.0 |
zhaoluxyz/Hugula | Client/Assets/Lua/core/unity3d.lua | 3 | 3266 | ------------------------------------------------
-- Copyright © 2013-2014 Hugula: Arpg game Engine
--
-- author pu
------------------------------------------------
-- luanet.load_assembly("UnityEngine.UI")
import "UnityEngine"
delay = PLua.Delay
stopDelay = PLua.StopDelay
if unpack==nil then unpack=table.unpack... | mit |
fastmailops/prosody | plugins/mod_s2s/s2sout.lib.lua | 1 | 12224 | -- 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.
--
--- Module containing all the logic for connecting to a remote server
local portmanager = require "core.... | mit |
Pulse-Eight/drivers | Control4/cec_source_pulse-eight/common/c4_notify.lua | 9 | 1689 | --[[=============================================================================
Notification Functions
Copyright 2015 Control4 Corporation. All Rights Reserved.
===============================================================================]]
require "common.p8declares"
--[[=================================... | apache-2.0 |
kitala1/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rn.lua | 17 | 1624 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: _0rn (Oil lamp)
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/... | gpl-3.0 |
NiFiLocal/nifi-minifi-cpp | thirdparty/civetweb-1.10/test/page4.lua | 9 | 6832 | -- This test checks the Lua functions:
-- get_var, get_cookie, md5, url_encode
now = os.time()
cookie_name = "civetweb-test-page4"
if mg.request_info.http_headers.Cookie then
cookie_value = tonumber(mg.get_cookie(mg.request_info.http_headers.Cookie, cookie_name))
end
mg.write("HTTP/1.0 200 OK\r\n")
mg.... | apache-2.0 |
crabman77/minetest-minetestforfun-server | mods/snow/src/aliases.lua | 9 | 6741 | -- Some aliases for compatibility switches and some to make "/give" commands
-- a little easier
minetest.register_alias("snow:needles", "default:pine_needles")
minetest.register_alias("snow:snow", "default:snow")
minetest.register_alias("default_snow", "default:snow")
minetest.register_alias("snow:snowball", "default:... | unlicense |
Roblox/Core-Scripts | PlayerScripts/StarterPlayerScripts_NewStructure/RobloxPlayerScript/ControlScript/VehicleController.lua | 1 | 3759 | --[[
// FileName: VehicleControl
// Version 1.0
// Written by: jmargh
// Description: Implements in-game vehicle controls for all input devices
// NOTE: This works for basic vehicles (single vehicle seat). If you use custom VehicleSeat code,
// multiple VehicleSeats or your own implementation of a VehicleSeat t... | apache-2.0 |
kitala1/darkstar | scripts/zones/Rabao/npcs/HomePoint#2.lua | 12 | 1172 | -----------------------------------
-- Area: Rabao
-- NPC: HomePoint#2
-- @pos -21 8.13 110 247
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Rabao/TextIDs");
require("scripts/globals/homepoint");
----------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Baya_Hiramayuh.lua | 24 | 1486 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Baya Hiramayuh
-- 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/globals/weaponskills/full_swing.lua | 30 | 1260 | -----------------------------------
-- Full Swing
-- Staff weapon skill
-- Skill Level: 200
-- Delivers a single-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget & Thunder Gorget.
-- Aligned with the Flame Belt & Thunder Belt.
-- Element: None
-- Modifiers: S... | gpl-3.0 |
fastmailops/prosody | util/events.lua | 1 | 2006 | -- 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.
--
local pairs = pairs;
local t_insert = table.insert;
local t_sort = table.sort;
local setmetatable = setm... | mit |
sirxkilller/BolScripts-1 | KarthusMechanics.lua | 2 | 18675 | --[[
_____ _____ __ .__
/ \_______ / _ \________/ |_|__| ____ __ __ ____ ____
/ \ / \_ __ \ / /_\ \_ __ \ __\ |/ ___\| | \/ \ / _ \
/ Y \ | \/ / | \ | \/| | | \ \___| | / | ( <_> )
\____|__ /__| \___... | gpl-2.0 |
omideblisss/omid | plugins/inrealm.lua | 92 | 25223 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
amirkingred/nod2 | plugins/inrealm.lua | 92 | 25223 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
chucksellick/factorio-portal-research | src/modules/radio.lua | 1 | 7731 | local inspect = require("lib.inspect")
local Radio = {}
-- TODO: Implement copy/paste
local radio_update_frequency = 60
-- TODO: Read from prototype
local max_radio_combinator_slots = 10
local wire_colours = {defines.wire_type.red,defines.wire_type.green}
function Radio.initForce(forceData)
forceData.radio = { ch... | mit |
kitala1/darkstar | scripts/globals/spells/bluemagic/enervation.lua | 7 | 1549 | -----------------------------------------
-- Spell: Enervation
-- Lowers the defense and magical defense of enemies within range
-- Spell cost: 48 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 5
-- Stat Bonus: HP-5, MP+5
-- Level: 67
-- Casting Time: 6 seconds
-- Recast Time... | gpl-3.0 |
kitala1/darkstar | scripts/globals/items/temple_truffle.lua | 36 | 1159 | -----------------------------------------
-- ID: 5916
-- Item: Temple Truffle
-- Food Effect: 3 Min, All Races
-----------------------------------------
-- Strength 1
-- Speed 12.5%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--... | gpl-3.0 |
JacobFischer/Joueur.lua | games/chess/gameObject.lua | 9 | 2227 | -- GameObject: An object in the game. The most basic class that all game classes should inherit from automatically.
-- DO NOT MODIFY THIS FILE
-- Never try to directly create an instance of this class, or modify its member variables.
-- Instead, you should only be reading its variables and calling its functions.
loca... | mit |
crabman77/minetest-minetestforfun-server | mods/pipeworks/devices.lua | 8 | 15833 | -- List of devices that should participate in the autoplace algorithm
local pipereceptor_on = nil
local pipereceptor_off = nil
if minetest.get_modpath("mesecons") then
pipereceptor_on = {
receptor = {
state = mesecon.state.on,
rules = pipeworks.mesecons_rules
}
}
pipereceptor_off = {
receptor = {
s... | unlicense |
Taracque/epgp | modules/whisper.lua | 1 | 4968 | local mod = EPGP:NewModule("whisper", "AceEvent-3.0")
local L = LibStub("AceLocale-3.0"):GetLocale("EPGP")
local senderMap = {}
local senderBNMap = {}
local SendChatMessage = _G.SendChatMessage
if ChatThrottleLib then
SendChatMessage = function(...)
ChatThrottleLib:SendChatMessage("... | bsd-3-clause |
kitala1/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Stone_Monument.lua | 32 | 1299 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 320.755 -4.000 368.722 118
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
Wiladams/LJIT2libusb | USBDeviceReference.lua | 1 | 3298 | -- USBDeviceReference.lua
--[[
The USBDeviceReference represents a reference to a USB device...
That is, the device was attached to the system at some point, but
whether or not is accessible at the moment is not assured.
From the reference you can get some basic information, such as a
description of the device.... | mit |
kitala1/darkstar | scripts/globals/spells/bluemagic/grand_slam.lua | 27 | 1742 | -----------------------------------------
-- 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
--... | gpl-3.0 |
Sean-Der/thrift | lib/lua/TServer.lua | 74 | 3988 | --
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you ma... | apache-2.0 |
crabman77/minetest-minetestforfun-server | mods/mobs/minotaur.lua | 7 | 2618 |
-- Minotaur Monster by ???
mobs:register_mob("mobs:minotaur", {
-- animal, monster, npc, barbarian
type = "monster",
-- aggressive, deals 11 damage to player when hit
passive = false,
attack_type = "dogfight",
pathfinding = false,
reach = 2,
damage = 6,
-- health & armor
hp_min = 45,
hp_max = 55,
armor = ... | unlicense |
d-o/LUA-LIB | C500Examples/external.lua | 2 | 6339 | #!/usr/bin/env lua
-------------------------------------------------------------------------------
-- external
--
-- Example of how to set up sockets for remote connections to this device
-- To see things operating, telnet to port 1111 or 1112.
---------------------------------------------------------------------------... | gpl-3.0 |
lvdmaaten/nn | SpatialConvolutionMM.lua | 27 | 3101 | local SpatialConvolutionMM, parent = torch.class('nn.SpatialConvolutionMM', 'nn.Module')
function SpatialConvolutionMM:__init(nInputPlane, nOutputPlane, kW, kH, dW, dH, padW, padH)
parent.__init(self)
dW = dW or 1
dH = dH or 1
self.nInputPlane = nInputPlane
self.nOutputPlane = nOutputPlane
self.... | bsd-3-clause |
kitala1/darkstar | scripts/zones/Wajaom_Woodlands/mobs/Hydra.lua | 27 | 1283 | -----------------------------------
-- Area: Wajaom Woodlands
-- NPC: Hydra
-- @pos -282 -24 -1 51
-----------------------------------
require("scripts/globals/titles");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
functio... | gpl-3.0 |
fqrouter/luci | libs/web/luasrc/sauth.lua | 78 | 2928 | --[[
Session authentication
(c) 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$
]]--
--- LuCI sess... | apache-2.0 |
kitala1/darkstar | scripts/zones/Windurst_Woods/npcs/Mocchi_Katsartbih.lua | 38 | 1048 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Mocchi Katsartbih
-- Type: Standard NPC
-- @zone: 241
-- @pos -13.225 -4.888 -164.108
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-... | gpl-3.0 |
kitala1/darkstar | scripts/globals/abilities/altruism.lua | 28 | 1176 | -----------------------------------
-- Ability: Altruism
-- Increases the accuracy of your next White Magic spell.
-- Obtained: Scholar Level 75 Tier 2 Merit Points
-- Recast Time: Stratagem Charge
-- Duration: 1 white magic spell or 60 seconds, whichever occurs first
--
-- Level |Charges |Recharge Time per Ch... | gpl-3.0 |
ZenityRTS/Zenity | libs/chiliui/luaui/chili/chili/controls/imagelistview.lua | 3 | 7127 | --//=============================================================================
--- ImageListView module
--- ImageListView fields.
-- Inherits from LayoutPanel.
-- @see layoutpanel.LayoutPanel
-- @table ImageListView
-- @string[opt=""] dir initial directory
-- @tparam {func1,func2,...} OnDirChange table of... | gpl-2.0 |
Taracque/epgp | libs/AceConfig-3.0/AceConfig-3.0.lua | 12 | 2240 | --- AceConfig-3.0 wrapper library.
-- Provides an API to register an options table with the config registry,
-- as well as associate it with a slash command.
-- @class file
-- @name AceConfig-3.0
-- @release $Id: AceConfig-3.0.lua 969 2010-10-07 02:11:48Z shefki $
--[[
AceConfig-3.0
Very light wrapper libra... | bsd-3-clause |
Mechaniston/FibaroHC_mechHomeBcfg | BR_buttonWall (202, maxInst = 5).lua | 1 | 8692 | --[[
%% properties
323 sceneActivation
%% globals
--]]
-- CONSTS --
local debugMode = true;
local buttonID = 323;
local lightBigRoomGenDevID = 40;
local lightHall_KitchenGenDevID = 148;
local lightBRLeftID = 41;
local lightBRCenterID = 42;
local lightBRRightID = 43;
local lightBRBedID = 44;
local lightK... | mit |
tetoali605/THETETOO_A7A | plugins/admin.lua | 7 | 10194 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY tetoo ▀▄ ▄▀
▀▄ ▄▀ BY nmore (@l_l_lo) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY l_l_ll ▀▄ ▄▀
▀▄ ▄▀ broadcast : الاوامـــر ▀▄ ▄▀
▀▄▀▀▄▄▀... | gpl-2.0 |
fastmailops/prosody | plugins/mod_http_errors.lua | 4 | 2068 | module:set_global();
local server = require "net.http.server";
local codes = require "net.http.codes";
local show_private = module:get_option_boolean("http_errors_detailed", false);
local always_serve = module:get_option_boolean("http_errors_always_show", true);
local default_message = { module:get_option_string("htt... | mit |
kitala1/darkstar | scripts/zones/Bastok_Markets/npcs/Ulrike.lua | 53 | 1816 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Ulrike
-- Type: Goldsmithing Synthesis Image Support
-- @pos -218.399 -7.824 -56.203 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/st... | gpl-3.0 |
fpkaliii/kdrugs | lua/kdrugs/sv_kdrugs.lua | 1 | 1343 | util.AddNetworkString("kdrugs")
util.AddNetworkString("kdrugs.lab")
AddCSLuaFile("cl_kdrugs.lua")
AddCSLuaFile("sh_kdrugs.lua")
AddCSLuaFile("kdrugs_config.lua")
kdrugs = {}
include("kdrugs_config.lua")
include("sh_kdrugs.lua")
function kdrugs.think()
local curtime = CurTime()
for k,v in next, player.GetAll() do
if... | mit |
kitala1/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Galzweesh.lua | 34 | 1034 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Galzweesh
-- 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/Boneyard_Gully/bcnms/head_wind.lua | 13 | 1700 | -----------------------------------
-- Area: Boneyard_Gully
-- Name: head_wind
-- BCNM: 672
-----------------------------------
package.loaded["scripts/zones/Boneyard_Gully/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Boneyard_Gully/TextIDs"... | gpl-3.0 |
nicodinh/cuberite | lib/tolua++/src/bin/lua/clean.lua | 64 | 1336 | -- mark up comments and strings
STR1 = "\001"
STR2 = "\002"
STR3 = "\003"
STR4 = "\004"
REM = "\005"
ANY = "([\001-\005])"
ESC1 = "\006"
ESC2 = "\007"
MASK = { -- the substitution order is important
{ESC1, "\\'"},
{ESC2, '\\"'},
{STR1, "'"},
{STR2, '"'},
{STR3, "%[%["},
{STR4, "%]%]"},
{REM , "%-%-"},
}
func... | apache-2.0 |
rm-code/love-atom | generator/json-generator.lua | 1 | 6732 | local json = require 'dkjson'
-- ------------------------------------------------
-- Constants
-- ------------------------------------------------
local OUTPUT_FILE = 'love-completions.json'
local WIKI_URL = 'https://love2d.org/wiki/'
local LOVE_MODULE_STRING = 'love.'
-- JSON Output control
local DEBUG = false
loc... | mit |
kitala1/darkstar | scripts/zones/Sacrificial_Chamber/npcs/_4j4.lua | 12 | 1340 | -----------------------------------
-- Area: Sacrificial Chamber
-- NPC: Mahogany Door
-- @pos 300 30 -324 163
-------------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missio... | gpl-3.0 |
kitala1/darkstar | scripts/globals/abilities/pets/healing_breath_i.lua | 2 | 1269 | ---------------------------------------------------
-- Healing Breath I
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onAbili... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Dynamis-San_dOria/mobs/Overlord_s_Tombstone.lua | 11 | 1409 | -----------------------------------
-- Area: Dynamis San d'Oria
-- NPC: Overlord's Tombstone
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/dynamis");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function on... | gpl-3.0 |
NiFiLocal/nifi-minifi-cpp | thirdparty/civetweb-1.10/test/1000images.lua | 11 | 8259 | mg.write("HTTP/1.1 200 OK\r\n")
mg.write("Connection: close\r\n")
mg.write("Content-Type: text/html; charset=utf-8\r\n")
mg.write("\r\n")
t = os.time()
if not mg.request_info.query_string then
cnt = 1000
else
cnt = tonumber(mg.get_var(mg.request_info.query_string, "cnt"))
end
cnt = 100*math.floor(cn... | apache-2.0 |
kitala1/darkstar | scripts/zones/Mhaura/npcs/Kamilah.lua | 17 | 1173 | -----------------------------------
-- Area: Mhaura
-- NPC: Kamilah
-- Guild Merchant NPC: Blacksmithing Guild
-- @pos -64.302 -16.000 35.261 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
fqrouter/luci | protocols/ppp/luasrc/model/cbi/admin_network/proto_ppp.lua | 24 | 3761 | --[[
LuCI - Lua Configuration Interface
Copyright 2011 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
]]--
local ma... | apache-2.0 |
kitala1/darkstar | scripts/zones/Lower_Jeuno/npcs/Garnev.lua | 17 | 2220 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Garnev
-- Starts and Finishes Quest: Deal with Tenshodo
-- @zone 245
-- @pos 30 4 -36
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globals/settings"] = nil;
--------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Bastok_Markets/npcs/Svana.lua | 59 | 1040 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Svana
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Bastok_Markets/TextIDs");... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Windurst_Woods/npcs/Zahsa_Syalmhaia.lua | 38 | 1052 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Zahsa Syalmhaia
-- Type: Great War Veteran NPC
-- @zone: 241
-- @pos 13.710 1.422 -83.198
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = ni... | gpl-3.0 |
hanxi/cocos2d-x-v3.1 | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/PhysicsJointRotarySpring.lua | 6 | 1379 |
--------------------------------
-- @module PhysicsJointRotarySpring
-- @extend PhysicsJoint
--------------------------------
-- @function [parent=#PhysicsJointRotarySpring] getDamping
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#Phys... | mit |
kitala1/darkstar | scripts/globals/mobskills/Geotic_Breath.lua | 7 | 1271 | ---------------------------------------------
-- Geotic Breath
--
-- Description: Deals Earth damage to enemies within a fan-shaped area.
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes: Used only by Ouryu
---------------------------------------------
require("sc... | gpl-3.0 |
kitala1/darkstar | scripts/globals/mobskills/Voiceless_Storm.lua | 25 | 1175 | ---------------------------------------------
-- Voiceless Storm
-- Description: AOE Damage, Silence, strips Utsusemi (MOBPARAM_WIPE_SHADOWS)
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
------... | gpl-3.0 |
darrenatdesignory/CG | scripts/dmc_buttons.lua | 1 | 21432 |
--====================================================================--
-- dmc_buttons.lua
--
-- by David McCuskey
-- Documentation: http://docs.davidmccuskey.com/display/docs/dmc_buttons.lua
--====================================================================--
--[[
Copyright (C) 2011 David McCuskey. All Rights... | mit |
kitala1/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Zabahf.lua | 19 | 1646 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Zabahf
-- Type: Standard NPC
-- @pos -90.070 -1 10.140 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
NiFiLocal/nifi-minifi-cpp | thirdparty/civetweb-1.10/test/page_keep_alive_chunked.lua | 11 | 2018 | -- Set keep_alive. The return value specifies if this is possible at all.
canKeepAlive = mg.keep_alive(true)
now = os.date("!%a, %d %b %Y %H:%M:%S")
-- First send the http headers
mg.write("HTTP/1.1 200 OK\r\n")
mg.write("Content-Type: text/html\r\n")
mg.write("Date: " .. now .. " GMT\r\n")
mg.write("Cache-Control: no... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.