repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
festevezga/ToME---t-engine4
game/modules/tome/data/general/traps/water.lua
3
2087
-- 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
l0k1/naev
dat/events/cinematic/DvdFLFbattle.lua
4
4538
--[[ This is the first of many planned eyecandy cinematics. In this one, there will be a battle between the Dvaered and the FLF in the Doranthex system. ]]-- lang = naev.lang() if lang == 'es' then else --default english articles={} articles= { { "Empire", _("Dvaered forces...
gpl-3.0
kjl2y/darkstar
scripts/zones/Castle_Oztroja/TextIDs.lua
15
2162
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6564; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6568; -- You cannot obtain the #. Try trading again after sorting your inventory. ITEM_OBTAINED = 6569; -- Ob...
gpl-3.0
Igdra/darkstar
scripts/zones/La_Theine_Plateau/npcs/Equesobillot.lua
14
2538
----------------------------------- -- Area: La Theine Plateau -- NPC: Equesobillot -- Involved in Mission: The Rescue Drill -- @pos -287 9 284 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions...
gpl-3.0
bjornbytes/lutil
util.lua
2
5503
---------------- -- Class ---------------- function new(x, ...) local t = extend(x) if t.init then t:init(...) end return t end function extend(x) local t = {} setmetatable(t, {__index = x, __call = new}) return t end function class() return extend() end ---------------- -- Math ---------------- f...
mit
skinnay/guardian-of-the-everpearl
tower.lua
1
5402
Tower = {} Tower.__index = Tower Tower.radius = 100 Tower.cost = 250 Tower.name = "Default Tower" Tower.single_target = true Tower.direction = 0 function Tower.create() local instance = {} setmetatable(instance, Tower) instance.field_pos = Vector(2, 2) instance.target = nil instance.shoot_frequency...
mit
kjl2y/darkstar
scripts/zones/Western_Adoulin/npcs/Kongramm.lua
1
2457
----------------------------------- -- Area: Western Adoulin -- NPC: Kongramm -- Type: Standard NPC, Mission NPC, and Quest NPC -- Involved with Mission: 'A Curse From The Past' -- Involved with Quests: 'A Certain Substitute Patrolman' and 'Transporting' -- @zone 256 -- @pos 61 32 138 ---------------------------...
gpl-3.0
Igdra/darkstar
scripts/zones/Port_San_dOria/npcs/Gallijaux.lua
5
3443
----------------------------------- -- Area: Port San d'Oria -- NPC: Gallijaux -- Starts The Rivalry -- @zone 232 -- @pos -14 -2 -45 ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); ...
gpl-3.0
Igdra/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/qm6.lua
14
1118
----------------------------------- -- Area: Phomiuna Aqueducts -- NPC: qm6 (???) -- Notes: Opens door @ J-8 from behind -- @pos 105.502 -25.262 57.138 27 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade)...
gpl-3.0
MakhofMan6032/farsi
libs/dateparser.lua
502
6212
local difftime, time, date = os.difftime, os.time, os.date local format = string.format local tremove, tinsert = table.remove, table.insert local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable local dateparser={} --we shall use the host OS's...
gpl-2.0
Igdra/darkstar
scripts/globals/items/fudgy-wudge.lua
18
1187
----------------------------------------- -- ID: 5920 -- Item: Fudgy-wudge -- Food Effect: 3 Min, All Races ----------------------------------------- -- Intelligence 1 -- Speed 12.5% ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
Igdra/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Dwago.lua
17
1283
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Dwago -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); require("scripts/gl...
gpl-3.0
kjl2y/darkstar
scripts/globals/items/meatloaf_+1.lua
18
1400
----------------------------------------- -- ID: 5690 -- Item: Meatloaf +1 -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Needs verification -- Strength 6 -- Agility 2 -- Intelligence -2 -- Attack 25% Cap 85 ----------------------------------------- require("scripts/globals/status"...
gpl-3.0
kjl2y/darkstar
scripts/zones/Upper_Jeuno/npcs/Rhea_Myuliah.lua
13
2499
----------------------------------- -- Area: Upper Jeuno -- NPC: Rhea Myuliah -- Type: Standard NPC -- @zone: 244 -- @pos -56.220 -1 101.805 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ---------------...
gpl-3.0
kjl2y/darkstar
scripts/globals/abilities/alacrity.lua
27
1125
----------------------------------- -- Ability: Alacrity -- Reduces the casting and the recast time of your next black magic spell by 50%. -- Obtained: Scholar Level 25 -- Recast Time: Stratagem Charge -- Duration: 1 black magic spell or 60 seconds, whichever occurs first. -- -- Level |Charges |Recharge Time per Char...
gpl-3.0
kjl2y/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/Treasure_Chest.lua
13
3257
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Treasure Chest -- @zone 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/treasure")...
gpl-3.0
kjl2y/darkstar
scripts/zones/FeiYin/npcs/Dry_Fountain.lua
13
1447
----------------------------------- -- Area: FeiYin -- NPC: Dry Fountain -- Involved In Quest: Peace for the Spirit -- @pos -17 -16 71 204 ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts...
gpl-3.0
kjl2y/darkstar
scripts/zones/Gusgen_Mines/npcs/Clay.lua
13
1209
----------------------------------- -- Area: Gusgen Mines -- NPC: Clay -- Involved in Quest: A Potter's Preference -- @pos 117 -21 432 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scr...
gpl-3.0
kjl2y/darkstar
scripts/zones/Konschtat_Highlands/npcs/Shattered_Telepoint.lua
27
2345
----------------------------------- -- Area: Konschtat Highlands -- NPC: Shattered telepoint -- @pos 135 19 220 108 ----------------------------------- package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Kon...
gpl-3.0
ajweeks/FlexEngine
scripts/genie.lua
1
7718
-- -- NOTES: -- - DLLs should be built using the -- - Multi-threaded Debug DLL flag (/MDd) in debug -- - Multi-threaded DLL flag (/MD) in release -- PROJECT_DIR = path.getabsolute("..") SOURCE_DIR = path.join(PROJECT_DIR, "FlexEngine/") DEPENDENCIES_DIR = path.join(SOURCE_DIR, "dependencies/") solutio...
mit
PhoNoTheSky/cursed-exp
prototypes/entities/cursed-fisher.lua
1
1210
for i = 1, datos.maxfisher do local obj = util.table.deepcopy(data.raw["offshore-pump"]["offshore-pump"]) obj.name = "cursed-fisher-" .. i obj.icon = "__Cursed-Exp-Remake__/graphics/icons/fisher/cursed-fisher.png" obj.flags = {"placeable-player", "not-repairable", "breaths-air"} obj.minable.result = "cursed-fishe...
mit
kjl2y/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Elysia.lua
13
2383
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Elysia -- Starts Quest: Unforgiven -- @zone 26 -- @pos -50.410 -22.204 -41.640 ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs") require("script...
gpl-3.0
Igdra/darkstar
scripts/zones/Cape_Teriggan/npcs/Field_Manual.lua
29
1059
----------------------------------- -- Area: Cape Teriggan -- Type: Field Manual ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onTrigger Action ------------------------------...
gpl-3.0
Igdra/darkstar
scripts/globals/items/serving_of_black_pudding.lua
18
1571
----------------------------------------- -- ID: 5552 -- Item: Serving of Black Pudding -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +8 -- MP +5% Cap 25 -- Intelligence +4 -- HP Recovered while healing +1 -- MP Recovered while healing +1 ------------------------...
gpl-3.0
mybios/angle
samples/preload/tools/socket.lua
1
4584
----------------------------------------------------------------------------- -- LuaSocket helper module -- Author: Diego Nehab -- RCS ID: $Id: socket.lua,v 1.22 2005/11/22 08:33:29 diego Exp $ ----------------------------------------------------------------------------- -----------------------------------------------...
bsd-3-clause
Igdra/darkstar
scripts/zones/Crawlers_Nest_[S]/Zone.lua
5
1354
----------------------------------- -- -- Zone: Crawlers_Nest_[S] (171) -- ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Crawlers_Nest_[S]/TextIDs"); -----------------...
gpl-3.0
Igdra/darkstar
scripts/globals/abilities/pets/zantetsuken.lua
26
1368
--------------------------------------------------- -- Zantetsuken --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); --------------------------------------------------...
gpl-3.0
Igdra/darkstar
scripts/zones/The_Garden_of_RuHmet/npcs/_0zu.lua
30
1094
----------------------------------- -- Area: The Garden of Ru'Hmet -- NPC: particle gate ----------------------------------- require("scripts/globals/keyitems"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ---------------------...
gpl-3.0
tontyoutoure/DOTA2-AI-Fun
game/dota_addons/dota2_ai_fun/scripts/vscripts/libraries/animations.lua
1
12120
ANIMATIONS_VERSION = "1.00" --[[ Lua-controlled Animations Library by BMD Installation -"require" this file inside your code in order to gain access to the StartAnmiation and EndAnimation global. -Additionally, ensure that this file is placed in the vscripts/libraries path and that the vscripts/libraries/modifier...
mit
festevezga/ToME---t-engine4
game/engines/default/engine/GameEnergyBased.lua
3
5124
-- 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/tachi_hobaku.lua
18
1569
----------------------------------- -- Tachi Hobaku -- Great Katana weapon skill -- Skill Level: 30 -- Stuns enemy. Chance of stun varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Snow Gorget. -- Aligned with the Snow Belt. -- Element: None -- Modifiers: STR:60% -- 100%TP 200%TP 300%TP -- 1.00...
gpl-3.0
mohammad4g/woomo
plugins/plugins.lua
64
6122
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists( ...
gpl-2.0
Noneatme/iLife-SA
server/Classes/Special/cSlotmachine.lua
1
14511
--[[ /////// ////////////////// /////// PROJECT: MTA iLife - German Fun Reallife Gamemode /////// VERSION: 1.7.2 /////// DEVELOPERS: See DEVELOPERS.md in the top folder /////// LICENSE: See LICENSE.md in the top folder /////// ///////////////// ]] -- ####################################### -- ## Project: MTA S...
mit
festevezga/ToME---t-engine4
game/modules/tome/data/gfx/particles/breath_shadow.lua
3
2483
-- 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
mahdibagheri/MAHDIMMB
bot/bot.lua
3
7106
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '0.14.6' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then r...
gpl-2.0
festevezga/ToME---t-engine4
game/modules/tome/data/gfx/particles/blood.lua
3
1219
-- 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
lordzen/groink
selib/urllib.lua
2
1412
-- Copyright (c) Denatured Ethyl Crew -- -- This file is part of GroinK. -- -- GroinK 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/abilities/aspir_samba_ii.lua
26
1430
----------------------------------- -- Ability: Aspir Samba II -- Inflicts the next target you strike with Aspir daze, allowing all those engaged in battle with it to drain its MP. -- Obtained: Dancer Level 60 -- Recast Time: 1:00 -- TP Cost: 25% -- Duration: 1:30 ----------------------------------- require("scripts/g...
gpl-3.0
mahdibagheri/mmb
plugins/isX.lua
605
2031
local https = require "ssl.https" local ltn12 = require "ltn12" local function request(imageUrl) -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local api_key = mashape.api_key if ...
gpl-2.0
l0k1/naev
dat/missions/shark/sh06_arandon.lua
1
4322
--[[ This is the seventh mission of the Shark's teeth campaign. The player has to meet the FLF in Arandon. Stages : 0) Way to Arandon 1) Way back to Darkshed --]] include "numstring.lua" title = {} text = {} osd_msg = {} npc_desc = {} bar_desc = {} title[1] = _("Let's go") text[1] = _([["Is your ship ...
gpl-3.0
Igdra/darkstar
scripts/globals/items/slice_of_karakul_meat.lua
18
1341
----------------------------------------- -- ID: 5571 -- Item: Slice of Karakul Meat -- Effect: 5 Minutes, food effect, Galka Only ----------------------------------------- -- Strength +2 -- Intelligence -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------...
gpl-3.0
Igdra/darkstar
scripts/zones/Maze_of_Shakhrami/npcs/Ahko_Mhalijikhari.lua
14
2050
----------------------------------- -- Area: Maze of Shakhrami -- NPC: Ahko Mhalijikhari -- Type: Quest NPC -- @pos -344.617 -12.226 -166.233 198 -- 0x003d 0x003e 0x003f 0x0040 0x0041 ----------------------------------- package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil; --------------------------...
gpl-3.0
Igdra/darkstar
scripts/globals/bluemagic.lua
3
14351
require("scripts/globals/status") require("scripts/globals/magic") BLUE_SKILL = 43; -- The type of spell. SPELLTYPE_PHYSICAL = 0; SPELLTYPE_MAGICAL = 1; SPELLTYPE_RANGED = 2; SPELLTYPE_BREATH = 3; SPELLTYPE_DRAIN = 4; SPELLTYPE_SPECIAL = 5; -- The TP modifier TPMOD_NONE = 0; TPMOD_CRITICAL = 1; TPMOD_DAMAGE = 2; TPM...
gpl-3.0
kjl2y/darkstar
scripts/zones/La_Theine_Plateau/npcs/Narvecaint.lua
13
1768
----------------------------------- -- Area: La Theine Plateau -- NPC: Narvecaint -- Involved in Mission: The Rescue Drill -- @pos -263 22 129 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"...
gpl-3.0
kjl2y/darkstar
scripts/globals/spells/absorb-acc.lua
17
1333
-------------------------------------- -- Spell: Absorb-ACC -- Steals an enemy's accuracy. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast -----------------...
gpl-3.0
Igdra/darkstar
scripts/globals/spells/absorb-str.lua
17
1368
-------------------------------------- -- Spell: Absorb-STR -- Steals an enemy's strength. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------...
gpl-3.0
seem-sky/fceuxd
output/luaScripts/Multitrack2.lua
3
43373
-- Multitrack v2 for FCEUX by FatRatKnight -- Recent addition: Experimental save. Same format as in .fm2 -- Did not include support to not have it trigger on script exit. Sorry... -- Additionally, there's no *loading* mechanism in this script. Eh... --*************** local players= 2 -- You may tweak the nu...
gpl-2.0
marth8880/MEUScripts
ME5/kas2n_con.lua
1
10279
ReadDataFile("..\\..\\addon\\ME5\\data\\_LVL_PC\\master.lvl") -- -- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved. -- -- load the gametype script ScriptCB_DoFile("ME5_Master") ScriptCB_DoFile("ME5_setup_teams") ScriptCB_DoFile("ME5_ObjectiveConquest") -- Create a new MapManager object manag...
bsd-3-clause
kjl2y/darkstar
scripts/zones/Bastok_Markets/npcs/Degenhard.lua
25
2118
----------------------------------- -- Area: Bastok Markets -- NPC: Degenhard -- Starts & Ends Quest: The Bare Bones -- Involved in Quests: Beat Around the Bushin -- @zone 235 -- @pos -175 2 -135 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; -------------------------...
gpl-3.0
AndrewTsao/luvit
lib/luvit/dns.lua
2
3281
--[[ Copyright 2012 The Luvit Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
apache-2.0
kjl2y/darkstar
scripts/zones/Lower_Jeuno/npcs/Biora.lua
13
1038
----------------------------------- -- Area: Lower Jeuno -- NPC: Biora -- Type: Map Viewer -- @zone: 245 -- @pos -28.768 -2 -11.300 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; --------------------------...
gpl-3.0
kjl2y/darkstar
scripts/zones/Kuftal_Tunnel/mobs/Recluse_Spider.lua
14
1073
----------------------------------- -- Area: Kuftal Tunnel -- MOB: Recluse Spider -- Note: Place Holder for Arachne ----------------------------------- require("scripts/globals/groundsofvalor"); require("scripts/zones/Kuftal_Tunnel/MobIDs"); ----------------------------------- -- onMobDeath -------------------------...
gpl-3.0
festevezga/ToME---t-engine4
game/modules/tome/data/talents/uber/dex.lua
3
9630
-- 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/mobskills/Vitriolic_spray.lua
33
1046
--------------------------------------------- -- Vitriolic Spray -- Family: Wamouracampa -- Description: Expels a caustic stream at targets in a fan-shaped area of effect. Additional effect: Burn -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadow -- Range: Cone -- Notes: Burn is 10-30/tic ------------------...
gpl-3.0
kjl2y/darkstar
scripts/globals/items/broiled_carp.lua
18
1273
----------------------------------------- -- ID: 4586 -- Item: Broiled Carp -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 2 -- Mind -1 -- Ranged ATT % 14 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- ...
gpl-3.0
Igdra/darkstar
scripts/globals/pets.lua
20
35107
----------------------------------- -- -- PETS ID -- ----------------------------------- ----------------------------------- -- PETTYPE ----------------------------------- PETTYPE_AVATAR = 0; PETTYPE_WYVERN = 1; PETTYPE_JUGPET = 2; PETTYPE_CHARMED_MOB = 3; PETTYPE_AUTOMATON ...
gpl-3.0
l0k1/naev
dat/missions/neutral/cargo.lua
4
4752
--[[ -- These are regular cargo delivery missions. Pay is low, but so is difficulty. -- Most of these missions require BULK ships. Not for small ships! --]] include "dat/scripts/cargo_common.lua" include "dat/scripts/numstring.lua" misn_desc = _("%s in the %s system needs a delivery of %d tons of %s.") misn_rew...
gpl-3.0
Igdra/darkstar
scripts/zones/West_Ronfaure/npcs/Field_Manual.lua
30
1055
----------------------------------- -- Area: West Ronfaure -- NPC: Field Manual ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onTrigger Action --------------------------...
gpl-3.0
kjl2y/darkstar
scripts/zones/Norg/npcs/Gilgamesh.lua
13
2451
----------------------------------- -- Area: Norg -- NPC: Gilgamesh -- @pos 122.452 -9.009 -12.052 252 ----------------------------------- require("scripts/globals/missions"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) if (pl...
gpl-3.0
festevezga/ToME---t-engine4
game/modules/tome/data/talents/psionic/dreaming.lua
3
9472
-- 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
Noneatme/iLife-SA
client/Classes/Hud/cHudComponent_Netstats.lua
1
3812
--[[ /////// ////////////////// /////// PROJECT: MTA iLife - German Fun Reallife Gamemode /////// VERSION: 1.7.2 /////// DEVELOPERS: See DEVELOPERS.md in the top folder /////// LICENSE: See LICENSE.md in the top folder /////// ///////////////// ]] -- ####################################### -- ## Project: HUD ...
mit
Zet0rz/nzombies
gamemodes/nzombies/entities/entities/sent_grenade_frag/init.lua
2
7903
AddCSLuaFile( "shared.lua" ) include( 'shared.lua' ) include( 'outputs.lua' ) FRAG_GRENADE_BLIP_FREQUENCY = 1.0 FRAG_GRENADE_BLIP_FAST_FREQUENCY = 0.3 FRAG_GRENADE_GRACE_TIME_AFTER_PICKUP = 1.5 FRAG_GRENADE_WARN_TIME = 1.5 GRENADE_COEFFICIENT_OF_RESTITUTION = 0.2; local sk_plr_dmg_fraggrenade = 100 local sk_npc...
gpl-3.0
Murloc992/TBCBackporting
Jamba/Jamba/Libs/AceGUI-3.0/widgets/AceGUIWidget-ScrollFrame.lua
2
7165
local AceGUI = LibStub("AceGUI-3.0") -- Lua APIs local pairs, assert, type = pairs, assert, type local min, max, floor = math.min, math.max, math.floor -- WoW APIs local CreateFrame, UIParent = CreateFrame, UIParent ------------- -- Widgets -- ------------- --[[ Widgets must provide the following functions Acqui...
gpl-3.0
MonokuroInzanaito/ygopro-777DIY
expansions/script/c37564033.lua
1
3039
--舰队-吹雪改二 local m=37564033 local cm=_G["c"..m] function cm.initial_effect(c) aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_WATER),4,3) c:EnableReviveLimit() local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(37564033,0)) e1:SetCategory(CATEGORY_POSITION) e1:SetType(EFFECT_TYP...
gpl-3.0
MonokuroInzanaito/ygopro-777DIY
expansions/script/c33700157.lua
1
1123
--甜蜜间者 function c33700157.initial_effect(c) --lp local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_RECOVER) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetRange(LOCATION_HAND) e1:SetCost(c33700157.cost) e1:SetCode(EVENT_DRAW) e1:SetCountLimit(1,33700157) e1:SetCondition(c33700157.con) e1:Set...
gpl-3.0
codebrainz/geany
data/filedefs/filetypes.lua
16
3769
# For complete documentation of this file, please see Geany's main documentation [styling] # Edit these in the colorscheme .conf file instead default=default comment=comment commentline=comment_line commentdoc=comment_line_doc number=number_1 word=keyword_1 string=string_1 character=character literalstring=string_2 pre...
gpl-2.0
waterlgndx/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Great_Axe.lua
7
1153
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Animated Great Axe ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- function onMobEngaged(mob,target) if (mob:AnimationSub() == 3) t...
gpl-3.0
will4wachter/Project1
scripts/globals/weaponskills/evisceration.lua
6
1377
----------------------------------- -- Evisceration -- Dagger weapon skill -- Skill level: 230 -- In order to obtain Evisceration, the quest Cloak and Dagger must be completed. -- Delivers a fivefold attack. Chance of params.critical hit varies with TP. -- Will stack with Sneak Attack. -- Aligned with the...
gpl-3.0
ryanli/vlc
share/lua/playlist/vimeo.lua
5
3799
--[[ $Id$ Copyright © 2009 the VideoLAN team Authors: Konstantin Pavlov (thresh@videolan.org) 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 opt...
gpl-2.0
davidedmonds/darkstar
scripts/zones/Port_Bastok/npcs/Qiji.lua
36
2002
----------------------------------- -- Area: Port Bastok -- NPC: Qiji -- Starts & Ends Quest: Forever to Hold ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests")...
gpl-3.0
MonokuroInzanaito/ygopro-777DIY
expansions/script/c18750411.lua
1
3642
--神王圣宫 奈津露 function c18750411.initial_effect(c) --pendulum summon aux.EnablePendulumAttribute(c,false) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --swap1 local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(4239451,0)...
gpl-3.0
waterlgndx/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/TextIDs.lua
2
1996
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6381 -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6385 -- You cannot obtain the <item>. Try trading again after sorting your inventory. ITEM_OBTAINED = 6387 -- ...
gpl-3.0
kidaa/darkstar
scripts/globals/items/bowl_of_witch_stew.lua
35
1461
----------------------------------------- -- ID: 4344 -- Item: witch_stew -- Food Effect: 4hours, All Races ----------------------------------------- -- Magic Points 45 -- Strength -1 -- Mind 4 -- MP Recovered While Healing 4 -- Enmity -4 ----------------------------------------- require("scripts/globals/s...
gpl-3.0
lhog/Zero-K
units/factoryhover.lua
4
3006
return { factoryhover = { unitname = [[factoryhover]], name = [[Hovercraft Platform]], description = [[Produces Hovercraft]], acceleration = 0, brakeRate = 0, buildCostMetal = Shared.FACTORY_C...
gpl-2.0
davidedmonds/darkstar
scripts/globals/items/bowl_of_cursed_soup.lua
35
1602
----------------------------------------- -- ID: 4235 -- Item: Bowl of Cursed Soup -- Food Effect: 180Min, All Races ----------------------------------------- -- Strength -7 -- Dexterity -7 -- Agility -7 -- Vitality -7 -- Intelligence -7 -- Mind -7 -- Charisma -7 ----------------------------------------- ...
gpl-3.0
MonokuroInzanaito/ygopro-777DIY
expansions/script/c80006024.lua
1
2293
--背华 十六夜 function c80006024.initial_effect(c) local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) e1:SetCountLimit(1,80006024+EFFECT_COUNT_CODE_OATH) e1:SetOperation(c80006024.activate) ...
gpl-3.0
MonokuroInzanaito/ygopro-777DIY
expansions/script/c18707708.lua
1
2804
--处女 立华奏 function c18707708.initial_effect(c) --lv up local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(18707707,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetOperation(c18707708.op) c:RegisterEffect(e1) --spsummon from hand local e2=Effect.CreateEffec...
gpl-3.0
will4wachter/Project1
scripts/zones/North_Gustaberg/npcs/Butsutsu_WW.lua
8
2946
----------------------------------- -- Area: North Gustaberg -- NPC: Butsutsu, W.W. -- Type: Border Conquest Guards -- @pos -520.704 38.75 560.258 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conques...
gpl-3.0
waterlgndx/darkstar
scripts/zones/Bastok_Mines/npcs/Babenn.lua
2
1972
----------------------------------- -- Area: Bastok Mines -- NPC: Babenn -- Finishes Quest: The Eleventh's Hour -- Involved in Quests: Riding on the Clouds -- !pos 73 -1 34 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("s...
gpl-3.0
kidaa/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Pebul-Tabul.lua
38
1048
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Pebul-Tabul -- Type: Standard NPC -- @zone: 94 -- @pos -68.500 -4.5 3.694 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; -...
gpl-3.0
lhog/Zero-K
LuaRules/Gadgets/cmd_onoff.lua
7
5403
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- if not gadgetHandler:IsSyncedCode() then return end -------------------------------------------------------------------------------- ------------------------...
gpl-2.0
davidedmonds/darkstar
scripts/globals/items/fuscina.lua
41
1095
----------------------------------------- -- ID: 18104 -- Item: Fuscina -- Additional Effect: Lightning Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -------------------------------...
gpl-3.0
dani-sj/evilboot
plugins/invite.lua
1111
1195
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
MonokuroInzanaito/ygopro-777DIY
expansions/script/c33700166.lua
1
2234
--轮回轮舞轮次轮回 function c33700166.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --damage local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(33700166,0)) e2:SetCategory(CATEGORY_DAMAGE) e2:SetType(EFFECT...
gpl-3.0
waterlgndx/darkstar
scripts/globals/items/rogue_rice_ball.lua
2
1061
----------------------------------------- -- ID: 4604 -- Item: Rogue Rice Ball -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +12 -- Vit +3 -- hHP +2 -- Effect with enhancing equipment (Note: these are latents on gear with the effect) -- Def +50 -- Beast Killer (guesstimated 5%) ------...
gpl-3.0
MonokuroInzanaito/ygopro-777DIY
expansions/script/c66666625.lua
1
1287
--圣星百合 function c66666625.initial_effect(c) local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c66666625.target) e1:SetOperation(c66666625.activate) c:RegisterEffect(e1) local e2=Effect.CreateEffect(c) e2:Se...
gpl-3.0
will4wachter/Project1
scripts/zones/LaLoff_Amphitheater/bcnms/divine_might.lua
6
3589
----------------------------------- -- Area: LaLoff Amphitheater -- Name: Divine Might ----------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ------------------------------------- require("scripts/zones/LaLoff_Amphitheater/TextIDs"); require("scripts/globals/missions"); ...
gpl-3.0
davidedmonds/darkstar
scripts/globals/items/bowl_of_zesti_zoni.lua
36
1605
----------------------------------------- -- ID: 5619 -- Item: Bowl of Zesti Zoni -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- HP 10 -- MP 10 -- Strength 1 -- Dexterity 1 -- Vitality 1 -- Agility 1 -- MP Recovered while healing 1 -- HP Recovered while healing 1 -------------------------...
gpl-3.0
davidedmonds/darkstar
scripts/zones/La_Theine_Plateau/npcs/qm2.lua
17
1844
----------------------------------- -- Area: La Theine Plateau -- NPC: ??? (qm2) -- Involved in Quest: HITTING_THE_MARQUISATE (THF AF3) ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); ...
gpl-3.0
iGhibli/FlyingGame
FlyingGame/src/framework/cc/components/ui/DraggableProtocol.lua
20
1214
local Component = cc.Component local DraggableProtocol = class("DraggableProtocol", Component) function DraggableProtocol:ctor() DraggableProtocol.super.ctor(self, "DraggableProtocol") end function DraggableProtocol:setDraggableEnable(bEnable) if bEnable then self.target_:setTouchEnabled(true) self.target_:add...
gpl-3.0
will4wachter/Project1
scripts/globals/effects/int_down.lua
19
1095
----------------------------------- -- -- EFFECT_INT_DOWN -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if((target:getStat(MOD_INT) - effect...
gpl-3.0
lhog/Zero-K
units/turretantiheavy.lua
1
4342
return { turretantiheavy = { unitname = [[turretantiheavy]], name = [[Lucifer]], description = [[Tachyon Projector - Requires connection to a 50 energy grid]], activateWhenBuilt = true, buildCostMetal = 2200, builder ...
gpl-2.0
MonokuroInzanaito/ygopro-777DIY
expansions/script/c75646127.lua
1
4737
--Stella-星蝶 function c75646127.initial_effect(c) c:SetUniqueOnField(1,0,75646127) --synchro summon aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x62c3),aux.NonTuner(nil),1) c:EnableReviveLimit() --Damage local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_IG...
gpl-3.0
kidaa/darkstar
scripts/zones/Northern_San_dOria/npcs/Rodaillece.lua
38
1029
----------------------------------- -- Area: Northern San d'Oria -- NPC: Rodaillece -- Type: Standard Dialogue NPC -- @zone: 231 -- @pos -246.943 7.000 46.836 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/TextIDs"...
gpl-3.0
will4wachter/Project1
scripts/zones/Beadeaux/npcs/Haggleblix.lua
19
7221
----------------------------------- -- Area: Beadeaux -- NPC: Haggleblix -- Type: Dynamis NPC -- @pos -255.847 0.595 106.485 147 ----------------------------------- package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/glo...
gpl-3.0
waterlgndx/darkstar
scripts/zones/Upper_Jeuno/npcs/Turlough.lua
2
1026
----------------------------------- -- Area: Upper Jeuno -- NPC: Turlough -- Mission NPC -- !pos ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/globals/quests"); require("s...
gpl-3.0
kidaa/darkstar
scripts/globals/spells/bluemagic/terror_touch.lua
9
2033
----------------------------------------- -- Spell: Terror Touch -- Additional effect: Weakens attacks. Accuracy varies with TP -- Spell cost: 62 MP -- Monster Type: Undead -- Spell Type: Physical (Blunt) -- Blue Magic Points: 3 -- Stat Bonus: HP-5 MP+10 -- Level: 40 -- Casting Time: 3.25 seconds -- Recast Ti...
gpl-3.0
kidaa/darkstar
scripts/zones/Kazham/npcs/Jakoh_Wahcondalo.lua
10
1672
----------------------------------- -- Area: Kazham -- NPC: Jakoh Wahcondalo -- @pos 101 -16 -115 250 ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Kazham/TextIDs"); -----------...
gpl-3.0
kidaa/darkstar
scripts/commands/npchere.lua
26
1372
--------------------------------------------------------------------------------------------------- -- func: @npchere <npcId> -- desc: Spawns an NPC and then moves it to the current position, if in same zone. -- Errors will despawn the mobID unless "noDepop" was specified (any value works). ------------------...
gpl-3.0
waterlgndx/darkstar
scripts/zones/Cloister_of_Storms/bcnms/trial-size_trial_by_lightning.lua
2
2571
----------------------------------- -- Area: Cloister of Storms -- BCNM: Trial by Lightning ----------------------------------- package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("scripts...
gpl-3.0