repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
UnfortunateFruit/darkstar
scripts/zones/Port_Windurst/npcs/Sachetan_IM.lua
30
4748
----------------------------------- -- Area: Port Windurst -- NPC: Sachetan, I.M. -- @pos -82 -5 165 z 240 -- X Grant Signet -- X Recharge Emperor Band, Empress Band, or Chariot Band -- X Accepts traded Crystals to fill up the Rank bar to open new Missions. -- X Sells items in exchange for Conquest Points -- X Start S...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Upper_Jeuno/npcs/HomePoint#2.lua
12
1240
----------------------------------- -- Area: Upper Jeuno -- NPC: HomePoint#2 -- @pos 32 -1 -44 244 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/globals/homep...
gpl-3.0
hamed9898/maxbot
plugins/yoda.lua
642
1199
local ltn12 = require "ltn12" local https = require "ssl.https" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function request(text) local api = "https://yoda.p.mashape.com/yoda?" text = ...
gpl-2.0
UnfortunateFruit/darkstar
scripts/zones/Northern_San_dOria/npcs/Ulycille.lua
53
1947
----------------------------------- -- Area: Northern San d'Oria -- NPC: Ulycille -- Type: Woodworking Adv. Synthesis Image Support -- @pos -183.320 9.999 269.651 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Cloister_of_Storms/bcnms/carbuncle_debacle.lua
13
1478
----------------------------------- -- Area: Cloister of Storms -- BCNM: Carbuncle Debacle ----------------------------------- package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil; ------------------------------------- require("scripts/zones/Cloister_of_Storms/TextIDs"); require("scripts/globals/settings")...
gpl-3.0
waitwaitforget/torch7
test/test_qr.lua
46
9128
-- This file contains tests for the QR decomposition functions in torch: -- torch.qr(), torch.geqrf() and torch.orgqr(). local torch = require 'torch' local tester = torch.Tester() local tests = {} -- torch.qr() with result tensors given. local function qrInPlace(tensorFunc) return function(x) local q, r = tenso...
bsd-3-clause
kirangonella/torch7
test/test_qr.lua
46
9128
-- This file contains tests for the QR decomposition functions in torch: -- torch.qr(), torch.geqrf() and torch.orgqr(). local torch = require 'torch' local tester = torch.Tester() local tests = {} -- torch.qr() with result tensors given. local function qrInPlace(tensorFunc) return function(x) local q, r = tenso...
bsd-3-clause
UnfortunateFruit/darkstar
scripts/zones/Eastern_Altepa_Desert/Zone.lua
27
4256
----------------------------------- -- -- Zone: Eastern_Altepa_Desert (114) -- ----------------------------------- package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/Eastern_Al...
gpl-3.0
UnfortunateFruit/darkstar
scripts/globals/spells/bluemagic/temporal_shift.lua
4
1468
----------------------------------------- -- Spell: Temporal Shift -- Enemies within range are temporarily prevented from acting -- Spell cost: 48 MP -- Monster Type: Luminians -- Spell Type: Magical (Lightning) -- Blue Magic Points: 5 -- Stat Bonus: HP+10, MP+15 -- Level: 73 -- Casting Time: 0.5 seconds -- R...
gpl-3.0
abasshacker/extreme
plugins/info.lua
10
8374
--[[ # # Show users information in groups # # author: Arian < @Dragon_Born > # our channel: @GPMod # Version: 2016-04-02 # # Features added: # -- setrank on reply # -- get users info with their IDs and @username # ]] do local Arian = 99530862 --put your id here(BOT OWNER ID) local function setrank(msg, name, value)...
gpl-2.0
nesstea/darkstar
scripts/zones/Abyssea-Vunkerl/npcs/qm19.lua
17
1524
----------------------------------- -- Zone: Abyssea-Vunkeral -- NPC: ??? -- Spawns: Karkadann ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(pl...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fn.lua
34
2569
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: North Plate -- @pos 180 -34 71 195 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; -------------------------...
gpl-3.0
UnfortunateFruit/darkstar
scripts/globals/weaponskills/shining_blade.lua
30
1336
----------------------------------- -- Shining Blade -- Sword weapon skill -- Skill Level: 100 -- Deals light elemental damage to enemy. Damage varies with TP. -- Aligned with the Soil Gorget. -- Aligned with the Soil Belt. -- Element: Light -- Modifiers: STR:40% ; MND:40% -- 100%TP 200%TP 300%TP -- 1.1...
gpl-3.0
longhf/torch7
File.lua
3
11933
local File = torch.getmetatable('torch.File') function File:writeBool(value) if value then self:writeInt(1) else self:writeInt(0) end end function File:readBool() return (self:readInt() == 1) end local TYPE_NIL = 0 local TYPE_NUMBER = 1 local TYPE_STRING = 2 local TYPE_TABLE = 3 l...
bsd-3-clause
nesstea/darkstar
scripts/zones/Sauromugue_Champaign_[S]/npcs/Indescript_Markings.lua
26
1405
----------------------------------- -- Area: Sauromugue Champaign [S] -- NPC: Indescript Markings -- @pos 322 24 113 -- Quest NPC ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Sauromugue_Champaign_...
gpl-3.0
vonflynee/opencomputersserver
world/opencomputers/7c9ad1a8-61e1-4046-a969-190bd5607730/boot/02_os.lua
15
2296
local computer = require("computer") local event = require("event") local fs = require("filesystem") local shell = require("shell") local unicode = require("unicode") local function env() -- copy parent env when first requested; easiest way to keep things -- like number of env vars trivial (#vars). local data = ...
mit
nesstea/darkstar
scripts/zones/Southern_San_dOria/npcs/Machielle.lua
12
1979
----------------------------------- -- Area: Southern San d'Oria -- NPC: Machielle -- Only sells when Bastok controls Norvallen Region ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/events...
gpl-3.0
nesstea/darkstar
scripts/globals/abilities/pets/attachments/tension_spring_ii.lua
27
1092
----------------------------------- -- Attachment: Tension Spring II ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onUseAbility ----------------------------------- function onEquip(pet) pet:addMod(MOD_ATTP, 6) pet:addMod(MOD_RATTP, 6) end funct...
gpl-3.0
FailcoderAddons/supervillain-ui
SVUI_!Core/libs/_SVUI_Lib/SpecialFX.lua
3
10803
--[[ /$$$$$$ /$$ /$$ /$$$$$$$$ /$$ /$$ /$$__ $$ |__/ | $$| $$_____/| $$ / $$ | $$ \__/ /$$$$$$ /$$$$$$ /$$$$$$$ /$$ /$$$$$$ | $$| $$ | $$/ $$/ | $$$$$$ /$$__ $$ /$$__ $$ /$$_____/| $$ |____ $$| $$| $$$$$ \ $$$$/ ...
mit
UnfortunateFruit/darkstar
scripts/zones/Garlaige_Citadel/npcs/Grounds_Tome.lua
34
1145
----------------------------------- -- Area: Garlaige Citidel -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrad...
gpl-3.0
cmassiot/vlc-broadcast
share/lua/playlist/break.lua
113
1995
--[[ $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. This program is distribut...
gpl-2.0
UnfortunateFruit/darkstar
scripts/globals/items/dil.lua
18
1252
----------------------------------------- -- ID: 5457 -- Item: Dil -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 4 -- Mind -6 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --------------...
gpl-3.0
Xileck/forgottenserver
data/lib/core/game.lua
32
1507
function Game.broadcastMessage(message, messageType) if messageType == nil then messageType = MESSAGE_STATUS_WARNING end for _, player in ipairs(Game.getPlayers()) do player:sendTextMessage(messageType, message) end end function Game.convertIpToString(ip) local band = bit.band local rshift = bit.rshift ret...
gpl-2.0
nesstea/darkstar
scripts/zones/Windurst_Woods/npcs/Pulonono.lua
13
1060
----------------------------------- -- Area: Windurst Woods -- NPC: Pulonono -- Type: VCS Chocobo Trainer -- @zone: 241 -- @pos 130.124 -6.35 -119.341 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----...
gpl-3.0
reonZ/project-arena
game/dota_addons/project_arenas/scripts/vscripts/libraries/animations.lua
8
15147
ANIMATIONS_VERSION = "0.83" --[[ Lua-controlled Animations Library by BMD Installation -"require" this file inside your code in order to gain access to the StartAnmiation and EndAnimation global. -Additionally, ensure that this file is placed in the vscripts/libraries path and that the vscripts/libraries/modi...
gpl-2.0
nesstea/darkstar
scripts/globals/items/slice_of_cerberus_meat.lua
18
1503
----------------------------------------- -- ID: 5565 -- Item: slice_of_cerberus_meat -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 10 -- Magic -10 -- Strength 6 -- Intelligence -6 ----------------------------------------- require("scripts/globals/status"); ---------------------...
gpl-3.0
nesstea/darkstar
scripts/globals/items/bowl_of_adamantoise_soup.lua
18
1601
----------------------------------------- -- ID: 5210 -- Item: Bowl of Adamantoise Soup -- Food Effect: 180Min, All Races ----------------------------------------- -- Strength -7 -- Dexterity -7 -- Agility -7 -- Vitality -7 -- Intelligence -7 -- Mind -7 -- Charisma -7 ----------------------------------------- require(...
gpl-3.0
nesstea/darkstar
scripts/zones/The_Shrine_of_RuAvitau/npcs/blank_4.lua
31
4968
----------------------------------- -- Area: The Shrine of Ru'Avitau -- NPC: ??? divine might mission -- @pos -40 0 -151 178 ----------------------------------- package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Shrine_of_RuAvitau/TextI...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Port_Jeuno/npcs/Red_Ghost.lua
34
2108
----------------------------------- -- Area: Port Jeuno -- NPC: Red Ghost -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Jeuno/TextIDs"); require("scripts/globals/quests"); requ...
gpl-3.0
amirmrbad/teleatom
bot/creedbot.lua
1
15612
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '1.0' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then retu...
gpl-2.0
UnfortunateFruit/darkstar
scripts/zones/Norg/npcs/Aeka.lua
18
3050
----------------------------------- -- Area: Norg -- NPC: Aeka -- Involved in Quest: Forge Your Destiny -- @zone 252 -- @pos 4 0 -4 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("script...
gpl-3.0
nesstea/darkstar
scripts/globals/weaponskills/trueflight.lua
6
1939
----------------------------------- -- Skill Level: N/A -- Description: Deals light elemental damage. Damage varies with TP. Gastraphetes: Aftermath effect varies with TP. -- Available only after completing the Unlocking a Myth (Ranger) quest. -- Does not work with Flashy Shot. -- Does not work with Stealth Shot. -- Al...
gpl-3.0
UnfortunateFruit/darkstar
scripts/globals/effects/dex_down.lua
19
1086
----------------------------------- -- -- EFFECT_DEX_DOWN -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if((target:getStat(MOD_DEX) - effect...
gpl-3.0
bowlofstew/Macaroni
Next/Tests/Features/BoostBuild/SomeApp/project.lua
2
3012
-------------------------------------------------------------------------------- -- Plugins -------------------------------------------------------------------------------- porg = plugins:Get("Porg") cpp = plugins:Get("Cpp") html = plugins:Get("HtmlView") bjam = plugins:Get("BoostBuild2") -------------------...
apache-2.0
UnfortunateFruit/darkstar
scripts/zones/Cloister_of_Gales/Zone.lua
32
1656
----------------------------------- -- -- Zone: Cloister_of_Gales (201) -- ----------------------------------- package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Cloister_of_Gales/TextIDs"); ------...
gpl-3.0
nesstea/darkstar
scripts/globals/abilities/rapture.lua
27
1094
----------------------------------- -- Ability: Rapture -- Enhances the potency of your next white magic spell. -- Obtained: Scholar Level 55 -- Recast Time: Stratagem Charge -- Duration: 1 white magic spell or 60 seconds, whichever occurs first -- -- Level |Charges |Recharge Time per Charge -- ----- -------- -----...
gpl-3.0
UnfortunateFruit/darkstar
scripts/globals/items/bundle_of_shirataki.lua
35
1199
----------------------------------------- -- ID: 5237 -- Item: Bundle of Shirataki -- Food Effect: 5Min, All Races ----------------------------------------- -- Strength -3 -- Mind 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- On...
gpl-3.0
Mashape/kong
kong/plugins/oauth2/migrations/003_130_to_140.lua
2
1447
return { postgres = { up = [[ DO $$ BEGIN ALTER TABLE IF EXISTS ONLY oauth2_credentials ADD tags TEXT[]; EXCEPTION WHEN DUPLICATE_COLUMN THEN -- Do nothing, accept existing state END$$; DO $$ BEGIN CREATE INDEX IF NOT EXISTS oauth2_credentials_tags_idex...
apache-2.0
nesstea/darkstar
scripts/zones/La_Theine_Plateau/npcs/Faurbellant.lua
13
1759
----------------------------------- -- Area: Northern San d'Oria -- NPC: Faurbellant -- Type: Quest NPC -- Involved in Quest: Gates of Paradise -- @pos 484 24 -89 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scrip...
gpl-3.0
jj918160/cocos2d-x-samples
samples/FantasyWarrior3D/frameworks/runtime-src/Classes/custom/api/DrawNode3D.lua
9
2791
-------------------------------- -- @module DrawNode3D -- @extend Node -- @parent_module cc -------------------------------- -- js NA<br> -- lua NA -- @function [parent=#DrawNode3D] getBlendFunc -- @param self -- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) -------------------------------- -...
mit
UnfortunateFruit/darkstar
scripts/zones/Port_Bastok/npcs/Kagetora.lua
17
1720
----------------------------------- -- Area: Port Bastok -- NPC: Kagetora -- Involved in Quest: Ayame and Kaede, 20 in Pirate Years -- @zone 236 -- @pos -96 -2 29 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scrip...
gpl-3.0
0xd4d/iced
src/rust/iced-x86-lua/lua/types/iced_x86/Encoder.lua
1
5725
-- SPDX-License-Identifier: MIT -- Copyright (C) 2018-present iced project and contributors -- ⚠️This file was generated by GENERATOR!🦹‍♂️ ---@meta ---@diagnostic disable unused-local ---Encodes instructions decoded by the decoder or instructions created by other code. ---See also `BlockEncoder` which can encode an...
mit
UnfortunateFruit/darkstar
scripts/zones/Windurst_Woods/npcs/Umumu.lua
34
2869
----------------------------------- -- Area: Windurst Woods -- NPC: Umumu -- Involved In Quest: Making Headlines -- @pos 32.575 -5.250 141.372 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/q...
gpl-3.0
nesstea/darkstar
scripts/globals/abilities/chi_blast.lua
30
1077
----------------------------------- -- Ability: Chi Blast -- Releases Chi to attack an enemy. -- Obtained: Monk Level 41 -- Recast Time: 3:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- onAbilit...
gpl-3.0
xpol/luv
examples/echo-server-client.lua
10
1516
local p = require('lib/utils').prettyPrint local uv = require('luv') local function create_server(host, port, on_connection) local server = uv.new_tcp() p(1, server) uv.tcp_bind(server, host, port) uv.listen(server, 128, function(err) assert(not err, err) local client = uv.new_tcp() uv.accept(ser...
apache-2.0
gabealmer/dotfiles
hammerspoon/init.lua
1
3603
local mash = { split = {"ctrl", "alt", "cmd"}, corner = {"ctrl", "alt", "shift"}, focus = {"ctrl", "alt"} } -- Resize windows local function adjust(x, y, w, h) return function() local win = hs.window.focusedWindow() if not win then return end local f = win:frame() local max = win:screen()...
mit
nesstea/darkstar
scripts/globals/items/slice_of_lynx_meat.lua
18
1344
----------------------------------------- -- ID: 5667 -- Item: Slice of Lynx Meat -- Food Effect: 5 Min, Galka only ----------------------------------------- -- Strength 5 -- Intelligence -7 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
focusworld/aabb
plugins/youtube.lua
644
1722
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 function get_yt_data (yt_code) local url = 'https://www.googleapis.com/yo...
gpl-2.0
UnfortunateFruit/darkstar
scripts/zones/Cloister_of_Tremors/Zone.lua
32
1667
----------------------------------- -- -- Zone: Cloister_of_Tremors (209) -- ----------------------------------- package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Cloister_of_Tremors/TextIDs"); ...
gpl-3.0
heyuqi/wxFormBuilder
sdk/plugin_interface/premake.lua
1
8815
--***************************************************************************** --* Author: RJP Computing <rjpcomputing@gmail.com> --* Date: 12/15/2006 --* Version: 1.00-beta --* Copyright (C) 2006 RJP Computing --* --* This program is free software; you can redistribute it and/or --* modify it under the terms of the...
gpl-2.0
UnfortunateFruit/darkstar
scripts/zones/Kazham/npcs/Tahn_Posbei.lua
37
1510
----------------------------------- -- Area: Kazham -- NPC: Tahn Posbei -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade...
gpl-3.0
ndbeals/Luabox
lua/luabox/ui/filetree_node.lua
2
3516
local PANEL = {} PANEL.ClassName = "Luabox_File_Tree_Node" PANEL.Base = "DTree_Node" function PANEL:Init() self.Label.DoDoubleClick = function( lbl ) self:InternalDoDoubleClick() end self.Files = {} self.Directories = {} end function PANEL:DoDoubleClick() end function PANEL:InternalDoDouble...
gpl-3.0
nesstea/darkstar
scripts/globals/spells/vital_etude.lua
27
1611
----------------------------------------- -- Spell: Vital Etude -- Static VIT Boost, BRD 70 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagi...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Arrapago_Reef/npcs/qm6.lua
42
1099
----------------------------------- -- Area: Arrapago Reef -- NPC: ??? (corsair job flag quest) -- ----------------------------------- package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Arrapago_Reef/TextIDs"); ----------------------------------- ...
gpl-3.0
Wedmer/packages
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/netdev.lua
66
1077
local netdevsubstat = { "receive_bytes_total", "receive_packets_total", "receive_errs_total", "receive_drop_total", "receive_fifo_total", "receive_frame_total", "receive_compressed_total", "receive_multicast_total", "transmit_bytes_total", "transmit_packets_total", "transmit...
gpl-2.0
nesstea/darkstar
scripts/zones/Port_San_dOria/npcs/Raqtibahl.lua
13
1359
----------------------------------- -- Area: Port San d'Oria -- NPC: Raqtibahl -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/TextIDs"); ...
gpl-3.0
nesstea/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Komalata.lua
13
1554
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Komalata -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ------------------------...
gpl-3.0
vonflynee/opencomputersserver
world/opencomputers/a3abb948-eba5-4c6b-9388-1bb1f150ed2b/bin/edit.lua
15
16517
local component = require("component") local event = require("event") local fs = require("filesystem") local keyboard = require("keyboard") local shell = require("shell") local term = require("term") local text = require("text") local unicode = require("unicode") if not term.isAvailable() then return end local args...
mit
vonflynee/opencomputersserver
world/opencomputers/4f2775bd-9dcb-42e6-8318-1837ede27e76/bin/edit.lua
15
16517
local component = require("component") local event = require("event") local fs = require("filesystem") local keyboard = require("keyboard") local shell = require("shell") local term = require("term") local text = require("text") local unicode = require("unicode") if not term.isAvailable() then return end local args...
mit
UnfortunateFruit/darkstar
scripts/zones/Port_Bastok/npcs/Patient_Wheel.lua
38
1386
----------------------------------- -- Area: Port Bastok -- NPC: Patient Wheel -- Type: Quest NPC -- @pos -107.988 3.898 52.557 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts...
gpl-3.0
UnfortunateFruit/darkstar
scripts/globals/items/pitcher_of_homemade_herbal_tea.lua
35
1140
----------------------------------------- -- ID: 5221 -- Item: pitcher_of_homemade_herbal_tea -- Food Effect: 30Min, All Races ----------------------------------------- -- Charisma 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- On...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Batallia_Downs/npcs/Stone_Monument.lua
32
1287
----------------------------------- -- Area: Batallia Downs -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" -- @pos 185.669 9.049 -614.025 105 ----------------------------------- package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil; ----------------------------------- requir...
gpl-3.0
nesstea/darkstar
scripts/zones/Nashmau/npcs/Tsutsuroon.lua
13
1296
----------------------------------- -- Area: Nashmau -- NPC: Tsutsuroon -- Type: Tenshodo Merchant -- @pos -15.193 0.000 31.356 53 ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/global...
gpl-3.0
Mashape/kong
spec/03-plugins/05-syslog/01-log_spec.lua
2
3477
local helpers = require "spec.helpers" local utils = require "kong.tools.utils" local cjson = require "cjson" local pl_stringx = require "pl.stringx" for _, strategy in helpers.each_strategy() do describe("#flaky Plugin: syslog (log) [#" .. strategy .. "]", function() local proxy_client local p...
apache-2.0
nesstea/darkstar
scripts/zones/Jugner_Forest_[S]/npcs/Telepoint.lua
13
1225
----------------------------------- -- Area: Jugner Forest [S] -- NPC: Telepoint ----------------------------------- package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Jugner_Forest_[S]/TextIDs"); ----------...
gpl-3.0
nesstea/darkstar
scripts/zones/Windurst_Woods/npcs/An_Polaali.lua
13
1099
----------------------------------- -- Area: Windurst Woods -- NPC: An Polaali -- Working 100% ----------------------------------- require("scripts/globals/settings"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; --------...
gpl-3.0
albfan/clink
clink/lua/hg.lua
4
1836
-- -- Copyright (c) 2012 Martin Ridgers -- -- 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, merge, publ...
gpl-3.0
nesstea/darkstar
scripts/zones/Windurst_Waters/npcs/HomePoint#2.lua
27
1272
----------------------------------- -- Area: Windurst Waters -- NPC: HomePoint#1 -- @pos 138 0.001 -14 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Windurst_Waters/TextIDs"); require("scripts/globals...
gpl-3.0
malortie/gmod-addons
th_weapons/lua/entities/ent_weapon_th_medkit/init.lua
1
1180
-- Only enable this addon if HL:S is mounted. if !IsHL1Mounted() then return end ------------------------------------- -- Weapon Medkit spawning. ------------------------------------- AddCSLuaFile('cl_init.lua') AddCSLuaFile('shared.lua') include('shared.lua') -- Define a global variable to ease calling base class m...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Kuftal_Tunnel/npcs/Treasure_Coffer.lua
6
4406
----------------------------------- -- Area: Kuftal Tunnel -- NPC: Treasure Coffer -- @zone 174 ----------------------------------- package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); requi...
gpl-3.0
jj918160/cocos2d-x-samples
samples/FantasyWarrior3D/src/Helper.lua
8
4136
--global var camera =nil CC_CONTENT_SCALE_FACTOR = function() return cc.Director:getInstance():getContentScaleFactor() end CC_POINT_PIXELS_TO_POINTS = function(pixels) return cc.p(pixels.x/CC_CONTENT_SCALE_FACTOR(), pixels.y/CC_CONTENT_SCALE_FACTOR()) end CC_POINT_POINTS_TO_PIXELS = function(points) re...
mit
thesharp/dotfiles
nvim/lua/filetypes.lua
1
2202
--- Python vim.cmd("au FileType python setlocal tabstop=8 expandtab shiftwidth=4 softtabstop=4") vim.cmd("au FileType python set colorcolumn=80,110") --- HTML vim.cmd("au FileType html setlocal tabstop=4 expandtab shiftwidth=2 softtabstop=2") --- Markdown vim.cmd("au FileType markdown setlocal tabstop=8 expandtab shi...
mit
dpino/snabbswitch
lib/luajit/src/jit/p.lua
4
10734
---------------------------------------------------------------------------- -- LuaJIT profiler. -- -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -- -- This modul...
apache-2.0
akdor1154/awesome
lib/beautiful/init.lua
3
5030
---------------------------------------------------------------------------- --- Theme library. -- -- @author Damien Leone &lt;damien.leone@gmail.com&gt; -- @author Julien Danjou &lt;julien@danjou.info&gt; -- @copyright 2008-2009 Damien Leone, Julien Danjou -- @release @AWESOME_VERSION@ -- @module beautiful -----------...
gpl-2.0
nesstea/darkstar
scripts/zones/Bastok_Mines/npcs/HomePoint#1.lua
27
1269
----------------------------------- -- Area: Bastok Mines -- NPC: HomePoint#1 -- @pos 39.189 0.001 -42.618 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Bastok_Mines/TextIDs"); require("scripts/globals/h...
gpl-3.0
kirangonella/torch7
TensorMath.lua
28
42196
local wrap = require 'cwrap' require 'torchcwrap' local interface = wrap.CInterface.new() local method = wrap.CInterface.new() interface:print([[ #include "TH.h" #include "luaT.h" #include "utils.h" ]]) -- specific to torch: we generate a 'dispatch' function -- first we create a helper function -- n...
bsd-3-clause
vonflynee/opencomputersserver
world/opencomputers/506bbd88-8247-4944-9b91-7506cac9fcb5/boot/90_filesystem.lua
16
1952
local component = require("component") local event = require("event") local fs = require("filesystem") local shell = require("shell") local isInitialized, pendingAutoruns = false, {} local function onInit() isInitialized = true for _, run in ipairs(pendingAutoruns) do local result, reason = pcall(run) if ...
mit
nesstea/darkstar
scripts/globals/weaponskills/dulling_arrow.lua
11
1353
----------------------------------- -- Dulling Arrow -- Archery weapon skill -- Skill level: 80 -- Lowers enemy's INT. Chance of params.critical varies with TP. -- Aligned with the Flame Gorget & Light Gorget. -- Aligned with the Flame Belt & Light Belt. -- Element: None -- Modifiers: STR:16% ; AGI:25% -- 100%TP 200...
gpl-3.0
nesstea/darkstar
scripts/globals/items/plate_of_yahata-style_carp_sushi.lua
18
1408
----------------------------------------- -- ID: 5186 -- Item: plate_of_yahata-style_carp_sushi -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 2 -- Accuracy % 11 -- HP Recovered While Healing 2 ----------------------------------------- require("scripts/globals/status"); ------...
gpl-3.0
UnfortunateFruit/darkstar
scripts/globals/mobskills/PW_Thundris_Shriek.lua
13
1172
--------------------------------------------- -- Thundris Shriek -- -- Description: Deals heavy lightning damage to targets in area of effect. Additional effect: Terror -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: Unknown -- Notes: Players will begin to be intimidated by the dvergr after th...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Hajaom.lua
34
1031
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Hajaom -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); -----------...
gpl-3.0
nesstea/darkstar
scripts/zones/Grand_Palace_of_HuXzoi/npcs/_iyq.lua
13
1512
----------------------------------- -- Area: Grand Palace of Hu'Xzoi -- NPC: cermet portal -- @pos 440 0 401 34 ----------------------------------- package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"); requ...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Al_Zahbi/npcs/Dabigo.lua
38
1030
----------------------------------- -- Area: Al Zahbi -- NPC: Dabigo -- Type: Delivery Box Manager -- @zone: 48 -- @pos -34.289 -1 -129.141 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; -------------------...
gpl-3.0
akdor1154/awesome
lib/awful/autofocus.lua
1
2392
--------------------------------------------------------------------------- --- Autofocus functions. -- -- When loaded, this module makes sure that there's always a client that will -- have focus on events such as tag switching, client unmanaging, etc. -- -- @author Julien Danjou &lt;julien@danjou.info&gt; -- @copyrigh...
gpl-2.0
Spartan322/finalfrontier
gamemode/sgui/shipview.lua
3
5298
-- Copyright (c) 2014 James King [metapyziks@gmail.com] -- -- This file is part of Final Frontier. -- -- Final Frontier 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 3 of -- the Lic...
lgpl-3.0
UnfortunateFruit/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/TextIDs.lua
5
1760
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6381; -- You cannot obtain the <item>. Try trading again after sorting your inventory. ITEM_OBTAINED = 6382; ...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5f1.lua
34
1105
----------------------------------- -- 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
nesstea/darkstar
scripts/globals/effects/mnd_down.lua
34
1108
----------------------------------- -- -- EFFECT_MND_DOWN -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if ((target:getStat(MOD_MND) - effect:ge...
gpl-3.0
bowlofstew/Macaroni
Next/Tests/Features/LanguageFeatures/manifest.lua
2
1531
require "os" require "Macaroni.Model.Library" upper = getUpperLibrary(); id = { group=upper.Group, name=upper.Name .. ".LanguageFeatures", version=upper.Version } -- Life cycle: -- Read file. -- For each dependency, load manifest and parse. -- Take id and use it to create the current library...
apache-2.0
Mashape/kong
spec/02-integration/02-cmd/09-prepare_spec.lua
2
2069
local helpers = require "spec.helpers" local TEST_PREFIX = "servroot_prepared_test" describe("kong prepare", function() lazy_setup(function() pcall(helpers.dir.rmtree, TEST_PREFIX) end) after_each(function() pcall(helpers.dir.rmtree, TEST_PREFIX) end) it("prepares a prefix", function() asser...
apache-2.0
UnfortunateFruit/darkstar
scripts/globals/spells/chocobo_mazurka.lua
31
1189
----------------------------------------- -- Spell: Chocobo Mazurka -- Gives party members enhanced movement ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCasti...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Windurst_Woods/npcs/Nalta.lua
38
1033
----------------------------------- -- Area: Windurst Woods -- NPC: Nalta -- Type: Conquest Troupe -- @zone: 241 -- @pos 19.140 1 -51.297 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------...
gpl-3.0
DaemonSnake/vlc
share/lua/intf/cli.lua
43
31858
--[==========================================================================[ cli.lua: CLI module for VLC --[==========================================================================[ Copyright (C) 2007-2011 the VideoLAN team $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org> Pierre Ynard ...
gpl-2.0
NezzKryptic/Wire-Extras
lua/weapons/gmod_tool/stools/wire_keycard.lua
3
9962
TOOL.Category = "Wire Extras/Input, Output" TOOL.Name = "Keycard" TOOL.Command = nil TOOL.ConfigName = "" TOOL.Tab = "Wire" if ( CLIENT ) then language.Add( "Tool.wire_keycard.name", "Keycard Tool (Wire)" ) language.Add( "Tool.wire_keycard.desc", "Create portable media for use with the wire syst...
gpl-3.0
UnfortunateFruit/darkstar
scripts/globals/weaponskills/avalanche_axe.lua
30
1353
----------------------------------- -- Avalanche Axe -- Axe weapon skill -- Skill level: 100 -- Delivers a single-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Soil Gorget & Thunder Gorget. -- Aligned with the Soil Belt & Thunder Belt. -- Element: None -- Modifiers: ST...
gpl-3.0
nesstea/darkstar
scripts/zones/Konschtat_Highlands/TextIDs.lua
13
1468
-- 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
mobinantispam/irantg
plugins/inrealm.lua
34
22928
-- 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_grou...
gpl-2.0
nesstea/darkstar
scripts/zones/Sauromugue_Champaign/npcs/qm7.lua
10
2481
----------------------------------- -- Area: Sauromugue Champaign -- NPC: qm7 (???) (Tower 7) -- Involved in Quest: THF AF "As Thick As Thieves" -- @pos -193.869 15.400 276.837 120 ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil; ------------------------------...
gpl-3.0
nesstea/darkstar
scripts/zones/Northern_San_dOria/npcs/Pirvidiauce.lua
13
2100
----------------------------------- -- Area: Northern San d'Oria -- NPC: Pirvidiauce -- Conquest depending medicine seller ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/glob...
gpl-3.0
nesstea/darkstar
scripts/globals/items/plate_of_anchovies.lua
17
1190
----------------------------------------- -- ID: 5652 -- Item: plate_of_anchovies -- Food Effect: 3Min, All Races ----------------------------------------- -- Dexterity 1 -- Mind -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --...
gpl-3.0