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 |
|---|---|---|---|---|---|
modulexcite/Zero-K-Infrastructure | Benchmarker/Benchmarks/Configs/ZKL_default/LuaUI/Config/ZK_order.lua | 12 | 4858 | -- Widget Order List (0 disables a widget)
return {
["AA Command Helper"] = 14,
AdvPlayersList = 0,
["Ally Resource Bars"] = 0,
AllyCursors = 59,
AnimatorGUI = 0,
["Attack AoE"] = 50,
["Attack Warning"] = 55,
["Auto First Build Facing"] = 15,
["Auto Group"] = 53,
["Auto Patrol Nanos"] = 16,
["Au... | gpl-3.0 |
FishFilletsNG/fillets-data | script/duckie/models.lua | 1 | 2185 |
createRoom(27, 21, "images/"..codename.."/odpadky-p.png")
setRoomWaves(5, 10, 5)
room = addModel("item_fixed", 0, 0,
[[
XXXXXXX.....XXXXXXXXXXXXXXX
XXXXXXX......XXXXXXXXXXXXXX
XXXXXXXX.XX..XXXXXXXXXXXXXX
XXXXXXXX.XXX.XXXXX.XXXXXXXX
XXXXXXXX.XXX.X.XXX.XXXXXXXX
XXXXX.................XXXXX
XXXXX.................XXXXX
XX... | gpl-2.0 |
Null22/senator | bot/bot.lua | 1 | 7092 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '0.14.6'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
r... | gpl-2.0 |
AnySDK/Sample_Lua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Node.lua | 9 | 39371 |
--------------------------------
-- @module Node
-- @extend Ref
-- @parent_module cc
--------------------------------
-- @overload self, cc.Node, int
-- @overload self, cc.Node
-- @overload self, cc.Node, int, int
-- @overload self, cc.Node, int, string
-- @function [parent=#Node] ... | mit |
hooksta4/darkstar | scripts/globals/spells/bluemagic/amplification.lua | 17 | 1987 | -----------------------------------------
-- Spell: Amplification
-- Enhances magic attack and magic defense
-- Spell cost: 48 MP
-- Monster Type: Amorphs
-- Spell Type: Magical (Water)
-- Blue Magic Points: 3
-- Stat Bonus: HP-5, MP+5
-- Level: 70
-- Casting Time: 7 seconds
-- Recast Time: 120 seconds
-- Du... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Yuhtunga_Jungle/npcs/Zorchorevi_RK.lua | 30 | 3059 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Zorchorevi, R.K.
-- Outpost Conquest Guards
-- @pos -242.487 -1 -402.772 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/spells/cura_iii.lua | 36 | 4123 | -----------------------------------------
-- Spell: Cura III
-- Restores hp in area of effect. Self target only
-- From what I understand, Cura III's base potency is the same as Cure III's.
-- With Afflatus Misery Bonus, it can be as potent as a Curaga IV
-- Modeled after our cure_iii.lua, which was modeled after the b... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Labyrinth_of_Onzozo/npcs/Treasure_Chest.lua | 19 | 3506 | -----------------------------------
-- Area: Labyrinth of Onzozo
-- NPC: Treasure Chest
-- @zone 213
-----------------------------------
package.loaded["scripts/zones/Labyrinth_of_Onzozo/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
project802/Focus-Points | focuspoints.lrdevplugin/DefaultDelegates.lua | 5 | 8198 | --[[
Copyright 2016 Whizzbang Inc
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
Unless required by applicable law or agreed to in writin... | apache-2.0 |
hooksta4/darkstar | scripts/globals/effects/warcry.lua | 35 | 1071 | -----------------------------------
--
-- EFFECT_WARCRY
--
-- Notes:
-- Savagery TP bonus not cut in half like ffxclopedia says.
-- ffxiclopedia is wrong, bg wiki right. See link where testing was done.
-- http://www.bluegartr.com/threads/108199-Random-Facts-Thread-Other?p=5367464&viewfull=1#post5367464
------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Tahrongi_Canyon/npcs/Telepoint.lua | 2 | 1590 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: Telepoint
-- @pos 100.000 35.150 340.000 117
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Tahrongi_... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Telepoint.lua | 2 | 1590 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: Telepoint
-- @pos 100.000 35.150 340.000 117
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Tahrongi_... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Yuhtunga_Jungle/npcs/Uphra-Kophra_WW.lua | 30 | 3061 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Uphra-Kophra, W.W.
-- Outpost Conquest Guards
-- @pos -242.487 -1 -402.772 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest")... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Yuhtunga_Jungle/npcs/Uphra-Kophra_WW.lua | 30 | 3061 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Uphra-Kophra, W.W.
-- Outpost Conquest Guards
-- @pos -242.487 -1 -402.772 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest")... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Chamber_of_Oracles/bcnms/through_the_quicksand_caves.lua | 2 | 1963 | -----------------------------------
-- Area: Qu'Bia Arena
-- Name: Zilart Mission 6
-- @pos -221 -24 19 206
-----------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems")... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Chateau_dOraguille/npcs/_6h1.lua | 2 | 2207 | -----------------------------------
-- 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 |
FishFilletsNG/fillets-data | script/hardware/dialogs_pl.lua | 1 | 1981 |
dialogId("pz-v-zaskladanej", "font_big", "I’m completely blocked in here.")
dialogStr("Jestem tu kompletnie zablokowany.")
dialogId("pz-m-co", "font_small", "What are you doing up there?")
dialogStr("Co masz tam na górze?")
dialogId("pz-v-klice1", "font_big", "These must be some hardware keys.")
dialogStr("To pewn... | gpl-2.0 |
chihyang/koreader | plugins/evernote.koplugin/main.lua | 2 | 14406 | local InputContainer = require("ui/widget/container/inputcontainer")
local LoginDialog = require("ui/widget/logindialog")
local InfoMessage = require("ui/widget/infomessage")
local NetworkMgr = require("ui/networkmgr")
local DataStorage = require("datastorage")
local DocSettings = require("docsettings")
local UIManager... | agpl-3.0 |
ak48disk/wowaddons | Quartz/libs/AceGUI-3.0/AceGUI-3.0.lua | 11 | 24487 | --- **AceGUI-3.0** provides access to numerous widgets which can be used to create GUIs.
-- AceGUI is used by AceConfigDialog to create the option GUIs, but you can use it by itself
-- to create any custom GUI. There are more extensive examples in the test suite in the Ace3
-- stand-alone distribution.
--
-- **No... | mit |
hooksta4/darkstar | scripts/zones/Windurst_Waters/npcs/Piketo-Puketo.lua | 37 | 2135 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Piketo-Puketo
-- Type: Cooking Guild Master
-- @pos -124.012 -2.999 59.998 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/weaponskills/wasp_sting.lua | 12 | 1538 | -----------------------------------
-- Wasp Sting
-- Dagger weapon skill
-- Skill level: 5
-- Poisons target. Duration of effect varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: None
-- Modifiers: : DEX:100%
-- 100%TP 200%TP 300... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Bastok_Mines/npcs/Aulavia.lua | 2 | 1542 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Aulavia
-- Regional Marchant NPC
-- Only sells when Bastok controls Vollbow.
-----------------------------------
require("scripts/globals/events/harvest_festivals");
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["s... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/items/pot_of_royal_tea.lua | 35 | 1204 | -----------------------------------------
-- ID: 4524
-- Item: pot_of_royal_tea
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Vitality -1
-- Charisma 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
--... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Windurst_Waters/npcs/HomePoint#1.lua | 2 | 1212 | -----------------------------------
-- Area: Windurst Waters
-- NPC: HomePoint#1
-- @pos -32.022 -5.000 131.741 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Waters/TextIDs");
require("script... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/mobskills/Leaf_Dagger.lua | 25 | 1197 | ---------------------------------------------
-- Leaf Dagger
--
-- Description: Deals piercing damage to a single target. Additional effect: Poison
-- Type: Physical
-- Utsusemi/Blink absorb: 2 shadows
-- Range: Melee?
-- Notes: On higher level Madragoras (Korrigans for example) the poision is 5hp/tick for... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Riverne-Site_B01/npcs/Spatial_Displacement.lua | 2 | 4422 | -----------------------------------
-- Area: Riverne Site #B01
-- NPC: Spacial Displacement
-----------------------------------
-----------------------------------
-- onTrade
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-- onTrigger
----------------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/The_Garden_of_RuHmet/mobs/Jailer_of_Faith.lua | 2 | 1389 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- NPC: Jailer_of_Faith
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
-- Give it two hour
mob:setMod(MOBMOD_MAIN_2HOUR, 1);
-- Change anima... | gpl-3.0 |
prosody-modules/import2 | mod_s2s_auth_fingerprint/mod_s2s_auth_fingerprint.lua | 31 | 1380 | -- Copyright (C) 2013-2014 Kim Alvefur
-- This file is MIT/X11 licensed.
module:set_global();
local digest_algo = module:get_option_string(module:get_name().."_digest", "sha1");
local fingerprints = {};
local function hashprep(h)
return tostring(h):gsub(":",""):lower();
end
local function hashfmt(h)
return h:gsu... | mit |
hooksta4/darkstar | scripts/globals/weaponskills/shell_crusher.lua | 18 | 1620 | -----------------------------------
-- Shell Crusher
-- Staff weapon skill
-- Skill Level: 175
-- Lowers target's defense. Duration of effect varies with TP.
-- If unresisted, lowers target defense by 25%.
-- Will stack with Sneak Attack.
-- Aligned with the Breeze Gorget.
-- Aligned with the Breeze Belt.
-- E... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Castle_Oztroja/npcs/_47w.lua | 2 | 1219 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47w (Handle)
-- Notes: Opens door _473 from behind
-- @pos -41.377 -17.084 17.036 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Cast... | gpl-3.0 |
Hamyargroup-tecmjmh/hamyar-groupVersion1-3 | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Garlaige_Citadel/npcs/qm19.lua | 57 | 2137 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm19 (??? - Bomb Coal Fragments)
-- Involved in Quest: In Defiant Challenge
-- @pos -50.175 6.264 251.669 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Castle_Oztroja/Zone.lua | 19 | 1745 | -----------------------------------
--
-- Zone: Castle_Oztroja (151)
--
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Castle_Oztroja/TextI... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Xarcabard/npcs/Luck_Rune.lua | 34 | 1062 | -----------------------------------
-- Area: Xarcabard
-- NPC: Luck Rune
-- Involved in Quest: Mhaura Fortune
-- @pos 576.117 -0.164 -16.935 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Xarcab... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/weaponskills/shadowstitch.lua | 12 | 1530 | -----------------------------------
-- Shadowstitch
-- Dagger weapon skill
-- Skill level: 70
-- Binds target. Chance of binding varies with TP.
-- Does stack with Sneak Attack.
-- Aligned with the Aqua Gorget.
-- Aligned with the Aqua Belt.
-- Element: None
-- Modifiers: CHR:100%
-- 100%TP 200%TP 300%T... | gpl-3.0 |
unigent/openwrt-3.10.14 | package/ramips/ui/luci-mtk/src/applications/luci-watchcat/luasrc/model/cbi/watchcat/watchcat.lua | 30 | 2105 | --[[
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$
]]... | gpl-2.0 |
FishFilletsNG/fillets-data | script/snowman/dialogs_es.lua | 1 | 1213 |
dialogId("tr-m-chlad1", "font_small", "I’m kind of cold.")
dialogStr("Tengo un poco de frío.")
dialogId("tr-v-jid1", "font_big", "No wonder. This is the Winter Mess Hall.")
dialogStr("No te preocupes. Este es el Salón del Invierno.")
dialogId("tr-m-chlad2", "font_small", "I’m cold.")
dialogStr("Tengo frío.")
dia... | gpl-2.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/spells/bluemagic/wild_carrot.lua | 10 | 1783 | -----------------------------------------
-- Spell: Wild Carrot
-- Restores HP for the target party member
-- Spell cost: 37 MP
-- Monster Type: Beasts
-- Spell Type: Magical (Light)
-- Blue Magic Points: 3
-- Stat Bonus: HP+5
-- Level: 30
-- Casting Time: 2.5 seconds
-- Recast Time: 6 seconds
--
-- Combos... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Fort_Karugo-Narugo_[S]/npcs/Spondulix.lua | 37 | 1195 | -----------------------------------
-- Area: Fort Karugo-Narugo
-- NPC: Spondulix
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil;
require("scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs");
-----... | gpl-3.0 |
actboy168/vscode-lua-debug | extension/script/backend/master/event.lua | 1 | 1722 | local mgr = require 'backend.master.mgr'
local event = {}
function event.initialized()
mgr.sendToClient {
type = 'event',
seq = mgr.newSeq(),
event = 'initialized',
}
end
function event.capabilities()
mgr.sendToClient {
type = 'event',
seq = mgr.newSeq(),
ev... | mit |
omid1212/wwww | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
telemagma/prj-1 | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
FishFilletsNG/fillets-data | script/city/dialogs_en.lua | 1 | 4170 |
dialogId("vit-hs-vitejteA", "font_statue", "Welcome to the most beautiful city under the sun.")
dialogId("vit-hs-vitejteB", "font_statue", "Welcome to our city - the city of unlimited opportunities.")
dialogId("vit-hs-vitejteC", "font_statue", "On behalf of the citizens of this town I welcome you.")
dialogId("vit-h... | gpl-2.0 |
snabbco/snabb | src/program/snabbmark/snabbmark.lua | 2 | 24038 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local usage = require("program.snabbmark.README_inc")
local basic_apps = require("apps.basic.basic_apps")
local pci = require("lib.hardware.pci")
local ethernet = require("lib.protocol.ethernet")... | apache-2.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Aydeewa_Subterrane/npcs/qm1.lua | 15 | 1185 | -----------------------------------
-- Area: Aydeewa Subterrane
-- NPC: ??? (Spawn Nosferatu(ZNM T3))
-- @pos -199 8 -62 68
-----------------------------------
package.loaded["scripts/zones/Aydeewa_Subterrane/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aydeewa_Subterrane/TextIDs");
-... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/LaLoff_Amphitheater/Zone.lua | 3 | 1600 | -----------------------------------
--
-- Zone: LaLoff_Amphitheater (180)
--
-----------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
-----------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Nashmau/npcs/Pipiroon.lua | 4 | 1170 | -----------------------------------
-- Area: Nashmau
-- NPC: Pipiroon
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
---------------------... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/abilities/pets/glittering_ruby.lua | 6 | 1111 | ---------------------------------------------------
-- Glittering Ruby
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
---------------------------------------------------
function onAbi... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ragyaya.lua | 38 | 1043 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ragyaya
-- Type: Standard NPC
-- @zone: 94
-- @pos -95.376 -3 60.795
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
------... | gpl-3.0 |
guanbaiqiang/notion-scripts | styles/look_gtk2.lua | 2 | 3698 | -- theme that goes well with the gtk2 default colors
-- it makes use of terminus als artwiz fonts
--
-- By Rene van Bevern <rvb@pro-linux.de>
if not gr.select_engine("de") then return end
de.reset()
de.defstyle("*", {
shadow_colour = "#9c9a94",
highlight_colour = "#ffffff",
background_colour = "#dedbd6",... | gpl-3.0 |
FishFilletsNG/fillets-data | script/emulator/dialogs_de.lua | 1 | 2675 |
dialogId("zx-m-pametnici", "font_small", "So this is a level for real connoisseurs.")
dialogStr("Das ist mal eine Ebene für echte Kenner.")
dialogId("zx-v-osmibit", "font_big", "Yeah, I feel like I can feel the eight bit wind of history.")
dialogStr("Ja, ich spüre den Acht-Bit-Wind der Geschichte.")
dialogId("zx-m... | gpl-2.0 |
hooksta4/darkstar | scripts/zones/Port_Windurst/npcs/Yafa_Yaa.lua | 6 | 2653 | -----------------------------------
-- Area: Port Windurst
-- NPC: Yafa Yaa
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/Port_Windurst/T... | gpl-3.0 |
guanbaiqiang/notion-scripts | scripts/named_scratchpad.lua | 2 | 1398 | --[[
Author: Etan Reisner
Email: deryni@gmail.com
Summary: Toggle (and create) scratchpads by name.
Version: 0.2
Last Updated: 2007-01-23
Copyright (c) Etan Reisner 2007
This software is released under the terms of the MIT license. For more
information, see http://opensource.org/licenses/mit-license.php .
--]]
-- Us... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/items/moon_ball.lua | 35 | 1183 | -----------------------------------------
-- ID: 4568
-- Item: moon_ball
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 3
-- Magic 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
FishFilletsNG/fillets-data | script/viking1/dialogs_cs.lua | 1 | 2313 |
dialogId("dr-m-tojesnad", "font_small", "This must be a Viking ship!")
dialogStr("To je snad vikingská loď!")
dialogId("dr-v-jiste", "font_big", "Sure, it’s a drakkar.")
dialogStr("Jistě, je to drakkar.")
dialogId("dr-m-musela", "font_small", "She must have sunk fast. The oarsmen are still in their places.")
dialo... | gpl-2.0 |
guanbaiqiang/notion-scripts | scripts/app.lua | 2 | 3817 | --
-- By Jeremy Hankins <nowan@nowan.org>
-- Multi-head support added by Johannes Segitz
-- Cycling contributed by
-- Antti Kaihola <antti.kaihola@linux-aktivaattori.org>
--
-- Time-stamp: <2005-11-16 12:02:46 Jeremy Hankins>
-- <2005-08-26 11:35:00 kaihola>
--
-- With these functions you can bind a key t... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Cloister_of_Frost/bcnms/trial-size_trial_by_ice.lua | 13 | 2012 | -----------------------------------
-- Area: Cloister of Frost
-- BCNM: Trial-size Trial by Ice
-- @pos 558 0.1 596 203
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/global... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Windurst_Woods/npcs/Harara_WW.lua | 2 | 4694 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Harara, W.W.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Run Missions and of... | gpl-3.0 |
eulerreich/dp | observer/observer.lua | 7 | 2259 | ------------------------------------------------------------------------
--[[ Observer ]]--
-- An object that is called when events occur.
-- Based on the Subject-Observer design pattern.
-- Uses a mediator to publish/subscribe to channels.
-- Observers cannot publish reports (for now).
-- The reason for this is
--... | bsd-3-clause |
TeleDALAD/RedHate- | plugins/stats.lua | 866 | 4001 | 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 |
hooksta4/darkstar | scripts/zones/Windurst_Walls/npcs/Orudoba-Sondeba.lua | 38 | 1044 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Orudoba-Sondeba
-- Type: Standard NPC
-- @zone: 239
-- @pos 70.086 -3.503 -69.939
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----... | gpl-3.0 |
Hostle/openwrt-luci-multi-user | applications/luci-app-statistics/luasrc/statistics/i18n.lua | 29 | 2184 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.i18n", package.seeall)
require("luci.util")
require("luci.i18n")
Instance = luci.util.class()
function Instance.__init__( self, graph )
self.i18n = luci.i18n
se... | apache-2.0 |
ccrusius/texmf | tex/plain/ccrusius/ccbase.lua | 1 | 1426 | local exports = {}
local GLUE_TYPE = node.id("glue")
local GLYPH_TYPE = node.id("glyph")
local HLIST_TYPE = node.id("hlist")
local KERN_TYPE = node.id("kern")
local MATH_TYPE = node.id("math")
local RULE_TYPE = node.id("rule")
local VLIST_TYPE = node.id("vlist")
local WHATSIT_TYPE = node.id("whatsit")... | mit |
Chilastra-Reborn/Chilastra-source-code | bin/scripts/mobile/conversations/events/life_day/life_day_tebeurra_conv.lua | 3 | 3497 | lifeDayTebeurraConvoTemplate = ConvoTemplate:new {
initialScreen = "",
templateType = "Lua",
luaClassHandler = "lifeDayTebeurraConvoHandler",
screens = {}
}
elder_first = ConvoScreen:new {
id = "elder_first",
leftDialog = "@conversation/lifeday04e:s_a104d858", -- (Translated from Shyriiwook) You should speak wit... | agpl-3.0 |
LeMagnesium/minetest-minetestforfun-server | mods/throwing/fire_arrow.lua | 6 | 4283 | minetest.register_craftitem("throwing:arrow_fire", {
description = "Fire Arrow",
inventory_image = "throwing_arrow_fire.png",
})
minetest.register_node("throwing:arrow_fire_box", {
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
-- Shaft
{-6.5/17, -1.5/17, -1.5/17, 6.5/17, 1.5/17, 1.5/17},
... | unlicense |
Chilastra-Reborn/Chilastra-source-code | bin/scripts/commands/sitServer.lua | 4 | 2120 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
mohammad8/iranbot | plugins/stats.lua | 16 | 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 |
DBarney/luvit | tests/test-http-encoder.lua | 14 | 3883 | --[[
Copyright 2014 The Luvit Authors. All Rights Reserved.
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
Unless required by applicable law or agr... | apache-2.0 |
imashkan/ramindev | plugins/banhammer.lua | 34 | 11497 |
local function pre_process(msg)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Checking invited user '..user_id)
local banned ... | gpl-2.0 |
braydondavis/Nerd-Gaming-Public | resources/[no_ng_tag]/parachute/client_anim.lua | 7 | 14422 | --[[
Client animation library by arc_
Version 1.0.0
Licence
----------------
You are free to modify this file and redistribute it with your changes.
However, always mention that you changed it (and eventually what changes
you made) and keep the original author, version number and lice... | mit |
Chilastra-Reborn/Chilastra-source-code | bin/scripts/mobile/endor/proficient_gondula_worker.lua | 2 | 1304 | proficient_gondula_worker = Creature:new {
objectName = "@mob/creature_names:proficient_gondula_worker",
randomNameType = NAME_GENERIC_TAG,
socialGroup = "gondula_tribe",
faction = "gondula_tribe",
level = 35,
chanceHit = 0.41,
damageMin = 320,
damageMax = 350,
baseXp = 3460,
baseHAM = 8800,
baseHAMmax = 108... | agpl-3.0 |
wesen/wesen.github.io | games/fx-editor/particle_nodes.lua | 1 | 1708 | -- base class for particles
cls_node_particles=subclass(cls_node,function(self,args,layer)
cls_node._ctr(self,args)
self.layer=layer
self.layer.die_cb=function(p)
self:send_value(0,p.x)
self:send_value(1,p.y)
self:send_value(2,1)
end
end)
function cls_node_particles:update()
self.layer:update()
end
functio... | mit |
Chilastra-Reborn/Chilastra-source-code | bin/scripts/mobile/lair/npc_theater/global_imperial_major_camp_imperial_medium_theater.lua | 2 | 1037 | global_imperial_major_camp_imperial_medium_theater = Lair:new {
mobiles = {
{"imperial_major",1},
{"imperial_first_lieutenant",2},
{"imperial_sergeant",2},
{"imperial_trooper",3}
},
spawnLimit = 12,
buildingsVeryEasy = {"object/building/poi/lok_imperial_medium4.iff","object/building/poi/lok_imperial_medium5... | agpl-3.0 |
bingo235/skynet | lualib/socket.lua | 4 | 9323 | local driver = require "socketdriver"
local skynet = require "skynet"
local skynet_core = require "skynet.core"
local assert = assert
local socket = {} -- api
local buffer_pool = {} -- store all message buffer object
local socket_pool = setmetatable( -- store all socket object
{},
{ __gc = function(p)
for id,v in ... | mit |
Chilastra-Reborn/Chilastra-source-code | bin/scripts/commands/editBank.lua | 4 | 2117 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
superzazu/denver.lua | example-synthesizer/lib/middleclass.lua | 63 | 6117 | local middleclass = {
_VERSION = 'middleclass v3.0.1',
_DESCRIPTION = 'Object Orientation for Lua',
_URL = 'https://github.com/kikito/middleclass',
_LICENSE = [[
MIT LICENSE
Copyright (c) 2011 Enrique García Cota
Permission is hereby granted, free of charge, to any person obtaining... | mit |
MikeMcShaffry/gamecode3 | Dev/Source/3rdParty/LuaPlus/Bin/lua/ltn12.lua | 127 | 8177 | -----------------------------------------------------------------------------
-- LTN12 - Filters, sources, sinks and pumps.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: ltn12.lua,v 1.31 2006/04/03 04:45:42 diego Exp $
-----------------------------------------------------------------------------
-------... | lgpl-2.1 |
Chilastra-Reborn/Chilastra-source-code | bin/scripts/mobile/corellia/corsec_trooper.lua | 2 | 1290 | corsec_trooper = Creature:new {
objectName = "@mob/creature_names:corsec_trooper",
randomNameType = NAME_GENERIC_TAG,
socialGroup = "corsec",
faction = "corsec",
level = 14,
chanceHit = 0.3,
damageMin = 150,
damageMax = 160,
baseXp = 714,
baseHAM = 2000,
baseHAMmax = 2400,
armor = 0,
resists = {0,0,0,0,0,0... | agpl-3.0 |
LeMagnesium/minetest-minetestforfun-server | mods/WorldEdit/worldedit/serialization.lua | 10 | 8359 | --- Schematic serialization and deserialiation.
-- @module worldedit.serialization
worldedit.LATEST_SERIALIZATION_VERSION = 5
local LATEST_SERIALIZATION_HEADER = worldedit.LATEST_SERIALIZATION_VERSION .. ":"
--[[
Serialization version history:
1: Original format. Serialized Lua table with a weird linked ... | unlicense |
andresy/benchmark | SpatialConvolutionFast.lua | 1 | 2781 | local SpatialConvolutionFast, parent = torch.class('nn.SpatialConvolutionFast', 'nn.Module')
function SpatialConvolutionFast:__init(nInputPlane, nOutputPlane, kW, kH, dW, dH)
parent.__init(self)
dW = dW or 1
dH = dH or 1
self.nInputPlane = nInputPlane
self.nOutputPlane = nOutputPlane
self.kW = kW
... | bsd-3-clause |
garoose/eecs494.p2 | dev/premake/premake/tests/actions/make/test_wiidev.lua | 2 | 1455 | --
-- tests/actions/make/test_wiidev.lua
-- Tests for Wii homebrew support in makefiles.
-- Copyright (c) 2011 Jason Perkins and the Premake project
--
T.make_wiidev = { }
local suite = T.make_wiidev
local make = premake.make
local cpp = premake.make.cpp
local sln, prj, cfg
function suite.setup()
_ACTION = "... | mit |
Chilastra-Reborn/Chilastra-source-code | bin/scripts/loot/items/wearables/pants/pants_s17.lua | 4 | 1149 | pants_s17 = {
-- Shorts
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "",
directObjectTemplate = "object/tangible/wearables/pants/pants_s17.iff",
craftingValues = {},
skillMods = {},
customizationStringNames = {"/private/index_color_1","/private/index_color_2"},
customizationV... | agpl-3.0 |
raydtang/ESPLogger | src/luxTSL2561/i2cutils.lua | 8 | 1135 | -- This code provides some basic helper functions dealing with i2c devices
-- Much of this code was inspired by Santos and others on esp8266.com
-- Adapted by Aeprox@github for use in ESPlogger
local moduleName = "i2cutils"
local M = {}
_G[moduleName] = M
-- read a single byte from register
function M.read_reg(dev_a... | mit |
nimaghorbani/ototo | plugins/moderation.lua | 6 | 7715 | -- Moderation for Liberbot groups.
-- The bot must be made an admin.
-- Put this near the top, after blacklist.
-- If you want to enable antisquig, put that at the top, before blacklist.
moddat = load_data('moderation.json')
antisquig = {}
local commands = {
['^/modhelp[@'..bot.username..']*$'] = function(msg)
... | gpl-2.0 |
Chilastra-Reborn/Chilastra-source-code | bin/scripts/commands/clientQualifiedForSkill.lua | 4 | 2162 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
Azulaloi/ExpandedMagnorbs | magnorbs/legunstable/legunstable.lua | 1 | 6942 | require "/scripts/vec2.lua"
require "/scripts/util.lua"
require "/scripts/status.lua"
require "/scripts/activeitem/stances.lua"
function init()
activeItem.setCursor("/cursors/reticle0.cursor")
self.projectileType = config.getParameter("projectileType")
self.projectileParameters = config.getParameter("projectile... | gpl-3.0 |
Chilastra-Reborn/Chilastra-source-code | bin/scripts/loot/items/wearables/skirt/skirt_s07.lua | 4 | 1168 | skirt_s07 = {
-- Fashionably Pleated Skirt
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "",
directObjectTemplate = "object/tangible/wearables/skirt/skirt_s07.iff",
craftingValues = {},
skillMods = {},
customizationStringNames = {"/private/index_color_1","/private/index_color_2"},... | agpl-3.0 |
bokonshakh/NOVA2-BOT | plugins/invite.lua | 299 | 1025 | -- Invite other user to the chat group.
-- Use !invite name User_name or !invite id id_number
-- The User_name is the print_name (there are no spaces but _)
do
local function callback(extra, success, result)
vardump(success)
vardump(result)
end
local function run(msg, matches)
local user = matches[2]
-- Use... | gpl-2.0 |
Chilastra-Reborn/Chilastra-source-code | bin/scripts/mobile/lair/npc_theater/talus_selonian_base_neutral_large_theater.lua | 2 | 1140 | talus_selonian_base_neutral_large_theater = Lair:new {
mobiles = {{"selonian_separatist",3},{"selonian_separatist_general",1},{"selonian_separatist_soldier",3},{"selonian_separatist_recruit",3},{"selonian_separatist_captain",2}},
spawnLimit = 15,
buildingsVeryEasy = {"object/building/poi/corellia_selonian_separatist... | agpl-3.0 |
bluegr/scummvm | devtools/create_ultima/files/ultima6/scripts/u6/intro.lua | 17 | 87594 | SDLK_UP = 82 + 1073741824
SDLK_DOWN = 81 + 1073741824
SDLK_RIGHT = 79 + 1073741824
SDLK_LEFT = 80 + 1073741824
g_img_tbl = {}
local function poll_for_esc()
local input = input_poll()
if input ~= nil and input == 27 then
return true
end
if engine_should_quit() == 1 then
return... | gpl-3.0 |
LeMagnesium/minetest-minetestforfun-server | mods/homedecor_modpack/plasmascreen/init.lua | 9 | 5184 | screwdriver = screwdriver or {}
minetest.register_node("plasmascreen:stand", {
description = "Plasma Screen TV Stand",
tiles = {"plasmascreen_back.png"},
paramtype = "light",
paramtype2 = "facedir",
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{0.5000,-0.5000,0.0625,-0.5000,-0.4375,-0.5000... | unlicense |
yimogod/boom | trunk/t-engine4/game/engines/engine/generator/trap/Random.lua | 1 | 1961 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2015 Nicolas Casalini
--
-- 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 version 3 of the License, or
-- (at your option) any later version.... | apache-2.0 |
bingo235/skynet | examples/client.lua | 67 | 2101 | package.cpath = "luaclib/?.so"
package.path = "lualib/?.lua;examples/?.lua"
if _VERSION ~= "Lua 5.3" then
error "Use lua 5.3"
end
local socket = require "clientsocket"
local proto = require "proto"
local sproto = require "sproto"
local host = sproto.new(proto.s2c):host "package"
local request = host:attach(sproto.n... | mit |
aqasaeed/spartatg | plugins/Member_Moderator.lua | 20 | 10430 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
local group_creator = msg.from.print_name
create_group_chat (group_creator, group_name, ok_cb, false)
return 'Group '..string.gsub(group_name, '... | gpl-2.0 |
Chilastra-Reborn/Chilastra-source-code | bin/scripts/mobile/faction/jabba/imprisoned_jabba_employee.lua | 2 | 1290 | imprisoned_jabba_employee = Creature:new {
objectName = "@mob/creature_names:imprisoned_jabba_employee",
randomNameType = NAME_GENERIC_TAG,
socialGroup = "jabba",
faction = "jabba",
level = 12,
chanceHit = 0.29,
damageMin = 130,
damageMax = 140,
baseXp = 430,
baseHAM = 1200,
baseHAMmax = 1400,
armor = 0,
r... | agpl-3.0 |
bluegr/scummvm | devtools/create_ultima/files/ultima6/scripts/se/actor.lua | 18 | 12032 | --Actor stats table
--[objnum] = {str,dex,int,hp,dmg,alignment,can talk,drops blood,?,?,?,lives in water,flies-immune to tremor,repel undead (not used anymore),poisonous,strength_based,double dmg from fire,immune to magic (fire only),immune to poison,undead and immune to death spells,immune to sleep spell,{spell table}... | gpl-3.0 |
kidaa/Algorithm-Implementations | Move_To_Front_Transform/Lua/Yonaba/mtf_test.lua | 26 | 1524 | -- Tests for mtf.lua
local mtf = require 'mtf'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 end
local status = ok... | mit |
Chilastra-Reborn/Chilastra-source-code | bin/scripts/commands/forceFeedback2.lua | 3 | 2135 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
amirhoseinkarimi2233/uzzbot | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
ozhanf/ozhan | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.