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 |
|---|---|---|---|---|---|
abriasffxi/darkstar | scripts/zones/LaLoff_Amphitheater/npcs/qm1_1.lua | 17 | 2451 | -----------------------------------
-- Area: LaLoff_Amphitheater
-- NPC: Shimmering Circle (BCNM Entrances)
-------------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-------------------------------------
require("scripts/glob... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/spells/bluemagic/wild_oats.lua | 18 | 1960 | -----------------------------------------
-- Spell: Wild Oats
-- Additional effect: Vitality Down. Duration of effect varies on TP
-- Spell cost: 9 MP
-- Monster Type: Plantoids
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 3
-- Stat Bonus: CHR+1, HP+10
-- Level: 4
-- Casting Time: 0.5 seconds
-- R... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/qm8.lua | 57 | 2181 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: qm8 (??? - Ancient Papyrus Shreds)
-- Involved in Quest: In Defiant Challenge
-- @pos 105.275 -32 92.551 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
----------------------------... | gpl-3.0 |
dios-game/dios-cocos | src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/ArmatureAnimation.lua | 16 | 5581 |
--------------------------------
-- @module ArmatureAnimation
-- @extend ProcessBase
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ArmatureAnimation] getSpeedScale
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Play anim... | mit |
abriasffxi/darkstar | scripts/globals/spells/utsusemi_ni.lua | 15 | 1749 | -----------------------------------------
-- Spell: Utsusemi: Ni
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0;
end;
functi... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/mobskills/Everyones_Rancor.lua | 55 | 1603 | ---------------------------------------------
-- 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/settings");... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/mobskills/Everyones_Rancor.lua | 55 | 1603 | ---------------------------------------------
-- 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/settings");... | gpl-3.0 |
cjtallman/LDoc | ldoc/builtin/coroutine.lua | 7 | 2180 | --- creating and controlling coroutines.
-- @module coroutine
local coroutine = {}
---
-- Creates a new coroutine, with body `f`. `f` must be a Lua
-- function. Returns this new coroutine, an object with type `"thread"`.
function coroutine.create(f) end
---
-- Starts or continues the execution of coroutin... | mit |
isalnikov/Algorithm-Implementations | Levenshtein_distance/Lua/Yonaba/levenshtein.lua | 25 | 1670 | -- Levenshtein distance implementation
-- See: http://en.wikipedia.org/wiki/Levenshtein_distance
-- Iterative matrix-based method
-- See: http://en.wikipedia.org/wiki/Levenshtein_distance#Iterative_with_full_matrix
-- Return the minimum of three elements
local function min(a, b, c)
return math.min(math.min(a, b), c)... | mit |
sum2012/mame | 3rdparty/genie/tests/actions/vstudio/cs2005/projectsettings.lua | 47 | 3943 | --
-- tests/actions/vstudio/cs2005/projectsettings.lua
-- Validate generation of root <PropertyGroup/> in Visual Studio 2005+ .csproj
-- Copyright (c) 2009-2011 Jason Perkins and the Premake project
--
T.vstudio_cs2005_projectsettings = { }
local suite = T.vstudio_cs2005_projectsettings
local cs2005 = premake.vstud... | gpl-2.0 |
abriasffxi/darkstar | scripts/globals/weaponskills/stardiver.lua | 22 | 1598 | -----------------------------------
-- 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/East_Ronfaure/TextIDs.lua | 7 | 1411 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6401; -- You cannot obtain the item <item> come back again after sorting your inventory.
ITEM_OBTAINED = 6406; -- Obtained: <item>.
GIL_OBTAINED = 6407; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6409; -- Obt... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/AlTaieu/npcs/qm3.lua | 14 | 1611 | -----------------------------------
-- Area: Al'Taieu
-- NPC: ??? (Jailer of Prudence Spawn)
-- Allows players to spawn the Jailer of Prudence by trading the Third Virtue, Deed of Sensibility, and High-Quality Hpemde Organ to a ???.
-- @pos , 706 -1 22
-----------------------------------
package.loaded["scripts/zones... | gpl-3.0 |
davek44/Basset | src/batcherT.lua | 1 | 1419 | BatcherT = {}
BatcherT.__index = BatcherT
function BatcherT:__init(X, Y, batch_size, permute)
bat = {}
setmetatable(bat, self)
bat.X = X
bat.Y = Y
bat.num_seqs = (#X)[1]
bat.batch_size = batch_size
bat.permute = permute or false
bat:reset()
return bat
end
function BatcherT:nex... | mit |
mir3x/freeciv_cmake | data/civ2civ3/script.lua | 1 | 10806 | -- Freeciv - Copyright (C) 2007 - The Freeciv Project
-- 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, or (at your option)
-- any later version.
--
-- This program ... | gpl-2.0 |
dios-game/dios-cocos | src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/Texture2D.lua | 10 | 7978 |
--------------------------------
-- @module Texture2D
-- @extend Ref
-- @parent_module cc
--------------------------------
-- Gets max T.
-- @function [parent=#Texture2D] getMaxT
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Returns the pixel format.<... | mit |
Armyluix/darkstar | scripts/zones/The_Eldieme_Necropolis_[S]/npcs/Layton.lua | 34 | 1914 | -----------------------------------
-- Area: The Eldieme Necropolis (S)
-- NPC: Layton
-- Type: Standard Merchant NPC
-- Note: Available during Campaign battles
-- @pos 382.679 -39.999 3.541 175
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis_[S]/TextIDs"] = nil;
------... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/spells/hojo_ni.lua | 27 | 1246 | -----------------------------------------
-- Spell: Hojo:Ni
-- Description: Inflicts Slow on target.
-- Edited from slow.lua
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------------------------... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Northern_San_dOria/npcs/Miageau.lua | 17 | 2459 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Miageau
-- Type: Quest Giver NPC
-- @zone: 231
-- @pos 115 0 108
--
-- Starts and Finishes: Waters of Cheval
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
---------------------... | gpl-3.0 |
mohammadclashclash/abi | plugins/ingroup.lua | 527 | 44020 | do
-- Check Member
local function check_member_autorealm(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostr... | gpl-2.0 |
Armyluix/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Morangeart.lua | 38 | 1057 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Morangeart
-- Type: ENM Quest Activator
-- @zone: 26
-- @pos -74.308 -24.782 -28.475
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"]... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/items/cup_of_chamomile_tea.lua | 18 | 1369 | -----------------------------------------
-- ID: 4603
-- Item: cup_of_chamomile_tea
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic 8
-- Vitality -2
-- Charisma 2
-- Magic Regen While Healing 1
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
JKGDevs/JediKnightGalaxies | JKGalaxies/glua/framework/modules/util.lua | 3 | 1748 | --[[ ------------------------------------------------
Ultra Utility Lua Framework
Utility Module
DO NOT MODIFY THIS FILE
This module provides some handy utility functions, such as (de)serialization of tables
--------------------------------------------------]]
-- Locals (for faster access, and because we're a... | gpl-2.0 |
Armyluix/darkstar | scripts/zones/Metalworks/npcs/Mythily.lua | 17 | 2013 | -----------------------------------
-- Area: Metalworks
-- NPC: Mythily
-- Type: Immigration NPC
-- @pos 94 -20 -8 237
-----------------------------------
require("scripts/globals/conquest");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(play... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Toraimarai_Canal/npcs/Tome_of_Magic.lua | 10 | 1859 | -----------------------------------
-- Area: Toraimarai Canal
-- NPC: Tome of Magic ( Needed for Mission )
-- Involved In Windurst Mission 7-1
-- @zone 169
-- @pos 142 13 -13 169 <many>
-----------------------------------
package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil;
require("scripts/zones/Toraimarai... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Port_Windurst/npcs/Ryan.lua | 17 | 1762 | -----------------------------------
-- Area: Port Windurst
-- NPC: Ryan
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Port_Windurst/TextIDs");
------... | gpl-3.0 |
imrandomizer/Algorithm-Implementations | Bellman_Ford_Search/Lua/Yonaba/bellmanford.lua | 26 | 3025 | -- Bellman Ford single source shortest path search algorithm implementation
-- See : https://en.wikipedia.org/wiki/Bellman%E2%80%93Ford_algorithm
-- Notes : this is a generic implementation of Bellman Ford search algorithm.
-- It is devised to be used on waypoint graphs.
-- The BellmanFord class expects a handler to b... | mit |
mbmahdiiii/mm | plugins/inpm.lua | 7 | 3232 | do
local function pairsByKeys (t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
Armyluix/darkstar | scripts/zones/Port_Windurst/npcs/Paytah.lua | 38 | 1029 | -----------------------------------
-- Area: Port Windurst
-- NPC: Paytah
-- Type: Standard NPC
-- @zone: 240
-- @pos 77.550 -6 117.769
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
--------------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/HomePoint#1.lua | 27 | 1280 | -----------------------------------
-- Area: Windurst_Waters_[S]
-- NPC: HomePoint#1
-- @pos -32 -5 131 94
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Waters_[S]/TextIDs");
require("scripts... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/titles.lua | 35 | 45755 | -----------------------------------
--
-- TITLES IDs
--
-----------------------------------
FODDERCHIEF_FLAYER = 1;
WARCHIEF_WRECKER = 2;
DREAD_DRAGON_SLAYER = 3;
OVERLORD_EXECUTIONER = 4;
DARK_DRAGON_SLAYER ... | gpl-3.0 |
jebenexer/kong | kong/plugins/udp-log/handler.lua | 1 | 1312 | local BasePlugin = require "kong.plugins.base_plugin"
local serializer = require "kong.plugins.log-serializers.basic"
local cjson = require "cjson"
local timer_at = ngx.timer.at
local udp = ngx.socket.udp
local UdpLogHandler = BasePlugin:extend()
UdpLogHandler.PRIORITY = 8
UdpLogHandler.VERSION = "0.1.0"
local func... | apache-2.0 |
abriasffxi/darkstar | scripts/zones/Desuetia_Empyreal_Paradox/Zone.lua | 30 | 1470 | -----------------------------------
--
-- Zone: Desuetia Empyreal Paradox (290)
--
-----------------------------------
package.loaded["scripts/zones/Desuetia_Empyreal_Paradox/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Desuetia_Empyreal_Paradox/TextIDs");
require("scripts/globals/settin... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/items/slice_of_diatryma_meat.lua | 18 | 1342 | -----------------------------------------
-- ID: 5290
-- Item: Slice of Diatryma Meat
-- Effect: 5 Minutes, food effect, Galka Only
-----------------------------------------
-- Strength +3
-- Intelligence -5
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
yuewko/themis | vendor/github.com/apache/thrift/lib/lua/TTransport.lua | 115 | 2800 | --
-- 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 |
abriasffxi/darkstar | scripts/globals/spells/enchanting_etude.lua | 27 | 1848 | -----------------------------------------
-- Spell: Enchanting Etude
-- Static CHR Boost, BRD 22
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function o... | gpl-3.0 |
JKGDevs/JediKnightGalaxies | JKGalaxies/glua/resources/npcs/grenade_merchant.lua | 2 | 1562 | NPC.NPCName = "grenade_merchant"
function NPC:OnInit(spawner)
self.Spawner = spawner
end
function NPC:OnSpawn()
-- Initial setup
-- Prevent the AI from messing things up
self:SetBehaviorState("BS_CINEMATIC")
self.GodMode = true
self.NoKnockback = true
self.LookForEnemies = false
self.ChaseEnemies = false
... | gpl-2.0 |
abriasffxi/darkstar | scripts/globals/spells/noctohelix.lua | 26 | 1689 | --------------------------------------
-- Spell: Noctohelix
-- Deals dark damage that gradually reduces
-- a target's HP. Damage dealt is greatly affected by the weather.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/ma... | gpl-3.0 |
xpol/luainstaller | luarocks/src/luarocks/fetch/git_http.lua | 13 | 1143 |
--- Fetch back-end for retrieving sources from Git repositories
-- that use http:// transport. For example, for fetching a repository
-- that requires the following command line:
-- `git clone http://example.com/foo.git`
-- you can use this in the rockspec:
-- source = { url = "git+http://example.com/foo.git" }
-- Pre... | mit |
Armyluix/darkstar | scripts/globals/items/blowfish.lua | 18 | 1257 | -----------------------------------------
-- ID: 5812
-- Item: Blowfish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
imrandomizer/Algorithm-Implementations | Golden_Ratio_Algorithms/Lua/Yonaba/lib/newtonraphson.lua | 52 | 1091 | -- Newton (Raphson) root finding algorithm implementation
-- See : http://en.wikipedia.org/wiki/Newton%27s_method
-- Fuzzy equality test
local function fuzzyEqual(a, b, eps)
local eps = eps or 1e-4
return (math.abs(a - b) < eps)
end
-- Evaluates the derivative of function f at x0
-- Uses Newton's centered slope a... | mit |
isalnikov/Algorithm-Implementations | Newton_Raphson/Lua/Yonaba/newtonraphson.lua | 52 | 1091 | -- Newton (Raphson) root finding algorithm implementation
-- See : http://en.wikipedia.org/wiki/Newton%27s_method
-- Fuzzy equality test
local function fuzzyEqual(a, b, eps)
local eps = eps or 1e-4
return (math.abs(a - b) < eps)
end
-- Evaluates the derivative of function f at x0
-- Uses Newton's centered slope a... | mit |
xpol/luainstaller | lua/versions/luajit-2.0/dynasm/dasm_arm.lua | 11 | 34598 | ------------------------------------------------------------------------------
-- DynASM ARM module.
--
-- Copyright (C) 2005-2017 Mike Pall. All rights reserved.
-- See dynasm.lua for full copyright notice.
------------------------------------------------------------------------------
-- Module information:
local _in... | mit |
Armyluix/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Telepoint.lua | 17 | 1652 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: Telepoint
-- @pos 100.000 35.150 340.000 117
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/... | gpl-3.0 |
rdlaitila/LURE | src/__legacy__/lib/loveframes/objects/internal/scrollable/scrollbutton.lua | 14 | 3962 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2012-2014 Kenny Shields --
--]]------------------------------------------------
-- get the current require path
local path = string.sub(..., 1, string.len(...) - string.len(".objects.internal.scrollable.s... | mit |
abriasffxi/darkstar | scripts/zones/Bastok_Markets/npcs/Loulia.lua | 14 | 1078 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Loulia
-- Type: Room Renters
-- @pos -176.212 -9 -25.049 235
--
-- Auto-Script: Requires Verification. Validated standard dialog - thrydwolf 12/8/2011
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/items/plate_of_witch_risotto.lua | 18 | 1528 | -----------------------------------------
-- ID: 4330
-- Item: witch_risotto
-- Food Effect: 4hours, All Races
-----------------------------------------
-- Magic Points 35
-- Strength -1
-- Vitality 3
-- Mind 3
-- MP Recovered While Healing 2
-- Enmity -1
-----------------------------------------
require("scripts/glob... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/mobskills/Guillotine.lua | 26 | 1058 | ---------------------------------------------
-- Guillotine
--
-- Description: Delivers a four-hit attack. Silences enemy. Duration of effect varies with TP.
-- Type: Physical
-- Number of hits
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globa... | gpl-3.0 |
staroselskii/ardupilot | Tools/CHDK-Scripts/kap_uav.lua | 183 | 28512 | --[[
KAP UAV Exposure Control Script v3.1
-- Released under GPL by waterwingz and wayback/peabody
http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script
@title KAP UAV 3.1
@param i Shot Interval (sec)
@default i 15
@range i 2 120
@param s Total Shots (0=infinite)
@default s 0
@range ... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Fort_Ghelsba/npcs/Treasure_Chest.lua | 19 | 2565 | -----------------------------------
-- Area: Fort Ghelsba
-- NPC: Treasure Chest
-- @zone 141
-----------------------------------
package.loaded["scripts/zones/Fort_Ghelsba/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure");
require("scripts/z... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Ratonne.lua | 36 | 4452 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Ratonne
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/armorstorag... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/items/beluga.lua | 41 | 1064 | -----------------------------------------
-- ID: Beluga
-- Beluga
-- Additional Effect: Ice Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
functi... | gpl-3.0 |
uspgamedev/backdoor | game/gamestates/open_pack.lua | 1 | 4206 |
-- luacheck: no self
local INPUT = require 'input'
local DIRECTIONALS = require 'infra.dir'
local PROFILE = require 'infra.profile'
local SWITCHER = require 'infra.switcher'
local PLAYSFX = require 'helpers.playsfx'
local PackView = require 'view.packlist'
local CardView = require 'view.c... | gpl-3.0 |
ElectroDuk/QuackWars | garrysmod/gamemodes/Basewars(Broken}/entities(maybe_outdated)/entities/ent_mad_rocket/cl_init.lua | 3 | 1622 | ENT.Spawnable = false
ENT.AdminSpawnable = false
include("shared.lua")
language.Add("ent_mad_rocket", "Rocket")
/*---------------------------------------------------------
Name: ENT:Initialize()
---------------------------------------------------------*/
function ENT:Initialize()
self.TimeLeft = CurTime() +... | mit |
ElectroDuk/QuackWars | garrysmod/gamemodes/Basewars/entities(maybe_outdated)/weapons/weapon_mad_base_sniper/shared.lua | 2 | 12245 | // Variables that are used on both client and server
// The scope code is based on the Realistic Weapons Base made by Teta Bonita
SWEP.Base = "weapon_mad_base"
SWEP.ShellEffect = "effect_mad_shell_rifle" // "effect_mad_shell_pistol" or "effect_mad_shell_rifle" or "effect_mad_shell_shotgun"
SWEP.ShellDelay = 1
... | mit |
abriasffxi/darkstar | scripts/zones/South_Gustaberg/npcs/Field_Manual.lua | 29 | 1063 | -----------------------------------
-- Field Manual
-- Area: South Gustaberg
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
------------------------------... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/spells/bluemagic/firespit.lua | 27 | 1478 | -----------------------------------------
-- Spell: Firespit
-- Deals fire damage to an enemy
-- Spell cost: 121 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 5
-- Stat Bonus: STR+3
-- Level: 68
-- Casting Time: 6.5 seconds
-- Recast Time: 42.75 seconds
-- Magic Bursts on: ... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/_mf8.lua | 17 | 1403 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: _mf8 (Granite Door)
-- Notes: Opens with Prelate Key
-- @pos -11 -8 -99 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/zo... | gpl-3.0 |
Francesco149/lainbot | plugins/vote.lua | 615 | 2128 | do
local _file_votes = './data/votes.lua'
function read_file_votes ()
local f = io.open(_file_votes, "r+")
if f == nil then
print ('Created voting file '.._file_votes)
serialize_to_file({}, _file_votes)
else
print ('Values loaded: '.._file_votes)
f:close()
end
return loadfile (_file_votes)()... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/commands/sampleDNA.lua | 4 | 2120 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | lgpl-3.0 |
eraffxi/darkstar | scripts/zones/Tahrongi_Canyon/Zone.lua | 2 | 4004 | -----------------------------------
--
-- Zone: Tahrongi_Canyon (117)
--
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Tahrongi_Canyon/TextIDs");
require("scripts/zones/Tahrongi_Canyon/MobIDs");
require("scri... | gpl-3.0 |
hayword/tfatf_epgp | libs/LibJSON-1.0/LibStub/LibStub.lua | 184 | 1367 | -- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info
-- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER MAKE THIS AN SVN REVI... | bsd-3-clause |
ckaotik/ckaosSocial | libs/LibStub.lua | 184 | 1367 | -- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info
-- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER MAKE THIS AN SVN REVI... | bsd-3-clause |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/loot/collectible/kits/serverobjects.lua | 3 | 2438 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/lair/eopie/lair_eopie_dune.lua | 2 | 2280 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/component/droid/droid_storage_compartment.lua | 3 | 2783 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_cobral_overlord_human_male_01.lua | 3 | 2264 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/wearables/armor/ithorian_sentinel/ith_armor_s03_leggings.lua | 1 | 4072 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
eraffxi/darkstar | scripts/globals/items/bowl_of_salt_ramen.lua | 2 | 1640 | -----------------------------------------
-- ID: 6462
-- Item: bowl_of_salt_ramen
-- Food Effect: 30Min, All Races
-----------------------------------------
-- DEX +5
-- VIT +5
-- AGI +5
-- Accuracy +5% (cap 90)
-- Ranged Accuracy +5% (cap 90)
-- Evasion +5% (cap 90)
-- Resist Slow +10
---------------------------------... | gpl-3.0 |
birkett/cuberite | Server/Plugins/APIDump/Classes/Projectiles.lua | 27 | 6665 | return
{
cArrowEntity =
{
Desc = [[
Represents the arrow when it is shot from the bow. A subclass of the {{cProjectileEntity}}.
]],
Functions =
{
CanPickup = { Params = "{{cPlayer|Player}}", Return = "bool", Notes = "Returns true if the specified player can pick the arrow when it's on the ground" }... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/loot/tool/recording_rod_broken.lua | 3 | 2244 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/commands/unarmedHit2.lua | 1 | 2376 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/lair/vynock/lair_vynock_dune.lua | 2 | 2288 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
eraffxi/darkstar | scripts/zones/Talacca_Cove/Zone.lua | 2 | 1433 | -----------------------------------
--
-- Zone: Talacca_Cove (57)
--
-----------------------------------
package.loaded["scripts/zones/Talacca_Cove/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("scripts/globals/settings");
require(... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/food/crafted/drink_durindfire.lua | 3 | 3328 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
Richard857/BadRotations | Rotations/Death Knight/Unholy/THUnholy.lua | 1 | 55947 | local rotationName = "THUnholy" -- Change to name of profile listed in options drop down
---------------
--- Toggles ---
---------------
local function createToggles() -- Define custom toggles
-- Rotation Button
RotationModes = {
[1] = { mode = "Auto", value = 1 , overlay = "Automatic Rotation", tip = "基于范... | gpl-3.0 |
widelands/widelands | data/tribes/workers/frisians/brewer/init.lua | 1 | 1070 | push_textdomain("tribes")
dirname = path.dirname (__file__)
wl.Descriptions():new_worker_type {
name = "frisians_brewer",
-- TRANSLATORS: This is a worker name used in lists of workers
descname = pgettext ("frisians_worker", "Brewer"),
icon = dirname .. "menu.png",
vision_range = 2,
buildcost = {
... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/loot/collectible/collectible_parts/orange_rug_thread_07.lua | 3 | 2344 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/creature/npc/base/ewok_base_male.lua | 3 | 2216 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/corellia/flail_butcher.lua | 1 | 1724 | flail_butcher = Creature:new {
objectName = "@mob/creature_names:flail_butcher",
socialGroup = "flail",
pvpFaction = "flail",
faction = "flail",
level = 22,
chanceHit = 0.350000,
damageMin = 220,
damageMax = 230,
baseXp = 2219,
baseHAM = 6300,
baseHAMmax = 7700,
armor = 0,
resists = {0,0,0,0,0,0,0,-1,-1},
... | lgpl-3.0 |
houqp/koreader | spec/unit/luasettings_spec.lua | 7 | 2854 | describe("luasettings module", function()
local Settings
setup(function()
require("commonrequire")
Settings = require("frontend/luasettings"):open("this-is-not-a-valid-file")
end)
it("should handle undefined keys", function()
Settings:delSetting("abc")
assert.True(Setti... | agpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/creature/npc/droid/silver_protocol_base.lua | 1 | 2244 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/naboo/guild_university_naboo_style_01.lua | 3 | 2368 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/attachment/weapon/blacksun_heavy_weapon3_s05.lua | 3 | 2320 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/particle/particle_test_83.lua | 3 | 2216 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/endor/jinda_cub.lua | 1 | 1116 | jinda_cub = Creature:new {
objectName = "@mob/creature_names:jinda_cub",
socialGroup = "jinda_tribe",
pvpFaction = "jinda_tribe",
faction = "",
level = 5,
chanceHit = 0.25,
damageMin = 45,
damageMax = 50,
baseXp = 113,
baseHAM = 135,
baseHAMmax = 165,
armor = 0,
resists = {0,0,0,0,0,0,0,-1,-1},
meatType =... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/vehicle/component/vehicle_module_advanced.lua | 3 | 2316 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/managers/spawn_manager/naboo.lua | 1 | 14573 | JUNKNOTSELLABLE = 0
JUNKGENERIC = 1
JUNKCLOTHESANDJEWELLERY = 2
JUNKWEAPONS = 4
JUNKARMOUR = 8
JUNKTUSKEN = 16
JUNKJEDI = 32
JUNKJAWA = 64
JUNKGUNGAN = 128
JUNKCONVGENERIC = 1
JUNKCONVARMS = 2
JUNKCONVFINARY = 3
JUNKCONVDENDERRORI = 4
JUNKCONVDENDERTHEED = 5
JUNKCONVLILABORVO = 6
JUNKCONVMALIKVISTAL = 7
JUNKCONVNADOWA... | lgpl-3.0 |
eraffxi/darkstar | scripts/zones/Xarcabard/mobs/Boreal_Tiger.lua | 2 | 1090 | -----------------------------------
-- Area: Xarcabard
-- NM: Boreal Tiger
-- Involved in Quests: Atop the Highest Mountains
-- !pos 341 -29 370 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Xarcabard/TextIDs... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/lair/mynock/serverobjects.lua | 3 | 2100 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
Verites/verigraph | tests/GrLang/ReplIntegrationSpec/graph-morphism-rule.lua | 2 | 1318 | require("git-types")
Foo = Graph [[
r1 r2 : Revision
dr1 dr2 : Dependencies
r1 -d1:deps-> dr1
r2 -d2:deps-> dr2
dr2 -d22:dependsOn-> r2
dr2 -d21:dependsOn-> r1
]]
Bar = Graph [[
r1 r2 r3 : Revision
dr1 dr2 dr3 : Dependencies
r1 -d1:deps-> dr1
r2 -d2:deps-> dr2
r3 -d3:deps-> dr3
dr3 -d33:de... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/wearables/ithorian/ith_pants_s14.lua | 3 | 3451 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/weapon/lightsaber/lightsaber_two_hand_gen1.lua | 2 | 5175 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/space/chassis/tieaggressor.lua | 2 | 3719 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
eraffxi/darkstar | scripts/zones/West_Sarutabaruta/npcs/Slow_Axe_IM.lua | 2 | 2946 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Slow Axe, I.M.
-- Type: Border Conquest Guards
-- !pos 399.450 -25.858 727.545 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/con... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/creature/npc/base/rodian_base_male.lua | 3 | 2224 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/loot/dungeon/geonosian_mad_bunker/engineering_key.lua | 3 | 2320 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/weapon/melee/sword/crafted_saber/sword_lightsaber_s9_training.lua | 1 | 6236 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/shield_generator/shd_sfs_limited_advanced.lua | 3 | 2352 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
ForbiddenJ/minetest_game | mods/xpanes/init.lua | 3 | 4717 |
local function is_pane(pos)
return minetest.get_item_group(minetest.get_node(pos).name, "pane") > 0
end
local function connects_dir(pos, name, dir)
local aside = vector.add(pos, minetest.facedir_to_dir(dir))
if is_pane(aside) then
return true
end
local connects_to = minetest.registered_nodes[name].connects_to... | lgpl-2.1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.