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 |
|---|---|---|---|---|---|
kidaa/Awakening-Core3 | bin/scripts/object/tangible/medicine/crafted/medpack_disease_area_action_c.lua | 1 | 3382 | --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/base/objects.lua | 3 | 4546 | --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 |
eraffxi/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Tabar.lua | 7 | 1140 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Tabar
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
function onMobEngaged(mob,target)
if (mob:AnimationSub() == 3) then
... | gpl-3.0 |
mohammad1212/robot12240 | plugins/invite.lua | 299 | 1025 | -- Invite other user to the chat group.
-- Use !invite name User_name or !invite id id_number
-- The User_name is the print_name (there are no spaces but _)
do
local function callback(extra, success, result)
vardump(success)
vardump(result)
end
local function run(msg, matches)
local user = matches[2]
-- Use... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/mission/bh_spiderclan_auspex.lua | 1 | 2320 | bh_spiderclan_auspex = Creature:new {
objectName = "@mob/creature_names:spider_nightsister_spell_weaver",
socialGroup = "spider_nightsister",
pvpFaction = "spider_nightsister",
faction = "spider_nightsister",
level = 107,
chanceHit = 1,
damageMin = 645,
damageMax = 1000,
baseXp = 10174,
baseHAM = 24000,
base... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_noble_naboo_twilek_female_02.lua | 3 | 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 |
kidaa/Awakening-Core3 | bin/scripts/object/building/player/city/cityhall_corellia.lua | 2 | 3303 | --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/structure/general/poi_nboo_corral_half_32x32_s04.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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/mission/quest_item/throme_gormengal_q3_needed.lua | 3 | 2304 | --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/spells/armys_paeon_iv.lua | 2 | 1392 | -----------------------------------------
-- Spell: Army's Paeon IV
-- Gradually restores target's HP.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/msg");
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0;
e... | gpl-3.0 |
nfratin/D2MiniGame | scripts/vscripts/internal/eventtest.lua | 21 | 59645 | function GameMode:StartEventTest()
ListenToGameEvent("team_info", Dynamic_Wrap(GameMode, 'On_team_info'), self)
ListenToGameEvent("team_score", Dynamic_Wrap(GameMode, 'On_team_score'), self)
ListenToGameEvent("teamplay_broadcast_audio", Dynamic_Wrap(GameMode, 'On_teamplay_broadcast_audio'), self)
ListenToGameEvent(... | apache-2.0 |
Joker-Developer/Joker-Developer | plugins/msg_checks.lua | 10 | 10753 | --[[
# For More Information ....!
# Developer : Aziz < @devss_bot > #Dev
# our channel: @help_tele
]]
--Begin msg_checks.lua
--Begin pre_process function
local function pre_process(msg)
-- Begin 'RondoMsgChecks' text checks by @rondoozle
if is_chat_msg(msg) or is_super_group(msg) then
if msg and not is_momod(msg... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/lok/giant_dune_kimogila.lua | 1 | 1077 | giant_dune_kimogila = Creature:new {
objectName = "@mob/creature_names:giant_dune_kimogila",
socialGroup = "kimogila",
pvpFaction = "",
faction = "",
level = 153,
chanceHit = 85,
damageMin = 895,
damageMax = 1500,
baseXp = 14504,
baseHAM = 81000,
baseHAMmax = 99000,
armor = 2,
resists = {65,80,65,100,65,65... | lgpl-3.0 |
tsoliman/scummvm | devtools/create_ultima/files/ultima6/scripts/md/dreamworld.lua | 18 | 8058 | function finish_dream_quest(actor)
local schedule = Actor.get_schedule(actor, 0)
Actor.move(actor, schedule.x, schedule.y, schedule.z)
local obj = map_get_obj(schedule.x, schedule.y, schedule.z, 461) --OBJ_DREAM_TELEPORTER
Obj.removeFromEngine(obj)
obj = map_get_obj(schedule.x, schedule.y-1, schedule.z... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/lair/boar_wolf/objects.lua | 3 | 5535 | --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/draft_schematic/space/weapon/missile/wpn_launcher_seismic_mk3.lua | 2 | 3331 | --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/lair/base/objective_power_generator.lua | 2 | 2316 | --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/ship/imperial_gunboat_tier5.lua | 3 | 2196 | --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 |
gunchleoc/wesnoth | data/ai/micro_ais/cas/ca_bottleneck_move.lua | 3 | 20804 | local H = wesnoth.require "lua/helper.lua"
local LS = wesnoth.require "lua/location_set.lua"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local BC = wesnoth.require "ai/lua/battle_calcs.lua"
local MAISD = wesnoth.require "ai/micro_ais/micro_ai_self_data.lua"
local function bottleneck_is_my_territory(map, enemy_ma... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/food/crafted/drink_corellian_brandy.lua | 3 | 3363 | --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/corellia_meatlump_small1.lua | 1 | 2236 | --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/food/crafted/dish_gruuvan_shaal.lua | 3 | 3242 | --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 |
gunchleoc/wesnoth | data/ai/micro_ais/cas/ca_herding_herd_sheep.lua | 7 | 3249 | local H = wesnoth.require "lua/helper.lua"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local herding_area = wesnoth.require "ai/micro_ais/cas/ca_herding_f_herding_area.lua"
local function get_dogs(cfg)
local dogs = AH.get_units_with_moves {
side = wesnoth.current.side,
{ "and", H.get_child(c... | gpl-2.0 |
eraffxi/darkstar | scripts/commands/getmobaction.lua | 2 | 1112 | ---------------------------------------------------------------------------------------------------
-- func: getmobaction
-- desc: Prints mob's current action to the command user.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
pa... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/loot/collectible/collectible_parts/orange_rug_thread_05.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/droid/component/crafting_module_structure.lua | 2 | 3300 | --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/item/item_tech_console_sectional_c.lua | 3 | 2252 | --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/furniture/jedi/frn_all_table_dark_01.lua | 2 | 2268 | --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/component/munition/acklay_venom.lua | 3 | 2248 | --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_tatooine_lt_hantor_loftus.lua | 3 | 2248 | --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_armor_composite_leggings.lua | 1 | 3977 | --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/guild_deed/naboo_guild_deed.lua | 3 | 2818 | --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/Caedarva_Mire/npcs/_273.lua | 2 | 4639 | -----------------------------------
-- Area: Caedarva Mire
-- Door: Runic Seal
-- !pos -353 -3 -20 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("sc... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/r2d2.lua | 3 | 2132 | --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/wire/stools/grabber.lua | 8 | 1413 | WireToolSetup.setCategory( "Physics/Constraints" )
WireToolSetup.open( "grabber", "Grabber", "gmod_wire_grabber", nil, "Grabbers" )
if CLIENT then
language.Add( "tool.wire_grabber.name", "Grabber Tool (Wire)" )
language.Add( "tool.wire_grabber.desc", "Spawns a constant grabber prop for use with the wire system." )
... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/reactor/rct_freitek_powerhouse_mk1.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 |
kidaa/Awakening-Core3 | bin/scripts/screenplays/dungeon/geonosian_lab.lua | 1 | 30529 | geonosian_lab_screenplay = ScreenPlay:new {
numberOfActs = 1,
states = {
},
keypadCodes = {
32281,
12872,
51892,
12753, --Door 4 is short circuited passkey or this code
86332,
11380,
52577,
78660
},
lockedCells = {
1627785,
1627786,
1627790,
1627805,
1627812,
1627815,
1627822,
... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/ship/lambdashuttle_tier4.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 |
MrAnTiFuN/s-group | plugins/anti_spam.lua | 191 | 5291 | --An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id == our_id then
return msg
end
-- Save... | agpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/deed/harvester_deed/harvester_liquid_deed_heavy.lua | 2 | 3021 | --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/spawning/remote_theater_spawner.lua | 3 | 2248 | --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/corellia_afarathu_small3.lua | 1 | 2236 | --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/structure/dantooine/dant_jedi_temple_pillar_sm.lua | 3 | 2300 | --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/ship/components/armor/arm_kessel_imperial_rendili_crystalline_durasteel.lua | 3 | 2408 | --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/wildfire.lua | 2 | 1645 | -----------------------------------
-- Wildfire
-- Skill Level: N/A
-- Description: Deals fire elemental damage. Enmity generation varies with TP. Armageddon: Aftermath.
-- Acquired permanently by completing the appropriate Walk of Echoes Weapon Skill Trials.
-- Can also be used by equipping Armageddon (85)/(90)/(95)/(... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/jedi/no_drop_jedi_holocron_dark.lua | 2 | 2318 | --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/ship/attachment/engine/z95_engine_s02.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 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_hutt_medic2_twilek_male_01.lua | 3 | 2252 | --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/food/dessert_pkneb.lua | 2 | 3321 | --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/jishnus_radiance.lua | 10 | 1694 | -----------------------------------
-- Jishnu's Radiance
-- Archery weapon skill
-- Skill level: 357
-- Empyrean Weapon Skill
-- RNG Main Job Required
-- Aligned with the Thunder & Breeze Gorget.
-- Aligned with the Thunder Belt & Breeze Belt.
-- Element:
-- Modifiers: DEX:60%
-- 100%TP 200%TP 300%TP
-- 1.75 ... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/clothing/component/clothing_cargo_pocket.lua | 2 | 3212 | --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/ship/crafted/chassis/blacksun_medium_s03_deed.lua | 3 | 2488 | --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/init.lua | 18 | 1289 | EGP = {}
--------------------------------------------------------
-- Include all other files
--------------------------------------------------------
function EGP:Initialize()
local Folder = "entities/gmod_wire_egp/lib/egplib/"
local entries = file.Find( Folder .. "*.lua", "LUA")
for _, entry in ipairs( entries ) ... | apache-2.0 |
meshr-net/meshr_tomato-RT-N | usr/lib/lua/luci/model/cbi/luci_statistics/disk.lua | 7 | 1243 | --[[
Luci configuration model for statistics - collectd disk 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 License ... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/wearables/skirt/skirt_s04.lua | 3 | 4087 | --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 |
hartmark/OpenRA | mods/cnc/maps/cnc64gdi01/cnc64gdi01.lua | 3 | 4254 | --[[
Copyright 2007-2020 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_plasma_thief_leader.lua | 3 | 2224 | --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/Bibiki_Bay/npcs/Noih_Tahparawh.lua | 2 | 3498 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: Noih Tahparawh
-- Type: Manaclipper
-- !pos -392 -3 -385 4
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bibiki_Bay/TextIDs");
---------------------... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/clothing/clothing_dress_formal_29.lua | 2 | 3645 | --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/screenplays/poi/corellia_rebel_hideout.lua | 1 | 16590 | RebelHideoutScreenPlay = ScreenPlay:new {
numberOfActs = 1,
screenplayName = "RebelHideoutScreenPlay",
}
registerScreenPlay("RebelHideoutScreenPlay", true)
function RebelHideoutScreenPlay:start()
if (isZoneEnabled("corellia")) then
self:spawnMobiles()
self:spawnSceneObjects()
end
end
function RebelHideout... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/mission/bh_nightsister_spell_weaver.lua | 1 | 2201 | bh_nightsister_spell_weaver = Creature:new {
objectName = "@mob/creature_names:nightsister_spell_weaver",
socialGroup = "nightsister",
pvpFaction = "nightsister",
faction = "nightsister",
level = 107,
chanceHit = 1,
damageMin = 645,
damageMax = 1000,
baseXp = 10174,
baseHAM = 24000,
baseHAMmax = 30000,
armo... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/player/construction/construction_player_house_generic_small_style_01.lua | 3 | 2418 | --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/Windurst_Woods/npcs/Roberta.lua | 2 | 1797 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Roberta
-- !pos 21 -4 -157 241
-----------------------------------
require("scripts/globals/settings");
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigger(player,npc)
local BlueRibbonBlues = player:get... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/endor/blood_crazed_plains_marauder.lua | 1 | 1672 | blood_crazed_plains_marauder = Creature:new {
objectName = "@mob/creature_names:blood_crazed_plains_marauder",
socialGroup = "endor_marauder",
pvpFaction = "endor_marauder",
faction = "endor_marauder",
level = 56,
chanceHit = 0.55,
damageMin = 445,
damageMax = 600,
baseXp = 5464,
baseHAM = 12000,
baseHAMmax ... | lgpl-3.0 |
LuaDist2/lrexlib-oniguruma | test/emacs_sets.lua | 9 | 1481 | -- See Copyright Notice in the file LICENSE
local luatest = require "luatest"
local N = luatest.NT
local unpack = unpack or table.unpack
local function norm(a) return a==nil and N or a end
local function set_f_gmatch (lib, flg)
-- gmatch (s, p, [cf], [ef])
local function test_gmatch (subj, patt)
local out, g... | mit |
kidaa/Awakening-Core3 | bin/scripts/mobile/naboo/mordran.lua | 1 | 1226 | mordran = Creature:new {
objectName = "@mob/creature_names:mordran",
socialGroup = "borvo",
pvpFaction = "borvo",
faction = "borvo",
level = 78,
chanceHit = 0.750000,
damageMin = 520,
damageMax = 750,
baseXp = 7484,
baseHAM = 26000,
baseHAMmax = 31000,
armor = 0,
resists = {0,75,0,45,80,0,0,0,-1},
meatTyp... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/stintaril_hue.lua | 3 | 2168 | --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/structure/naboo/nboo_imprv_lattice_wall_long_s01.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 |
MrAnTiFuN/s-group | plugins/admin.lua | 27 | 10309 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(receiver, '... | agpl-3.0 |
eraffxi/darkstar | scripts/globals/spells/curaga_v.lua | 2 | 1440 | -----------------------------------------
-- Spell: Curaga V
-- Restores HP of all party members within area of effect.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg");
--------------------... | gpl-3.0 |
eraffxi/darkstar | scripts/zones/Maze_of_Shakhrami/npcs/Fossil_Rock.lua | 2 | 2269 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: Fossil Rock
-- Used in Mission: Windurst Mission 2-1
-- !pos 17 18 184 198 + <many pos>
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/cell/base/base_cell.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/lair/bocatt/lair_bocatt_grassland.lua | 2 | 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 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/deed/pet_deed/bageraset_deed.lua | 1 | 2587 | --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/ship/crafted/weapon/missile/countermeasure_microchaff_launcher.lua | 3 | 3075 | --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 |
FreeScienceCommunity/ftk | script_binding/lua/demo_popup.lua | 9 | 1611 | function OnMenuItemClicked(info)
print("OnMenuItemClicked: " .. info.text)
end
items={"Cut", "Copy", "Paste", "Select All"}
function ShowPopup(type)
local icon = FtkTheme.LoadImage(Ftk.DefaultTheme(), "info.png")
local popup = FtkPopupMenu.Create(0, 0, 0, 200, icon, "Edit")
info = FtkListItemInfo.Create();
info.... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/booster/bst_qualdex_xboost_mk1.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 |
airstruck/luigi | luigi/widget/text.lua | 3 | 12309 | --[[--
A text entry area.
@widget text
--]]--
local ROOT = (...):gsub('[^.]*.[^.]*$', '')
local utf8 = require(ROOT .. 'utf8')
local Backend = require(ROOT .. 'backend')
-- make sure selection range doesn't extend past EOT
local function trimRange (self)
local max = #self.value
if self.startIndex > max then ... | mit |
meshr-net/meshr_tomato-RT-N | usr/lib/lua/luci/lucid/rpc/server.lua | 52 | 8197 | --[[
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 ip... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/lair/bolle_bol/lair_bolle_bol_grassland.lua | 2 | 2332 | --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/commands/adddynatime.lua | 13 | 1216 | ---------------------------------------------------------------------------------------------------
-- func: adddynatime
-- desc: Adds an amount of time to the given target. If no target; then to the current player.
---------------------------------------------------------------------------------------------------
cmd... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/space_privateer_tier4_ryel.lua | 3 | 2220 | --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/lair/rebel/lair_rebel_npc.lua | 2 | 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/mobile/dressed_sith_shadow_rodian_f_02.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/tangible/survey_tool/survey_tool_organic.lua | 3 | 2432 | --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 |
Creedsteam/SuperCreed | plugins/inpm.lua | 2 | 11289 | local function pre_process(msg)
local to = msg.to.type
local service = msg.service
if to == 'user' and msg.fwd_from then
if not is_support(msg.from.id) and not is_admin1(msg) then
return
end
local user = 'user#id'..msg.from.id
local from_id = msg.fwd_from.peer_id
if msg.fwd_from.first_name then
from_f... | agpl-3.0 |
eraffxi/darkstar | scripts/zones/Port_Bastok/npcs/Ferrol.lua | 2 | 2751 | -----------------------------------
-- Area: Port Bastok
-- NPC: Ferrol
-- Starts Quest: Trial Size Trial by Earth
-- !pos 33.708 6.499 -39.425 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requi... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/ship/civspeeder1.lua | 3 | 2152 | --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/corellia/corsec_renegade.lua | 1 | 1154 | corsec_renegade = Creature:new {
objectName = "@mob/creature_names:corsec_renegade",
socialGroup = "corsec",
pvpFaction = "corsec",
faction = "corsec",
level = 17,
chanceHit = 0.32,
damageMin = 160,
damageMax = 170,
baseXp = 1102,
baseHAM = 3500,
baseHAMmax = 4300,
armor = 0,
resists = {0,0,0,0,0,0,0,-1,-1... | lgpl-3.0 |
palmettos/cnLuCI | applications/luci-statistics/luasrc/statistics/rrdtool.lua | 69 | 15320 | --[[
Luci statistics - rrdtool interface library / diagram model interpreter
(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
... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/space_comm_rancorclan_hum_04.lua | 3 | 2228 | --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/component/weapon/vibro_unit_enhancement_min_damage.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 |
eraffxi/darkstar | scripts/globals/spells/bio_ii.lua | 2 | 2463 | -----------------------------------------
-- Spell: Bio II
-- Deals dark damage that weakens an enemy's attacks and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
----------------------------... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/waypoint/world_waypoint_white.lua | 3 | 2204 | --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 |
widelands/widelands | data/tribes/ships/amazons/init.lua | 1 | 18860 | push_textdomain("tribes")
dirname = path.dirname(__file__)
wl.Descriptions():new_ship_type {
name = "amazons_ship",
-- TRANSLATORS: This is the ship's name used in lists of units
descname = _("Ship"),
capacity = 30,
vision_range = 4,
icon = dirname .. "menu.png",
animation_directory = dirname,
... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_disable_sidequest_droid.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 |
widelands/widelands | data/tribes/workers/frisians/landlady/init.lua | 1 | 1039 | push_textdomain("tribes")
dirname = path.dirname (__file__)
wl.Descriptions():new_worker_type {
name = "frisians_landlady",
-- TRANSLATORS: This is a worker name used in lists of workers
descname = pgettext ("frisians_worker", "Landlady"),
icon = dirname .. "menu.png",
vision_range = 2,
buildcost =... | gpl-2.0 |
eraffxi/darkstar | scripts/zones/Caedarva_Mire/npcs/_272.lua | 1 | 3111 | -----------------------------------
-- Area: Caedarva Mire
-- Door: Runic Seal
-- !pos 486 -23 -500 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("s... | gpl-3.0 |
widelands/widelands | data/scripting/win_conditions/territorial_time.lua | 1 | 5226 | -- =======================================================================
-- Territorial Time Win condition
-- =======================================================================
-- TODO(sirver): There is so much code duplication with territorial_lord.lua in
-- here. Pull that out into a separat... | gpl-2.0 |
kevinmel2000/sl4a | lua/src/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.