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
jlcvp/otxserver
data/monster/vermins/sandcrawler.lua
2
2249
local mType = Game.createMonsterType("Sandcrawler") local monster = {} monster.description = "a sandcrawler" monster.experience = 20 monster.outfit = { lookType = 350, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0, lookMount = 0 } monster.raceId = 641 monster.Bestiary = { class = "Ver...
gpl-2.0
smartdevicelink/sdl_atf_test_scripts
test_scripts/API/SetAppIcon/010_Mobile_App_received_response_SetAppIcon_REJECTED.lua
1
2548
--------------------------------------------------------------------------------------------------- -- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0041-appicon-resumption.md -- User story:TBD -- Use case:TBD -- -- Requirement summary: -- TBD -- -- Description: -- In case: -- 1) SDL,...
bsd-3-clause
Squeakz/darkstar
scripts/zones/North_Gustaberg/Zone.lua
13
4047
----------------------------------- -- -- Zone: North_Gustaberg (106) -- ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/North_Gustaberg/TextIDs"); requ...
gpl-3.0
Squeakz/darkstar
scripts/zones/Temenos/mobs/Fire_Elemental.lua
28
1740
----------------------------------- -- Area: Temenos E T -- NPC: Fire_Elemental ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ------------------------------...
gpl-3.0
Squeakz/darkstar
scripts/zones/Sea_Serpent_Grotto/mobs/Devil_Manta.lua
4
1213
----------------------------------- -- Area: Sea Serpent Grotto -- MOB: Devil Manta -- Note: Place holder Charybdis ----------------------------------- require("scripts/globals/groundsofvalor"); require("scripts/zones/Sea_Serpent_Grotto/MobIDs"); ----------------------------------- -- onMobDeath --------------------...
gpl-3.0
Freezerburn/ld29-entry
LuaTest/lua/main.lua
1
97057
package.path = lfs.packagedir() .. "/?.lua" local engine = require "engine" local class = require "middleclass" local log = require "log" local components = require "components" local entities = require "entities" local _width = 640 local _height = 480 local _windowFlags = bit32.bor(sdl.WINDOW_OPENGL, sdl.WINDOW...
mit
ddumont/darkstar
scripts/zones/Yuhtunga_Jungle/npcs/Logging_Point.lua
17
1091
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/Yuhtunga_Jungle/TextIDs"); ---------...
gpl-3.0
Squeakz/darkstar
scripts/zones/Lower_Delkfutts_Tower/npcs/Grounds_Tome.lua
30
1107
----------------------------------- -- Area: Lower Delkfutt's Tower -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(play...
gpl-3.0
Mic92/vicious
widgets/hddtemp_linux.lua
1
1746
-- hard drive temperatures widget type using hddtemp daemon -- Copyright (C) 2010 Adrian C. <anrxc@sysphere.org> -- Copyright (C) 2017 mutlusun <mutlusun@github.com> -- Copyright (C) 2019 Nguyễn Gia Phong <vn.mcsinyx@gmail.com> -- -- This file is part of Vicious. -- -- Vicious is free software: you can redistribute ...
gpl-2.0
coreyfarrell/testsuite
asttest/self-tests/astlib_configs2/test.lua
5
1883
-- test astlib skip_if(not ast.exists(), "asterisk not found") -- generate what we expect to see expected_test_conf = [[ [test] test = 1 test = test value = this allow = true [section] value = yes setting = on ip = 10.10.10.10 [section] value = no #include file [template](!) value = default [inherit](template) v...
gpl-2.0
smartdevicelink/sdl_atf_test_scripts
test_scripts/API/IsReady/TTS_IsReady/NotUsed/ATF_TTS_IsReady_false_SingleRPC.lua
1
35741
config.defaultProtocolVersion = 2 --------------------------------------------------------------------------------------------- ---------------------------- Required Shared libraries -------------------------------------- --------------------------------------------------------------------------------------------- lo...
bsd-3-clause
ddumont/darkstar
scripts/zones/Norg/npcs/Laisrean.lua
9
2349
----------------------------------- -- Area: Norg -- NPC: Laisrean -- Starts and Ends Quest: The Sahagin's Stash -- @zone 252 -- @pos -2.251 -1 21.654 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("s...
gpl-3.0
coreyfarrell/testsuite
asttest/lib/lua/proclib.lua
5
1781
-- -- Asterisk -- An open source telephony toolkit. -- -- Copyright (C) 1999 - 2008, Digium, Inc. -- -- Matthew Nicholson <mnicholson@digium.com> -- -- See http://www.asterisk.org for more information about -- the Asterisk project. Please do not directly contact -- any of the maintainers of this project for assistance;...
gpl-2.0
Squeakz/darkstar
scripts/zones/Upper_Jeuno/npcs/Kasra.lua
13
1044
---------------------------------- -- Area: Upper Jeuno -- NPC: Kasra -- Type: Item Deliverer -- @zone: 244 -- @pos -34.555 7.999 90.702 -- ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/zones/Upper_Jeuno/TextIDs"); --------------------------...
gpl-3.0
ddumont/darkstar
scripts/zones/Western_Altepa_Desert/mobs/King_Vinegarroon.lua
16
2333
----------------------------------- -- Area: Western Altepa Desert -- NM: King Vinegarroon ----------------------------------- require("scripts/globals/status"); require("scripts/globals/titles"); require("scripts/globals/weather"); ----------------------------------- -- onMobInitialize Action ---------------------...
gpl-3.0
jomanmuk/vlc-2.1
share/lua/meta/art/02_frenchtv.lua
48
2666
--[[ Gets an artwork from amazon $Id$ Copyright © 2007 the VideoLAN team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version...
lgpl-2.1
jlcvp/otxserver
data/monster/event_creatures/memory_creatures/memory_of_a_carnisylvan.lua
2
2619
local mType = Game.createMonsterType("Memory Of A Carnisylvan") local monster = {} monster.description = "a memory of a carnisylvan" monster.experience = 1850 monster.outfit = { lookType = 1418, lookHead = 23, lookBody = 98, lookLegs = 22, lookFeet = 61, lookAddons = 1, lookMount = 0 } monster.health = 3800 mo...
gpl-2.0
ForrestMarkX/glua-ZombieMaster
gamemode/languages/chinese_simplified.lua
1
7708
translate.AddLanguage("zh-CN", "Chinese (Simplified)") LANGUAGE.waiting_on_players = "正在等候所有玩家做好准备。" LANGUAGE.players_ready = "所有玩家已准备完毕,请挑选一位僵尸大师。" LANGUAGE.changed_player_model_to_x = "你的玩家模型已换成 %s" LANGUAGE.trap_activate_for_x = "为了 %d 而启动" LANGUAGE.trap_...
apache-2.0
Squeakz/darkstar
scripts/zones/Valkurm_Dunes/npcs/Tsunashige_IM.lua
13
3317
----------------------------------- -- Area: Valkurm Dunes -- NPC: Tsunashige, I.M. -- Outpost Conquest Guards -- @pos 139.394 -7.885 100.384 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); re...
gpl-3.0
smartdevicelink/sdl_atf_test_scripts
test_scripts/AppServices/RPCPassThrough/005_SendLocation_Invalid_Permissions.lua
1
3204
--------------------------------------------------------------------------------------------------- -- Precondition: -- 1) app1 and app2 are registered on SDL. -- 2) AppServiceProvider permissions(with NAVIGATION AppService permissions to handle rpc SendLocation) are assigned for <app1ID> -- 3) SendLocation permis...
bsd-3-clause
smartdevicelink/sdl_atf_test_scripts
test_scripts/Policies/appID_Management/035_ATF_Register_App_Interface_Case-insensitivity_Of_AppName.lua
1
3027
--------------------------------------------------------------------------------------------- -- Requirement summary: -- [RegisterAppInterface] Case-insensitivity of appName -- -- Description: -- SDL should be case-insensetive when comparing the value of "appName" -- received within RegisterAppInterface against the val...
bsd-3-clause
ddumont/darkstar
scripts/zones/AlTaieu/npcs/_0x0.lua
14
2215
----------------------------------- -- Area: Al'Taieu -- NPC: Crystalline Field -- @pos .1 -10 -464 33 ----------------------------------- package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil; ----------------------------------- require("scripts/zones/AlTaieu/TextIDs"); require("scripts/globals/missions"); ------...
gpl-3.0
ddumont/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Sorrowful_Sage.lua
14
2481
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Sorrowful Sage -- Type: Assault Mission Giver -- @pos 134.096 0.161 -30.401 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globa...
gpl-3.0
Squeakz/darkstar
scripts/zones/Valkurm_Dunes/TextIDs.lua
13
1947
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6401; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6406; -- Obtained: <item>. GIL_OBTAINED = 6407; -- Obtained <number> gil. KEYITEM_OBTAINED = 6409; -- Obtained...
gpl-3.0
NickSavage/koreader
spec/unit/readerlink_spec.lua
1
5965
describe("ReaderLink module", function() local DocumentRegistry, ReaderUI, UIManager, sample_epub, sample_pdf, Event setup(function() require("commonrequire") DocumentRegistry = require("document/documentregistry") Event = require("ui/event") ReaderUI = require("apps/reader/read...
agpl-3.0
ddumont/darkstar
scripts/globals/mobskills/Wind_Shear.lua
36
1145
--------------------------------------------- -- Wind Shear -- -- Description: Deals damage to enemies within an area of effect. Additional effect: Knockback -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: 10' radial -- Notes: The knockback is rather severe. Vulpangue uses an enhanced version th...
gpl-3.0
smartdevicelink/sdl_atf_test_scripts
test_scripts/Defects/7_0/3175/common_3175.lua
1
2704
--------------------------------------------------------------------------------------------------- -- Common module --------------------------------------------------------------------------------------------------- --[[ Required Shared libraries ]] local runner = require('user_modules/script_runner') local actions = ...
bsd-3-clause
mohammad10427/tele-fighter.
plugins/stats.lua
866
4001
do -- Returns a table with `name` and `msgs` 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_prin...
gpl-2.0
Squeakz/darkstar
scripts/zones/Nashmau/npcs/Jajaroon.lua
13
1671
----------------------------------- -- Area: Nashmau -- NPC: Jajaroon -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Nashmau/TextIDs"); require("scripts/globals/shop"); ---------------------...
gpl-3.0
Mic92/vicious
widgets/cpu_freebsd.lua
1
2707
-- CPU usage widget type for FreeBSD -- Copyright (C) 2017,2019 mutlusun <mutlusun@github.com> -- Copyright (C) 2019 Nguyễn Gia Phong <vn.mcsinyx@gmail.com> -- -- This file is part of Vicious. -- -- Vicious is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License...
gpl-2.0
jchuang1977/luci-1
applications/luci-app-statistics/luasrc/statistics/i18n.lua
29
2184
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.i18n", package.seeall) require("luci.util") require("luci.i18n") Instance = luci.util.class() function Instance.__init__( self, graph ) self.i18n = luci.i18n se...
apache-2.0
smartdevicelink/sdl_atf_test_scripts
test_scripts/RC/CLIMATE_RADIO/ButtonPress/001_success_flow_for_climate_and_radio.lua
1
1715
--------------------------------------------------------------------------------------------------- -- User story: https://github.com/smartdevicelink/sdl_requirements/issues/9 -- Use case: https://github.com/smartdevicelink/sdl_requirements/blob/master/detailed_docs/button_press_emulation.md -- Item: Use Case 1: Main F...
bsd-3-clause
smartdevicelink/sdl_atf_test_scripts
test_scripts/Defects/7_1/3620/3620_4_RPC_Service_NACK_protected_non_existed_session_id.lua
1
1963
--------------------------------------------------------------------------------------------------- -- Issue: https://github.com/smartdevicelink/sdl_core/issues/3620 --------------------------------------------------------------------------------------------------- -- Description: Check SDL responds with NACK to protec...
bsd-3-clause
Squeakz/darkstar
scripts/zones/The_Eldieme_Necropolis/Zone.lua
13
2217
----------------------------------- -- -- Zone: The_Eldieme_Necropolis (195) -- ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/The_...
gpl-3.0
jlcvp/otxserver
data/scripts/spells/monster/feversleep_skill_reducer.lua
2
1281
local combat = {} for i = 35, 60 do combat[i] = Combat() combat[i]:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_YELLOW_RINGS) local condition = Condition(CONDITION_ATTRIBUTES) condition:setParameter(CONDITION_PARAM_TICKS, 8000) condition:setParameter(CONDITION_PARAM_SKILL_MELEEPERCENT, i) condition:setParameter(CONDITI...
gpl-2.0
yeewang/openwrt-luci
modules/base/luasrc/model/firewall.lua
84
11156
--[[ LuCI - Firewall model Copyright 2009 Jo-Philipp Wich <xm@subsignal.org> 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 applica...
apache-2.0
Squeakz/darkstar
scripts/zones/Windurst_Woods/npcs/Mono_Nchaa.lua
17
1371
----------------------------------- -- Area: Windurst Woods -- NPC: Mono Nchaa -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/zones/Windurst_Woods/TextIDs"...
gpl-3.0
ddumont/darkstar
scripts/zones/Upper_Jeuno/npcs/Finnela.lua
14
1040
----------------------------------- -- Area: Upper Jeuno -- NPC: Finnela -- Type: Standard NPC -- @zone 244 -- @pos -51.880 -1 106.486 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ------------------------...
gpl-3.0
alireza98/z
plugins/id.lua
355
2795
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
ddumont/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/Limion_RK.lua
14
3388
----------------------------------- -- Area: The Sanctuary of Zi'Tah -- NPC: Limion, R.K. -- Border Conquest Guards -- @pos -252.454 -1.958 624.366 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
jlcvp/otxserver
data/scripts/movements/others/trap.lua
2
1683
local traps = { [2145] = {transformTo = 2146, damage = {-50, -100}}, [2148] = {damage = {-50, -100}}, [3482] = {transformTo = 3481, damage = {-15, -30}, ignorePlayer = (Game.getWorldType() == WORLD_TYPE_NO_PVP) }, [3944] = {transformTo = 3945, damage = {-15, -30}, type = COMBAT_EARTHDAMAGE} } local tra...
gpl-2.0
ddumont/darkstar
scripts/zones/Arrapago_Reef/mobs/Zareehkl_the_Jubilant.lua
23
1703
----------------------------------- -- Area: Arrapago Reef -- NPC: Zareehkl the Jubilant ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob) end; ------------------...
gpl-3.0
ddumont/darkstar
scripts/zones/Balgas_Dais/bcnms/early_bird_catches_the_wyrm.lua
30
1807
----------------------------------- -- Area: Balgas_Dais -- Name: early bird catches the wyrm ----------------------------------- package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil; ------------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scripts/zones...
gpl-3.0
jlcvp/otxserver
data/monster/bosses/weakened_shlorg.lua
2
4210
local mType = Game.createMonsterType("Weakened Shlorg") local monster = {} monster.description = "Weakened Shlorg" monster.experience = 6500 monster.outfit = { lookType = 565, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0, lookMount = 0 } monster.health = 10000 monster.maxHealth = 1000...
gpl-2.0
ddumont/darkstar
scripts/globals/items/angler_stewpot.lua
12
1879
----------------------------------------- -- ID: 5611 -- Item: Angler's Stewpot -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% (cap 200) -- MP +10 -- HP Recoverd while healing 5 -- MP Recovered while healing 1 -- Accuracy +15% Cap 15 -- Ranged Accuracy 15% Ca...
gpl-3.0
collmot/ardupilot
libraries/AP_Scripting/examples/esc-usage.lua
13
1311
-- This script displays ESC usage time (supported only by ToshibaCAN ESCs) local usage_hours_max = 100 -- maximum safe usage for these ESCs in hours local usage_sec_max = usage_hours_max*60*60 function update() -- this is the loop which periodically runs if not arming:is_armed() then -- only run check when disarmed...
gpl-3.0
Mic92/vicious
widgets/mpd_all.lua
1
4887
-- Music Player Daemon widget type -- Copyright (C) 2010 Adrian C. <anrxc@sysphere.org> -- Copyright (C) 2017,2019 mutlusun <mutlusun@github.com> -- Copyright (C) 2018 Jörg Thalheim <joerg@thalheim.io> -- Copyright (C) 2018-2019 Nguyễn Gia Phong <vn.mcsinyx@gmail.com> -- Copyright (C) 2019 Juan Carlos Menonita <Ju...
gpl-2.0
Squeakz/darkstar
scripts/zones/East_Ronfaure_[S]/npcs/qm4.lua
29
1556
----------------------------------- -- Area: East Ronfaure [S] -- NPC: qm4 "???" -- Involved in Quests: Steamed Rams -- @pos 541.425 -49.83 178.563 ----------------------------------- package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems...
gpl-3.0
yeewang/openwrt-luci
modules/admin-full/luasrc/model/cbi/admin_system/leds.lua
83
3272
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> 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 $Id$ ]]-- m = ...
apache-2.0
smartdevicelink/sdl_atf_test_scripts
user_modules/functions.lua
1
13709
local mobile_session = require('mobile_session') function userPrint( color, message) print ("\27[" .. tostring(color) .. "m " .. tostring(message) .. " \27[0m") end function DelayedExp(time) local event = events.Event() event.matches = function(self, e) return self == e end EXPECT_EVENT(event, "Delayed event"...
bsd-3-clause
jlcvp/otxserver
data/scripts/spells/monster/the_welter_heal.lua
2
1187
local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_NONE) local spell = Spell("instant") function spell.onCastSpell(creature, var) local spectators, spectator = Game.getSpectators(creature:getPosition(), false, false, 10, 10, 10, 10) for i = 1, #spectators do spectator = spectators[i] if spect...
gpl-2.0
jorgifumi/luci
modules/luci-base/luasrc/ltn12.lua
84
8954
--[[ LuaSocket 2.0.2 license Copyright � 2004-2007 Diego Nehab 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 to use, copy, modify, me...
apache-2.0
ddumont/darkstar
scripts/globals/items/bowl_of_yayla_corbasi_+1.lua
12
1481
----------------------------------------- -- ID: 5580 -- Item: bowl_of_yayla_corbasi_+1 -- Food Effect: 4Hrs, All Races ----------------------------------------- -- HP 25 -- Dexterity -1 -- Vitality 3 -- HP Recovered While Healing 5 -- MP Recovered While Healing 2 ----------------------------------------- require("scr...
gpl-3.0
Squeakz/darkstar
scripts/zones/Port_Bastok/npcs/_6k8.lua
13
1400
----------------------------------- -- Area: Port Bastok -- NPC: Door: Departures Exit -- @zone 236 -- @pos -62 1 -8 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems...
gpl-3.0
satanoff/testantispam
plugins/id.lua
226
4260
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, result) local re...
gpl-2.0
Squeakz/darkstar
scripts/zones/Windurst_Woods/npcs/Peshi_Yohnts.lua
44
2158
----------------------------------- -- Area: Windurst Woods -- NPC: Peshi Yohnts -- Type: Bonecraft Guild Master -- @pos -6.175 -6.249 -144.667 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); r...
gpl-3.0
gogins/gogins.github.io
csound/silencio/lua/inversion_tests.lua
2
1348
Silencio = require("Silencio") ChordSpace = require("ChordSpace") local original = ChordSpace.chordsForNames['CM'] print(original:information()) print() function invariantPcs(a_, b_) local a = a_:eOP() local b = b_:eOP() local count = 0 for voice = 1, #a do local p = a[voice] if a:cou...
lgpl-2.1
0gajun/mal
lua/step2_eval.lua
12
2127
#!/usr/bin/env lua local table = require('table') local readline = require('readline') local utils = require('utils') local types = require('types') local reader = require('reader') local printer = require('printer') local List, Vector, HashMap = types.List, types.Vector, types.HashMap -- read function READ(str) ...
mpl-2.0
Squeakz/darkstar
scripts/zones/Windurst_Walls/npcs/Shantotto.lua
12
8600
----------------------------------- -- Area: Windurst Walls -- NPC: Shantotto -- @pos 122 -2 112 239 -- CSID's missing in autoEventID please check the old forums under resources for all of shantotto's csid's. I found them all manually. ----------------------------------- package.loaded["scripts/zones/Windurst_Wall...
gpl-3.0
Squeakz/darkstar
scripts/zones/Temenos/Zone.lua
35
4896
----------------------------------- -- -- Zone: Temenos (37) -- ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Temenos/TextIDs"); require("scripts/globals/limbus"); -------------...
gpl-3.0
patrikrm13/soupergroup
plugins/minecraft.lua
624
2605
local usage = { "!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565", "!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.", } local ltn12 = require "ltn12" local function mineSearch(ip, port, receiver) --25565 local responseText = "" l...
gpl-2.0
smartdevicelink/sdl_atf_test_scripts
test_scripts/API/SubMenuIcon/002_menuIcon_invalid_type.lua
1
1836
--------------------------------------------------------------------------------------------------- -- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0085-submenu-icon.md -- User story:TBD -- Use case:TBD -- -- Requirement summary: -- TBD -- -- Description: -- In case: -- 1) Mobile app...
bsd-3-clause
chriskmanx/qmole
QMOLEDEV64/nmap-4.76/nselib/http.lua
1
7624
--- The http module provides functions for dealing with the client side -- of the http protocol. The functions reside inside the http namespace. -- The return value of each function in this module is a table with the -- following keys: status, header and body. status is a number representing -- the HTTP status code ret...
gpl-3.0
smartdevicelink/sdl_atf_test_scripts
test_scripts/TOO_MANY_PENDING_REQUESTS/ATF_SetDisplayLayout_TOO_MANY_PENDING_REQUESTS.lua
1
5347
--Note: Update PendingRequestsAmount =3 in .ini file Test = require('connecttest') require('cardinalities') local events = require('events') local mobile_session = require('mobile_session') local mobile = require('mobile_connection') local tcp = require('tcp_connection') local file_connection = require('file_connect...
bsd-3-clause
gamestdio/colyseus.lua
coronasdk-example/dmc_corona/dmc_sockets/ssl_params.lua
16
4809
--====================================================================-- -- dmc_corona/dmc_sockets/ssl_params.lua -- -- Documentation: http://docs.davidmccuskey.com/ --====================================================================-- --[[ The MIT License (MIT) Copyright (C) 2014-2015 David McCuskey. All Rights ...
mit
ddumont/darkstar
scripts/zones/Giddeus/npcs/HomePoint#1.lua
27
1248
----------------------------------- -- Area: Giddeus -- NPC: HomePoint#1 -- @pos -132 -3 -303 145 ----------------------------------- package.loaded["scripts/zones/Giddeus/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Giddeus/TextIDs"); require("scripts/globals/homepoint"); ----------...
gpl-3.0
ddumont/darkstar
scripts/zones/Western_Adoulin/npcs/Mastan.lua
14
2128
----------------------------------- -- Area: Western Adoulin -- NPC: Virsaint -- Type: Standard NPC and Quest NPC -- Involved with Quests: 'Order Up' -- 'The Curious Case of Melvien' -- @zone 256 -- @pos -9 0 67 ----------------------------------- package.loaded["scripts/zones/Western_Adoul...
gpl-3.0
ddumont/darkstar
scripts/globals/items/hellsteak_+1.lua
12
1923
----------------------------------------- -- ID: 5610 -- Item: hellsteak_+1 -- Food Effect: 240Min, All Races ----------------------------------------- -- Health 22 -- Strength 7 -- Intelligence -3 -- Health Regen While Healing 2 -- hMP +1 -- Attack % 20 (cap 150) -- Ranged ATT % 20 (cap 150) -- Dragon Killer 5 -------...
gpl-3.0
smartdevicelink/sdl_atf_test_scripts
test_scripts/API/Restructuring_OnResetTimeout/023_BC_OnResetTimeout_SubtleAlert_with_softButton.lua
1
3357
------------------------------------------------------------------------------------------------------------------------ -- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0189-Restructuring-OnResetTimeout.md ------------------------------------------------------------------------------...
bsd-3-clause
Squeakz/darkstar
scripts/zones/Cloister_of_Storms/bcnms/trial_by_lightning.lua
30
2230
----------------------------------- -- Area: Cloister of Storms -- BCNM: Trial by Lightning ----------------------------------- package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("script...
gpl-3.0
Squeakz/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/Ochocho_WW.lua
13
3345
----------------------------------- -- Area: The Sanctuary of Zi'Tah -- NPC: Ochocho, W.W. -- Border Conquest Guards -- @pos -252.454 -1.958 624.366 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/global...
gpl-3.0
ForrestMarkX/glua-ZombieMaster
entities/entities/trigger_entitycount.lua
1
2288
if CLIENT then return end DEFINE_BASECLASS("scripted_trigger") ENT.Type = "brush" local valid = { "prop_physics", "func_physbox", "prop_physics_override", "prop_physics_multiplayer", "func_physbox_multiplayer" } local function PassesFlag(entity) local class = entity:GetClass() return table...
apache-2.0
ddumont/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/Treasure_Coffer.lua
16
4793
----------------------------------- -- 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/keyitems"...
gpl-3.0
ddumont/darkstar
scripts/zones/Kazham/npcs/Pahya_Lolohoiv.lua
17
1373
----------------------------------- -- Area: Kazham -- NPC: Pahya Lolohoiv -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ...
gpl-3.0
EnigmaTeam/EnigmaBot
plugins/info.lua
1
22224
local function callback_reply(extra, success, result) --icon & rank ------------------------------------------------------------------------------------------------ userrank = "Member" if tonumber(result.from.id) == 200670665 then userrank = "Master ⭐⭐⭐⭐" send_document(org_chat_id,"umbrella/stickers/master.webp"...
gpl-2.0
smartdevicelink/sdl_atf_test_scripts
test_scripts/Resumption/InteriorVehicleData/010_InteriorVD_resumption_all_modules_with_moduleId_IGN_OFF.lua
1
2801
--------------------------------------------------------------------------------------------------- -- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0188-get-interior-data-resumption.md -- -- Description: Successful resuming of interior vehicle data after IGN_OFF in case GetInteriorVe...
bsd-3-clause
ddumont/darkstar
scripts/zones/Al_Zahbi/npcs/Talruf.lua
14
1033
----------------------------------- -- Area: Al Zahbi -- NPC: Talruf -- Type: Standard NPC -- @zone 48 -- @pos 100.878 -7 14.291 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; -------------------------------...
gpl-3.0
smartdevicelink/sdl_atf_test_scripts
test_scripts/Capabilities/UpdateVideoStreamingCapabilities/GetCapabilities/009_GetCapabilities_out_of_range_minsize_maxsize_array.lua
1
2193
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0296-Update-video-streaming-capabilities-during-ignition-cycle.md -- -- Description: SDL applies default videoStreamingCapability in case HMI responds with videoStreamingCapability -- that contains additionalVideoStreamingCapabilities ...
bsd-3-clause
jlcvp/otxserver
data/monster/quests/svargrond_arena/warlord/the_pit_lord.lua
2
2474
local mType = Game.createMonsterType("The Pit Lord") local monster = {} monster.description = "The Pit Lord" monster.experience = 2500 monster.outfit = { lookType = 55, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0, lookMount = 0 } monster.health = 5270 monster.maxHealth = 5270 monster...
gpl-2.0
Squeakz/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Louxiard.lua
15
2494
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Louxiard -- @zone 80 -- @pos -93 -4 49 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); require("scripts/globals/quests"); -------...
gpl-3.0
Planimeter/grid-sdk
engine/client/gui/text.lua
1
1394
--=========== Copyright © 2019, Planimeter, All rights reserved. ===========-- -- -- Purpose: Text class -- --==========================================================================-- class "gui.text" ( "gui.box" ) local text = gui.text function text:text( parent, text ) gui.box.box( self, parent, nil ) self:se...
mit
ddumont/darkstar
scripts/zones/QuBia_Arena/mobs/Death_Clan_Destroyer.lua
17
4261
----------------------------------- -- Area: QuBia_Arena -- MOB: Death Clan Destroyer ----------------------------------- package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil; ----------------------------------- require("scripts/zones/QuBia_Arena/TextIDs"); require("scripts/globals/missions"); require("scripts/gl...
gpl-3.0
Squeakz/darkstar
scripts/zones/Apollyon/mobs/Jidra.lua
4
2289
----------------------------------- -- Area: Apollyon SW -- NPC: Jidra ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); ----------------------------------- -- ...
gpl-3.0
Squeakz/darkstar
scripts/zones/Cloister_of_Gales/mobs/Ogmios.lua
23
1336
----------------------------------- -- Area: Cloister of Gales -- MOB: Ogmios -- Involved in Quest: Carbuncle Debacle ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); ----------------------------------- -- OnMobSpawn Action --------------------------------...
gpl-3.0
ddumont/darkstar
scripts/zones/Southern_San_dOria/npcs/Gizel.lua
14
1503
----------------------------------- -- Area: Southern San dOria -- NPC: Gizel -- Type: Event Scene Replayer NPC -- @zone 230 -- @pos -34.412 0.000 33.362 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/South...
gpl-3.0
Squeakz/darkstar
scripts/zones/Northern_San_dOria/npcs/Alphollon_C_Meriard.lua
12
3560
----------------------------------- -- Area: Northern San d'Oria -- NPC: Alphollon C Meriard -- Type: Purifies cursed items with their corresponding abjurations. -- @zone: 231 -- @pos 98.108 -1 137.999 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ---------------...
gpl-3.0
Squeakz/darkstar
scripts/zones/Mhaura/TextIDs.lua
15
1944
-- 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 = 6384; -- Obtained: <item>. GIL_OBTAINED = 6385; -- Obtained <number> gil. KEYITEM_OBTAINED = 6387; -- Obtained...
gpl-3.0
smartdevicelink/sdl_atf_test_scripts
test_scripts/Defects/7_1/885_Alert.lua
1
3206
--------------------------------------------------------------------------------------------------- -- Issue: https://github.com/SmartDeviceLink/sdl_core/issues/885 --------------------------------------------------------------------------------------------------- -- Description: Check that SDL stops processing softBut...
bsd-3-clause
NickSavage/koreader
frontend/ui/widget/scrolltextwidget.lua
1
4587
local InputContainer = require("ui/widget/container/inputcontainer") local TextBoxWidget = require("ui/widget/textboxwidget") local VerticalScrollBar = require("ui/widget/verticalscrollbar") local Geom = require("ui/geometry") local GestureRange = require("ui/gesturerange") local UIManager = require("ui/uimanager") loc...
agpl-3.0
smartdevicelink/sdl_atf_test_scripts
test_scripts/Smoke/API/010_DeleteFile_PositiveCase_SUCCESS.lua
1
2988
--------------------------------------------------------------------------------------------------- -- User story: Smoke -- Use case: DeleteFile -- Item: Happy path -- -- Requirement summary: -- [DeleteFile] SUCCESS on successful file removal from an application folder -- -- Description: -- Mobile application sends val...
bsd-3-clause
ddumont/darkstar
scripts/zones/Attohwa_Chasm/npcs/Jakaka.lua
9
2447
----------------------------------- -- Area: Attohwa Chasm -- NPC: Jakaka -- Type: ENM -- @pos -144.711 6.246 -250.309 7 ----------------------------------- package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Attohwa_Chasm/TextIDs"); require("scri...
gpl-3.0
Squeakz/darkstar
scripts/zones/Alzadaal_Undersea_Ruins/npcs/qm3.lua
30
1360
----------------------------------- -- Area: Alzadaal Undersea Ruins -- NPC: ??? (Spawn Armed Gears(ZNM T3)) -- @pos -42 -4 -169 72 ----------------------------------- package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Alzadaal_Undersea_Rui...
gpl-3.0
Squeakz/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/qm9.lua
57
2181
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: qm9 (??? - Ancient Papyrus Shreds) -- Involved in Quest: In Defiant Challenge -- @pos 92.272 -32 -64.676 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------...
gpl-3.0
ddumont/darkstar
scripts/zones/Lower_Jeuno/npcs/Zauko.lua
7
5848
----------------------------------- -- Area: Lower Jeuno -- NPC: Zauko -- Involved in Quests: Save the Clock Tower, Community Service -- @zone 245 -- @pos -3 0 11 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
ddumont/darkstar
scripts/globals/effects/int_boost.lua
34
1027
----------------------------------- -- -- EFFECT_INT_BOOST -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:addMod(MOD_INT,effect:getPower()); end; ...
gpl-3.0
Squeakz/darkstar
scripts/globals/effects/int_boost.lua
34
1027
----------------------------------- -- -- EFFECT_INT_BOOST -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:addMod(MOD_INT,effect:getPower()); end; ...
gpl-3.0
ddumont/darkstar
scripts/zones/Bastok_Mines/npcs/Eulaphe.lua
27
1981
----------------------------------- -- Area: Bastok Mines -- NPC: Eulaphe -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- --...
gpl-3.0
smartdevicelink/sdl_atf_test_scripts
test_scripts/API/IsReady/TTS_IsReady/NotUsed/ATF_TTS_IsReady_NotRespond_Split_RPC_APPLINK_25139_SAVED.lua
1
52884
config.defaultProtocolVersion = 2 --------------------------------------------------------------------------------------------- ---------------------------- Required Shared libraries -------------------------------------- --------------------------------------------------------------------------------------------- lo...
bsd-3-clause
smartdevicelink/sdl_atf_test_scripts
test_scripts/Security/RPCMessageProtection/012_Params_in_OnPermissionChange.lua
1
3210
--------------------------------------------------------------------------------------------------- -- Proposal: -- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0207-rpc-message-protection.md -- Description: -- Verify the value for `requireEncryption` in OnPermissionsChange at top and functio...
bsd-3-clause
jlcvp/otxserver
data/scripts/spells/attack/berserk.lua
2
1055
local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_HITAREA) combat:setParameter(COMBAT_PARAM_BLOCKARMOR, 1) combat:setParameter(COMBAT_PARAM_USECHARGES, 1) combat:setArea(createCombatArea(AREA_SQUARE1X1)) function onGetFormulaValues(p...
gpl-2.0