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
shingenko/darkstar
scripts/globals/items/serving_of_cherry_bavarois_+1.lua
35
1388
----------------------------------------- -- ID: 5746 -- Item: serving_of_cherry_bavarois_+1 -- Food Effect: 4Hrs, All Races ----------------------------------------- -- HP 30 -- Intelligence 4 -- MP 15 -- HP Recovered While Healing 4 ----------------------------------------- require("scripts/globals/status...
gpl-3.0
shingenko/darkstar
scripts/globals/spells/deodorize.lua
24
1128
----------------------------------------- -- Spell: Deodorize -- Lessens chance of being detected by smell. -- Duration is random number between 30 seconds and 5 minutes ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------...
gpl-3.0
nadavo/DeepLearningCourse
hw3/eladtools/Optimizer.lua
2
4093
local Optimizer = torch.class('Optimizer') function Optimizer:__init(...) xlua.require('torch',true) xlua.require('nn',true) local args = dok.unpack( {...}, 'Optimizer','Initialize an optimizer', {arg='Model', type ='table', help='Optimized model',req=true}, {arg='Loss', type ='function', h...
mit
psychon/awesome
spec/wibox/widget/base_spec.lua
14
3351
--------------------------------------------------------------------------- -- @author Uli Schlachter -- @copyright 2016 Uli Schlachter --------------------------------------------------------------------------- local base = require("wibox.widget.base") local no_parent = base.no_parent_I_know_what_I_am_doing describe...
gpl-2.0
obsy/luci
protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua
47
3729
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local username, password, ac, service local ipv6, defaultroute, metric, peerdns, dns, keepalive_failure, keepalive_interval, demand, mtu username = section:taboption("gener...
apache-2.0
mrbougo/hedgewars-scripts
Multiplayer/Barrel_Mudball.lua
1
1370
---------------------------------------------------------------------------------- --Barrel mudball: --Mudballs are replaced by barrels when launched while pressing the precise --button. Plenties of fun! -- --Copyright 2012, 2013 by MrBougo <bougospam@gmail.com> -- -- This program is free software; you can redistribute...
gpl-2.0
openwayne/chaos_theory
mods/boost_cart/cart_entity.lua
1
9877
local HAVE_MESECONS_ENABLED = minetest.global_exists("mesecon") function boost_cart:on_rail_step(pos) -- Play rail sound if self.sound_counter <= 0 then minetest.sound_play("cart_rail", { pos = pos, max_hear_distance = 40, gain = 0.5 }) self.sound_counter = math.random(4, 15) end self.sound_counter...
lgpl-2.1
wagonrepairer/Zero-K
LuaRules/Utilities/tablefunctions.lua
2
3359
------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------- --deep not safe with circular tables! defaults To false function Spring.Utilities.CopyTable(tableToCopy, deep) local copy = {} for key, value in...
gpl-2.0
crazyquark/cardpeek
dot_cardpeek_dir/scripts/lib/en1545.lua
16
7123
-- -- This file is part of Cardpeek, the smartcard reader utility. -- -- Copyright 2009-2013 by 'L1L1' -- -- Cardpeek 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 3 of the License, or -- (a...
gpl-3.0
Moligaloo/NeonUI
neon-ui/engine.lua
1
3943
local toPixels = love.window.toPixels local fromPixels = love.window.fromPixels local fonts = {} local function newFont(font_file, font_size) return love.graphics.newFont(font_file, toPixels(font_size)) end local function getFont(font_desc) local font = fonts[font_desc] if font == nil then local comma = font_de...
mit
lixiantai/barrier_breaker
feeds/luci/protocols/ppp/luasrc/model/cbi/admin_network/proto_l2tp.lua
59
1868
--[[ LuCI - Lua Configuration Interface Copyright 2011 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 ]]-- local ma...
gpl-2.0
openwayne/chaos_theory
mods/mesecons/mesecons_pistons/init.lua
2
22413
-- Get mesecon rules of pistons local piston_rules = { {x=0, y=0, z=1}, --everything apart from z- (pusher side) {x=1, y=0, z=0}, {x=-1, y=0, z=0}, {x=1, y=1, z=0}, {x=1, y=-1, z=0}, {x=-1, y=1, z=0}, {x=-1, y=-1, z=0}, {x=0, y=1, z=1}, {x=0, y=-1, z=1} } local piston_up_rules = { {x=0, y=0, z=...
lgpl-2.1
bartvm/nn
Parallel.lua
39
3780
local Parallel, parent = torch.class('nn.Parallel', 'nn.Container') function Parallel:__init(inputDimension,outputDimension) parent.__init(self) self.modules = {} self.size = torch.LongStorage() self.inputDimension = inputDimension self.outputDimension = outputDimension end function Parallel:updateOut...
bsd-3-clause
vi/chdk-vi
CHDK/SCRIPTS/examples/input_1.lua
9
2958
--[[ @title char input @param f key delay @default f 200 ]] key_delay = f output="" function button() local x = 0 repeat wait_click(key_delay) if is_pressed "remote" then key = "REMOTE" x = 1 end if is_pressed "set" then key = "SET" x = 1 end if is_pressed "erase" then key = "ERASE" x =...
gpl-2.0
wagonrepairer/Zero-K
LuaUI/Configs/icontypes.lua
2
21107
-- $Id: icontypes.lua 4585 2009-05-09 11:15:01Z google frog $ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- file: icontypes.lua -- brief: icontypes definitions -- ----------------------------...
gpl-2.0
HajiMokh/hmhaji
plugins/netkh.lua
2
1614
do function run(msg, matches) return 'نرخ گروه با بات'..[[ ----------------- ➖➖➖➖➖➖➖ 👥 قیمت گروه های آنتی اسپم که ربات بسازه گروهو : 💵 ماهیانه سوپرگروه 5000 تومان 💴 دو ماهه سوپرگروه 9000 تومان 💶 سه ماهه سوپرگروه 13،000 تومان ➖➖➖➖➖➖➖ 👥 قیمت گروه های آنتی اسپم که خودتون گروه داشته باشین : 💵 ماهیانه...
agpl-3.0
Illarion-eV/Illarion-Content
base/licence.lua
1
6767
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
shingenko/darkstar
scripts/zones/Port_Bastok/npcs/Sugandhi.lua
30
1587
----------------------------------- -- Area: Port Bastok -- NPC: Sugandhi -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/zones/Port_Bastok/TextIDs"); require("scripts/globals/shop"); ----------------------------------- -- onTra...
gpl-3.0
srdgame/kylin
kylin/cookies.lua
1
1849
local cookie = {} function cookie:tostring() local value = {} value[#value + 1] = self.value if self.expire then value[#value + 1] = 'Expires='..os.date('!%a, %d %b %Y %X GMT', self.expire) end if self.path then value[#value + 1] = 'Path='..self.path else value[#value + 1] = 'Path=/' end if self.domain t...
gpl-2.0
laincloud/lain-sdk
lain_sdk/yaml/lua_parser/ljson.lua
2
15400
----------------------------------------------------------------------------- -- JSON4Lua: JSON encoding / decoding support for the Lua language. -- json Module. -- Author: Craig Mason-Jones -- Homepage: http://json.luaforge.net/ -- Version: 0.9.20 -- This module is released under the The GNU General Public License (GP...
mit
xswm1123/vlc
share/lua/playlist/vimeo.lua
65
3213
--[[ $Id$ Copyright © 2009-2013 the VideoLAN team Authors: Konstantin Pavlov (thresh@videolan.org) François Revol (revol@free.fr) Pierre Ynard 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 S...
gpl-2.0
shingenko/darkstar
scripts/zones/Port_Windurst/npcs/Kameel.lua
19
1227
----------------------------------- -- Area: Port Windurst -- NPC: Kameel -- Type: Standard NPC ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst/TextIDs"); ----------------------------------- -- onTrade Action ------------------...
gpl-3.0
tst2005googlecode/sha2
hmac.lua
9
1137
--[[ HMAC implementation http://tools.ietf.org/html/rfc2104 http://en.wikipedia.org/wiki/HMAC hmac.compute(key, message, hash_function, blocksize, [opad], [ipad]) -> HMAC string, opad, ipad hmac.new(hash_function, block_size) -> function(message, key) -> HMAC string ]] local string = string local sha2 = requir...
mit
shingenko/darkstar
scripts/zones/Windurst_Woods/npcs/Quesse.lua
36
1672
----------------------------------- -- Area: Windurst Woods -- NPC: Quesse -- 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/Tex...
gpl-3.0
Clavus/Conclavus
engine/lib/loveframes/objects/internal/treenode.lua
13
6939
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- get the current require path local path = string.sub(..., 1, string.len(...) - string.len(".objects.internal.treenode")) ...
mit
hiddenvirushacker/hiddenvirus
plugins/face.lua
641
3073
local https = require("ssl.https") local ltn12 = require "ltn12" -- 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(imageUrl) local api_key = mashape.api_key if api_key:isempt...
gpl-2.0
master041/tele___master
plugins/face.lua
641
3073
local https = require("ssl.https") local ltn12 = require "ltn12" -- 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(imageUrl) local api_key = mashape.api_key if api_key:isempt...
gpl-2.0
fridolin2/morethings_modpack
morethings_nodes/allfaces.lua
1
4746
-------Define Allfaces minetest.register_node("morethings_nodes:tree_allface", { description = "Tree Allface", paramtype2 = "facedir", tiles = {"default_tree_top.png"}, sounds = default.node_sound_stone_defaults(), groups = {snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3}, drop = "morethings_n...
gpl-3.0
alfred-bot/merbot
plugins/groupmanager.lua
14
16269
-- data saved to data/moderation.json do local function gpadd(msg) -- because sudo are always has privilege if not is_sudo(msg) then return nil end local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)] then return 'Group is already added.' end -- create data array in mode...
gpl-2.0
shingenko/darkstar
scripts/zones/Al_Zahbi/npcs/Banjanu.lua
38
1025
----------------------------------- -- Area: Al Zahbi -- NPC: Banjanu -- Type: Standard NPC -- @zone: 48 -- @pos -75.954 0.999 105.367 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ------------------------...
gpl-3.0
fzimmermann89/texlive.js
texlive/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/lib/PathLengths.lua
1
5573
-- Copyright 2011 by Jannis Pohlmann -- Copyright 2012 by Till Tantau -- -- This file may be distributed an/or modified -- -- 1. under the LaTeX Project Public License and/or -- 2. under the GNU Public License -- -- See the file doc/generic/pgf/licenses/LICENSE for more information -- @release $Header$ --- -- This ...
gpl-2.0
fingon/hnet-core
spec/dns_channel_spec.lua
1
4773
#!/usr/bin/env lua -- -*-lua-*- -- -- $Id: dns_channel_spec.lua $ -- -- Author: Markus Stenberg <markus stenberg@iki.fi> -- -- Copyright (c) 2013 cisco Systems, Inc. -- -- Created: Tue Apr 30 18:35:23 2013 mstenber -- Last modified: Sat Oct 19 00:56:40 2013 mstenber -- Edit time: 27 min -- require 'busted' r...
gpl-2.0
psychon/awesome
tests/examples/wibox/awidget/prompt/keypress.lua
6
1312
--DOC_GEN_IMAGE --DOC_HIDE local parent = ... --DOC_NO_USAGE --DOC_HIDE local wibox = require( "wibox" ) --DOC_HIDE local awful = { prompt = require("awful.prompt"),--DOC_HIDE util = require("awful.util"),--DOC_HIDE screen = require("awful.screen")}--DOC_HIDE loc...
gpl-2.0
shingenko/darkstar
scripts/zones/Toraimarai_Canal/npcs/Grounds_Tome.lua
34
1145
----------------------------------- -- Area: Toraimarai Canal -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrad...
gpl-3.0
TheAncientGoat/GodheadLips
data/godhead/scripts/server/event.lua
1
1827
Eventhandler{type = "login", func = function(self, event) print("Client login") -- Tell the client to authenticate. Network:send{client = event.client, packet = Packet(packets.CLIENT_AUTHENTICATE)} -- Update lobby. Lobby.players = Lobby.players + 1 end} Eventhandler{type = "logout", func = function(self, event) ...
gpl-3.0
shingenko/darkstar
scripts/globals/items/crescent_fish.lua
18
1333
----------------------------------------- -- ID: 4473 -- Item: crescent_fish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
shingenko/darkstar
scripts/zones/Norg/npcs/Paito-Maito.lua
34
2624
----------------------------------- -- Area: Norg -- NPC: Paito-Maito -- Standard Info NPC ----------------------------------- require("scripts/globals/pathfind"); local path = { -71.189713, -9.413510, 74.024879, -71.674171, -9.317029, 73.054794, -72.516525, -9.298064, 72.363213, -73.432983, -9.220915, 71...
gpl-3.0
TurboGit/darktable
tools/lua_doc/dumper.lua
3
2970
para = function() return "\n" end node_to_string = function(node,name) if name then return name else return node:get_name() end end code = function(text) return "<code>"..text.."</code>" end emphasis = function(text) return "<em>"..text.."</em>" end startlist = function() return "\n" end endlist = funct...
gpl-3.0
Ninjistix/darkstar
scripts/globals/items/plate_of_homemade_salad.lua
3
1510
----------------------------------------- -- ID: 5227 -- Item: plate_of_homemade_salad -- Food Effect: 30Min, All Races ----------------------------------------- -- Magic 10 -- Accuracy +12% (cap 80) -- Attack +10% (cap 40) -- Ranged Accuracy +12% (cap 80) -- Ranged Attack +10% (cap 40) --------------------------------...
gpl-3.0
premake/premake-4.x
tests/actions/vstudio/test_vs200x_vcproj.lua
8
14734
-- -- tests/test_vs200x_vcproj.lua -- Automated test suite for Visual Studio 2002-2008 C/C++ project generation. -- Copyright (c) 2009-2013 Jason Perkins and the Premake project -- T.vs200x_vcproj = { } local suite = T.vs200x_vcproj local vc200x = premake.vstudio.vc200x -- -- Configure a solution for testing -- ...
bsd-3-clause
Ninjistix/darkstar
scripts/globals/weaponskills/uriel_blade.lua
22
1443
----------------------------------- -- Uriel Blade -- Sword weapon skill -- Skill Level: N/A -- Description: Delivers an area attack that deals light elemental damage. Damage varies with TP. Additional effect Flash. -- AoE range ??. -- Only available during Campaign Battle while wielding a Griffinclaw. -- Aligned with ...
gpl-3.0
TurboGit/darktable
tools/lua_doc/content.lua
3
89491
real_darktable = require "darktable" require "darktable.debug" local tmp_node local function sorted_pairs (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil the...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Southern_San_dOria/npcs/Tek_Lengyon.lua
3
1507
----------------------------------- -- Area: Southern San d'Oria -- NPC: Tek Lengyon -- Type: Leathercraft Synthesis Image Support -- !pos -190.120 -2.999 2.770 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts...
gpl-3.0
chroteus/clay
class/arena.lua
1
2460
-- Arena: Fighters (or FighterGroups) manager Arena = class("Arena") function Arena:initialize(arg) self.x = arg.x self.y = arg.y self.width = arg.width self.height = arg.height self.teams = {} end ------------------------------------------------------------------------ function Arena:newTeam(nam...
gpl-2.0
Ninjistix/darkstar
scripts/globals/spells/hydrohelix.lua
3
1984
-------------------------------------- -- Spell: Hydrohelix -- Deals water damage that gradually reduces -- a target's HP. Damage dealt is greatly affected by the weather. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/m...
gpl-3.0
Ninjistix/darkstar
scripts/globals/spells/vital_etude.lua
5
1577
----------------------------------------- -- Spell: Vital Etude -- Static VIT Boost, BRD 70 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(caster,target...
gpl-3.0
Ninjistix/darkstar
scripts/globals/items/gullintani.lua
3
2050
----------------------------------------- -- ID: 18323 -- Item: Gullintani ----------------------------------------- require("scripts/globals/msg"); require("scripts/globals/status"); require("scripts/globals/weaponskills"); require("scripts/globals/weaponskillids"); ----------------------------------------- local NAM...
gpl-3.0
Inorizushi/DDR-SN1HD
Scripts/Unlock.lua
1
1304
-- by not prefixing "local" before this variable, -- it will have global scope throughout your theme -- and can be accessed from any other theme file ItemThatWasJustUnlocked = nil function UnlockSomeStuffMaybe(text) -- How many unlocks are there? Get the number. local HowMany = UNLOCKMAN:GetNumUnlocks() ...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Apollyon/mobs/Apollyon_Scavenger.lua
5
1202
----------------------------------- -- Area: Apollyon NW -- NPC: Kaiser Behemoth ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Apollyon/TextIDs"); ----------------------------------- function onMobSpawn(mob) end;...
gpl-3.0
neofob/sile
classes/plain.lua
1
8220
plain = SILE.baseClass { id = "plain" } plain.options.direction = function (value) if value then plain.pageTemplate.frames["content"].direction = value end end plain:declareFrame("content", { left = "5%pw", right = "95%pw", top = "5%ph", bottom = "90%ph" }) plain:declareFrame("folio", { left =...
mit
jagu-sayan/42Premake
tests/test_project.lua
6
2956
-- -- tests/test_project.lua -- Automated test suite for the project support functions. -- Copyright (c) 2008-2010 Jason Perkins and the Premake project -- local _project = premake.project T.project = { } local cfg, result function T.project.setup() _ACTION = "gmake" cfg = {} cfg.project = {} cfg.langua...
bsd-3-clause
Ninjistix/darkstar
scripts/globals/spells/poison.lua
3
1554
----------------------------------------- -- Spell: Poison ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0; end; fun...
gpl-3.0
mandersan/premake-core
modules/vstudio/tests/vc2010/test_filter_ids.lua
16
2445
-- -- tests/actions/vstudio/vc2010/test_filter_ids.lua -- Validate generation of filter unique identifiers. -- Copyright (c) 2011-2012 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("vs2010_filter_ids") local vc2010 = p.vstudio.vc2010 -- -- Setup/teardown -- local wks, prj...
bsd-3-clause
Ninjistix/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Ugrihd.lua
5
10145
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Ugrihd -- Coin Exchange Vendor -- !pos -63.079 -6 -28.571 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("...
gpl-3.0
dinodeck/ninety_nine_days_of_dev
003_combat_numbers/code/Textbox.lua
6
4671
Textbox = {} Textbox.__index = Textbox function Textbox:Create(params) params = params or {} if type(params.text) == "string" then params.text = {params.text} end local this = { -- mText = params.text, Removing this mChunks = params.text, mChunkInde...
mit
dinodeck/ninety_nine_days_of_dev
001_cancel_textboxes/code/Textbox.lua
6
4671
Textbox = {} Textbox.__index = Textbox function Textbox:Create(params) params = params or {} if type(params.text) == "string" then params.text = {params.text} end local this = { -- mText = params.text, Removing this mChunks = params.text, mChunkInde...
mit
Ninjistix/darkstar
scripts/zones/Temenos/mobs/Goblin_Warlord.lua
28
1174
----------------------------------- -- Area: Temenos N T -- NPC: Goblin_Warlord ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -------------------------------...
gpl-3.0
Ninjistix/darkstar
scripts/globals/items/mushroom_salad.lua
3
1277
----------------------------------------- -- ID: 5678 -- Item: Mushroom Salad -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- MP 14% Cap 85 -- Agility 6 -- Mind 6 -- Strength -5 -- Vitality -5 -- Ranged Accuracy +15 ----------------------------------------- require("scripts/globals/status"...
gpl-3.0
Ninjistix/darkstar
scripts/globals/items/serving_of_cherry_bavarois.lua
3
1114
----------------------------------------- -- ID: 5745 -- Item: serving_of_cherry_bavarois -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP 25 -- Intelligence 3 -- MP 10 -- HP Recovered While Healing 3 ----------------------------------------- require("scripts/globals/status"); -----------...
gpl-3.0
premake/premake-4.x
src/actions/codelite/_codelite.lua
25
1024
-- -- _codelite.lua -- Define the CodeLite action(s). -- Copyright (c) 2008-2009 Jason Perkins and the Premake project -- premake.codelite = { } newaction { trigger = "codelite", shortname = "CodeLite", description = "Generate CodeLite project files", valid_kinds = { "ConsoleApp", "W...
bsd-3-clause
Ninjistix/darkstar
scripts/globals/items/dish_of_spaghetti_vongole_rosso_+1.lua
3
1306
----------------------------------------- -- ID: 5198 -- Item: Dish of Spaghetti Vongole Rosso +1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health % 20 -- Health Cap 95 -- Vitality 2 -- Mind -1 -- Defense % 25 -- Defense Cap 35 -- Store TP 6 ----------------------------------------- ...
gpl-3.0
Ninjistix/darkstar
scripts/globals/weaponskills/raging_axe.lua
25
1498
----------------------------------- -- Raging Axe -- Axe weapon skill -- Skill level: 5 -- Delivers a two-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- When stacked with Sneak Attack, both hits have a 100% chance of landing, though it is unclear if they both params.crit. -- Aligned with the Bre...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Monastic_Cavern/npcs/Magicite.lua
5
1339
----------------------------------- -- Area: Monastic Cavern -- NPC: Magicite -- Involved in Mission: Magicite -- !pos -22 1 -66 150 ----------------------------------- package.loaded["scripts/zones/Monastic_Cavern/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scrip...
gpl-3.0
jagu-sayan/42Premake
src/base/action.lua
43
2900
-- -- action.lua -- Work with the list of registered actions. -- Copyright (c) 2002-2009 Jason Perkins and the Premake project -- premake.action = { } -- -- The list of registered actions. -- premake.action.list = { } -- -- Register a new action. -- -- @param a -- The new action object. -- function prema...
bsd-3-clause
Ninjistix/darkstar
scripts/globals/weaponskills/swift_blade.lua
26
1419
----------------------------------- -- Swift Blade -- Sword weapon skill -- Skill Level: 225 -- Delivers a three-hit attack. params.accuracy varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget & Soil Gorget. -- Aligned with the Shadow Belt & Soil Belt. -- Element: None -- Modifiers: STR:5...
gpl-3.0
ehrenbrav/FCEUX_Learning_Environment
output/luaScripts/SMB-Lives&HPDisplay.lua
9
2245
-- Super Mario Bros. script by 4matsy. -- 2008, September 11th. --Displays the # of lives for Mario and a HP meter for Bowswer require("shapedefs"); function box(x1,y1,x2,y2,color) if (x1 > 0 and x1 < 255 and x2 > 0 and x2 < 255 and y1 > 0 and y1 < 241 and y2 > 0 and y2 < 241) then gui.drawbox(x1,y1,x2,y2,...
gpl-2.0
jagu-sayan/42Premake
src/base/solution.lua
24
2225
-- -- solution.lua -- Work with the list of solutions loaded from the script. -- Copyright (c) 2002-2009 Jason Perkins and the Premake project -- premake.solution = { } -- The list of defined solutions (which contain projects, etc.) premake.solution.list = { } -- -- Create a new solution and add it to the sessi...
bsd-3-clause
hvbommel/domoticz
dzVents/runtime/tests/tstData.lua
10
9918
local testData = { domoticzData = { [1] = { ["id"] = 1, ["name"] = "device1", ["description"] = "Description 1"; ["batteryLevel"] = 10, ["signalLevel"] = 10, ["subType"] = "Zone"; ["timedOut"] = true, ["switchType"] = "Contact", ["switchTypeValue"] = 2, ["lastUpdate"] = "2016-03-20 12:...
gpl-3.0
codedash64/Urho3D
bin/Data/LuaScripts/32_Urho2DConstraints.lua
21
23031
-- Urho2D physics Constraints sample. -- This sample is designed to help understanding and chosing the right constraint. -- This sample demonstrates: -- - Creating physics constraints -- - Creating Edge and Polygon Shapes from vertices -- - Displaying physics debug geometry and constraints' joints -- ...
mit
wiremod/advduplicator
lua/autorun/materials.lua
2
9601
-- The "material" entity modifier will now only apply materials if they are -- present in the "OverrideMaterials" list. There are still old dupes that -- features these materials so we manually add them to the list. -- TODO: there should probably be a way to turn this off AddCSLuaFile() local materials = { "...
apache-2.0
Ninjistix/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Waoud.lua
5
7818
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Waoud -- Standard Info NPC -- Involved in quests: An Empty Vessel (BLU flag), Beginnings (BLU AF1) -- !pos 65 -6 -78 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ---------------------...
gpl-3.0
mandersan/premake-core
src/base/validation.lua
14
5465
--- -- base/validation.lua -- -- Verify the contents of the project object before handing them off to -- the action/exporter. -- -- Copyright (c) 2002-2015 Jason Perkins and the Premake project --- local p = premake p.validation = {} local m = p.validation m.elements = {} --- -- Validate the global container an...
bsd-3-clause
johnsoch/cuberite
Server/Plugins/APIDump/Hooks/OnPlayerPlacedBlock.lua
36
1637
return { HOOK_PLAYER_PLACED_BLOCK = { CalledWhen = "After a player has placed a block. Notification only.", DefaultFnName = "OnPlayerPlacedBlock", -- also used as pagename Desc = [[ This hook is called after a {{cPlayer|player}} has placed a block in the {{cWorld|world}}. The block is already added to th...
apache-2.0
backburn/Probably
system/core/rotation.lua
1
2521
-- ProbablyEngine Rotations - https://probablyengine.com/ -- Released under modified BSD, see attached LICENSE. local GetClassInfoByID = GetClassInfoByID ProbablyEngine.rotation = { rotations = { }, oocrotations = { }, custom = { }, ooccustom = { }, cdesc = { }, buttons = { }, specId = { }, classSpec...
bsd-3-clause
dan-cleinmark/nodemcu-firmware
lua_modules/bh1750/bh1750_Example2.lua
89
1719
-- *************************************************************************** -- BH1750 Example Program for ESP8266 with nodeMCU -- BH1750 compatible tested 2015-1-30 -- -- Written by xiaohu -- -- MIT license, http://opensource.org/licenses/MIT -- ***********************************************************************...
mit
karrots/nodemcu-firmware
lua_modules/bh1750/bh1750_Example2.lua
89
1719
-- *************************************************************************** -- BH1750 Example Program for ESP8266 with nodeMCU -- BH1750 compatible tested 2015-1-30 -- -- Written by xiaohu -- -- MIT license, http://opensource.org/licenses/MIT -- ***********************************************************************...
mit
carnalis/Urho3D
Source/ThirdParty/LuaJIT/dynasm/dasm_mips.lua
33
28080
------------------------------------------------------------------------------ -- DynASM MIPS module. -- -- Copyright (C) 2005-2016 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ -- Module information: local _i...
mit
istarIQ/Source
ar-image.lua
9
1599
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY SAJJAD NOORI ▀▄ ▄▀ ▀▄ ▄▀ BY SAJAD NOORI (@SAJJADNOORI) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY SAJJAD NOORI ▀▄ ▄▀ ▀▄ ▄▀ Image Converter : تحويل صوره ▀▄ ▄▀ ▀▄▀...
gpl-2.0
mandersan/premake-core
modules/gmake/tests/cs/test_sources.lua
15
1449
-- -- tests/actions/make/cs/test_sources.lua -- Tests source file listings for C# Makefiles. -- Copyright (c) 2013-2014 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("make_cs_sources") local make = p.make local cs = p.make.cs local project = p.project -- -- Setup -- loc...
bsd-3-clause
johnsoch/cuberite
Server/Plugins/APIDump/Hooks/OnPlayerUsingItem.lua
30
2549
return { HOOK_PLAYER_USING_ITEM = { CalledWhen = "Just before a player uses an item in hand (bucket...). Plugin may override / refuse.", DefaultFnName = "OnPlayerUsingItem", -- also used as pagename Desc = [[ This hook is called when a {{cPlayer|player}} has right-clicked a block with an {{cItem|item}} that...
apache-2.0
dinodeck/ninety_nine_days_of_dev
001_cancel_textboxes/code/ItemDB.lua
8
4838
ItemDB = { [-1] = { name = "", type = "", icon = nil, restriction = nil, description = "", stats = { }, use = nil, use_restriction = nil, }, { name = "Bone Blade", type = "weapon", i...
mit
dinodeck/ninety_nine_days_of_dev
003_combat_numbers/code/ItemDB.lua
8
4838
ItemDB = { [-1] = { name = "", type = "", icon = nil, restriction = nil, description = "", stats = { }, use = nil, use_restriction = nil, }, { name = "Bone Blade", type = "weapon", i...
mit
dinodeck/ninety_nine_days_of_dev
004_stat_numbers/code/ItemDB.lua
8
4838
ItemDB = { [-1] = { name = "", type = "", icon = nil, restriction = nil, description = "", stats = { }, use = nil, use_restriction = nil, }, { name = "Bone Blade", type = "weapon", i...
mit
neofob/sile
languages/am.lua
2
1358
SILE.settings.declare({ name = "languages.am.justification", type = "string", default = "left", help = "Justification method for Ethiopic word separators: left or centered" }) SILE.nodeMakers.am = SILE.nodeMakers.unicode { iterator = function (self, items) self:init() local ics = SILE.settings.get("...
mit
Ninjistix/darkstar
scripts/zones/Batallia_Downs_[S]/npcs/Cavernous_Maw.lua
5
1800
----------------------------------- -- Area: Batallia Downs [S] -- NPC: Cavernous Maw -- !pos -48 0 435 84 -- Teleports Players to Batallia Downs ----------------------------------- package.loaded["scripts/zones/Batallia_Downs_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/teleports"...
gpl-3.0
fjz13/Medusa
Example/Client/HelloLua/Resource/Script/Medusa/Lib/json.lua
106
15353
----------------------------------------------------------------------------- -- JSON4Lua: JSON encoding / decoding support for the Lua language. -- json Module. -- Author: Craig Mason-Jones -- Homepage: http://json.luaforge.net/ -- Version: 0.9.40 -- This module is released under the MIT License (MIT). -- Please see L...
mit
amirb8/telepersian
plugins/save.lua
3
1142
--Created by: @janlou & @Alirezame --Powered by: @SUDO_TM & @AdvanTM --⚠️CopyRight all right reserved⚠️ local function saveplug(extra, success, result) local msg = extra.msg local name = extra.name local receiver = get_receiver(msg) if success then local file = 'plugins/'..name..'.lua' print('File savi...
gpl-2.0
Ninjistix/darkstar
scripts/zones/Lower_Jeuno/npcs/Chenokih.lua
5
1162
----------------------------------- -- Area: Lower Jeuno -- NPC: Chenokih -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Lower_Jeuno/TextIDs"); ----------...
gpl-3.0
TRex22/hawkthorne-journey
src/positions/guzman.lua
2
4198
return { hand_left = { { {7, 37}, {7, 36}, {7, 35}, {7, 36}, {7, 35}, {8, 37}, {8, 37}, {10, 38}, {8, 37}, {11, 36}, {-4, 36}, {-13, 35}, }, { {9, 37}, {8, 35}, {8, 34}, {8, 35}, {8, 34}, {9, 37}, {9, 37}, {-12, 38}, {-11, 37}, {-10, 37}, {2, 36}, {12, 35}, }, { {17, 11}, {0, 0}, {0, 0}, {7, 37}, {0...
mit
Xagul/forgottenserver
data/talkactions/scripts/ban.lua
39
1131
local banDays = 7 function onSay(player, words, param) if not player:getGroup():getAccess() then return true end local name = param local reason = '' local separatorPos = param:find(',') if separatorPos ~= nil then name = param:sub(0, separatorPos - 1) reason = string.trim(param:sub(separatorPos + 1)) e...
gpl-2.0
ogahara/esp8266-devkit
Espressif/examples/nodemcu-firmware/app/cjson/tests/test.lua
112
18076
#!/usr/bin/env lua -- Lua CJSON tests -- -- Mark Pulford <mark@kyne.com.au> -- -- Note: The output of this script is easier to read with "less -S" local json = require "cjson" local json_safe = require "cjson.safe" local util = require "cjson.util" local function gen_raw_octets() local chars = {} for i = 0, ...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Ulamaal.lua
5
2091
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Ulamaal -- Type: Standard NPC -- !pos 93.512 -7.5 -128.530 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require(...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Windurst_Woods/npcs/Valeriano.lua
5
1435
----------------------------------- -- Area: Windurst_Woods -- NPC: Valeriano -- Standard Merchant NPC -- Working 100% -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; --------------------------------...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/Treasure_Coffer.lua
5
4189
----------------------------------- -- Area: Temple of Uggalepih -- NPC: Treasure Coffer -- @zone 159 -- !pos -219 0 32 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/global...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Port_Windurst/npcs/Gold_Skull.lua
5
2070
----------------------------------- -- Area: Port Windurst -- NPC: Gold Skull -- Mission NPC ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/zo...
gpl-3.0
eugenesan/openwrt-luci
applications/luci-splash/luasrc/model/cbi/splash/splashtext.lua
50
1867
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Copyright 2010 Manuel Munz <freifunk@somakoma.de> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the Li...
apache-2.0
ASHRAF97/ASHRAFKASPER
plugins/replay.lua
10
36064
-- made by { @TH3BOSS } do ws = {} rs = {} -- some examples of how to use this :3 ws[1] = "هلاو" -- msg rs[1] = "هلاوو99وووات نورت/ي ❤️🙈" -- reply ws[2] = "@TH3BOSS" -- msg rs[2] = "هذا الي صنعني فديت ربه 🙈❤️" -- reply ws[3] = "شلونكم" -- msg rs[3] = "اني بالنسبة اليه دايح شوف بقيه الاعضااء 😂🖕" -- reply ws[4...
gpl-2.0
Ninjistix/darkstar
scripts/zones/Batallia_Downs/npcs/Cavernous_Maw.lua
4
2583
----------------------------------- -- Area: Batallia Downs -- NPC: Cavernous Maw -- !pos -48 0.1 435 105 -- Teleports Players to Batallia Downs [S] ----------------------------------- package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings");...
gpl-3.0
xboybigcampishere/Full
plugins/feedback.lua
1
1188
do function run(msg, matches) local fuse = 'New FeedBack\n\nId : ' .. msg.from.id .. '\n\nName: ' .. msg.from.print_name ..'\n\nUsername: @' .. msg.from.username .. '\n\nThe Pm:\n' .. matches[1] local fuses = '!printf user#id' .. msg.from.id local text = matches[1] local chat = "chat#id"..YourChatId ...
gpl-2.0
Ninjistix/darkstar
scripts/zones/FeiYin/npcs/Rukususu.lua
5
1453
----------------------------------- -- Area: Fei'Yin -- NPC: Rukususu (talk to Cermet Door _no5 to trigger) -- Type: Quest NPC -- !pos -194.133 -0.986 191.077 204 -- Involved in quests: Curses, Foiled A-Golem!?,SMN AF2: Class Reunion, SMN AF3: Carbuncle Debacle -- Involved in Missions: Windurst 5-1/7-2/8-2 ----...
gpl-3.0