repo_name
stringlengths
6
78
path
stringlengths
4
206
copies
stringclasses
281 values
size
stringlengths
4
7
content
stringlengths
625
1.05M
license
stringclasses
15 values
bnetcc/darkstar
scripts/zones/Davoi/npcs/_45d.lua
5
1258
----------------------------------- -- Area: Davoi -- NPC: Wall of Banishing -- Used In Quest: Whence Blows the Wind -- !pos 181 0.1 -218 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("script...
gpl-3.0
syershov/omim
3party/osrm/osrm-backend/profiles/examples/postgis.lua
70
3445
-- This example shows how to query external data stored in PostGIS when processing ways. -- This profile assumes that OSM data has been imported to PostGIS using imposm to a db -- with the name 'imposm', the default user and no password. It assumes areas with -- landusage=* was imported to the table osm_landusages, ...
apache-2.0
bnetcc/darkstar
scripts/zones/Lower_Delkfutts_Tower/npcs/_544.lua
5
1337
----------------------------------- -- Area: Lower Delkfutt's Tower -- NPC: Cermet Door -- Notes: Door opens when you trade Delkfutt Key to it -- !pos 345 0.1 20 184 ----------------------------------- package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil; ----------------------------------- require("scr...
gpl-3.0
bnetcc/darkstar
scripts/zones/Selbina/npcs/Zaldon.lua
5
72546
----------------------------------- -- Area: Selbina -- NPC: Zaldon -- Involved in Quests: Under the sea, A Boy's Dream -- Starts and Finishes: Inside the Belly -- !pos -13 -7 -5 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("...
gpl-3.0
yswifi/APlan
build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/luci/ipkg-ramips_24kec/luci-mod-admin-full/usr/lib/lua/luci/model/cbi/admin_system/system.lua
39
5650
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> 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://w...
gpl-2.0
dragynbane222/awesome-dot-files
themes/wombat/theme.lua
1
6187
-- wombat (matching the vim colorscheme), awesome3 theme, by zhuravlik --{{{ Main local awful = require("awful") awful.util = require("awful.util") theme = {} home = os.getenv("HOME") config = awful.util.getdir("config") shared = "/usr/share/awesome" if not awful.util.file_readable(shared .. "...
gpl-2.0
WolfgangAxel/ConkyConfigs
DF-Conky/LUA/dorfs.lua
1
2772
--[[This is a lua script for use in conky. You will need to add the following to your .conkyrc before the TEXT section: lua_load $HOME/.config/conky/LUA/dorfs.lua (or wherever you put your luas) lua_draw_hook_pre conky_dorfs I am not even close to being a programmer. It couldn't have been done without the help of...
mit
Taiwar/OpenComputers-Scripts
projects/holo_hud/player_sensor_hud.lua
1
4722
local comp = require "component" local event = require "event" local serialization = require "serialization" local ghelper = require "glasses_helper" local password = "entryPasswordToSecretBatcave" local g = comp.glasses local m = comp.modem local s = comp.motion_sensor local rfid = comp.os_rfidreader local e = comp....
gpl-3.0
Etiene/Algorithm-Implementations
N_Queens_Problem/Lua/Yonaba/nqueens_test.lua
26
1360
-- Tests for nqueens.lua local nqueens = require 'nqueens' 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...
mit
bnetcc/darkstar
scripts/globals/weaponskills/flash_nova.lua
23
1433
----------------------------------- -- Flash Nova -- Skill level: 290 -- Delivers light elemental damage. Additional effect: Flash. Chance of effect varies with TP. -- Generates a significant amount of Enmity. -- Does not stack with Sneak Attack -- Aligned with Aqua Gorget. -- Aligned with Aqua Belt. -- Properties: -- ...
gpl-3.0
bnetcc/darkstar
scripts/globals/mobskills/numbshroom.lua
50
1146
--------------------------------------------------- -- 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
bnetcc/darkstar
scripts/globals/items/bowl_of_sutlac_+1.lua
3
1114
----------------------------------------- -- ID: 5578 -- Item: Bowl of Sutlac -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10 -- MP +10 -- INT +2 -- HP Recovered while healing +1 -- MP Recovered while healing +1 ----------------------------------------- require...
gpl-3.0
AdoBeatTheWorld/waytomobile
projects/game003/src/app/scenes/FightScene.lua
1
5081
--[[ Fight scene of the game ]] local Player = import("app.models.Player") local Hero = import("app.models.Hero") local FightUi = import("app.views.FightUi") local PlayerController = import("app.controllers.PlayerController") local GameUnit = import("app.views.GameUnit") local CharacterView = import("app.views.Charact...
mit
erig0/textadept-vi
vi_ta_util.lua
1
1324
-- Utilities for dealing with textadept objects. local M = {} local lpeg = require 'lpeg' -- Return the number of characters on this line, without -- line endings. function M.line_length(lineno) return buffer.line_end_position[lineno] - buffer.position_from_line(lineno) end --- Return the buffer-specific vi state. ...
mit
bnetcc/darkstar
scripts/zones/Spire_of_Holla/bcnms/ancient_flames_beckon.lua
3
4216
----------------------------------- -- Area: Spire_of_Holla -- Name: ancient_flames_backon -- KSNM30 ----------------------------------- package.loaded["scripts/zones/Spire_of_Holla/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scrip...
gpl-3.0
bnetcc/darkstar
scripts/globals/items/caladbolg.lua
3
3310
----------------------------------------- -- ID: 19459 -- Item: Caladbolg ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/msg"); require("scripts/globals/weaponskills"); require("scripts/globals/weaponskillids"); ----------------------------------- local NAME_WEAPO...
gpl-3.0
Atebite/NutScript
plugins/thirdperson.lua
4
6316
local PLUGIN = PLUGIN PLUGIN.name = "New Fancy Third Person" PLUGIN.author = "Black Tea" PLUGIN.desc = "Third Person plugin." nut.config.add("thirdperson", false, "Allow Thirdperson in the server.", nil, { category = "server" }) if (CLIENT) then local NUT_CVAR_THIRDPERSON = CreateClientConVar("nut_tp_enabled", "0",...
mit
githubmereza/bOOOt
libs/JSON.lua
3765
34843
-- -*- 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...
gpl-2.0
bnetcc/darkstar
scripts/zones/Northern_San_dOria/npcs/Guilerme.lua
5
1736
----------------------------------- -- Area: Northern San d'Oria -- NPC: Guillerme -- Involved in Quest: Rosel the Armorer -- @zone 231 -- !pos -4.500 0.000 99.000 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("script...
gpl-3.0
mwoz123/koreader
frontend/ui/widget/filechooser.lua
1
21672
local BD = require("ui/bidi") local Device = require("device") local DocSettings = require("docsettings") local DocumentRegistry = require("document/documentregistry") local OpenWithDialog = require("ui/widget/openwithdialog") local ConfirmBox = require("ui/widget/confirmbox") local Font = require("ui/font") local Menu...
agpl-3.0
ameihm0912/MozDef
examples/heka-lua-bro/bro_ssl.lua
2
4179
-- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this -- file, You can obtain one at http://mozilla.org/MPL/2.0/. -- Copyright (c) 2014 Mozilla Corporation -- -- Contributors: -- Anthony Verez averez@mozilla.com -- Jeff Bryner jbryn...
mpl-2.0
TurkeyMan/premake-core
modules/vstudio/tests/sln2005/test_projects.lua
14
5498
-- -- tests/actions/vstudio/sln2005/test_projects.lua -- Validate generation of Visual Studio 2005+ solution project entries. -- Copyright (c) 2009-2013 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("vstudio_sln2005_projects") local sln2005 = p.vstudio.sln2005 -- -- Setup -...
bsd-3-clause
bnetcc/darkstar
scripts/zones/Abyssea-La_Theine/mobs/Briareus.lua
1
2673
----------------------------------- -- Area: Abyssea - La Theine (132) -- Mob: Briareus ----------------------------------- package.loaded["scripts/zones/Abyssea-La_Theine/TextIDs"] = nil; require("scripts/zones/Abyssea-La_Theine/TextIDs"); require("scripts/globals/abyssea"); require("scripts/globals/status"); requi...
gpl-3.0
bnetcc/darkstar
scripts/globals/items/gambanteinn.lua
3
3322
----------------------------------------- -- ID: 19466 -- Item: Gambanteinn ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/msg"); require("scripts/globals/weaponskills"); require("scripts/globals/weaponskillids"); ----------------------------------- local NAME_WEA...
gpl-3.0
bnetcc/darkstar
scripts/zones/PsoXja/npcs/_09a.lua
5
1047
----------------------------------- -- Area: Pso'Xja -- NPC: _09a (Stone Gate) -- Notes: Spawns Gargoyle when triggered -- !pos 261.600 -1.925 -50.000 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/PsoXja/globals");...
gpl-3.0
bnetcc/darkstar
scripts/zones/Abyssea-La_Theine/mobs/La-Theine_Liege.lua
1
1230
----------------------------------- -- Area: Abyssea - La Theine (132) -- Mob: La_Theine_Liege ----------------------------------- package.loaded["scripts/zones/Abyssea-La_Theine/TextIDs"] = nil; require("scripts/zones/Abyssea-La_Theine/TextIDs"); require("scripts/globals/abyssea"); require("scripts/globals/status")...
gpl-3.0
bnetcc/darkstar
scripts/globals/items/bowl_of_yayla_corbasi.lua
3
1214
----------------------------------------- -- ID: 5579 -- Item: bowl_of_yayla_corbasi -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP 20 -- Dexterity -1 -- Vitality 2 -- HP Recovered While Healing 3 -- MP Recovered While Healing 1 ----------------------------------------- require("scripts...
gpl-3.0
bnetcc/darkstar
scripts/globals/spells/bluemagic/sinker_drill.lua
1
1062
----------------------------------------- -- Spell: Sinker Drill ----------------------------------------- require("scripts/globals/bluemagic"); require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(ca...
gpl-3.0
gamebytes/pioneer
data/models/ships/meteor/meteor.lua
1
2860
define_model('meteor_gear', { info = { scale = 1.0, bounding_radius = 5, lod_pixels = {100}, materials = {'default'}, }, static = function(lod) set_material('default', 0.8,0.8,0.8,1, .3,.3,.3,5, 0,0,0) use_material('default') texture('ramjetcraft.png') load_obj('meteor_gear.obj') end }) define_mode...
gpl-3.0
bnetcc/darkstar
scripts/zones/Nashmau/npcs/Dnegan.lua
5
1843
----------------------------------- -- Area: Nashmau -- NPC: Dnegan -- Standard Info NPC -- Involved in quest: Wayward Automation -- !pos 29.89 -6 55.83 53 ----------------------------------- require("scripts/globals/quests"); function onTrade(player,npc,trade) end; function onTrigger(player,npc) local TheWayw...
gpl-3.0
sohrab96/sektor
plugins/badword.lua
1
2450
local function addword(msg, name) local hash = 'chat:'..msg.to.id..':badword' redis:hset(hash, name, 'newword') return "کلمه جدید به فیلتر کلمات اضافه شد\n>"..name end local function get_variables_hash(msg) return 'chat:'..msg.to.id..':badword' end local function list_variablesbad(msg) local has...
gpl-2.0
bnetcc/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_0ru.lua
5
1311
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: Oil lamp -- !pos -63.699 -26.227 43.009 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Phomiu...
gpl-3.0
awesomeWM/awesome
tests/examples/sequences/tag/volatile.lua
4
1522
--DOC_GEN_IMAGE --DOC --DOC_NO_USAGE local module = ... --DOC_HIDE local awful = {tag = require("awful.tag"), layout = require("awful.layout") } --DOC_HIDE screen[1]._resize {x = 0, width = 128, height = 96} --DOC_HIDE function awful.spawn(_, args) --DOC_HIDE local c = client.gen_fake{} --DOC_HIDE c:tags({ar...
gpl-2.0
bnetcc/darkstar
scripts/globals/items/lebkuchen_house.lua
3
1147
----------------------------------------- -- ID: 5616 -- Item: lebkuchen_house -- Food Effect: 180Min, All Races ----------------------------------------- -- HP +8 -- MP +10% (cap 45) -- INT +3 -- hHP +2 -- hMP +1 ----------------------------------------- require("scripts/globals/status"); -----------------------------...
gpl-3.0
lcf258/openwrtcn
modules/luci-mod-freifunk/luasrc/controller/freifunk/remote_update.lua
68
1475
-- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.freifunk.remote_update", package.seeall) function index() if not nixio.fs.access("/usr/sbin/remote-update") then return end entry({"admin", "system", "remote_update"}, call("act_re...
apache-2.0
Oneymus/Vyzor
base/options.lua
1
4848
--- Maintains option state for all of Vyzor. -- @module Options local Lib = require("vyzor.lib") local VyzorBorder = require("vyzor.enum.vyzorborder") local Options = {} local DEFAULT_DRAW_ORDER = { VyzorBorder.Top, VyzorBorder.Bottom, VyzorBorder.Left, VyzorBorder.Right } local _drawOrder = DEFAULT_DRAW_ORDER loca...
mit
bnetcc/darkstar
scripts/zones/Lufaise_Meadows/mobs/Padfoot.lua
3
2429
----------------------------------- -- Area: Lufaise Meadows -- MOB: Padfoot -- !pos 260.445 -1.761 -27.862 24 (True Copy) 16875578 -- !pos 412.447 -0.057 -200.161 24 (Fake Copies) 16875615 -- !pos -378.950 -15.742 144.215 24 || 16875703 -- !pos -43.689 0.487 -328.028 24 || 16875552 -- !pos -1...
gpl-3.0
awesomeWM/awesome
tests/examples/sequences/client_rules/floating.lua
4
1690
--DOC_GEN_IMAGE --DOC_NO_USAGE local module = ... --DOC_HIDE local ruled = {client = require("ruled.client") } --DOC_HIDE local awful = {tag = require("awful.tag"), layout = require("awful.layout")} --DOC_HIDE awful.placement = require("awful.placement") --DOC_HIDE require("awful.ewmh") --DOC_HIDE screen[1]:fake_resiz...
gpl-2.0
lisw/SmartHome
lib/lua/log4lua/logger.lua
1
10015
--[[ Copyright (C) 2008 optivo GmbH 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 distributed in the hope that it will be useful, but WI...
gpl-3.0
bnetcc/darkstar
scripts/zones/Yhoator_Jungle/npcs/Telepoint.lua
5
1348
----------------------------------- -- Area: Yhoator Jungle -- NPC: Telepoint ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Yhoator_Jungle/TextIDs"); ---------------------...
gpl-3.0
bnetcc/darkstar
scripts/zones/Garlaige_Citadel/npcs/qm19.lua
5
1808
----------------------------------- -- 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; ----------------------------------- req...
gpl-3.0
bnetcc/darkstar
scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_MR.lua
7
1258
----------------------------------- -- Area: LaLoff Amphitheater -- MOB: Ark Angel MR ----------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ----------------------------------- require("scripts/zones/LaLoff_Amphitheater/TextIDs"); require("scripts/globals/status"); -----...
gpl-3.0
awesomeWM/awesome
lib/gears/matrix.lua
4
8567
--------------------------------------------------------------------------- -- An implementation of matrices for describing and working with affine -- transformations. -- @author Uli Schlachter -- @copyright 2015 Uli Schlachter -- @classmod gears.matrix ------------------------------------------------------------------...
gpl-2.0
bnetcc/darkstar
scripts/zones/Lower_Jeuno/npcs/_6tc.lua
5
3743
----------------------------------- -- Area: Lower Jeuno -- NPC: Door: "Neptune's Spire" -- Starts and Finishes Quest: Beat Around the Bushin -- @zone 245 -- !pos 35 0 -15 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts...
gpl-3.0
Maliv/Secret
libs/JSON.lua
3765
34843
-- -*- 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...
gpl-2.0
bnetcc/darkstar
scripts/zones/Southern_San_dOria/npcs/SprigganGraverobber.lua
2
1545
----------------------------------- -- Area: Southern San d'Oria -- NPC: Apairemant -- Only sells when San d'Oria controls Gustaberg Region -- @zone 230 -- @pos 72 2 0 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; -------------------------...
gpl-3.0
bnetcc/darkstar
scripts/zones/Upper_Jeuno/npcs/_6s2.lua
5
3705
----------------------------------- -- Area: Upper Jeuno -- NPC: Galmut's door -- Starts and Finishes Quest: A Clock Most Delicate, Save the Clock Tower, The Clockmaster -- @zone 244 -- !pos -80 0 104 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; package.loaded["scripts...
gpl-3.0
dmccuskey/dmc-dragdrop
examples/dmc-dragdrop-basic/dmc_corona/lib/dmc_lua/lua_error.lua
46
3628
--====================================================================-- -- lua_error.lua -- -- Documentation: -- * http://github.com/dmccuskey/lua-error --====================================================================-- --[[ The MIT License (MIT) Copyright (C) 2014-2015 David McCuskey. All Rights Reserved. P...
mit
erosennin/koreader
frontend/ui/widget/widget.lua
5
1306
local EventListener = require("ui/widget/eventlistener") --[[ This is a generic Widget interface widgets can be queried about their size and can be paint. that's it for now. Probably we need something more elaborate later. if the table that was given to us as parameter has an "init" method, it will be called. use th...
agpl-3.0
Lleafll/doom-shards
Libs/AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.lua
12
12179
--- AceConfigRegistry-3.0 handles central registration of options tables in use by addons and modules.\\ -- Options tables can be registered as raw tables, OR as function refs that return a table.\\ -- Such functions receive three arguments: "uiType", "uiName", "appName". \\ -- * Valid **uiTypes**: "cmd", "dropdown", "...
mit
bnetcc/darkstar
scripts/globals/spells/blade_madrigal.lua
5
1539
----------------------------------------- -- Spell: Blade Madrigal -- Gives party members accuracy ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0; end; ...
gpl-3.0
bnetcc/darkstar
scripts/globals/spells/bluemagic/healing_breeze.lua
7
1627
----------------------------------------- -- Spell: Healing Breeze -- Restores HP for party members within area of effect -- Spell cost: 55 MP -- Monster Type: Beasts -- Spell Type: Magical (Wind) -- Blue Magic Points: 4 -- Stat Bonus: CHR+2, HP+10 -- Level: 16 -- Casting Time: 4.5 seconds -- Recast Time: 15 seconds --...
gpl-3.0
bnetcc/darkstar
scripts/zones/Windurst_Woods/npcs/Mono_Nchaa.lua
5
1103
----------------------------------- -- Area: Windurst Woods -- NPC: Mono Nchaa -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
motherfscker/minetest_game
mods/sethome/init.lua
7
2075
sethome = {} local homes_file = minetest.get_worldpath() .. "/homes" local homepos = {} local function loadhomes() local input, err = io.open(homes_file, "r") if not input then return minetest.log("info", "Could not load player homes file: " .. err) end -- Iterate over all stored positions in the format "x y ...
lgpl-2.1
ld-test/lj2procfs
lj2procfs/string-util.lua
1
1238
--string-util.lua local F = {} function F.startswith(s, prefix) return string.find(s, prefix, 1, true) == 1 end -- returns true if string 's' ends with string 'send' function F.endswith(s, send) return #s >= #send and string.find(s, send, #s-#send+1, true) and true or false end local function gsplit(s,sep) --p...
mit
gedadsbranch/Darkstar-Mission
scripts/zones/Abyssea-Altepa/npcs/Cavernous_Maw.lua
12
1141
----------------------------------- -- Area: Abyssea Altepa -- NPC: Cavernous Maw -- @pos 444.000 -0.500 320.000 218 -- Notes Teleports Players to South Gustaberg ----------------------------------- package.loaded["scripts/zones/Abyssea-Altepa/TextIDs"] = nil; ----------------------------------- ------------...
gpl-3.0
hooksta4/darkstar
scripts/zones/Metalworks/npcs/Ayame.lua
2
2728
----------------------------------- -- Area: Metalworks -- NPC: Ayame -- Involved in Missions -- Starts and Finishes Quest: True Strength -- @pos 133 -19 34 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/se...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/zones/Southern_San_dOria/npcs/Hae_Jakhya.lua
19
1856
----------------------------------- -- Area: Southern San d'Oria -- NPC: Hae Jakhya -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/que...
gpl-3.0
hooksta4/darkstar
scripts/zones/Lower_Jeuno/npcs/Morefie.lua
6
1119
----------------------------------- -- Area: Lower Jeuno -- NPC: Morefie -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); ----------------------------------- -- onTrade...
gpl-3.0
prosody-modules/import2
mod_firewall/conditions.lib.lua
31
6103
local condition_handlers = {}; local jid = require "util.jid"; -- Return a code string for a condition that checks whether the contents -- of variable with the name 'name' matches any of the values in the -- comma/space/pipe delimited list 'values'. local function compile_comparison_list(name, values) local conditio...
mit
hooksta4/darkstar
scripts/globals/weaponskills/last_stand.lua
30
1763
----------------------------------- -- Skill Level: 357 -- Description: Attacks once or twice, depending on remaining ammunition. Damage dealt varies with TP. -- If the first shot of the weapon skill does enough damage to defeat the target, the second shot will not be used. -- To obtain Last Stand, the quest Martia...
gpl-3.0
kaisama/gamecode4
Assets/Scripts/LevelInit.lua
44
3469
--======================================================================== -- LevelInit.lua : A script that's executed when the level is initializing -- -- Part of the GameCode4 Application -- -- GameCode4 is the sample application that encapsulates much of the source code -- discussed in "Game Coding Complete - ...
lgpl-3.0
hooksta4/darkstar
scripts/zones/Rolanberry_Fields/npcs/Cavernous_Maw.lua
2
2916
----------------------------------- -- Area: Rolanberry Fields -- NPC: Cavernous Maw -- @pos -198 8 361 110 -- Teleports Players to Rolanberry Fields [S] ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil; ----------------------------------- require("scripts/globals/se...
gpl-3.0
hooksta4/darkstar
scripts/zones/zones/Rolanberry_Fields/npcs/Cavernous_Maw.lua
2
2916
----------------------------------- -- Area: Rolanberry Fields -- NPC: Cavernous Maw -- @pos -198 8 361 110 -- Teleports Players to Rolanberry Fields [S] ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil; ----------------------------------- require("scripts/globals/se...
gpl-3.0
wanghuan1115/sdkbox-adcolony-sample
lua/src/packages/mvc/AppBase.lua
25
1853
local AppBase = class("AppBase") function AppBase:ctor(configs) self.configs_ = { viewsRoot = "app.views", modelsRoot = "app.models", defaultSceneName = "MainScene", } for k, v in pairs(configs or {}) do self.configs_[k] = v end if type(self.configs_.viewsRoot) ~...
mit
SirFrancisBillard/assorted-gamemodes
shooter/gamemode/modules/damage/sv_damage.lua
1
1461
local AlliedTeams = { [TEAM_CIVILIANS] = {[TEAM_POLICE] = true}, [TEAM_POLICE] = {[TEAM_CIVILIANS] = true}, } local DamagePerBuck = 20 function GM:EntityTakeDamage(ent, dmg) if IsValid(ent) and ent:IsPlayer() then local atk = dmg:GetAttacker() local gameactive = IsRoundState(ROUND_INPROGRESS) or IsRoundState(...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/globals/spells/foe_requiem.lua
11
1624
----------------------------------------- -- Spell: Foe Requiem ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,sp...
gpl-3.0
Hostle/openwrt-luci-multi-user
modules/luci-base/luasrc/ltn12.lua
84
8954
--[[ LuaSocket 2.0.2 license Copyright � 2004-2007 Diego Nehab Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, me...
apache-2.0
dodocat/vlc
share/lua/playlist/bbc_co_uk.lua
112
1468
--[[ $Id$ Copyright © 2008 the VideoLAN team Authors: Dominique Leuenberger <dominique-vlc.suse@leuenberger.net> 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 2 of the Licens...
gpl-2.0
MPX4132/DOTMonitor
Addon/source/Locale/Localization.esMX.lua
1
3423
if GetLocale() == "esMX" then DOTMonitorLocalization = DOTMonitorLocalization or {} DOTMonitorLocalization["player unavailable!"] = "¡jugador no disponible!" DOTMonitorLocalization["an error has occured, something broke!!!"] = "ha ocurrido un error, algo se rompió!" DOTMonitorLocalization["HUD was reset!"]...
gpl-3.0
p5n/notion
contrib/styles/look_asm.lua
7
4238
-- Authors: Unknown -- License: Unknown -- Last Changed: Unknown if not gr.select_engine("de") then return end de.reset() de.defstyle("*", { foreground_colour = "#ffffff", background_colour = "#708090", shadow_colour = "#405060", highlight_colour = "#708090", padding_colour= "#405060", paddi...
lgpl-2.1
gedadsbranch/Darkstar-Mission
scripts/zones/Castle_Oztroja/mobs/Tzee_Xicu_the_Manifest.lua
27
1224
----------------------------------- -- Area: Castle Oztroja -- NPC: Tzee Xicu the Manifest ----------------------------------- require("scripts/globals/titles"); require("scripts/zones/Castle_Oztroja/TextIDs"); ----------------------------------- -- onMobSpawn Action ----------------------------------- ...
gpl-3.0
catinred2/skynet
lualib/skynet/coroutine.lua
4
3166
-- You should use this module (skynet.coroutine) instead of origin lua coroutine in skynet framework local coroutine = coroutine -- origin lua coroutine module local coroutine_resume = coroutine.resume local coroutine_yield = coroutine.yield local coroutine_status = coroutine.status local coroutine_running = coroutine...
mit
hooksta4/darkstar
scripts/zones/Boneyard_Gully/mobs/Race_Runner.lua
2
1425
----------------------------------- -- Area: Boneyard_Gully -- Name: Race Runner ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); local path = { -539, 0, -481, -556, 0, -478, -581, 0, -475, -579, -3, -460, -572, 2, -433, -545, 1, -440, -532, 0, -466 }; ...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/zones/Mamook/Zone.lua
28
1299
----------------------------------- -- -- Zone: Mamook (65) -- ----------------------------------- package.loaded["scripts/zones/Mamook/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Mamook/TextIDs"); ----------------------------------- -- ...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/zones/FeiYin/npcs/Dry_Fountain.lua
17
1453
----------------------------------- -- Area: FeiYin -- NPC: Dry Fountain -- Involved In Quest: Peace for the Spirit -- @pos -17 -16 71 204 ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requir...
gpl-3.0
hooksta4/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Moogle.lua
2
1158
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Moogle -- @zone 80 -- @pos <many> ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); require("scripts/globals/moghouse") -----------...
gpl-3.0
SirFrancisBillard/assorted-gamemodes
prison/entities/weapons/prison_fists.lua
1
5017
AddCSLuaFile() SWEP.YupWeAreFists = true SWEP.Base = "prison_baseweapon" SWEP.PrintName = "Fists" SWEP.Instructions = [[ <color=green>[PRIMARY FIRE]</color> Punch with left fist. <color=green>[SECONDARY FIRE]</color> Punch with right fist.]] SWEP.Slot = 0 SWEP.SlotPos = 1 SWEP.Spawnable = true SWEP.ViewModel = "m...
gpl-3.0
kiarash14/superbumper
plugins/cpu.lua
244
1893
function run_sh(msg) name = get_name(msg) text = '' -- if config.sh_enabled == false then -- text = '!sh command is disabled' -- else -- if is_sudo(msg) then -- bash = msg.text:sub(4,-1) -- text = run_bash(bash) -- else -- text = name .. ' you...
gpl-2.0
FishFilletsNG/fillets-data
script/cannons/models.lua
1
3266
createRoom(30, 27, "images/"..codename.."/dela-p.png") setRoomWaves(5, 10, 5) room = addModel("item_fixed", 0, 0, [[ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XX..........................XX XX..........................XX XX..........................XX XX..........................XX ..................
gpl-2.0
matukaz/Vaimne-Tervis
togglebutton.lua
1
8771
-- ui.lua (currently includes Button class with labels, font selection and optional event model) -- Version 1.3 (fixes bug in label:setTextColor) module(..., package.seeall) local itemsSelected = 0 ----------------- -- Helper function for newButton utility function below local function newButtonHandler( self, event )...
apache-2.0
hooksta4/darkstar
scripts/zones/Abyssea-Grauberg/npcs/Dominion_Tactician.lua
61
4431
----------------------------------- -- Area: Abyssea - Grauberg -- NPC: Dominion Tactician -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/abyssea"); require("script...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/zones/Beaucedine_Glacier_[S]/npcs/Disserond_RK.lua
38
1067
----------------------------------- -- Area: Beaucedine Glacier (S) -- NPC: Disserond, R.K. -- Type: Campaign Arbiter -- @zone: 136 -- @pos 76.178 -60.763 -48.775 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier_[S]...
gpl-3.0
hooksta4/darkstar
scripts/zones/zones/Beaucedine_Glacier_[S]/npcs/Disserond_RK.lua
38
1067
----------------------------------- -- Area: Beaucedine Glacier (S) -- NPC: Disserond, R.K. -- Type: Campaign Arbiter -- @zone: 136 -- @pos 76.178 -60.763 -48.775 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier_[S]...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/zones/Yhoator_Jungle/npcs/Etaj-Pohtaj_WW.lua
30
3054
----------------------------------- -- Area: Yhoator Jungle -- NPC: Etaj-Pohtaj, W.W. -- Outpost Conquest Guards -- @pos 200.254 -1 -80.324 124 ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); req...
gpl-3.0
hooksta4/darkstar
scripts/globals/items/cherry_muffin.lua
37
1344
----------------------------------------- -- ID: 5653 -- Item: Cherry Muffin -- Food Effect: 30Min, All Races ----------------------------------------- -- Intelligence 1 -- Magic % 10 -- Magic Cap 80 -- Agility -1 ----------------------------------------- require("scripts/globals/status"); --------------...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/globals/limbus.lua
4
36620
require("scripts/globals/keyitems"); -- require("scripts/globals/limbus"); APPOLLYON_SE_NE = 1; --out 557 -1 441 128 APPOLLYON_NW_SW = 2; --out -561 0 443 242 TEMENOS = 3; --WHITE_CARD = 349; --RED_CARD = 350; --BLACK_CARD = 351; --COSMOCLEANSE ...
gpl-3.0
hooksta4/darkstar
scripts/zones/Windurst_Waters/npcs/Kerutoto.lua
2
11336
----------------------------------- -- Area: Windurst Waters -- NPC: Kerutoto -- Starts Quest Food For Thought -- Involved in Quest: Riding on the Clouds -- @zone 238 -- @pos 13 -5 -157 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; package.loaded["scripts/globals/se...
gpl-3.0
jpuigcerver/Laia
laia/Monitor.lua
1
17107
local image = require 'image' local base64 = require 'base64' local ffi = require 'ffi' local etlua = require 'etlua' laia = laia or {} local Monitor = torch.class('laia.Monitor') -- This table contains for each module (e.g. nn.SpatialConvolution) the -- function that will generate the corresponding HTML file. Monito...
mit
Asido/vicious
contrib/batpmu.lua
18
2390
--------------------------------------------------- -- Licensed under the GNU General Public License v2 -- * (c) 2010, Adrian C. <anrxc@sysphere.org> --------------------------------------------------- -- {{{ Grab environment local tonumber = tonumber local io = { open = io.open } local setmetatable = setmetatable lo...
gpl-2.0
FishFilletsNG/fillets-data
script/elevator2/dialogs_sv.lua
1
3035
dialogId("zd2-m-dalsi", "font_small", "Another elevator? How many more are there to come?") dialogStr("Ännu en hiss? Hur många fler finns det?") dialogId("zd2-v-odlis0", "font_big", "I can see some differences here... And somehow I don’t think it’s going to be easier.") dialogStr("Jag kan se några skillnader... Och ...
gpl-2.0
hooksta4/darkstar
scripts/globals/zone.lua
30
3876
------------------------------------ -- -- Contains global functions and variables -- related to area specific things -- ------------------------------------ ------------------------------------ -- zone related IDs ------------------------------------ -- Zone Types ZONETYPE_NONE = 0 ZONETYPE_CI...
gpl-3.0
hooksta4/darkstar
scripts/zones/zones/Selbina/npcs/Explorer_Moogle.lua
2
1700
----------------------------------- -- Area: Selbina -- NPC: Explorer Moogle ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/settings"); require("scripts/globals/teleports"...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/zones/AlTaieu/npcs/qm3.lua
4
1590
----------------------------------- -- Area: Al'Taieu -- NPC: ??? (Jailer of Prudence Spawn) -- Allows players to spawn the Jailer of Prudence by trading the Third Virtue, Deed of Sensibility, and High-Quality Hpemde Organ to a ???. -- @pos , 706 -1 22 ----------------------------------- package.loaded["scripts/zones...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/globals/spells/knights_minne_iii.lua
13
1519
----------------------------------------- -- Spell: Knight's Minne III -- Grants Defense bonus to all allies. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCast...
gpl-3.0
hooksta4/darkstar
scripts/zones/Altar_Room/Zone.lua
32
1558
----------------------------------- -- -- Zone: Altar_Room (152) -- ----------------------------------- package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Altar_Room/TextIDs"); ----------------------------------- --...
gpl-3.0
hooksta4/darkstar
scripts/zones/zones/PsoXja/npcs/_09b.lua
2
1549
----------------------------------- -- Area: Pso'Xja -- NPC: _09b (Stone Gate) -- Notes: Spawns Gargoyle when triggered -- @pos -330.000 14.074 -261.600 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/PsoXja/TextI...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/globals/items/cup_of_chocomilk.lua
35
1163
----------------------------------------- -- ID: 4498 -- Item: cup_of_chocomilk -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic Regen While Healing 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/globals/spells/jubaku_san.lua
11
1693
----------------------------------------- -- Spell: Jubaku: San -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT. -- taken from paralyze ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); --------------------------...
gpl-3.0
eggcaker/dotfiles
macos/hammerspoon.symlink/Spoons/HSearch.spoon/hs_note.lua
3
3617
local obj={} obj.__index = obj obj.name = "justNote" obj.version = "1.0" obj.author = "ashfinal <ashfinal@gmail.com>" -- Internal function used to find our location, so we know where to load files from local function script_path() local str = debug.getinfo(2, "S").source:sub(2) return str:match("(.*/)") end ...
mit