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
TheAnswer/FirstTest
bin/scripts/skills/creatureSkills/endor/creatures/remmerAttacks.lua
1
5870
remmerAttack1 = { attackname = "remmerAttack1", animation = "creature_attack_light", requiredWeaponType = NONE, range = 7, damageRatio = 1.2, speedRatio = 4, arearange = 7, accuracyBonus = 0, knockdownCh...
lgpl-3.0
JarnoVgr/ZombieSurvival
gamemodes/zombiesurvival/entities/entities/projectile_poisonflesh/cl_init.lua
1
1041
include("shared.lua") ENT.NextEmit = 0 function ENT:Initialize() self:DrawShadow(false) self.Size = math.Rand(10, 14) end local colFlesh = Color(255, 255, 255, 255) local matFlesh = Material("decals/Yblood1") function ENT:Draw() local size = self.Size render.SetMaterial(matFlesh) local pos = s...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/creatures/spawns/tatooine/citys/mosEspa.lua
1
19982
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versi...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/naboo/creatures/veermokRavager.lua
1
4718
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/endor/creatures/agedLanternBird.lua
1
4670
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/items/objects/clothing/bandolier/bandolier9.lua
1
2263
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
weiDDD/WSSParticleSystem
cocos2d/cocos/scripting/lua-bindings/auto/api/Slider.lua
1
7526
-------------------------------- -- @module Slider -- @extend Widget -- @parent_module ccui -------------------------------- -- Changes the progress direction of slider.<br> -- param percent Percent value from 1 to 100. -- @function [parent=#Slider] setPercent -- @param self -- @param #int percent -- @r...
apache-2.0
TheAnswer/FirstTest
bin/scripts/slashcommands/admin/setBiographyAdmin.lua
1
2465
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/artisan/noviceArtisan/casualPants.lua
1
3747
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
JarnoVgr/ZombieSurvival
gamemodes/zombiesurvival/entities/weapons/weapon_zs_m4.lua
1
1199
AddCSLuaFile() if CLIENT then SWEP.PrintName = "M4" SWEP.Description = "Using this gun will severely reduce the distance in which zombies can see your aura." SWEP.Slot = 2 SWEP.SlotPos = 0 SWEP.ViewModelFlip = false SWEP.ViewModelFOV = 60 SWEP.HUD3DBone = "v_weapon.m4_Parent" SWEP.HUD3DPos = Vect...
gpl-2.0
aqasaeed/telhesam
plugins/anti_spam.lua
923
3750
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
Maxsteam/seed
plugins/anti_spam.lua
923
3750
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
badboyam/redstorm
plugins/anti_spam.lua
923
3750
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/skills/creatureSkills/npcs/imperial/imperialMajorAttacks.lua
1
2995
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/object/draft_schematic/droid/objects.lua
1
53484
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later ve...
lgpl-3.0
JarnoVgr/ZombieSurvival
gamemodes/zombiesurvival/gamemode/maps/zs_raunchyhouse.lua
1
1202
hook.Add("InitPostEntityMap", "DestroyDoor", function() DESTROY_PROP_DOORS = false DESTROY_DOORS = false local doors = ents.FindByClass("prop_door_rotating") if doors[2] then doors[2]:Remove() end for _, ent in pairs(ents.FindByClass("gmod_player_start")) do if ent:GetPos().z > -440 then ent:Rem...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/slashcommands/generic/survey.lua
1
2633
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
mpeterv/argparse
spec/commands_spec.lua
3
2355
local Parser = require "argparse" getmetatable(Parser()).error = function(_, msg) error(msg) end describe("tests related to commands", function() it("handles commands after arguments", function() local parser = Parser "name" parser:argument "file" parser:command "create" parser:command "remo...
mit
TheAnswer/FirstTest
bin/scripts/skills/creatureSkills/endor/npcs/dwbMeleeAttacks.lua
1
16306
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/skills/creatureSkills/lok/npcs/casVankooAttacks.lua
1
4320
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/rori/creatures/sapCoveredForestMiteQueen.lua
1
4722
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
Xeltor/ovale
dist/scripts/ovale_trinkets_mop.lua
1
22152
local __exports = LibStub:NewLibrary("ovale/scripts/ovale_trinkets_mop", 80300) if not __exports then return end __exports.registerMopTrinkets = function(OvaleScripts) local name = "ovale_trinkets_mop" local desc = "[6.0.3] Ovale: Trinkets (Mists of Pandaria)" local code = [[ # Trinkets from Mists of Pandar...
mit
weiDDD/WSSParticleSystem
cocos2d/cocos/scripting/lua-bindings/auto/api/ScaleBy.lua
1
1028
-------------------------------- -- @module ScaleBy -- @extend ScaleTo -- @parent_module cc -------------------------------- -- @overload self, float, float, float -- @overload self, float, float -- @overload self, float, float, float, float -- @function [parent=#ScaleBy] create ...
apache-2.0
JarnoVgr/ZombieSurvival
gamemodes/zombiesurvival/entities/entities/status_ghost_arsenalcrate/shared.lua
1
2165
ENT.Type = "anim" ENT.Base = "status__base" ENT.Model = Model("models/Items/item_item_crate.mdl") function ENT:Initialize() self:DrawShadow(false) self:SetMaterial("models/wireframe") self:SetModel(self.Model) self:RecalculateValidity() end function ENT:IsInsideProp() for _, ent in pairs(ents.Fin...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/rori/creatures/vrobalSow.lua
1
4673
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/yavin4/npcs/stranded/strandedRebelSoldier.lua
1
4545
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/slashcommands/generic/loot.lua
1
2447
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
PAPAGENO-devels/papageno
test/benchmarks/Lua/lua-regression-test/grim/pigeons.lua
1
12245
le.init_homes = function() -- line 3 local local1 = 0 le.pigeon_homes = { } repeat local1 = local1 + 1 le.pigeon_homes[local1] = { pos = { }, used = nil, face = nil } until local1 == 42 le.pigeon_homes[1].pos.x = 0.0086075896 le.pigeon_homes[1].pos.y = -0.249706 le.pigeon_hom...
gpl-2.0
kmx/mirror-cd
html/examples/multitest.lua
2
2281
-- Enhanced from a script written by Wim Langers require'cdlua' require'iuplua' require'iupluacd' require'cdluapdf' function DrawInCanvas(canvas) -- If you want that your coordinates means the same thing independent from the driver -- then set the Window to be the your "world" coordinate system canvas:wWindow(0...
mit
DarkstarProject/darkstar
scripts/zones/Cloister_of_Frost/npcs/Ice_Protocrystal.lua
9
1316
----------------------------------- -- Area: Cloister of Frost -- NPC: Ice Protocrystal -- Involved in Quests: Trial by Ice, Trial Size Trial by Ice -- !pos 558 0 596 203 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/bcnm"); local ID = require("scripts/zones/Cloiste...
gpl-3.0
grmss214/shg
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
hfjgjfg/spam11111
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
sina021/bottg
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
jeiboor/nod32bot
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
Maxsteam/ttt
plugins/bot_photo.lua
18
1162
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(receiver, '...
gpl-2.0
DarkstarProject/darkstar
scripts/globals/summon.lua
10
9706
require("scripts/globals/common") require("scripts/globals/status") require("scripts/globals/msg") function getSummoningSkillOverCap(avatar) local summoner = avatar:getMaster() local summoningSkill = summoner:getSkillLevel(dsp.skill.SUMMONING_MAGIC) local maxSkill = summoner:getMaxSkillLevel(avatar:getMai...
gpl-3.0
MartinFrancu/BETS
BtUtils/promise.lua
1
3631
--- Object that encapsulates a value or an outlook of there might possibly be a value. -- Essentially an object that can be assigned a callback. -- @classmod Promise -- @alias promisePrototype if(not BtUtils)then VFS.Include(LUAUI_DIRNAME .. "Widgets/BtUtils/root.lua", nil, VFS.RAW_FIRST) end; local Utils = BtUtils r...
mit
DarkstarProject/darkstar
scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Fire.lua
9
2176
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Fire -- Involved in Zilart Mission 7 -- !pos 199 -2 36 168 ------------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems"); require("scripts/globals/missions"); local ID = require("scripts/z...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Giddeus/npcs/Uu_Zhoumo.lua
9
1501
----------------------------------- -- Area: Giddeus -- NPC: Uu Zhoumo -- Involved in Mission 2-3 -- !pos -179 16 155 145 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); ----------------------------------- function onTrade(player,npc,trade) if (player...
gpl-3.0
Fenix-XI/Fenix
scripts/commands/giveitem.lua
1
1583
--------------------------------------------------------------------------------------------------- -- func: @giveitem <player> <itemId> <amount> <aug1> <v1> <aug2> <v2> <aug3> <v3> <aug4> <v4> -- desc: Gives an item to the target player. ---------------------------------------------------------------------------------...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/spells/huton_ni.lua
5
1213
----------------------------------------- -- Spell: Huton: Ni -- Deals wind damage to an enemy and lowers its resistance against ice. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Windurst_Waters_[S]/npcs/Eih_Lhogotan.lua
13
1067
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Eih Lhogotan -- Type: Standard NPC -- @zone: 94 -- @pos -29.887 -5.999 91.042 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ni...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Apollyon/mobs/Earth_Elemental.lua
9
2117
----------------------------------- -- Area: Apollyon SW -- Mob: Earth Elemental ----------------------------------- require("scripts/globals/limbus"); ----------------------------------- function onMobDeath(mob, player, isKiller) end; function onMobDespawn(mob) local mobID = mob:getID(); -- print(mobID); lo...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/bowl_of_nashmau_stew.lua
18
2062
----------------------------------------- -- ID: 5595 -- Item: Bowl of Nashmau Stew -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- MP -100 -- Vitality -10 -- Agility -10 -- Intelligence -10 -- Mind -10 -- Charisma -10 -- Accuracy +15% Cap 25 -- Attack +18% Cap 60 -- ...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/abilities/drain_samba.lua
25
1429
----------------------------------- -- Ability: Drain Samba -- Inflicts the next target you strike with Drain daze, allowing all those engaged in battle with it to drain its HP. -- Obtained: Dancer Level 5 -- TP Required: 10% -- Recast Time: 1:00 -- Duration: 2:00 ----------------------------------- require("scripts/g...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/mobskills/Spirit_Tap.lua
32
1401
--------------------------------------------------- -- Spirit Tap -- Attempts to absorb one buff from a single target, or otherwise steals HP. -- Type: Magical -- Utsusemi/Blink absorb: Ignores Shadows -- Range: Melee -- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any buff...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Temenos/bcnms/central_temenos_3rd_floor.lua
9
1339
----------------------------------- -- Area: Temenos -- Name: Central Temenos 3rd Floor ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/battlefield") require("scripts/globals/keyitems"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBattlefieldTick(ba...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Lebros_Cavern/instances/troll_fugitives.lua
12
1808
----------------------------------- -- -- Assault: Troll Fugitives -- ----------------------------------- local ID = require("scripts/zones/Lebros_Cavern/IDs") require("scripts/globals/instance") ----------------------------------- function afterInstanceRegister(player) local instance = player:getInstance() pl...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/spells/bluemagic/ram_charge.lua
4
1430
----------------------------------------- -- Spell: Ram Charge -- Damage varies with TP -- Spell cost: 79 MP -- Monster Type: Beasts -- Spell Type: Physical (Blunt) -- Blue Magic Points: 4 -- Stat Bonus: HP+5 -- Level: 73 -- Casting Time: 0.5 seconds -- Recast Time: 34.75 seconds -- Skillchain Element(s): Fragmentation...
gpl-3.0
stallboy/configgen
example/lua/cfg/equip/jewelry.lua
1
6985
local cfg = require "cfg._cfgs" local Beans = cfg._beans ---@class cfg.equip.jewelry ---@field iD number , 首饰ID ---@field name string , 首饰名称 ---@field iconFile string , 图标ID ---@field lvlRank Beans.levelrank , 首饰等级 ---@field type string , 首饰类型 ---@field suitID number , 套装ID(为0是没有不属于套装,首饰品级为4的首饰该参数为套装id,其余情况为0,引用Jewelr...
mit
vsergeyev/sol
Sol/mission3.lua
1
2824
----------------------------------------------------------------------------------------- -- -- mission3.lua -- ----------------------------------------------------------------------------------------- local storyboard = require( "storyboard" ) local scene = storyboard.newScene() require "campaign" local physics = r...
mit
emender/emender
test/TestFrontPageURL.lua
1
1281
-- TestFrontPageURL.lua - check for basic Emender functionality -- Copyright (C) 2016 Pavel Tisnovsky -- -- This file is part of Emender. -- -- Emender 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; version...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Northern_San_dOria/npcs/Doggomehr.lua
13
1208
----------------------------------- -- Area: Northern San d'Oria -- NPC: Doggomehr -- Guild Merchant NPC: Blacksmithing Guild -- @pos -193.920 3.999 162.027 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("script...
gpl-3.0
devFRIND/TAEMNEW
plugins/No.lua
2
3434
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY TAEMNEW ▀▄ ▄▀ ▀▄ ▄▀ BY TAEMNEW () ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY TAEMNEW ▀▄ ▄▀ ▀▄ ▄▀ block word : منع كلمات ▀▄ ▄▀ ▀▄▀▀▄▄▀▀▄▄...
gpl-2.0
botFree/botFree
lock_sex.lua
2
2352
--[[ _ _ _ _ ___ ___ _ __ _| |__ ___ ___| | ___ __ ___ _ __ (_) __ _ / |/ _ \ / _ \| | __ / _` | '_ \ / _ \/ __| |/ / '__/ _ \| '_ \ | |/ _` | | | | | | | | | |/ / | (_| | |_) | (_) \__ \ <| | | (_) | |_) | | | (_| | | | |_| | |_| | < ...
gpl-2.0
Fenix-XI/Fenix
scripts/globals/items/bowl_of_riverfin_soup.lua
18
1891
----------------------------------------- -- 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
DarkstarProject/darkstar
scripts/zones/Northern_San_dOria/npcs/Secodiand.lua
11
1623
----------------------------------- -- Area: Northern San d'Oria -- NPC: Secodiand -- Starts and Finishes Quest: Fear of the dark -- !pos -160 -0 137 231 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop"); require("scripts/globals/quests"); local ID = require("scri...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Al_Zahbi/npcs/Opococo.lua
13
1028
---------------------------------- -- Area: Al Zahbi -- NPC: Opococo -- Type: Item Deliverer -- @zone: 48 -- @pos -24.702 0 -139.982 -- ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; require("scripts/zones/Al_Zahbi/TextIDs"); ----------------------------------- -- onT...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/weaponskills/seraph_blade.lua
10
1346
----------------------------------- -- Seraph Blade -- Sword weapon skill -- Skill Level: 125 -- Deals light elemental damage to enemy. Damage varies with TP. -- Ignores shadows. -- Aligned with the Soil Gorget. -- Aligned with the Soil Belt. -- Element: Light -- Modifiers: STR:40% MND:40% -- 100%TP 200%TP 300%T...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Aht_Urhgan_Whitegate/npcs/Abda-Lurabda.lua
11
1352
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Abda Lurabda -- Standard Info NPC ----------------------------------- require("scripts/globals/status"); require("scripts/globals/pets"); ----------------------------------- -- onTrade Action ----------------------------------- function onTra...
gpl-3.0
jmachuca77/ardupilot
libraries/AP_Scripting/examples/copter-fly-vertical-circle.lua
18
3113
-- command a Copter to takeoff to 5m and fly a vertical circle in the clockwise direction -- -- CAUTION: This script only works for Copter -- this script waits for the vehicle to be armed and RC6 input > 1800 and then: -- a) switches to Guided mode -- b) takeoff to 5m -- c) flies a vertical circle using the ve...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/prime_beef_stewpot.lua
18
1971
----------------------------------------- -- ID: 5548 -- Item: Prime Beef Stewpot -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% Cap 75 -- MP +15 -- Strength +2 -- Agility +1 -- Mind +1 -- HP Recovered while healing +7 -- MP Recovered while healing +2 -- Atta...
gpl-3.0
ehsan289/telegram-bot.group
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
DarkstarProject/darkstar
scripts/zones/Metalworks/npcs/Fariel.lua
12
1532
----------------------------------- -- Area: Metalworks -- NPC: Fariel -- Type: Standard Info NPC ----------------------------------- require("scripts/globals/pathfind"); ----------------------------------- local path = { 53.551208, -14.000000, -7.162227, 54.111534, -14.000000, -6.227105, 54.075279, -14.000000, -5.13...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Windurst_Waters/npcs/Gantineux.lua
11
2047
----------------------------------- -- Area: Windurst Waters -- NPC: Gantineux -- Starts Quest: Acting in Good Faith -- !pos -83 -9 3 238 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/shop"); require("scripts/globals/quests"); loc...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Garlaige_Citadel/npcs/Treasure_Coffer.lua
13
4638
----------------------------------- -- Area: Garlaige Citadel -- NPC: Treasure Coffer -- @zone 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Carpenters_Landing/Zone.lua
11
1327
----------------------------------- -- -- Zone: Carpenters_Landing (2) -- ----------------------------------- local func = require("scripts/zones/Carpenters_Landing/globals") local ID = require("scripts/zones/Carpenters_Landing/IDs") require("scripts/globals/chocobo_digging") require("scripts/globals/conquest") require...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Spire_of_Mea/npcs/_0l0.lua
13
1482
----------------------------------- -- Area: Spire of Mea -- NPC: Web of Recollection ----------------------------------- package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/quests"); require("scripts/globals/mission...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Caedarva_Mire/npcs/qm10.lua
9
1050
----------------------------------- -- Area: Caedarva Mire -- NPC: qm10 -- Involved in quest: Operation Teatime -- !pos 473 -31 75 79 ----------------------------------- local ID = require("scripts/zones/Caedarva_Mire/IDs") require("scripts/globals/npc_util") require("scripts/globals/quests") -------------------------...
gpl-3.0
SkzKatsushiro/OpenRA
mods/ra/maps/allies-05a/allies05a-AI.lua
34
6702
IdlingUnits = { } AttackGroupSize = 6 Barracks = { Barracks2, Barracks3 } Rallypoints = { VehicleRallypoint1, VehicleRallypoint2, VehicleRallypoint3, VehicleRallypoint4, VehicleRallypoint5 } WaterLZs = { WaterLZ1, WaterLZ2 } Airfields = { Airfield1, Airfield2 } Yaks = { } SovietInfantryTypes = { "e1", "e1", "e2", ...
gpl-3.0
Jezza/Lava
src/test/resources/MetaTest.lua
1
7630
-- $Header: //info.ravenbrook.com/project/jili/version/1.1/test/mnj/lua/MetaTest.lua#1 $ -- Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). -- All rights reserved. -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files...
lgpl-3.0
Fenix-XI/Fenix
scripts/zones/Metalworks/npcs/Ghemp.lua
20
2071
----------------------------------- -- Area: Metalworks -- NPC: Ghemp -- Type: Smithing Guild Master -- @pos -109 2 27 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/globals/craft...
gpl-3.0
emender/emender
test/TestRequiresI.lua
1
1564
-- TestRequiresI.lua - check if all required tools are available. -- This test contains 'requires' metadata with one non-existing tool. -- -- Copyright (C) 2015 Pavel Tisnovsky -- -- This file is part of Emender. -- -- Emender is free software: you can redistribute it and/or modify -- it under the terms of the GNU Gene...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Wajaom_Woodlands/Zone.lua
15
3515
----------------------------------- -- -- Zone: Wajaom_Woodlands (51) -- ----------------------------------- package.loaded["scripts/zones/Wajaom_Woodlands/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Southern_San_dOria/npcs/Dahjal.lua
13
1222
----------------------------------- -- Area: Southern San d'Oria -- NPC: Dahjal -- first in conquest Npc -- @zone 230 -- @pos ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Southern_San_dOria/TextIDs"); ...
gpl-3.0
soheildiscover/soheil
plugins/meme.lua
637
5791
local helpers = require "OAuth.helpers" local _file_memes = './data/memes.lua' local _cache = {} local function post_petition(url, arguments) local response_body = {} local request_constructor = { url = url, method = "POST", sink = ltn12.sink.table(response_body), headers = {}, red...
gpl-2.0
eugeneia/snabbswitch
src/program/lwaftr/monitor/monitor.lua
3
2355
module(..., package.seeall) local ffi = require("ffi") local ipv4 = require("lib.protocol.ipv4") local lib = require("core.lib") local lwutil = require("apps.lwaftr.lwutil") local shm = require("core.shm") local top = require("program.top.top") local engine = require("core.app") local fatal = lwutil.fatal local selec...
apache-2.0
RockySeven3161/P_O_W_E_R_B_O_T
plugins/meme.lua
637
5791
local helpers = require "OAuth.helpers" local _file_memes = './data/memes.lua' local _cache = {} local function post_petition(url, arguments) local response_body = {} local request_constructor = { url = url, method = "POST", sink = ltn12.sink.table(response_body), headers = {}, red...
gpl-2.0
Fenix-XI/Fenix
scripts/zones/Southern_San_dOria_[S]/npcs/Mainchelite.lua
29
5404
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Mainchelite -- @zone 80 -- @pos -16 1 -30 -- CS IDs: -- 0x005 = Generic Greeting for Iron Ram members -- 0x006 = Mid Initiation of other nation -- 0x007 = Ask player to Join Iron Rams -- 0x008 = Ask if changed mind about joining Iron rams (after...
gpl-3.0
jwes/luagi
tst/status.lua
1
5515
--[=[ MIT License Copyright (c) 2016 Johannes Westhuis, Alexander Schulz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights...
mit
Fenix-XI/Fenix
scripts/zones/Bastok_Mines/npcs/Neigepance.lua
16
1571
----------------------------------- -- Area: Bastok Mines -- NPC: Neigepance -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Bastok_Mines/TextIDs"); ----------------------------------- -- o...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/spells/knights_minne_iv.lua
27
1497
----------------------------------------- -- Spell: Knight's Minne IV -- Grants Defense bonus to all allies. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(cas...
gpl-3.0
L3E8S0S6E5N1OA5N6D3T8W5O/4568584657657
plugins/search_youtube.lua
674
1270
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end local function searchYoutubeVideos(text) local url = 'https://www.googleapis.com/youtube/v3/search?' u...
gpl-2.0
ZACTELEGRAM1/-EMAM-ALI-1
plugins/search_youtube.lua
674
1270
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end local function searchYoutubeVideos(text) local url = 'https://www.googleapis.com/youtube/v3/search?' u...
gpl-2.0
DarkstarProject/darkstar
scripts/zones/Bastok_Mines/npcs/Black_Mud.lua
11
2597
----------------------------------- -- Area: Bastok Mines -- NPC: Black Mud -- Starts & Finishes Quest: Drachenfall ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); require("scripts/globals/titles"); local ID = require("scripts/zones/Bastok_Mines/IDs"); ------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Upper_Delkfutts_Tower/npcs/_4e1.lua
13
1189
----------------------------------- -- Area: Upper Delkfutt's Tower -- NPC: Door -- @pos 315 16 20 158 ----------------------------------- package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Upper_Delkfutt...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Maquette_Abdhaljs-Legion/Zone.lua
30
1150
----------------------------------- -- -- Zone: Maquette Abdhaljs-Legion -- ----------------------------------- package.loaded["scripts/zones/Maquette_Abdhaljs-Legion/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Maquette_Abdhaljs-Legion/TextIDs"); --...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Caedarva_Mire/npcs/_27a.lua
13
1090
----------------------------------- -- Area: Caedarva Mire -- NPC: Engraved Tablet -- @pos 763 -9 638 79 ----------------------------------- require("scripts/globals/keyitems"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; -------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/King_Ranperres_Tomb/npcs/Tombstone.lua
13
3093
----------------------------------- -- Area: King Ranperre's Tomb -- NPC: Tombstone -- Involved in Quest: Grave Concerns -- @pos 1 0.1 -101 190 ----------------------------------- package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings")...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Northern_San_dOria/npcs/Morunaude.lua
13
1412
----------------------------------- -- Area: Northern San d'Oria -- NPC: Morunaude -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); requ...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/items/bowl_of_miso_ramen_+1.lua
11
1551
----------------------------------------- -- ID: 6461 -- Item: bowl_of_miso_ramen_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- HP +105 -- STR +6 -- VIT +6 -- DEF +11% (cap 175) -- Magic Evasion +11% (cap 55) -- Magic Def. Bonus +6 -- Resist Slow +15 ----------------------------------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Bhaflau_Thickets/npcs/qm1.lua
30
1349
----------------------------------- -- Area: Bhaflau Thickets -- NPC: ??? (Spawn Lividroot Amooshah(ZNM T2)) -- @pos 334 -10 184 52 ----------------------------------- package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bhaflau_Thickets/TextIDs"); ...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Quicksand_Caves/npcs/Fountain_of_Kings.lua
13
1479
----------------------------------- -- Area: Quicksand Caves -- NPC: Fountain of Kings -- @pos 567 18 -939 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Quicksand_Caves/TextIDs"); require("scripts/globa...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/slice_of_giant_sheep_meat.lua
18
1350
----------------------------------------- -- ID: 4372 -- Item: slice_of_giant_sheep_meat -- Food Effect: 5Min, Galka only ----------------------------------------- -- Strength 2 -- Intelligence -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- --...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Alzadaal_Undersea_Ruins/npcs/_20u.lua
12
2710
----------------------------------- -- Area: Alzadaal Undersea Ruins -- Door: Gilded Gateway (Arrapago) -- !pos -580 0 -159 72 ----------------------------------- require("scripts/globals/keyitems") require("scripts/globals/missions") require("scripts/globals/besieged") local ID = require("scripts/zones/Alzadaal_Unders...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/abilities/pets/knockout.lua
14
1429
--------------------------------------------------- -- Knockout --------------------------------------------------- require("scripts/globals/status") require("scripts/globals/settings") require("scripts/globals/automatonweaponskills") --------------------------------------------------- function onMobSkillCheck(target...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Quicksand_Caves/npcs/_5s9.lua
13
1253
----------------------------------- -- Area: Quicksand Caves -- NPC: Ornate Door -- Door blocked by Weight system -- @pos -345 0 820 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Quicksand_Caves/TextIDs...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/mobskills/rime_spray.lua
11
1540
--------------------------------------------- -- Rime Spray -- -- Description: Deals Ice damage to enemies within a fan-shaped area, inflicting them with Frost and All statuses down. -- Type: Breath -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone -- Notes: ----------------------------------------...
gpl-3.0
asdofindia/prosody-modules
mod_auth_sql/mod_auth_sql.lua
32
3498
-- Simple SQL Authentication module for Prosody IM -- Copyright (C) 2011 Tomasz Sterna <tomek@xiaoka.com> -- Copyright (C) 2011 Waqas Hussain <waqas20@gmail.com> -- local log = require "util.logger".init("auth_sql"); local new_sasl = require "util.sasl".new; local DBI = require "DBI" local connection; local params = ...
mit
Fenix-XI/Fenix
scripts/zones/Windurst_Waters_[S]/npcs/Dallus-Mallus.lua
13
1074
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Dallus-Mallus -- Type: Campaign Intel Advisor -- @zone: 94 -- @pos -13.666 -2 26.180 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs...
gpl-3.0