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 |
|---|---|---|---|---|---|
festevezga/ToME---t-engine4 | game/modules/tome/data/talents/gifts/slime.lua | 2 | 7544 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
e-lab/torch7-demos | mst-based-segmenter/run.lua | 1 | 2715 | #!/usr/bin/env torch
------------------------------------------------------------
-- a scene segmenter, base on a ConvNet trained end-to-end
-- to predict class distributions at dense locations.
--
-- Clement Farabet
--
require 'xlua'
require 'torch'
require 'qt'
require 'qtwidget'
require 'inline'
require 'imgraph'
... | bsd-3-clause |
festevezga/ToME---t-engine4 | game/modules/tome/data/chats/lumberjack-quest.lua | 3 | 1272 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/effects/sanction.lua | 32 | 1714 | -----------------------------------
--
-- EFFECT_SANCTION
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
local power = effect:getPower(); -- 1 = regen, 2 = refresh, 3 = food.
local subPo... | gpl-3.0 |
l0k1/naev | dat/factions/spawn/dvaered.lua | 4 | 3542 | include("dat/factions/spawn/common.lua")
include("dat/factions/spawn/mercenary_helper.lua")
-- @brief Spawns a small patrol fleet.
function spawn_patrol ()
local pilots = {}
local r = rnd.rnd()
if r < pbm then
pilots = spawnLtMerc("Dvaered")
elseif r < 0.5 then
scom.addPilot( pilots, "... | gpl-3.0 |
hfjgjfg/sw | plugins/owners.lua | 1467 | 12478 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
f5dfgmg5zxxs84hnjryk868fgjg1455jgutyhfu/nod3232 | plugins/owners.lua | 1467 | 12478 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
kjl2y/darkstar | scripts/zones/Grauberg_[S]/npcs/Harvesting_Point.lua | 13 | 1074 | -----------------------------------
-- Area: Grauberg [S]
-- NPC: Harvesting Point
-----------------------------------
package.loaded["scripts/zones/Grauberg_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/Grauberg_[S]/TextIDs");
------------... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/class/PlayerDisplay.lua | 2 | 23447 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Zeruhn_Mines/Zone.lua | 17 | 2965 | -----------------------------------
--
-- Zone: Zeruhn_Mines (172)
--
-----------------------------------
package.loaded["scripts/zones/Zeruhn_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/zone");
require("scripts/zones/Zeruhn_Mines/TextIDs");
-... | gpl-3.0 |
jvandenbroek/domoticz | dzVents/runtime/tests/testScriptdzVentsDispatching.lua | 17 | 4857 | local _ = require 'lodash'
_G._ = require 'lodash'
local scriptPath = ''
--package.path = package.path .. ";../?.lua"
package.path = package.path .. ";../../?.lua;../../../scripts/lua/?.lua;"
package.path = package.path .. ";../?.lua;" .. scriptPath .. '/?.lua;../device-adapters/?.lua;'
describe('Event dispatching',... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm18.lua | 14 | 1566 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: ???
-- Spawns Lacovie
-- @pos ? ? ? 45
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
-----------------------------------
function... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Abyssea-Misareaux/npcs/qm10.lua | 14 | 1343 | -----------------------------------
-- Zone: Abyssea-Misareaux
-- NPC: qm10 (???)
-- Spawns Nonno
-- @pos ? ? ? 216
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[[
... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Maturiri.lua | 13 | 1066 | ----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Maturiri
-- Type: Item Deliverer
-- @zone: 26
-- @pos -77.366 -20 -71.128
--
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
----... | gpl-3.0 |
Bo98/DarkRP | gamemode/modules/fadmin/fadmin/playeractions/noclip/sv_init.lua | 3 | 2109 | local function SetNoclip(ply, cmd, args)
if not FAdmin.Access.PlayerHasPrivilege(ply, "SetNoclip") then FAdmin.Messages.SendMessage(ply, 5, "No access!") return false end
if not args[1] then return false end
local targets = FAdmin.FindPlayer(args[1])
if not targets or #targets == 1 and not IsValid(targ... | mit |
Igdra/darkstar | scripts/zones/Beaucedine_Glacier_[S]/Zone.lua | 32 | 1286 | -----------------------------------
--
-- Zone: Beaucedine_Glacier_[S] (136)
--
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Beaucedine_Glacier_[S]/TextIDs");
--... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/The_Shrine_of_RuAvitau/npcs/qm1.lua | 13 | 1362 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- NPC: ??? (Spawn Olla Pequena)
-- @pos 851 0.1 92 178
-----------------------------------
package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Shrine_of_RuAvitau/TextI... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/items/homura_+1.lua | 41 | 1068 | -----------------------------------------
-- ID: 16986
-- Item: Homura +1
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
----------------------------------... | gpl-3.0 |
tontyoutoure/DOTA2-AI-Fun | game/dota_addons/dota2_ai_fun/scripts/vscripts/heroes/hero_invoker/invoker_retro_tornado_blast.lua | 1 | 9802 | --[[ ============================================================================================================
Author: Rook
Date: February 19, 2015
Called when Tornado Blast is cast.
Additional parameters: keys.ProjectileSpeed, keys.ProjectileRadius, keys.ProjectileFlyingVision, and
keys.ProjectileFlyingVisio... | mit |
kjl2y/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Hammer.lua | 6 | 1508 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Hammer
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEnga... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/weaponskills/slice.lua | 25 | 1685 | -----------------------------------
-- Slice
-- Scythe weapon skill
-- Skill level: 5
-- Delivers a single-hit attack. Damage varies with TP.
-- Modifiers: STR:100%
-- 100%TP 200%TP 300%TP
-- 1.50 1.75 2.00
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/se... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Great_Axe.lua | 6 | 1523 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Great Axe
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobE... | gpl-3.0 |
disslove2-bot/PLUS-BOT | plugins/translate.lua | 674 | 1637 |
--[[
-- Translate text using Google Translate.
-- http://translate.google.com/translate_a/single?client=t&ie=UTF-8&oe=UTF-8&hl=en&dt=t&tl=en&sl=auto&text=hello
--]]
do
function translate(source_lang, target_lang, text)
local path = "http://translate.google.com/translate_a/single"
-- URL query parameters
local p... | gpl-2.0 |
mahdibagheri/mmb | plugins/translate.lua | 674 | 1637 |
--[[
-- Translate text using Google Translate.
-- http://translate.google.com/translate_a/single?client=t&ie=UTF-8&oe=UTF-8&hl=en&dt=t&tl=en&sl=auto&text=hello
--]]
do
function translate(source_lang, target_lang, text)
local path = "http://translate.google.com/translate_a/single"
-- URL query parameters
local p... | gpl-2.0 |
kjl2y/darkstar | scripts/zones/Monarch_Linn/mobs/Mammet-19_Epsilon.lua | 23 | 2616 | -----------------------------------
-- Area: Monarch Linn
-- MOB: Mammet-19 Epsilon
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
mob:SetMagicCastingEnabled(false);
end;... | gpl-3.0 |
Ensiss/pokebot | lua/Action/Movement/Step.lua | 1 | 1558 | -- Move one step in a given direction
function move.step(button)
if button > btn.down then
print("moveDirection error: the specified button is not a direction")
return -1
end
local counter = 0
local p = pb.getPlayer()
local m = pb.getCurrentMap()
local ow = pb.getOverWorld(0) -- OverWorld... | mit |
kjl2y/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Tabar.lua | 6 | 1510 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Tabar
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEngag... | gpl-3.0 |
electrodude/minetest-mod-digilines | lightsensor.lua | 2 | 1797 | local GET_COMMAND = "GET"
local lsensor_nodebox =
{
type = "fixed",
fixed = {
{ -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 }, -- bottom slab
{ -7/16, -7/16, -7/16, -4/16, -5/16, 7/16 }, -- bonds
{ 4/16, -7/16, -7/16, 7/16, -5/16, 7/16 },
{ -7/16, -7/16, -7/16, 7/16, -5/16, -4/16 },
{ -7/16, -7/16, 4/16,... | lgpl-3.0 |
Igdra/darkstar | scripts/globals/abilities/pets/wind_blade.lua | 28 | 1333 | ---------------------------------------------------
-- Geocrush
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/magic");
---------------------------------------------------
... | gpl-3.0 |
Igdra/darkstar | scripts/globals/abilities/hunters_roll.lua | 19 | 2715 | -----------------------------------
-- Ability: Hunter's Roll
-- Enhances accuracy and ranged accuracy for party members within area of effect
-- Optimal Job: Ranger
-- Lucky Number: 4
-- Unlucky Number: 8
-- Level: 11
--
-- Die Roll |Without RNG |With RNG
-- -------- ------------ -------
-- 1 |+10 ... | gpl-3.0 |
Igdra/darkstar | scripts/globals/mobskills/Chains_of_Arrogance.lua | 18 | 1187 | ---------------------------------------------
-- Chains of Apathy
--
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/keyitems");
require("scripts/zones/Empyreal_Paradox/TextIDs");
-... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Wajaom_Woodlands/mobs/Tinnin.lua | 20 | 5663 | -----------------------------------
-- Area: Wajoam Woodlands
-- MOB: Tinnin
-- @pos 276 0 -694
-- Spawned with Monkey Wine: @additem 2573
-- Wiki: http://ffxiclopedia.wikia.com/wiki/Tinnin
-----------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
----------------------... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/abilities/pets/diamond_dust.lua | 34 | 1104 | ---------------------------------------------------
-- Diamond Dust
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/magic");
-------------------------------------------------... | gpl-3.0 |
Zet0rz/nzombies | gamemodes/nzombies/entities/weapons/nz_tool_base/shared.lua | 2 | 4902 | -- Variables that are used on both client and server
SWEP.Author = ""
SWEP.Contact = ""
SWEP.Purpose = ""
SWEP.Instructions = ""
SWEP.ViewModel = "models/weapons/c_toolgun.mdl"
SWEP.WorldModel = "models/weapons/w_toolgun.mdl"
SWEP.AnimPrefix = "python"
SWEP.UseHands = true
-- Be nice, precache the mo... | gpl-3.0 |
Igdra/darkstar | scripts/zones/QuBia_Arena/mobs/Rojgnoj_s_Left_Hand.lua | 23 | 1152 | -----------------------------------
-- Area: QuBia_Arena
-- Mission 9-2 SANDO
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
mob:setLocalVar("2HGO",math.random(40,80));
end;
-------------------------------... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/LaLoff_Amphitheater/npcs/qm0_3.lua | 13 | 1161 | -----------------------------------
-- Area: LaLoff_Amphitheater
-- NPC: qm0 (warp player outside after they win fight)
-------------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Temenos/mobs/Earth_Elemental.lua | 28 | 1790 | -----------------------------------
-- Area: Temenos E T
-- NPC: Earth_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------... | gpl-3.0 |
daniel-david-gabriel/Errant-Audubon | main.lua | 1 | 1923 | require("lua/keyBindings")
require("lua/images")
require("lua/music")
require("lua/soundeffects")
require("lua/tiles")
require("lua/portraits")
require("lua/menu/mainMenu")
require("lua/menu/loadingScreen")
require("lua/game")
require("lua/options")
json = require "json"
function love.load(args)
shade... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Oldton_Movalpolos/npcs/Scrawled_Writing.lua | 15 | 1348 | -----------------------------------
-- Area: Oldton_Movalpolos
-- NPC: Scrawled_Writing
-- Allows players to spawn NM Goblin Wolfman
-----------------------------------
package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Oldton_Movalpolos/TextIDs... | gpl-3.0 |
Igdra/darkstar | scripts/zones/RuLude_Gardens/npcs/Radeivepart.lua | 26 | 2944 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Radeivepart
-- Starts and Finishes Quest: Northward
-- Involved in Quests: Save the Clock Tower
-- @zone 243
-- @pos 5 9 -39
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
---------------------------... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Ugrihd.lua | 27 | 10480 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Ugrihd
-- Coin Exchange Vendor
-- @pos -63.079 -6 -28.571 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require(... | gpl-3.0 |
mojofunk/ardour | scripts/s_vamp_plugin_index.lua | 1 | 1224 | ardour { ["type"] = "Snippet", name = "Vamp Plugin List" }
function factory () return function ()
local plugins = ARDOUR.LuaAPI.Vamp.list_plugins ();
for id in plugins:iter () do
local vamp = ARDOUR.LuaAPI.Vamp(id, Session:nominal_frame_rate())
local vp = vamp:plugin ()
print (" --- VAMP Plugin ---")
print (... | gpl-2.0 |
fegimanam/creed | plugins/weather.lua | 21 | 1269 | local PLUGIN = {}
PLUGIN.doc = [[
/weather <location>
Returns the current temperature and weather conditions for a specified location.
Non-city locations are accepted; "/weather Buckingham Palace" will return the weather for Westminster.
Results and weather data are powered by Yahoo.
]]
PLUGIN.triggers = {
'^/we... | gpl-2.0 |
kjl2y/darkstar | scripts/zones/Promyvion-Dem/mobs/Memory_Receptacle.lua | 6 | 7483 | -----------------------------------
-- Area: Promyvion-Dem
-- MOB: Memory Receptacle
-- Todo: clean up disgustingly bad formatting
-----------------------------------
package.loaded["scripts/zones/Promyvion-Dem/TextIDs"] = nil;
-----------------------------------
require( "scripts/zones/Promyvion-Dem/TextIDs" );
requi... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Abyssea-Konschtat/npcs/qm14.lua | 10 | 1983 | -----------------------------------
-- Zone: Abyssea-Konschtat
-- NPC: qm14 (???)
-- Spawns Eccentric Eve
-- @pos ? ? ? 15
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
-------------------------------... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Windurst_Woods/npcs/HomePoint#2.lua | 27 | 1266 | -----------------------------------
-- Area: Windurst Woods
-- NPC: HomePoint#2
-- @pos 107 -5 -56 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Woods/TextIDs");
require("scripts/globals/homep... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Celennia_Memorial_Library/Zone.lua | 32 | 1295 | -----------------------------------
--
-- Zone: Celennia Memorial Library (284)
--
-----------------------------------
package.loaded["scripts/zones/Celennia_Memorial_Library/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Celennia_Memorial_Library/TextI... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Port_Bastok/npcs/Hilda.lua | 26 | 5026 | -----------------------------------
-- Area: Port Bastok
-- NPC: Hilda
-- Involved in Quest: Cid's Secret, Riding on the Clouds
-- Starts & Finishes: The Usual
-- @pos -163 -8 13 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
requi... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/gfx/particles/ball_blight.lua | 3 | 2743 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Aw_aern.lua | 2 | 2370 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- MOB: Aw_aern PH (Ix'Aern DRK and DRG)
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Garden_of_RuHmet/TextIDs");
require("scri... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cd.lua | 13 | 1057 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cd (Gate of Water)
-- @pos -228 0 140 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Inner_Horutoto_Ruins/TextIDs")... | gpl-3.0 |
xmyno/Broker_WorldQuests | libs/LibDataBroker-1.1.lua | 1 | 3137 | assert(LibStub, "LibDataBroker-1.1 requires LibStub")
assert(LibStub:GetLibrary("CallbackHandler-1.0", true), "LibDataBroker-1.1 requires CallbackHandler-1.0")
local lib, oldminor = LibStub:NewLibrary("LibDataBroker-1.1", 4)
if not lib then return end
oldminor = oldminor or 0
lib.callbacks = lib.callbacks or LibStub... | mit |
kjl2y/darkstar | scripts/zones/FeiYin/npcs/Underground_Pool.lua | 13 | 2447 | -----------------------------------
-- Area: FeiYin
-- NPC: Underground Pool
-- Involved In Quest: Scattered into Shadow
-- @pos 7 0 32 204 (H-8)
-- @pos 7 0 247 204 (H-5)
-- @pos -168 0 247 204 (F-5)
-----------------------------------
package.loaded["scripts/zones/FeiYin/TextIDs"] = nil;
----------------------------... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/items/timbre_timbers_taco.lua | 18 | 1558 | -----------------------------------------
-- ID: 5173
-- Item: timbre_timbers_taco
-- Food Effect: 1hour, All Races
-----------------------------------------
-- MP 20
-- Vitality -1
-- Agility 5
-- MP Recovered While Healing 3
-- Ranged Accuracy % 8 (cap 15)
-----------------------------------------
require("scripts/g... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Quicksand_Caves/npcs/_5s6.lua | 13 | 1255 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Ornate Door
-- Door blocked by Weight system
-- @pos -825 0 -379 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves/TextID... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/texts/unlock-mage_geomancer.lua | 3 | 1658 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
Igdra/darkstar | scripts/globals/spells/aspir_ii.lua | 21 | 1391 | -----------------------------------------
-- Spell: Aspir
-- Drain functions only on skill level!!
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function... | gpl-3.0 |
tmp6154/torch-rnn | test/LSTM_test.lua | 17 | 7013 | require 'torch'
require 'nn'
require 'LSTM'
local gradcheck = require 'util.gradcheck'
local tests = torch.TestSuite()
local tester = torch.Tester()
local function check_size(x, dims)
tester:assert(x:dim() == #dims)
for i, d in ipairs(dims) do
tester:assert(x:size(i) == d)
end
end
function tests.testFo... | mit |
kjl2y/darkstar | scripts/globals/abilities/sublimation.lua | 28 | 2164 | -----------------------------------
-- Ability: Sublimation
-- Gradually creates a storage of MP while reducing your HP. The effect ends once an MP limit is reached, or your HP has gone too low. The stored MP is then transferred to your MP pool by using the ability a second time.
-- Obtained: Scholar Level 35
-- Recast... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Crawlers_Nest/npcs/qm2.lua | 13 | 1026 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: ??? - Guardian Crawler (Spawn 2)
-- @pos 44.436 -2.602 195.381 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Crawlers_Nest/TextIDs");
-... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Tavnazian_Safehold/npcs/HomePoint#1.lua | 27 | 1289 | -----------------------------------
-- Area: Tavnazian_Safehold
-- NPC: HomePoint#1
-- @pos -1.250 -27.907 107.425 26
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Tavnazian_Safehold/TextIDs");
require... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Port_Bastok/npcs/Sugandhi.lua | 13 | 1599 | -----------------------------------
-- Area: Port Bastok
-- NPC: Sugandhi
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
require("scripts/globals/shop");
-----------------------------------
-- onTra... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/weaponskills/spiral_hell.lua | 25 | 1738 | -----------------------------------
-- Spiral Hell
-- Scythe weapon skill
-- Skill level: 240 QUESTED
-- Delivers a single-hit attack. Damage varies with TP.
-- Modifiers: STR:50% ; INT:50%
-- 100%TP 200%TP 300%TP
-- 1.375 2.75 4.75
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
Greven-of-Norway/RC_CollectionAgent | CollectionAgent.lrdevplugin/Framework/System/ObjectFactory.lua | 1 | 2622 | --[[
ObjectFactory.lua
Creates objects used in the guts of the framework.
Serves as a hook for apps to be able to control the classes of objects that get created,
without having to override gobs of stuff to get to them.
Generally, this is edited when new objects... | artistic-2.0 |
Igdra/darkstar | scripts/globals/pets/wyvern.lua | 7 | 6556 | -----------------------------------
-- PET: Wyvern
-----------------------------------
require("scripts/globals/status");
WYVERN_OFFENSIVE = 1
WYVERN_DEFENSIVE = 2
WYVERN_MULTI = 3
local wyvernTypes = {
[JOBS.WAR] = WYVERN_OFFENSIVE,
[JOBS.MNK] = WYVERN_OFFENSIVE,
[JOBS.WHM] = WYVERN_DEFENSIVE,
[JOBS.... | gpl-3.0 |
brewsterl/forgottenserver | data/npc/scripts/runes.lua | 14 | 8228 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
fun... | gpl-2.0 |
Igdra/darkstar | scripts/globals/missions.lua | 1 | 62823 | -----------------------------------
-- Nation IDs
-----------------------------------
NATION_SANDORIA = 0;
NATION_BASTOK = 1;
NATION_WINDURST = 2;
-----------------------------------
-- Areas ID mission step var
-----------------------------------
SANDORIA = 0; -- MissionStatus
BASTOK = 1; -- MissionStat... | gpl-3.0 |
marth8880/MEUScripts | ME5_ObjectiveAssault.lua | 1 | 8430 | --
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
--
local __SCRIPT_NAME = "ME5_ObjectiveAssault";
local debug = true
local function PrintLog(...)
if debug == true then
print("["..__SCRIPT_NAME.."]", unpack(arg));
end
end
PrintLog("Entered")
ScriptCB_DoFile("ME5_Objective")
... | bsd-3-clause |
Igdra/darkstar | scripts/globals/spells/foe_lullaby.lua | 23 | 1095 | -----------------------------------------
-- Spell: Foe Lullaby
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,sp... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Pashhow_Marshlands_[S]/npcs/Telepoint.lua | 13 | 1243 | -----------------------------------
-- Area: Pashhow Marshlands [S]
-- NPC: Telepoint
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Pashhow_Marshlands_[S]/TextIDs... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/engines/default/engine/NameGenerator.lua | 3 | 4386 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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.... | gpl-3.0 |
Igdra/darkstar | scripts/globals/weaponskills/uriel_blade.lua | 22 | 1443 | -----------------------------------
-- Uriel Blade
-- Sword weapon skill
-- Skill Level: N/A
-- Description: Delivers an area attack that deals light elemental damage. Damage varies with TP. Additional effect Flash.
-- AoE range ??.
-- Only available during Campaign Battle while wielding a Griffinclaw.
-- Aligned with ... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Al_Zahbi/npcs/Najelith.lua | 14 | 1041 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Najelith
-- Type: Galeserpent General
-- @zone 48
-- @pos -64.526 -8 39.372
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
swizl/QSanguosha-For-Hegemony | extension-doc/2-ViewAsSkill.lua | 8 | 12958 | --技能详解1:ViewAsSkill(视为技,也叫视作技)
--在太阳神三国杀中,常用的基本技能是两种:触发技和视为技。我们使用这两种基本技能的复合来完成大多数复杂的技能。
--此外,我们还有距离技等特殊类型的技能,它们用于实现某些某种程度上“要求改变游戏系统”的技能。
--触发技可以用来实现“在某个时机,满足发动条件时,执行某个效果(包括做出选择)”这样的技能。
--触发技也可以用来改变游戏事件而不仅是单纯的产生效果。比如,放弃摸牌阶段并执行xx这样的技能也可以用触发技实现。
--事实上,一个触发技就是一条游戏规则。如果某名武将具有某个触发技,这个触发技就会被在服务端“注册”成为这局游戏的一条规则。
--被注册的触发技,通常... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Qufim_Island/Zone.lua | 4 | 2613 | -----------------------------------
--
-- Zone: Qufim_Island (126)
--
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/quests");
require("sc... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Riverne-Site_B01/npcs/Spatial_Displacement.lua | 17 | 4838 | -----------------------------------
-- Area: Riverne Site #B01
-- NPC: Spacial Displacement
-----------------------------------
-----------------------------------
-- onTrade
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-- onTrigger
----------------... | gpl-3.0 |
Igdra/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm3.lua | 14 | 1791 | -----------------------------------
-- Area: The Sanctuary of Zitah
-- NPC: ???
-- Involved In Quest: The Sacred Katana
-- @zone 121
-- @pos -416 0 46
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Wajaom_Woodlands/npcs/qm3.lua | 30 | 1356 | -----------------------------------
-- Area: Wajaom Woodlands
-- NPC: ??? (Spawn Gotoh Zha the Redolent(ZNM T3))
-- @pos -337 -31 676 51
-----------------------------------
package.loaded["scripts/zones/Wajaom_Woodlands/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Wajaom_Woodlands/TextID... | gpl-3.0 |
Igdra/darkstar | scripts/globals/spells/bluemagic/screwdriver.lua | 35 | 1877 | -----------------------------------------
-- Spell: Screwdriver
-- Deals critical damage. Chance of critical hit varies with TP
-- Spell cost: 21 MP
-- Monster Type: Aquans
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 3
-- Stat Bonus: VIT+1, CHR+1, HP+10
-- Level: 26
-- Casting Time: 0.5 seconds
-- Recast T... | gpl-3.0 |
mattsc/AI-demos | AI-demos/lua/fred_retreat.lua | 1 | 23509 | local AH = wesnoth.require "ai/lua/ai_helper.lua"
local FBU = wesnoth.dofile "~/add-ons/AI-demos/lua/fred_benefits_utilities.lua"
local FGM = wesnoth.require "~/add-ons/AI-demos/lua/fred_gamestate_map.lua"
local FU = wesnoth.dofile "~/add-ons/AI-demos/lua/fred_utils.lua"
local DBG = wesnoth.dofile "~/add-ons/AI-demos/l... | gpl-2.0 |
tontyoutoure/DOTA2-AI-Fun | game/dota_addons/dota2_ai_fun/scripts/vscripts/heroes/persuasive/persuasive_modifiers.lua | 1 | 4206 | modifier_persuasive_kill_steal_lua = class({})
function modifier_persuasive_kill_steal_lua:DeclareFunctions()
return {MODIFIER_EVENT_ON_TAKEDAMAGE_KILLCREDIT}
end
function modifier_persuasive_kill_steal_lua:IsDebuff()
return true
end
function modifier_persuasive_kill_steal_lua:GetEffectName()
return "particles/eco... | mit |
Igdra/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/Treasure_Chest.lua | 17 | 4076 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Treasure Chest
-- @zone 176
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
requir... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Lower_Jeuno/npcs/Harnek.lua | 25 | 2403 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Harnek
-- Starts and Finishes Quest: The Tenshodo Showdown (finish)
-- @zone 245
-- @pos 44 0 -19
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Tahrongi_Cacti.lua | 27 | 1753 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: Tahrongi Cacti
-- Involved in Quest: Say It with Flowers
--
-- @pos -308.721 7.477 264.454
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Dynamis-Beaucedine/Zone.lua | 21 | 2557 | -----------------------------------
--
-- Zone: Dynamis-Beaucedine
--
-----------------------------------
package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Dynamis-Beaucedine/TextIDs");
--------------------... | gpl-3.0 |
Igdra/darkstar | scripts/globals/mobskills/PL_Tidal_Slash.lua | 35 | 1100 | ---------------------------------------------
-- Tidal Slash
--
-- Description: Deals Water damage in a threefold
-- attack to targets in a fan-shaped area of effect.
-- Type: Physical?
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Melee?
-- Notes: Used only by Merrows equipped with a spear.
-- If they lost their s... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/PsoXja/npcs/_09d.lua | 13 | 2831 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _09d (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos 301.600 -1.925 -10.000 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/PsoXja/TextIDs... | gpl-3.0 |
mmdk95/cuberite | MCServer/Plugins/APIDump/Hooks/OnPlayerLeftClick.lua | 8 | 2480 | return
{
HOOK_PLAYER_LEFT_CLICK =
{
CalledWhen = "A left-click packet is received from the client. Plugin may override / refuse.",
DefaultFnName = "OnPlayerLeftClick", -- also used as pagename
Desc = [[
This hook is called when MCServer receives a left-click packet from the {{cClientHandle|client}}. It
i... | apache-2.0 |
mraleph/deltablue.lua | deltablue-globals.lua | 1 | 24838 | -- Copyright 2008 the V8 project authors. All rights reserved.
-- Copyright 1996 John Maloney and Mario Wolczko.
-- 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 Licen... | gpl-2.0 |
mattsc/AI-demos | AI-demos/lua/fred_move_leader_utils.lua | 1 | 25401 | local H = wesnoth.require "helper"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local FU = wesnoth.dofile "~/add-ons/AI-demos/lua/fred_utils.lua"
local FS = wesnoth.dofile "~/add-ons/AI-demos/lua/fred_status.lua"
local FAU = wesnoth.dofile "~/add-ons/AI-demos/lua/fred_attack_utils.lua"
local FMU = wesnoth.dofile "... | gpl-2.0 |
festevezga/ToME---t-engine4 | game/modules/tome/dialogs/ShowAchievements.lua | 3 | 3267 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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.... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Rabao/npcs/Agado-Pugado.lua | 13 | 5683 | -----------------------------------
-- Area: Rabao
-- NPC: Agado-Pugado
-- Starts and Finishes Quest: Trial by Wind
-- @pos -17 7 -10 247
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/g... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Bastok_Mines/npcs/Davyad.lua | 13 | 1177 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Davyad
-- Involved in Mission: Bastok 3-2
-- @zone 234
-- @pos 83 0 30
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scri... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/damage_types.lua | 2 | 128773 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/class/interface/ActorLife.lua | 2 | 2043 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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.... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/spells/bluemagic/awful_eye.lua | 16 | 1543 | -----------------------------------------
-- Spell: Awful Eye
-- Lowers Strength of enemies within a fan-shaped area originating from the caster
-- Spell cost: 32 MP
-- Monster Type: Lizards
-- Spell Type: Magical (Water)
-- Blue Magic Points: 2
-- Stat Bonus: MND+1
-- Level: 46
-- Casting Time: 2.5 seconds
-- Recast T... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Lufaise_Meadows/npcs/Teldo-Moroldo_WW.lua | 13 | 3335 | -----------------------------------
-- Area: Lufaise Meadows
-- NPC: Teldo-Moroldo, W.W.
-- Outpost Conquest Guards
-- @pos -542.418 -7.124 -53.521 24
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conques... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/lore/noxious-caldera.lua | 3 | 5372 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Port_Windurst/npcs/Goltata.lua | 17 | 1414 | -----------------------------------
-- Area: Port Windurst
-- NPC: Goltata
-- Involved in Quests: Wonder Wands
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Windurst/TextIDs");
require("s... | gpl-3.0 |
Igdra/darkstar | scripts/globals/spells/blindga.lua | 20 | 1145 | -----------------------------------------
-- Spell: Blind
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.