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 |
|---|---|---|---|---|---|
Armyluix/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/npcs/qm1.lua | 16 | 1195 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- NPC: ??? (Spawn Ob(ZNM T1))
-- @pos 542 0 -129 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Alzadaal_Undersea_Ruins/TextID... | gpl-3.0 |
xpol/luainstaller | luarocks/src/luarocks/add.lua | 9 | 4167 |
--- Module implementing the luarocks-admin "add" command.
-- Adds a rock or rockspec to a rocks server.
local add = {}
package.loaded["luarocks.add"] = add
local cfg = require("luarocks.cfg")
local util = require("luarocks.util")
local dir = require("luarocks.dir")
local manif = require("luarocks.manif")
local index ... | mit |
cyberix3d/Cyberix3D | bin/Data/LuaScripts/01_HelloWorld.lua | 2 | 1823 | -- This first example, maintaining tradition, prints a "Hello World" message.
-- Furthermore it shows:
-- - Using the Sample utility functions as a base for the application
-- - Adding a Text element to the graphical user interface
-- - Subscribing to and handling of update events
require "LuaScripts/Utili... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Torino-Samarino.lua | 16 | 2897 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Torino-Samarino
-- Type: Quest NPC
-- Involved in Quests: Curses, Foiled A-Golem!?, Tuning Out
-- @pos 105 -20 140 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
require("scripts/glob... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Port_Bastok/npcs/Jabbar.lua | 14 | 1822 | -----------------------------------
-- Area: Port Bastok
-- NPC: Jabbar
-- Type: Tenshodo Merchant
-- Involved in Quests: Tenshodo Menbership
-- @pos -99.718 -2.299 26.027 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/effects/magic_shield.lua | 33 | 1698 | -----------------------------------
--
-- Magic Shield BLOCKS all magic attacks
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if (effect:getPower() == 3)... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/mobskills/Wire_Cutter.lua | 35 | 1160 | ---------------------------------------------------
-- Wire_Cutter
-- Single-target damage (~500-1500), absorbed by 2 Utsusemi shadows.
--
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
-------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Metalworks/npcs/Franziska.lua | 17 | 1138 | -----------------------------------
-- Area: Metalworks
-- NPC: Franziska
-- Type: Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Metalworks/TextIDs");
-----------------------------------
-- on... | gpl-3.0 |
uspgamedev/backdoor | game/domain/maneuver/play_card.lua | 1 | 1710 |
local TRIGGERS = require 'domain.definitions.triggers'
local ABILITY = require 'domain.ability'
local PLAYCARD = {}
PLAYCARD.input_specs = {
{ output = 'card_index', name = 'card_index' }
}
local function _card(actor, inputvalues)
return actor:getHandCard(inputvalues.card_index)
end
function PLAYCARD.ca... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Waughroon_Shrine/npcs/Burning_Circle.lua | 14 | 2281 | -----------------------------------
-- Area: Waughroon Shrine
-- NPC: Burning Circle
-- Waughroon Shrine Burning Circle
-- @pos -345 104 -260 144
-------------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Port_San_dOria/npcs/Nimia.lua | 36 | 1942 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Nimia
-- Only sells when San d'Oria controlls Elshimo Lowlands
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/sho... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/items/silken_siesta.lua | 18 | 1238 | -----------------------------------------
-- ID: 5626
-- Item: Silken Siesta
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP Recoverd while healing 2
-- MP Recovered while healing 5
-----------------------------------------
require("scripts/globals/status");
----... | gpl-3.0 |
zjutoe/lackey | cache/ca_swb.lua | 1 | 6640 | #!/usr/bin/env lua
-- to support speculative read/write:
-- to compare with blocking mode: block when encountering RAW dependences.
-- 1. core id tag: each datum is associated with a core id tag,
-- indicating its source. when 2 cores writes to the same mem addr,
-- both datum will be kept in the same set. But we d... | gpl-2.0 |
Armyluix/darkstar | scripts/globals/weaponskills/stardiver.lua | 30 | 1549 | -----------------------------------
-- Stardiver
-- Polearm weapon skill
-- Skill Level: MERIT
-- Delivers a fourfold attack. Damage varies with TP.
-- Will stack with Sneak Attack. reduces params.crit hit evasion by 5%
-- Element: None
-- Modifiers: STR:73~85%
-- 100%TP 200%TP 300%TP
-- 0.75 1.25 ... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Jugner_Forest/npcs/Geruru_WW.lua | 14 | 3330 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Geruru, W.W.
-- Type: Border Conquest Guards
-- @pos 570.732 -2.637 553.508 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
r... | gpl-3.0 |
milani/luvem | luvem/stream/stream_writable.lua | 1 | 12812 | --[[
Copyright 2014 The Luvit Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | apache-2.0 |
urueedi/luci | applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_radius.lua | 79 | 1554 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("coovachilli")
-- radius server
s1 = m:section(TypedSection, "radius")
s1.anonymous = true
s1:option( Value, "radiusserver1" )
s1:option( Value, "rad... | apache-2.0 |
jonese1234/PokeBotBad | util/input.lua | 5 | 2272 | local Input = {}
local Bridge = require "util.bridge"
local Memory = require "util.memory"
local Utils = require "util.utils"
local lastSend
local currentButton, remainingFrames, setForFrame
local debug
local bCancel = true
local function bridgeButton(btn)
if btn ~= lastSend then
lastSend = btn
Bridge.input(btn... | mit |
mohammad4569/botwe | plugins/stats.lua | 3 | 3697 | do
local NUM_MSG_MAX = 4
local TIME_CHECK = 3-- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end
-- Returns a table with `n... | gpl-2.0 |
abriasffxi/darkstar | scripts/zones/Windurst_Woods/npcs/Tesch_Garanjy.lua | 16 | 4318 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Tesch_Garanjy
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/armorstorage");
requir... | gpl-3.0 |
JKGDevs/JediKnightGalaxies | JKGalaxies/glua/maps/jkg_arena_tatooine_night/backend.lua | 2 | 21909 | --[[ ------------------------------------------------
Jedi Knight Galaxies Lua Code
Tatooine arena backend system
Written by BobaFett
--------------------------------------------------]]
-- Namespace for the arena backend
JKG.ArenaBackend = {}
local backend = JKG.ArenaBackend -- Faster and easier access
-- Matc... | gpl-2.0 |
Armyluix/darkstar | scripts/zones/Port_Bastok/npcs/Silver_Owl.lua | 34 | 1328 | -----------------------------------
-- Area: Port Bastok
-- NPC: Silver Owl
-- Type: Tenshodo Merchant
-- @pos -99.155 4.649 23.292 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Newton_Movalpolos/Zone.lua | 30 | 1704 | -----------------------------------
--
-- Zone: Newton_Movalpolos (12)
--
-----------------------------------
package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Newton_Movalpolos/TextIDs");
-------... | gpl-3.0 |
Armyluix/darkstar | scripts/commands/reloadglobal.lua | 26 | 1230 | ---------------------------------------------------------------------------------------------------
-- func: @reloadglobal
-- desc: Attempt to reload specified global lua without a restart.
--
-- Use with caution, some files ( like player.lua )
-- can cause you problems if you reload them using this.
-- This comm... | gpl-3.0 |
ElectroDuk/QuackWars | garrysmod/gamemodes/Basewars/entities(maybe_outdated)/entities/spawned_shipment/cl_init.lua | 2 | 1220 | include("shared.lua")
function ENT:Draw()
self.Entity:DrawModel()
local Pos = self:GetPos()
local Ang = self:GetAngles()
local content = self.contents
local contents = self:GetNWString("Contents")
--if not contents then return end
--contents = contents.name
surface.SetFont("HUDNumber5")
local TextWidth ... | mit |
Armyluix/darkstar | scripts/globals/items/breath_mantle.lua | 43 | 1422 | -----------------------------------------
-- ID: 15486
-- Item: Breath Mantle
-- Item Effect: HP+18 / Enmity+3
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------------------------------------... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/items/sausage_roll.lua | 35 | 1655 | -----------------------------------------
-- ID: 4396
-- Item: sausage_roll
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 6
-- Vitality 3
-- Intelligence -1
-- Attack % 27
-- Attack Cap 30
-- Ranged ATT % 27
-- Ranged ATT Cap 30
--------------------------------------... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/items/bunny_ball.lua | 35 | 1739 | -----------------------------------------
-- ID: 4349
-- Item: Bunny Ball
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health 10
-- Strength 2
-- Vitality 2
-- Intelligence -1
-- Attack % 30
-- Attack Cap 25
-- Ranged ATT % 30
-- Ranged ATT Cap 25
-------------------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/North_Gustaberg_[S]/npcs/Mining_Point.lua | 17 | 1098 | -----------------------------------
-- Area: North Gustaberg [S]
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/North_Gustaberg_[S]/TextIDs");
... | gpl-3.0 |
ElectroDuk/QuackWars | garrysmod/gamemodes/Basewars/entities(maybe_outdated)/entities/base_gmodentity/shared.lua | 3 | 1054 |
ENT.Type = "anim"
ENT.Base = "base_anim"
ENT.PrintName = ""
ENT.Author = ""
ENT.Contact = ""
ENT.Purpose = ""
ENT.Instructions = ""
ENT.Spawnable = false
ENT.AdminSpawnable = false
function ENT:SetOverlayText( text )
self:SetNetworkedString( "GModOverlayText", text )
end
function ENT:GetOverlayText()... | mit |
bravnsgaard/premake-core | tests/actions/vstudio/vc2010/test_rule_targets.lua | 16 | 1808 | --
-- tests/actions/vstudio/vc2010/vstudio_vs2010_rule_targets.lua
-- Validate generation of custom rules
-- Author Tom van Dijck
-- Copyright (c) 2016 Jason Perkins and the Premake project
--
local p = premake
local suite = test.declare("vstudio_vs2010_rule_targets")
local vc2010 = p.vstudio.vc2010
local m = p.vs... | bsd-3-clause |
Armyluix/darkstar | scripts/zones/Southern_San_dOria/npcs/Dahjal.lua | 34 | 1231 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Dahjal
-- first in conquest Npc
-- @zone 230
-- @pos
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria/T... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/weaponskills/vorpal_blade.lua | 25 | 1470 | -----------------------------------
-- Vorpal Blade
-- Sword weapon skill
-- Skill Level: 200
-- Delivers a four-hit attack. Chance of params.critical varies with TP.
-- Stacks with Sneak Attack.
-- Aligned with the Soil Gorget & Thunder Gorget.
-- Aligned with the Soil Belt & Thunder Belt.
-- Element: None
-- Modifier... | gpl-3.0 |
uspgamedev/backdoor | game/devmode/view/input/reference.lua | 1 | 3140 |
local IMGUI = require 'imgui'
local class = require 'lux.class'
local setfenv = setfenv
local table = table
local ipairs = ipairs
local pairs = pairs
local require = require
local type = type
local tostring = tostring
local OutputEditor = class:new()
-- luacheck: no self
function OutputEditor:instance(obj, _element... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Bastok_Mines/npcs/Abd-al-Raziq.lua | 42 | 2636 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Abd-al-Raziq
-- Type: Alchemy Guild Master
-- @pos 126.768 1.017 -0.234 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("... | gpl-3.0 |
ElectroDuk/QuackWars | garrysmod/gamemodes/Basewars(Broken}/entities(maybe_outdated)/entities/money_printer_bronze/init.lua | 2 | 4325 | -- ============================================
-- = =
-- = Crate SENT by Mahalis =
-- = =
-- ============================================
// copy pasta from DURG lab
AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.l... | mit |
Armyluix/darkstar | scripts/globals/items/spirit_sword.lua | 16 | 1559 | -----------------------------------------
-- ID: 16613
-- Spirit Sword
-- Additional effect: Light damage
-- Enchantment: TP+100
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/effects/tabula_rasa.lua | 19 | 3621 | -----------------------------------
--
--
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
local regen = effect:getSubPower();
local helix = effect:getPower();
if (target:hasStatusEff... | gpl-3.0 |
jebenexer/kong | spec/fixtures/custom_plugins/kong/plugins/cache/handler.lua | 5 | 1046 | local BasePlugin = require "kong.plugins.base_plugin"
local singletons = require "kong.singletons"
local responses = require "kong.tools.responses"
local CacheHandler = BasePlugin:extend()
CacheHandler.PRIORITY = 1000
function CacheHandler:new()
CacheHandler.super.new(self, "cache")
end
function CacheHandler... | apache-2.0 |
isalnikov/Algorithm-Implementations | Hamming_Weight/Lua/Yonaba/hamming_weight.lua | 27 | 1422 | -- Hamming weight implementation
-- See: http://en.wikipedia.org/wiki/Hamming_weight
-- Assertion test for the bitwise implementation being used
local function checkBitImplementation(bit)
local msg = 'Failed testing bitwise implementation'
assert(bit.bnot ~= nil, msg)
assert(bit.lshift ~= n... | mit |
Armyluix/darkstar | scripts/globals/mobskills/Trinary_Tap.lua | 13 | 2016 | ---------------------------------------------------
-- Trinary Tap
-- Attempts to absorb three buffs from a single target, or otherwise steals HP.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores Shadows
-- Range: Melee
-- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any ... | gpl-3.0 |
mohammad4569/botwe | plugins/rss.lua | 700 | 5434 | local function get_base_redis(id, option, extra)
local ex = ''
if option ~= nil then
ex = ex .. ':' .. option
if extra ~= nil then
ex = ex .. ':' .. extra
end
end
return 'rss:' .. id .. ex
end
local function prot_url(url)
local url, h = string.gsub(url, "http://", "")
local... | gpl-2.0 |
Armyluix/darkstar | scripts/zones/Apollyon/bcnms/NE_Apollyon.lua | 19 | 1059 | -----------------------------------
-- Area: Appolyon
-- Name: NE_Apollyon
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[NE_Apollyon]Unique... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Southern_San_dOria/npcs/Camereine.lua | 28 | 2490 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Camereine
-- Type: Chocobo Renter
-- @pos -8 1 -100
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/chocobo");
require("... | gpl-3.0 |
cjtallman/LDoc | ldoc/builtin/table.lua | 3 | 2195 | --- manipulating Lua tables.
-- @module table
local table = {}
---
-- Given an array where all elements are strings or numbers, returns
-- `table[i]..sep..table[i+1] ... sep..table[j]`. The default value for
-- `sep` is the empty string, the default for `i` is 1, and the default for
-- `j` is the length of t... | mit |
Armyluix/darkstar | scripts/zones/Northern_San_dOria/npcs/Greubaque.lua | 53 | 1967 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Greubaque
-- Type: Smithing Adv. Synthesis Image Support
-- @pos -179.400 10.999 150.000 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
imrandomizer/Algorithm-Implementations | Dijkstra_Search/Lua/Yonaba/dijkstra.lua | 26 | 3785 | -- Generic Dijkstra graph search algorithm implementation
-- See : http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm
-- Notes : this is a generic implementation of Dijkstra graph search algorithm.
-- It is devised to be used on any type of graph (point-graph, tile-graph,
-- or whatever. It expects to be initialized ... | mit |
dios-game/dios-cocos | src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/EaseElasticOut.lua | 9 | 1215 |
--------------------------------
-- @module EaseElasticOut
-- @extend EaseElastic
-- @parent_module cc
--------------------------------
-- @overload self, cc.ActionInterval
-- @overload self, cc.ActionInterval, float
-- @function [parent=#EaseElasticOut] create
-- @param self
-- @param #cc.ActionInt... | mit |
Erfan138/TeleKing | plugins/Welcome.lua | 114 | 3529 | local add_user_cfg = load_from_file('data/add_user_cfg.lua')
local function template_add_user(base, to_username, from_username, chat_name, chat_id)
base = base or ''
to_username = '@' .. (to_username or '')
from_username = '@' .. (from_username or '')
chat_name = string.gsub(chat_name, '_', ' ') or ''
c... | gpl-2.0 |
rdlaitila/LURE | src/__legacy__/bom/ResourceLoaderThread.lua | 1 | 1056 | require('love.thread')
require('love.filesystem')
local args = {...}
-- Obtain our base require path
local BASE_PATH = args[1]
-- Obtain our thread id
local THREAD_ID = args[2]
-- Require dependencies
local lure = require(BASE_PATH..'init')
-- Get our channel
local channel = love.thread.getChannel(THREAD_ID)
-- W... | mit |
Armyluix/darkstar | scripts/zones/Labyrinth_of_Onzozo/mobs/Goblin_Mercenary.lua | 23 | 1060 | -----------------------------------
-- Area: Labyrinth of Onzozo
-- MOB: Goblin Mercenary
-- Note: Place holder Soulstealer Skullnix
-----------------------------------
require("scripts/zones/Labyrinth_of_Onzozo/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------... | gpl-3.0 |
ElectroDuk/QuackWars | garrysmod/gamemodes/Basewars(Broken}/entities/entities/money_printer_bronze/init.lua | 1 | 1236 | AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include('shared.lua')
function ENT:SetupDataTables()
self:NetworkVar( "Float", 0, "Amount" );
self:NetworkVar( "String", 1, "Buyer");
self:NetworkVar( "Bool", 2, "Powered" );
end
function ENT:Initialize()
-- Boiler plate
self.Entity:SetModel( self.Model )
s... | mit |
Armyluix/darkstar | scripts/globals/weaponskills/glory_slash.lua | 18 | 1563 | -----------------------------------
-- Glory Slash
-- Sword weapon skill
-- Skill Level: NA
-- Only avaliable during Campaign Battle while weilding Lex Talionis.
-- Delivers and area attack that deals triple damage. Damage varies with TP. Additional effect Stun.
-- Will stack with Sneak Attack.
-- Aligned with t... | gpl-3.0 |
ElectroDuk/QuackWars | garrysmod/gamemodes/Basewars(Broken}/entities(maybe_outdated)/entities/radartower/cl_init.lua | 2 | 1266 | include('shared.lua')
function ENT.Initialize()
killicon.AddFont("meth_lab","CSKillIcons","C",Color(100,50,50,255))
end
function ENT:Draw( )
self.Entity:DrawModel()
local Pos = self:GetPos()
local Ang = Angle( 0, 0, 0) -- self:GetAngles()
local scans = self.Entity:GetNWInt("scans")
local upgrade = self.En... | mit |
abriasffxi/darkstar | scripts/globals/spells/hailstorm.lua | 32 | 1182 | --------------------------------------
-- Spell: Hailstorm
-- Changes the weather around target party member to "snowy."
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/abilities/pets/attachments/drum_magazine.lua | 28 | 1126 | -----------------------------------
-- Attachment: Drum Magazine
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onUseAbility
-----------------------------------
function onEquip(pet)
pet:addMod(MOD_SNAP_SHOT, 2)
pet:addMod(MOD_ACC, -2)
end
funct... | gpl-3.0 |
scripni/rethinkdb | external/v8_3.30.33.16/tools/gcmole/gccause.lua | 157 | 2313 | -- Copyright 2011 the V8 project authors. All rights reserved.
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are
-- met:
--
-- * Redistributions of source code must retain the above copyright
-- notice, this list of ... | agpl-3.0 |
minin43/nzombies | gamemodes/nzombies/gamemode/itemcarrying/sh_sync.lua | 2 | 3993 | -- Client Server Syncing
if SERVER then
-- Server to client (Server)
util.AddNetworkString( "nzItemCarryUpdate" )
util.AddNetworkString( "nzItemCarryPlayers" )
util.AddNetworkString( "nzItemCarryPlayersFull" )
util.AddNetworkString( "nzItemCarryPlayersNotif" )
util.AddNetworkString( "nzItemCarryClean" )
func... | gpl-3.0 |
ElectroDuk/QuackWars | garrysmod/gamemodes/Basewars(Broken}/entities(maybe_outdated)/effects/balloon_pop/init.lua | 2 | 1975 |
/*---------------------------------------------------------
Initializes the effect. The data is a table of data
which was passed from the server.
---------------------------------------------------------*/
function EFFECT:Init( data )
local vOffset = data:GetOrigin()
local Color = data:GetStart()
WorldSo... | mit |
uspgamedev/backdoor | game/view/sector/mesh/wall.lua | 1 | 2101 |
local COLORS = require 'domain.definitions.colors'
local vec3 = require 'cpml' .vec3
local _WALL_H = 80
local _QUADFACES = {1, 2, 3, 2, 4, 3}
local WallMesh = require 'lux.prototype' :new {}
WallMesh.__init = {
pos = vec3(),
count = 0,
vertices = {},
faces = {},
border_color = {.5, .5, .5, 1}
... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Tateeya.lua | 34 | 2468 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Tateeya
-- Automaton Attachment Unlocks
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Kazham/npcs/Rauteinot.lua | 26 | 3159 | -----------------------------------
-- Area: Kazham
-- NPC: Rauteinot
-- Starts and Finishes Quest: Missionary Man
-- @zone 250
-- @pos -42 -10 -89
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require(... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Upper_Jeuno/npcs/Hinda.lua | 34 | 1370 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Hinda
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Upper_Jeuno/TextIDs");
require("scripts/globals/quests");
---... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Windurst_Woods/npcs/Soni-Muni.lua | 13 | 2724 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Soni-Muni
-- Starts & Finishes Quest: The Amazin' Scorpio
-- @pos -17.073 1.749 -59.327 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/items/nopales_salad.lua | 18 | 1174 | -----------------------------------------
-- ID: 5701
-- Item: nopales_salad
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Strength 1
-- Agility 6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
smikail/xvigeo | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
gigte/glua-menu | remake/gui/panels/menu_canvas.lua | 1 | 2661 |
local PANEL = {}
function PANEL:Init()
--self.spaces = 0
end
function PANEL:CreateButton(name, command, parent) -- internal
local button = vgui.Create("MenuButton", parent)
button:SetText(name)
button:SetCommand(command)
--button:SizeToContentsX(2)
button:SizeToContentsY(2)
button:SetEnlarged(... | isc |
abriasffxi/darkstar | scripts/zones/Palborough_Mines/npcs/_3z7.lua | 34 | 1087 | -----------------------------------
-- Elevator in Palborough
-- Notes: Used to operate Elevator @3z0
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Palborough_Mines/TextIDs");
require("scripts/globals/status... | gpl-3.0 |
deniz1a/OpenRA | mods/d2k/maps/atreides-01b/atreides01b.lua | 18 | 4800 |
HarkonnenReinforcements = { }
HarkonnenReinforcements["Easy"] =
{
{ "rifle", "rifle" }
}
HarkonnenReinforcements["Normal"] =
{
{ "rifle", "rifle" },
{ "rifle", "rifle", "rifle" },
{ "rifle", "trike" },
}
HarkonnenReinforcements["Hard"] =
{
{ "rifle", "rifle" },
{ "trike", "trike" },
{ "rifle", "rifle", "rifle... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/items/loach_soup.lua | 18 | 1667 | -----------------------------------------
-- ID: 5671
-- Item: loach_soup
-- Food Effect: 4Hour,Group Food, All Races
-----------------------------------------
-- Dexterity 4
-- Agility 4
-- Accuracy % 7
-- Accuracy Cap 50
-- HP % 7
-- HP Cap 50
-- Evasion 5
-- (Did Not Add Group Food Effect)
--------------------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Bibiki_Bay/mobs/Shen.lua | 17 | 1234 | -----------------------------------
-- Area: Bibiki Bay
-- MOB: Shen
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-- onMobFight Action
-------------------------------... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Behemoths_Dominion/npcs/Cermet_Headstone.lua | 17 | 2940 | -----------------------------------
-- Area: Behemoth's Dominion
-- NPC: Cermet Headstone
-- Involved in Mission: ZM5 Headstone Pilgrimage (Lightning Headstone)
-- @pos -74 -4 -87 127
-----------------------------------
package.loaded["scripts/zones/Behemoths_Dominion/TextIDs"] = nil;
--------------------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Abyssea-Konschtat/npcs/qm3.lua | 10 | 1344 | -----------------------------------
-- Zone: Abyssea-Konschtat
-- NPC: qm3 (???)
-- Spawns Hexenpilz
-- @pos ? ? ? 15
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/spells/bluemagic/foot_kick.lua | 35 | 1687 | -----------------------------------------
-- Spell: Foot Kick
-- Deals critical damage. Chance of critical hit varies with TP
-- Spell cost: 5 MP
-- Monster Type: Beasts
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 2
-- Stat Bonus: AGI+1
-- Level: 1
-- Casting Time: 0.5 seconds
-- Recast Time: 6.5 seconds
-... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Batallia_Downs/npcs/qm1.lua | 14 | 1495 | -----------------------------------
-- Area: Batallia Downs
-- NPC: qm1 (???)
-- @pos -407.526 -23.507 412.544 105
-- Notes: Spawns Vegnix Greenthumb for ACP mission "Gatherer of Light (I)"
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
-------------------------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Bastok_Mines/npcs/HomePoint#3.lua | 27 | 1256 | -----------------------------------
-- Area: Bastok Mines
-- NPC: HomePoint#3
-- @pos 87 7 1 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Bastok_Mines/TextIDs");
require("scripts/globals/homepoint");
-... | gpl-3.0 |
wyozi/wmc-plus | lua/wmcp/cl_media.lua | 1 | 2840 | function wmcp.Play(url, overridingMeta)
if IsValid(wmcp.Clip) then
wmcp.Clip:stop()
end
local service = wmcp.medialib.load("media").guessService(url)
local clip = service:load(url)
clip:play()
clip:setVolume(wmcp.GetVolume())
wmcp.Clip = clip
wmcp.ClipMeta = nil
wmcp.ClipOverridingMeta = overridingMeta
s... | mit |
Armyluix/darkstar | scripts/zones/Port_Windurst/Zone.lua | 17 | 2414 | -----------------------------------
--
-- Zone: Port_Windurst (240)
--
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/globals/zone");
require("scripts/globals/settings");
require("scripts/zones/Port_Windurst/TextIDs");
---------------------... | gpl-3.0 |
gigte/glua-menu | remake/gui/panels/servers/servergamemode_item.lua | 1 | 3035 |
surface.CreateFont("Menu_ServerGamemode", {
font = "Arial",
size = 24,
weight = 700,
extended = true
})
surface.CreateFont("Menu_ServerGamemodeInfo", {
font = "Arial",
size = 14,
extended = true
})
local col_default = Color(235, 235, 235)
local col_hovered = Color(250, 240, 150)
local col_... | isc |
abriasffxi/darkstar | scripts/zones/Windurst_Woods/npcs/Bin_Stejihna.lua | 17 | 1853 | -----------------------------------
-- Area: Windurst_Woods
-- NPC: Bin Stejihna
-- Only sells when Windurst controlls Zulkheim Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Windurst_Wo... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/FeiYin/TextIDs.lua | 9 | 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 |
Armyluix/darkstar | scripts/zones/Windurst_Woods/npcs/Tesch_Garanjy.lua | 36 | 4446 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Tesch_Garanjy
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/armorstorage"... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Gusgen_Mines/npcs/qm4.lua | 17 | 1436 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: qm4 (???)
-- Involved In Quest: Ghosts of the Past
-- @pos -174 0 369 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Upper_Jeuno/npcs/Turlough.lua | 41 | 1446 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Turlough
-- Mission NPC
-- @pos
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
require("scripts/globals/quests");
require("scripts/globals/missions");
require(... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Selbina/npcs/Falgima.lua | 29 | 1187 | -----------------------------------
-- Area: Selbina
-- NPC: Falgima
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/shop");
----------------------... | gpl-3.0 |
isalnikov/Algorithm-Implementations | Levenshtein_distance/Lua/Yonaba/levenshtein_test.lua | 27 | 1499 | -- Tests for levenshtein.lua
local lev_iter = (require 'levenshtein').lev_iter
local lev_recursive = (require 'levenshtein').lev_recursive
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total... | mit |
Armyluix/darkstar | scripts/zones/Al_Zahbi/npcs/Talhaal.lua | 38 | 1028 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Talhaal
-- Type: Zazarg's Attendant
-- @zone: 48
-- @pos -35.897 -7 107.160
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
---------------------... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Justinius.lua | 19 | 1888 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Justinius
-- Involved in mission : COP2-3
-- @pos 76 -34 68 26
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("sc... | gpl-3.0 |
isalnikov/Algorithm-Implementations | Josephus_Problem/Lua/Yonaba/josephus.lua | 26 | 1689 | -- Josephus problem implementation
-- See: http://en.wikipedia.org/wiki/Josephus_problem
-- Returns the survivor
-- n : the initial number of people
-- k : the count for each step
-- returns : the survivor's number
local function josephus_recursive(n, k)
if n == 1 then return 1
else
return ((joseph... | mit |
isalnikov/Algorithm-Implementations | Monty_Hall_Problem/Lua/Yonaba/monty_hall_test.lua | 26 | 1603 | -- Tests for monty_hall.lua
local monty_hall = require 'monty_hall'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 en... | mit |
Armyluix/darkstar | scripts/zones/Northern_San_dOria/npcs/Tavourine.lua | 36 | 1864 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Tavourine
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/sh... | gpl-3.0 |
dios-game/dios-cocos | src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/TransitionFadeTR.lua | 11 | 1653 |
--------------------------------
-- @module TransitionFadeTR
-- @extend TransitionScene,TransitionEaseScene
-- @parent_module cc
--------------------------------
--
-- @function [parent=#TransitionFadeTR] easeActionWithAction
-- @param self
-- @param #cc.ActionInterval action
-- @return ActionInterval#ActionInterva... | mit |
abriasffxi/darkstar | scripts/zones/FeiYin/npcs/Grounds_Tome.lua | 30 | 1074 | -----------------------------------
-- Area: Fei'Yin
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
e... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/items/plate_of_coeurl_sautee.lua | 18 | 1759 | -----------------------------------------
-- ID: 4548
-- Item: plate_of_coeurl_sautee
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Attack % 20
-- Attack Cap 75
-- Ranged ATT % 20
-- Ranged ATT Cap 75
-- Stun Resist 5
-----------------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/mobskills/Randgrith.lua | 33 | 1026 | ---------------------------------------------
-- Randgrith
--
-- Description: Lowers target's evasion. Gullintani/Mjollnir: Temporarily improves accuracy.
-- Type: Physical
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/spells/armys_paeon_iii.lua | 27 | 1361 | -----------------------------------------
-- Spell: Army's Paeon III
-- Gradually restores target's HP.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,t... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Port_Windurst/npcs/Ten_of_Clubs.lua | 38 | 1039 | -----------------------------------
-- Area: Port Windurst
-- NPC: Ten of Clubs
-- Type: Standard NPC
-- @zone: 240
-- @pos -229.393 -9.2 182.696
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
----------... | gpl-3.0 |
dios-game/dios-cocos | src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/EaseElastic.lua | 9 | 1519 |
--------------------------------
-- @module EaseElastic
-- @extend ActionEase
-- @parent_module cc
--------------------------------
-- brief Set period of the wave in radians.<br>
-- param fPeriod The value will be set.
-- @function [parent=#EaseElastic] setPeriod
-- @param self
-- @param #float fPeriod
-- @return E... | mit |
ElectroDuk/QuackWars | garrysmod/gamemodes/Basewars/entities(maybe_outdated)/weapons/weapon_dead_ringer/shared.lua | 2 | 13131 | ////////////////////
//Dead Ringer Swep//
///////Update///////
//by NECROSSIN///
///////////////////
--Updated: 24 January 2010
----------------------------
--////////////////////////--
local REDUCEDAMAGE = 0.9
--////////////////////////--
----------------------------
--this SWEP uses models, textures and sounds fro... | mit |
abriasffxi/darkstar | scripts/globals/items/vongola_clam.lua | 18 | 1673 | -----------------------------------------
-- ID: 5131
-- Item: Vongola Clam
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -5
-- Vitality 4
-- Defense +17% - 50 Cap
-- HP 5% - 50 Cap
-----------------------------------------
require("scripts/globals/status");
----------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.