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
Fenix-XI/Fenix
scripts/globals/mobskills/Glacial_Breath.lua
32
1239
--------------------------------------------- -- Glacial Breath -- -- Description: Deals Ice damage to enemies within a fan-shaped area. -- Type: Breath -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone -- Notes: Used only by Jormungand and Isgebind --------------------------------------------- req...
gpl-3.0
marwac-9/terrain-editor
data/scripts/follower.lua
3
1340
-- this is the default script with some predefined callbacks -- uncomment the callbacks you need -- run when the entity is created function oninit(eid) other = getentitybyname("dummychar") movefollow(eid,other,1.0) end -- run every frame --function onframe(eid) --end -- run upon a collision event --function oncoll...
cc0-1.0
DarkstarProject/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
jkprg/prosody-modules
mod_privilege/mod_privilege.lua
16
15855
-- XEP-0356 (Privileged Entity) -- Copyright (C) 2015 Jérôme Poisson -- -- This module is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- -- Some parts come from mod_remote_roster (module by Waqas Hussain and Kim Alvefur, see https://code.google.com/p/prosody-modules/) -...
mit
trap000d/lain
widget/mpd.lua
2
6003
--[[ Licensed under GNU General Public License v2 * (c) 2013, Luca CPZ * (c) 2010, Adrian C. <anrxc@sysphere.org> --]] local helpers = require("lain.helpers") local shell = require("awful.util").shell local escape_f = require("awful.util").escape local focused = require("awful.screen").focused ...
gpl-2.0
DarkstarProject/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
Fenix-XI/Fenix
scripts/zones/Port_San_dOria/npcs/Eddy.lua
13
1053
----------------------------------- -- Area: Port San d'Oria -- NPC: Eddy -- Type: NPC Quest Giver -- @zone: 232 -- @pos -5.209 -8.999 39.833 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; -----------...
gpl-3.0
DarkstarProject/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
Fenix-XI/Fenix
scripts/globals/spells/bluemagic/uppercut.lua
35
1828
----------------------------------------- -- Spell: Uppercut -- Damage varies with TP -- Spell cost: 31 MP -- Monster Type: Plantoids -- Spell Type: Physical (Blunt) -- Blue Magic Points: 3 -- Stat Bonus: STR+2, DEX+1 -- Level: 38 -- Casting Time: 0.5 seconds -- Recast Time: 17.75 seconds -- Skillchain Element(s): Fire...
gpl-3.0
davidbz/trafficserver
example/plugins/lua-api/connect_redis.lua
2
2395
-- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); y...
apache-2.0
emender/emender
test/Test100Passes1Yap.lua
1
1845
-- Test100Passes1Yap.lua - check that graphs are rendered correctly. -- Copyright (C) 2014 Pavel Tisnovsky -- -- -- This file is part of Emender. -- -- Emender 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;...
gpl-3.0
DarkstarProject/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
Giorox/AngelionOT-Repo
data/npc/scripts/Zalamon.lua
1
8004
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCrea...
gpl-3.0
8devices/carambola2-luci
modules/base/luasrc/ccache.lua
82
1863
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> 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 ht...
apache-2.0
tcatm/luci
modules/luci-base/luasrc/cbi.lua
17
40212
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. module("luci.cbi", package.seeall) require("luci.template") local util = require("luci.util") require("luci.http") --local event = require "luci.sys.event" local fs = require("nixio.fs") local uc...
apache-2.0
marcel-sch/luci
applications/luci-app-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
DarkstarProject/darkstar
scripts/globals/spells/doton_san.lua
12
1346
----------------------------------------- -- Spell: Doton: San -- Deals earth damage to an enemy and lowers its resistance against wind. ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") function onMagicCastingCheck(caster,target,spell) return 0 end func...
gpl-3.0
DarkstarProject/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
marcel-sch/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
DarkstarProject/darkstar
scripts/globals/items/crescent_fish.lua
11
1049
----------------------------------------- -- ID: 4473 -- Item: crescent_fish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----------------------------------...
gpl-3.0
Giorox/AngelionOT-Repo
data/npc/scripts/Old Adall.lua
1
1785
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- OTServ event handling functions start function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function ...
gpl-3.0
SkzKatsushiro/OpenRA
mods/cnc/maps/funpark01/scj01ea.lua
19
3578
RifleReinforcments = { "e1", "e1", "e1", "bike" } BazookaReinforcments = { "e3", "e3", "e3", "bike" } BikeReinforcments = { "bike" } ReinforceWithLandingCraft = function(units, transportStart, transportUnload, rallypoint) local transport = Actor.Create("oldlst", true, { Owner = player, Facing = 0, Location = transpo...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Garlaige_Citadel/npcs/qm9.lua
13
1363
----------------------------------- -- Area: Garlaige Citadel -- NPC: qm9 (???) -- Involved in Quest: Hitting the Marquisate (THF AF3) -- @pos -140.039 -5.500 285.999 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/weaponskills/shattersoul.lua
10
2356
----------------------------------- -- Shattersoul -- Skill Level: 357 -- Description: Delivers a threefold attack. Decreases target's magic defense. Duration of effect varies with TP. -- To obtain Shattersoul, the quest Martial Mastery must be completed and it must be purchased from the Merit Points menu. -- Target's ...
gpl-3.0
ungarscool1/HL2RP
hl2rp/entities/entities/spawned_shipment/init.lua
1
6534
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include("shared.lua") include("commands.lua") util.AddNetworkString("DarkRP_shipmentSpawn") function ENT:Initialize() local contents = CustomShipments[self:Getcontents() or ""] self.Destructed = false self:SetModel(contents and contents.shipmodel or...
agpl-3.0
maikerumine/extreme_survival_mini
mods/es/screwdriver.lua
1
3716
--Extreme Survival created by maikerumine -- Minetest 0.4.13 mod: "Extreme Survival" -- namespace: es --https://github.com/maikerumine --[[License: --~~~~~~~~ Minetest mod: screwdriver ========================= License of source code: ----------------------- Copyright (C) 2013 RealBadAngel, Maciej Kasatkin <mk@realba...
lgpl-2.1
Fenix-XI/Fenix
scripts/globals/abilities/elemental_siphon.lua
26
2807
----------------------------------- -- Ability: Elemental Siphon -- Drains MP from your summoned spirit. -- Obtained: Summoner level 50 -- Recast Time: 5:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/pets"); r...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/abilities/pets/thunderstorm.lua
28
1341
--------------------------------------------------- -- Geocrush --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); --------------------------------------------------- ...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Western_Adoulin/npcs/Westerly_Breeze.lua
9
7180
----------------------------------- -- Area: Western Adoulin -- NPC: Westerly Breeze -- Type: Standard NPC and Quest Giver -- Starts, Involved with, and Finishes Quests: 'Hunger Strikes' -- 'The Starving' -- 'Always More, Quoth the...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/bowl_of_oceanfin_soup.lua
18
1891
----------------------------------------- -- ID: 6070 -- Item: Bowl of Oceanfin Soup -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- Accuracy % 15 Cap 95 -- Ranged Accuracy % 15 Cap 95 -- Attack % 19 Cap 85 -- Ranged Attack % 19 Cap 85 -- Amorph Killer 6 -----------------------------------...
gpl-3.0
Ali-Dragon/Dragon
plugins/me.lua
2
2550
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY Memo (@ii02ii ) ▀▄ ▄▀ ▀▄ ▄▀ BY Alidragon (@Aaa1R ) ▀▄ ▄▀ ▀▄ ▄▀ ChannelDev (@Ch_dev) ▀▄ ▄▀ ▀▄ ▄▀ Making the file by Memo ▀▄ ▄▀ ▀...
gpl-2.0
emender/emender
test/Test1Pass.lua
1
1120
-- Test1Pass.lua - check the graph & statistic submodules of Emender. -- Copyright (C) 2014 Pavel Tisnovsky -- -- -- This file is part of Emender. -- -- Emender 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...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/weaponskills/blade_shun.lua
11
1803
----------------------------------- -- Blade Shun -- Katana weapon skill -- Skill level: N/A -- Description: Delivers a fivefold attack. Attack power varies with TP. -- In order to obtain Blade: Shun the quest Martial Mastery must be completed. -- This Weapon Skill's first hit params.ftp is duplicated for all additiona...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/weaponskills/blade_ten.lua
10
1440
----------------------------------- -- Blade Ten -- Katana weapon skill -- Skill Level: 225 -- Delivers a single-hit attack. Damage 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:30% DEX:3...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/items/pumpkin_pie_+1.lua
11
1064
----------------------------------------- -- ID: 4525 -- Item: pumpkin_pie_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Magic 45 -- Intelligence 4 -- Charisma -1 -- MP Recovered While Healing 1 ----------------------------------------- require("scripts/globals/status") require("scrip...
gpl-3.0
DarkstarProject/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
Fenix-XI/Fenix
scripts/globals/items/bowl_of_sophic_stew.lua
18
1470
----------------------------------------- -- ID: 5180 -- Item: bowl_of_sophic_stew -- Food Effect: 4Hrs, All Races ----------------------------------------- -- Dexterity 6 -- Intelligence 6 -- Mind 6 -- HP Recovered While Healing 3 -- MP Recovered While Healing 3 ----------------------------------------- require("scri...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/mobskills/Polar_Blast.lua
33
1412
--------------------------------------------- -- Polar Blast -- -- Description: Deals Ice damage to enemies within a fan-shaped area. Additional effect: Paralyze -- Type: Breath -- Ignores Shadows -- Range: Unknown Cone --------------------------------------------- require("scripts/globals/settings"); require("sc...
gpl-3.0
Fenix-XI/Fenix
scripts/commands/npchere.lua
1
1337
--------------------------------------------------------------------------------------------------- -- func: @npchere <npcId> -- desc: Spawns an NPC and then moves it to the current position, if in same zone. -- Errors will despawn the mobID unless "noDepop" was specified (any value works). ----------------------...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Western_Adoulin/npcs/Jorin.lua
11
1934
----------------------------------- -- Area: Western Adoulin -- NPC: Jorin -- Type: Standard NPC and Quest Giver -- Starts, Involved with, and Finishes Quest: 'The Old Man and the Harpoon' -- !pos 92 32 152 256 ----------------------------------- require("scripts/globals/quests"); local ID = require("scripts/zones/Wes...
gpl-3.0
Fenix-XI/Fenix
scripts/commands/takegil.lua
13
1140
--------------------------------------------------------------------------------------------------- -- func: @takegil <amount> <player> -- desc: Removes the amount of gil from the given player. --------------------------------------------------------------------------------------------------- cmdprops = { permissi...
gpl-3.0
moteus/lua-split
src/split.lua
1
2891
------------------------------------------------------------------ -- -- Author: Alexey Melnichuk <alexeymelnichuck@gmail.com> -- -- Copyright (C) 2016 Alexey Melnichuk <alexeymelnichuck@gmail.com> -- -- Licensed according to the included 'LICENSE' document -- -- This file is part of lua-split library. -- ...
mit
DarkstarProject/darkstar
scripts/zones/La_Theine_Plateau/globals.lua
12
3999
-- Zone: La Theine Plateau (102) -- Desc: this file contains functions that are shared by multiple luas in this zone's directory ----------------------------------- local ID = require("scripts/zones/La_Theine_Plateau/IDs"); require("scripts/globals/npc_util"); ----------------------------------- LA_THEINE_PLATEAU = { ...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/weaponskills/empyreal_arrow.lua
10
1602
----------------------------------- -- Empyreal Arrow -- Archery weapon skill -- Skill level: 250 -- In order to obtain Empyreal Arrow, the quest From Saplings Grow must be completed. -- Delivers a single-hit attack. Damage varies with TP. -- Aligned with the Flame Gorget & Light Gorget. -- Aligned with the Flame Belt ...
gpl-3.0
ungarscool1/HL2RP
hl2rp/gamemode/modules/jobs/sv_interface.lua
4
4784
DarkRP.PLAYER.changeTeam = DarkRP.stub{ name = "changeTeam", description = "Change the team of a player.", parameters = { { name = "team", description = "The team (job number).", type = "number", optional = false }, { name =...
agpl-3.0
dualface/killpests
src/cocos/cocostudio/DeprecatedCocoStudioFunc.lua
39
3421
--tip local function deprecatedTip(old_name,new_name) print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") end --functions of GUIReader will be deprecated begin local GUIReaderDeprecated = { } function GUIReaderDeprecated.shareReader() deprecatedTip("GUIReader...
mit
Fenix-XI/Fenix
scripts/zones/Upper_Jeuno/npcs/Appollonia.lua
59
1039
----------------------------------- -- Area: Upper Jeuno -- NPC: Appollonia -- Type: Weather Reporter ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Upper_Jeuno/TextIDs"); --...
gpl-3.0
misterdustinface/Beyond-the-Wheel
Beyond-the-Wheel/src/hump/timer.lua
27
6224
--[[ Copyright (c) 2010-2013 Matthias Richter Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dis...
gpl-2.0
AndranikMarkosyan/lms
lib/canvas/request_throttle/increment_bucket.lua
43
1169
local cache_key = KEYS[1] local amount = tonumber(ARGV[1]) local current_time = tonumber(ARGV[2]) local outflow = tonumber(ARGV[3]) local maximum = tonumber(ARGV[4]) -- Our modified leaky bucket algorithm is explained in lib/canvas/request_throttle.rb local leak = function(count, last_touched, current_time, outflow) ...
agpl-3.0
DarkstarProject/darkstar
scripts/globals/abilities/addendum_black.lua
12
1511
----------------------------------- -- Ability: Addendum: Black -- Allows access to additional Black Magic spells while using Dark Arts. -- Obtained: Scholar Level 30 -- Recast Time: Stratagem Charge -- Duration: 2 hours -- -- Level |Charges |Recharge Time per Charge -- ----- -------- --------------- -- 10 |1 ...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Southern_San_dOria/npcs/Adaunel.lua
13
1662
----------------------------------- -- Area: Southern San d'Oria -- NPC: Adaunel -- General Info NPC -- @zone 230 -- @pos 80 -7 -22 ------------------------------------ package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); req...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/weaponskills/ground_strike.lua
11
1607
----------------------------------- -- Ground Strike -- Great Sword weapon skill -- Skill level: 250 QUESTED -- Delivers a single-hit attack. Damage varies with TP. -- Modifiers: STR:50% INT:50% -- 100%TP 200%TP 300%TP -- 1.5 1.75 3.0 ----------------------------------- require("scripts/globals/statu...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Yahsra.lua
11
2569
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Yahsra -- Type: Assault Mission Giver -- !pos 120.967 0.161 -44.002 50 ----------------------------------- require("scripts/globals/keyitems") local ID = require("scripts/zones/Aht_Urhgan_Whitegate/IDs") require("scripts/globals/besieged") requi...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/abilities/tranquility.lua
26
1165
----------------------------------- -- Ability: Tranquility -- Your next white magic spell will generate less enmity. -- Obtained: Scholar Level 75 Tier 2 Merit Points -- Recast Time: Stratagem Charge -- Duration: 1 white magic spell or 60 seconds, whichever occurs first -- -- Level |Charges |Recharge Time per Charge...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Nashmau/npcs/Mamaroon.lua
12
1065
----------------------------------- -- Area: Nashmau -- NPC: Mamaroon -- Standard Merchant NPC ----------------------------------- local ID = require("scripts/zones/Nashmau/IDs") require("scripts/globals/shop") function onTrade(player,npc,trade) end function onTrigger(player,npc) local stock = { 4860...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/North_Gustaberg/IDs.lua
6
4535
----------------------------------- -- Area: North_Gustaberg ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.NORTH_GUSTABERG] = { text = { CONQUEST_BASE = 0, -- Tallying conquest results... ...
gpl-3.0
asdofindia/prosody-modules
mod_delegation/mod_delegation.lua
16
17451
-- XEP-0355 (Namespace Delegation) -- Copyright (C) 2015 Jérôme Poisson -- -- This module is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- This module manage namespace delegation, a way to delegate server features -- to an external entity/component. Only the admin mode...
mit
Fenix-XI/Fenix
scripts/zones/Dynamis-Beaucedine/bcnms/dynamis_beaucedine.lua
22
1241
----------------------------------- -- Area: Dynamis Beaucedine -- Name: Dynamis Beaucedine ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[DynaBeaucedine]UniqueID",player:getDynamisUniqueID(1284)); Set...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Heavens_Tower/Zone.lua
8
2060
----------------------------------- -- -- Zone: Heavens_Tower -- ----------------------------------- local ID = require("scripts/zones/Heavens_Tower/IDs") require("scripts/globals/conquest") require("scripts/globals/missions") ----------------------------------- function onInitialize(zone) zone:registerRegion(1, -...
gpl-3.0
Giorox/AngelionOT-Repo
data/npc/scripts/promotion.lua
4
1524
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg)...
gpl-3.0
Fenix-XI/Fenix
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
DarkstarProject/darkstar
scripts/zones/Spire_of_Dem/bcnms/ancient_flames_beckon.lua
9
2895
----------------------------------- -- Ancient Flames Beckon -- Spire of Dem mission battlefield ----------------------------------- local ID = require("scripts/zones/Spire_of_Dem/IDs") require("scripts/globals/battlefield") require("scripts/globals/teleports") require("scripts/globals/keyitems") require("scripts/globa...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/magic.lua
1
45317
require("scripts/globals/magicburst") require("scripts/globals/status") require("scripts/globals/weather") require("scripts/globals/utils") MMSG_BUFF_FAIL = 75; DIVINE_MAGIC_SKILL = 32; HEALING_MAGIC_SKILL = 33; ENHANCING_MAGIC_SKILL = 34; ENFEEBLING_MAGIC_SKILL = 35; ELEMENTAL_MAGIC_S...
gpl-3.0
crunchuser/prosody-modules
mod_s2s_auth_monkeysphere/mod_s2s_auth_monkeysphere.lua
32
1870
module:set_global(); local http_request = require"socket.http".request; local ltn12 = require"ltn12"; local json = require"util.json"; local json_encode, json_decode = json.encode, json.decode; local gettime = require"socket".gettime; local serialize = require"util.serialization".serialize; local msva_url = assert(os...
mit
Fenix-XI/Fenix
scripts/zones/Port_Jeuno/Zone.lua
26
3735
----------------------------------- -- -- Zone: Port_Jeuno (246) -- ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Port_Jeuno/TextIDs"); ----------------------------------- --...
gpl-3.0
punisherbot/-
plugins/bugzilla.lua
611
3983
do local BASE_URL = "https://bugzilla.mozilla.org/rest/" local function bugzilla_login() local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password print("accessing " .. url) local res,code = https.request( url ) local data = json:decode(res) return data ...
gpl-2.0
eugeneia/snabbswitch
lib/ljsyscall/syscall/openbsd/ioctl.lua
24
3734
-- ioctls, filling in as needed local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string local function init(types) l...
apache-2.0
Fenix-XI/Fenix
scripts/globals/items/scream_fungus.lua
18
1172
----------------------------------------- -- ID: 4447 -- Item: scream_fungus -- Food Effect: 5Min, All Races ----------------------------------------- -- Strength -4 -- Mind 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --------...
gpl-3.0
marcel-sch/luci
modules/luci-base/luasrc/http/protocol.lua
34
15539
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. -- This class contains several functions useful for http message- and content -- decoding and to retrive form data from raw http messages. module("luci.http.protocol", package.seeall) local l...
apache-2.0
Fenix-XI/Fenix
scripts/zones/Yuhtunga_Jungle/npcs/Zorchorevi_RK.lua
13
3332
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Zorchorevi, R.K. -- Outpost Conquest Guards -- @pos -242.487 -1 -402.772 123 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); ...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/abilities/drain_samba_iii.lua
12
1348
----------------------------------- -- Ability: Drain Samba III -- Inflicts the next target you strike with Drain daze, allowing party members engaged in battle with it to drain its HP. -- Obtained: Dancer Level 65 -- TP Required: 40% -- Recast Time: 1:00 -- Duration: 1:30 ----------------------------------- require("s...
gpl-3.0
gvela024/kata
lua/src/sorting/max_heap.lua
1
1692
local heap_util = require 'src/sorting/heap_utilities' return function() local tree = {} return { tree = tree, insert = function(nodes) for _, node in ipairs(nodes) do table.insert(tree, node) local parent_index = math.floor(#tree / 2) local node_index = #tree while ...
mit
Fenix-XI/Fenix
scripts/zones/Dangruf_Wadi/npcs/Grounds_Tome.lua
30
1091
----------------------------------- -- Area: Dangruf Wadi -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,tra...
gpl-3.0
emender/emender
test/TestTearDown.lua
1
1218
-- TestTearDown.lua - Check that docunit core works correctly -- Copyright (C) 2014 Pavel Tisnovsky -- -- This file is part of Emender. -- -- Emender 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; version 3...
gpl-3.0
crunchuser/prosody-modules
mod_sms_clickatell/mod_sms_clickatell.lua
32
21145
-- mod_sms_clickatell -- -- A Prosody module for sending SMS text messages from XMPP using the -- Clickatell gateway's HTTP API -- -- Hacked from mod_twitter by Phil Stewart, March 2011. Anything from -- mod_twitter copyright The Guy Who Wrote mod_twitter. Everything else -- copyright 2011 Phil Stewart. Licensed under ...
mit
Giorox/AngelionOT-Repo
data/npc/scripts/Myra.lua
2
3529
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end funct...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/AlTaieu/npcs/qm3.lua
12
1664
----------------------------------- -- Area: Al'Taieu -- NPC: ??? (Jailer of Prudence Spawn) -- Allows players to spawn the Jailer of Prudence by trading the Third Virtue, Deed of Sensibility, and High-Quality Hpemde Organ to a ???. -- @pos , 706 -1 22 ----------------------------------- package.loaded["scripts/zones...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/AlTaieu/npcs/qm3.lua
12
1362
----------------------------------- -- Area: Al'Taieu -- NPC: ??? (Jailer of Prudence Spawn) -- Allows players to spawn the Jailer of Prudence by trading the Third Virtue, Deed of Sensibility, and High-Quality Hpemde Organ to a ???. -- !pos , 706 -1 22 ----------------------------------- local ID = require("scripts/zo...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/spells/bluemagic/diamondhide.lua
27
1143
----------------------------------------- -- Spell: Diamondhide -- Gives party members within area of effect the effect of "Stoneskin" -- Spell cost: 99 MP -- Monster Type: Beastmen -- Spell Type: Magical (Earth) -- Blue Magic Points: 3 -- Stat Bonus: VIT+1 -- Level: 67 -- Casting Time: 7 seconds -- Recast Time: 1 minu...
gpl-3.0
tcatm/luci
applications/luci-app-vnstat/luasrc/model/cbi/vnstat.lua
78
1816
-- Copyright 2010-2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local utl = require "luci.util" local sys = require "luci.sys" local fs = require "nixio.fs" local nw = require "luci.model.network" local dbdir, line for line in io.lines("/etc/vnstat.conf") do dbdir ...
apache-2.0
maikerumine/extreme_survival_mini
mods/es/mapgen-v7es_custom.lua
1
35554
-- -- Aliases for map generator outputs -- minetest.register_alias("mapgen_stone", "default:stone") minetest.register_alias("mapgen_dirt", "default:dirt") minetest.register_alias("mapgen_dirt_with_grass", "default:dirt_with_grass") minetest.register_alias("mapgen_sand", "default:sand") minetest.register_alias("mapgen_...
lgpl-2.1
Fenix-XI/Fenix
scripts/zones/Cape_Teriggan/mobs/Tegmine.lua
7
1875
---------------------------------- -- Area: Cape Teriggan -- NM: Tegmine ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- ----------------------------------- -- onMobInitialize ----------------------------------- function o...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Balgas_Dais/bcnms/royal_succession.lua
9
1063
----------------------------------- -- Royal Succession -- Balga's Dais BCNM40, Star Orb -- !additem 1131 ----------------------------------- require("scripts/globals/battlefield") ----------------------------------- function onBattlefieldInitialise(battlefield) battlefield:setLocalVar("loot", 1) end function onB...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Kazham/npcs/Tatapp.lua
13
11542
----------------------------------- -- Area: Kazham -- NPC: Tatapp -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); require("scripts/globals/pathfind"); local path = { 15.005042, -8.000000, -104.349953, 14.69414...
gpl-3.0
ld-test/versium
lua/versium/util.lua
2
5411
----------------------------------------------------------------------------- -- Provides some utility functions for use by versium and its clients. -- -- (c) 2007, 2008 Yuri Takhteyev (yuri@freewisdom.org) -- (c) 2007 Hisham Muhammad (quick_LCS()) -- License: MIT/X, see http://sputnik.freewisdom.org/en/License ------...
mit
Fenix-XI/Fenix
scripts/globals/spells/aspir.lua
21
1592
----------------------------------------- -- Spell: Aspir -- Drain functions only on skill level!! ----------------------------------------- require("scripts/globals/magic"); require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function...
gpl-3.0
eugeneia/snabbswitch
lib/pflua/src/pf/bpf.lua
11
15210
module(...,package.seeall) local ffi = require("ffi") local bit = require("bit") local band = bit.band local verbose = os.getenv("PF_VERBOSE"); local function BPF_CLASS(code) return band(code, 0x07) end local BPF_LD = 0x00 local BPF_LDX = 0x01 local BPF_ST = 0x02 local BPF_STX = 0x03 local BPF_ALU = 0x04 loca...
apache-2.0
Fenix-XI/Fenix
scripts/globals/weaponskills/leg_sweep.lua
10
1540
----------------------------------- -- Leg Sweep -- Polearm weapon skill -- Skill Level: 100 -- Stuns enemy. Chance of stunning varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Thunder Gorget. -- Aligned with the Thunder Belt. -- Element: None -- Modifiers: STR:30% -- 100%TP 200%TP 300%TP -- 1...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Bastok_Mines/npcs/Titus.lua
12
1194
----------------------------------- -- Area: Bastok Mines -- NPC: Titus -- Alchemy Synthesis Image Support ----------------------------------- require("scripts/globals/status"); require("scripts/globals/crafting"); local ID = require("scripts/zones/Bastok_Mines/IDs"); ----------------------------------- function onTr...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/slice_of_hare_meat.lua
18
1334
----------------------------------------- -- ID: 4358 -- Hare Meat -- 5 Minutes, food effect, Galka Only ----------------------------------------- -- Strength +1 -- Intelligence -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- ...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Bastok_Markets/npcs/Arawn.lua
25
2553
----------------------------------- -- Area: Bastok Markets -- NPC: Arawn -- Starts & Finishes Quest: Stamp Hunt -- @pos -121.492 -4.000 -123.923 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings")...
gpl-3.0
Pwootage/oc-apis
components/vanilla/note_block.lua
1
1068
-- Auto-generated bindings for component 'note_block' note_block = {} note_block.type = "note_block" note_block.address = "00000000-0000-0000-0000-000000000000" note_block.slot = 0 --- -- Set the pitch for this note block. Must be in the interval [1, 25]. -- Returns -- @param value number -- @return function not...
mit
Fenix-XI/Fenix
scripts/zones/Open_sea_route_to_Mhaura/Zone.lua
13
1464
----------------------------------- -- -- Zone: Open_sea_route_to_Mhaura (47) -- ----------------------------------- package.loaded["scripts/zones/Open_sea_route_to_Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Open_sea_route_to_Mhaura/TextIDs"); --------------------------------...
gpl-3.0
8devices/carambola2-luci
applications/luci-statistics/luasrc/statistics/i18n.lua
69
2405
--[[ Luci statistics - diagram i18n helper (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> 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/licen...
apache-2.0
Whit3Tig3R/botontelegram
plugins/plugins.lua
88
6304
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists( ...
gpl-2.0
ungarscool1/HL2RP
hl2rp/gamemode/cl_init.lua
1
1384
hook.Run("DarkRPStartedLoading") GM.Version = "1.0" GM.Name = "HL2RP" GM.Author = "Ungarscool1 and darkrp" DeriveGamemode("sandbox") local function LoadModules() local root = GM.FolderName .. "/gamemode/modules/" local _, folders = file.Find(root .. "*", "LUA") for _, folder in SortedPairs(folders, true)...
agpl-3.0
Unit158/OpenRA
mods/ra/maps/survival01/survival01.lua
4
14184
Difficulty = Map.Difficulty if Difficulty == "Easy" then AttackAtFrameIncrement = DateTime.Seconds(22) AttackAtFrameIncrementInf = DateTime.Seconds(16) TimerTicks = DateTime.Minutes(15) IncrementTurningPoint = TimerTicks / 2 DamageModifier = 0.5 LongBowReinforcements = { "heli", "heli" } ParadropArtillery = tru...
gpl-3.0
Benyaminat/black-wolf
plugins/inrealm.lua
850
25085
-- 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
8devices/carambola2-luci
modules/base/luasrc/http/protocol.lua
55
18445
--[[ HTTP protocol implementation for LuCI (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> 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/licen...
apache-2.0
Fenix-XI/Fenix
scripts/globals/items/choco-katana.lua
18
1183
----------------------------------------- -- ID: 5918 -- Item: Choco-katana -- Food Effect: 3 Min, All Races ----------------------------------------- -- Agility 1 -- Speed 12.5% ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0