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 |
|---|---|---|---|---|---|
nesstea/darkstar | scripts/zones/Southern_San_dOria/npcs/Amaura.lua | 13 | 3049 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Amaura
-- Involved in Quest: The Medicine Woman, To Cure a Cough
-- @zone 230
-- @pos -85 -6 89
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Selbina/npcs/Vobo.lua | 17 | 1505 | -----------------------------------
-- Area: Selbina
-- NPC: Vobo
-- Involved in Quest: Riding on the Clouds
-- @pos 37 -14 81 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
requir... | gpl-3.0 |
nesstea/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/_0zt.lua | 13 | 1351 | -----------------------------------
-- Area: The_Garden_of_RuHmet
-- NPC: Luminus convergence
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/The_Garden_of_RuHmet/... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Cape_Teriggan/TextIDs.lua | 2 | 1454 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6381; -- You cannot obtain the #. Try trading again after sorting your inventory.
ITEM_OBTAINED = 6382; ... | gpl-3.0 |
malortie/gmod-addons | th_weapons/lua/autorun/server/hl1/grenade_util.lua | 1 | 6709 | -- Only enable this addon if HL:S is mounted.
if !IsHL1Mounted() then return end
local grenade_contact_damage = GetConVar( 'sk_hl1_plr_dmg_grenade' ) or CreateConVar( 'sk_hl1_plr_dmg_grenade', '100' )
-- Blast radius scale factor
local grenade_radius_factor = GetConVar( 'sk_hl1_grenade_radius_factor' ) or CreateConVa... | gpl-3.0 |
DaemonSnake/vlc | share/lua/playlist/lelombrik.lua | 108 | 1985 | --[[
French humor site: http://lelombrik.net
$Id$
Copyright © 2007 the VideoLAN team
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any ... | gpl-2.0 |
milkmanjack/lama | data/command/test.lua | 1 | 1276 | --[[
lama is a MUD server made in Lua.
Copyright (C) 2013 Curtis Erickson
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 3 of the License, or
(at your option) ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Lower_Jeuno/npcs/Navisse.lua | 13 | 4725 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Navisse
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
require("scripts/globals/pathfind");
local path = {
-- -59.562683, 6.000051, -90.89... | gpl-3.0 |
nesstea/darkstar | scripts/globals/abilities/pets/thunderspark.lua | 28 | 1520 | ---------------------------------------------------
-- Thunderspark M=whatever
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/summon");
require("scripts/globals/magic");
require("scripts/globals/monstertpmoves");
---... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Bastok_Markets/npcs/Ardea.lua | 13 | 2029 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Ardea
-- @zone 235
-- @pos -198 -6 -69
-- Involved in quests: Chasing Quotas, Rock Racketeer
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/zones/Bastok_Markets/... | gpl-3.0 |
akdor1154/awesome | lib/awful/widget/layoutbox.lua | 1 | 2224 | ---------------------------------------------------------------------------
--- Layoutbox widget.
--
-- @author Julien Danjou <julien@danjou.info>
-- @copyright 2009 Julien Danjou
-- @release @AWESOME_VERSION@
-- @classmod awful.widget.layoutbox
--------------------------------------------------------------------... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Misareaux_Coast/npcs/Spatial_Displacement.lua | 19 | 1721 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: Spacial Displacement
-- Entrance to Riverne Site #A01 and #B01
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("sc... | gpl-3.0 |
nesstea/darkstar | scripts/globals/weaponskills/full_swing.lua | 11 | 1251 | -----------------------------------
-- Full Swing
-- Staff weapon skill
-- Skill Level: 200
-- Delivers a single-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget & Thunder Gorget.
-- Aligned with the Flame Belt & Thunder Belt.
-- Element: None
-- Modifiers: STR:50%
--... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Prince_Seere.lua | 19 | 1250 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Prince Seere
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Wahnid.lua | 19 | 1179 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Wahnid
-- Type: Guild Merchant: Fishing Guild
-- @pos -31.720 -6.000 -94.919 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Lower_Delkfutts_Tower/mobs/Disaster_Idol.lua | 8 | 1179 | -----------------------------------
-- Area: Lower_Delkfutts_tower
-- Mob: Disaster_Idol
-----------------------------------
require("scripts/globals/missions");
-----------------------------------
-- onMobEngaged Action
-----------------------------------
function onMobEngaged(mob,target)
local DayofWeek = Van... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Dynamis-Beaucedine/mobs/Goblin_Statue.lua | 7 | 1815 | -----------------------------------
-- Area: Dynamis Beaucedine
-- MOB: Goblin Statue
-- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg
-----------------------------------
package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil;
----------------... | gpl-3.0 |
drazisil/npcblocker | localization.core.lua | 1 | 1187 | -- Copyright (C) 2014 Joseph W Becher
-- 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 3 of the License, or
-- (at your option) any later version.
-- This program is distribut... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/bluemagic/geist_wall.lua | 26 | 1298 | -----------------------------------------
-- Spell: Geist Wall
-- Removes one beneficial magic effect from enemies within range
-- Spell cost: 35 MP
-- Monster Type: Lizards
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 3
-- Stat Bonus: HP-5, MP+10
-- Level: 46
-- Casting Time: 3 seconds
-- Recast Time: 30 second... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Mount_Zhayolm/Zone.lua | 29 | 1631 | -----------------------------------
--
-- Zone: Mount_Zhayolm (61)
--
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Mount_Zhayolm/TextIDs");
-------------------... | gpl-3.0 |
dpino/snabbswitch | lib/ljsyscall/syscall/linux/cgroup.lua | 24 | 1246 | -- Linux cgroup API
-- this is all file system operations packaged up to be easier to use
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string =
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,... | apache-2.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Upital-Lupital.lua | 13 | 1071 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Upital-Lupital
-- Type: Standard NPC
-- @zone: 94
-- @pos -57.809 -13.339 122.753
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/East_Ronfaure/npcs/Stone_Monument.lua | 13 | 1269 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 77.277 -2.894 -517.376 101
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fh.lua | 34 | 1106 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Shiva's Gate
-- @pos 110 -34 100 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs")... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/bluemagic/infrasonics.lua | 4 | 1467 | -----------------------------------------
-- Spell: Infrasonics
-- Lowers the evasion of enemies within a fan-shaped area originating from the caster
-- Spell cost: 42 MP
-- Monster Type: Lizards
-- Spell Type: Magical (Ice)
-- Blue Magic Points: 4
-- Stat Bonus: INT+1
-- Level: 65
-- Casting Time: 5 seconds
... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/homemade_steak.lua | 18 | 1100 | -----------------------------------------
-- ID: 5226
-- Item: homemade_steak
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/serving_of_bavarois.lua | 35 | 1213 | -----------------------------------------
-- ID: 5729
-- Item: serving_of_bavarois
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP 20
-- Intelligence 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- ... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/San_dOria-Jeuno_Airship/npcs/qm1.lua | 18 | 1501 | -----------------------------------
-- Area: San d'Oria-Jeuno Airship
-- NPC: ???
-- Involved In Quest: The Stars Of Ifrit
-- @zone 223
-- @pos 77 -9 -5 -13
-----------------------------------
package.loaded["scripts/zones/San_dOria-Jeuno_Airship/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Gusgen_Mines/TextIDs.lua | 5 | 1706 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6382; -- Obtained: <item>.
GIL_OBTAINED = 6383; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6385; -- Obtained... | gpl-3.0 |
brisberg/TameTallbirds | mod/scripts/lang/zh-TM.lua | 1 | 1150 | return {
-- Display name of the tame birds
TAMETALLBIRD_NAME = "高腳鳥",
TAMETALLBIRD_DESCRIBE = {
-- Birds are friendly when well fed
FULL = "鳥肚子飽, 忠誠友好",
-- Generic inspect string for the bird
GENERIC = "腳很高, 忠誠度也高",
-- Bird is hungry and needs food
HUNGRY = "該... | mit |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Spirit_Tap.lua | 7 | 1405 | ---------------------------------------------------
-- Spirit Tap
-- Attempts to absorb one buff 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 buff... | gpl-3.0 |
vonflynee/opencomputersserver | world/opencomputers/a3abb948-eba5-4c6b-9388-1bb1f150ed2b/lib/shell.lua | 15 | 5213 | local fs = require("filesystem")
local text = require("text")
local unicode = require("unicode")
local shell = {}
local aliases = {}
-- Cache loaded shells for command execution. This puts the requirement on
-- shells that they do not keep a global state, since they may be called
-- multiple times, but reduces memory... | mit |
nesstea/darkstar | scripts/zones/Metalworks/npcs/Fariel.lua | 13 | 2130 | -----------------------------------
-- Area: Metalworks
-- NPC: Fariel
-- Type: Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Metalworks/TextIDs");
require("scripts/globals/pathfind");
local p... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Davoi/npcs/!.lua | 19 | 2440 | -----------------------------------
-- Area: Davoi
-- NPC: !
-- Involved in Mission: The Davoi Report
-- @pos 164 0.1 -21 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/keyit... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/dish_of_hydra_kofte.lua | 18 | 1873 | -----------------------------------------
-- ID: 5602
-- Item: dish_of_hydra_kofte
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 7
-- Intelligence -3
-- Attack % 20
-- Attack Cap 150
-- Defense % 25
-- Defense Cap 70
-- Ranged ATT % 20
-- Ranged ATT Cap 150
-- Poison Resist 5
-... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/Hurr_the_Betrayer.lua | 13 | 3621 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Hurr the Betrayer
-- Type: Involved in the "Sahagin Key Quest"
-- @zone: 176
-- @pos 305.882 26.768 234.279
--
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters/npcs/Jourille.lua | 16 | 1510 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Jourille
-- Only sells when Windurst controlls Ronfaure Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Windurst_Wate... | gpl-3.0 |
nesstea/darkstar | scripts/globals/bcnm.lua | 11 | 42652 | require("scripts/globals/status");
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("scripts/globals/quests");
-- NEW SYSTEM BCNM NOTES
-- The "core" functions TradeBCNM EventUpdateBCNM EventTriggerBCNM EventFinishBCNM all return TRUE if the action performed is covered by the function.... | gpl-3.0 |
mramir8274/deltabot | plugins/inrealm.lua | 287 | 25005 | -- 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_g... | gpl-2.0 |
milkmanjack/lama | src/global/DatabaseManager.lua | 1 | 7693 | --[[
lama is a MUD server made in Lua.
Copyright (C) 2013 Curtis Erickson
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 3 of the License, or
(at your option) ... | gpl-3.0 |
plajjan/snabbswitch | lib/ljsyscall/syscall/util.lua | 15 | 9655 | -- generic utils not specific to any OS
-- these are generally equivalent to things that are in man(1) or man(3)
-- these can be made more modular as number increases
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string =
require, error, as... | apache-2.0 |
trilastiko/keys | VSCOKeys.lrdevplugin/DevelopSettings.lua | 11 | 8424 | --[[----------------------------------------------------------------------------
VSCO Keys for Adobe Lightroom
Copyright (C) 2015 Visual Supply Company
Licensed under GNU GPLv2 (or any later version).
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public Lic... | gpl-2.0 |
nesstea/darkstar | scripts/globals/abilities/pets/inferno.lua | 34 | 1111 | ---------------------------------------------------
-- Inferno
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
require("/scripts/globals/magic");
--------------------------------------------------... | gpl-3.0 |
heyuqi/wxFormBuilder | build/premake/utilities.lua | 4 | 2219 | -----------------------------------------------------------------------------
-- Name: utilities.lua
-- Purpose: Directories creation for local builds, Linux install script.
-- Based on original Premake 3 script
-- Author: Andrea Zanellato
-- Modified by:
-- Created:
-- Copyrig... | gpl-2.0 |
FailcoderAddons/supervillain-ui | SVUI_UnitFrames/libs/Plugins/oUF_CombatFader/oUF_CombatFader.lua | 3 | 4341 | --GLOBAL NAMESPACE
local _G = _G;
--LUA
local unpack = _G.unpack;
local select = _G.select;
local assert = _G.assert;
local error = _G.error;
local print = _G.print;
local pairs = _G.pairs;
local next = _G.next;
local tostring = _G.tostring;
local type = _G.... | mit |
Shopify/goluago | tst/encoding/json/json_test.lua | 1 | 2367 | local json = require "goluago/encoding/json"
equals("unmarshal: can decode empty object", {}, json.unmarshal("{}"))
equals("unmarshal: can decode empty array", array({}), json.unmarshal("[]"))
equals("unmarshal: can decode null", nil, json.unmarshal("null"))
equals("unmarshal: can decode array with null", array({ nil ... | mit |
nesstea/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Mushayra.lua | 13 | 1049 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Mushayra
-- Type: Standard NPC
-- @pos -111.551 -6.999 -61.720 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_... | gpl-3.0 |
Cyumus/NutScript | gamemode/core/derma/cl_contextmenu.lua | 5 | 6394 |
local PANEL = {}
AccessorFunc( PANEL, "m_bHangOpen", "HangOpen" )
function PANEL:Init()
--
-- This makes it so that when you're hovering over this panel
-- you can `click` on the world. Your viewmodel will aim etc.
--
self:SetWorldClicker( true )
self.Canvas = vgui.Create( "DCategoryList", self )
self.m_bH... | mit |
nesstea/darkstar | scripts/globals/spells/blind_ii.lua | 21 | 1748 | -----------------------------------------
-- Spell: Blind II
-- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point
-- Blind II value per point is '1' This is a constant set in the table 'merits'
-----------------------------------------
require("scripts/globals... | gpl-3.0 |
Mashape/kong | spec/03-plugins/21-bot-detection/02-invalidations_spec.lua | 2 | 3413 | local helpers = require "spec.helpers"
for _, strategy in helpers.each_strategy() do
describe("Plugin: bot-detection (hooks) [#" .. strategy .. "]", function()
local plugin
local proxy_client
local admin_client
lazy_setup(function()
local bp = helpers.get_db_utils(strategy, {
"routes",... | apache-2.0 |
nesstea/darkstar | scripts/zones/Selbina/npcs/Falgima.lua | 13 | 1220 | -----------------------------------
-- 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 |
FailcoderAddons/supervillain-ui | SVUI_Skins/components/blizzard/transmog.lua | 2 | 3186 | --[[
##############################################################################
S V U I By: Failcoder
##############################################################################
--]]
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.select;
local ipairs = _G.ipairs;
local pairs... | mit |
mynameiscraziu/thisismilad | 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 |
nesstea/darkstar | scripts/globals/spells/bluemagic/ram_charge.lua | 35 | 1707 | -----------------------------------------
-- Spell: Ram Charge
-- Damage varies with TP
-- Spell cost: 79 MP
-- Monster Type: Beasts
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 4
-- Stat Bonus: HP+5
-- Level: 73
-- Casting Time: 0.5 seconds
-- Recast Time: 34.75 seconds
-- Skillchain Element(s): Fragmentation... | gpl-3.0 |
malortie/gmod-addons | th_weapons/lua/entities/ent_weapon_th_mp5/init.lua | 1 | 1174 | -- Only enable this addon if HL:S is mounted.
if !IsHL1Mounted() then return end
-------------------------------------
-- Weapon MP5 spawning.
-------------------------------------
AddCSLuaFile('cl_init.lua')
AddCSLuaFile('shared.lua')
include('shared.lua')
-- Define a global variable to ease calling base class meth... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/sage_etude.lua | 27 | 1613 | -----------------------------------------
-- Spell: Sage Etude
-- Static INT Boost, BRD 66
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagic... | gpl-3.0 |
LuaDist2/rake | rake.lua | 2 | 3474 | -- A Lua implementation of the Rapid Automatic Keyword Extraction
-- Released under the MIT License
local _M = {}
local function load_words(stop_words_path)
local file = io.open(stop_words_path)
if not file then error('could not open file '..stop_words_path) end
local words = {}
for line in file:lines... | mit |
UnfortunateFruit/darkstar | scripts/commands/capskill.lua | 27 | 3148 | ---------------------------------------------------------------------------------------------------
-- func: capskill
-- desc: Caps a specific skill.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = "s"
};
... | gpl-3.0 |
UnfortunateFruit/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 |
Cyumus/NutScript | gamemode/core/libs/sh_anims.lua | 3 | 14354 | nut.anim = nut.anim or {}
nut.anim.citizen_male = {
normal = {
[ACT_MP_STAND_IDLE] = {ACT_IDLE, ACT_IDLE_ANGRY_SMG1},
[ACT_MP_CROUCH_IDLE] = {ACT_COVER_LOW, ACT_COVER_LOW},
[ACT_MP_WALK] = {ACT_WALK, ACT_WALK_AIM_RIFLE_STIMULATED},
[ACT_MP_CROUCHWALK] = {ACT_WALK_CROUCH, ACT_WALK_CROUCH_AIM_RIFLE},
[ACT_MP_R... | mit |
craigbarnes/lua-gumbo | test/Set.lua | 3 | 1735 | local Set = require "gumbo.Set"
local assert, error, pcall = assert, error, pcall
local tostring, rawequal = tostring, rawequal
local _ENV = nil
local base = Set{"div", "table", "h1"}
do
local union1 = assert(base + Set{"a", "p"})
local union2 = assert(base + Set{"p", "a"})
assert(union1 == union2)
ass... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Toraimarai_Canal/Zone.lua | 28 | 1801 | -----------------------------------
--
-- Zone: Toraimarai_Canal (169)
--
-----------------------------------
package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")
require("scripts/globals/zone");
require("scripts/zones/Toraima... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Mearuru.lua | 13 | 1059 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Mearuru
-- Type: Standard NPC
-- @zone: 94
-- @pos 153.798 -1 153.712
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_Skins/components/addons/DXE.lua | 2 | 3831 | --[[
##########################################################
S V U I By: Failcoder
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.select... | mit |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/shadow_of_death.lua | 29 | 1260 | -----------------------------------
-- Shadow Of Death
-- Scythe weapon skill
-- Skill Level: 70
-- Delivers a dark elemental attack. Damage varies with TP.
-- Aligned with the Snow Gorget & Aqua Gorget.
-- Aligned with the Snow Belt & Aqua Belt.
-- Element: Dark
-- Modifiers: STR:40% ; INT:40%
-- 100%TP 20... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Mine_Shaft_2716/Zone.lua | 30 | 1733 | -----------------------------------
--
-- Zone: Mine_Shaft_2716 (13)
--
-----------------------------------
package.loaded["scripts/zones/Mine_Shaft_2716/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Mine_Shaft_2716/TextIDs");
------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Woods/npcs/Gottah_Maporushanoh.lua | 13 | 1141 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Gottah Maporushanoh
-- Working 100%
-----------------------------------
require("scripts/globals/settings");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end; ... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Apollyon/bcnms/Central_Apollyon.lua | 13 | 1179 | -----------------------------------
-- Area: Appolyon
-- Name:
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[Central_Apollyon]UniqueID",G... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Silver_Sea_Remnants/Zone.lua | 36 | 1134 | -----------------------------------
--
-- Zone: Silver_Sea_Remnants
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Silver_Sea_Remnants/TextIDs"] = nil;
require("scripts/zones/Silver_Sea_Remnants/TextIDs");
-----------------------------------
-- ... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Aydeewa_Subterrane/npcs/qm2.lua | 37 | 1276 | -----------------------------------
-- Area: Aydeewa Subterrane
-- NPC: ??? (Spawn Pandemonium Warden)
-- @pos 200 33 -140 68
-----------------------------------
package.loaded["scripts/zones/Aydeewa_Subterrane/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aydeewa_Subterrane/TextIDs");
... | gpl-3.0 |
dstruthers/computercraft | ninja.lua | 1 | 1975 | function dig ()
while turtle.detect() do
turtle.dig()
end
end
function forward (count)
if count == nil then
count = 1
end
while count > 0 do
if turtle.detect() then
dig()
end
if not turtle.forward() then
turtle.attack()
forward()
end
count = count - 1
end
end
... | mit |
UnfortunateFruit/darkstar | scripts/zones/Yuhtunga_Jungle/mobs/Overgrown_Rose.lua | 29 | 1385 | -----------------------------------
-- Area: Yuhtunga Jungle
-- MOB: Overgrown Rose
-----------------------------------
function onMobRoam(mob)
local Rose_Garden = 17281357;
local Rose_Garden_PH = 0;
local Rose_Garden_PH_Table =
{
17281356
};
local Rose_Garden_ToD = GetMobByID(Rose_Garden):g... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Nashmau/npcs/Poporoon.lua | 13 | 1224 | -----------------------------------
-- Area: Nashmau
-- NPC: Poporoon
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
---------------------... | gpl-3.0 |
dpino/snabbswitch | src/program/lisper/dev-env-perftest/gen_pcap.lua | 14 | 2506 | #!snabb/src/snabb snsh
local pcap = require'lib.pcap.pcap'
local eth = require'lib.protocol.ethernet'
local ipv6 = require'lib.protocol.ipv6'
local ffi = require'ffi'
local lib = require'core.lib'
local f
local function file(filename)
if f then f:close() end
if not filename then return end
print('opening '..file... | apache-2.0 |
nesstea/darkstar | scripts/zones/Horlais_Peak/mobs/Maat.lua | 6 | 1120 | -----------------------------------
-- Area: Horlais Peak
-- MOB: Maat
-- Genkai 5 Fight
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Horlais_Peak/TextIDs");
-----------------------------------
-- onMobSpawn... | gpl-3.0 |
UnfortunateFruit/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 |
cmassiot/vlc-broadcast | share/lua/intf/dumpmeta.lua | 6 | 2201 | --[==========================================================================[
dumpmeta.lua: dump a file's meta data on stdout/stderr
--[==========================================================================[
Copyright (C) 2010 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
Th... | gpl-2.0 |
heyuqi/wxFormBuilder | build/premake/4.3/tests/test_gcc.lua | 6 | 1429 | --
-- tests/test_gcc.lua
-- Automated test suite for the GCC toolset interface.
-- Copyright (c) 2009 Jason Perkins and the Premake project
--
T.gcc = { }
local suite = T.gcc
local cfg
function suite.setup()
cfg = { }
cfg.basedir = "."
cfg.location = "."
cfg.language = "C++"
cfg.project = { na... | gpl-2.0 |
nesstea/darkstar | scripts/zones/AlTaieu/npcs/qm1.lua | 27 | 1451 | -----------------------------------
-- Area: Al'Taieu
-- NPC: ??? (Jailer of Hope Spawn)
-- Allows players to spawn the Jailer of Hope by trading the First Virtue, Deed of Placidity and HQ Phuabo Organ to a ???.
-- @pos -693 -1 -62 33
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] ... | gpl-3.0 |
NezzKryptic/Wire-Extras | beta/expressions/expr_tokenizer.lua | 3 | 2123 | EXPR_TOKENIZER = {}
function EXPR_TOKENIZER:new()
local obj = {}
setmetatable( obj, {__index = EXPR_TOKENIZER} )
--Recognised patterns
obj.pattern = {}
obj.pattern.digit = "(%-?)(%d+%.?%d*)(%%?)"
obj.pattern.input = "(.?#%u[%w_]+)"
obj.pattern.op = "([%^%+%-%*%/%\\])"
obj.pattern.func = "([%a_]+)"
--The i... | gpl-3.0 |
plajjan/snabbswitch | lib/ljsyscall/syscall/osx/ffi.lua | 18 | 7808 | -- ffi definitions of OSX types
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string =
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string
local abi = require "syscall.... | apache-2.0 |
vonflynee/opencomputersserver | world/opencomputers/6d437cc7-8fe8-4147-8a29-4c8b62fcedc7/bin/wget.lua | 7 | 2727 | local component = require("component")
local fs = require("filesystem")
local internet = require("internet")
local shell = require("shell")
local text = require("text")
if not component.isAvailable("internet") then
io.stderr:write("This program requires an internet card to run.")
return
end
local args, options = ... | mit |
nesstea/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Spear.lua | 6 | 1502 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Spear
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEngag... | gpl-3.0 |
NezzKryptic/Wire-Extras | lua/weapons/gmod_tool/stools/wire_materializer.lua | 4 | 5440 |
TOOL.Category = "Wire Extras/Visuals"
TOOL.Name = "Materializer"
TOOL.Command = nil
TOOL.ConfigName = ""
TOOL.Tab = "Wire"
if CLIENT then
language.Add( "Tool.wire_materializer.name", "Materializer Tool (Wire)" )
language.Add( "Tool.wire_materializer.desc", "Spawns a constant materializer prop ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Lower_Jeuno/npcs/Sutarara.lua | 13 | 1644 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Sutarara
-- Involved in Quests: Tenshodo Menbership (before accepting)
-- @pos 30 0.1 -2 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/ques... | gpl-3.0 |
longhf/torch7 | init.lua | 6 | 5692 | -- We are using paths.require to appease mkl
-- Make this work with LuaJIT in Lua 5.2 compatibility mode, which
-- renames string.gfind (already deprecated in 5.1)
if not string.gfind then
string.gfind = string.gmatch
end
if not table.unpack then
table.unpack = unpack
end
require "paths"
paths.require "libtorch... | bsd-3-clause |
nesstea/darkstar | scripts/zones/Port_San_dOria/npcs/Eaugouint.lua | 13 | 1357 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Eaugouint
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextIDs");
... | gpl-3.0 |
zuzuf/TA3D | src/ta3d/mods/ta3d/scripts/coravp.lua | 2 | 7123 | -- Arm Advanced Vehicle Plant Script
createUnitScript("coravp")
__this:piece( "base", "pipes", "blink_1", "blink_2",
"wing_1", "bay_1", "arm_1", "nano_1", "pow_1",
"wing_2", "bay_2", "arm_2", "nano_2", "pow_2",
"wing_3", "bay_3", "arm_3", "nano_3", "pow_3" )
__this.SMOKEPIEC... | gpl-2.0 |
nesstea/darkstar | scripts/globals/items/roast_trout.lua | 18 | 1260 | -----------------------------------------
-- ID: 4404
-- Item: roast_trout
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 3
-- Mind -1
-- Ranged ATT % 14
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- O... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Cavernous_Maw.lua | 29 | 1460 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Cavernous Maw
-- @pos 418 25 27 109
-- Teleports Players to Pashhow Marshlands [S]
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_Jeuno/npcs/Guddal.lua | 13 | 2230 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Guddal
-- Starts and Finishes Quest: Kazham Airship Pass (This quest does not appear in your quest log)
-- @zone 246
-- @pos -14 8 44
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
---------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Woods/npcs/Miiri-Wohri.lua | 13 | 1052 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Miiri-Wohri
-- Type: Standard NPC
-- @zone: 241
-- @pos 106.766 -6 -30.492
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Den_of_Rancor/npcs/_4g4.lua | 27 | 2344 | -----------------------------------
-- Area: Den of Rancor
-- NPC: Lantern (NW)
-- @pos -59 45 24 160
-----------------------------------
package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Den_of_Rancor/TextIDs")... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Dynamis-San_dOria/bcnms/dynamis_sandoria.lua | 10 | 1179 | -----------------------------------
-- Area: Dynamis San d'Oria
-- Name: Dynamis San d'Oria
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[DynaSandoria]UniqueID",player:getDynamisUniqueID(1281));
SetServerVaria... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Bastok_Mines/npcs/Tall_Mountain.lua | 17 | 1884 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Tall Mountain
-- Involved in Quest: Stamp Hunt
-- Finish Mission: Bastok 6-1
-- @pos 71 7 -7 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
osdba/sysbench2 | sysbench/tests/db/select_random_ranges.lua | 11 | 4066 | -- This test is designed for testing MariaDB's key_cache_segments for MyISAM,
-- and should work with other storage engines as well.
--
-- For details about key_cache_segments please refer to:
-- http://kb.askmonty.org/v/segmented-key-cache
--
function prepare()
local query
local i
set_vars()
db_connect()... | gpl-2.0 |
DavisDev/OneInstaller | system/libs/lib_scroll.lua | 1 | 1286 | --[[
Libreria Scroll
Ideada principalmente en facilitar el manejo de un scroll
Para la utilizacion del metodo:
for i=ini,lim do
if i=sel then
else
end
end
]]
scroll = {}
function scroll.set(num,tab,mxn)
scroll[num] = {ini=1,sel=1,lim=1,maxim=1}
if #tab > mxn then scroll[num].lim=mxn else scroll[num].l... | cc0-1.0 |
gabri94/packages-2 | utils/yunbridge/files/usr/lib/lua/luci/controller/arduino/index.lua | 103 | 12089 | --[[
This file is part of YunWebUI.
YunWebUI is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that i... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Zhamwaa.lua | 34 | 1032 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Zhamwaa
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
----------... | gpl-3.0 |
albfan/clink | clink/test/test_args.lua | 4 | 10010 | --
-- Copyright (c) 2013 Martin Ridgers
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to use, copy, modify, merge, publ... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.