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
Arcscion/Shadowlyre
scripts/zones/Upper_Jeuno/npcs/Zekobi-Morokobi.lua
3
1051
----------------------------------- -- Area: Upper Jeuno -- NPC: Zekobi-Morokobi -- Type: Standard NPC -- @zone 244 -- !pos 41.258 -5.999 -74.105 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; -------------...
gpl-3.0
LouisK130/Orange-Cosmos-Roleplay
ocrp/entities/weapons/weapon_bat_ocrp/shared.lua
1
4379
if SERVER then SWEP.Weight = 5 SWEP.AutoSwitchTo = true SWEP.AutoSwitchFrom = true AddCSLuaFile( "shared.lua" ) end if CLIENT then SWEP.PrintName = "Baseball bat" SWEP.Slot = 0 SWEP.SlotPos = 0 SWEP.DrawAmmo = false SWEP.DrawCrosshair = false SWEP.DrawWeaponInfoBox = false SWEP.BounceWeapon...
mit
MRunFoss/skynet
service/sharedatad.lua
10
3028
local skynet = require "skynet" local sharedata = require "sharedata.corelib" local table = table local cache = require "skynet.codecache" cache.mode "OFF" -- turn off codecache, because CMD.new may load data file local NORET = {} local pool = {} local pool_count = {} local objmap = {} local function newobj(name, tbl...
mit
Arcscion/Shadowlyre
scripts/zones/Norg/npcs/Colleraie.lua
3
1040
----------------------------------- -- Area: Norg -- NPC: Colleraie -- Type: Event Scene Replayer -- @zone 252 -- !pos -24.684 0.097 -39.409 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ------------------------...
gpl-3.0
jono659/enko
scripts/zones/Northern_San_dOria/npcs/Prerivon.lua
38
1025
----------------------------------- -- Area: Northern San d'Oria -- NPC: Prerivon -- Type: Standard Dialogue NPC -- @zone: 231 -- @pos 142.324 0.000 132.515 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/TextIDs");...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/abilities/stay.lua
4
1400
----------------------------------- -- Ability: Stay -- Commands the Pet to stay in one place. -- Obtained: Beastmaster Level 15 -- Recast Time: 5 seconds -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/msg"); ---...
gpl-3.0
hfjgjfg/spammer5
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
rtsisyk/tarantool
test/box/schema_reload.test.lua
2
2943
box.schema.user.grant('guest', 'read,write,execute', 'universe') net_box = require('net.box') fiber = require('fiber') LISTEN = require('uri').parse(box.cfg.listen) -- create first space s = box.schema.create_space('test') i = s:create_index('primary') cn = net_box.connect(LISTEN.host, LISTEN.service) -- check that s...
bsd-2-clause
Arcscion/Shadowlyre
scripts/zones/Windurst_Waters/npcs/Tonana.lua
17
1124
----------------------------------- -- Area: Windurst Waters -- NPC: Tonana -- Warps players to Windurst Woods ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Windurst_Waters/TextIDs"); ----------------------...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Bibiki_Bay/mobs/Shen.lua
17
1234
----------------------------------- -- Area: Bibiki Bay -- MOB: Shen ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; ----------------------------------- -- onMobFight Action -------------------------------...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/spells/bluemagic/foot_kick.lua
35
1687
----------------------------------------- -- Spell: Foot Kick -- Deals critical damage. Chance of critical hit varies with TP -- Spell cost: 5 MP -- Monster Type: Beasts -- Spell Type: Physical (Slashing) -- Blue Magic Points: 2 -- Stat Bonus: AGI+1 -- Level: 1 -- Casting Time: 0.5 seconds -- Recast Time: 6.5 seconds -...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/items/party_egg.lua
12
1333
----------------------------------------- -- ID: 4595 -- Item: party_egg -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 25 -- Magic 25 -- Attack 5 -- Ranged Attack 4 ----------------------------------------- require("scripts/globals/status"); -------------------------------------...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/items/bibikibo.lua
12
1323
----------------------------------------- -- ID: 4314 -- Item: Bibikibo -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 1 -- Mind -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Yhoator_Jungle/npcs/Mintoo_IM.lua
3
3325
----------------------------------- -- Area: Yhoator Jungle -- NPC: Mintoo, I.M. -- Outpost Conquest Guards -- !pos 200.254 -1 -80.324 124 ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require(...
gpl-3.0
jono659/enko
scripts/zones/Carpenters_Landing/mobs/Birdtrap.lua
10
1307
----------------------------------- -- Area: Carpenters' Landing -- Mob: Birdtrap -- Note: Placeholder Orctrap ----------------------------------- require("/scripts/zones/Carpenters_Landing/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------- function onMo...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Windurst_Waters_[S]/npcs/Prucco-Lurucco.lua
3
1067
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Prucco-Lurucco -- Type: Standard NPC -- @zone 94 -- !pos 140.772 -3.499 132.942 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ni...
gpl-3.0
N0U/Zero-K
effects/trail_explosions.lua
25
1063
-- trail_huge0 return { ["trail_huge0"] = { fireball1 = { air = true, class = [[CSimpleParticleSystem]], count = 1, ground = true, underwater = 1, useairlos = true, water = true, pro...
gpl-2.0
Arcscion/Shadowlyre
scripts/zones/Windurst_Woods/npcs/Bin_Stejihna.lua
17
1853
----------------------------------- -- Area: Windurst_Woods -- NPC: Bin Stejihna -- Only sells when Windurst controlls Zulkheim Region -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Windurst_Wo...
gpl-3.0
jono659/enko
scripts/globals/items/konigskuchen.lua
35
1372
----------------------------------------- -- ID: 5614 -- Item: konigskuchen -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 8 -- Magic % 3 -- Magic Cap 13 -- Intelligence 2 ----------------------------------------- require("scripts/globals/status"); -----------------...
gpl-3.0
jono659/enko
scripts/globals/weaponskills/tachi_ageha.lua
30
1716
----------------------------------- -- Tachi Ageha -- Great Katana weapon skill -- Skill Level: 300 -- Lowers target's defense. Chance of lowering target's defense varies with TP. -- 30% Defense Down -- Duration of effect is exactly 3 minutes. -- Aligned with the Shadow Gorget, Soil Gorget. -- Aligned with the ...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Pashhow_Marshlands_[S]/npcs/Cavernous_Maw.lua
3
1434
----------------------------------- -- Area: Sauromugue Champaign -- NPC: Cavernous Maw -- !pos 418 25 27 90 -- Teleports Players to Pashhow_Marshlands ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
N0U/Zero-K
scripts/bomberprec.lua
3
7473
local base = piece 'base' local fuselage = piece 'fuselage' local wingl1 = piece 'wingl1' local wingr1 = piece 'wingr1' local wingl2 = piece 'wingl2' local wingr2 = piece 'wingr2' local engines = piece 'engines' local fins = piece 'fins' local rflap = piece 'rflap' local lflap = piece 'lflap' local predrop = p...
gpl-2.0
jono659/enko
scripts/zones/Carpenters_Landing/npcs/relic.lua
38
1857
----------------------------------- -- Area: Carpenter's Landing -- NPC: <this space intentionally left blank> -- @pos -99 -0 -514 2 ----------------------------------- package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Carpenters_Landing/TextI...
gpl-3.0
n1ghtmare/Algorithm-Implementations
Levenshtein_distance/Lua/Yonaba/levenshtein_test.lua
27
1499
-- Tests for levenshtein.lua local lev_iter = (require 'levenshtein').lev_iter local lev_recursive = (require 'levenshtein').lev_recursive local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total...
mit
hypnoscope/let-s-code-an-indie-game
episode_29/src/logic/rooms/map.lua
1
2058
local room = require("src.logic.rooms.room") local slime = require("src.mobs.slime") local magicPotion = require("src.pickups.magic_potion") local position = require("src.logic.position") local dungeonRoom = require("src.logic.rooms.floorplans.dungeon_room") local bridgeRoom = require("src.logic.rooms.floorplans.bridge...
mit
jono659/enko
scripts/zones/Al_Zahbi/npcs/Talhaal.lua
38
1028
----------------------------------- -- Area: Al Zahbi -- NPC: Talhaal -- Type: Zazarg's Attendant -- @zone: 48 -- @pos -35.897 -7 107.160 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ---------------------...
gpl-3.0
arcemu-ng/arcemu
src/scripts/lua/Lua/Stable Scripts/Azeroth/Karazhan/BOSS_Karazhan_Dorothee.lua
30
1308
-- TODO:Timer (3 seconds before goes into combat) ,enrage when tito is killed,check video when tito is summoned. function Dorothee_Water_Bolt(Unit, event, miscunit, misc) Unit:ClearThreatList() Unit:FullCastSpellOnTarget(31012,Unit:GetRandomPlayer()) end function Dorothee_Summon_Tito(Unit, event, miscunit, misc) pr...
agpl-3.0
jono659/enko
scripts/globals/items/dried_berry.lua
35
1210
----------------------------------------- -- ID: 5672 -- Item: dried_berry -- Food Effect: 3Min, All Races ----------------------------------------- -- Agility -3 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnI...
gpl-3.0
imanmafi/Algorithm-Implementations
Monty_Hall_Problem/Lua/Yonaba/monty_hall_test.lua
26
1603
-- Tests for monty_hall.lua local monty_hall = require 'monty_hall' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass = pass + 1 en...
mit
jono659/enko
scripts/zones/Spire_of_Dem/npcs/_0j2.lua
36
1313
----------------------------------- -- Area: Spire_of_Dem -- NPC: web of regret ----------------------------------- package.loaded["scripts/zones/Spire_of_Dem/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/zones/Spire_of_Dem/TextIDs"); ---------------...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Abyssea-Vunkerl/npcs/qm13.lua
3
1753
----------------------------------- -- Zone: Abyssea-Vunkerl -- NPC: qm13 (???) -- Spawns Bukhis -- !pos ? ? ? 217 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action ----------------------------------- fu...
gpl-3.0
jono659/enko
scripts/zones/Jugner_Forest/npcs/Cavernous_Maw_2.lua
29
1957
----------------------------------- -- Area: Jugner Forest -- NPC: Cavernous Maw -- @pos 246.318, -0.709, 5.706 104 -- Teleports Players to Abyssea - Vunkerl ----------------------------------- package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
jono659/enko
scripts/globals/weaponskills/Flash_Nova.lua
30
1392
----------------------------------- -- Skill level: 290 -- Delivers light elemental damage. Additional effect: Flash. Chance of effect varies with TP. -- Generates a significant amount of Enmity. -- Does not stack with Sneak Attack -- Aligned with Aqua Gorget. -- Aligned with Aqua Belt. -- Properties: -- Elemen...
gpl-3.0
N0U/Zero-K
LuaUI/Widgets/dbg_chili_inspector.lua
19
4320
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function widget:GetInfo() return { name = "ChiliInspector", desc = "", author = "", date = "2013", license = "GPLv2...
gpl-2.0
Arcscion/Shadowlyre
scripts/globals/quests.lua
20
45133
require("scripts/globals/log_ids"); ----------------------------------- -- Nation IDs ----------------------------------- NATION_SANDORIA = 0; NATION_BASTOK = 1; NATION_WINDURST = 2; ----------------------------------- -- -- QUESTS ID -- ----------------------------------- QUEST_AVAILABLE = 0; QUEST_ACCEPTED =...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/The_Eldieme_Necropolis/npcs/_5fc.lua
3
1246
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Titan's Gate -- !pos 260 -34 -71 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); requir...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Bastok_Mines/npcs/Mariadok.lua
59
1037
----------------------------------- -- Area: Bastok Mines -- NPC: Mariadok -- Type: Weather Reporter ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Bastok_Mines/TextIDs"); -...
gpl-3.0
jono659/enko
scripts/globals/items/san_dorian_carrot.lua
35
1200
----------------------------------------- -- ID: 4389 -- Item: san_dorian_carrot -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 2 -- Vitality -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- O...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Port_Jeuno/npcs/Omiro-Zamiro.lua
3
1371
----------------------------------- -- Area: Port Jeuno -- NPC: Omiro-Zamiro -- @zone 246 -- !pos 3 7 -54 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require(...
gpl-3.0
ircaspian/ircaspian
plugins/admin.lua
230
6382
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(rec...
gpl-2.0
jono659/enko
scripts/globals/spells/stoneskin.lua
10
1762
----------------------------------------- -- Spell: Stoneskin ----------------------------------------- -- http://wiki.ffxiclopedia.org/wiki/Stoneskin -- Max 350 damage absorbed require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ---...
gpl-3.0
markofu/scripts
nmap/nmap/nselib/isns.lua
3
15775
--- -- A minimal Internet Storage Name Service (iSNS) implementation -- -- @author "Patrik Karlsson <patrik@cqure.net>" -- local bin = require('bin') local bit = require('bit') local ipops = require('ipOps') local match = require('match') local nmap = require('nmap') local stdnse = require('stdnse') local tab ...
gpl-2.0
Arcscion/Shadowlyre
scripts/zones/Northern_San_dOria/npcs/Gilipese.lua
3
1039
----------------------------------- -- Area: Northern San d'Oria -- NPC: Gilipese -- Type: Standard Dialogue NPC -- @zone 231 -- !pos -155.088 0.000 120.300 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/TextIDs"); ...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/weaponskills/tornado_kick.lua
20
2045
------------------------------- -- Skill: Tornado Kick -- Class: H2H Weapon Skill -- Level: 225 -- Mods : STR:37.5% VIT:30% -- 100%TP 200%TP 300%TP -- 2.0x 2.75x 3.5x -- Delivers a twofold attack. Damage varies with TP. ----------------------------------- require("scripts/globals/status"); require("sc...
gpl-3.0
SentientTechnologies/thrift
lib/lua/TServer.lua
30
3992
-- -- 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
x79zeus79y/zeus
bot/bot.lua
1
6979
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") local f = assert(io.popen('/usr/bin/git describe --tags', 'r')) VERSION = assert(f:read('*a')) f:close() -- This function is ...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Sacrarium/npcs/qm7.lua
1
1818
----------------------------------- -- Area: Sacrarium -- NPC: qm7 (???) -- Notes: Used to spawn Old Prof. Mariselle -- !pos 22.669 -3.111 -127.318 28 ----------------------------------- package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Sacrarium/Tex...
gpl-3.0
jono659/enko
scripts/globals/mobskills/Throat_Stab.lua
6
1117
--------------------------------------------- -- Throat Stab -- -- Description: Deals damage to a single target reducing their HP to 5%. Resets enmity. -- Type: Physical -- Utsusemi/Blink absorb: No -- Range: Single Target -- Notes: Very short range, easily evaded by walking away from it. ----------------...
gpl-3.0
N0U/Zero-K
effects/gundam_beam_explosion.lua
26
1598
-- beam_explosion return { ["beam_explosion"] = { groundflash = { air = true, alwaysvisible = true, circlealpha = 0.5, circlegrowth = 10, circlesize = 10, flashalpha = 0.9, flashsize = 120, ground ...
gpl-2.0
jono659/enko
scripts/zones/Hazhalm_Testing_Grounds/Zone.lua
28
1351
----------------------------------- -- -- Zone: Hazhalm_Testing_Grounds (78) -- ----------------------------------- package.loaded["scripts/zones/Hazhalm_Testing_Grounds/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Hazhalm_Testing_Grounds/Tex...
gpl-3.0
jono659/enko
scripts/zones/Sea_Serpent_Grotto/npcs/Treasure_Coffer.lua
12
4308
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: Treasure Coffer -- @zone 176 -- @pos 184 18 -107 ----------------------------------- package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scr...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/LaLoff_Amphitheater/bcnms/divine_might.lua
2
3720
----------------------------------- -- 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
Arcscion/Shadowlyre
scripts/globals/items/persikos.lua
12
1182
----------------------------------------- -- ID: 4274 -- Item: persikos -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -7 -- Intelligence 5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ------...
gpl-3.0
jono659/enko
scripts/zones/North_Gustaberg/npcs/Quellebie_RK.lua
30
3059
----------------------------------- -- Area: North Gustaberg -- NPC: Quellebie, R.K. -- Type: Border Conquest Guards -- @pos -520.704 38.75 560.258 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conque...
gpl-3.0
NiLuJe/koreader-base
spec/unit/common_spec.lua
3
2111
package.path = "common/?.lua;" .. package.path package.cpath = "common/?.so;" .. package.cpath require("ffi_wrapper") local url = require("socket.url") local http = require("socket.http") local https = require("ssl.https") local buffer = require("string.buffer") local Blitbuffer = require("ffi/blitbuffer") describe("...
agpl-3.0
jono659/enko
scripts/zones/Upper_Delkfutts_Tower/TextIDs.lua
5
1129
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6414; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6417; -- Obtained: <item>. GIL_OBTAINED = 6418; -- Obtained <number> gil. KEYITEM_OBTAINED = 6420; -- Obtained...
gpl-3.0
jono659/enko
scripts/zones/Chateau_dOraguille/npcs/Perfaumand.lua
19
1642
----------------------------------- -- Area: Chateau d'Oraguille -- NPC: Perfaumand -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- @pos -39 -3 69 233 ----------------------------------- package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/abilities/scholars_roll.lua
3
2206
----------------------------------- -- Ability: Scholar's Roll -- Enhances Conserve MP effect for party members within area of effect -- Optimal Job: Scholar -- Lucky Number: 2 -- Unlucky Number: 6 -- Level: 64 -- -- Data unknown ----------------------------------- require("scripts/globals/settings"); require("scripts/...
gpl-3.0
zloidemon/tarantool-radius
src/radius.lua
1
7335
log = require('log') pickle = require('pickle') digest = require('digest') socket = require('socket') fiber = require('fiber') spaces = require('spaces') radius = { version = 0.1, port = { acct = 1813, auth = 1812, }, host = '0.0.0.0', -- Servers objects acct = nil, auth = nil, rp = require('rp'), } ...
bsd-2-clause
DemSquirrel/SquirrelHUD_V1
squirrelhud/cl_hud.lua
1
8685
--Base local function Base() draw.RoundedBox(5, 10, ScrH() -200 - 10, 400, 200, Color(40,40,40,250)) draw.RoundedBox(0, 20, ScrH() - 90 ,400-20, 30, Color(60,60,60,230)) local DrawHealth = LocalPlayer():Health() or 0 local EchoHealth = LocalPlayer():Health() or 0 if DrawHealth > 100 then DrawHealth =...
cc0-1.0
jono659/enko
scripts/zones/Southern_San_dOria/npcs/Coderiant.lua
36
1471
----------------------------------- -- Area: Southern San d'Oria -- NPC: Coderiant -- General Info NPC -- @zone 230 -- @pos -111 -2 33 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
Shekeen/wesnoth
data/ai/micro_ais/cas/ca_zone_guardian.lua
26
5275
local H = wesnoth.require "lua/helper.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" local LS = wesnoth.require "lua/location_set.lua" local function get_guardian(cfg) local filter = cfg.filter or { id = cfg.id } local guardian = AH.get_units_with_moves { side = wesnoth.current.side, { ...
gpl-2.0
Arcscion/Shadowlyre
scripts/zones/Silver_Sea_route_to_Al_Zahbi/npcs/Map.lua
3
1039
----------------------------------- -- Area: Silver_Sea_route_to_Al_Zahbi -- NPC: Map -- !pos 0.340 -12.232 -4.120 58 ----------------------------------- package.loaded["scripts/zones/Silver_Sea_route_to_Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Silver_Sea_route_to_Al_Zahbi/...
gpl-3.0
Cyumus/GarryWare13
gamemode/wareminigames/musicalchairs.lua
1
3938
WARE.Author = "Hurricaaane (Ha3)" WARE.Room = "empty" WARE.MaxSpeed = 320 WARE.Models = { "models/vehicles/prisoner_pod_inner.mdl", "models/combine_helicopter/helicopter_bomb01.mdl" } function WARE:GetModelList() return self.Models end function WARE:IsPlayable() if team.NumPlayers(TEAM_HUMANS) >= 2 then return ...
gpl-2.0
Arcscion/Shadowlyre
scripts/zones/Temenos/bcnms/temenos_northern_tower.lua
35
1173
----------------------------------- -- Area: Temenos -- Name: ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/keyitems"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[Temenos_N_Tower]UniqueID",G...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/weaponskills/upheaval.lua
24
1571
----------------------------------- -- Upheaval -- Great Axe weapon skill -- Skill Level: 357 -- Delivers a four-hit attack. Damage varies with TP. -- In order to obtain Upheaval, the quest Martial Mastery must be completed. -- Aligned with Flame Gorget, Light Gorget & Shadow Gorget. -- Aligned with Flame Belt, Light B...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/King_Ranperres_Tomb/npcs/_5a0.lua
3
2507
----------------------------------- -- Area: King Ranperre's Tomb -- DOOR: _5a0 (Heavy Stone Door) -- !pos -39.000 4.823 20.000 190 ----------------------------------- package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("sc...
gpl-3.0
jono659/enko
scripts/globals/spells/dia_ii.lua
8
2061
----------------------------------------- -- Spell: Dia II -- Lowers an enemy's defense and gradually deals light elemental damage. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); -----------------------------...
gpl-3.0
N0U/Zero-K
LuaUI/Widgets/unit_comm_nametags.lua
9
7720
-- $Id: unit_comm_nametags.lua 3240 2008-11-17 10:48:13Z carrepairer $ local versionNumber = "1.72" function widget:GetInfo() return { name = "Commander Name Tags ", desc = versionNumber .." Displays a name tag above each commander.", author = "Evil4Zerggin and CarRepairer", date = ...
gpl-2.0
marvinkopf/cuberite
Server/Plugins/APIDump/Hooks/OnPostCrafting.lua
36
1584
return { HOOK_POST_CRAFTING = { CalledWhen = "After the built-in recipes are checked and a recipe was found.", DefaultFnName = "OnPostCrafting", -- also used as pagename Desc = [[ This hook is called when a {{cPlayer|player}} changes contents of their {{cCraftingGrid|crafting grid}}, after the recipe has...
apache-2.0
jono659/enko
scripts/zones/Norg/npcs/Ryoma.lua
17
3871
----------------------------------- -- Area: Norg -- NPC: Ryoma -- Start and Finish Quest: 20 in Pirate Years, I'll Take the Big Box, True Will -- Involved in Quest: Ayame and Kaede -- @pos -23 0 -9 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; --------------------...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Lufaise_Meadows/mobs/Splinterspine_Grukjuk.lua
23
1100
----------------------------------- -- Area: Lufaise Meadows (24) -- MOB: Splinterspine_Grukjuk ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Lufaise_Meadows/TextIDs"); require("scripts/globals/quests"); --...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/spells/bluemagic/helldive.lua
35
1670
----------------------------------------- -- Spell: Helldive -- Damage varies with TP -- Spell cost: 16 MP -- Monster Type: Birds -- Spell Type: Physical (Blunt) -- Blue Magic Points: 2 -- Stat Bonus: CHR+1, HP+5 -- Level: 16 -- Casting Time: 0.5 seconds -- Recast Time: 11.25 seconds -- Skillchain Property: Transfixion...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/spells/sheepfoe_mambo.lua
5
1579
----------------------------------------- -- Spell: Sheepfoe Mambo -- Grants evasion bonus to all members. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return ...
gpl-3.0
jono659/enko
scripts/globals/items/bowl_of_riverfin_soup.lua
36
1822
----------------------------------------- -- ID: 6069 -- Item: Bowl of Riverfin Soup -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- Accuracy % 14 Cap 90 -- Ranged Accuracy % 14 Cap 90 -- Attack % 18 Cap 80 -- Ranged Attack % 18 Cap 80 -- Amorph Killer 5 -----------------------------------...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Open_sea_route_to_Mhaura/Zone.lua
17
1488
----------------------------------- -- -- Zone: Open_sea_route_to_Mhaura (47) -- ----------------------------------- package.loaded["scripts/zones/Open_sea_route_to_Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Open_sea_route_to_Mhaura/TextIDs"); --------------------------------...
gpl-3.0
jono659/enko
scripts/zones/The_Eldieme_Necropolis/npcs/_5f6.lua
34
1105
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Odin's Gate -- @pos 260 -34 110 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs");...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/items/choco-ligar.lua
12
1197
----------------------------------------- -- ID: 5919 -- Item: Choco-ligar -- Food Effect: 3 Min, All Races ----------------------------------------- -- Vitality 1 -- Speed 12.5% ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0
Shekeen/wesnoth
data/campaigns/tutorial/lua/character_selection.lua
22
2203
-- #textdomain wesnoth-tutorial -- Allows the player to choose whether they want to play Konrad or Li’sar -- for the tutorial local helper = wesnoth.require "lua/helper.lua" local T = helper.set_wml_tag_metatable {} local wml_actions = wesnoth.wml_actions local _ = wesnoth.textdomain "wesnoth-tutorial" function wml_...
gpl-2.0
Arcscion/Shadowlyre
scripts/globals/abilities/pets/attachments/smoke_screen.lua
4
1095
----------------------------------- -- Attachment: Smoke Screen ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onUseAbility ----------------------------------- function onEquip(pet) pet:addMod(MOD_EVA, 20); pet:addMod(MOD_ACC, -20); end function...
gpl-3.0
abbasgh12345/extreme0
plugins/add_bot.lua
189
1492
--[[ Bot can join into a group by replying a message contain an invite link or by typing !add [invite link]. URL.parse cannot parsing complicated message. So, this plugin only works for single [invite link] in a post. [invite link] may be preceeded but must not followed by another characters. --]] do local function...
gpl-2.0
aminsa2000/appfreebazar
plugins/add_bot.lua
189
1492
--[[ Bot can join into a group by replying a message contain an invite link or by typing !add [invite link]. URL.parse cannot parsing complicated message. So, this plugin only works for single [invite link] in a post. [invite link] may be preceeded but must not followed by another characters. --]] do local function...
gpl-2.0
Arcscion/Shadowlyre
scripts/zones/Port_Windurst/npcs/Breanainn.lua
3
1036
----------------------------------- -- Area: Port Windurst -- NPC: Breanainn -- @zone 240 -- !pos 212 -6 96 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Port_Windurst/Tex...
gpl-3.0
spawnazzo/luci
modules/rpc/luasrc/jsonrpcbind/uci.lua
81
1914
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> 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 ht...
apache-2.0
imanmafi/Algorithm-Implementations
Run_Length_Encoding/Lua/Yonaba/rle_test.lua
26
1931
-- Tests for rle.lua local rle = require 'rle' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass = pass + 1 end local status = ok...
mit
Arcscion/Shadowlyre
scripts/zones/Kazham/npcs/Ghosa_Demuhzo.lua
17
1071
----------------------------------- -- Area: Kazham -- NPC: Ghosa Demuhzo -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- f...
gpl-3.0
n1ghtmare/Algorithm-Implementations
Linear_Search/Lua/Yonaba/linear_search_test.lua
26
2059
-- Tests for linear_search.lua local search = require 'linear_search' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass = pass + 1 ...
mit
francisleunggie/openface
training/attic/test-hardNeg.lua
8
6898
-- Copyright 2015-2016 Carnegie Mellon University -- -- 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 ...
apache-2.0
jono659/enko
scripts/zones/Rolanberry_Fields_[S]/npcs/Cavernous_Maw.lua
13
1434
----------------------------------- -- Area: Sauromugue Champaign -- NPC: Cavernous Maw -- @pos -198 8 360 91 -- Teleports Players to Rolanberry Fields ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields_[S]/TextIDs"] = nil; ----------------------------------- require("scripts...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/The_Sanctuary_of_ZiTah/npcs/Kasim.lua
3
1876
----------------------------------- -- Area: The Sanctuary of Zitah -- NPC: Kasim -- !pos -46 0 -148 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_Zitah/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); r...
gpl-3.0
jono659/enko
scripts/zones/Aht_Urhgan_Whitegate/npcs/Koyol-Futenol.lua
15
3803
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Koyol-Futenol -- Title Change NPC -- @pos -129 2 -20 50 ----------------------------------- require("scripts/globals/titles"); local title2 = { DARK_RESISTANT , BEARER_OF_THE_MARK_OF_ZAHAK , SEAGULL_PHRATRIE_CREW_MEMBER , PROUD_AUTOMA...
gpl-3.0
jono659/enko
scripts/zones/Windurst_Waters_[S]/npcs/Porter_Moogle.lua
41
1550
----------------------------------- -- Area: Windurst Waters [S] -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 94 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Windurst_...
gpl-3.0
jono659/enko
scripts/globals/items/bowl_of_emerald_soup.lua
35
1393
----------------------------------------- -- ID: 4327 -- Item: Bowl of Emerald Soup -- Food Effect: 240Min, All Races ----------------------------------------- -- Agility 2 -- Vitality -1 -- Health Regen While Healing 3 -- Ranged ACC 6 ----------------------------------------- require("scripts/globals/statu...
gpl-3.0
jono659/enko
scripts/globals/items/naval_rice_ball.lua
14
1813
----------------------------------------- -- ID: 4605 -- Item: naval_rice_ball -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +26, Dex +3, Vit +4, hHP +2 (Atk +40, Def +40, Arcana Killer)*enhances rice ball effect ----------------------------------------- require("scripts/glob...
gpl-3.0
jono659/enko
scripts/globals/abilities/call_beast.lua
10
1072
----------------------------------- -- Ability: Call Beast -- Calls a beast to fight by your side. -- Obtained: Beastmaster Level 23 -- Recast Time: 5:00 -- Duration: Dependent on jug pet used. ----------------------------------- require("scripts/globals/common"); require("scripts/globals/status"); ---------...
gpl-3.0
hypnoscope/let-s-code-an-indie-game
episode_28/src/logic/gamestate.lua
4
1289
local map = require("src.logic.rooms.map") local gamestate = {} local modulate = function (self) return (self.updates % 2) == 0 end local addEntity = function (self, entity) table.insert(self.entities, entity) end local update = function (self, dt) self.updates = self.updates + 1 self.dt = dt self.map:upd...
mit
Arcscion/Shadowlyre
scripts/zones/Mount_Zhayolm/npcs/_1p6.lua
3
1097
----------------------------------- -- Area: Mount Zhayolm -- NPC: Engraved Tablet -- !pos 320 -15.35 -379 61 ----------------------------------- require("scripts/globals/keyitems"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; --...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Abyssea-La_Theine/npcs/qm11.lua
3
1350
----------------------------------- -- Zone: Abyssea-LaTheine -- NPC: qm11 (???) -- Spawns Toppling Tuber -- !pos ? ? ? 132 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trad...
gpl-3.0
N0U/Zero-K
scripts/cloakskirm.lua
3
4332
include "constants.lua" local hips = piece 'hips' local chest = piece 'chest' local gun = piece 'gun' local muzzle = piece 'muzzle' local exhaust = piece 'exhaust' local turner = piece 'turner' local aimpoint = piece 'aimpoint' local gunemit = piece 'gunemit' local thigh = {piece 'lthigh', piece 'rthigh'} local shin ...
gpl-2.0
Arcscion/Shadowlyre
scripts/zones/Horlais_Peak/npcs/Burning_Circle.lua
8
2025
----------------------------------- -- Area: Horlais Peak -- NPC: Burning Circle -- Horlais Peak Burning Circle -- !pos -509 158 -211 139 ------------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"); require("sc...
gpl-3.0