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
jshackley/darkstar
scripts/zones/The_Eldieme_Necropolis_[S]/npcs/Erlene.lua
16
6794
----------------------------------- -- Area: The Eldieme Necropolis (S) -- NPC: Erlene -- Involved in Quest: "A Little Knowledge" -- @pos 376.936 -39.999 17.914 175 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis_[S]/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
jshackley/darkstar
scripts/zones/Abyssea-Altepa/Zone.lua
32
1531
----------------------------------- -- -- Zone: Abyssea - Altepa -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Altepa/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Abyssea-Alte...
gpl-3.0
adminmagma/telegood
plugins/steam.lua
645
2117
-- See https://wiki.teamfortress.com/wiki/User:RJackson/StorefrontAPI do local BASE_URL = 'http://store.steampowered.com/api/appdetails/' local DESC_LENTH = 200 local function unescape(str) str = string.gsub( str, '&lt;', '<' ) str = string.gsub( str, '&gt;', '>' ) str = string.gsub( str, '&quot;', '"' ) str...
gpl-2.0
Victek/wrt1900ac-aa
veriksystems/luci-0.11/contrib/luasrcdiet/lua/LuaSrcDiet.lua
122
23773
#!/usr/bin/env lua --[[-------------------------------------------------------------------- LuaSrcDiet Compresses Lua source code by removing unnecessary characters. For Lua 5.1.x source code. Copyright (c) 2008 Kein-Hong Man <khman@users.sf.net> The COPYRIGHT file describes the conditions under which thi...
gpl-2.0
jshackley/darkstar
scripts/zones/Southern_San_dOria/npcs/Cletae.lua
34
1470
----------------------------------- -- Area: Southern San d'Oria -- NPC: Cletae -- Guild Merchant NPC: Leathercrafting Guild -- @pos -189.142 -8.800 14.449 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
jshackley/darkstar
scripts/globals/items/bowl_of_ocean_soup.lua
35
1893
----------------------------------------- -- ID: 4285 -- Item: bowl_of_ocean_soup -- Food Effect: 4Hrs, All Races ----------------------------------------- -- HP % 5 -- MP 5 -- Dexterity 4 -- Mind -3 -- HP Recovered While Healing 9 -- Attack % 14 (cap 65) -- Ranged Attack % 14 (cap 65) ---------------------...
gpl-3.0
SpRoXx/GTW-RPG
[resources]/GTWtraindriver/data.lua
1
2967
--[[ ******************************************************************************** Project owner: RageQuit community Project name: GTW-RPG Developers: Mr_Moose Source code: https://github.com/GTWCode/GTW-RPG/ Bugtracker: http://forum.404rq.com/bug-reports/ Suggestions: http://forum.404rq.com/mta-se...
bsd-2-clause
jshackley/darkstar
scripts/zones/Monarch_Linn/bcnms/savage.lua
17
1700
----------------------------------- -- Area: Monarch Linn -- Name: savage ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/missions"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) end; -- Physically entering...
gpl-3.0
jshackley/darkstar
scripts/zones/Windurst_Woods/npcs/Bopa_Greso.lua
19
1725
----------------------------------- -- Area: Windurst Woods -- NPC: Bopa Greso -- Type: Standard NPC -- @zone: 241 -- @pos 59.773 -6.249 216.766 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------...
gpl-3.0
jshackley/darkstar
scripts/globals/abilities/dancers_roll.lua
9
3136
----------------------------------- -- Ability: Dancer's Roll -- Grants Regen status to party members within area of effect -- Optimal Job: Dancer -- Lucky Number: 3 -- Unlucky Number: 7 -- Level: 61 -- -- Die Roll |No DNC |With DNC -- -------- ---------- ---------- -- 1 ...
gpl-3.0
jshackley/darkstar
scripts/zones/Windurst_Walls/npcs/Trail_Markings.lua
17
2749
----------------------------------- -- Area: Windurst Walls -- NPC: Trail Markings -- Dynamis-Windurst Enter -- @pos -216 0 -94 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requi...
gpl-3.0
Keithenneu/Dota2-FullOverwrite
abilityUse/abilityUse_template.lua
1
3951
------------------------------------------------------------------------------- --- AUTHOR: Nostrademous --- GITHUB REPO: https://github.com/Nostrademous/Dota2-FullOverwrite ------------------------------------------------------------------------------- BotsInit = require( "game/botsinit" ) local genericAbility = Bots...
gpl-3.0
robertop/pelet
premake_functions.lua
1
3503
------------------------------------------------------------------- -- 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...
mit
jshackley/darkstar
scripts/zones/Windurst_Woods/npcs/Retto-Marutto.lua
19
1169
----------------------------------- -- Area: Windurst Woods -- NPC: Retto-Marutto -- Guild Merchant NPC: Bonecrafting Guild -- @pos -6.142 -6.55 -132.639 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/s...
gpl-3.0
sugiartocokrowibowo/Algorithm-Implementations
Dijkstra_Search/Lua/Yonaba/dijkstra_test.lua
26
3032
-- Tests for dijkstra.lua local Dijkstra = require 'dijkstra' 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 same(t, p, comp) for k,v in ipairs(t) do if not comp(v, p[k]) then return false end end re...
mit
sugiartocokrowibowo/Algorithm-Implementations
Knapsack/Lua/Yonaba/knapsack.lua
26
2985
-- Knapsack problem algorithm implementation -- See: http://en.wikipedia.org/wiki/Knapsack_problem -- Pops value at the head of an array local function pop(s) local head = s[1] table.remove(s, 1) return head end -- Note: the items to be passed should be represented this way -- items = { -- {name = 'item_name'...
mit
10sa/Advanced-Nutscript
nutscript/plugins/improveddoors/sh_commands.lua
1
7575
local PLUGIN = PLUGIN nut.command.Register({ onRun = function(client, arguments) local data = {} data.start = client:GetShootPos() data.endpos = data.start + client:GetAimVector() * 84 data.filter = client local trace = util.TraceLine(data) local entity = trace.Entity if (IsValid(entity) and PLUGIN:...
mit
jshackley/darkstar
scripts/globals/items/bowl_of_vegetable_soup.lua
35
1398
----------------------------------------- -- ID: 4560 -- Item: bowl_of_vegetable_soup -- Food Effect: 3Hrs, All Races ----------------------------------------- -- Vitality -1 -- Agility 4 -- Ranged Accuracy 5 -- HP Recovered While Healing 3 ----------------------------------------- require("scripts/globals/...
gpl-3.0
jshackley/darkstar
scripts/zones/Selbina/npcs/Vuntar.lua
17
3055
----------------------------------- -- Area: Selbina -- NPC: Vuntar -- Starts and Finishes Quest: Cargo (R) -- @pos 7 -2 -15 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("s...
gpl-3.0
drhelius/Gearboy
platforms/ios/dependencies/SDL-2.0.4-9174/premake/projects/testscale.lua
7
1052
-- Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org> -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the use of this software. -- -- Permission is granted to anyone to use this software for an...
gpl-3.0
Ombridride/minetest-minetestforfun-server
mods/carts/init.lua
7
11253
carts = {} carts.modpath = minetest.get_modpath("carts") -- Maximal speed of the cart in m/s carts.speed_max = minetest.setting_get("movement_speed_walk")*3*0.9 -- Minimal speed of the cart on brake rail carts.brake_speed_min = minetest.setting_get("movement_speed_walk")/2 -- Set to nil to disable punching the cart f...
unlicense
jshackley/darkstar
scripts/zones/Davoi/npcs/_45i.lua
19
2046
----------------------------------- -- Area: Davoi -- NPC: Wailing Pond -- Used In Quest: Whence Blows the Wind -- @pos 380 0.1 -181 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/gl...
gpl-3.0
Sourceless/bullet-hell-game
bullet-hell/class/statemanager.lua
1
1874
-- StateManager -- -- Manage gamestates, and maintain a stack of said states. -- Run the state at the top of the stack, and draw any visible states (this -- allows for transparency on pause screens, etc) package.path = ";../?.lua" class = require "lib/30log/30log" -- class boilerplate StateManager = class ( ) StateMan...
mit
yagop/telegram-bot
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
birkett/MCServer
Server/Plugins/APIDump/Hooks/OnTakeDamage.lua
44
1214
return { HOOK_TAKE_DAMAGE = { CalledWhen = "An {{cEntity|entity}} is taking any kind of damage", DefaultFnName = "OnTakeDamage", -- also used as pagename Desc = [[ This hook is called when any {{cEntity}} descendant, such as a {{cPlayer|player}} or a {{cMonster|mob}}, takes any kind of damage. The plugin...
apache-2.0
jshackley/darkstar
scripts/zones/Crawlers_Nest/TextIDs.lua
22
1594
--- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6569; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6574; -- Obtained: <item>. GIL_OBTAINED = 6575; -- Obtained <number> gil. KEYITEM_OBTAINED = 6577; -- Obtaine...
gpl-3.0
jshackley/darkstar
scripts/globals/spells/bluemagic/hecatomb_wave.lua
18
1947
----------------------------------------- -- Spell: Hecatomb Wave -- Deals wind damage to enemies within a fan-shaped area originating from the caster. Additional effect: Blindness -- Spell cost: 116 MP -- Monster Type: Demons -- Spell Type: Magical (Wind) -- Blue Magic Points: 3 -- Stat Bonus: AGI+1 -- Level: ...
gpl-3.0
jshackley/darkstar
scripts/zones/The_Garden_of_RuHmet/npcs/_0zs.lua
17
1272
----------------------------------- -- Area: The_Garden_of_RuHmet -- NPC: _0zs ----------------------------------- package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/The_Garden_of_RuHmet/TextIDs");...
gpl-3.0
jshackley/darkstar
scripts/globals/weaponskills/shockwave.lua
29
1477
----------------------------------- -- Shockwave -- Great Sword weapon skill -- Skill level: 150 -- Delivers an area of effect attack. Sleeps enemies. Duration of effect varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Aqua Gorget. -- Aligned with the Aqua Belt. -- Element: None -- Modifier...
gpl-3.0
jshackley/darkstar
scripts/globals/weaponskills/torcleaver.lua
30
1559
----------------------------------- -- Torcleaver -- Skill Level: N/A -- Description: Deals triple damage. Damage varies with TP. Caladbolg: Aftermath. -- Available only when equipped with Caladbolg (85)/(90)/(95) or Espafut +1/+2/+3. -- Aligned with the Light Gorget, Aqua Gorget & Snow Gorget. -- Aligned with th...
gpl-3.0
Victek/wrt1900ac-aa
veriksystems/luci-0.11/modules/admin-mini/luasrc/model/cbi/mini/passwd.lua
14
1177
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at h...
gpl-2.0
jshackley/darkstar
scripts/zones/Davoi/npcs/Sedal-Godjal.lua
19
3630
----------------------------------- -- Area: Davoi -- NPC: Sedal-Godjal -- Mini Quest used in : Whence Blows the Wind -- @pos 185 -3 -116 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scrip...
gpl-3.0
jshackley/darkstar
scripts/globals/pathfind.lua
18
2553
-- Util methods for pathfinding pathfind = {}; PATHFLAG_NONE = 0 PATHFLAG_RUN = 1 PATHFLAG_WALLHACK = 2 PATHFLAG_REVERSE = 4 -- returns the point at the given index function pathfind.get(points, index) local pos = {}; if (index < 0) then index = (#points + index - 2) / 3; end pos[1] = points[...
gpl-3.0
mohammadclashclash/sina20160
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
jshackley/darkstar
scripts/zones/Bhaflau_Thickets/mobs/Colibri.lua
8
1757
----------------------------------- -- Area: Bhaflau Thickets -- MOB: Colibri ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobFight Action ----------------------------------- function onMobFight(mob, target) loc...
gpl-3.0
Victek/wrt1900ac-aa
veriksystems/luci-0.11/applications/luci-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/widgets_overview.lua
78
2041
--[[ LuCI - Lua Configuration Interface Copyright 2012 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 ]]-- l...
gpl-2.0
jshackley/darkstar
scripts/zones/Windurst_Woods/npcs/HomePoint#4.lua
17
1253
----------------------------------- -- Area: Windurst Woods -- NPC: HomePoint#4 -- @pos 74 -7.5 -139 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Windurst_Woods/TextIDs"); require("scripts/g...
gpl-3.0
jshackley/darkstar
scripts/globals/items/steamed_crab.lua
35
1308
----------------------------------------- -- ID: 4342 -- Item: steamed_crab -- Food Effect: 60Min, All Races ----------------------------------------- -- Vitality 3 -- Defense % 27 -- Defense Cap 55 ----------------------------------------- require("scripts/globals/status"); ------------------------------...
gpl-3.0
bsmr-games/OpenRA
mods/d2k/maps/atreides-01a/atreides01a.lua
18
4859
HarkonnenReinforcements = { } HarkonnenReinforcements["Easy"] = { { "light_inf", "light_inf" } } HarkonnenReinforcements["Normal"] = { { "light_inf", "light_inf" }, { "light_inf", "light_inf", "light_inf" }, { "light_inf", "trike" }, } HarkonnenReinforcements["Hard"] = { { "light_inf", "light_inf" }, { "trike"...
gpl-3.0
shagu/pfQuest
db/koKR/zones.lua
1
33951
pfDB["zones"]["koKR"] = { [1] = "Dun Morogh", [2] = "기나긴 해안", [3] = "Badlands", [4] = "Blasted Lands", [7] = "검은바다 만", [8] = "Swamp of Sorrows", [9] = "노스샤이어 계곡", [10] = "Duskwood", [11] = "Wetlands", [12] = "Elwynn Forest", [13] = "세계수", [14] = "Durotar", [15] = "Dustwallow Marsh", [16] = "...
mit
jshackley/darkstar
scripts/globals/weaponskills/tachi_rana.lua
18
4583
----------------------------------- -- Tachi Rana -- Great Katana weapon skill -- Skill Level: N/A -- Delivers a three-fold attack. params.accuracy varies with TP. Aftermath effect varies with TP. See Kogarasumaru. -- In order to obtain Tachi: Rana, the Unlocking a Myth (Samurai) quest must be completed. -- Will ...
gpl-3.0
VincentGong/chess
cocos2d-x/cocos/scripting/lua-bindings/auto/api/TMXTiledMap.lua
6
2826
-------------------------------- -- @module TMXTiledMap -- @extend Node -------------------------------- -- @function [parent=#TMXTiledMap] setObjectGroups -- @param self -- @param #array_table array -------------------------------- -- @function [parent=#TMXTiledMap] getProperty -- @param self -- @param #s...
mit
jshackley/darkstar
scripts/zones/RuLude_Gardens/npcs/_6r9.lua
17
2864
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Audience Chamber -- Involved in Mission: Magicite -- @pos 0 -5 66 243 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems");...
gpl-3.0
kjmac123/metabuilder
metabuilder/metabase/writer_ndk.lua
1
8193
import "writer_common.lua" g_makeOutputDirAbs = mbwriter.global.makeoutputdirabs g_makeOutputDirAbsRoot = nil g_makeOutputDirAbsTargetConfig = nil ---------------------------------------------------------------------------------------------------------------------------------------------------------------- ...
mit
jshackley/darkstar
scripts/zones/Bastok_Markets/npcs/Ken.lua
38
1395
----------------------------------- -- Area: Bastok Markets -- NPC: Ken -- Type: Quest NPC -- @pos -340.857 -11.003 -149.008 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts...
gpl-3.0
jshackley/darkstar
scripts/zones/Port_Bastok/npcs/Valeriano.lua
36
1723
----------------------------------- -- Area: Port Bastok -- NPC: Valeriano -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/zones/Port_Bastok/TextIDs");...
gpl-3.0
jshackley/darkstar
scripts/globals/effects/afflatus_misery.lua
18
1194
----------------------------------- -- -- EFFECT_AFFLATUS_MISERY -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:setMod(MOD_AFFLATUS_MISER...
gpl-3.0
jshackley/darkstar
scripts/zones/Metalworks/npcs/Invincible_Shield.lua
38
1383
----------------------------------- -- Area: Metalworks -- NPC: Invincible Shield -- Type: Ballista -- @pos -51.083 -11 2.126 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zo...
gpl-3.0
jac8/TelebitsTG
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
Ombridride/minetest-minetestforfun-server
mods/markers/init.lua
9
19185
-- markers are useful for measuring distances and for marking areas -- markers are protected from digging by other players for one day -- (the protection for the *marker* auto-expires then, and it can be digged) markers = {} dofile(minetest.get_modpath("markers").."/config.lua"); dofile(minetest.get_modpath("markers...
unlicense
snorecore/spooplights
LED.lua
1
2916
-- Copyright (C) 2015 snorecore -- LED Library to drive a single RGB LED -- Created: Sat 24th Oct 2015 local LED = {} LED.__index = LED -- Default values LED.DEFAULT_RED_PIN = 5 LED.DEFAULT_BLUE_PIN = 6 LED.DEFAULT_GREEN_PIN = 7 LED.DEFAULT_PWM_FREQ = 100 -- Gamma Correction local GAMMA = { [0] = 0, 0, 0, 0, 0, 0,...
gpl-2.0
Ombridride/minetest-minetestforfun-server
mods/multitest/nodes.lua
9
5694
-- nodes minetest.register_node("multitest:rubberblock", { description = "Rubber Block", tiles = {"multitest_rubberblock.png"}, groups = {oddly_breakable_by_hand=5,crumbly=3}, }) minetest.register_node("multitest:blackstone", { description = "Blackstone", tiles = {"multitest_blackstone.png"}, gro...
unlicense
Keithenneu/Dota2-FullOverwrite
team_think.lua
1
14309
------------------------------------------------------------------------------- --- AUTHOR: Nostrademous --- GITHUB REPO: https://github.com/Nostrademous/Dota2-FullOverwrite ------------------------------------------------------------------------------- _G._savedEnv = getfenv() module( "team_think", package.seeall ) ...
gpl-3.0
jshackley/darkstar
scripts/globals/items/puffball.lua
35
1188
----------------------------------------- -- ID: 4448 -- Item: puffball -- Food Effect: 5Min, All Races ----------------------------------------- -- Strength -4 -- Mind 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ...
gpl-3.0
jshackley/darkstar
scripts/globals/items/fire_sword.lua
41
1068
----------------------------------------- -- ID: 16543 -- Item: Fire Sword -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ---------------------------------...
gpl-3.0
DarkRainX/ufoai
base/ufos/ui/ufox.datatable.lua
2
10046
--!usr/bin/lua --[[ -- @file -- @brief DataTable builder extension --]] --[[ Copyright (C) 2002-2020 UFO: Alien Invasion. 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 Lic...
gpl-2.0
jshackley/darkstar
scripts/globals/items/bluetail.lua
18
1257
----------------------------------------- -- ID: 4399 -- Item: Bluetail -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------...
gpl-3.0
jshackley/darkstar
scripts/globals/items/inferno_sword.lua
42
1071
----------------------------------------- -- ID: 16594 -- Item: Inferno Sword -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ------------------------------...
gpl-3.0
opentibia/server
data/scripts/spells/attack/energy_wave.lua
3
1115
local energyWave = Spell:new("Energy Wave") energyWave.words = "exevo mort hur" energyWave.vocation = {"Sorcerer", "Master Sorcerer"} energyWave.damageType = COMBAT_ENERGYDAMAGE energyWave.level = 38 energyWave.magicLevel = 40 energyWave.mana = 170 energyWave.aggressive = true energyWave.areaE...
gpl-2.0
babak136222/babakgroup
bot/utils.lua
494
23873
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
luastoned/turbo
turbo/signal.lua
7
6575
--- Turbo.lua Signal Module -- -- Copyright John Abrahamsen 2011, 2012, 2013 < JhnAbrhmsn@gmail.com > -- -- "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 wit...
apache-2.0
jshackley/darkstar
scripts/zones/Lower_Delkfutts_Tower/Zone.lua
17
3688
----------------------------------- -- -- Zone: Lower_Delkfutts_Tower (184) -- ----------------------------------- package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/gl...
gpl-3.0
elbamos/nn
Max.lua
4
2174
local Max, parent = torch.class('nn.Max', 'nn.Module') function Max:__init(dimension, nInputDims) parent.__init(self) dimension = dimension or 1 self.dimension = dimension -- do not assign default value to nInputDims or it will break backward compatibility self.nInputDims = nInputDims end function Max:...
bsd-3-clause
jshackley/darkstar
scripts/globals/spells/hyoton_san.lua
17
1619
----------------------------------------- -- Spell: Hyoton: San -- Deals ice damage to an enemy and lowers its resistance against fire. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----...
gpl-3.0
jshackley/darkstar
scripts/globals/items/pot-au-feu_+1.lua
32
1707
----------------------------------------- -- ID: 5753 -- Item: Pot-au-feu -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 4 -- Agility 4 -- Intelligence -3 -- Ranged Attk % 16 Cap 65 -- Ranged ACC % 11 Cap 55 -- Enmity -3 ----------------------------------------- require("scripts...
gpl-3.0
jshackley/darkstar
scripts/zones/Bastok_Markets/npcs/Brygid.lua
17
6299
----------------------------------- -- Area: Bastok Markets -- NPC: Brygid -- Start & Finishes Quest: Brygid the Stylist & Brygid the Stylist Returns -- Involved in Quests: Riding on the Clouds -- @zone 235 -- @pos -90 -4 -108 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/Tex...
gpl-3.0
Ombridride/minetest-minetestforfun-server
mods/WorldEdit/worldedit_infinity/init.lua
18
2775
worldedit = rawget(_G, "worldedit") or {} local minetest = minetest --local copy of global local get_pointed = function(pos, nearest, distance) if distance > 100 then return false end --check for collision with node local nodename = minetest.get_node(pos).name if nodename ~= "air" and nodename ~= "...
unlicense
tridge/ardupilot
libraries/AP_Scripting/examples/Mission_test.lua
22
1972
-- This script is a test for AP_Mission bindings local last_mission_index = mission:get_current_nav_index() function update() -- this is the loop which periodically runs -- check for scripting DO commands in the mission local time_ms, param1, param2, param3, param4 = mission_receive() if time_ms then gcs:s...
gpl-3.0
hanxi/quick-cocos2d-x-2048
scripts/scenes/MainScene.lua
1
7725
--[[============================================================================= # FileName: MainScene.lua # Desc: mainScene for 2048 game # full edition in https://github.com/hanxi/quick-cocos2d-x-2048/tree/release # Author: hanxi # Email: hanxi.info@gmail.com # HomePage: ht...
mit
jshackley/darkstar
scripts/globals/atma.lua
3
41204
----------------------------------- -- -- EFFECT_ATMA -- -- Also used for Voidwatch Atmacite -- (it is a single effect in the client). -- Todo: table this BS / ditch these functions ----------------------------------- require("scripts/globals/status"); ----------------------------------- function atmaEffect...
gpl-3.0
jshackley/darkstar
scripts/zones/West_Sarutabaruta/npcs/Harvesting_Point.lua
29
1125
----------------------------------- -- Area: West Sarutabaruta -- NPC: Harvesting Point ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ------------------------------------- require("scripts/globals/harvesting"); require("scripts/zones/West_Sarutabaruta/T...
gpl-3.0
jshackley/darkstar
scripts/globals/spells/slowga.lua
18
1212
----------------------------------------- -- 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
jshackley/darkstar
scripts/globals/spells/regen_iii.lua
18
1391
----------------------------------------- -- Spell: Regen III -- Gradually restores target's HP. ----------------------------------------- -- Cleric's Briault enhances the effect -- Scale down duration based on level -- Composure increases duration 3x ----------------------------------------- require("scripts...
gpl-3.0
jshackley/darkstar
scripts/globals/mobskills/Trample.lua
2
1038
--------------------------------------------------- -- Trample -- Family: Bahamut -- Description: Deals physical damage to enemies in an area of effect. Additional effect: Knockback + Bind -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: -- Notes: ----------------------------------------------...
gpl-3.0
jshackley/darkstar
scripts/globals/spells/bluemagic/tail_slap.lua
28
1767
----------------------------------------- -- Spell: Tail Slap -- Delivers an area attack. Additional effect: "Stun." Damage varies with TP -- Spell cost: 77 MP -- Monster Type: Beastmen -- Spell Type: Physical (Blunt) -- Blue Magic Points: 4 -- Stat Bonus: MND+2 -- Level: 69 -- Casting Time: 1 seconds -- Reca...
gpl-3.0
hockeychaos/Core-Scripts-1
CoreScriptsRoot/Modules/Settings/Pages/Record.lua
1
7515
--[[r Filename: Record.lua Written by: jeditkacheff Version 1.0 Description: Takes care of the Record Tab in Settings Menu --]] -------------- SERVICES -------------- local CoreGui = game:GetService("CoreGui") local RobloxGui = CoreGui:WaitForChild("RobloxGui") local GuiService = game:GetService("GuiService") l...
apache-2.0
jshackley/darkstar
scripts/globals/items/bowl_of_eyeball_soup.lua
35
1403
----------------------------------------- -- ID: 4453 -- Item: Bowl of Eyeball Soup -- Food Effect: 180Min, All Races ----------------------------------------- -- Charisma -10 -- Health Regen While Healing 4 -- Accuracy 12 -- Ranged ACC 12 ----------------------------------------- require("scripts/globals/s...
gpl-3.0
jshackley/darkstar
scripts/globals/fieldsofvalor.lua
1
18848
------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/conquest"); -- require("scripts/globals/teleports"); require("scripts/globals/status"); require("scripts/globals/regimereward"); require("scripts/globals/regimeinfo"); require("scripts/globals/common"); --r...
gpl-3.0
jshackley/darkstar
scripts/zones/Southern_San_dOria/npcs/Ostalie.lua
36
2286
----------------------------------- -- Area: Southern San d'Oria -- NPC: Ostalie -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/sho...
gpl-3.0
jshackley/darkstar
scripts/globals/abilities/healing_waltz.lua
18
1630
----------------------------------- -- Ability: Healing Waltz -- Removes one detrimental status effect from target party member. -- Obtained: Dancer Level 35 -- TP Required: 20% -- Recast Time: 00:15 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ...
gpl-3.0
jshackley/darkstar
scripts/zones/Northern_San_dOria/TextIDs.lua
8
8825
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6587; -- Come back after sorting your inventory. ITEM_OBTAINED = 6592; -- Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Special Code: 01>>><<<Possible Special Code: 05>>> ...
gpl-3.0
opentibia/server
data/scripts/otstd/classes/tile.lua
3
4565
function Tile:new(position) return map:getTile(position) end function Tile:type() return "Tile" end function Tile:getX() return self.x end function Tile:getY() return self.y end function Tile:getZ() return self.z end function Tile:getPosition() return {x = self.x, y = self.y, z = self.z} end function Tile:northOf(s...
gpl-2.0
VincentGong/chess
cocos2d-x/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_extension_auto_api.lua
11
2940
-------------------------------- -- @module cc -------------------------------------------------------- -- the cc Scale9Sprite -- @field [parent=#cc] Scale9Sprite#Scale9Sprite Scale9Sprite preloaded module -------------------------------------------------------- -- the cc Control -- @field [parent=#cc] Control#Contr...
mit
jshackley/darkstar
scripts/zones/Southern_San_dOria/npcs/Aubejart.lua
36
1466
----------------------------------- -- Area: Southern San d'Oria -- NPC: Aubejart -- General Info NPC -- @zone 230 -- @pos 3 -2 46 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings");...
gpl-3.0
birkett/MCServer
Server/Plugins/APIDump/Hooks/OnCraftingNoRecipe.lua
36
1325
return { HOOK_CRAFTING_NO_RECIPE = { CalledWhen = " No built-in crafting recipe is found. Plugin may provide a recipe.", DefaultFnName = "OnCraftingNoRecipe", -- also used as pagename Desc = [[ This callback is called when a player places items in their {{cCraftingGrid|crafting grid}} and Cuberite canno...
apache-2.0
SwadicalRag/hash.js
plugins/lua/sand_modules/timer.lua
1
2342
local tostring = require "stostring" local scall = require "scall" local timers = {} local simple_timers = {} local function CreateSimpleTimerPacket( id, delay ) local header = HEADERSTART .. "SimpleTimer," .. PacketSafe(id, 2) .. ":" .. PacketSafe(delay, 3) .. HEADEREND return header end local function Creat...
cc0-1.0
jshackley/darkstar
scripts/zones/Abyssea-Uleguerand/npcs/qm22.lua
17
1386
----------------------------------- -- Zone: Abyssea-Ullegrand -- NPC: ??? -- Spawns: Resheph ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(pla...
gpl-3.0
bsmr-games/OpenRA
mods/ra/maps/monster-tank-madness/monster-tank-madness.lua
23
13934
AlliedUnits = { { 0, { "1tnk", "1tnk", "2tnk", "2tnk" } }, { DateTime.Seconds(3), { "e1", "e1", "e1", "e3", "e3" } }, { DateTime.Seconds(7), { "e6" } } } ReinforceBaseUnits = { "1tnk", "1tnk", "2tnk", "arty", "arty" } CivilianEvacuees = { "c1", "c2", "c5", "c7", "c8" } USSROutpostFlameTurrets = { FlameTurret1, Flame...
gpl-3.0
jshackley/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Zubyahn.lua
34
1032
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Zubyahn -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ----------...
gpl-3.0
jshackley/darkstar
scripts/zones/Giddeus/npcs/Uu_Zhoumo.lua
17
1973
----------------------------------- -- Area: Giddeus -- NPC: Uu Zhoumo -- Involved in Mission 2-3 -- @pos -179 16 155 145 ----------------------------------- package.loaded["scripts/zones/Giddeus/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globa...
gpl-3.0
Victek/wrt1900ac-aa
veriksystems/luci-0.11/libs/rpcc/luasrc/rpcc.lua
93
2227
--[[ LuCIRPCc (c) 2009 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- local util = require "luci.ut...
gpl-2.0
Ombridride/minetest-minetestforfun-server
mods/unifieddyes/init.lua
8
8664
--[[ Unified Dyes This mod provides an extension to the Minetest 0.4.x dye system ============================================================================== Copyright (C) 2012-2013, Vanessa Ezekowitz Email: vanessaezekowitz@gmail.com This program is free software; you can redistribute it and/or modify it under...
unlicense
jshackley/darkstar
scripts/globals/weaponskills/aeolian_edge.lua
30
1342
-- Aeolian Edge -- Dagger weapon skill -- Delivers an area attack that deals wind elemental damage. Damage varies with TP. -- Skill Level: 290 -- Aligned with the Breeze Gorget, Soil Gorget & Thunder Gorget. -- Aligned with the Breeze Belt, Soil Belt & Thunder Belt. -- Element: Wind -- Skillchain Properties: Imp...
gpl-3.0
jshackley/darkstar
scripts/zones/Upper_Jeuno/npcs/Mairee.lua
28
1800
----------------------------------- -- Area: Upper Jeuno -- NPC: Mairee -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); -----------------------------...
gpl-3.0
jshackley/darkstar
scripts/zones/Port_Jeuno/npcs/Dohhel.lua
38
1031
----------------------------------- -- Area: Port Jeuno -- NPC: Dohhel -- Type: Event Scene Replayer -- @zone: 246 -- @pos -156.031 -2 6.051 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ------------------...
gpl-3.0
LiberatorUSA/GUCEF
dependencies/agar/gui/premake.lua
1
4243
-- -- Do not edit! -- This file was generated from Makefile by BSDbuild 3.2. -- -- To regenerate this file, get the latest BSDbuild release from -- http://hypertriton.com/bsdbuild/, the latest Premake release -- (v3 series) from http://premake.sourceforge.net/, and execute: -- -- $ make proj -- package = newpackage...
apache-2.0
kubernetes/ingress-nginx
rootfs/etc/nginx/lua/test/util/nodemap_test.lua
4
5660
local util = require("util") local nodemap = require("util.nodemap") local function get_test_backend_single() return { name = "access-router-production-web-80", endpoints = { { address = "10.184.7.40", port = "8080", maxFails = 0, failTimeout = 0 } } } end local function get_test_backend_multi()...
apache-2.0
jshackley/darkstar
scripts/zones/Castle_Oztroja/npcs/Brass_Statue.lua
19
1377
----------------------------------- -- Area: Castle Oztroja -- NPC: Brass Statue -- Type: Passageway Machine -- @pos -60.061 -4.348 -61.538 151 (1) -- @pos -18.599 -19.307 20.024 151 (2) -- @pos -60 22 -100 151 (3) -- @pos -100 -72 -19 151 (4) ----------------------------------- package.loaded["scripts/zones/Cast...
gpl-3.0
DarkRainX/ufoai
base/ufos/ui/base.section.production.lua
2
2097
--!usr/bin/lua --[[ -- @file -- @brief Production base menu section --]] --[[ Copyright (C) 2002-2020 UFO: Alien Invasion. 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 Li...
gpl-2.0
Ombridride/minetest-minetestforfun-server
mods/mobs/crafts.lua
8
1939
-- nametag minetest.register_craftitem("mobs:nametag", { description = "Nametag", inventory_image = "mobs_nametag.png", }) core.register_craft({ type = "shapeless", output = "mobs:nametag", recipe = {"default:paper", "dye:black", "farming:string"}, }) -- leather minetest.register_craftitem("mobs:leather", { des...
unlicense