repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
lichtl/darkstar | scripts/globals/mobskills/Polar_Bulwark.lua | 27 | 1037 | ---------------------------------------------
-- Polar Bulwark
--
-- Description: Grants a Magic Shield effect for a time.
-- Type: Enhancing
--
-- Range: Self
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmo... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Kuftal_Tunnel/npcs/qm2.lua | 14 | 1125 | -----------------------------------
-- Area: Kuftal Tunnel
-- NPC: ??? (qm2)
-- Note: Used to spawn Cancer & Bastok mission 8-2
-- @pos -25.238 -12.785 -148.393 174
-----------------------------------
package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/zon... | gpl-3.0 |
scscgit/scsc_wildstar_addons | BetterPartyFrames/BetterPartyFrames.lua | 1 | 121650 | -----------------------------------------------------------------------------------------------
-- Client Lua Script for GroupDisplayOptions
-- Copyright (c) NCsoft. All rights reserved
-----------------------------------------------------------------------------------------------
require "Window"
require "Unit"
requi... | mit |
lichtl/darkstar | scripts/globals/effects/vit_down.lua | 34 | 1112 | -----------------------------------
--
-- EFFECT_VIT_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if ((target:getStat(MOD_VIT) - effect:ge... | gpl-3.0 |
sdkbox/sdkbox-facebook-sample-v2 | samples/Lua/TestLua/Resources/luaScript/CocosDenshionTest/CocosDenshionTest.lua | 5 | 6148 | require "AudioEngine"
local EFFECT_FILE = "effect1.wav"
local targetPlatform = CCApplication:sharedApplication():getTargetPlatform()
local MUSIC_FILE = nil
if (kTargetBlackBerry == targetPlatform) then
MUSIC_FILE = "background.ogg"
elseif (kTargetWinRT == targetPlatform) then
MUSIC_FILE = "background.wav"
else
MUS... | mit |
OctoEnigma/shiny-octo-system | lua/weapons/weapon_flechettegun.lua | 1 | 1555 |
if ( !IsMounted( "ep2" ) ) then return end
AddCSLuaFile()
SWEP.PrintName = "Flechette Gun"
SWEP.Author = "garry"
SWEP.Purpose = "Shoot flechettes with primary attack."
SWEP.Slot = 1
SWEP.SlotPos = 2
SWEP.Spawnable = true
SWEP.ViewModel = Model( "models/weapons/c_smg1.mdl" )
SWEP.WorldModel = Model( "models/weapon... | mit |
YuanPeir-Chen/turbo-support-mipsel | turbovisor.lua | 11 | 4904 | --- Turbo.lua Turbovisor, auto-reload of application on file changes.
--
-- Copyright 2013 John Abrahamsen, Deyuan Deng
--
-- 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.ap... | apache-2.0 |
sjznxd/lc-20130222 | protocols/ppp/luasrc/model/cbi/admin_network/proto_ppp.lua | 24 | 3761 | --[[
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... | apache-2.0 |
lichtl/darkstar | scripts/globals/items/serving_of_yellow_curry.lua | 18 | 2055 | -----------------------------------------
-- ID: 4517
-- Item: serving_of_yellow_curry
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Health Points 20
-- Strength 5
-- Agility 2
-- Intelligence -4
-- HP Recovered While Healing 2
-- MP Recovered While Healing 1
-- Attack 20% (caps @ 75)
... | gpl-3.0 |
lichtl/darkstar | scripts/zones/AlTaieu/npcs/_0x3.lua | 14 | 1936 | -----------------------------------
-- Area: Al'Taieu
-- NPC: Rubious Crystal (East Tower)
-- @pos 683.718 -6.250 -222.167 33
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/zone... | gpl-3.0 |
sachsmc/knit-git-markr-guide | ioslides_presentation.lua | 1 | 11586 | local fig_caption = false
local incremental = false
local base64_images = false
local smaller = false
local smart = true
local mathjax = true
-- Table to store footnotes, so they can be included at the end.
local notes = {}
-- Rendering state
local in_slide = false
local build_slide = false
local in_notes = false
--... | mit |
OctoEnigma/shiny-octo-system | gamemodes/terrortown/gamemode/cl_scoring_events.lua | 1 | 7445 | ---- Event display information for Event Log in the Round Report
---- Usage:
-- Declare a *unique* event identifier in a shared file, eg.
-- EVENT_PANTS = 800
--
-- Use SCORE:AddEvent serverside in whatever way you want.
--
-- Clientside, tell CLSCORE how to display it, like so:
--
-- CLSCORE.DeclareEventDisplay(EVENT... | mit |
RunAwayDSP/darkstar | scripts/zones/AlTaieu/Zone.lua | 9 | 1455 | -----------------------------------
--
-- Zone: AlTaieu (33)
--
-----------------------------------
require("scripts/globals/settings");
local ID = require("scripts/zones/AlTaieu/IDs");
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/globals/missions");
-------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/globals/weaponskills/spirits_within.lua | 5 | 2355 | -----------------------------------
-- Spirits Within
-- Sword weapon skill
-- Spirits Within Sword Weapon Skill
-- TrolandAdded by Troland
-- Skill Level: 175
-- Delivers an unavoidable attack. Damage varies with HP and TP.
-- Not aligned with any "elemental gorgets" or "elemental belts" due to it's absence of Skillch... | gpl-3.0 |
godfryd/blobby | data/scripts/old/gintonicV7.lua | 4 | 8032 | --Gin Tonic v7 - No Comments, sorry :P
CT_ServeSelf = { 152, 163, 180, 195, 205, 240 }
CT_ServeOpp = { 140, 200, 240 }
CT_ServeIndex = 0
CT_Tolerance = 5
CT_Action = ""
CT_ShotDecision = 0
CT_NextGround = 9999
CT_LastTouches = 0
CT_LastHeight = 0
CT_WaitCounter = 0
CT_WaitName = ""
CT_WaitMoveTo = 0
function IsAt(po... | gpl-2.0 |
RunAwayDSP/darkstar | scripts/globals/mobskills/poison_sting.lua | 11 | 1028 | ---------------------------------------------------
-- Poison Sting
-- Deals Water damage to targets in a fan-shaped area of effect. Additional effect: Poison
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmove... | gpl-3.0 |
lichtl/darkstar | scripts/globals/spells/diaga_ii.lua | 26 | 1930 | -----------------------------------------
-- Spell: Diaga II
-- Lowers an enemy's defense and gradually deals light elemental damage.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
------------------------------------... | gpl-3.0 |
OctoEnigma/shiny-octo-system | addons/advdupe2-master/lua/autorun/server/advdupe2_sv_init.lua | 1 | 5930 | AdvDupe2 = {
Version = "1.1.0",
Revision = 51
}
AdvDupe2.DataFolder = "advdupe2" --name of the folder in data where dupes will be saved
AdvDupe2.FileRenameTryLimit = 256
include "advdupe2/sv_clipboard.lua"
include "advdupe2/sh_codec.lua"
include "advdupe2/sv_file.lua"
include "advdupe2/sv_networking.lua"
include "... | mit |
Robolopes/RecycleRush | Team973/team-973-public/simulator/TSerial.lua | 1 | 1188 | -- TSerial v1.21, a simple table serializer which turns tables into Lua script
-- by Taehl (SelfMadeSpirit@gmail.com)
-- Usage: table = TSerial.unpack( TSerial.pack(table) )
TSerial = {}
function TSerial.pack(t)
assert(type(t) == "table", "Can only TSerial.pack tables.")
local s = "{"
for k, v in pairs(t) do
loca... | apache-2.0 |
kwketh/otclient | modules/game_battle/battle.lua | 1 | 16498 | battleWindow = nil
battleButton = nil
battlePanel = nil
filterPanel = nil
toggleFilterButton = nil
lastBattleButtonSwitched = nil
battleButtonsByCreaturesList = {}
creatureAgeList = {}
mouseWidget = nil
sortTypeBox = nil
sortOrderBox = nil
hidePlayersButton = nil
hideNPCsButton = nil
hideMonstersButton = nil
hideSkul... | mit |
lichtl/darkstar | scripts/zones/Meriphataud_Mountains_[S]/npcs/Telepoint.lua | 17 | 1285 | -----------------------------------
-- Area: Meriphataud Mountains [S]
-- NPC: Telepoint
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Meriphataud_Mountains_[... | gpl-3.0 |
omid1212/avint | plugins/anti-flood.lua | 3 | 2483 | local NUM_MSG_MAX = 6 -- Max number of messages per TIME_CHECK seconds
local TIME_CHECK = 4
local function kick_user(user_id, chat_id)
local chat = 'chat#id'..chat_id
local user = 'user#id'..user_id
chat_del_user(chat, user, function (data, success, result)
if success ~= 1 then
local text = 'I can\'t k... | gpl-2.0 |
lichtl/darkstar | scripts/zones/PsoXja/Zone.lua | 28 | 5064 | -----------------------------------
--
-- Zone: PsoXja (9)
--
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/zones/PsoXja/TextIDs");
require("scripts/g... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Gusgen_Mines/npcs/_5g5.lua | 14 | 1105 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5g5 (Door D)
-- @pos -4.001 -22.4 174.498 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
-------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Windurst_Walls/npcs/Moan-Maon.lua | 14 | 1461 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Moan-Maon
-- Type: Standard NPC
-- @pos 88.244 -6.32 148.912 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scri... | gpl-3.0 |
scscgit/scsc_wildstar_addons | happygardner/HappyGardner.lua | 2 | 13125 | -----------------------------------------------------------------------------------------------
-- Client Lua Script for HappyGardner
-- Copyright (c) NCsoft. All rights reserved
-----------------------------------------------------------------------------------------------
require "Window"
--------------------------... | mit |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/modules/animations/sh_animations.lua | 2 | 6621 | local Anims = {}
-- Load animations after the languages for translation purposes
hook.Add("loadCustomDarkRPItems", "loadAnimations", function()
Anims[ACT_GMOD_GESTURE_BOW] = DarkRP.getPhrase("bow")
Anims[ACT_GMOD_TAUNT_MUSCLE] = DarkRP.getPhrase("sexy_dance")
Anims[ACT_GMOD_GESTURE_BECON] = DarkRP.getPhras... | mit |
lichtl/darkstar | scripts/zones/Al_Zahbi/npcs/Dahaeel.lua | 14 | 1038 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Dahaeel
-- Type: Standard NPC
-- @zone 48
-- @pos -58.732 -6.999 68.096
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
--------------------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/mobskills/equalizer.lua | 11 | 1208 | ---------------------------------------------------
-- Equalizer
-- AoE damage (~600-800),
--
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmoves")
---------------------------------------------------
function... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/terrortown/gamemode/lang/tradchinese.lua | 1 | 41014 | ---- Traditional Chinese language strings
local L = LANG.CreateLanguage("正體中文 ")
--- General text used in various places
L.traitor = "叛徒 "
L.detective = "探長 "
L.innocent = "無辜者 "
L.last_words = "遺言 "
L.terrorists = "恐怖分子 "
L.spectators = "旁觀者 "
--- Round status messages
L.round_minplayers = "沒有足夠的玩家來開始新的回合… "... | mit |
sjznxd/lc-20130222 | applications/luci-diag-devinfo/luasrc/controller/luci_diag/smap_common.lua | 76 | 3395 | --[[
Luci diag - Diagnostics controller module
(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
]]--
module("luci.cont... | apache-2.0 |
OctoEnigma/shiny-octo-system | gamemodes/terrortown/entities/entities/info_manipulate.lua | 3 | 1537 | -- Dummy entity to convert ZM info_manipulate traps to TTT ones
ENT.Type = "point"
ENT.Base = "base_point"
function ENT:Think()
if not self.Replaced then
self:CreateReplacement()
self:Remove()
end
end
function ENT:KeyValue(key, value)
if key == "OnPressed" then
-- store raw, will be feedi... | mit |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/modules/fadmin/fadmin/changelevel/cl_init.lua | 8 | 1445 | local mapList = {}
local gamemodeList = {}
net.Receive("FAdmin_ChangelevelInfo", function(len)
mapList = {}
local mapLen = net.ReadUInt(16)
for i = 1, mapLen, 1 do
local cat = net.ReadString()
mapList[cat] = {}
local catLen = net.ReadUInt(16)
for j = 1, catLen, 1 do
... | mit |
RunAwayDSP/darkstar | scripts/globals/items/jack-o-pie.lua | 11 | 1029 | -----------------------------------------
-- ID: 5644
-- Item: jack-o-pie
-- Food Effect: 1hour, All Races
-----------------------------------------
-- MP 45
-- CHR -1
-- Intelligence 4
-- hMP +1
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Lower_Jeuno/npcs/Vhana_Ehgaklywha.lua | 7 | 3565 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Vhana Ehgaklywha
-- Standard Info NPC
-- @pos -122.853 0.000 -195.605
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
package.loaded["scripts/globals/pathfind"] ... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Apollyon/mobs/Gorynich.lua | 17 | 1531 | -----------------------------------
-- Area: Apollyon NW
-- NPC: Kaiser Behemoth
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
-- onMobSpawn Action
-------... | gpl-3.0 |
sjznxd/lc-20130222 | applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua | 147 | 5025 | require("luci.tools.webadmin")
m = Map("multiwan", translate("Multi-WAN"),
translate("Multi-WAN allows for the use of multiple uplinks for load balancing and failover."))
s = m:section(NamedSection, "config", "multiwan", "")
e = s:option(Flag, "enabled", translate("Enable"))
e.rmempty = false
e.default = e.enabled
... | apache-2.0 |
lichtl/darkstar | scripts/globals/spells/bluemagic/healing_breeze.lua | 27 | 1754 | -----------------------------------------
-- Spell: Healing Breeze
-- Restores HP for party members within area of effect
-- Spell cost: 55 MP
-- Monster Type: Beasts
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 4
-- Stat Bonus: CHR+2, HP+10
-- Level: 16
-- Casting Time: 4.5 seconds
-- Recast Time: 15 seconds
--... | gpl-3.0 |
Grocel/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 |
lichtl/darkstar | scripts/zones/Ship_bound_for_Mhaura/Zone.lua | 17 | 1475 | -----------------------------------
--
-- Zone: Ship_bound_for_Mhaura (221)
--
-----------------------------------
package.loaded["scripts/zones/Ship_bound_for_Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Ship_bound_for_Mhaura/TextIDs");
---... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Port_San_dOria/npcs/Arminibit.lua | 9 | 1146 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Arminibit
-- Standard Info NPC
-----------------------------------
local ID = require("scripts/zones/Port_San_dOria/IDs");
require("scripts/globals/quests");
-----------------------------------
function onTrade(player,npc,trade)
-- "Flyers for R... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/weaponskills/slice.lua | 10 | 1695 | -----------------------------------
-- Slice
-- Scythe weapon skill
-- Skill level: 5
-- Delivers a single-hit attack. Damage varies with TP.
-- Modifiers: STR:100%
-- 100%TP 200%TP 300%TP
-- 1.50 1.75 2.00
-----------------------------------
require("scripts/globals/status")
require("scripts/globals/set... | gpl-3.0 |
lichtl/darkstar | scripts/zones/La_Theine_Plateau/npcs/Yaucevouchat.lua | 14 | 1630 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Yaucevouchat
-- Involved in Mission: The Rescue Drill
-- @pos -318 39 183 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/mission... | gpl-3.0 |
meepdarknessmeep/hash.js | plugins/lua/env.lua | 2 | 3075 | --
-- Returns a copy of a table with all current members read-only
-- If target is defined, the returned result will be equal to target
--
local function ProtectTable( tab, target, fakefunction )
fakefunction = fakefunction or {}
local index = {}
local ret = target or {}
--
-- Copy new variables in to our table... | cc0-1.0 |
weolar/miniblink49 | v8_5_1/tools/gcmole/gcmole.lua | 6 | 13899 | -- Copyright 2011 the V8 project authors. All rights reserved.
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are
-- met:
--
-- * Redistributions of source code must retain the above copyright
-- notice, this list of ... | apache-2.0 |
RunAwayDSP/darkstar | scripts/zones/Temenos/npcs/Particle_Gate.lua | 10 | 3409 | -----------------------------------
-- Area: Temenos
-- NPC: Particle_Gate
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
--... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/modules/afk/sv_afk.lua | 3 | 4364 | -- How to use:
-- If a player uses /afk, they go into AFK mode, they will not be autodemoted and their salary is set to $0 (you can still be killed/vote demoted though!).
-- If a player does not use /afk, and they don't do anything for the demote time specified, they will be automatically demoted to hobo.
local functi... | mit |
sdkbox/sdkbox-facebook-sample-v2 | samples/Lua/TestLua/Resources/luaScript/MenuTest/MenuTest.lua | 7 | 21353 | local kTagMenu = 1
local kTagMenu0 = 0
local kTagMenu1 = 1
local MID_CALLBACK = 1000
local MID_CALLBACK2 = 1001
local MID_DISABLED = 1002
local MID_ENABLE = 1003
local MID_CONFIG = 1004
local MID_QUIT = 1005
local MID_OPACITY = 1006
local MID_ALIGN = 1007
local MID_C... | mit |
RunAwayDSP/darkstar | scripts/zones/Bastok_Markets/npcs/Aquillina.lua | 9 | 1489 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Aquillina
-- Starts & Finishes Repeatable Quest: A Flash In The Pan
-- Note: Reapeatable every 15 minutes.
-- !pos -97 -5 -81 235
-----------------------------------
require("scripts/globals/npc_util");
require("scripts/globals/quests");
function onTr... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Lower_Jeuno/npcs/Kurou-Morou.lua | 25 | 5570 | -----------------------------------
-- Area: Lower Jeuno
-- Starts and Finishes Quest: Your Crystal Ball & Never to return
-- @pos -4 -6 -28 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require... | gpl-3.0 |
sjznxd/lc-20130222 | modules/freifunk/luasrc/controller/freifunk/freifunk.lua | 2 | 6661 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
mod... | apache-2.0 |
pnorman/ClearTables | test-transit.lua | 2 | 2495 | --[[
This file is part of ClearTables
@author Paul Norman <penorman@mac.com>
@copyright 2017 Paul Norman, MIT license
]]--
require "transit"
print("transit.lua tests")
print("TESTING: accept_transit")
assert(not accept_transit({}), "test failed: untagged")
assert(not accept_transit({foo="bar"}), "test failed: other ... | mit |
OctoEnigma/shiny-octo-system | gamemodes/terrortown/gamemode/cl_search.lua | 1 | 14002 | -- Body search popup
local T = LANG.GetTranslation
local PT = LANG.GetParamTranslation
local is_dmg = util.BitSet
local dtt = { search_dmg_crush = DMG_CRUSH, search_dmg_bullet = DMG_BULLET, search_dmg_fall = DMG_FALL,
search_dmg_boom = DMG_BLAST, search_dmg_club = DMG_CLUB, search_dmg_drown = DMG_DROWN, search_dmg_... | mit |
MightyPirates/OC-LuaJ | luaj-test/src/test/resources/errors/baselibargs.lua | 1 | 4627 | package.path = "?.lua;test/lua/errors/?.lua"
require 'args'
-- arg types for basic library functions
-- assert
banner('assert')
checkallpass('assert',{{true,123},anylua})
checkallerrors('assert',{{nil,false,n=2},{nil,n=1}},'assertion failed')
checkallerrors('assert',{{nil,false,n=2},{'message'}},'message')
-- collec... | mit |
RunAwayDSP/darkstar | scripts/zones/Uleguerand_Range/IDs.lua | 6 | 2138 | -----------------------------------
-- Area: Uleguerand_Range
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.ULEGUERAND_RANGE] =
{
text =
{
NOTHING_HAPPENS = 119, -- Nothing happens...
ITEM_CAN... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Kazham/npcs/Gatih_Mijurabi.lua | 14 | 1875 | -----------------------------------
-- Area: Kazham
-- NPC: Gatih Mijurabi
-- Type: Standard NPC
-- @zone 250
-- @pos 58.249 -13.086 -49.084
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
---------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Quicksand_Caves/npcs/qm6.lua | 27 | 2110 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: ??? (qm6)
-- Bastok Mission 8.1 "The Chains That Bind Us"
-- @pos
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
lichtl/darkstar | scripts/globals/effects/dex_down.lua | 34 | 1107 | -----------------------------------
--
-- EFFECT_DEX_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if ((target:getStat(MOD_DEX) - effect:ge... | gpl-3.0 |
cracker1375/mr-Error | plugins/groupmanager.lua | 4 | 10852 | do
local function silent_by_reply(extra, success, result)
vardump(result)
if result.to.peer_type == 'channel' then
local chat = 'channel#id'..result.to.peer_id
if tonumber(result.from.peer_id) == tonumber(our_id) then -- Ignore bot
return "I won't silent myself"
end
send_large_msg(chat, "User... | gpl-2.0 |
lichtl/darkstar | scripts/globals/items/cherry_muffin_+1.lua | 18 | 1296 | -----------------------------------------
-- ID: 5654
-- Item: Cherry Muffin
-- Food Effect: 1Hr, All Races
-----------------------------------------
-- Intelligence 2
-- MP % 10 (cap 85)
-- Agility -1
-----------------------------------------
require("scripts/globals/status");
---------------------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/globals/abilities/equanimity.lua | 26 | 1140 | -----------------------------------
-- Ability: Equanimity
-- Your next black magic spell will generate less enmity.
-- Obtained: Scholar Level 75
-- Recast Time: Stratagem Charge
-- Duration: 1 black magic spell or 60 seconds, whichever occurs first
--
-- Level |Charges |Recharge Time per Charge
-- ----- -------- ... | gpl-3.0 |
scscgit/scsc_wildstar_addons | DungeonMedalsEnhanced/DungeonMedalsEnhanced.lua | 1 | 12898 | -----------------------------------------------------------------------------------------------
-- Client Lua Script for Protogames
-- Copyright (c) NCsoft. All rights reserved
-----------------------------------------------------------------------------------------------
require "Apollo"
require "Sound"
require "GameL... | mit |
lichtl/darkstar | scripts/zones/Abyssea-Grauberg/npcs/qm18.lua | 14 | 1424 | -----------------------------------
-- Zone: Abyssea-Grauberg
-- NPC: qm18 (???)
-- Spawns Amphitrite
-- @pos ? ? ? 254
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
----------------------------------... | gpl-3.0 |
OctoEnigma/shiny-octo-system | addons/darkrpmodification-master/lua/darkrp_language/sh_russian.lua | 1 | 33312 | --[[---------------------------------------------------------------------------
Файл русского языка
---------------------------------------------------------------------------
Не трогайте фразы находящиеся слева от знака равенства, для перевода какой-то фразы нужно заменить текст находящийся в кавычках справа от знака ... | mit |
lichtl/darkstar | scripts/commands/givexp.lua | 13 | 1180 | ---------------------------------------------------------------------------------------------------
-- func: givexp <amount> <player>
-- desc: Gives the GM or target player experience points.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/spells/bluemagic/magic_hammer.lua | 12 | 2243 | -----------------------------------------
-- Spell: Magic Hammer
-- Steals an amount of enemy's MP equal to damage dealt. Ineffective against undead
-- Spell cost: 40 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Light)
-- Blue Magic Points: 4
-- Stat Bonus: MP-5, MND+2
-- Level: 74
-- Casting Time: 4 seconds
--... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Mog_Garden/npcs/Porter_Moogle.lua | 14 | 1523 | -----------------------------------
-- Area: Mog Garden
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 280
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Mog_Garden/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mog_Garden/TextIDs");
requi... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Chamber_of_Oracles/npcs/Shimmering_Circle.lua | 14 | 1793 | -----------------------------------
-- Area: Chamber of Oracles
-- NPC: Shimmering Circle
-- @pos -220 0 12 168
-------------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missio... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Metalworks/npcs/Chantain.lua | 14 | 1062 | -----------------------------------
-- Area: Metalworks
-- NPC: Chantain
-- Type: Consulate Representative
-- @zone 237
-- @pos 21.729 -17 -30.888
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("sc... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Windurst_Woods/npcs/Varun.lua | 13 | 2386 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Varun
-- Type: Standard NPC
-- @zone 241
-- @pos 7.800 -3.5 -10.064
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zone... | gpl-3.0 |
lichtl/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/_0zv.lua | 30 | 1106 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- NPC: particle gate
-----------------------------------
require("scripts/globals/keyitems");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
---------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Lower_Jeuno/npcs/Saprut.lua | 17 | 1384 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Saprut
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Lower_Jeuno/TextIDs");
require("scripts/globals/quests");
-------------... | gpl-3.0 |
appwilldev/moochine | luasrc/mch/util.lua | 2 | 5154 | #!/usr/bin/env lua
-- -*- lua -*-
-- Copyright 2012 Appwill Inc.
-- Author : KDr2
--
--
-- 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
-... | apache-2.0 |
NiLuJe/koreader | frontend/ui/widget/toggleswitch.lua | 4 | 8695 | --[[--
Displays a button that toggles between states. Used in bottom configuration panel.
@usage
local ToggleSwitch = require("ui/widget/toggleswitch")
]]
local BD = require("ui/bidi")
local Blitbuffer = require("ffi/blitbuffer")
local CenterContainer = require("ui/widget/container/centercontainer")
local Device ... | agpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Northern_San_dOria/npcs/Morjean.lua | 9 | 1198 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Morjean
-- Involved in Quest: A Squire's Test II (Optional), The Holy Crest
-- !pos 99 0 116 231
-------------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
-----------------------------------
fu... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/terrortown/entities/entities/ttt_physhammer.lua | 2 | 4577 |
AddCSLuaFile()
ENT.Type = "anim"
ENT.Model = Model("models/Items/combine_rifle_ammo01.mdl")
ENT.Stuck = false
ENT.Weaponised = false
ENT.PunchMax = 6
ENT.PunchRemaining = 6
function ENT:Initialize()
self:SetModel(self.Model)
self:SetSolid(SOLID_NONE)
if SERVER then
self:SetGravity(0.4)
self... | mit |
RunAwayDSP/darkstar | scripts/globals/weaponskills/uriel_blade.lua | 10 | 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 |
RunAwayDSP/darkstar | scripts/globals/items/galkan_sausage_+3.lua | 11 | 1056 | -----------------------------------------
-- ID: 5861
-- Item: galkan_sausage_+3
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 6
-- Intelligence -7
-- Attack 12
-- Ranged Attack 12
-----------------------------------------
require("scripts/globals/status")
require("scripts/globa... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/_4fx.lua | 13 | 2042 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Granite Door
-- @pos 340 0.1 329 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/keyitem... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/calico_comet.lua | 18 | 1332 | -----------------------------------------
-- ID: 5715
-- Item: Calico Comet
-- Food Effect: 5 Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
lichtl/darkstar | scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_GK.lua | 23 | 1469 | -----------------------------------
-- Area: LaLoff Amphitheater
-- MOB: Ark Angel GK
-----------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
require("scripts/globals/status");
----... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/sandbox/entities/effects/propspawn.lua | 1 | 3212 |
local cl_drawspawneffect = CreateConVar( "cl_drawspawneffect", "1", { FCVAR_ARCHIVE } )
local matRefract = Material( "models/spawn_effect" )
local matLight = Material( "models/spawn_effect2" )
function EFFECT:Init( data )
if ( !cl_drawspawneffect:GetBool() ) then return end
-- This is how long the spawn effect
... | mit |
stdavids/PSP-Lua-Handgun | declarations.lua | 1 | 1380 | --==Declarations==--
cross = {}
man = {}
arm = {}
bullet = {}
color = {}
--==Colors==--
color.white = Color.new(255,255,255,255)
color.black = Color.new(0,0,0,255)
--==Locational Ints==--
cross.x = 10
cross.y = 10
man.x = 10
man.y = 197
arm.x = man.x-65
arm.y = man.y+40
bullet.x = 0
bullet.y = 0
bullet.endx = 0
bu... | gpl-2.0 |
hsmaniee/narsisbaby | lang/arabic_lang.lua | 28 | 23302 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
NiLuJe/koreader | frontend/device/generic/powerd.lua | 4 | 10634 | local UIManager -- will be updated when available
local Math = require("optmath")
local logger = require("logger")
local time = require("ui/time")
local BasePowerD = {
fl_min = 0, -- min frontlight intensity
fl_max = 10, -- max frontlight intensity
fl_intensity = n... | agpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/abilities/jump.lua | 10 | 2284 | -----------------------------------
-- Ability: Jump
-- Delivers a short jumping attack on a targeted enemy.
-- Obtained: Dragoon Level 10
-- Recast Time: 1:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/weaponskills")
require("scripts/globals/settings")
require("scripts/globals/st... | gpl-3.0 |
OctoEnigma/shiny-octo-system | addons/Ban Message/lua/autorun/config_banmsg.lua | 1 | 2322 | if !CustomBanMsg then CustomBanMsg = {} end
--[[ Settings ]]--
CustomBanMsg.NotifyAll = true --If this is true, when a banned person tries joining, everyone will be notified in chat
CustomBanMsg.NotifyOnlyAdmins = false -- If this is true, then it will only notify admins, if ULX or Evolve is enabled then anyone with... | mit |
amin1717/RivasBot | plugins/invite.lua | 1111 | 1195 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
lichtl/darkstar | scripts/zones/Upper_Jeuno/npcs/Hinda.lua | 17 | 1375 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Hinda
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Upper_Jeuno/TextIDs");
require("scripts/globals/quests");
--------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/items/maringna.lua | 11 | 1035 | -----------------------------------------
-- ID: 5888
-- Item: maringna
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP +9% (cap 160)
-- Increases rate of combat skill gains by 80%
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/garlic_cracker.lua | 18 | 1324 | -----------------------------------------
-- ID: 4467
-- Item: garlic_cracker
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Magic Regen While Healing 6
-- Undead Killer 5
-- Blind Resist 5
-----------------------------------------
require("scripts/globals/status");
---------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Windurst_Waters/npcs/Funpo-Shipo.lua | 14 | 1467 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Funpo-Shipo
-- Type: Standard NPC
-- @pos -44.091 -4.499 41.728 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require(... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/dhalmel_pie_+1.lua | 18 | 1885 | -----------------------------------------
-- ID: 4322
-- Item: dhalmel_pie_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 25
-- Strength 4
-- Agility 2
-- Vitality 1
-- Intelligence -2
-- Mind 1
-- Attack % 25
-- Attack Cap 50
-- Ranged ATT % 25
-- Ranged ATT Cap 50
------------... | gpl-3.0 |
OctoEnigma/shiny-octo-system | addons/ulx/lua/ulx/xgui/server/sv_groups.lua | 1 | 12283 | --sv_groups -- by Stickly Man!
--Server-side code related to the groups menu.
local groups = {}
function groups.init()
ULib.ucl.registerAccess( "xgui_managegroups", "superadmin", "Allows managing of groups, users, and access strings via the groups tab in XGUI.", "XGUI" )
xgui.addDataType( "playermodels", player_man... | mit |
lichtl/darkstar | scripts/zones/Southern_San_dOria/npcs/Diary.lua | 14 | 2170 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Diary
-- Involved in Quest: To Cure a Cough
-- @zone 230
-- @pos -75 -12 65
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
lichtl/darkstar | scripts/globals/mobskills/Venom_Spray.lua | 36 | 1044 | ---------------------------------------------
-- Venom
--
-- Description: Deals damage in a fan shaped area. Additional effect: poison
-- Type: Magical Water
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: 10' cone
-- Notes: Additional effect can be removed with Poisona.
--------------------------------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Arrapago_Remnants/npcs/Armoury_Crate.lua | 11 | 1092 | -----------------------------------
-- Area: Arrapago Remnants
-- NPC: Armoury Crate (Arrapago)
-----------------------------------
require("scripts/globals/status")
-----------------------------------
function onTrigger(player, npc)
local instance = npc:getInstance()
local npc = npc:getID()
local FIRST = ... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/jack-o-pie.lua | 18 | 1257 | -----------------------------------------
-- ID: 5644
-- Item: jack-o-pie
-- Food Effect: 1hour, All Races
-----------------------------------------
-- MP 45
-- CHR -1
-- Intelligence 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChec... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/mobskills/brain_spike.lua | 11 | 1030 | ---------------------------------------------------
-- Brain Spike
-- Deals damage to single target. Additional effect: Paralyze
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmoves")
-------------------------... | gpl-3.0 |
laurodelacerda/veins | tests/traci/init.lua | 14 | 10218 | --
-- TraCI Dissector for Wireshark
-- Copyright (C) 2013 Christoph Sommer <christoph.sommer@uibk.ac.at>
--
-- Include from (or copy to) ~/.wireshark/init.lua
--
-- 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 So... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.