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
UnfortunateFruit/darkstar
scripts/globals/weaponskills/spinning_axe.lua
30
1364
----------------------------------- -- Spinning Axe -- Axe weapon skill -- Skill level: 150 -- Single-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Flame Gorget, Soil Gorget & Thunder Gorget. -- Aligned with the Flame Belt, Soil Belt & Thunder Belt. -- Element: None --...
gpl-3.0
nesstea/darkstar
scripts/globals/abilities/meditate.lua
12
1277
----------------------------------- -- Ability: Meditate -- Gradually charges TP. -- Obtained: Samurai Level 30 -- Recast Time: 3:00 (Can be reduced to 2:30 using Merit Points) -- Duration: 15 seconds ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onAbili...
gpl-3.0
nesstea/darkstar
scripts/globals/items/block_of_rock_cheese.lua
18
1312
----------------------------------------- -- ID: 4593 -- Item: Block of Rock Cheese -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 5.5 -- Health Cap 45 -- HP Recovered while healing 1 ----------------------------------------- require("scripts/globals/status"); -----------------...
gpl-3.0
MetSystem/skynet
lualib/skynet/debug.lua
42
1723
local io = io local table = table local debug = debug return function (skynet, export) local internal_info_func function skynet.info_func(func) internal_info_func = func end local dbgcmd local function init_dbgcmd() dbgcmd = {} function dbgcmd.MEM() local kb, bytes = collectgarbage "count" skynet.ret(skynet.pa...
mit
UnfortunateFruit/darkstar
scripts/zones/Apollyon/bcnms/CS_Apollyon.lua
13
1259
----------------------------------- -- Area: Appolyon -- Name: ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/keyitems"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[CS_Apollyon]UniqueID",Generat...
gpl-3.0
trilastiko/keys
VSCOKeys.lrdevplugin/Logging.lua
11
1228
--[[---------------------------------------------------------------------------- VSCO Keys for Adobe Lightroom Copyright (C) 2015 Visual Supply Company Licensed under GNU GPLv2 (or any later version). This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Lic...
gpl-2.0
ymauray/Skym_PetCodex
Lib/AceGUI-3.0/widgets/AceGUIWidget-Heading.lua
1
3171
-- Copyright (c) 2014 Yannick Mauray. -- -- 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 License, or -- (at your option) any later version. -- -- This program is distr...
gpl-2.0
nesstea/darkstar
scripts/globals/items/bowl_of_witch_soup.lua
18
1366
----------------------------------------- -- ID: 4333 -- Item: witch_soup -- Food Effect: 4hours, All Races ----------------------------------------- -- Magic Points 25 -- Strength -1 -- Mind 2 -- MP Recovered While Healing 1 ----------------------------------------- require("scripts/globals/status"); ---------------...
gpl-3.0
UnfortunateFruit/darkstar
scripts/globals/items/sweet_baked_apple.lua
35
1318
----------------------------------------- -- ID: 4336 -- Item: sweet_baked_apple -- Food Effect: 1hour, All Races ----------------------------------------- -- Magic Points 25 -- Intelligence 4 -- MP Recovered While Healing 2 ----------------------------------------- require("scripts/globals/status"); ----...
gpl-3.0
dpino/snabbswitch
src/program/wall/spy/spy.lua
9
6255
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(..., package.seeall) local lib = require("core.lib") local now = require("core.app").now local timer = require("core.timer") local ipv4 = require("lib.protocol.ipv4") local ipv6 = require("lib.protocol.ipv6") local util = requ...
apache-2.0
UnfortunateFruit/darkstar
scripts/zones/Balgas_Dais/mobs/Maat.lua
27
1127
----------------------------------- -- Area: Balga Dais -- NPC: Maat -- Genkai 5 Fight ----------------------------------- package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Balgas_Dais/TextIDs"); ----------------------------------- -- onM...
gpl-3.0
nesstea/darkstar
scripts/zones/Southern_San_dOria/Zone.lua
26
2786
----------------------------------- -- -- Zone: Southern_San_dOria (230) -- ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/events/harvest_festivals"); require("scripts/globals/zone"); require("scripts/gl...
gpl-3.0
nesstea/darkstar
scripts/globals/items/fuscina.lua
41
1095
----------------------------------------- -- ID: 18104 -- Item: Fuscina -- Additional Effect: Lightning Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -------------------------------...
gpl-3.0
nesstea/darkstar
scripts/globals/campaign.lua
35
4763
----------------------------------------------------------------- -- Variable for getNationTeleport and getPoint ----------------------------------------------------------------- ALLIED_NOTES = 11; MAW = 4; PAST_SANDORIA = 5; PAST_BASTOK = 6; PAST_WINDURST = 7; -- ---------------------------------------------------...
gpl-3.0
booyaa/FromAtoBree
utils/TR_Data.lua
1
73800
-- Database for Travel locations -- coding: utf-8 'ä -- Loc. keys: d=destinations(nil if no stable), z=zone, a=area, l=location -- t=milestone time, ml=minimum level (milestone) -- Dest. keys: c=cost, s=ST cost, l=min level(+ if ST only), r=requires, t=time, st=ST time Max_lvl = 115 Locs = { -- Ered Luin s...
apache-2.0
focusworld/aabb
plugins/remind.lua
362
1875
local filename='data/remind.lua' local cronned = load_from_file(filename) local function save_cron(msg, text,date) local origin = get_receiver(msg) if not cronned[date] then cronned[date] = {} end local arr = { origin, text } ; table.insert(cronned[date], arr) serialize_to_file(cronned, filename) re...
gpl-2.0
hamed9898/maxbot
plugins/remind.lua
362
1875
local filename='data/remind.lua' local cronned = load_from_file(filename) local function save_cron(msg, text,date) local origin = get_receiver(msg) if not cronned[date] then cronned[date] = {} end local arr = { origin, text } ; table.insert(cronned[date], arr) serialize_to_file(cronned, filename) re...
gpl-2.0
Cyumus/NutScript
plugins/mapscene.lua
5
5134
PLUGIN.name = "Map Scenes" PLUGIN.author = "Chessnut" PLUGIN.desc = "Adds areas of the map that are visible during character selection." PLUGIN.scenes = PLUGIN.scenes or {} local x3, y3 = 0, 0 local realOrigin = Vector(0, 0, 0) local realAngles = Angle(0, 0, 0) local view = {} if (CLIENT) then PLUGIN.ordered = PLUGI...
mit
nesstea/darkstar
scripts/zones/Western_Altepa_Desert/npcs/relic.lua
13
1872
----------------------------------- -- Area: Western Altepa Desert -- NPC: <this space intentionally left blank> -- @pos -152 -16 20 125 ----------------------------------- package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Western_Altepa_De...
gpl-3.0
dpino/snabbswitch
src/program/snabbnfv/neutron_sync_master/neutron_sync_master.lua
10
2393
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(..., package.seeall) local lib = require("core.lib") local syscall = require("syscall") local usage = require("program.snabbnfv.neutron_sync_master.README_inc") local script = require("program.snabbnfv.neutron_sync_master.neutron_s...
apache-2.0
vonflynee/opencomputersserver
world/opencomputers/4f2775bd-9dcb-42e6-8318-1837ede27e76/lib/internet.lua
7
2908
local buffer = require("buffer") local component = require("component") local event = require("event") local internet = {} ------------------------------------------------------------------------------- function internet.request(url, data) checkArg(1, url, "string") checkArg(2, data, "string", "table", "nil") ...
mit
nesstea/darkstar
scripts/zones/Batallia_Downs/npcs/Field_Manual.lua
29
1048
----------------------------------- -- Field Manual -- Area: Batallia Downs ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onTrigger Action -------------------------------...
gpl-3.0
nesstea/darkstar
scripts/zones/Windurst_Woods/npcs/Amimi.lua
25
1980
----------------------------------- -- Area: Windurst Woods -- NPC: Amimi -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- --...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/San_dOria-Jeuno_Airship/npcs/Ricaldo.lua
12
2056
----------------------------------- -- Area: San d'Oria-Jeuno Airship -- NPC: Ricaldo -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/San_dOria-Jeuno_Airship/TextIDs"] = nil; require("scripts/zones/San_dOria-Jeuno_Airship/TextIDs"); ----------------------------------- -- onTra...
gpl-3.0
nesstea/darkstar
scripts/globals/spells/slow.lua
21
1465
----------------------------------------- -- Spell: Slow -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND. -- Slow's potency is calculated with the formula (150 + dMND*2)/1024, and caps at 300/1024 (~29.3%). -- And MND of 75 is neccessary to reach the hardcap of Slow. -------...
gpl-3.0
nesstea/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Loillie.lua
13
1613
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Loillie -- @zone 80 -- @pos 78 -8 -23 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); require("scripts/globals/quests"); --------...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Qulun_Dome/mobs/Diamond_Quadav.lua
27
1447
----------------------------------- -- Area: Qulun_Dome -- NM: Diamond_Quadav -- Note: PH for Za Dha Adamantking PH ----------------------------------- require("scripts/zones/Qulun_Dome/TextIDs"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMo...
gpl-3.0
nesstea/darkstar
scripts/zones/Southern_San_dOria/npcs/Endracion.lua
13
6376
----------------------------------- -- Area: Northern San d'Oria -- NPC: Endracion -- @pos -110 1 -34 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); ...
gpl-3.0
nesstea/darkstar
scripts/zones/Dynamis-Xarcabard/npcs/qm1.lua
13
1344
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: ??? (Spawn when mega is defeated) ----------------------------------- package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems"); requ...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Dynamis-Qufim/mobs/Antaeus.lua
17
2116
----------------------------------- -- Area: Dynamis Qufim -- NPC: Antaeus ----------------------------------- package.loaded["scripts/zones/Dynamis-Qufim/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Qufim/TextIDs"); require("script...
gpl-3.0
jshackley/darkstar
scripts/globals/items/tropical_clam.lua
18
1267
----------------------------------------- -- ID: 5124 -- Item: Tropical Clam -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Vitality 4 -- Dexterity -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ...
gpl-3.0
jshackley/darkstar
scripts/globals/spells/bluemagic/terror_touch.lua
18
2034
----------------------------------------- -- Spell: Terror Touch -- Additional effect: Weakens attacks. Accuracy varies with TP -- Spell cost: 62 MP -- Monster Type: Undead -- Spell Type: Physical (Blunt) -- Blue Magic Points: 3 -- Stat Bonus: HP-5 MP+10 -- Level: 40 -- Casting Time: 3.25 seconds -- Recast Ti...
gpl-3.0
Ombridride/minetest-minetestforfun-server
mods/homedecor_modpack/homedecor/electrics.lua
14
1838
homedecor.register("power_outlet", { description = "Power Outlet", tiles = { "homedecor_outlet_edges.png", "homedecor_outlet_edges.png", "homedecor_outlet_edges.png", "homedecor_outlet_edges.png", "homedecor_outlet_back.png", "homedecor_outlet_edges.png" }, inventory_image = "homedecor_outlet_inv.png", ...
unlicense
Victek/wrt1900ac-aa
veriksystems/luci-0.11/protocols/relay/luasrc/model/cbi/admin_network/proto_relay.lua
86
2148
--[[ 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...
gpl-2.0
jshackley/darkstar
scripts/globals/items/cone_calamary.lua
18
1262
----------------------------------------- -- ID: 5128 -- Item: Cone Calamary -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0
Mpstark/DynamicCam
UiHideModule.lua
1
34984
local _, Addon = ... -- TODO: What happens if a raid member joins (CompactRaidFrame is created) while the UI is hidden and the player is in combat? -- 1x [ADDON_ACTION_BLOCKED] AddOn 'DynamicCam' tried to call the protected function 'CompactRaidFrame1:Show()'. -- For debugging: -- local debugFrameName = "StatusTr...
mit
bsmr-games/OpenRA
mods/ra/maps/soviet-05/reinforcements_teams.lua
38
5887
SovietStartReinf = { "e2", "e2" } SovietStartToBasePath = { StartPoint.Location, SovietBasePoint.Location } SovietMCVReinf = { "mcv", "3tnk", "3tnk", "e1", "e1" } SovExpansionPointGuard = { "2tnk", "2tnk", "e3", "e3", "e3" } if Map.Difficulty == "Easy" then ArmorReinfGreece = { "jeep", "1tnk", "1tnk" } else ArmorRei...
gpl-3.0
LiberatorUSA/GUCEF
apps/gucefPATCHERAPP/premake4.lua
1
2489
-------------------------------------------------------------------- -- This file was automatically generated by ProjectGenerator -- which is tooling part the build system designed for GUCEF -- (Galaxy Unlimited Framework) -- For the latest info, see http://www.VanvelzenSoftware.com/ -- -- The contents of this file...
apache-2.0
Keithenneu/Dota2-FullOverwrite
modes/defendlane.lua
1
4405
------------------------------------------------------------------------------- --- AUTHOR: Keithen --- GITHUB REPO: https://github.com/Nostrademous/Dota2-FullOverwrite ------------------------------------------------------------------------------- BotsInit = require( "game/botsinit" ) local X = BotsInit.CreateGeneric...
gpl-3.0
jshackley/darkstar
scripts/zones/Cape_Teriggan/npcs/Bright_Moon.lua
17
1865
----------------------------------- -- Area: Cape Teriggan -- NPC: Bright Moon -- Type: Outpost Vendor -- @pos -185 7 -63 113 ----------------------------------- package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts...
gpl-3.0
Ombridride/minetest-minetestforfun-server
mods/mesecons/mesecons/oldwires.lua
8
1257
minetest.register_node("mesecons:mesecon_off", { drawtype = "raillike", tiles = {"jeija_mesecon_off.png", "jeija_mesecon_curved_off.png", "jeija_mesecon_t_junction_off.png", "jeija_mesecon_crossing_off.png"}, inventory_image = "jeija_mesecon_off.png", wield_image = "jeija_mesecon_off.png", paramtype = "light", is...
unlicense
Ombridride/minetest-minetestforfun-server
mods/homedecor_modpack/homedecor/books.lua
10
5854
local S = homedecor.gettext local bookcolors = { { "red", "#c00000:150" }, { "green", "#008000:150" }, { "blue", "#4040c0:150" }, { "violet", "#600070:150" }, { "grey", "#202020:150" }, { "brown", "#603010:175" } } local BOOK_FORMNAME = "homedecor:book_form" local player_current_book = { } for c in i...
unlicense
Ombridride/minetest-minetestforfun-server
mods/mobs/sandmonster.lua
7
1825
-- Sand Monster by PilzAdam mobs:register_mob("mobs:sand_monster", { -- animal, monster, npc, barbarian type = "monster", -- aggressive, deals 5 damage to player when hit passive = false, attack_type = "dogfight", pathfinding = false, reach = 2, damage = 2, -- health & armor hp_min = 10, hp_max = 15, armo...
unlicense
jshackley/darkstar
scripts/zones/Cloister_of_Storms/bcnms/sugar-coated_directive.lua
19
1711
---------------------------------------- -- Area: Cloister of Storms -- BCNM: Sugar Coated Directive (ASA-4) ---------------------------------------- package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil; ---------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/...
gpl-3.0
jshackley/darkstar
scripts/globals/items/dish_of_spaghetti_tonno_rosso_+1.lua
36
1340
----------------------------------------- -- ID: 5624 -- Item: Dish of Spaghetti Tonno Rosso +1 -- Food Effect: 60 Mins, All Races ----------------------------------------- -- Health % 13 -- Health Cap 185 -- Dexterity 2 -- Vitality 3 ----------------------------------------- require("scripts/globals/status"); ------...
gpl-3.0
jwyang/stnbhwd
demo/demo_mnist.lua
4
2137
-- wget 'http://torch7.s3-website-us-east-1.amazonaws.com/data/mnist.t7.tgz' -- tar -xf mnist.t7.tgz require 'cunn' require 'cudnn' require 'image' require 'optim' paths.dofile('Optim.lua') use_stn = true -- distorted mnist dataset paths.dofile('distort_mnist.lua') datasetTrain, datasetVal = createDatasetsDistorted(...
mit
josetaas/YokiRaidCursor
Libs/Ace3/AceEvent-3.0/AceEvent-3.0.lua
14
4898
--- AceEvent-3.0 provides event registration and secure dispatching. -- All dispatching is done using **CallbackHandler-1.0**. AceEvent is a simple wrapper around -- CallbackHandler, and dispatches all game events or addon message to the registrees. -- -- **AceEvent-3.0** can be embeded into your addon, either expl...
mit
jshackley/darkstar
scripts/globals/items/serving_of_bavarois_+1.lua
36
1169
----------------------------------------- -- ID: 5730 -- Item: Serving of Bavarois +1 -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- HP 25 -- Intelligence 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCh...
gpl-3.0
jshackley/darkstar
scripts/zones/Kazham/npcs/Popopp.lua
15
3438
----------------------------------- -- Area: Kazham -- NPC: Popopp -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------...
gpl-3.0
jshackley/darkstar
scripts/globals/items/galkan_sausage.lua
35
2059
----------------------------------------- -- ID: 4395 -- Item: galkan_sausage -- Food Effect: 30Min, All Races ----------------------------------------- -- Multi-Race Effects -- Galka -- Strength 3 -- Intelligence -3 -- Attack % 25 -- Attack Cap 30 -- Ranged ATT % 25 -- Ranged ATT Cap 30 -- -- Other -- S...
gpl-3.0
jshackley/darkstar
scripts/globals/spells/poison_iii.lua
18
1094
----------------------------------------- -- Spell: Poison ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,spel...
gpl-3.0
Ombridride/minetest-minetestforfun-server
mods/coloredwood/init.lua
9
2973
-- Colored Wood mod by Vanessa Ezekowitz -- based on my unifieddyes template. -- -- License: WTFPL -- -- This mod provides 89 colors of wood, fences, and sticks, and enough -- cross-compatible recipes to make everything fit together naturally. -- -- Colored wood is crafted by putting two regular wood blocks into the -...
unlicense
sugiartocokrowibowo/Algorithm-Implementations
Gauss_Seidel_Algorithm/Lua/Yonaba/gauss_seidel.lua
26
1261
-- Gauss Seidel algorithm implementation -- See : http://en.wikipedia.org/wiki/Gauss%E2%80%93Seidel_method -- Creates a vector of values local function vector(len, v) local x = {} for i = 1, len do x[i] = v end return x end -- Computes the norm of a given vector local function norm(v) local n = 0 for i, _v ...
mit
jshackley/darkstar
scripts/zones/Mount_Zhayolm/npcs/Waudeen.lua
17
2070
----------------------------------- -- Area: Mount_Zhayolm -- NPC: Waudeen -- Type: Assault -- @pos 673.882 -23.995 367.604 61 ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require...
gpl-3.0
Shrike78/Shilke2D
Shilke2D/Display/Stage.lua
1
5307
--[[--- Stage is a particular DisplayObjContainer, root node of the displayList tree. It's initialized by Shilke2D and only object connected to it are rendered. A stage cannot be geometrically transformed or moved, so all the related method are override and raise errors if called. --]] Stage = class(DisplayObjContai...
mit
jshackley/darkstar
scripts/zones/Northern_San_dOria/npcs/Esqualea.lua
36
1427
----------------------------------- -- Area: Northern San d'Oria -- NPC: Esqualea -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests...
gpl-3.0
10sa/Advanced-Nutscript
nutscript/gamemode/libs/external/sh_netstream2.lua
1
3720
--[[ NetStream - 2.0.0 Alexander Grist-Hucker http://www.revotech.org Credits to: thelastpenguin for pON. https://github.com/thelastpenguin/gLUA-Library/tree/master/pON --]] local type, error, pcall, pairs, _player = type, error, pcall, pairs, player; if (!pon) then nut.util.Include("sh_pon.lua"); end; ...
mit
Victek/wrt1900ac-aa
veriksystems/luci-0.11/applications/luci-statistics/luasrc/model/cbi/luci_statistics/network.lua
11
3046
--[[ Luci configuration model for statistics - collectd network 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 Licen...
gpl-2.0
jshackley/darkstar
scripts/globals/weaponskills/requiescat.lua
30
1321
----------------------------------- -- Requiescat -- Sword weapon skill -- Skill level: MERIT -- Delivers a five-hit attack. Attack power varies with TP. -- Element: None -- Modifiers: MND:73~85% -- 100%TP 200%TP 300%TP -- ALL 1.0 ----------------------------------- require("scripts/globals/status"); ...
gpl-3.0
jshackley/darkstar
scripts/zones/Port_Bastok/npcs/Latifah.lua
34
1288
----------------------------------- -- Area: Port Bastok -- NPC: Latifah -- Involved in Quest: Stamp Hunt ----------------------------------- require("scripts/globals/quests"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) en...
gpl-3.0
elbamos/nn
Euclidean.lua
19
5750
local Euclidean, parent = torch.class('nn.Euclidean', 'nn.Module') function Euclidean:__init(inputSize,outputSize) parent.__init(self) self.weight = torch.Tensor(inputSize,outputSize) self.gradWeight = torch.Tensor(inputSize,outputSize) -- state self.gradInput:resize(inputSize) self.output:resize(o...
bsd-3-clause
LiberatorUSA/GUCEF
dependencies/MyGui/Platforms/Ogre/OgrePlatform/premake4.lua
1
3545
-------------------------------------------------------------------- -- This file was automatically generated by ProjectGenerator -- which is tooling part the build system designed for GUCEF -- (Galaxy Unlimited Framework) -- For the latest info, see http://www.VanvelzenSoftware.com/ -- -- The contents of this file...
apache-2.0
jshackley/darkstar
scripts/zones/Bastok_Mines/npcs/Medicine_Eagle.lua
17
1476
----------------------------------- -- Area: Bastok Mines -- NPC: Medicine Eagle -- Involved in Mission: Bastok 6-1, 8-1 -- @pos -40 0 38 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"...
gpl-3.0
dani-sj/mahan
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0
jshackley/darkstar
scripts/zones/Abyssea-Vunkerl/npcs/qm22.lua
17
1746
----------------------------------- -- Zone: Abyssea-Vunkeral -- NPC: ??? -- Spawns: Durinn ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(playe...
gpl-3.0
LiberatorUSA/GUCEF
tests/gucefCORE_TestApp/premake5.lua
1
5187
-------------------------------------------------------------------- -- This file was automatically generated by ProjectGenerator -- which is tooling part the build system designed for GUCEF -- (Galaxy Unlimited Framework) -- For the latest info, see http://www.VanvelzenSoftware.com/ -- -- The contents of this file...
apache-2.0
Victek/wrt1900ac-aa
veriksystems/luci-0.11/applications/luci-statistics/luasrc/model/cbi/luci_statistics/olsrd.lua
70
1672
--[[ LuCI - Lua Configuration Interface Copyright 2011 Manuel Munz <freifunk at somakoma dot de> 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 ]]-- m...
gpl-2.0
botmohammad12344888/bot-888338888
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0
jshackley/darkstar
scripts/zones/Windurst_Walls/npcs/Ambrosius.lua
36
4204
----------------------------------- -- Area: Windurst Walls -- NPC: Ambrosius -- -- Quest NPC for "The Postman Always KOs Twice" ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("s...
gpl-3.0
Th2Evil/SuperPlus
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0
10sa/Advanced-Nutscript
nutscript/gamemode/cl_config.lua
1
1169
-- Whether or not the money is shown in the side menu. nut.config.Register("showMoney", true, CLIENT); -- Whether or not the time is shown in the side menu. nut.config.Register("showTime", true, CLIENT); -- If set to false, then color correction will not be enabled. nut.config.Register("sadColors", true, CLIENT); --...
mit
jshackley/darkstar
scripts/globals/items/hamsi.lua
18
1254
----------------------------------------- -- ID: 5449 -- Item: Hamsi -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 1 -- Mind -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------------...
gpl-3.0
VincentGong/chess
cocos2d-x/cocos/scripting/lua-bindings/auto/api/PhysicsContact.lua
6
1081
-------------------------------- -- @module PhysicsContact -- @extend EventCustom -------------------------------- -- @function [parent=#PhysicsContact] getContactData -- @param self -- @return PhysicsContactData#PhysicsContactData ret (return value: cc.PhysicsContactData) -------------------------------- -...
mit
LuaDist/lua-uri
uri/file.lua
2
1729
local M = { _NAME = "uri.file" } local Util = require "uri._util" local URI = require "uri" Util.subclass_of(M, URI) function M.init (self) if self:userinfo() or self:port() then return nil, "usernames and passwords are not allowed in HTTP URIs" end local host = self:host() local path = self:p...
mit
jshackley/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Asrahd.lua
29
2736
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Asrahd -- Type: Imperial Gate Guard -- @pos 0.011 -1 10.587 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); requir...
gpl-3.0
snorecore/spooplights
init.lua
1
1124
-- Copyright (C) 2015 snorecore -- spooplights - init script -- Created: Sun 18th Oct 2015 CONFIG_SCRIPT = "init_config.lua" SCRIPT = "spoopy.lua" USER_BUTTON = 3 -- Utility functions function file_exists(filename) local f = file.open(filename, "r") if f ~= nil then file.close() return true else ret...
gpl-2.0
DipColor/mehrabon3
plugins/banhammer.lua
175
5896
local function is_user_whitelisted(id) local hash = 'whitelist:user#id'..id local white = redis:get(hash) or false return white end local function is_chat_whitelisted(id) local hash = 'whitelist:chat#id'..id local white = redis:get(hash) or false return white end local function kick_user(user_id, chat_id)...
gpl-2.0
jshackley/darkstar
scripts/zones/Kazham/npcs/Kukupp.lua
15
5735
----------------------------------- -- Area: Kazham -- NPC: Kukupp -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); require("scripts/globals/pathfind"); local path = { 43.067505, -11.000000, -177.214966, ...
gpl-3.0
jshackley/darkstar
scripts/globals/items/wild_onion.lua
35
1193
----------------------------------------- -- ID: 4387 -- Item: wild_onion -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 4 -- Vitality -6 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCh...
gpl-3.0
jshackley/darkstar
scripts/zones/Pashhow_Marshlands/npcs/Ioupie_RK.lua
30
3064
----------------------------------- -- Area: Pashhow Marshlands -- NPC: Ioupie, R.K. -- Type: Border Conquest Guards -- @pos 536.291 23.517 694.063 109 ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil; ----------------------------------- require("scripts/globals/con...
gpl-3.0
JoMiro/arcemu
src/scripts/lua/LuaBridge/Stable Scripts/Outland/Magisters Terrace/UNIT-MagistersTerrace-SunbladeMagister.lua
30
1583
--[[ ******************************** * * * The Moon Project * * * ******************************** This software is provided as free and open source by the staff of The Moon Project, in accordance with the GPL license. This means we provide the so...
agpl-3.0
anoidgit/reading-comprehension
deps/PScore.lua
1
2876
local PScore, parent = torch.class('nn.PScore', 'nn.SequenceContainer') function PScore:__init(Calcer) parent.__init(self, Calcer) self.gradP = torch.Tensor() self.gradQ = torch.Tensor() end local function expandT(tin, nexp) local usize = tin:size() local bsize = usize[1] local vsize = usize[2] return tin:resh...
gpl-3.0
jshackley/darkstar
scripts/zones/Rabao/Zone.lua
28
1606
----------------------------------- -- -- Zone: Rabao (247) -- ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Rabao/TextIDs"); ----------------------------------- -- on...
gpl-3.0
jshackley/darkstar
scripts/zones/Ranguemont_Pass/Zone.lua
20
1885
----------------------------------- -- -- Zone: Ranguemont_Pass (166) -- ----------------------------------- package.loaded["scripts/zones/Ranguemont_Pass/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Ranguemont_Pass/TextIDs"); require("scrip...
gpl-3.0
goksie/newfies-dialer
lua/test/send_sms.lua
4
1059
-- -- Newfies-Dialer License -- http://www.newfies-dialer.org -- -- 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) 2011-2014 Star2Billing S.L. -- --...
mpl-2.0
jshackley/darkstar
scripts/zones/The_Shrine_of_RuAvitau/mobs/Defender.lua
2
2630
----------------------------------- -- Area: The Shrine of Ru'Avitau -- MOB: Defender ----------------------------------- ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob) end; ----------------------------------- -- onMobSpawn -----------...
gpl-3.0
robertop/pelet
premake4.lua
1
8754
------------------------------------------------------------------- -- This software is released under the terms of the MIT License -- -- 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 with...
mit
jshackley/darkstar
scripts/zones/Southern_San_dOria/npcs/Lotte.lua
36
1431
----------------------------------- -- Area: Southern San d'Oria -- NPC: Lotte -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests")...
gpl-3.0
jshackley/darkstar
scripts/globals/spells/raptor_mazurka.lua
31
1188
----------------------------------------- -- Spell: Raptor Mazurka -- Gives party members enhanced movement ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastin...
gpl-3.0
yunikkk/omim
3party/osrm/osrm-backend/profile.lua
48
13466
-- Begin of globals --require("lib/access") --function temporarily inlined barrier_whitelist = { ["cattle_grid"] = true, ["border_control"] = true, ["checkpoint"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["lift_gate"] = true, ["no"] = true, ["entrance"] = true } access_tag_whitelist = { [...
apache-2.0
jshackley/darkstar
scripts/zones/Northern_San_dOria/npcs/Pellimie.lua
38
1025
----------------------------------- -- Area: Northern San d'Oria -- NPC: Pellimie -- Type: Standard Dialogue NPC -- @zone: 231 -- @pos 145.459 0.000 131.540 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/TextIDs");...
gpl-3.0
gheinrich/lua-pb
bench/bench_media.lua
7
4012
local pb = require"pb" local function encode_new_msg(create, ...) local msg =create(...) return msg:Serialize() end local function decode_new_msg(create, data) local msg =create() return msg:Parse(data) end local bench = require"bench.bench" -- load .proto file. local media = require"protos.media" local Media...
mit
Ombridride/minetest-minetestforfun-server
mods/worldedge/init.lua
9
4479
-------------- -- TODO: Check for terrain height -- Defines the edge of a world local edge = 30000 -- Radius which should be checked for a good teleportation place local radius = 2 -------------- local count = 0 local waiting_list = {} --[[ Explanation of waiting_list table Index = Player name Value = { player = ...
unlicense
jshackley/darkstar
scripts/zones/Northern_San_dOria/npcs/Eugballion.lua
17
1647
----------------------------------- -- Area: Northern San d'Oria -- NPC: Eugballion -- Only sells when San d'Oria controlls Qufim Region ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); re...
gpl-3.0
jshackley/darkstar
scripts/zones/Uleguerand_Range/npcs/HomePoint#5.lua
19
1189
----------------------------------- -- Area: Uleguerand_Range -- NPC: HomePoint#5 -- @pos ----------------------------------- package.loaded["scripts/zones/Uleguerand_Range/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Uleguerand_Range/TextIDs"); require("scripts/globals/homepoint"); ...
gpl-3.0
VincentGong/chess
cocos2d-x/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_physics_auto_api.lua
6
5853
-------------------------------- -- @module cc -------------------------------------------------------- -- the cc PhysicsWorld -- @field [parent=#cc] PhysicsWorld#PhysicsWorld PhysicsWorld preloaded module -------------------------------------------------------- -- the cc PhysicsDebugDraw -- @field [parent=#cc] Phys...
mit
jshackley/darkstar
scripts/zones/Kuftal_Tunnel/npcs/Treasure_Coffer.lua
17
4419
----------------------------------- -- Area: Kuftal Tunnel -- NPC: Treasure Coffer -- @zone 174 ----------------------------------- package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); requi...
gpl-3.0
jshackley/darkstar
scripts/zones/Port_Jeuno/npcs/Jaipal.lua
17
1271
----------------------------------- -- Area: Port Jeuno -- NPC: Jaipal -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; require("scripts/zones/Port_Jeuno/TextIDs"); ----------------------------------- -- onTrade Action --------------------...
gpl-3.0
OptimusLime/lua-websockets
test-server/test-server-ev.lua
6
1174
#!/usr/bin/env lua --- lua websocket equivalent to test-server.c from libwebsockets. -- using lua-ev event loop package.path = '../src/?.lua;../src/?/?.lua;'..package.path local ev = require'ev' local loop = ev.Loop.default local websocket = require'websocket' local server = websocket.server.ev.listen { protocols = {...
mit
jshackley/darkstar
scripts/globals/items/choco-katana.lua
36
1156
----------------------------------------- -- ID: 5918 -- Item: Choco-katana -- Food Effect: 3 Min, All Races ----------------------------------------- -- Agility 1 -- Speed 12.5% ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0