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
sleep/mal
lua/reader.lua
14
3968
local rex = require('rex_pcre') local string = require('string') local table = require('table') local types = require('types') local throw, Nil, Symbol, List = types.throw, types.Nil, types.Symbol, types.List local M = {} Reader = {} function Reader:new(tokens) local newObj = {tok...
mpl-2.0
PaulBatchelor/Soundpipe
modules/data/prop.lua
3
1999
sptbl["prop"] = { files = { module = "prop.c", header = "prop.h", example = "ex_prop.c", }, func = { create = "sp_prop_create", destroy = "sp_prop_destroy", init = "sp_prop_init", compute = "sp_prop_compute", other = { sp_prop_res...
mit
Tkachov/scummvm
devtools/create_ultima/files/ultima6/scripts/se/ending.lua
19
1680
local lua_file = nil lua_file = nuvie_load("common/intro_common.lua"); lua_file(); function play() local g_img_tbl = image_load_all("endgame.lzc") -- 0,0 Party -- 0,1 Lord British -- 0,2 Aiela -- 0,3 Tristia -- 0,4 Leaving Savage Empire local bg = sprite_new(g_img_tbl[0][0], 0, 0, true) canva...
gpl-3.0
Scavenge/darkstar
scripts/zones/Upper_Jeuno/npcs/_6s1.lua
5
3590
----------------------------------- -- Area: Upper Jeuno -- NPC: Marble Bridge Eatery (Door) -- @pos -96.6 -0.2 92.3 244 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Upper_Jeuno/TextIDs") require("scripts/globa...
gpl-3.0
Scavenge/darkstar
scripts/globals/items/butterpear.lua
12
1291
----------------------------------------- -- ID: 5908 -- Item: Butterpear -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility +4 -- Vitality +1 -- Resist Amnesia +20 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- ...
gpl-3.0
Scavenge/darkstar
scripts/globals/weaponskills/shark_bite.lua
26
1515
----------------------------------- -- Shark Bite -- Dagger weapon skill -- Skill level: 225 -- Delivers a twofold attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Will stack with Trick Attack. -- Aligned with the Breeze Gorget & Thunder Gorget. -- Aligned with the Breeze Belt & Thunder Belt. -- Eleme...
gpl-3.0
Scavenge/darkstar
scripts/globals/spells/esuna.lua
33
4143
----------------------------------------- -- Spell: Esuna -- ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,spel...
gpl-3.0
Zero-K-Experiments/Zero-K-Experiments
LuaUI/Widgets/dbg_animator.lua
7
12298
------------------------- function widget:GetInfo() return { name = "AnimatorGUI", desc = "v0.002 Send animation commands", author = "CarRepairer & knorke", date = "2010-03-05", license = "push button magic", layer = 0, enabled = false, } end local Chili loc...
gpl-2.0
mortezamosavy999/monsterTG
plugins/Map.lua
1
1210
do local api_key = nil local base_api = "https://maps.googleapis.com/maps/api" function get_staticmap(area) local api = base_api .. "/staticmap?" -- Get a sense of scale local lat,lng,acc,types = get_latlong(area) local scale = types[1] if scale=="locality" then zoom=8 elseif scale=="country...
gpl-2.0
A-N-bot/anonymous
plugins/id.lua
2
2907
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, resu...
gpl-2.0
Scavenge/darkstar
scripts/zones/Bastok_Markets/npcs/Yafafa.lua
17
1584
----------------------------------- -- Area: Bastok Markets -- NPC: Yafafa -- Only sells when Bastok controls Kolshushu -- -- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts...
gpl-3.0
Scavenge/darkstar
scripts/zones/Riverne-Site_B01/bcnms/storms_of_fate.lua
29
2594
----------------------------------- -- Area: Riverne Site #B01 -- Name: Storms of Fate -- @pos 299 -123 345 146 ----------------------------------- package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Riverne-Sit...
gpl-3.0
Scavenge/darkstar
scripts/zones/Windurst_Waters/npcs/Hilkomu-Makimu.lua
17
1934
----------------------------------- -- Area: Windurst Waters -- NPC: Hilkomu-Makimu -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/zones/Windurst_Waters/T...
gpl-3.0
Zero-K-Experiments/Zero-K-Experiments
LuaUI/Widgets/gui_ally_cursors.lua
17
7682
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- Copyright (C) 2007. -- Licensed under the terms of the GNU GPL, v2 or later. -- ----------------------------------------------------------------------...
gpl-2.0
Scavenge/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Nadee_Periyaha.lua
14
1474
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Nadee Periyaha -- Standard Info NPC -- @pos -10.802 0.000 -1.198 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); re...
gpl-3.0
angking0802wu/UniLua
Assets/StreamingAssets/LuaRoot/test/goto.lua
9
3714
local function errmsg (code, m) local st, msg = load(code) assert(not st and string.find(msg, m)) end -- cannot see label inside block errmsg([[ goto l1; do ::l1:: end ]], "label 'l1'") errmsg([[ do ::l1:: end goto l1; ]], "label 'l1'") -- repeated label errmsg([[ ::l1:: ::l1:: ]], "label 'l1'") -- undefined la...
mit
Scavenge/darkstar
scripts/zones/Mount_Zhayolm/npcs/qm1.lua
30
1334
----------------------------------- -- Area: Mount Zhayolm -- NPC: ??? (Spawn Brass Borer(ZNM T1)) -- @pos 399 -27 120 61 ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mount_Zhayolm/TextIDs"); require("scripts...
gpl-3.0
peaking-development/peak
common/path.lua
1
1620
local Path = {} function Path.reduce(path) local res = {} for _, part in ipairs(path) do if part == '..' then res[#res] = nil elseif part == '.' then else res[#res + 1] = part end end return res end function Path.serialize(path) local out = {} for i, v in ipairs(path) do out[i] = v:gsub('\\', '\...
mit
yellowbillycat/ardupilot
Tools/CHDK-Scripts/kap_uav.lua
183
28512
--[[ KAP UAV Exposure Control Script v3.1 -- Released under GPL by waterwingz and wayback/peabody http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script @title KAP UAV 3.1 @param i Shot Interval (sec) @default i 15 @range i 2 120 @param s Total Shots (0=infinite) @default s 0 @range ...
gpl-3.0
Scavenge/darkstar
scripts/zones/Garlaige_Citadel/npcs/qm12.lua
14
1384
----------------------------------- -- Area: Garlaige Citadel -- NPC: qm12 (???) -- Involved in Quest: Hitting the Marquisate (THF AF3) -- @pos -245.603 -5.500 139.855 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("s...
gpl-3.0
Scavenge/darkstar
scripts/zones/Buburimu_Peninsula/npcs/Stone_Monument.lua
14
1303
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" -- @pos 320.755 -4.000 368.722 118 ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require(...
gpl-3.0
mamaddeveloper/jjhw
bot/utils.lua
356
14963
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
Scavenge/darkstar
scripts/globals/items/beluga.lua
41
1064
----------------------------------------- -- ID: Beluga -- Beluga -- Additional Effect: Ice Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ----------------------------------- functi...
gpl-3.0
omidtarh/wbot
plugins/vote.lua
615
2128
do local _file_votes = './data/votes.lua' function read_file_votes () local f = io.open(_file_votes, "r+") if f == nil then print ('Created voting file '.._file_votes) serialize_to_file({}, _file_votes) else print ('Values loaded: '.._file_votes) f:close() end return loadfile (_file_votes)()...
gpl-2.0
PicoleDeLimao/Ninpou2
game/dota_addons/ninpou2/scripts/vscripts/heroes/orochimaru/orochimaru_kusanagi.lua
1
2774
--[[ Author: PicoleDeLimao Date: 10.20.2016 Implement Orochimaru Kuchiyose Kusanagi ability ]] function SpellStart(event) local caster = event.caster local ability = event.ability local damage = ability:GetLevelSpecialValueFor("damage", ability:GetLevel() - 1) local duration = ability:GetSpecialValueFor("durat...
apache-2.0
Brenin/PJ-3100
Working Launchers/Games/Stepmania/StepMania 5/BackgroundEffects/Kaleidoscope2x2.lua
1
1191
local Color1 = color(Var "Color1"); local a = LoadActor(Var "File1") .. { OnCommand= function(self) self:cropto(SCREEN_WIDTH/2,SCREEN_HEIGHT/2):diffuse(Color1):zoomx(self:GetZoomX()*-1):zoomy(self:GetZoomY()*-1):effectclock("music") -- Explanation in StretchNoLoop.lua. if self.GetTexture then self:GetTexture...
mit
TeleDALAD/883bot
plugins/inrealm.lua
114
25001
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin(msg) then local group_creator = msg.from.print_name create_g...
gpl-2.0
Scavenge/darkstar
scripts/zones/Abyssea-Grauberg/npcs/qm13.lua
14
1388
----------------------------------- -- Zone: Abyssea-Grauberg -- NPC: qm13 (???) -- Spawns Azdaja -- @pos ? ? ? 254 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action ----------------------------------- f...
gpl-3.0
Scavenge/darkstar
scripts/zones/Caedarva_Mire/Zone.lua
10
2262
----------------------------------- -- -- Zone: Caedarva_Mire (79) -- ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/zone"); require("sc...
gpl-3.0
maikuru23/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/Treasure_Coffer.lua
3
4051
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Treasure Coffer -- @zone 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/...
gpl-3.0
trws/flux-sched
conf/zin-io.lua
5
38667
uses "Node" Hierarchy "default" { Resource{ "filesystem", name="pfs", tags = { max_bw = 90000 }, children = { Resource {"gateway", name = "gateway_node_pool", tags = { max_bw = 90000 }, children = { Resource {"core_switch", name = "core_switch_pool", tags = { max_bw = 144000 }, children = { ...
gpl-2.0
UnknownX7/darkstar
scripts/zones/Selbina/npcs/Explorer_Moogle.lua
17
1855
----------------------------------- -- Area: Selbina -- NPC: Explorer Moogle ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/settings"); require("scripts/globals/teleports"...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Selbina/npcs/Melyon.lua
25
3674
----------------------------------- -- Area: Selbina -- NPC: Melyon -- Starts and Finishes Quest: Only the Best (R) -- Involved in Quest: Riding on the Clouds -- @pos 25 -6 6 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
UnknownX7/darkstar
scripts/zones/North_Gustaberg/npcs/qm2.lua
14
1694
----------------------------------- -- Area: North Gustaberg -- NPC: qm2 (???) -- Involved in Quest "As Thick As Thieves" -- @pos -232.924 99.107 442.990 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/s...
gpl-3.0
robooo/luarocks
src/luarocks/upload.lua
9
3014
local upload = {} local util = require("luarocks.util") local fetch = require("luarocks.fetch") local pack = require("luarocks.pack") local cfg = require("luarocks.cfg") local Api = require("luarocks.upload.api") util.add_run_function(upload) upload.help_summary = "Upload a rockspec to the public rocks repository." ...
mit
migmig00/lolo
bot/bot.lua
1
6651
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-2.0
rm-code/logivi
src/screens/SelectionScreen.lua
1
6439
local ScreenManager = require('lib.screenmanager.ScreenManager'); local Screen = require('lib.screenmanager.Screen'); local Resources = require('src.Resources'); local RepositoryHandler = require('src.conf.RepositoryHandler'); -- ------------------------------------------------ -- Constants -- ------------------------...
mit
UnknownX7/darkstar
scripts/zones/West_Sarutabaruta/mobs/Carrion_Crow.lua
14
1040
----------------------------------- -- Area: West Sarutabaruta -- MOB: Carrion Crow -- Note: PH for Nunyenunc ----------------------------------- require("scripts/globals/fieldsofvalor"); require("scripts/zones/West_Sarutabaruta/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------...
gpl-3.0
UnknownX7/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5f1.lua
12
1096
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Shiva's Gate -- @pos 215 -34 20 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); ------...
gpl-3.0
UnknownX7/darkstar
scripts/globals/spells/frazzle_ii.lua
6
1026
----------------------------------------- -- Spell: Frazzle II ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- onMagicCastingCheck ----------------------------------------- function onMagicCastingCheck(caster,...
gpl-3.0
hypebeast/hammerspoon
extensions/logger/init.lua
2
5212
--- === hs.logger === --- --- Simple logger for debugging purposes local date,time = os.date,os.time local format,sub=string.format,string.sub local select,print,concat,min=select,print,table.concat,math.min local fnutils=require'hs.fnutils' local ERROR , WARNING , INFO , DEBUG , VERBOSE =1,2,3,4,5 local le...
mit
Coethium/server-minetestforfun
mods/multitest/init.lua
9
1766
multitest = {} multitest.colors = {"black", "blue", "brown", "cyan", "dark_green", "dark_grey", "green", "grey", "magenta", "orange", "pink", "red", "violet", "white", "yellow"} multitest.colornames = {"Black", "Blue", "Brown", "Cyan", "Dark Green", "Dark Grey", "Green", "Grey", "Magenta", "Orange", "Pink", "...
unlicense
Coethium/server-minetestforfun
mods/more_chests/cobble.lua
8
3467
local function has_locked_chest_privilege(meta, player) if player:get_player_name() ~= meta:get_string("owner") then return false end return true end minetest.register_node("more_chests:cobble", { description = "Cobble Chest", tiles = {"default_cobble.png", "default_cobble.png", "default_cobble.png", "default...
unlicense
Starfox64/EuRP-Plugins
plants/entities/entities/nut_plant.lua
1
2142
AddCSLuaFile() ENT.Type = "anim" ENT.PrintName = "Plant" ENT.Author = "_FR_Starfox64" ENT.Spawnable = true ENT.AdminOnly = true ENT.Category = "NutScript" if (SERVER) then function ENT:Initialize() --self:SetModel("models/props/cs_office/plant01.mdl") self:PhysicsInit(SOLID_VPHYSICS) self:SetCollisionGroup(COL...
gpl-3.0
maikuru23/darkstar
scripts/zones/Aht_Urhgan_Whitegate/Zone.lua
13
3762
----------------------------------- -- -- Zone: Aht_Urhgan_Whitegate (50) -- ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ...
gpl-3.0
maikuru23/darkstar
scripts/zones/Batallia_Downs/npcs/Luck_Rune.lua
34
1079
----------------------------------- -- Area: Batallia Downs -- NPC: Luck Rune -- Involved in Quest: Mhaura Fortune -- @pos -362.167 -12.199 157.158 105 ----------------------------------- package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil; ------------------------------------- require("scripts/...
gpl-3.0
maikuru23/darkstar
scripts/globals/items/weavers_belt.lua
5
1207
----------------------------------------- -- ID: 15447 -- Item: Weaver's Belt -- Enchantment: Synthesis image support -- 2Min, All Races ----------------------------------------- -- Enchantment: Synthesis image support -- Duration: 2Min -- Clothcraft Skill +1 ----------------------------------------- requir...
gpl-3.0
UnknownX7/darkstar
scripts/globals/mobskills/Bomb_Toss_Suicide.lua
17
1242
--------------------------------------------------- -- Bomb Toss - Suicide -- Throws a bomb at an enemy. Sometimes backfires. --------------------------------------------- require("scripts/globals/monstertpmoves"); require("scripts/globals/settings"); require("scripts/globals/status"); ---------------------------------...
gpl-3.0
maikuru23/darkstar
scripts/globals/items/red_bubble-eye.lua
18
1282
----------------------------------------- -- ID: 5446 -- Item: Red Bubble-Eye -- Food Effect: 5 Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ---...
gpl-3.0
maikuru23/darkstar
scripts/zones/Selbina/npcs/Yaya.lua
17
1463
----------------------------------- -- Area: Selbina -- NPC: Yaya -- Starts Quest: Under the sea -- @pos -19 -2 -16 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/glo...
gpl-3.0
maikuru23/darkstar
scripts/zones/PsoXja/Zone.lua
2
3739
----------------------------------- -- -- Zone: PsoXja (9) -- ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/zones/PsoXja/TextIDs"); require...
gpl-3.0
Iamgoofball/deathvox
lua/lib/managers/mission/elementspawnenemydummy.lua
1
14561
local enemy_replacements = { -- Beat police. ["units/payday2/characters/ene_cop_1/ene_cop_1"] = "deathvox_cop_pistol", ["units/payday2/characters/ene_cop_2/ene_cop_2"] = "deathvox_cop_revolver", ["units/payday2/characters/ene_cop_3/ene_cop_3"] = "deathvox_cop_smg", ["units/payday2/characters/ene_cop_4/ene_cop...
agpl-3.0
nounoursheureux/MCServer
Server/Plugins/APIDump/Hooks/OnKilling.lua
36
1190
return { HOOK_KILLING = { CalledWhen = "A player or a mob is dying.", DefaultFnName = "OnKilling", -- also used as pagename Desc = [[ This hook is called whenever a {{cPawn|pawn}}'s (a player's or a mob's) health reaches zero. This means that the pawn is about to be killed, unless a plugin "revives" them...
apache-2.0
UnknownX7/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Rytaal.lua
24
4539
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Rytaal -- Type: Standard NPC -- @pos 112.002 -1.338 -45.038 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegat...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Dynamis-Qufim/Zone.lua
10
2517
----------------------------------- -- -- Zone: Dynamis-Qufim -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Dynamis-Qufim/TextIDs"] = nil; require("scripts/zones/Dynamis-Qufim/TextIDs"); ----------------------------------- -- onInitialize ----------------...
gpl-3.0
psydev/OpenRA
mods/cnc/maps/nod06b/nod06b.lua
25
7008
NodUnitsVehicle1 = { 'bggy', 'bggy', 'bike', 'bike', 'bike' } NodUnitsVehicle2 = { 'ltnk', 'ltnk', 'ltnk' } NodUnitsGunner = { 'e1', 'e1', 'e1', 'e1', 'e1', 'e1' } NodUnitsRocket = { 'e3', 'e3', 'e3', 'e3', 'e3', 'e3' } Gdi1Units = { 'e1', 'e1', 'e2', 'e2', 'e2' } HuntCellTriggerActivator = { CPos.New(61,34), CPos.New...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Gusgen_Mines/npcs/_5g0.lua
14
1099
----------------------------------- -- Area: Gusgen Mines -- NPC: _5g0 (Door C) -- @pos 44 -42.4 -25.5 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gusgen_Mines/TextIDs"); -------------------------------...
gpl-3.0
druerridge/the-maestros
LuaUI/Widgets/unit_healthbars.lua
1
26291
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- author: jK -- -- Copyright (C) 2007,2008,2009. -- Licensed under the terms of the GNU GPL, v2 or later. -- -----------------------------------------...
gpl-2.0
maikuru23/darkstar
scripts/globals/items/orange_kuchen.lua
35
1230
----------------------------------------- -- ID: 4393 -- Item: orange_kuchen -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic % 13 -- Magic Cap 75 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- O...
gpl-3.0
JurajVajda/mobs
treemonster.lua
1
1504
-- Tree Monster (or Tree Gollum) by PilzAdam mobs:register_mob("mobs:tree_monster", { type = "monster", passive = false, attack_type = "dogfight", reach = 2, damage = 2, hp_min = 7, hp_max = 33, armor = 100, collisionbox = {-0.4, -1, -0.4, 0.4, 0.8, 0.4}, visual = "mesh", mesh = "mobs_tree_monster.b3d", t...
mit
maikuru23/darkstar
scripts/globals/items/carpenters_belt.lua
5
1213
----------------------------------------- -- ID: 15444 -- Item: Carpenter's belt -- Enchantment: Synthesis image support -- 2Min, All Races ----------------------------------------- -- Enchantment: Synthesis image support -- Duration: 2Min -- Woodworking Skill +1 ----------------------------------------- re...
gpl-3.0
maikuru23/darkstar
scripts/zones/Lower_Jeuno/npcs/_6t2.lua
5
3985
----------------------------------- -- Area: Lower Jeuno -- Door: Merchant's House -- Starts & Finishes Quest: Save My Son -- Optional Involvement in Quest: Chocobo's Wounds, Path of the Beastmaster ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; package.loaded["scripts...
gpl-3.0
UnknownX7/darkstar
scripts/globals/items/hard-boiled_egg.lua
12
1182
----------------------------------------- -- ID: 4409 -- Item: hard-boiled_egg -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 10 -- Magic 10 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0
nounoursheureux/MCServer
Server/Plugins/Debuggers/Inject.lua
14
1275
-- Inject.lua -- This file gets injected into the Core plugin when testing the inter-plugin calls with the "testcall" command -- However, since this is a .lua file, it also gets loaded into the Debuggers plugin, so we need to distinguish the two --- Prints the specified table to the log, using the specified inden...
apache-2.0
UnknownX7/darkstar
scripts/zones/Yuhtunga_Jungle/Zone.lua
12
4004
----------------------------------- -- -- Zone: Yuhtunga_Jungle (123) -- ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/Yuhtunga_Jungle/TextIDs"); requ...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Dynamis-Buburimu/mobs/Goblin_Replica.lua
22
1186
----------------------------------- -- Area: Dynamis Buburimu -- MOB: Goblin Replica ----------------------------------- package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Buburimu/TextIDs"); --------...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Buburimu_Peninsula/npcs/Beastmen_s_Banner.lua
14
1039
----------------------------------- -- Area: Buburimu_Peninsula -- NPC: Beastmen_s_Banner -- @pos -132.589 19.999 -314.261 118 ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Buburimu_Peninsula/TextIDs"); ...
gpl-3.0
maikuru23/darkstar
scripts/zones/The_Eldieme_Necropolis/TextIDs.lua
2
2051
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6535; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6538; -- Obtained: <item> GIL_OBTAINED = 6539; -- Obtained <number> gil KEYITEM_OBTAINED = 6541; -- Obtain...
gpl-3.0
maikuru23/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Pihra_Rhebenslo.lua
36
4463
----------------------------------- -- Area: Windurst Waters [S] -- NPC: Pihra_Rhebenslo -- Armor Storage NPC ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/a...
gpl-3.0
UnknownX7/darkstar
scripts/globals/items/mug_of_honeyed_egg.lua
12
1284
----------------------------------------- -- ID: 5739 -- Item: mug_of_honeyed_egg -- Food Effect: 30Min, All Races ----------------------------------------- -- MP 8 -- Intelligence 1 -- MP recovered while healing 1 ----------------------------------------- require("scripts/globals/status"); --------------------------...
gpl-3.0
wland/quick3.6
cocos/scripting/lua-bindings/script/extension/DeprecatedExtensionFunc.lua
61
1351
if nil == cc.Control then return end --tip local function deprecatedTip(old_name,new_name) print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") end --functions of CCControl will be deprecated end local CCControlDeprecated = { } function CCControlDeprecated.ad...
mit
UnknownX7/darkstar
scripts/zones/Port_Jeuno/npcs/Rinzei.lua
17
1375
----------------------------------- -- Area: Port Jeuno -- NPC: Rinzei -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Jeuno/TextIDs"); require("scripts/globals/quests"); ----------------...
gpl-3.0
UnknownX7/darkstar
scripts/globals/spells/bluemagic/cold_wave.lua
9
2132
----------------------------------------- -- Spell: Cold Wave -- Deals ice damage that lowers Agility and gradually reduces HP of enemies within range -- Spell cost: 37 MP -- Monster Type: Arcana -- Spell Type: Magical (Ice) -- Blue Magic Points: 1 -- Stat Bonus: INT-1 -- Level: 52 -- Casting Time: 4 seconds -- Recast ...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Dynamis-Windurst/mobs/Xoo_Kaza_the_Solemn.lua
17
1160
----------------------------------- -- Area: Dynamis Windurst -- NPC: Xoo Kaza the Solemn -- Boss Trigger for RDM NM ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; ----------------------------------- -- o...
gpl-3.0
wangqi/gameserver
server/src/gensrc/lua/BsePropList_pb.lua
1
1088
-- Generated By protoc-gen-lua Do not Edit local protobuf = require "protobuf" module('BsePropList_pb', package.seeall) local BSEPROPLIST = protobuf.Descriptor(); local BSEPROPLIST_PROPINFO_FIELD = protobuf.FieldDescriptor(); BSEPROPLIST_PROPINFO_FIELD.name = "propInfo" BSEPROPLIST_PROPINFO_FIELD.full_name = ".com.x...
apache-2.0
either1/prosody-modules
mod_register_json/register_json/mod_register_json.lua
32
10044
-- Expose a simple token based servlet to handle user registrations from web pages -- through Base64 encoded JSON. -- Copyright (C) 2010 - 2013, Marco Cirillo (LW.Org) local datamanager = datamanager local b64_decode = require "util.encodings".base64.decode local b64_encode = require "util.encodings".base64.encode lo...
mit
kararahmed/karar.dev
plugins/lock_username.lua
20
1116
--[[ # #ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ #:(( # For More Information ....! # Developer : Aziz < @TH3_GHOST > # our channel: @DevPointTeam # Version: 1.1 #:)) #ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ # ]] lo...
gpl-2.0
UnknownX7/darkstar
scripts/zones/Outer_Horutoto_Ruins/npcs/_5eb.lua
14
1889
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Gate: Magical Gizmo -- Involved In Mission: Full Moon Fountain -- @pos -291 0 -659 194 ----------------------------------- package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
UnknownX7/darkstar
scripts/globals/spells/hyoton_san.lua
21
1278
----------------------------------------- -- Spell: Hyoton: San -- Deals ice damage to an enemy and lowers its resistance against fire. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast --------------...
gpl-3.0
maikuru23/darkstar
scripts/globals/mobskills/Nullifying_Dropkick.lua
5
1050
--------------------------------------------- -- Nullifying Dropkick -- --------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpmoves"); require("/scripts/zones/Empyreal_Paradox/TextIDs"); -------------------------------...
gpl-3.0
wland/quick3.6
cocos/scripting/lua-bindings/auto/api/Camera.lua
7
4966
-------------------------------- -- @module Camera -- @extend Node -- @parent_module cc -------------------------------- -- Gets the camera's projection matrix.<br> -- return The camera projection matrix. -- @function [parent=#Camera] getProjectionMatrix -- @param self -- @return mat4_table#mat4_table ret (return va...
mit
UnknownX7/darkstar
scripts/globals/common.lua
35
2855
----------------------------------- -- -- ----------------------------------- ----------------------------------- -- switch ----------------------------------- function switch(c) local swtbl = { casevar = c, caseof = function (self,code) local f if (self.casevar) then f = cod...
gpl-3.0
maikuru23/darkstar
scripts/zones/Marjami_Ravine/Zone.lua
34
1245
----------------------------------- -- -- Zone: Marjami Ravine -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Marjami_Ravine/TextIDs"] = nil; require("scripts/zones/Marjami_Ravine/TextIDs"); ----------------------------------- -- onInitialize -...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Yhoator_Jungle/TextIDs.lua
7
1432
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6385; -- Obtained: <item>. GIL_OBTAINED = 6386; -- Obtained <number> gil. KEYITEM_OBTAINED = 6388; -- Obtained...
gpl-3.0
Coethium/server-minetestforfun
mods/mobs/npc_female.lua
7
4196
-- Npc by TenPlus1 mobs.npc_drops = { "farming:meat", "farming:donut", "farming:bread", "default:apple", "default:sapling", "default:junglesapling", "shields:shield_enhanced_wood", "3d_armor:chestplate_cactus", "3d_armor:boots_bronze", "default:sword_steel", "default:pick_steel", "default:shovel_steel", "d...
unlicense
maikuru23/darkstar
scripts/globals/effects/mnd_down.lua
19
1087
----------------------------------- -- -- EFFECT_MND_DOWN -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if((target:getStat(MOD_MND) - effect...
gpl-3.0
CuteOne/BadRotations
Rotations/Old/SL/old_RetributionFiskee.lua
1
46210
local rotationName = "Fiskee - 8.1.0" --------------- --- Toggles --- --------------- local function createToggles() -- Rotation Button RotationModes = { [1] = { mode = "Auto", value = 1 , overlay = "Automatic Rotation", tip = "Swaps between Single and Multiple based on number of targets in range.", highlight = 1, i...
gpl-3.0
maikuru23/darkstar
scripts/zones/Windurst_Woods/npcs/Abby_Jalunshi.lua
38
1042
----------------------------------- -- Area: Windurst Woods -- NPC: Abby Jalunshi -- Type: Moghouse Renter -- @zone: 241 -- @pos -101.895 -5 36.172 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; -------...
gpl-3.0
Tatuy/UAServer
data/npc/FORGOTTENSERVER-ORTS/scripts/Dorian.lua
1
12344
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg)...
gpl-2.0
hypebeast/hammerspoon
extensions/eventtap/init.lua
1
6754
--- === hs.eventtap === --- --- Tap into input events (mouse, keyboard, trackpad) for observation and possibly overriding them --- It also provides convenience wrappers for sending mouse and keyboard events. If you need to construct finely controlled mouse/keyboard events, see hs.eventtap.event --- --- This module is b...
mit
fischerling/lumail
lib/string_utilities.lua
4
3926
-- -- Does the specified string end with the given string? -- _G['string']['ends'] = function (String, End) return End == '' or string.sub(String, -string.len(End)) == End end -- -- String interopolation function, taken from the Lua wiki: -- -- http://lua-users.org/wiki/StringInterpolation -- -- Usage: -- -- p...
gpl-2.0
maikuru23/darkstar
scripts/zones/Port_Windurst/npcs/Taniko-Maniko.lua
36
1836
----------------------------------- -- Area: Port Windurst -- NPC: Taniko-Maniko -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst/...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Port_Jeuno/npcs/Shami.lua
14
27777
----------------------------------- -- Area: Port Jeuno -- NPC: Shami -- Orb Seller (BCNM) -- @pos -14 8 44 246 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); requi...
gpl-3.0
SinaKK/telegram-bot
plugins/whosin.lua
4
1320
-- See who's in an event! -- Use !whosin eventname local _file_values = './data/events.lua' function read_file_values( ) local f = io.open(_file_values, "r+") -- If file doesn't exists if f == nil then -- Create a new empty table print ('Created value file '.._file_values) serialize_to_file({}, _fi...
gpl-2.0
maikuru23/darkstar
scripts/globals/effects/super_buff.lua
35
1143
----------------------------------- -- -- EFFECT_SUPER_BUFF -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) local power = effect:getPower(); ...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Dynamis-Beaucedine/mobs/Goblin_Statue.lua
22
1841
----------------------------------- -- Area: Dynamis Beaucedine -- MOB: Goblin Statue -- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg ----------------------------------- package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil; ----------------...
gpl-3.0
cuiqingwei1981/openwrt
feeds/luci/applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-format.lua
80
3636
--[[ 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 h...
gpl-2.0
fmeus/Broker_Pack
Broker_Guild.lua
1
3639
--[[ Project : Broker Pack Copyright : Copyright (c) 2011-2014 Frank Meus. All rights reserved. Purpose : --]] -- Local variables local UI_STATUS = { [0] = "", [1] = "<AFK>", [2] = "<DND>" }; local classFileNames, classes = {}, {}; -- Build list for class file names FillLocalizedClassList(classes,...
mit
maikuru23/darkstar
scripts/globals/mobskills/Hydro_Canon.lua
8
1274
--------------------------------------------------- -- Hydro_Canon -- Description: -- Type: Magical -- additional effect : 40hp/tick Poison --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpmoves"); --...
gpl-3.0
cuiqingwei1981/openwrt
feeds/luci/applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua
78
1344
--[[ Luci configuration model for statistics - collectd dns plugin configuration (c) 2008 Freifunk Leipzig / 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 a...
gpl-2.0