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 |
|---|---|---|---|---|---|
nyczducky/darkstar | scripts/zones/Northern_San_dOria/npcs/Chaupire.lua | 14 | 1238 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Chaupire
-- Guild Merchant NPC: Woodworking Guild
-- @pos -174.476 3.999 281.854 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
sjznxd/lc-20121231 | libs/sys/luasrc/sys.lua | 8 | 25584 | --[[
LuCI - System library
Description:
Utilities for interaction with the Linux system
FileId:
$Id$
License:
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... | apache-2.0 |
nyczducky/darkstar | scripts/globals/spells/bluemagic/cursed_sphere.lua | 35 | 1489 | -----------------------------------------
-- Spell: Cursed Sphere
-- Deals water damage to enemies within area of effect
-- Spell cost: 36 MP
-- Monster Type: Vermin
-- Spell Type: Magical (Water)
-- Blue Magic Points: 2
-- Stat Bonus: MND+1
-- Level: 18
-- Casting Time: 3 seconds
-- Recast Time: 19.5 seconds
-- Magic ... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/RuLude_Gardens/npcs/Dugga.lua | 14 | 1050 | ----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Dugga
-- Type: Item Deliverer
-- @zone 243
-- @pos -55.429 5.999 1.27
--
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
require("scripts/zones/RuLude_Gardens/TextIDs");
--------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Northern_San_dOria/npcs/Daveille.lua | 17 | 1452 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Daveille
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Northern_San_dOria/TextIDs");
require("scripts/globals/... | gpl-3.0 |
abcdefg30/OpenRA | mods/ts/maps/fields-of-green/fields-of-green.lua | 7 | 3442 | --[[
Copyright 2007-2022 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
ddRPB/rpb-pacs | conquest/web/file-exists.lua | 1 | 1538 | -- This script is querying ConQuest PACS in order to find out whether
-- a specific DICOM file restricted via QueryString parameters exists
-- the data is reported in JSON format
local patientid = CGI('PatientID');
local studyuid = CGI('StudyUID');
local seriesuid = CGI('SeriesUID');
local sopuid = CGI('SopUID');
--... | gpl-3.0 |
Megaf/RPi | mods/creative/init.lua | 4 | 5481 | -- minetest/creative/init.lua
creative_inventory = {}
creative_inventory.creative_inventory_size = 0
-- Create detached creative inventory after loading all mods
minetest.after(0, function()
local inv = minetest.create_detached_inventory("creative", {
allow_move = function(inv, from_list, from_index, to_list, to_i... | mit |
jbeich/Aquaria | files/scripts/entities/lihelmet.lua | 6 | 3163 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/South_Gustaberg/MobIDs.lua | 31 | 1234 | -----------------------------------
-- Area: South Gustaberg
-- Comments: -- posX, posY, posZ
--(Taken from 'mob_spawn_points' table)
-----------------------------------
-- Leaping Lizzy
Leaping_Lizzy=17215888;
Leaping_Lizzy_PH={
[17215864] = '1', -- -228.159, 18.045, -411.726
[17215863] = '1', -- -260.662, 22.4... | gpl-3.0 |
Arashbrsh/lifeeee | plugins/torrent_search.lua | 411 | 1622 | --[[ NOT USED DUE TO SSL ERROR
-- See https://getstrike.net/api/
local function strike_search(query)
local strike_base = 'http://getstrike.net/api/v2/torrents/'
local url = strike_base..'search/?phrase='..URL.escape(query)
print(url)
local b,c = http.request(url)
print(b,c)
local search = json:decode(b)
v... | gpl-2.0 |
C-X1/rlComputerCraft | rlTurtle/src/programs/slaughtercon.lua | 1 | 2157 | os.loadAPI("rlOccSense")
os.loadAPI("rlRedStone")
rlrs=rlRedStone
rlsense=rlOccSense
config=
{
sensorSide="top",
redstoneSide="right",
redstoneSlaughterColor=colors.red,
redstoneBreederColor=colors.green,
animalID="Cow",
maxAdults=6,
maxChilds=4,
area=
{
min=
{
... | gpl-3.0 |
micdah/LrControl | Source/LrControl.Plugin/LrControlApp.lua | 1 | 2332 | --[[----------------------------------------------------------------------------
Copyright © 2016 Michael Dahl
This file is part of LrControl.
LrControl 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 ve... | gpl-3.0 |
hacker44-h44/teleguard-v2 | plugins/Robot.lua | 292 | 1641 | -- Checks if bot was disabled on specific chat
local function is_channel_disabled( receiver )
if not _config.disabled_channels then
return false
end
if _config.disabled_channels[receiver] == nil then
return false
end
return _config.disabled_channels[receiver]
end
local function enable_channel(receiver)
if... | gpl-2.0 |
wenhulove333/ScutServer | Sample/ClientSource/samples/Lua/TestLua/Resources/luaScript/ClickAndMoveTest/ClickAndMoveTest.lua | 1 | 1899 | local size = CCDirector:sharedDirector():getWinSize()
local layer = nil
local kTagSprite = 1
local function initWithLayer()
local sprite = CCSprite:create(s_pPathGrossini)
local bgLayer = CCLayerColor:create(ccc4(255,255,0,255))
layer:addChild(bgLayer, -1)
layer:addChild(sprite, 0, kTagSpri... | mit |
nyczducky/darkstar | scripts/zones/Bostaunieux_Oubliette/npcs/Novalmauge.lua | 25 | 4219 | -----------------------------------
-- Area: Bostaunieux Obliette
-- NPC: Novalmauge
-- Starts and Finishes Quest: The Rumor
-- Involved in Quest: The Holy Crest, Trouble at the Sluice
-- @pos 70 -24 21 167
-----------------------------------
package.loaded["scripts/zones/Bostaunieux_Oubliette/TextIDs"] = nil;
-------... | gpl-3.0 |
Tanmoytkd/vlc | share/lua/playlist/lelombrik.lua | 108 | 1985 | --[[
French humor site: http://lelombrik.net
$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 ... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Tavnazian_Safehold/TextIDs.lua | 7 | 2111 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6385; -- Obtained: <item>
GIL_OBTAINED = 6386; -- Obtained <number> gil
KEYITEM_OBTAINED = 6388; -- Ob... | gpl-3.0 |
hadess/libquvi-scripts-iplayer | share/lua/website/totallynsfw.lua | 1 | 2044 |
-- libquvi-scripts
-- Copyright (C) 2011-2012 quvi project
--
-- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>.
--
-- This library 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 Foundatio... | lgpl-2.1 |
nyczducky/darkstar | scripts/globals/items/gold_carp.lua | 12 | 1324 | -----------------------------------------
-- ID: 4427
-- Item: gold_carp
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---------... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/items/anglers_cassoulet.lua | 15 | 1340 | -----------------------------------------
-- ID: 5704
-- Item: anglers_cassoulet
-- Food Effect: 30, All Races
-----------------------------------------
-- VIT -1
-- AGI +5
-- Ranged Accuracy +1
-- Regen +1
-----------------------------------------
require("scripts/globals/status");
----------------------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Balgas_Dais/Zone.lua | 30 | 1783 | -----------------------------------
--
-- Zone: Balgas_Dais (146)
--
-----------------------------------
package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Balgas_Dais/TextIDs");
-----------------------------------... | gpl-3.0 |
abcdefg30/OpenRA | mods/ra/maps/sarin-gas-3-controlled-burn/controlledburn-AI.lua | 7 | 3892 | --[[
Copyright 2007-2022 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
AquariaOSE/Aquaria | files/scripts/entities/naijachildghost.lua | 6 | 1661 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Chemioue.lua | 14 | 1057 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Chemioue
-- Type: NPC Quest
-- @zone 26
-- @pos 82.041 -34.964 67.636
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-------... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/items/yellow_globe.lua | 12 | 1327 | -----------------------------------------
-- ID: 4403
-- Item: yellow_globe
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Horlais_Peak/bcnms/rank_2_mission.lua | 26 | 2444 | -----------------------------------
-- Area: Horlais Peak
-- Name: Mission Rank 2
-- @pos -509 158 -211 139
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
requi... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Davoi/npcs/_45g.lua | 9 | 2275 | -----------------------------------
-- Area: Davoi
-- NPC: Groaning Pond
-- Used In Quest: Whence Blows the Wind
-- @pos 101 0.1 60 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/glo... | gpl-3.0 |
medoo3131/NEW-BOT3 | bot/seedbot.lua | 180 | 10314 | 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 = '2'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
return... | gpl-2.0 |
hacker44-h44/teleguard-v2 | plugins/pokedex.lua | 626 | 1668 | do
local images_enabled = true;
local function get_sprite(path)
local url = "http://pokeapi.co/"..path
print(url)
local b,c = http.request(url)
local data = json:decode(b)
local image = data.image
return image
end
local function callback(extra)
send_msg(extra.receiver, extra.text, ok_cb, false)
end
lo... | gpl-2.0 |
2DemiGods/ProjectPorcupine | Assets/StreamingAssets/Overlay/overlay_functions.lua | 19 | 1497 | -- Example of overlay function
-- Input: tile, the current tile for which the
-- overlay wants to display the data
-- Input: world, world class
-- Return: an integer (by default should be scaled between 0 and 255)
function oxygenValueAt ( tile )
if tile == nil then
return 0
end
room = tile.room
if room == n... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Garlaige_Citadel/npcs/_5kr.lua | 14 | 1539 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: _5kr (Crematory Hatch)
-- Type: Door
-- @pos 139 -6 127 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/... | gpl-3.0 |
dtrip/awesome | tests/test-tooltip.lua | 11 | 2612 | local runner = require("_runner")
local place = require("awful.placement")
local wibox = require("wibox")
local beautiful = require("beautiful")
local tooltip = require("awful.tooltip")
local gears = require("gears")
local steps = {}
local w = wibox {
width = 250,
height = 250,
visible = true,
onto... | gpl-2.0 |
JohnWich/MEGA-john-wich | plugins/export_gban.lua | 82 | 2310 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
jbeich/Aquaria | game_scripts/_mods/guert_mod/tempo/biteymouth.lua | 12 | 4338 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Misareaux_Coast/npcs/Spatial_Displacement.lua | 17 | 1824 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: Spacial Displacement
-- Entrance to Riverne Site #A01 and #B01
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("sc... | gpl-3.0 |
hanikk/tele-you | plugins/channels.lua | 300 | 1680 | -- Checks if bot was disabled on specific chat
local function is_channel_disabled( receiver )
if not _config.disabled_channels then
return false
end
if _config.disabled_channels[receiver] == nil then
return false
end
return _config.disabled_channels[receiver]
end
local function enable_channel(receiver)
if... | gpl-2.0 |
jbeich/Aquaria | files/scripts/entities/flea.lua | 6 | 4930 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Western_Adoulin/npcs/Rising_Solstice.lua | 14 | 3039 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Rising Solstice
-- Type: Standard NPC and Quest Giver
-- Starts, Involved With, and Finishes Quest: 'A Certain Substitute Patrolman'
-- @zone 256
-- @pos -154 4 -29 256
-----------------------------------
package.loaded["scripts/zones/Western_Ad... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/mobskills/Sledgehammer.lua | 33 | 1219 | ---------------------------------------------
-- Sledgehammer
--
-- Description: Delivers a sledgehammer blow to all targets in front. Additional effect: Petrification
-- Type: Physical
-- Utsusemi/Blink absorb: 3 shadows
-- Range: Front cone
-- Notes: Only used by Gurfurlur the Menacing.
------------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/The_Eldieme_Necropolis_[S]/npcs/Erlene.lua | 14 | 6651 | -----------------------------------
-- Area: The Eldieme Necropolis (S)
-- NPC: Erlene
-- Involved in Quest: "A Little Knowledge"
-- @pos 376.936 -39.999 17.914 175
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis_[S]/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Horn.lua | 17 | 1482 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Horn
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEngage... | gpl-3.0 |
Shayan123456/bottttttt | plugins/inrealm.lua | 287 | 25005 | -- 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 |
nyczducky/darkstar | scripts/zones/Meriphataud_Mountains/npcs/Beastmen_s_Banner.lua | 14 | 1048 | -----------------------------------
-- Area: Meriphataud_Mountains
-- NPC: Beastmen_s_Banner
-- @pos 592.850 -16.765 -518.802 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Meriphataud_Mountains/Tex... | gpl-3.0 |
jbeich/Aquaria | files/scripts/maps/node_enter_energytemple.lua | 6 | 1121 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
jbeich/Aquaria | files/scripts/entities/_unused/prologue_energyboss.lua | 6 | 1621 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
nyczducky/darkstar | scripts/globals/spells/cura.lua | 35 | 4128 | -----------------------------------------
-- Spell: Cura
-- Restores hp in area of effect. Self target only
-- From what I understand, Cura's base potency is the same as Cure's.
-- With Afflatus Misery Bonus, it can be as potent as a Curaga II
-- Modeled after our Cure.lua, which was modeled after the below reference
-... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/items/irmik_helvasi.lua | 12 | 1463 | -----------------------------------------
-- ID: 5572
-- Item: irmik_helvasi
-- Food Effect: 3 hours, All Races
-----------------------------------------
-- HP +10% (cap 75)
-- MP +3% (cap 13)
-- INT +1
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Port_San_dOria/npcs/Regine.lua | 13 | 5687 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Regine
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/globals/quests");
... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Jugner_Forest_[S]/npcs/qm8.lua | 14 | 1797 | -----------------------------------
-- Area: Jugner Forest (S)
-- NPC: ???
-- Type: Quest NPC
-- @pos -6 0 -295
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Jugner_Forest_[S]/TextIDs");
require("scrip... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/items/slice_of_dragon_meat.lua | 12 | 1454 | -----------------------------------------
-- ID: 4272
-- Item: slice_of_dragon_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 6
-- Intelligence -8
-- Demon Killer +2 (?)
-----------------------------------------
require("scripts/globals/status");
--------------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/mobskills/Radiant_Sacrament.lua | 15 | 1246 | ---------------------------------------------
-- Radiant Sacrament
-- Description: Used at regular intervals as a ranged attack when target is out of melee range.
-- Type: Physical
-- Can be dispelled: N/A
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 20' maximum distance, unknown smaller radial (around target)
-- ... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/spells/blind_ii.lua | 21 | 1748 | -----------------------------------------
-- Spell: Blind II
-- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point
-- Blind II value per point is '1' This is a constant set in the table 'merits'
-----------------------------------------
require("scripts/globals... | gpl-3.0 |
MOSAVI17/Generalbot | plugins/weather.lua | 18 | 1341 | if not config.owm_api_key then
print('Missing config value: owm_api_key.')
print('weather.lua will not be enabled.')
return
end
local command = 'weather <location>'
local doc = [[```
/weather <location>
Returns the current weather conditions for a given location.
```]]
local triggers = {
'^/weather[@'..bot.userna... | gpl-2.0 |
AquariaOSE/Aquaria | game_scripts/_mods/aquariaeditortutorial/scripts/node_nodes03.lua | 6 | 2207 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
aminba/bot | plugins/newevent.lua | 5 | 1471 | -- Create a new event!
-- Use !newevent 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({}, _fil... | gpl-2.0 |
AquariaOSE/Aquaria | files/scripts/entities/eric_mithala.lua | 6 | 1553 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/West_Sarutabaruta_[S]/mobs/Ramponneau.lua | 12 | 2055 | -----------------------------------
-- Area: West Sarutabaruta (S)
-- NM: Ramponneau
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize... | gpl-3.0 |
grechkin-pogrebnyakov/tntlua | flyd/src/dictionary.lua | 4 | 636618 | #!/usr/bin/env tarantool
return {
iata2airport_info = {
["%u0"] = {
city = { ru = "Назрань", en = "Nazran" },
name = "Magas",
},
["04G"] = {
city = { ru = "Янгстаун", en = "Youngstown" },
name = "Lansdowne Airport",
},
["06A"] = {
city = { ru = "Tuskegee", en = "Tuskegee" },
name = "Moton ... | bsd-2-clause |
nyczducky/darkstar | scripts/globals/spells/bluemagic/ram_charge.lua | 35 | 1707 | -----------------------------------------
-- Spell: Ram Charge
-- Damage varies with TP
-- Spell cost: 79 MP
-- Monster Type: Beasts
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 4
-- Stat Bonus: HP+5
-- Level: 73
-- Casting Time: 0.5 seconds
-- Recast Time: 34.75 seconds
-- Skillchain Element(s): Fragmentation... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Upper_Delkfutts_Tower/npcs/Grounds_Tome.lua | 30 | 1107 | -----------------------------------
-- Area: Upper Delkfutt's Tower
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(play... | gpl-3.0 |
jbeich/Aquaria | files/scripts/entities/weird-alec.lua | 6 | 2100 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
AquariaOSE/Aquaria | files/scripts/entities/energyorb.lua | 12 | 3455 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
AquariaOSE/Aquaria | files/scripts/maps/node_beacon_mithalas.lua | 6 | 1131 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
jbeich/Aquaria | files/scripts/entities/hellbeast.lua | 5 | 24517 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
AquariaOSE/Aquaria | files/scripts/entities/_unused/zunna.lua | 6 | 4816 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
dtrip/awesome | tests/examples/sequences/tag/master_count.lua | 4 | 1300 | --DOC_GEN_IMAGE --DOC --DOC_NO_USAGE
local module = ... --DOC_HIDE
local awful = {tag = require("awful.tag"), layout = require("awful.layout") } --DOC_HIDE
screen[1]._resize {x = 0, width = 128, height = 96} --DOC_HIDE
function awful.spawn(_, args) --DOC_HIDE
local c = client.gen_fake{} --DOC_HIDE
c:tags({ar... | gpl-2.0 |
jbeich/Aquaria | files/scripts/maps/node_naija_bindshell.lua | 6 | 1161 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Empyreal_Paradox/Zone.lua | 17 | 2139 | -----------------------------------
--
-- Zone: Empyreal_Paradox
--
-----------------------------------
package.loaded["scripts/zones/Empyreal_Paradox/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Empyreal_Paradox/TextIDs");
------------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Western_Altepa_Desert/npcs/_3h5.lua | 14 | 1893 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: _3h5 (Ruby Column)
-- Notes: Mechanism for Altepa Gate
-- @pos 59 10 -104 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/zones... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Upper_Jeuno/npcs/Laila.lua | 14 | 10452 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Laila
-- Type: Job Quest Giver
-- @zone 244
-- @pos -54.045 -1 100.996
--
--TODO--
-- make sure the surrounding npcs react to the player accordingly after each quest. There are a few event IDs that I don't recall using
-- make global variables for all ... | gpl-3.0 |
AquariaOSE/Aquaria | files/scripts/entities/abyssoctopus.lua | 6 | 4475 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
AquariaOSE/Aquaria | files/scripts/entities/kappa.lua | 6 | 2335 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
Max-pbot/Max | plugins/anti_spam.lua | 1 | 3889 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Ruhotz_Silvermines/Zone.lua | 17 | 1109 | -----------------------------------
--
-- Zone: Ruhotz_Silvermines
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Ruhotz_Silvermines/TextIDs"] = nil;
require("scripts/zones/Ruhotz_Silvermines/TextIDs");
-----------------------------------
-- onInitialize
-... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Windurst_Walls/npcs/Raamimi.lua | 16 | 3118 | -----------------------------------
-- Area: Windurst Walls
-- Location: X:-81 Y:-9 Z:103
-- NPC: Raamimi
-- Working 100%
-- Involved in Quest: To Bee or Not to Bee?
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
-----------------------------------
-- ... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Port_San_dOria/npcs/Raqtibahl.lua | 8 | 1404 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Raqtibahl
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/globals/quests");
-... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Lower_Jeuno/npcs/Mertaire.lua | 19 | 3474 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Mertaire
-- Starts and Finishes Quest: The Old Monument (start only), A Minstrel in Despair, Painful Memory (BARD AF1)
-- @pos -17 0 -61 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/items/serving_of_menemen_+1.lua | 12 | 1539 | -----------------------------------------
-- ID: 5587
-- Item: serving_of_menemen_+1
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP 35
-- MP 35
-- Agility 2
-- Intelligence -2
-- HP recovered while healing 2
-- MP recovered while healing 2
-----------------------------------------
requ... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Rholont.lua | 29 | 3842 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Rholont
-- @zone 80
-- @pos -168 -2 56
-----------------------------------
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 |
nyczducky/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Pihra_Rhebenslo.lua | 16 | 4335 | -----------------------------------
-- 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/armorstora... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Ix_aern_drg.lua | 10 | 1943 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- MOB: Ix'aern (drg)
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
if (math.random(0,99) < 78) then
... | gpl-3.0 |
wenhulove333/ScutServer | Sample/Koudai/Client/lua/scenes/ChatScene.lua | 1 | 20406 | ------------------------------------------------------------------
-- ChatScene.lua
-- Author :JUNM Chen
-- Version : 1.0
-- Date :
-- Description: ,ÁÄÌìϵͳ
------------------------------------------------------------------
module("ChatScene", package.seeall)
-- ³¡¾°ÖÐÓõ½µÄ³ÉÔ±±äÁ¿ÒªÔÚÎļþÍ·²¿Ï... | mit |
dtrip/awesome | spec/gears/string_spec.lua | 2 | 2197 |
local gstring = require("gears.string")
describe("gears.string", function()
describe("quote_pattern", function()
it("text", function()
assert.is.equal(gstring.quote_pattern("text"), "text")
end)
it("do.t", function()
assert.is.equal(gstring.quote_pattern("do.t"), "... | gpl-2.0 |
AquariaOSE/Aquaria | files/scripts/entities/core.lua | 6 | 3497 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
SamOatesPlugins/cuberite | Server/Plugins/InfoReg.lua | 28 | 6952 |
-- InfoReg.lua
-- Implements registration functions that process g_PluginInfo
--- Lists all the subcommands that the player has permissions for
local function ListSubcommands(a_Player, a_Subcommands, a_CmdString)
if (a_Player == nil) then
LOGINFO("The " .. a_CmdString .. " command requires another verb:")
el... | apache-2.0 |
abosalah22/memo | plugins/banhammer.lua | 7 | 13927 |
local function pre_process(msg)
local data = load_data(_config.moderation.data)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
pr... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Xarcabard/npcs/qm1.lua | 14 | 1439 | -----------------------------------
-- Area: Xarcabard
-- NPC: qm1 (???)
-- Involved in Quests: The Three Magi
-- @pos -331 -29 -49 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/z... | gpl-3.0 |
kanstrup/wcn36xx-dissector | wcn36xx_rxbd.lua | 1 | 10072 | -- Copyright (C) 2013 Mikael Kanstrup (mikael.kanstrup@gmail.com)
--
-- 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.... | gpl-2.0 |
abcdefg30/OpenRA | mods/ra/maps/soviet-05/soviet05-AI.lua | 7 | 1784 | --[[
Copyright 2007-2022 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
AquariaOSE/Aquaria | files/scripts/entities/transturtle.lua | 5 | 14317 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
nyczducky/darkstar | scripts/globals/abilities/pets/ecliptic_growl.lua | 27 | 1757 | ---------------------------------------------------
-- Ecliptic Growl
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/utils");
-----------------------------------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/weaponskills/frostbite.lua | 23 | 1249 | -----------------------------------
-- Frostbite
-- Great Sword weapon skill
-- Skill Level: 70
-- Delivers an ice elemental attack. Damage varies with TP.
-- Aligned with the Snow Gorget.
-- Aligned with the Snow Belt.
-- Element: Ice
-- Modifiers: STR:20% ; INT:20%
-- 100%TP 200%TP 300%TP
-- 1.00 2.00 ... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/log_ids.lua | 14 | 3702 | -----------------------------------
-- Area/Content Identifiers
-----------------------------------
STATIC = -1; -- Just so shop NPC scripts have something to check against. Not sent to core.
SANDORIA =
{
['full_name'] = "San d' Oria",
['mission_log']= 0,
['quest_log']= 0,
['fame_area']= 0
};
BASTOK =... | gpl-3.0 |
qrealka/skia-hc | tools/lua/glyph-usage.lua | 207 | 4034 | function tostr(t)
local str = ""
for k, v in next, t do
if #str > 0 then
str = str .. ", "
end
if type(k) == "number" then
str = str .. "[" .. k .. "] = "
else
str = str .. tostring(k) .. " = "
end
if type(v) == "table" then
... | apache-2.0 |
Mariappan/rcfiles | home/.notion/looks/lookcommon_clean.lua | 1 | 2088 | -- Common settings for the "clean" styles
de.defstyle("frame", {
background_colour = "#000000",
de.substyle("quasiactive", {
-- Something detached from the frame is active
padding_colour = "#901010",
}),
de.substyle("userattr1", {
-- For user scripts
padding_colour = "#0... | gpl-2.0 |
jddurand/c-marpaESLIF | 3rdparty/github/lua-template-engine/src/sample/sample.lua | 1 | 2246 | local tpleval = require('template-text').template_eval
-- In the whole file we skip checking the 'ok' return value assuming everything
-- goes fine, for brevity.
-- -------------------------------------------------------------------------- --
-- BASIC
local tpl = [[
This is a text template.
It supports variables:
H... | mit |
dtrip/awesome | lib/naughty/widget/_markup.lua | 4 | 1860 | local beautiful = require("beautiful")
local module = {}
-- Since some escaping needs to be undone, we have to escape the escaped <>.
local pre_escape = {["<"] = "&zzlt;", [">"] = "&zzgt;"}
local escape_pattern = "[<>&]"
local escape_subs = { ['<'] = "<", ['>'] = ">", ['&'] = "&" }
-- Also revers... | gpl-2.0 |
jbeich/Aquaria | game_scripts/_mods/guert_mod/tempo/singbulb.lua | 6 | 5058 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
lgeek/koreader | plugins/evernote.koplugin/slt2.lua | 6 | 5442 | --[[
-- slt2 - Simple Lua Template 2
--
-- Project page: https://github.com/henix/slt2
--
-- @License
-- MIT License
--]]
local slt2 = {}
-- a tree fold on inclusion tree
-- @param init_func: must return a new value when called
local function include_fold(template, start_tag, end_tag, fold_func, init_func)
local ... | agpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.