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 |
|---|---|---|---|---|---|
abriasffxi/darkstar | scripts/globals/mobskills/Glacier_Splitter.lua | 33 | 1074 | ---------------------------------------------
-- Glacier Splitter
--
-- Description: Cleaves into targets in a fan-shaped area. Additional effect: Paralyze
-- Type: Physical
-- Utsusemi/Blink absorb: 1-3 shadows
-- Range: Unknown cone
-- Notes: Only used the Aern wielding a sword (RDM, DRK, and PLD).
------------... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Apollyon/mobs/Borametz.lua | 16 | 1134 | -----------------------------------
-- Area: Apollyon NE
-- NPC: Borametz
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
--------------------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Windurst_Woods/npcs/Sariale.lua | 27 | 1976 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Sariale
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/spells/bluemagic/sheep_song.lua | 18 | 1393 | -----------------------------------------
-- Spell: Sheep Song
-- Puts all enemies within range to sleep
-- Spell cost: 22 MP
-- Monster Type: Beasts
-- Spell Type: Magical (Light)
-- Blue Magic Points: 2
-- Stat Bonus: CHR+1, HP+5
-- Level: 16
-- Casting Time: Casting Time: 3 seconds
-- Recast Time: Recast T... | gpl-3.0 |
davek44/Basset | src/accuracy.lua | 1 | 4698 | -- Adapted from https://github.com/hpenedones/metrics
ROC = {}
ROC.__index = ROC
function variance_explained(Yf, preds)
local num_seqs = Yf:dataspaceSize()[1]
local Ydim = Yf:dataspaceSize()[2]
local R2s = torch.Tensor(Ydim)
for yi = 1,Ydim do
-- read Yi from file
local Yi = Yf:partia... | mit |
dios-game/dios-cocos | src/apps/lua-simulator/Resources/src/cocos/cocos2d/DeprecatedOpenglEnum.lua | 148 | 11934 | -- This is the DeprecatedEnum
DeprecatedClass = {} or DeprecatedClass
_G.GL_RENDERBUFFER_INTERNAL_FORMAT = gl.RENDERBUFFER_INTERNAL_FORMAT
_G.GL_LINE_WIDTH = gl.LINE_WIDTH
_G.GL_CONSTANT_ALPHA = gl.CONSTANT_ALPHA
_G.GL_BLEND_SRC_ALPHA = gl.BLEND_SRC_ALPHA
_G.GL_GREEN_BITS = gl.GREEN_BITS
_G.GL_STENCIL_REF = gl.STENCI... | mit |
Armyluix/darkstar | scripts/globals/abilities/pets/grand_fall.lua | 25 | 1294 | ---------------------------------------------------
-- Geocrush
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/magic");
--------------------------------------------... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Castle_Oztroja/npcs/_47c.lua | 17 | 1933 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47c (Handle)
-- Notes: Opens Trap Door (_47a) or Brass Door (_470)
-- @pos 17.717 -1.087 -14.320 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/items/death_scythe.lua | 42 | 1065 | -----------------------------------------
-- ID: 16777
-- Item: Death Scythe
-- Additional Effect: Drains HP
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Silver_Sea_route_to_Nashmau/npcs/Qudamahf.lua | 38 | 1136 | -----------------------------------
-- Area: Silver_Sea_route_to_Nashmau
-- NPC: Qudamahf
-- Notes: Tells ship ETA time
-- @pos 0.340 -12.232 -4.120 58
-----------------------------------
package.loaded["scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Lower_Jeuno/npcs/Ghebi_Damomohe.lua | 17 | 4285 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Ghebi Damomohe
-- Type: Standard Merchant
-- Starts and Finishes Quest: Tenshodo Membership
-- @zone 245
-- @pos 16 0 -5
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globa... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/East_Ronfaure/Zone.lua | 1 | 3990 | -----------------------------------
--
-- Zone: East_Ronfaure (101)
--
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/globals/zone");
require("scripts/globals/... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/abilities/call_beast.lua | 18 | 1073 | -----------------------------------
-- Ability: Call Beast
-- Calls a beast to fight by your side.
-- Obtained: Beastmaster Level 23
-- Recast Time: 5:00
-- Duration: Dependent on jug pet used.
-----------------------------------
require("scripts/globals/common");
require("scripts/globals/status");
---------... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Port_San_dOria/npcs/Portaure.lua | 13 | 1442 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Portaure
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("scripts/zones/Port_San_dOria/TextIDs");
-----------------------------------
-- onTrade Action
-------... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Throne_Room/bcnms/shadow_lord_battle.lua | 14 | 2516 | -----------------------------------
-- Area: Throne Room
-- Name: Mission 5-2
-- @pos -111 -6 0.1 165
-----------------------------------
package.loaded["scripts/zones/Throne_Room/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Throne_Room/TextIDs");
require("scripts/globals/keyitems");
re... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Lufaise_Meadows/npcs/Chilaumme_RK.lua | 30 | 3055 | -----------------------------------
-- Area: Lufaise Meadows
-- NPC: Chilaumme, R.K.
-- Border Conquest Guards
-- @pos 414.659 0.905 -52.417 24
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
re... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Windurst_Walls/npcs/Selulu.lua | 14 | 1045 | ----------------------------------
-- Area: Windurst Walls
-- NPC: Selulu
-- Type: Item Deliverer
-- @zone 239
-- @pos 58.027 -2.5 -60.548
--
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
require("scripts/zones/Windurst_Walls/TextIDs");
-------------------------... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Lower_Jeuno/npcs/HomePoint#1.lua | 17 | 1254 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: HomePoint#1
-- @pos -98.588 0.001 -183.416 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Lower_Jeuno/TextIDs");
require("scripts/... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Southern_San_dOria/npcs/Alaune.lua | 14 | 1492 | -----------------------------------
-- Area: Southern San d`Oria
-- NPC: Alaune
-- Type: Tutorial NPC
-- @zone 230
-- @pos -90 1 -56
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria/Te... | gpl-3.0 |
bravnsgaard/premake-core | scripts/package.lua | 2 | 4413 | ---
-- Create a source or binary release package.
---
---
-- Helper function: run a command while hiding its output.
---
local function execQuiet(cmd, ...)
cmd = string.format(cmd, ...) .. " > _output_.log 2> _error_.log"
local z = os.execute(cmd)
os.remove("_output_.log")
os.remove("_error_.log")
return ... | bsd-3-clause |
Armyluix/darkstar | scripts/zones/Ordelles_Caves/TextIDs.lua | 9 | 1991 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6543; -- Obtained: <item>.
GIL_OBTAINED = 6544; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6546; -- Obtained... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Outer_Horutoto_Ruins/npcs/_5eh.lua | 17 | 3743 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Ancient Magical Gizmo #4 (H out of E, F, G, H, I, J)
-- Involved In Mission: The Heart of the Matter
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Gustav_Tunnel/Zone.lua | 29 | 1841 | -----------------------------------
--
-- Zone: Gustav_Tunnel (212)
--
-----------------------------------
package.loaded["scripts/zones/Gustav_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Gustav_Tunne... | gpl-3.0 |
ElectroDuk/QuackWars | garrysmod/gamemodes/Basewars(Broken}/entities(maybe_outdated)/weapons/weapon_mad_noimplementedyet/weapon_mad_flare/shared.lua | 2 | 5309 | // Variables that are used on both client and server
SWEP.Base = "weapon_mad_base"
SWEP.ViewModel = "models/weapons/v_pistol.mdl"
SWEP.WorldModel = "models/weapons/w_pistol.mdl"
SWEP.Spawnable = true
SWEP.AdminSpawnable = false
SWEP.Primary.Sound = Sound("Weapon_FlareGun.Single")
SWEP.Primary.Reload ... | mit |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/booster/bst_mission_reward_rebel_qualdex_halcyon.lua | 3 | 2380 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
isdom/kong | kong/plugins/mashape-analytics/handler.lua | 5 | 2842 | -- Analytics plugin handler.
--
-- How it works:
-- Keep track of calls made to configured APIs on a per-worker basis, using the ALF format
-- (alf_serializer.lua) and per-API buffers. `:access()` and `:body_filter()` are implemented to record some properties
-- required for the ALF entry.
--
-- When an API buffer is f... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/giant_tanc_mite.lua | 3 | 2176 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/general/dantooine_force_crystal_hunter_sd_cave.lua | 3 | 2312 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_ewok_f_02.lua | 3 | 2184 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
meshr-net/meshr_tomato-RT-N | usr/lib/lua/luci/sgi/cgi.lua | 13 | 2301 | --[[
LuCI - SGI-Module for CGI
Description:
Server Gateway Interface for CGI
FileId:
$Id: cgi.lua 6535 2010-11-23 01:02:21Z soma $
License:
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/wearables/pants/pants_s10.lua | 3 | 4604 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/installation/mockup_mining_ore_harvester_style_2.lua | 3 | 2308 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
Softmotions/ejdb-lua | tools/ldoc/ldoc/builtin/debug.lua | 4 | 5551 | --- getting runtime debug information.
module 'debug'
---
-- Enters an interactive mode with the user, running each string that
-- the user enters. Using simple commands and other debug facilities,
-- the user can inspect global and local variables, change their values,
-- evaluate expressions, and so on. A line cont... | lgpl-2.1 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/deed/pet_deed/deed_surgical_basic.lua | 1 | 4050 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/r5_crafted.lua | 3 | 2156 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_selonian_m_06.lua | 3 | 2200 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
eraffxi/darkstar | scripts/globals/weaponskills/rampage.lua | 25 | 1504 | -----------------------------------
-- Rampage
-- Axe weapon skill
-- Skill level: 175
-- Delivers a five-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: None
-- Modifiers: STR:50%
-- 100%TP 200%TP 3... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/attachment/weapon/smuggler_warlord_ship_turret_s01.lua | 3 | 2344 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/furniture/furniture_lamp_free_s03_on.lua | 2 | 3341 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
eraffxi/darkstar | scripts/zones/North_Gustaberg/MobIDs.lua | 6 | 1438 | -----------------------------------
-- Area: North Gustaberg
-- Comments: -- posX, posY, posZ
--(Taken from 'mob_spawn_points' table)
-----------------------------------
STINGING_SOPHIE_PH =
{
[17211532] = 17211561, -- 352.974 -40.359 472.914
[17211534] = 17211561, -- 353.313 -40.347 463.609
[17211535] = 1... | gpl-3.0 |
meshr-net/meshr_tomato-RT-N | usr/lib/lua/luci/model/cbi/luci_statistics/netlink.lua | 7 | 2809 | --[[
Luci configuration model for statistics - collectd netlink plugin configuration
(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 Licen... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_dalla_solo.lua | 3 | 2188 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/wearables/wookiee/serverobjects.lua | 3 | 3334 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
Fighter19/cuberite | Server/Plugins/APIDump/Hooks/OnPlayerBreakingBlock.lua | 44 | 1596 | return
{
HOOK_PLAYER_BREAKING_BLOCK =
{
CalledWhen = "Just before a player breaks a block. Plugin may override / refuse. ",
DefaultFnName = "OnPlayerBreakingBlock", -- also used as pagename
Desc = [[
This hook is called when a {{cPlayer|player}} breaks a block, before the block is actually broken in
the ... | apache-2.0 |
widelands/widelands | test/maps/lua_testsuite.wmf/scripting/init.lua | 1 | 2367 | include "map:scripting/common_init.lua"
-- ==========
-- Constants
-- ==========
if not wl.editor then
game = wl.Game()
-- make sure we do not crash because of saving.
game.allow_saving = false
egbase = game
else
editor = wl.Editor()
egbase = editor
end
map = egbase.map
player1 = egbase.players[1]
p... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_kobola_underboss_bith_female_01.lua | 3 | 2272 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
meshr-net/meshr_tomato-RT-N | usr/lib/lua/luci/lucid/rpc.lua | 52 | 1197 | --[[
LuCI - Lua Development Framework
Copyright 2009 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$
]]
local re... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/armor/arm_mandal_supreme_composite.lua | 3 | 2324 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
russakkyo/GitHub | src/scripts/lua/LuaBridge/Stable Scripts/Azeroth/Karazhan/BOSS_Karazhan_Kilrek.lua | 30 | 1152 | function Kilrek_Broken_Pact(Unit, event, miscunit, misc)
if Unit:GetHealthPct() < 2 and Didthat == 0 then
Unit:FullCastSpellOnTarget(30065,Unit:GetUnitBySqlId(15688))
Unit:SendChatMessage(11, 0, "You let me down Terestian, you will pay for this...")
Didthat = 1
else
end
end
function Kilrek_FireBolt(Unit, even... | agpl-3.0 |
russakkyo/GitHub | src/scripts/lua/Lua/Stable Scripts/Azeroth/Karazhan/BOSS_Karazhan_Kilrek.lua | 30 | 1152 | function Kilrek_Broken_Pact(Unit, event, miscunit, misc)
if Unit:GetHealthPct() < 2 and Didthat == 0 then
Unit:FullCastSpellOnTarget(30065,Unit:GetUnitBySqlId(15688))
Unit:SendChatMessage(11, 0, "You let me down Terestian, you will pay for this...")
Didthat = 1
else
end
end
function Kilrek_FireBolt(Unit, even... | agpl-3.0 |
dlannan/funLuaJit | byt3d/scripts/states/common/anim-manager.lua | 1 | 1289 | --
-- Created by David Lannan
-- User: grover
-- Date: 18/06/13
-- Time: 12:49 AM
-- Copyright 2013 Developed for use with the byt3d engine.
--
------------------------------------------------------------------------------------------------------------
local Sanim_manager = NewState()
------------------------------... | mit |
kidaa/Awakening-Core3 | bin/scripts/object/building/military/military_base_shed_imperial_style_officer_s01.lua | 3 | 2344 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/poi/tatooine_evil_nomad_large3.lua | 1 | 2244 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/endor/gifted_gondula_shaman.lua | 1 | 1057 | gifted_gondula_shaman = Creature:new {
objectName = "@mob/creature_names:gifted_gondula_shaman",
socialGroup = "gondula_tribe",
pvpFaction = "gondula_tribe",
faction = "gondula_tribe",
level = 46,
chanceHit = 0.46,
damageMin = 365,
damageMax = 440,
baseXp = 4461,
baseHAM = 9800,
baseHAMmax = 12000,
armor = ... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/battle_droid.lua | 3 | 2164 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/deed/pet_deed/kusak_deed.lua | 1 | 2572 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
NezzKryptic/Wire | lua/entities/gmod_wire_egp/lib/objects/polyoutline.lua | 6 | 1171 | -- Author: sk8 (& Divran)
local Obj = EGP:NewObject( "PolyOutline" )
Obj.w = nil
Obj.h = nil
Obj.x = nil
Obj.y = nil
Obj.vertices = {}
Obj.verticesindex = "vertices"
Obj.size = 1
Obj.Draw = function( self )
local n = #self.vertices
if (self.a>0 and n>0 and self.size>0) then
surface.SetDrawColor( self.r, self.g, sel... | apache-2.0 |
LuaDist2/luasocket | test/testmesg.lua | 45 | 2957 | -- load the smtp support and its friends
local smtp = require("socket.smtp")
local mime = require("mime")
local ltn12 = require("ltn12")
function filter(s)
if s then io.write(s) end
return s
end
source = smtp.message {
headers = { ['content-type'] = 'multipart/alternative' },
body = {
[1] = {
... | mit |
kidaa/Awakening-Core3 | bin/scripts/object/static/structure/corellia/corl_imprv_bridge_sm_s02.lua | 3 | 2288 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/space/serverobjects.lua | 3 | 2428 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/clothing/clothing_jewelry_bracelet_06.lua | 2 | 3313 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_nym_pirate_strong_rod_f.lua | 3 | 2240 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/intangible/holocron/objects.lua | 3 | 3359 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/furniture/imperial/warren_warning_sign.lua | 3 | 2276 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/wearables/bikini/serverobjects.lua | 3 | 2337 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/rori/neo_cobral_boss.lua | 1 | 1205 | neo_cobral_boss = Creature:new {
objectName = "@mob/creature_names:cobral_boss",
socialGroup = "cobral",
pvpFaction = "cobral",
faction = "cobral",
level = 30,
chanceHit = 0.38,
damageMin = 280,
damageMax = 290,
baseXp = 3097,
baseHAM = 8300,
baseHAMmax = 10100,
armor = 0,
resists = {0,0,0,40,40,40,40,-1,-... | lgpl-3.0 |
russakkyo/GitHub | src/scripts/lua/Lua/0Misc/0Defined Variables.lua | 30 | 42701 | --[[
OBJECT_FIELD_GUID 0x0000 // Size: 2, Type: LONG, Flags: PUBLIC
OBJECT_FIELD_TYPE 0x0002 // Size: 1, Type: INT, Flags: PUBLIC
OBJECT_FIELD_ENTRY 0x0003 // Size: 1, Type: INT, Flags: PUBLIC
OBJECT_FIELD_SCALE_X 0x0004 //... | agpl-3.0 |
NezzKryptic/Wire | lua/entities/gmod_wire_gyroscope.lua | 7 | 2542 | AddCSLuaFile()
DEFINE_BASECLASS( "base_wire_entity" )
ENT.PrintName = "Wire Gyroscope"
ENT.WireDebugName = "Gyroscope"
function ENT:SetupDataTables()
self:NetworkVar( "Bool", 0, "Out180" )
end
if CLIENT then
--handle overlay text client side instead (TAD2020)
function ENT:Think()
BaseClass.Think(self)
i... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/clothing/clothing_armor_ubese_helmet.lua | 1 | 3952 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
eraffxi/darkstar | scripts/globals/weaponskills/knights_of_round.lua | 7 | 1600 | -----------------------------------
-- Knights Of Round
-- Sword Weapon Skill
-- Skill Level: N/A
-- Caliburn/Excalibur: Additional Effect: Regen.
-- Regen 10HP/Tick, duration varies with TP.
-- Available only when equipped with the Relic Weapons Caliburn (Dynamis use only) or Excalibur.
-- Also available without after... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/wearables/hat/serverobjects.lua | 3 | 3200 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
takaaptech/Joueur.lua | joueur/utilities/class.lua | 3 | 2913 | -------------------------------------------------------------------------------
-- Class: A simple class function to create class like table objects. Supports multiple inheritance
-- @author Jacob Fischer, jacob.t.fischer@gmail.com
-- adopted from http://lua-users.org/wiki/SimpleLuaClasses
-- supports multiple inherita... | mit |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/event_perk/rori_imprv_flagpole_s01.lua | 1 | 2260 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/serving_of_karni_yarik_+1.lua | 35 | 1394 | -----------------------------------------
-- ID: 5589
-- Item: serving_of_karni_yarik_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Agility 3
-- Vitality -1
-- Attack % 20
-- Attack Cap 65
-----------------------------------------
require("scripts/globals/status");
----... | gpl-3.0 |
Dynodzzo/Ricochets | core/manager/GameStateManager.lua | 1 | 3335 | --[[
The GameStateManager class allows to manage different game states.
]]--
local GameStateManager = Game.Class("GameStateManager", {
_states = {},
_currentIndex = 0
});
--[[
Constructor.
@param state: GameState The initial state to launch.
--]]
function GameStateManager:init(state)
table.insert(self._states, ... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Gustav_Tunnel/npcs/qm2.lua | 13 | 2001 | -----------------------------------
-- Area: Gustav tunnel
-- NPC: qm2 (???)
-- bastok 9-1
-- @zone 212
-- @pos -130 1.256 252.696
-----------------------------------
package.loaded["scripts/zones/Gustav_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/spells/massacre_elegy.lua | 6 | 1901 | -----------------------------------------
-- Spell: Battlefield Elegy
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,tar... | gpl-3.0 |
UnbounDev/dots | config/awesome/themes/manta/theme.lua | 1 | 14000 | local theme_assets = require("beautiful.theme_assets")
local xresources = require("beautiful.xresources")
local dpi = xresources.apply_dpi
local gfs = require("gears.filesystem")
local themes_path = gfs.get_themes_dir()
local theme_name = "manta"
local icon_path = os.getenv("HOME") .. "/.config/awesome/themes/" .. them... | mit |
Gwynthell/FFDB | scripts/zones/Full_Moon_Fountain/npcs/Moon_Spiral.lua | 6 | 1384 | -----------------------------------
-- Area: Full Moon Fountain
-- NPC: Moon Spiral
-- Involved in Quests: The Moonlit Path
-- @pos -302 9 -260 170
-----------------------------------
package.loaded["scripts/zones/Full_Moon_Fountain/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm"... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/spells/deodorize.lua | 10 | 1128 | -----------------------------------------
-- Spell: Deodorize
-- Lessens chance of being detected by smell.
-- Duration is random number between 30 seconds and 5 minutes
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
----------------------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/abilities/earth_shot.lua | 2 | 2347 | -----------------------------------
-- Ability: Earth Shot
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- OnUseAbility
-----------------------------------
function OnAbilityCheck(play... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Aht_Urhgan_Whitegate/npcs/Tsih_Kolgimih.lua | 38 | 1045 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Tsih Kolgimih
-- Type: Event Scene Replayer
-- @pos -143.000 0.999 11.000 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Windurst_Waters/npcs/Tonana.lua | 4 | 1089 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Tonana
-- Warps players to Windurst Woods
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Waters/TextIDs");
----------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/West_Sarutabaruta/npcs/Ryokei_IM.lua | 8 | 2955 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Ryokei, I.M.
-- Type: Outpost Conquest Guards
-- @pos -11.322 -13.459 317.696 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/con... | gpl-3.0 |
msafin/luci | modules/admin-mini/luasrc/model/cbi/mini/network.lua | 82 | 6273 | --[[
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
h... | apache-2.0 |
Vivitarut/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Migran.lua | 37 | 1542 | -----------------------------------
-- Area: Tavnasian Safehold
-- NPC: Migran
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
----------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Al_Zahbi/npcs/Eumoa-Tajimoa.lua | 38 | 1026 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Eumoa-Tajimoa
-- Type: Standard NPC
-- @zone: 48
-- @pos 19.275 -1 55.182
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Al_Zahbi/npcs/Dahaeel.lua | 38 | 1025 | -----------------------------------
-- 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 |
Gwynthell/FFDB | scripts/zones/Southern_San_dOria/npcs/Sobane.lua | 2 | 3674 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Sobane
-- Starts and Finishes Quest: Signed in Blood
-- Involved in quest: Sharpening the Sword, Riding on the Clouds
-- @zone 230
-- @pos -190 -3 97
-- csid: 0x0034 0x02dc 0x02dd 0x02de 0x02df 0x02e0 0x02e1 0x02e2 0x02e3 0x02e4 0x02e5 ... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/spells/sleep_ii.lua | 4 | 1190 | -----------------------------------------
-- Spell: Sleep II
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,tar... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Sea_Serpent_Grotto/npcs/_4w5.lua | 4 | 2598 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Silver Beastcoin Door
-- @zone 176
-- @pos 280 18.549 -100
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scr... | gpl-3.0 |
ezibyte/EziSocial-PhotoExample | Cocos2dx-3x/PhotoExample/cocos2d/tests/lua-tests/src/SpineTest/SpineTest.lua | 5 | 2884 | local SpineTestLayer1 = nil
--------------------------------------------------------------------
--
-- SpineTestLayer1
--
--------------------------------------------------------------------
SpineTestLayer1 = function()
local ret = cc.Layer:create()
local s = cc.Director:getInstance():getWinSize()
local... | apache-2.0 |
Vivitarut/darkstar | scripts/globals/spells/kurayami_ichi.lua | 6 | 1122 | -----------------------------------------
-- Spell: Kurayami:Ichi
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(c... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Port_San_dOria/npcs/Bonarpant.lua | 6 | 1318 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Bonarpant
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextIDs");
... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/orange_kuchen.lua | 35 | 1230 | -----------------------------------------
-- ID: 4393
-- Item: orange_kuchen
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic % 13
-- Magic Cap 75
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- O... | gpl-3.0 |
yuanhoujun/pandoc | data/sample.lua | 9 | 8561 | -- This is a sample custom writer for pandoc. It produces output
-- that is very similar to that of pandoc's HTML writer.
-- There is one new feature: code blocks marked with class 'dot'
-- are piped through graphviz and images are included in the HTML
-- output using 'data:' URLs.
--
-- Invoke with: pandoc -t sample.... | gpl-2.0 |
Gwynthell/FFDB | scripts/zones/Windurst_Woods/npcs/Taraihi-Perunhi.lua | 2 | 1672 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Taraihi-Perunhi
-- Only sells when Windurst controlls Derfland Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/harvest_festivals")
require("scripts/globals/shop");
require("scripts/globals/conq... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/mobskills/PW_Fulmination.lua | 18 | 1127 | ---------------------------------------------
-- Fulmination
--
-- Description: Deals heavy magical damage in an area of effect. Additional effect: Paralysis + Stun
-- Type: Magical
-- Wipes Shadows
-- Range: 30 yalms
---------------------------------------------
require("scripts/globals/settings");
require("scripts/gl... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/King_Ranperres_Tomb/npcs/_5a0.lua | 4 | 2126 | -----------------------------------
-- Area: King Ranperre's Tomb
-- DOOR: _5a0 (Heavy Stone Door)
-- @pos -39.000 4.823 20.000 190
-----------------------------------
package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
re... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Riverne-Site_B01/npcs/_0t3.lua | 19 | 1339 | -----------------------------------
-- Area: Riverne Site #B01
-- NPC: Unstable Displacement
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_B01/Text... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.