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 |
|---|---|---|---|---|---|
jshackley/darkstar | scripts/zones/Grand_Palace_of_HuXzoi/mobs/Eo_zdei.lua | 8 | 2998 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- MOB: Eo'Zdei
-- Animation Sub 0 Pot Form
-- Animation Sub 1 Pot Form (reverse eye position)
-- Animation Sub 2 Bar Form
-- Animation Sub 3 Ring Form
-----------------------------------
require("scripts/zones/Grand_Palace_of_HuXzoi/MobIDs");
requi... | gpl-3.0 |
Ombridride/minetest-minetestforfun-server | mods/plantlife_modpack/nature_classic/global_function.lua | 10 | 2479 | -- helper functions
local function process_blossom_queue_item()
local pos = nature.blossomqueue[1][1]
local node = nature.blossomqueue[1][2]
local replace = nature.blossomqueue[1][3]
if (nature.blossomqueue[1][3] == nature.blossom_node and not nature:is_near_water(pos)) then
table.remove(nature.blossomqueue, 1)... | unlicense |
jshackley/darkstar | scripts/globals/items/dish_of_spaghetti_carbonara.lua | 35 | 1821 | -----------------------------------------
-- ID: 5190
-- Item: dish_of_spaghetti_carbonara
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 14
-- Health Cap 175
-- Magic 10
-- Strength 4
-- Vitality 2
-- Intelligence -3
-- Attack % 18
-- Attack Cap 65
-- Store TP 6
--... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Cloister_of_Storms/npcs/Lightning_Protocrystal.lua | 17 | 1923 | -----------------------------------
-- Area: Cloister of Storms
-- NPC: Lightning Protocrystal
-- Involved in Quests: Trial by Lightning
-- @pos 534.5 -13 492 202
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil;
-------------------------------------
requir... | gpl-3.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua | 6 | 8456 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id: dhcp.lua ... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Port_San_dOria/npcs/Nazar.lua | 19 | 1269 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Nazar
-- Type: Standard NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("scripts/zones/Port_San_dOria/TextIDs");
-----------------------------------
-- onTrade Action
---------------... | gpl-3.0 |
hacker44-h44/h44bot | plugins/channels.lua | 300 | 1680 | -- Checks if bot was disabled on specific chat
local function is_channel_disabled( receiver )
if not _config.disabled_channels then
return false
end
if _config.disabled_channels[receiver] == nil then
return false
end
return _config.disabled_channels[receiver]
end
local function enable_channel(receiver)
if... | gpl-2.0 |
jshackley/darkstar | scripts/zones/AlTaieu/mobs/Jailer_of_Love.lua | 7 | 5586 | -----------------------------------
-- Area: Al'Taieu
-- NM: Jailer of Love
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
----------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Attohwa_Chasm/mobs/Alastor_Antlion.lua | 1 | 1888 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: Alastor Antlion
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitialize Action
--------------------------------... | gpl-3.0 |
jshackley/darkstar | scripts/globals/mobskills/Enervation.lua | 13 | 1280 | ---------------------------------------------
-- Enervation
--
-- Description: Lowers the defense and magical defense of enemies within range.
-- Type: Magical (Dark)
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globa... | gpl-3.0 |
SpRoXx/GTW-RPG | [resources]/GTWsafeareas/safearea_c.lua | 1 | 3398 | --[[
********************************************************************************
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 |
10sa/Advanced-Nutscript | nutscript/plugins/recognition/derma/cl_quickrecognition.lua | 1 | 2159 | local PANEL = {};
local PLUGIN = PLUGIN or { };
function PANEL:Init()
AdvNut.util.DrawBackgroundBlur(self);
self:InitDermaMenu();
AdvNut.hook.Add("VGUIMousePressed", "QuickRecognitionMenuMousePressed", PANEL.VGUIMousePressed);
end;
function PANEL:InitDermaMenu()
client = LocalPlayer();
self.menu = DermaMenu(... | mit |
lpiob/MTA-TokyoRPG | gamemode/RL_BASE/misc_c.lua | 1 | 6340 | function fadeElement(element,fade,destroy)
if isElement(element) then
if fade == true then -- Chowa element
local timer = 50
do if getElementAlpha(element)>1 then
setTimer(function () setElementAlpha(element,getElementAlpha(element)-1)end,timer,1)
timer = timer + 50
if destroy == true then
... | gpl-2.0 |
jshackley/darkstar | scripts/globals/mobskills/Everyones_Grudge.lua | 18 | 1546 | ---------------------------------------------
-- Everyones Grudge
--
-- Notes: Invokes collective hatred to spite a single target.
-- Damage done is 5x the amount of tonberries you have killed! For NM's using this it is 50 x damage.
---------------------------------------------
require("scripts/globals/sett... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Windurst_Woods/npcs/Kyaa_Taali.lua | 53 | 1807 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Kyaa Taali
-- Type: Bonecraft Image Support
-- @pos -10.470 -6.25 -141.700 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
emadni/telelordteamgimi | plugins/inrealm.lua | 228 | 16974 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_group_ch... | gpl-2.0 |
jshackley/darkstar | scripts/globals/items/plate_of_sea_spray_risotto.lua | 35 | 1632 | -----------------------------------------
-- ID: 4268
-- Item: plate_of_sea_spray_risotto
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP 45
-- Dexterity 6
-- Agility 3
-- Mind -4
-- HP Recovered While Healing 1
-- Accuracy % 6 (cap 20)
----------------------------------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Southern_San_dOria/npcs/Maleme.lua | 27 | 1530 | -----------------------------------
-- Area: Southern San dOria
-- NPC: Maleme
-- Type: Weather Reporter
-- Involved in Quest: Flyers for Regine
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/se... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/bowl_of_turtle_soup.lua | 35 | 1552 | -----------------------------------------
-- ID: 4418
-- Item: Turtle Soup
-- Food Effect: 3hours, All Races
-----------------------------------------
-- HP + 10% (200 Cap)
-- Dexterity +4
-- Vitality +6
-- Mind -3
-- HP Recovered While Healing +5
-----------------------------------------
require("scripts/... | gpl-3.0 |
junjiemars/redisql | resources/select-eq.lua | 2 | 1403 | local na = #ARGV
local m = nil
local level = redis.LOG_NOTICE
local table_exists = function(t)
if (1 == redis.call('sismember', '_T_N_', t)) then
return true
end
return false
end
local find_pk = function(t)
local pkd = string.format('_T_[%s]_C_PK_', t)
local cd = redis.call('get', pkd)
... | apache-2.0 |
Th2Evil/SuperPlus | data/config.lua | 1 | 1479 | do local _ = {
about_text = "▫️Welcome to @Th2_BOOS v1 For more information Subscribe to the channel @queenlove20 https:github.com/Th2Evil/SuperPlus.git",
enabled_plugins = {
"addsudo",
"admin",
"all",
"anti_spam",
"arabic_lock",
"ar-join",
"ar-run",
"ar-tag",
"ar-audio",
... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Port_Jeuno/npcs/Chaka_Skitimah.lua | 17 | 1281 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Chaka Skitimah
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
----------... | gpl-3.0 |
shagu/pfQuest | db/meta.lua | 1 | 11092 | pfDB["meta"] = {
["chests"] = {
[-300405] = 0,
[-300404] = 0,
[-300403] = 0,
[-300402] = 0,
[-300401] = 0,
[-300400] = 0,
[-181083] = 0,
[-181074] = 0,
[-180392] = 0,
[-180229] = 0,
[-180228] = 0,
[-179703] = 0,
[-179564] = 0,
[-179528] = 0,
[-176944] = 0,
... | mit |
jshackley/darkstar | scripts/globals/items/galkan_sausage_+2.lua | 35 | 1364 | -----------------------------------------
-- ID: 5860
-- Item: galkan_sausage_+2
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 5
-- Intelligence -6
-- Attack 11
-- Ranged Attack 11
-----------------------------------------
require("scripts/globals/status");
------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Shikoko_WW.lua | 30 | 3064 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Shikoko, W.W.
-- Type: Border Conquest Guards
-- @pos 536.291 23.517 694.063 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/mutton_tortilla.lua | 35 | 1729 | -----------------------------------------
-- ID: 4506
-- Item: mutton_tortilla
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 10
-- Strength 3
-- Vitality 1
-- Intelligence -1
-- Attack % 27
-- Attack Cap 30
-- Ranged ATT % 27
-- Ranged ATT Cap 30
----------------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Lower_Jeuno/npcs/Porter_Moogle.lua | 41 | 1537 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 245
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Lower_Jeuno/TextIDs");
r... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Horlais_Peak/bcnms/dropping_like_flies.lua | 19 | 1705 | -----------------------------------
-- Area: Horlias peak
-- Name: Dropping Like Flies
-- BCNM30
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Horlais_Peak/TextIDs");
-----------------------------------
-- EXA... | gpl-3.0 |
Ombridride/minetest-minetestforfun-server | minetestforfun_game/mods/default/player.lua | 8 | 4647 | -- Minetest 0.4 mod: player
-- See README.txt for licensing and other information.
-- Player animation blending
-- Note: This is currently broken due to a bug in Irrlicht, leave at 0
local animation_blend = 0
default.registered_player_models = { }
-- Local for speed.
local models = default.registered_player_models
... | unlicense |
jshackley/darkstar | scripts/globals/abilities/reward.lua | 18 | 6423 | -----------------------------------
-- Ability: Reward
-- Feeds pet to restore its HP.
-- Obtained: Beastmaster Level 12
-- Recast Time: 1:30
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/pets");
----... | gpl-3.0 |
drhelius/Gearboy | platforms/ios/dependencies/SDL-2.0.4-9174/premake/projects/testnative.lua | 7 | 1316 | -- 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 |
sugiartocokrowibowo/Algorithm-Implementations | Maximum_Subarray/Lua/Yonaba/maximum_subarray.lua | 26 | 2823 | -- Greatest subsequential sum finding algorithms implementation
-- See: http://en.wikipedia.org/wiki/Maximum_subarray_problem
-- Computes the largest sub-sequential sum using kadanes algorithm
-- s : a given sequence
-- returns : the sum of the largest subsequence found
-- returns : the starting index of the lar... | mit |
jshackley/darkstar | scripts/zones/Newton_Movalpolos/npcs/Sleakachiq.lua | 32 | 1794 | -----------------------------------
-- Area: Newton Movalpolos
-- NPC: Sleakachiq
-- @pos 162.504 14.999 136.901 12
-----------------------------------
package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Newton_Movalpolos/TextIDs");
---------... | gpl-3.0 |
MeGaTG/amirdb | plugins/giverank.lua | 43 | 13862 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/libs/lucid/luasrc/lucid/tcpserver.lua | 50 | 6808 | --[[
LuCI - Lua Development Framework
Copyright 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 os... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Upper_Jeuno/npcs/Leillaine.lua | 37 | 1276 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Leillaine
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
----------------------------------... | gpl-3.0 |
jshackley/darkstar | scripts/globals/spells/armys_paeon_v.lua | 31 | 1389 | -----------------------------------------
-- Spell: Army's Paeon V
-- Gradually restores target's HP.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck... | gpl-3.0 |
jshackley/darkstar | scripts/globals/spells/bluemagic/self-destruct.lua | 18 | 1299 | -----------------------------------------
-- Spell: Self-Destruct
-- Sacrifices HP to damage enemies within range. Affects caster with Weakness
-- Spell cost: 100 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 3
-- Stat Bonus: STR+2
-- Level: 50
-- Casting Time: 3.25 seconds
--... | gpl-3.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/applications/luci-transmission/luasrc/model/cbi/transmission.lua | 75 | 13259 | --[[
LuCI - Lua Configuration Interface - Transmission support
Copyright 2012 Gabor Varga <vargagab@gmail.com>
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/LICEN... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Mikhe_Aryohcha.lua | 38 | 1124 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Mikhe Aryohcha
-- Type: Standard NPC
-- @zone: 94
-- @pos -56.645 -4.5 13.014
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/slice_of_giant_sheep_meat.lua | 18 | 1353 | -----------------------------------------
-- ID: 4372
-- Item: slice_of_giant_sheep_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 2
-- Intelligence -4
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
elbamos/nn | Normalize.lua | 4 | 4599 | local Normalize, parent = torch.class('nn.Normalize', 'nn.Module')
function Normalize:__init(p,eps)
parent.__init(self)
assert(p,'p-norm not provided')
assert(p > 0, p..'-norm not supported')
self.p = p
self.eps = eps or 1e-10
end
function Normalize:updateOutput(input)
assert(input:dim() <= 2, 'only 1d la... | bsd-3-clause |
jshackley/darkstar | scripts/zones/Kamihr_Drifts/Zone.lua | 34 | 1243 | -----------------------------------
--
-- Zone: Kamihr Drifts
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Kamihr_Drifts/TextIDs"] = nil;
require("scripts/zones/Kamihr_Drifts/TextIDs");
-----------------------------------
-- onInitialize
----... | gpl-3.0 |
Ombridride/minetest-minetestforfun-server | mods/builtin_falling/rewirting.lua | 10 | 7088 |
--
-- Falling stuff custom for protected area
--
minetest.register_entity(":__builtin:falling_node", {
initial_properties = {
physical = true,
collide_with_objects = false,
collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
visual = "wielditem",
textures = {},
visual_size = {x=0.667, y=0.667},
owner = "falli... | unlicense |
men232/greencode-framework | lua/greencode/plugins/rp_custommenu/category/cl_jobs.lua | 1 | 4020 | --[[
© 2013 GmodLive private project do not share
without permission of its author (Andrew Mensky vk.com/men232).
--]]
local CMENU_PLUGIN = greenCode.plugin:Get("rp_custommenu");
local TER_ONW;
local function ChangeJob( command, special, specialcommand )
local menu = DermaMenu();
if special then
m... | mit |
elbamos/nn | Module.lua | 2 | 10988 | local Module = torch.class('nn.Module')
function Module:__init()
self.gradInput = torch.Tensor()
self.output = torch.Tensor()
self._type = self.output:type()
end
function Module:parameters()
if self.weight and self.bias then
return {self.weight, self.bias}, {self.gradWeight, self.gradBias}
elseif... | bsd-3-clause |
tridge/ardupilot | libraries/AP_Scripting/examples/param_add.lua | 10 | 1480 | -- example for adding parameters to a lua script
-- the table key must be used by only one script on a particular flight
-- controller. If you want to re-use it then you need to wipe your old parameters
-- the key must be a number between 0 and 200. The key is persistent in storage
local PARAM_TABLE_KEY = 72
-- creat... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ponono.lua | 38 | 1047 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ponono
-- Type: Standard NPC
-- @zone: 94
-- @pos 156.069 -0.001 -15.667
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
--... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Windurst_Woods/npcs/Wije_Tiren.lua | 36 | 1496 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Wije Tiren
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zones/Windurst_Woods... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Bajahb.lua | 34 | 1274 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Bajahb
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require("... | gpl-3.0 |
botmohammad12344888/bot-888338888 | plugins/admin.lua | 17 | 6859 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(rec... | gpl-2.0 |
jshackley/darkstar | scripts/zones/The_Boyahda_Tree/Zone.lua | 9 | 1831 | -----------------------------------
--
-- Zone: The_Boyahda_Tree (153)
--
-----------------------------------
package.loaded["scripts/zones/The_Boyahda_Tree/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/The_Bo... | gpl-3.0 |
jshackley/darkstar | scripts/zones/FeiYin/TextIDs.lua | 15 | 2354 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6558; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6563; -- Obtained: <item>
GIL_OBTAINED = 6564; -- Obtained <number> gil
KEYITEM_OBTAINED = 6566; -- Obtain... | gpl-3.0 |
Mythikos/Flood-2.0 | flood/gamemode/server/sv_roundcontroller.lua | 1 | 4645 | util.AddNetworkString("RoundState")
GM.GameState = GAMEMODE and GAMEMODE.GameState or 0
--
-- Game States
-- 0 = Waiting for players to join
-- 1 = Building Phase
-- 2 = Flood Phase
-- 3 = Fight Phase
-- 4 = Reset Phase
--
--
function GM:GetGameState()
return self.GameState
end
function GM:SetGame... | mit |
jshackley/darkstar | scripts/zones/North_Gustaberg/npcs/Cavernous_Maw.lua | 29 | 1494 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Cavernous Maw
-- @pos 466 0 479 106
-- Teleports Players to North Gustaberg [S]
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
goksie/newfies-dialer | lua/libs/session.lua | 4 | 3116 | --
-- 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/Lower_Jeuno/npcs/Sniggnix.lua | 19 | 2175 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Sniggnix
-- Type: Standard NPC
-- @zone: 245
-- @pos -45.832 4.498 -135.029
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Mhaura/npcs/Runito-Monito.lua | 34 | 1472 | -----------------------------------
-- Area: Mhaura
-- NPC: Runito-Monito
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/shop");
--------... | gpl-3.0 |
hockeychaos/Core-Scripts-1 | CoreScriptsRoot/Modules/ActionBindingsTab.lua | 1 | 14177 | local CoreGui = game:GetService("CoreGui")
local ContextActionService = game:GetService("ContextActionService")
local TweenService = game:GetService("TweenService")
local RobloxGui = CoreGui:WaitForChild("RobloxGui")
local Utility = require(RobloxGui.Modules.Settings.Utility)
local INPUT_TYPE_ROW_HEIGHT = 30
local AC... | apache-2.0 |
JoMiro/arcemu | src/scripts/lua/LuaBridge/Stable Scripts/Outland/Magisters Terrace/UNIT-MagistersTerrace-SunbladeBloodKnight.lua | 30 | 1315 | --[[
********************************
* *
* 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 |
sp3ctum/lean | tests/lua/expr3.lua | 4 | 3032 | local b1 = binder_info()
assert(not b1:is_implicit())
local f = Const("f")
local a = Const("a")
local t = f(a)
assert(t:fn() == f)
assert(t:arg() == a)
assert(not pcall(function() f:fn() end))
local a1 = Local("a", Prop)
local pi1 = Pi(a1, Type)
assert(pi1:is_pi())
assert(not pcall(function() f:binding_name() end))
l... | apache-2.0 |
FNCxPro/MoarPeripherals | src/main/resources/assets/moarperipherals/lua/note.lua | 2 | 29354 | -- +---------------------+------------+---------------------+
-- | | | |
-- | | Note API | |
-- | | | |
-- +---------------------+------------+---------------------+
-- Note B... | apache-2.0 |
botmohammad12344888/bot-888338888 | plugins/map.lua | 2 | 1677 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Promyvion-Mea/mobs/Memory_Receptacle.lua | 1 | 6993 | -----------------------------------
-- Area: Promyvion-Mea
-- MOB: Memory Receptacle
-- Todo: clean up disgustingly bad formatting
-----------------------------------
package.loaded["scripts/zones/Promyvion-Mea/TextIDs"] = nil;
-----------------------------------
require( "scripts/zones/Promyvion-Mea/TextIDs" )... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Inner_Horutoto_Ruins/TextIDs.lua | 22 | 1317 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6548; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6553; -- Obtained: <item>.
GIL_OBTAINED = 6554; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6556; -- Obtained... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Al_Zahbi/npcs/Krujaal.lua | 38 | 1024 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Krujaal
-- Type: Residence Renter
-- @zone: 48
-- @pos 36.522 -1 -63.198
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
ScottNZ/OpenRA | mods/cnc/maps/nod04a/nod04a.lua | 12 | 10852 | NodUnitsBuggy = { 'bggy', 'bggy', 'bggy', 'bggy', 'bggy' }
NodUnitsBikes = { 'bike', 'bike', 'bike' }
NodUnitsGunner = { 'e1', 'e1', 'e1', 'e1', 'e1', 'e1' }
NodUnitsRocket = { 'e3', 'e3', 'e3', 'e3', 'e3', 'e3' }
Atk6Units = { 'c1', 'c2', 'c3' }
Atk5Units = { 'e1', 'e1', 'e2', 'e2' }
Atk1Units = { 'e1', 'e1' }
XxxxUn... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Cloister_of_Tremors/bcnms/trial_by_earth.lua | 19 | 1779 | -----------------------------------
-- Area: Cloister of Tremors
-- BCNM: Trial by Earth
-- @pos -539 1 -493 209
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/que... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Norg/npcs/Achika.lua | 19 | 1252 | -----------------------------------
-- Area: Norg
-- NPC: Achika
-- Type: Tenshodo Merchant
-- @pos 1.300 0.000 19.259 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop")... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Bastok_Mines/npcs/Virnage.lua | 17 | 2326 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Virnage
-- Starts Quest: Altana's Sorrow
-- @zone 234
-- @pos 0 0 51
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
req... | gpl-3.0 |
Mythikos/Flood-2.0 | flood/gamemode/client/cl_hud.lua | 1 | 9184 | surface.CreateFont( "Flood_HUD_Small", {
font = "Tehoma",
size = 14,
weight = 500,
antialias = true
})
surface.CreateFont( "Flood_HUD", {
font = "Tehoma",
size = 16,
weight = 500,
antialias = true
})
surface.CreateFont( "Flood_HUD_Large", {
font = "Tehoma",
size = 30,
weight = 5... | mit |
jshackley/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Rujen-Gorgen.lua | 34 | 1037 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Rujen-Gorgen
-- 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/globals/items/gurnard.lua | 18 | 1256 | -----------------------------------------
-- ID: 5132
-- Item: Gurnard
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------... | gpl-3.0 |
Ombridride/minetest-minetestforfun-server | mods/unified_inventory/bags.lua | 6 | 11622 | -- Bags for Minetest
-- Copyright (c) 2012 cornernote, Brett O'Donnell <cornernote@gmail.com>
-- License: GPLv3
local S = unified_inventory.gettext
local F = unified_inventory.fgettext
unified_inventory.register_page("bags", {
get_formspec = function(player)
local player_name = player:get_player_name()
local fo... | unlicense |
luastoned/turbo | turbo/iosimple.lua | 8 | 8013 | --- Turbo.lua IO Stream module.
-- Very High-level wrappers for asynchronous socket communication.
--
-- Copyright 2015 John Abrahamsen
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
... | apache-2.0 |
Ombridride/minetest-minetestforfun-server | mods/moreblocks/stairsplus/registrations.lua | 8 | 1292 | --[[
More Blocks: registrations
Copyright (c) 2011-2015 Calinou and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
--]]
local default_nodes = { -- Default stairs/slabs/panels/microblocks:
"stone",
"cobble",
"mossycobble",
"brick",
"sandstone",
"steelblock",
"goldblock",
"c... | unlicense |
jshackley/darkstar | scripts/zones/Gusgen_Mines/npcs/_5gb.lua | 34 | 1345 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5gb (Lever B)
-- @pos 19.999 -40.561 -54.198 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
------------... | gpl-3.0 |
opentibia/server | data/scripts/otstd/commands.lua | 3 | 1400 | otstd.Commands = {}
Command = {}
Command_meta = { __index = Command }
function Command:new(name)
local command = {}
setmetatable(command, Command_meta)
command.name = name
return command
end
function Command:register()
if self.Listeners ~= nil then
stopListener(self.Listeners)
end
if self.words == nil th... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Port_San_dOria/npcs/Altiret.lua | 36 | 2942 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Altiret
-- NPC for Quest "The Pickpocket"
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/sett... | gpl-3.0 |
LiberatorUSA/GUCEF | plugins/CORE/dstorepluginPARSIFALXML/premake5.lua | 1 | 1961 | --------------------------------------------------------------------
-- 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 |
MeGaTG/amirdb | lang/persian_lang.lua | 1 | 27958 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Port_Windurst/npcs/Ada.lua | 38 | 1030 | -----------------------------------
-- Area: Port Windurst
-- NPC: Ada
-- Type: Standard NPC
-- @zone: 240
-- @pos -79.803 -6.75 168.652
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-------------------... | gpl-3.0 |
jshackley/darkstar | scripts/globals/mobskills/Mangle.lua | 4 | 1103 | ---------------------------------------------
-- Mangle
-- Family: Qutrub
-- Description: Deals damage in a threefold attack to targets in a fan-shaped area of effect.
-- Type: Physical
-- Utsusemi/Blink absorb: 3 shadows
-- Range: Front cone
-- Notes: Used only when wielding their initial sword, or the d... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Temenos/mobs/Enhanced_Slime.lua | 1 | 1050 | -----------------------------------
-- Area: Temenos W T
-- NPC: Enhanced_Slime
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Carpenters_Landing/npcs/Guilloud.lua | 19 | 1380 | -----------------------------------
-- Area: Carpenters' Landing
-- NPC: Guilloud
-- Type: Standard NPC
-- @pos -123.770 -6.654 -469.062 2
-----------------------------------
package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil;
-----------------------------------
-----------------------------------
-... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/Zone.lua | 21 | 6100 | -----------------------------------
--
-- Zone: Alzadaal_Undersea_Ruins (72)
--
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Alzadaal_Undersea_Ruins/TextIDs");
... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Dkhaaya.lua | 17 | 2387 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Dkhaaya
-- Type: Standard NPC
-- @pos -73.212 -1 -5.842 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitem... | gpl-3.0 |
elbamos/nn | CMulTable.lua | 22 | 1350 |
local CMulTable, parent = torch.class('nn.CMulTable', 'nn.Module')
function CMulTable:__init()
parent.__init(self)
self.gradInput = {}
end
function CMulTable:updateOutput(input)
self.output:resizeAs(input[1]):copy(input[1])
for i=2,#input do
self.output:cmul(input[i])
end
return self.output
e... | bsd-3-clause |
jshackley/darkstar | scripts/globals/mobskills/Nocturnal_Combustion.lua | 4 | 1120 | ---------------------------------------------
-- Nocturnal Combustion
--
-- Description: Self-destructs, releasing dark energy at nearby targets.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: 20' radial
-- Notes: Damage is based on remaining HP and time of day (more damaging near mi... | gpl-3.0 |
10sa/Advanced-Nutscript | nutscript/plugins/improveddoors/cl_plugin.lua | 1 | 6047 | local PLUGIN = PLUGIN;
function PLUGIN:DrawDoor(entity, eyePos)
local posData = self:GetDoorDrawPosition(entity);
if (self:IsDoor(entity) and !posData.hitWorld) then
if (entity:GetNetVar("hidden")) then return; end;
local alpha = self:GetAlphaFromDistance(256, eyePos, entity:GetPos())
if(alpha <= 0 or entit... | mit |
kidaa/turbo | turbo/structs/buffer.lua | 12 | 8668 | -- Turbo.lua Low-level buffer implementation
--
-- Copyright 2013 John Abrahamsen
--
-- 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
--
-- Un... | apache-2.0 |
jshackley/darkstar | scripts/globals/status.lua | 3 | 77278 | ------------------------------------
--
-- STATUSES AND MODS
--
-- Contains variable-ized definitions of things like core enums for use in lua scripts.
------------------------------------
------------------------------------
-- Job IDs
------------------------------------
JOB_NON = 0
JOB_WAR = 1
JOB_MNK = 2
JOB_WHM... | gpl-3.0 |
jshackley/darkstar | scripts/zones/West_Sarutabaruta/npcs/Mahien-Uhien.lua | 17 | 1770 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Mahien-Uhien
-- Type: Outpost Vendor
-- @pos -13 -12 311 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
requir... | gpl-3.0 |
10sa/Advanced-Nutscript | nutscript/gamemode/derma/cl_charmenu.lua | 1 | 13965 | local PANEL = {}
local gradient = surface.GetTextureID("gui/gradient_up")
local gradient2 = surface.GetTextureID("gui/gradient_down")
local gradient3 = surface.GetTextureID("gui/gradient")
local gradient4 = surface.GetTextureID("vgui/gradient-r")
local blur = Material("pp/blurscreen")
local function DrawBlur(panel, am... | mit |
DipColor/mehrabon3 | bot/bot.lua | 1 | 6659 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
local f = assert(io.popen('/usr/bin/git describe --tags', 'r'))
VERSION = assert(f:read('*a'))
f:close()
-- This function is ... | gpl-2.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/libs/lucid-http/luasrc/lucid/http/handler/luci.lua | 50 | 2663 | --[[
LuCId HTTP-Slave
(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 dsp = require "... | gpl-2.0 |
kubernetes/ingress-nginx | rootfs/etc/nginx/lua/util/same_site.lua | 4 | 1347 | local string = string
local _M = {}
-- determines whether to apply a SameSite=None attribute
-- to a cookie, based on the user agent.
-- returns: boolean
--
-- Chrome 80 treating third-party cookies as SameSite=Strict
-- if SameSite is missing. Certain old browsers don't recognize
-- SameSite=None and will reject coo... | apache-2.0 |
jshackley/darkstar | scripts/zones/Rala_Waterways_U/Zone.lua | 36 | 1125 | -----------------------------------
--
-- Zone: Rala Waterways U
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Rala_Waterways_U/TextIDs"] = nil;
require("scripts/zones/Rala_Waterways_U/TextIDs");
-----------------------------------
-- onInitial... | gpl-3.0 |
wfxiang08/thrift | lib/lua/TBufferedTransport.lua | 43 | 2294 | --
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you ma... | apache-2.0 |
jshackley/darkstar | scripts/zones/Port_San_dOria/npcs/Croumangue.lua | 36 | 1884 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Croumangue
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/quests");
re... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.