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
electromatter/cuberite
Server/Plugins/APIDump/Hooks/OnPluginsLoaded.lua
44
2702
return { HOOK_PLUGINS_LOADED = { CalledWhen = "All the enabled plugins have been loaded", DefaultFnName = "OnPluginsLoaded", -- also used as pagename Desc = [[ This callback gets called when the server finishes loading and initializing plugins. This is the perfect occasion for a plugin to query other plu...
apache-2.0
m241dan/darkstar
scripts/zones/Port_Windurst/npcs/Newlyn.lua
13
1049
----------------------------------- -- Area: Port Windurst -- NPC: Newlyn -- Type: Standard NPC -- @zone: 240 -- @pos 200.673 -6.601 108.665 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ---------------...
gpl-3.0
santssoft/darkstar
scripts/zones/Arrapago_Reef/npcs/_1ie.lua
12
2591
----------------------------------- -- Area: Arrapago Reef -- Door: Iron Gate (Lamian Fang Key) -- !pos 580 -17 120 ----------------------------------- local ID = require("scripts/zones/Arrapago_Reef/IDs") require("scripts/globals/npc_util") require("scripts/globals/status") ----------------------------------- functio...
gpl-3.0
m241dan/darkstar
scripts/zones/Selbina/npcs/Dohdjuma.lua
1
1509
----------------------------------- -- Area: Selbina -- NPC: Dohdjuma -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/shop"); package.loaded["script...
gpl-3.0
dvr333/Zero-K
scripts/bomberprec.lua
4
11715
local base = piece 'base' local fuselage = piece 'fuselage' local wingl1 = piece 'wingl1' local wingr1 = piece 'wingr1' local wingl2 = piece 'wingl2' local wingr2 = piece 'wingr2' local engines = piece 'engines' local fins = piece 'fins' local rflap = piece 'rflap' local lflap = piece 'lflap' local predrop = piece 'pre...
gpl-2.0
condor-the-bird/tarantool
test/box/fio.test.lua
8
2664
fio = require 'fio' errno = require 'errno' -- umask type(fio.umask(0)) fio.umask() -- pathjoin fio.basename(nil, nil) fio.pathjoin('abc', 'cde') fio.pathjoin('/', 'abc') fio.pathjoin('abc/', '/cde') fio.pathjoin('/', '/cde') -- basename fio.basename(nil) fio.basename('/') fio.basename('abc') fio.basename('abc.cde'...
bsd-2-clause
m241dan/darkstar
scripts/globals/items/meat_chiefkabob.lua
18
1449
----------------------------------------- -- ID: 4574 -- Item: meat_chiefkabob -- Food Effect: 60Min, All Races ----------------------------------------- -- Strength 5 -- Agility 1 -- Intelligence -2 -- Attack % 22 -- Attack Cap 65 ----------------------------------------- require("scripts/globals/status"); ---------...
gpl-3.0
santssoft/darkstar
scripts/globals/items/chocolate_cake.lua
11
1127
----------------------------------------- -- ID: 5633 -- Item: Chocolate Cake -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- MP +3% (cap 90) -- HP Recovered while healing +1 -- MP Recovered while healing +6 ----------------------------------------- require("scripts/g...
gpl-3.0
m241dan/darkstar
scripts/zones/Bastok_Mines/npcs/Gorvik.lua
13
1060
----------------------------------- -- Area: Bastok Mines -- NPC: Gorvik -- Type: Past Event Watcher -- @zone: 234 -- @pos 21.033 -1 -98.486 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("script...
gpl-3.0
dvr333/Zero-K
units/energywind.lua
4
3190
return { energywind = { unitname = [[energywind]], name = [[Wind/Tidal Generator]], description = [[Small Powerplant]], activateWhenBuilt = true, buildCostMetal = 35, builder = false, buildingG...
gpl-2.0
m241dan/darkstar
scripts/globals/items/dish_of_spaghetti_carbonara.lua
18
1821
----------------------------------------- -- ID: 5190 -- Item: dish_of_spaghetti_carbonara -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 14 -- Health Cap 175 -- Magic 10 -- Strength 4 -- Vitality 2 -- Intelligence -3 -- Attack % 18 -- Attack Cap 65 -- Store TP 6 ----------------...
gpl-3.0
santssoft/darkstar
scripts/globals/items/plate_of_mushroom_paella_+1.lua
11
1072
----------------------------------------- -- ID: 5971 -- Item: Plate of Mushroom Paella +1 -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- HP 43 -- Mind 6 -- Magic Accuracy 6 -- Undead Killer 6 ----------------------------------------- require("scripts/globals/status") require("scripts/glo...
gpl-3.0
m241dan/darkstar
scripts/zones/Vunkerl_Inlet_[S]/Zone.lua
12
2365
----------------------------------- -- -- Zone: Vunkerl_Inlet_[S] (83) -- ----------------------------------- package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Vunkerl_Inlet_[S]/TextIDs"); require("scripts/globals/settings"); require("scripts/gl...
gpl-3.0
m241dan/darkstar
scripts/globals/spells/bluemagic/heat_breath.lua
1
1752
----------------------------------------- -- Spell: Heat Breath -- Deals fire damage to enemies within a fan-shaped area originating from the caster -- Spell cost: 169 MP -- Monster Type: Beasts -- Spell Type: Magical (Fire) -- Blue Magic Points: 4 -- Stat Bonus: STR+3 -- Level: 71 -- Casting Time: 7.5 seconds -- Recas...
gpl-3.0
m241dan/darkstar
scripts/zones/West_Ronfaure/npcs/Zovriace.lua
27
38376
----------------------------------- -- Area: West Ronfaure -- NPC: Zovriace -- Type: Patrol NPC -- @pos -436.356 -15.851 -258.168 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/pathfind"); --------------...
gpl-3.0
m241dan/darkstar
scripts/zones/Lufaise_Meadows/TextIDs.lua
15
1194
-- 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 = 6...
gpl-3.0
dvr333/Zero-K
units/shieldaa.lua
3
3870
return { shieldaa = { unitname = [[shieldaa]], name = [[Vandal]], description = [[Anti-Air Bot]], acceleration = 1.35, brakeRate = 8.1, buildCostMetal = 90, buildPic = [[shieldaa.png]], canGuard = true,...
gpl-2.0
m241dan/darkstar
scripts/globals/mobskills/Crystal_Weapon.lua
37
1031
--------------------------------------------- -- Crystal Weapon -- -- Description: Invokes the power of a crystal to deal magical damage of a random element to a single target. -- Type: Magical -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown -- Notes: Can be Fire, Earth, Wind, or Water element. Funct...
gpl-3.0
m241dan/darkstar
scripts/globals/items/blackened_toad.lua
18
1358
----------------------------------------- -- ID: 4599 -- Item: Blackened Toad -- Food Effect: 180Min, All Races ----------------------------------------- -- Dexterity 2 -- Agility 2 -- Mind -1 -- Poison Resist 5 ----------------------------------------- require("scripts/globals/status"); -----------------------------...
gpl-3.0
m241dan/darkstar
scripts/globals/weaponskills/skewer.lua
11
1366
----------------------------------- -- Skewer -- Polearm weapon skill -- Skill Level: 200 -- Delivers a three-hit attack. Chance of params.critical hit varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Light Gorget & Thunder Gorget. -- Aligned with the Light Belt & Thunder Belt. -- Element: None -- M...
gpl-3.0
m241dan/darkstar
scripts/zones/Lower_Jeuno/npcs/Subash.lua
13
1026
---------------------------------- -- Area: Lower Jeuno -- NPC: Subash -- Type: Item Deliverer -- @zone: 245 -- @pos -19.84 -0.101 -38.081 -- ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); ------------------------...
gpl-3.0
santssoft/darkstar
scripts/zones/Horlais_Peak/bcnms/under_observation.lua
9
1064
----------------------------------- -- Under Observation -- Horlais Peak BCNM40, Star Orb -- !additem 1131 ----------------------------------- require("scripts/globals/battlefield") ----------------------------------- function onBattlefieldInitialise(battlefield) battlefield:setLocalVar("loot", 1) end function on...
gpl-3.0
santssoft/darkstar
scripts/zones/Beaucedine_Glacier/npcs/Torino-Samarino.lua
9
2648
----------------------------------- -- Area: Beaucedine Glacier -- NPC: Torino-Samarino -- Type: Quest NPC -- Involved in Quests: Curses, Foiled A-Golem!?, Tuning Out -- !pos 105 -20 140 111 ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); local ID = requi...
gpl-3.0
ILiebhardt/darktable
tools/lua_doc/old_api/dt_api202.lua
7
170644
API = { ["__text"] = [[This documentation is for the *development* version of darktable. for the stable version, please visit the user manual To access the darktable specific functions you must load the darktable environment:<code>darktable = require "darktable"</code>All functions and data are accessed through the dar...
gpl-3.0
santssoft/darkstar
scripts/globals/items/humpty_dumpty_effigy.lua
11
1096
----------------------------------------- -- ID: 5683 -- Item: humpty_dumpty_effigy -- Food Effect: 3 hours, All Races ----------------------------------------- -- Max HP % 6 (cap 160) -- Max MP % 6 (cap 160) ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----...
gpl-3.0
santssoft/darkstar
scripts/globals/mobskills/typhoon.lua
11
1159
--------------------------------------------- -- Typhoon -- -- Description: Spins around dealing damage to targets in an area of effect. -- Type: Physical -- Utsusemi/Blink absorb: 2-4 shadows -- Range: 10' radial -- Notes: --------------------------------------------- require("scripts/globals/settings") require(...
gpl-3.0
santssoft/darkstar
scripts/globals/items/slice_of_ziz_meat.lua
11
1070
----------------------------------------- -- ID: 5581 -- Item: Slice of Ziz Meat -- Effect: 5 Minutes, food effect, Galka Only ----------------------------------------- -- Strength +4 -- Intelligence -6 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----------...
gpl-3.0
m241dan/darkstar
scripts/zones/Bastok_Markets/npcs/Reet.lua
13
1335
----------------------------------- -- Area: Bastok Markets -- NPC: Reet -- Adventurer's Assistant -- @zone 235 -- @pos -237 -12 -41 ------------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ------------------------------------- require("scripts/globals/settings"); require("sc...
gpl-3.0
santssoft/darkstar
scripts/globals/automatonweaponskills.lua
10
12163
-- Uses a mixture of mob and player WS formulas require("scripts/globals/weaponskills"); require("scripts/globals/magicburst"); require("scripts/globals/status"); require("scripts/globals/utils"); require("scripts/globals/magic"); require("scripts/globals/msg"); -- params contains: ftp100, ftp200, ftp300, str_wsc, de...
gpl-3.0
santssoft/darkstar
scripts/zones/Crawlers_Nest/npcs/qm9.lua
9
1178
----------------------------------- -- Area: Crawlers Nest -- NPC: ??? -- Used In Quest: A Boy's Dream -- !pos -18 -8 124 197 ----------------------------------- local ID = require("scripts/zones/Crawlers_Nest/IDs") require("scripts/globals/npc_util") require("scripts/globals/quests") ---------------------------------...
gpl-3.0
m241dan/darkstar
scripts/zones/Bastok_Mines/npcs/Babenn.lua
12
2348
----------------------------------- -- Area: Bastok Mines -- NPC: Babenn -- Finishes Quest: The Eleventh's Hour -- Involved in Quests: Riding on the Clouds -- @zone 234 -- @pos 73 -1 34 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- r...
gpl-3.0
santssoft/darkstar
scripts/globals/mobskills/chains_of_envy.lua
12
1259
--------------------------------------------- -- Chains of Envy -- --------------------------------------------- local ID = require("scripts/zones/Empyreal_Paradox/IDs") require("scripts/globals/monstertpmoves") require("scripts/globals/keyitems") require("scripts/globals/settings") require("scripts/globals/status") re...
gpl-3.0
santssoft/darkstar
scripts/zones/Port_San_dOria/npcs/Prietta.lua
9
1171
----------------------------------- -- Area: Port San d'Oria -- NPC: Prietta -- Standard Info NPC ----------------------------------- local ID = require("scripts/zones/Port_San_dOria/IDs"); require("scripts/globals/quests"); ----------------------------------- function onTrade(player,npc,trade) if (player:getQues...
gpl-3.0
mday299/ardupilot
libraries/AP_Scripting/examples/mission-edit-demo.lua
6
9732
-- mission editing demo lua script. -- by Buzz 2020 current_pos = nil home = 0 a = {} demostage = 0 eventcounter = 0 function update () -- periodic function that will be called current_pos = ahrs:get_position() -- adds new/extra mission item at the end by copying the last one and modifying it -- get number o...
gpl-3.0
Newbrict/ObjHunt
gamemode/gui/main_hud.lua
1
8320
-- the font I will use for info surface.CreateFont( "ObjHUDFont", { font = "Helvetica", size = 40, weight = 2000, antialias = true, outline = false }) surface.CreateFont( "barHUD", { font = "Helvetica", size = 16, weight = 1000, antialias = false, outline = true }) --[[=======================]]-- --[[ This ...
apache-2.0
ch3n2k/luci
applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua
141
1031
--[[ smap_devinfo - SIP Device Information (c) 2009 Daniel Dickinson Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- require("luci.i18n") re...
apache-2.0
santssoft/darkstar
scripts/globals/weaponskills/metatron_torment.lua
10
2376
----------------------------------- -- Metatron Torment -- Hand-to-Hand Skill level: 5 Description: Delivers a threefold attack. Damage varies wit weapon skill -- Great Axe Weapon Skill -- Skill Level: N/A -- Lowers target's defense. Additional effect: temporarily lowers damage taken from enemies. -- Defense Down effec...
gpl-3.0
santssoft/darkstar
scripts/globals/weaponskills/shield_break.lua
10
1952
----------------------------------- -- Shield Break -- Great Axe weapon skill -- Skill level: 5 -- Lowers enemy's Evasion. Duration of effect varies with TP. -- Lowers Evasion by as much as 40 if unresisted. -- Strong against: Bees, Beetles, Birds, Crabs, Crawlers, Flies, Lizards, Mandragora, Opo-opo, Pugils, Sabotende...
gpl-3.0
santssoft/darkstar
scripts/zones/QuBia_Arena/bcnms/die_by_the_sword.lua
9
1062
----------------------------------- -- Die by the Sword -- Qu'Bia Arena BCNM30, Sky Orb -- !additem 1552 ----------------------------------- require("scripts/globals/battlefield") ----------------------------------- function onBattlefieldInitialise(battlefield) battlefield:setLocalVar("loot", 1) end function onBa...
gpl-3.0
rekotc/game-engine-experimental-3
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/penlight/lua/pl/list.lua
3
14059
--- Python-style list class. <p> -- Based on original code by Nick Trout. -- <p> -- <b>Please Note</b>: methods that change the list will return the list. -- This is to allow for method chaining, but please note that <tt>ls = ls:sort()</tt> -- does not mean that a new copy of the list is made. In-place (mutable) method...
lgpl-3.0
santssoft/darkstar
scripts/globals/spells/frazzle.lua
12
1626
----------------------------------------- -- Spell: Frazzle ----------------------------------------- require("scripts/globals/magic") require("scripts/globals/msg") require("scripts/globals/status") require("scripts/globals/utils") ----------------------------------------- function onMagicCastingCheck(caster, target,...
gpl-3.0
ultrasn0w/mc_u_world
danidani_programs/opencomputers/4a2bb039-e2e9-4561-b12a-b45d94e2576b/bin/install.lua
15
2650
local component = require("component") local computer = require("computer") local event = require("event") local filesystem = require("filesystem") local unicode = require("unicode") local shell = require("shell") local args, options = shell.parse(...) local fromAddress = options.from and component.get(options.from) ...
unlicense
santssoft/darkstar
scripts/globals/mobskills/crystal_weapon.lua
11
1067
--------------------------------------------- -- Crystal Weapon -- -- Description: Invokes the power of a crystal to deal magical damage of a random element to a single target. -- Type: Magical -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown -- Notes: Can be Fire, Earth, Wind, or Water element. Funct...
gpl-3.0
santssoft/darkstar
scripts/globals/mobskills/catapult.lua
11
1034
--------------------------------------------------- -- Ranged Attack -- Deals a ranged attack to a single target. --------------------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/monstertpmoves") ----------------------------------------...
gpl-3.0
m241dan/darkstar
scripts/zones/Windurst_Walls/npcs/Koru-Moru.lua
25
11771
----------------------------------- -- Area: Windurst Walls -- NPC: Koru-Moru -- Starts & Ends Quest: Star Struck -- Involved in Quest: Making the Grade, Riding on the Clouds -- @pos -120 -6 124 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ---------------------...
gpl-3.0
m241dan/darkstar
scripts/zones/Metalworks/npcs/Savae_E_Paleade.lua
13
2796
----------------------------------- -- Area: Metalworks -- NPC: Savae E Paleade -- Involved In Mission: Journey Abroad -- @pos 23.724 -17.39 -43.360 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems")...
gpl-3.0
m241dan/darkstar
scripts/globals/mobskills/Gregale_Wing_Air.lua
33
1081
--------------------------------------------- -- Gregale Wing -- -- Description: An icy wind deals Ice damage to enemies within a very wide area of effect. Additional effect: Paralyze -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: 30' radial. -- Notes: Used only Jormungand and Isgebind -------...
gpl-3.0
m241dan/darkstar
scripts/zones/Lower_Jeuno/npcs/Ruslan.lua
13
2102
----------------------------------- -- Area: Lower Jeuno -- NPC: Ruslan -- Involved In Quest: Wondering Minstrel -- Working 100% -- @zone = 245 -- @pos = -19 -1 -58 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scr...
gpl-3.0
m241dan/darkstar
scripts/zones/Arrapago_Reef/TextIDs.lua
6
1141
-- 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 = 6384; -- Obtained: <item> GIL_OBTAINED = 6385; -- Obtained <number> gil KEYITEM_OBTAINED = 6387; -- Obtain...
gpl-3.0
hetter/NPLRuntime
Server/trunk/LuaJIT-2.1/src/jit/dis_ppc.lua
59
20301
---------------------------------------------------------------------------- -- LuaJIT PPC disassembler module. -- -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. -- Released under the MIT/X license. See Copyright Notice in luajit.h ----------------------------------------------------------------------------...
gpl-2.0
mramirbad/teleatom
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
yongshengwang/hue
tools/wrk-scripts/lib/equal-5bb8dbf.lua
22
1818
-- The MIT License (MIT) -- -- Copyright (c) 2014, Cyril David <cyx@cyx.is> -- -- 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 right...
apache-2.0
santssoft/darkstar
scripts/zones/Windurst_Woods/npcs/Nokkhi_Jinjahl.lua
12
5098
----------------------------------- -- Area: Windurst Woods -- NPC: Nokkhi Jinjahl -- Type: Travelling Merchant NPC / NPC Quiver Maker / Windurst 1st Place -- !pos 4 1 -43 241 ----------------------------------- local ID = require("scripts/zones/Windurst_Woods/IDs") ----------------------------------- function onTra...
gpl-3.0
santssoft/darkstar
scripts/globals/items/plate_of_royal_saute.lua
11
1568
----------------------------------------- -- ID: 4295 -- Item: plate_of_royal_sautee -- Food Effect: 240Min, All Races ----------------------------------------- -- Strength 5 -- Agility 1 -- Intelligence -2 -- Attack +22% (cap 80) -- Ranged Attack +22% (cap 80) -- Stun Resist +4 -- HP recovered while healing +1 -------...
gpl-3.0
CapsAdmin/pac3
lua/pac3/editor/server/bans.lua
1
2252
local function get_bans() local str = file.Read("pac_bans.txt", "DATA") local bans = {} if str and str ~= "" then bans = util.KeyValuesToTable(str) end do -- check if this needs to be rebuilt local k,v = next(bans) if isstring(v) then local temp = {} for k,v in pairs(bans) do temp[util.CRC("gm_...
gpl-3.0
m241dan/darkstar
scripts/globals/abilities/celerity.lua
27
1130
----------------------------------- -- Ability: Celerity -- Reduces the casting time and the recast time of your next white magic spell by 50%. -- Obtained: Scholar Level 25 -- Recast Time: Stratagem Charge -- Duration: 1 white magic spell or 60 seconds, whichever occurs first. -- -- Level |Charges |Recharge Time per...
gpl-3.0
Har1eyquinn/dbot
plugins/img_google.lua
1
3215
do local mime = require("mime") local google_config = load_from_file('data/google.lua') local cache = {} --[[ local function send_request(url) local t = {} local options = { url = url, sink = ltn12.sink.table(t), method = "GET" } local a, code, headers, status = http.request(options) return tabl...
gpl-2.0
dvr333/Zero-K
LuaUI/Widgets/gui_custom_markers.lua
6
15518
function widget:GetInfo() return { name = "Custom Markers", desc = "Alternative to Spring map markers", author = "Evil4Zerggin (adapted by KingRaptor)", date = "29 December 2008", license = "GNU LGPL, v2.1 or later", layer = 1001, -- more than Chili alwaysStart = true, enabled ...
gpl-2.0
rekotc/game-engine-experimental-3
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/wxLua/bindings/wxwidgets/wxxrc_rules.lua
3
7817
-- ---------------------------------------------------------------------------- -- Rules to build wxWidgets' wxXRC binding for wxLua -- load using : $lua -e"rulesFilename=\"rules.lua\"" genwxbind.lua -- ---------------------------------------------------------------------------- -- -----------------------------------...
lgpl-3.0
santssoft/darkstar
scripts/globals/weaponskills/glory_slash.lua
10
1635
----------------------------------- -- Glory Slash -- Sword weapon skill -- Skill Level: NA -- Only avaliable during Campaign Battle while weilding Lex Talionis. -- Delivers and area attack that deals triple damage. Damage varies with TP. Additional effect Stun. -- Will stack with Sneak Attack. -- Aligned with the Flam...
gpl-3.0
kireevco/luasense
app/app.lua
1
6006
-- app.lua local http = require "lapis.nginx.http" local lapis = require("lapis") local console = require("lapis.console") local http = require("lapis.nginx.http") local config = require("lapis.config").get() --local colors = require("ansicolors") local logging = require("lapis.logging") local util = require("lapis.u...
mit
ducseb/domoticz
scripts/dzVents/runtime/Utils.lua
5
1304
local self = { LOG_ERROR = 1, LOG_FORCE = 0.5, LOG_MODULE_EXEC_INFO = 2, LOG_INFO = 3, LOG_DEBUG = 4, } function self.fileExists(name) local f = io.open(name, "r") if f ~= nil then io.close(f) return true else return false end end function self.osExecute(cmd) if (_G.TESTMODE) then return end os.execu...
gpl-3.0
santssoft/darkstar
scripts/zones/Bibiki_Bay/npcs/Clamming_Point.lua
9
5819
----------------------------------- -- Area: Bibiki Bay -- NPC: Clamming Point ----------------------------------- local ID = require("scripts/zones/Bibiki_Bay/IDs"); require("scripts/globals/keyitems"); ----------------------------------- -- Local Variables ----------------------------------- -- clammingItems = item...
gpl-3.0
hughperkins/nn
SpatialDropout.lua
33
1453
local SpatialDropout, Parent = torch.class('nn.SpatialDropout', 'nn.Module') function SpatialDropout:__init(p) Parent.__init(self) self.p = p or 0.5 self.train = true self.noise = torch.Tensor() end function SpatialDropout:updateOutput(input) self.output:resizeAs(input):copy(input) if self.train the...
bsd-3-clause
Mailaender/OpenRA
mods/cnc/maps/gdi09/gdi09-AI.lua
3
6273
--[[ Copyright 2007-2020 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
m241dan/darkstar
scripts/zones/Kazham/npcs/Dodmos.lua
6
3150
----------------------------------- -- Area: Kazham -- NPC: Dodmos -- Starts Quest: Trial Size Trial By Fire -- @pos 102.647 -14.999 -97.664 250 ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require...
gpl-3.0
santssoft/darkstar
scripts/globals/items/copper_frog.lua
11
1130
----------------------------------------- -- ID: 4515 -- Item: copper_frog -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Agility 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") -----------------------...
gpl-3.0
palmettos/test
protocols/sstp/luasrc/model/network/proto_sstp.lua
3
1456
--[[ LuCI - Network model - SSTP protocol extension 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 U...
apache-2.0
santssoft/darkstar
scripts/zones/Balgas_Dais/bcnms/saintly_invitation.lua
9
1701
----------------------------------- -- Area: Horlais Peak -- Name: Saintly Invitation -- !pos 299 -123 345 146 ----------------------------------- require("scripts/globals/battlefield") require("scripts/globals/keyitems") require("scripts/globals/missions") require("scripts/globals/npc_util") --------------------------...
gpl-3.0
m241dan/darkstar
scripts/zones/Windurst_Woods/npcs/Bozack.lua
13
1051
----------------------------------- -- Area: Windurst Woods -- NPC: Bozack -- Type: Event Replayer -- @zone: 241 -- @pos 92.591 -5.58 -31.529 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; -------------...
gpl-3.0
m241dan/darkstar
scripts/globals/abilities/pets/thunderspark.lua
1
1521
--------------------------------------------------- -- Thunderspark M=whatever --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/summon"); require("scripts/globals/magic"); require("scripts/globals/monstertpmoves"); ---...
gpl-3.0
santssoft/darkstar
scripts/globals/spells/bluemagic/self-destruct.lua
7
1166
----------------------------------------- -- Spell: Self-Destruct -- Sacrifices HP to damage enemies within range. Affects caster with Weakness -- Spell cost: 100 MP -- Monster Type: Arcana -- Spell Type: Magical (Fire) -- Blue Magic Points: 3 -- Stat Bonus: STR+2 -- Level: 50 -- Casting Time: 3.25 seconds -- Recast Ti...
gpl-3.0
m241dan/darkstar
scripts/globals/bcnm.lua
1
42653
require("scripts/globals/status"); require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("scripts/globals/quests"); -- NEW SYSTEM BCNM NOTES -- The "core" functions TradeBCNM EventUpdateBCNM EventTriggerBCNM EventFinishBCNM all return TRUE if the action performed is covered by the function....
gpl-3.0
santssoft/darkstar
scripts/zones/Mount_Zhayolm/npcs/_1p3.lua
9
2893
----------------------------------- -- Area: Mount Zhayolm -- Door: Runic Seal -- !pos 703 -18 382 61 ----------------------------------- local ID = require("scripts/zones/Mount_Zhayolm/IDs") require("scripts/globals/besieged") require("scripts/globals/keyitems") require("scripts/globals/missions") --------------------...
gpl-3.0
santssoft/darkstar
scripts/zones/Throne_Room/mobs/Volker.lua
8
1286
----------------------------------- -- Area: Throne Room -- Mob: Volker -- Ally during Bastok Mission 9-2 ----------------------------------- local ID = require("scripts/zones/Throne_Room/IDs") require("scripts/globals/status") function onMobSpawn(mob) mob:addListener("WEAPONSKILL_STATE_ENTER", "WS_START_MSG", fu...
gpl-3.0
santssoft/darkstar
scripts/globals/spells/bluemagic/ice_break.lua
12
1869
----------------------------------------- -- Spell: Ice Break -- Deals ice damage to enemies within range. Additional Effect: "Bind" -- Spell cost: 142 MP -- Monster Type: Arcana -- Spell Type: Magical (Ice) -- Blue Magic Points: 3 -- Stat Bonus: INT+1 -- Level: 50 -- Casting Time: 5.25 seconds -- Recast Time: 33.75 se...
gpl-3.0
mpeterv/Penlight
lua/pl/file.lua
32
1585
--- File manipulation functions: reading, writing, moving and copying. -- -- Dependencies: `pl.utils`, `pl.dir`, `pl.path` -- @module pl.file local os = os local utils = require 'pl.utils' local dir = require 'pl.dir' local path = require 'pl.path' --[[ module ('pl.file',utils._module) ]] local file = {} --- return t...
mit
hughperkins/nn
SpatialContrastiveNormalization.lua
63
1444
local SpatialContrastiveNormalization, parent = torch.class('nn.SpatialContrastiveNormalization','nn.Module') function SpatialContrastiveNormalization:__init(nInputPlane, kernel, threshold, thresval) parent.__init(self) -- get args self.nInputPlane = nInputPlane or 1 self.kernel = kernel or torch.Tensor(9...
bsd-3-clause
dvr333/Zero-K
LuaRules/Utilities/versionCompare.lua
6
1410
Spring.Utilities = Spring.Utilities or {} -- for some reason IsEngineMinVersion breaks on develop (X.1.Y-...) tags if (not Script.IsEngineMinVersion(1, 0, 0)) then Spring.Echo("[versionCompare.lua] WARNING: IsEngineMinVersion is not working. This means version constants aren't being set correctly. Note that Zero-K wa...
gpl-2.0
tuxis-ie/pdns
pdns/recursordist/contrib/kv-example-script.lua
4
1856
--[[ This implements a two-step domain filtering solution where the status of an IP address and a domain name need to be looked up. To do so, we use the udpQuestionResponse answers which generically allows us to do asynchronous lookups via UDP. Such lookups can be slow, but they won't block PowerDNS while we wait for...
gpl-2.0
sajjadsad/sm
BoTMasters/iDev1bot.lua
1
11991
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("./BoTMasters/utils") local f = assert(io.popen('/usr/bin/git describe --tags', 'r')) VERSION = assert(f:read('*a')) f:close() -- This funct...
gpl-2.0
m241dan/darkstar
scripts/zones/Castle_Oztroja/npcs/qm1.lua
13
1524
----------------------------------- -- Area: Castle Oztroja -- NPC: qm1 (???) -- Involved in Quest: True Strength -- @pos -100 -71 -132 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require...
gpl-3.0
m241dan/darkstar
scripts/globals/spells/bluemagic/mind_blast.lua
1
1990
----------------------------------------- -- Spell: Mind Blast -- Deals lightning damage to an enemy. Additional effect: Paralysis -- Spell cost: 82 MP -- Monster Type: Demons -- Spell Type: Magical (Lightning) -- Blue Magic Points: 4 -- Stat Bonus: MP+5 MND+1 -- Level: 73 -- Casting Time: 3 seconds -- Recast Time: 30 ...
gpl-3.0
dvr333/Zero-K
scripts/grebe.lua
3
5577
--linear constant 65536 include "constants.lua" local base, pelvis, body, countertilt, aimpoint = piece('base', 'pelvis', 'body', 'countertilt', 'aimpoint') local rthigh, rshin, rfoot, lthigh, lshin, lfoot = piece('rthigh', 'rshin', 'rfoot', 'lthigh', 'lshin', 'lfoot') local disks = { {piece('f1disk', 'b1disk')}, {...
gpl-2.0
rekotc/game-engine-experimental-3
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/socket/src/socket.lua
146
4061
----------------------------------------------------------------------------- -- LuaSocket helper module -- Author: Diego Nehab -- RCS ID: $Id: socket.lua,v 1.22 2005/11/22 08:33:29 diego Exp $ ----------------------------------------------------------------------------- -----------------------------------------------...
lgpl-3.0
m241dan/darkstar
scripts/zones/Port_Jeuno/npcs/Joachim.lua
29
3980
----------------------------------- -- Area: Port Jeuno -- NPC: Joachim -- @zone 246 -- @pos -52.844 0.000 -9.978 -- CS/Event ID's: -- 0x0144 = on zoning in -- 0x0145 = 1st chat, get 1st stone, -- completes "A Journey Begins" -- 0x0146 = Limited Menu -- 0x0147 = CS after "The Truth Beckons" completed. -- 0x0148 = Full ...
gpl-3.0
m241dan/darkstar
scripts/globals/items/dish_of_spaghetti_nero_di_seppia_+1.lua
18
1800
----------------------------------------- -- ID: 5202 -- Item: Dish of Spaghetti Nero Di Seppia +1 -- Food Effect: 60 Mins, All Races ----------------------------------------- -- HP % 17 (cap 140) -- Dexterity 3 -- Vitality 2 -- Agility -1 -- Mind -2 -- Charisma -1 -- Double Attack 1 -- Store TP 6 ---------------------...
gpl-3.0
Armyluix/darkstar
scripts/zones/Port_Bastok/npcs/Oggbi.lua
17
3223
----------------------------------- -- Area: Port Bastok -- NPC: Oggbi -- Starts and Finishes: Ghosts of the Past, The First Meeting -- @zone 236 -- @pos -159 -7 5 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
ElectroDuk/QuackWars
garrysmod/gamemodes/Basewars/entities(maybe_outdated)/weapons/OldSweps/www_changed/weapon_galil2/shared.lua
2
3096
// this was rickster's ak47. if ( SERVER ) then AddCSLuaFile( "shared.lua" ) SWEP.HoldType = "ar2" end if ( CLIENT ) then SWEP.PrintName = "Galil" SWEP.Author = "HLTV Proxy" SWEP.Slot = 3 SWEP.SlotPos = 4 SWEP.IconLetter = "v" SWEP.ViewModelFlip = false killicon.AddFont( "weapon_gali...
mit
abriasffxi/darkstar
scripts/zones/Rabao/npcs/Scamplix.lua
17
1532
----------------------------------- -- Area: Rabao -- NPC: Scamplix -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Rabao/TextIDs"] = nil; require("scripts/zones/Rabao/TextIDs"); ----------------------------------- -- onTrade Action ---------...
gpl-3.0
abriasffxi/darkstar
scripts/globals/weaponskills/fast_blade.lua
25
1373
----------------------------------- -- Fast Blade -- Sword weapon skill -- Skill Level: 5 -- Delivers a two-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Soil Gorget. -- Aligned with the Soil Belt. -- Element: None -- Modifiers: STR:20% ; DEX:20% -- 100%TP 200%TP 300%TP -...
gpl-3.0
Jai-Chaudhary/torch7
torchcwrap.lua
54
15111
local wrap = require 'cwrap' local types = wrap.types types.Tensor = { helpname = function(arg) if arg.dim then return string.format("Tensor~%dD", arg.dim) else return "Tensor" end end, declare = function(arg...
bsd-3-clause
ElectroDuk/QuackWars
garrysmod/gamemodes/Basewars/entities(maybe_outdated)/weapons/spiderman_swep/shared.lua
2
5110
SWEP.Author = "GigaJew and Paranoid*" SWEP.Contact = "jaack_harrison@hotmail.co.uk" SWEP.Purpose = "Go spidey all over the map lulz" SWEP.Instructions = "Left click to throw web" SWEP.Spawnable = false SWEP.AdminSpawnable = true SWEP.PrintName = "SpiderSwep" SWEP.Slot = 2 SWEP.SlotPos = 0 SWEP.DrawAm...
mit
abriasffxi/darkstar
scripts/globals/items/yellow_curry_bun_+1.lua
17
1994
----------------------------------------- -- ID: 5763 -- Item: yellow_curry_bun_+1 -- Food Effect: 30minutes, All Races ----------------------------------------- -- Health Points 30 -- Strength 5 -- Agility 2 -- Vitality 2 -- Intelligence -2 -- Attack 23% (caps @ 80) -- Ranged Attack 23% (caps @ 80) -- Resist Sleep -- ...
gpl-3.0
ifreedom/lgob
examples/Printing.lua
1
2503
#! /usr/bin/env lua -- Printing example. require("lgob.gtk") require("lgob.cairo") require("lgob.pango") require("lgob.pangocairo") -- Create the widgets local window = gtk.Window.new() local button = gtk.Button.new_with_mnemonic("Print test") function beginPrint(ud, context) local operation, data = unpack(ud) lo...
lgpl-3.0
Armyluix/darkstar
scripts/globals/effects/fan_dance.lua
18
1201
----------------------------------- -- -- EFFECT_FAN_DANCE -- ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) ...
gpl-3.0
dios-game/dios-cocos
src/oslibs/cocos/cocos-src/tests/lua-tests/src/PerformanceTest/PerformanceSpriteTest.lua
14
16145
local kMaxNodes = 50000 local kBasicZOrder = 10 local kNodesIncrease = 250 local TEST_COUNT = 7 local s = cc.Director:getInstance():getWinSize() ----------------------------------- -- For test functions ----------------------------------- local function performanceActions(sprite) sprite:setPosition(cc.p(math.mod(ma...
mit
abriasffxi/darkstar
scripts/zones/Beaucedine_Glacier/npcs/Luck_Rune.lua
14
1069
----------------------------------- -- Area: Beaucedine Glacier -- NPC: Luck Rune -- Involved in Quest: Mhaura Fortune -- @pos 70.736 -37.778 149.624 111 ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil; ------------------------------------- require("scripts/zone...
gpl-3.0
abriasffxi/darkstar
scripts/globals/weaponskills/steel_cyclone.lua
26
1617
----------------------------------- -- Steel Cyclone -- Great Axe weapon skill -- Skill level: 240 -- Delivers a single-hit attack. Damage varies with TP. -- In order to obtain Steel Cyclone, the quest The Weight of Your Limits must be completed. -- Will stack with Sneak Attack. -- Aligned with the Breeze Gorget, Aqua ...
gpl-3.0
Armyluix/darkstar
scripts/globals/effects/auspice.lua
18
1827
-------------------------------------- -- -- EFFECT_AUSPICE -- -- Power: Used for Enspell Effect -- SubPower: Tracks Subtle Blow Bonus -- Tier: Used for Enspell Calculation -- -------------------------------------- ----------------------------------- -- onEffectGain Action ---------------------------------...
gpl-3.0