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 |
|---|---|---|---|---|---|
ricker75/Global-Server | data/npc/scripts/Captain Seahorse.lua | 2 | 6516 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function on... | gpl-2.0 |
ricker75/Global-Server | data/lib/svargrondArenaQuest.lua | 2 | 13532 | --[[
TODO
- Include PITS and ARENA table in SvargrondArena -> SvargrondArena.arenas / SvargrondArena.pits
- Restructure PITS and ARENA table (reward.storage does not seem to be used)
]]
SvargrondArena = {
-- action ids have to be equal to action id of reward doors
actionGreenhorn = 26100,
actionScrapper = 2710... | gpl-2.0 |
mhmjhamyargroup44233/hamyargroup63635567 | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
shadog/shado | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
bbn1234/uzzbot | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
aginor/wesnoth | data/ai/micro_ais/cas/ca_healer_initialize.lua | 26 | 1194 | local H = wesnoth.require "lua/helper.lua"
local W = H.set_wml_action_metatable {}
local ca_healer_initialize = {}
function ca_healer_initialize:evaluation(ai)
-- Set variables and aspects so that healers are excluded from attacks at beginning of turn
-- This will be blacklisted after first execution each tur... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Port_San_dOria/npcs/Maunadolace.lua | 38 | 1043 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Maunadolace
-- Type: Standard NPC
-- @zone: 232
-- @pos -22.800 -9.3 -148.645
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
------... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Southern_San_dOria/npcs/Ferdoulemiont.lua | 11 | 1553 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Ferdoulemiont
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Southern_San_dOria/IDs")
require("scripts/globals/npc_util")
require("scripts/globals/quests")
require("scripts/globals/shop")
function ... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/East_Sarutabaruta/npcs/Signpost.lua | 12 | 1652 | -----------------------------------
-- Area: East Sarutabaruta
-- NPC: Signpost
-----------------------------------
local ID = require("scripts/zones/East_Sarutabaruta/IDs");
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigger(player,npc)
local X = player:getXPos();
... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Balgas_Dais/npcs/Burning_Circle.lua | 12 | 2286 | -----------------------------------
-- Area: Balga's Dais
-- NPC: Burning Circle
-- Balga's Dais Burning Circle
-- @pos 299 -123 345 146
-------------------------------------
package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Jugner_Forest_[S]/mobs/Lobison.lua | 12 | 1531 | -----------------------------------
-- Area: Jugner Forest (S)
-- NPC: Lobison
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
mob:setLocalVar("transformTime", os.time())
end;
----------------------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Temenos/mobs/Enhanced_Slime.lua | 23 | 1034 | -----------------------------------
-- Area: Temenos W T
-- NPC: Enhanced_Slime
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
------------------------------... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/mobskills/trinary_tap.lua | 11 | 1675 | ---------------------------------------------
-- Trinary Tap
-- Attempts to absorb three buffs from a single target, or otherwise steals HP.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores Shadows
-- Range: Melee
-- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any buffs
... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Quicksand_Caves/npcs/_5sc.lua | 14 | 1273 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Ornate Door
-- Door blocked by Weight system
-- @pos -410 0 662 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves/TextIDs... | gpl-3.0 |
naclander/tome | game/engines/default/engine/resolvers.lua | 3 | 3935 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 Software Foundation, either version 3 of the License, or
-- (at your option) any later version.... | gpl-3.0 |
ChaoticMind/OpenRA | mods/ra/maps/soviet-02b/soviet02b.lua | 10 | 6847 | IntroAttackers = { IntroSoldier1, IntroSoldier2, IntroSoldier3 }
BridgeShroudTrigger = { CPos.New(63, 71), CPos.New(64, 71), CPos.New(65, 71), CPos.New(69, 65), CPos.New(70, 65), CPos.New(71, 65) }
BridgeExplosionTrigger = { CPos.New(66, 69), CPos.New(67, 69), CPos.New(68, 69) }
TransportTrigger = { CPos.New(75, 58) }... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/weaponskills/dulling_arrow.lua | 30 | 1343 | -----------------------------------
-- Dulling Arrow
-- Archery weapon skill
-- Skill level: 80
-- Lowers enemy's INT. Chance of params.critical varies with TP.
-- Aligned with the Flame Gorget & Light Gorget.
-- Aligned with the Flame Belt & Light Belt.
-- Element: None
-- Modifiers: STR:16% ; AGI:25%
-- 100%... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/slice_of_cerberus_meat.lua | 11 | 1230 | -----------------------------------------
-- ID: 5565
-- Item: slice_of_cerberus_meat
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 10
-- Magic -10
-- Strength 6
-- Intelligence -6
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Leaufetie_RK.lua | 14 | 3346 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Leaufetie, R.K.
-- Type: Conquest Overseer
-- @pos -227.956 -81.475 260.442 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/con... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/QuBia_Arena/mobs/Rojgnoj_s_Right_Hand.lua | 10 | 1233 | -----------------------------------
-- Area: QuBia_Arena
-- Mission 9-2 SANDO
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/missions");
require("scripts/zones/QuBia_Arena/TextIDs");
-----------------------------------
-- onMobSpawn A... | gpl-3.0 |
naclander/tome | game/modules/tome/data/general/npcs/losgoroth.lua | 3 | 2798 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/abilities/pets/thunderspark.lua | 25 | 1489 | ---------------------------------------------------
-- Thunderspark M=whatever
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/summon");
require("scripts/globals/magic");
require("scripts/globals/monstertpmoves... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/mobskills/PL_Tail_Slap.lua | 13 | 1068 | ---------------------------------------------
-- Tail Slap
--
-- Description: Delivers an area attack. Additional effect: "Stun." Damage varies with TP.
-- Type: Physical (Blunt)
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("script... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Southern_San_dOria/npcs/qm4.lua | 17 | 1236 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: The ??? on the stack of papers in 2nd Flr of Vemalpeau's house.
-- General Info NPC
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/AlTaieu/mobs/Ru_aern.lua | 9 | 2744 | -----------------------------------
-- Area: Al'Taieu
-- NPC: Ru_aern
-----------------------------------
require("scripts/globals/missions");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
end;
-------------------------... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Port_San_dOria/npcs/Comittie.lua | 9 | 1074 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Comittie
-- !pos -6.570 -9.8 -147.952 232
-----------------------------------
local ID = require("scripts/zones/Port_San_dOria/IDs")
require("scripts/globals/npc_util")
require("scripts/globals/quests")
-----------------------------------
function o... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/leremieu_taco.lua | 11 | 1613 | -----------------------------------------
-- ID: 5175
-- Item: leremieu_taco
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 20
-- Magic 20
-- Dexterity 4
-- Agility 4
-- Vitality 6
-- Charisma 4
-- Health Regen While Healing 1
-- Magic Regen While Healing 1
-- Defense % 25
-- Defen... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Waughroon_Shrine/bcnms/on_my_way.lua | 13 | 1878 | -----------------------------------
-- Area: Waughroon Shrine
-- Name: Mission Rank 7-2 (Bastok)
-- @pos -345 104 -260 144
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/global... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Temenos/mobs/Enhanced_Vulture.lua | 28 | 1448 | -----------------------------------
-- Area: Temenos W T
-- NPC: Enhanced_Vulture
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
----------------------------... | gpl-3.0 |
ChaoticMind/OpenRA | mods/ra/maps/soviet-07/soviet07.lua | 12 | 12499 | if Map.Difficulty == "Easy" then
remainingTime = DateTime.Minutes(7)
elseif Map.Difficulty == "Normal" then
remainingTime = DateTime.Minutes(6)
elseif Map.Difficulty == "Hard" then
remainingTime = DateTime.Minutes(5)
end
Dogs = { Dog1, Dog2, Dog3, Dog4, Dog5, Dog6, Dog7, Dog8, Dog9, Dog10, Dog11, Dog12, Dog13, Dog1... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Bastok_Mines/npcs/Phara.lua | 14 | 2662 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Phara
-- Starts and Finishes Quest: The doorman (start)
-- Involved in Quest: The Talekeeper's Truth
-- @zone 234
-- @pos 75 0 -80
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
--------------------------... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/homemade_salisbury_steak.lua | 11 | 1597 | -----------------------------------------
-- ID: 5705
-- Item: homemade_salisbury_steak
-- Food Effect: 30Min, All Races
-----------------------------------------
-- AGI +1
-- Accuracy +12% (cap 80)
-- Attack +10% (cap 40)
-- Ranged Accuracy +12% (cap 80)
-- Ranged Attack +10% (cap 40)
---------------------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Mount_Zhayolm/Zone.lua | 12 | 1639 | -----------------------------------
--
-- Zone: Mount_Zhayolm (61)
--
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Mount_Zhayolm/TextIDs");
------------------------------... | gpl-3.0 |
alerque/sile | inputters/sil_spec.lua | 1 | 3192 | SILE = require("core.sile")
SILE.backend = "dummy"
SILE.init()
SILE.utilities.error = error
describe("#SIL #inputter", function ()
local inputter = SILE.inputters.sil()
describe("should parse", function ()
it("commands with content", function()
local t = inputter:parse([[\foo{bar}]])[1]
assert.is... | mit |
ibm2431/darkstar | scripts/globals/mobskills/trembling.lua | 11 | 1168 | ---------------------------------------------
-- Trembling
--
-- Description: Deals physical damage to enemies within an area of effect. Additional effect: Dispel
-- Type: Physical
-- Wipes Shadows
-- Range: 10' radial
---------------------------------------------
require("scripts/globals/settings")
require("scrip... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/abilities/tabula_rasa.lua | 12 | 1131 | -----------------------------------
-- Ability: Tabula Rasa
-- Optimizes both white and black magic capabilities while allowing charge-free stratagem use.
-- Obtained: Scholar Level 1
-- Recast Time: 1:00:00
-- Duration: 0:03:00
-----------------------------------
require("scripts/globals/settings")
require("scripts/gl... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Windurst_Walls/npcs/HomePoint#3.lua | 27 | 1267 | -----------------------------------
-- Area: Windurst Walls
-- NPC: HomePoint#3
-- @pos 31 -6.5 -40 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Walls/TextIDs");
require("scripts/globals/home... | gpl-3.0 |
atheurer/MoonGen | lua/include/memory.lua | 2 | 10775 | ---------------------------------
--- @file memory.lua
--- @brief Memory ...
--- @todo TODO docu
---------------------------------
-- vim:ts=4:sw=4:noexpandtab
local mod = {}
local ffi = require "ffi"
local dpdkc = require "dpdkc"
local dpdk = require "dpdk"
local ns = require "namespaces"
local serpent = require "Se... | mit |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/EaseSineInOut.lua | 9 | 1271 |
--------------------------------
-- @module EaseSineInOut
-- @extend ActionEase
-- @parent_module cc
--------------------------------
-- brief Create the action with the inner action.<br>
-- param action The pointer of the inner action.<br>
-- return A pointer of EaseSineInOut action. If creation failed, return nil.
... | mit |
greasydeal/darkstar | scripts/commands/hp.lua | 26 | 1049 | ---------------------------------------------------------------------------------------------------
-- func: !hp <amount> <player>
-- desc: Sets the GM or target players health.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Southern_San_dOria/npcs/Phamelise.lua | 17 | 2189 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Phamelise
-- Only sells when San d'Oria controlls Zulkheim Region
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria/T... | gpl-3.0 |
gwlim/luci | applications/luci-asterisk/luasrc/model/cbi/asterisk/dialplan_out.lua | 80 | 3231 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 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
$Id$
]]--
l... | apache-2.0 |
ibm2431/darkstar | scripts/commands/cnation.lua | 22 | 2003 | ---------------------------------------------------------------------------------------------------
-- func: cnation <target> <campaign allegiance>
-- desc: check or alter target characters campaign allegiance
---------------------------------------------------------------------------------------------------
cmdprops ... | gpl-3.0 |
LegionXI/darkstar | scripts/commands/setweather.lua | 25 | 1579 | ---------------------------------------------------------------------------------------------------
-- func: setweather
-- desc: Sets the current weather for the current zone.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parame... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Apollyon/mobs/Ice_Elemental.lua | 9 | 2115 | -----------------------------------
-- Area: Apollyon SW
-- Mob: Ice Elemental
-----------------------------------
require("scripts/globals/limbus");
-----------------------------------
function onMobDeath(mob, player, isKiller)
end;
function onMobDespawn(mob)
local mobID = mob:getID();
-- print(mobID);
loca... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Kazham/npcs/Khifo_Ryuhkowa.lua | 12 | 1073 | -----------------------------------
-- Area: Kazham
-- NPC: Khifo Ryuhkowa
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Kazham/IDs")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
function onTrigger(player,npc)
local stock =
{
... | gpl-3.0 |
naclander/tome | game/modules/tome/data/zones/high-peak/npcs.lua | 3 | 13486 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/sleep_arrow.lua | 30 | 1184 | -----------------------------------------
-- ID: 18158
-- Item: Sleep Arrow
-- Additional Effect: Sleep
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
fun... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Cape_Teriggan/npcs/Paise_RK.lua | 14 | 3323 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: Bright Moon
-- Type: Border Conquest Guards
-- @pos 119 0 282 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
require("script... | gpl-3.0 |
naclander/tome | game/modules/tome/data/zones/infinite-dungeon/events.lua | 3 | 1421 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
fegimanam/sa | plugins/anti_spam.lua | 435 | 3886 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
LegionXI/darkstar | scripts/zones/Windurst_Woods/npcs/Cha_Lebagta.lua | 14 | 2146 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Cha Lebagta
-- Type: Standard NPC
-- @zone 241
-- @pos 58.385 -6.249 216.670
-- Involved in Quests: As Thick as Thieves, Mihgo's Amigo
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
------------... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/mobskills/Glacial_Breath.lua | 7 | 1286 | ---------------------------------------------
-- Glacial Breath
--
-- Description: Deals Ice damage to enemies within a fan-shaped area.
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes: Used only by Jormungand and Isgebind
-----------------------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/East_Ronfaure/npcs/Andelain.lua | 19 | 1997 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Andelain
-- Type: Standard NPC
-- @pos 664.231 -12.849 -539.413 101
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
naclander/tome | game/modules/example_realtime/data/talents.lua | 6 | 1799 | -- ToME - Tales of Middle-Earth
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 Software Foundation, either version 3 of the License, or
-- (at your option) any la... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/abilities/pets/water_ii.lua | 11 | 1045 | ---------------------------------------------------
-- Aero 2
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmoves")
require("scripts/globals/magic")
---------------------------------------------------
functio... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Caedarva_Mire/npcs/_272.lua | 9 | 3056 | -----------------------------------
-- Area: Caedarva Mire
-- Door: Runic Seal
-- !pos 486 -23 -500 79
-----------------------------------
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scripts/globals/besieged")
local ID = require("scripts/zones/Caedarva_Mire/IDs")
-------------------... | gpl-3.0 |
HeavenIsLost/ChronusServer | data/global.lua | 3 | 14167 | dofile('data/compat.lua')
TRUE = true
FALSE = false
LUA_ERROR = false
LUA_NO_ERROR = true
THING_TYPE_PLAYER = 1
THING_TYPE_MONSTER = 2
THING_TYPE_NPC = 3
GUILDLEVEL_MEMBER = 1
GUILDLEVEL_VICE = 2
GUILDLEVEL_LEADER = 3
STACKPOS_GROUND = 0
STACKPOS_FIRST_ITEM_ABOVE_GROUNDTILE = 1
STACKPOS_SECOND_ITEM_ABOVE_GROUNDTIL... | gpl-2.0 |
greasydeal/darkstar | scripts/globals/mobskills/PW_Haymaker.lua | 13 | 1160 | ---------------------------------------------
-- Haymaker
--
-- Description: Punches the daylights out of all targets in front. Additional effect: Amnesia
-- Type: Physical
-- Utsusemi/Blink absorb: Unknown
-- Range: Front cone
-- Notes: Only used by Gurfurlur the Menacing.
-------------------------------------... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Arrapago_Remnants/mobs/Archaic_Rampart_3.lua | 9 | 2027 | -----------------------------------
-- Area: Arrapago Remnants
-- Mob: Archaic Rampart
-----------------------------------
mixins = {require("scripts/mixins/families/rampart")}
local ID = require("scripts/zones/Arrapago_Remnants/IDs")
require("scripts/globals/instance")
require("scripts/globals/status")
--------------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Nashmau/npcs/Nanaroon.lua | 14 | 1052 | ----------------------------------
-- Area: Nashmau
-- NPC: Nanaroon
-- Type: Item Deliverer
-- @pos -2.404 -6 37.141 53
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Sauromugue_Champaign/npcs/Cavernous_Maw.lua | 13 | 2388 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: Cavernous Maw
-- Teleports Players to Sauromugue_Champaign_S
-- @pos 369 8 -227 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
LegionXI/darkstar | scripts/mixins/families/aern.lua | 36 | 1749 | -- Aern family mixin
-- Customization:
-- Setting AERN_RERAISE_MAX will determine the number of times it will reraise.
-- By default, this will be 1 40% of the time and 0 the rest (ie. default aern behaviour).
-- For multiple reraises, this can be set on spawn for more reraises.
-- To run a function when a rera... | gpl-3.0 |
naclander/tome | game/modules/tome/data/rooms/greater_vault.lua | 3 | 3050 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Xarcabard/mobs/Biast.lua | 37 | 1116 | -----------------------------------
-- Area: Xarcabard
-- NM: Biast
-- ID: 17235988
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-----------------------------------
-- onMobInitialize
-----------------------------------
function onMobInitialize(mob)
... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/bowl_of_vegetable_gruel.lua | 35 | 1505 | -----------------------------------------
-- ID: 4489
-- Item: bowl_of_vegetable_gruel
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Vitality -1
-- Agility 2
-- Ranged Accuracy % 15 (cap 10)
-- HP Recovered While Healing 4
-----------------------------------------
require("scr... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/spells/shock.lua | 11 | 1583 | -----------------------------------------
-- Spell: Shock
-- Deals lightning damage that lowers an enemy's mind and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-------------------... | gpl-3.0 |
naclander/tome | game/engines/default/engine/interface/BloodyDeath.lua | 3 | 1885 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 Software Foundation, either version 3 of the License, or
-- (at your option) any later version.... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/spells/jubaku_ni.lua | 12 | 1925 | -----------------------------------------
-- Spell: Jubaku: Ni
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT.
-- taken from paralyze
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Matifa.lua | 37 | 1026 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Matifa
-- Type: Standard NPC
-- @pos -10.583 -1 -8.820 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegat... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Valkurm_Dunes/Zone.lua | 12 | 4762 | -----------------------------------
--
-- Zone: Valkurm_Dunes (103)
--
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/Valkurm_Dunes/TextIDs");
require("s... | gpl-3.0 |
aginor/wesnoth | data/ai/micro_ais/cas/ca_stationed_guardian.lua | 24 | 4530 | local H = wesnoth.require "lua/helper.lua"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local function get_guardian(cfg)
local filter = cfg.filter or { id = cfg.id }
local guardian = AH.get_units_with_moves {
side = wesnoth.current.side,
{ "and", filter }
}[1]
return guardian
end
... | gpl-2.0 |
gibtang/CCNSCoding | samples/Lua/TestLua/Resources/luaScript/CocosDenshionTest/CocosDenshionTest.lua | 4 | 5778 | require "AudioEngine"
local EFFECT_FILE = "effect1.wav"
local MUSIC_FILE = "background.mp3"
local LINE_SPACE = 40
local function CocosDenshionTest()
local ret = cc.Layer:create()
local m_pItmeMenu = nil
local m_tBeginPos = cc.p(0, 0)
local m_nSoundId = 0
local testItems = {
"play backgr... | mit |
mercury233/ygopro-scripts | c45450218.lua | 4 | 1806 | --A・O・J リーサル・ウェポン
function c45450218.initial_effect(c)
--check
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_BATTLED)
e1:SetOperation(c45450218.checkop)
c:RegisterEffect(e1)
--draw
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(45450218,0... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Khea_Mhyyih.lua | 38 | 1051 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Khea Mhyyih
-- Type: Standard NPC
-- @zone: 94
-- @pos -53.927 -4.499 56.215
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
mercury233/ygopro-scripts | c17559367.lua | 2 | 1103 | --ディープ・ダイバー
function c17559367.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetOperation(c17559367.regop)
c:RegisterEffect(e1)
end
function c17559367.regop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c... | gpl-2.0 |
mercury233/ygopro-scripts | c97173708.lua | 2 | 3724 | --トークン生誕祭
function c97173708.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetLabel(0)
e1:SetCost(c97173708.cost)
e1:SetTarget(c97173708.target)
e1:Se... | gpl-2.0 |
qq779089973/my_openwrt_mod | luci/protocols/core/luasrc/model/cbi/admin_network/proto_static.lua | 60 | 2663 | --[[
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... | mit |
notcake/gcompute | lua/gcompute/ui/codeeditor/undoredo/indentationaction.lua | 1 | 2367 | local self = {}
GCompute.CodeEditor.IndentationAction = GCompute.MakeConstructor (self, Gooey.UndoRedoItem)
function self:ctor (codeEditor, selectionSnapshot)
self.CodeEditor = codeEditor
self.SelectionSnapshot = selectionSnapshot
self.TabWidth = codeEditor:GetTextRenderer ():GetTabWidth ()
local startLi... | gpl-3.0 |
notcake/gcompute | lua/gcompute/glua/printing/angleprinter.lua | 1 | 2247 | local self = {}
GCompute.GLua.Printing.AnglePrinter = GCompute.MakeConstructor (self, GCompute.GLua.Printing.ReferenceTypePrinter)
function self:ctor ()
end
-- Internal, do not call
function self:PrintReference (printer, coloredTextSink, obj, printingOptions, alignmentController, alignmentSink)
return self:PrintExpr... | gpl-3.0 |
mercury233/ygopro-scripts | c66165755.lua | 2 | 2816 | --A・ジェネクス・アクセル
function c66165755.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x2),aux.NonTuner(nil),1)
c:EnableReviveLimit()
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(66165755,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)... | gpl-2.0 |
valhallaGaming/uno | src_trunk/resources/tow-system/c_towing_system.lua | 1 | 3089 | local ped = createPed(123, 224.0537109375, 112.4599609375, 1010.2117919922)
local ped2 = createPed(123, 1025.2021484375, -901.103515625, 41.983009338379)
setElementInterior(ped, 10)
setElementDimension(ped, 9001)
setPedRotation(ped2, 180)
addEventHandler("onClientPedDamage", ped, cancelEvent)
addEventHandler("onC... | bsd-3-clause |
XxLMM13xXgaming/gbay | lua/gbay/gui/cl_loading.lua | 1 | 4234 | net.Receive("GBayOpenLoading", function()
local frame_w, frame_h = 1000, 700
local loadingtext = "Loading"
local GBayLogo = Material("gbay/Logo2.png")
local loadingperc = 0
local DFrame = vgui.Create("DFrame")
DFrame:SetPos(-frame_w, ScrH() / 2 - frame_h / 2)
DFrame:SetSize(frame_w, frame_h)
DFrame:SetDraggable... | mit |
gibtang/CCNSCoding | scripting/lua/script/Deprecated.lua | 1 | 38435 | require "Cocos2d.lua"
--tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of CCDirector will be deprecated,begin
local CCDirectorDeprecated = { }
function CCDirectorDeprecated.sharedDirector()... | mit |
Cavitt/vanilla-ot | data/actions/scripts/quests/in service of yalahar/globe.lua | 1 | 1581 | local wave = {"Rift Worm","Rift Brood","Rift Scythe","War Golem"}
local clicks = 0
local exhaust = os.time()
function onUse(cid, item, fromPosition, itemEx, toPosition)
if(clicks > 3 or exhaust > os.time())then return doSendMagicEffect(fromPosition, CONST_ME_POFF) end
clicks = clicks + 1
exhaust = os.time() + 32
... | agpl-3.0 |
notcake/gcompute | lua/gcompute/ast/leftunaryoperator.lua | 1 | 2080 | local self = {}
self.__Type = "LeftUnaryOperator"
GCompute.AST.LeftUnaryOperator = GCompute.AST.MakeConstructor (self, GCompute.AST.Expression)
function self:ctor ()
self.RightExpression = nil
self.Operator = "[Unknown Operator]"
self.Precedence = 0
self.FunctionCall = nil
end
function self:Compu... | gpl-3.0 |
Zenny89/darkstar | scripts/zones/Lower_Jeuno/npcs/_6t2.lua | 19 | 3975 | -----------------------------------
-- Area: Lower Jeuno
-- Door: Merchant's House
-- Starts & Finishes Quest: Save My Son
-- Optional Involvement in Quest: Chocobo's Wounds, Path of the Beastmaster
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
package.loaded["scripts... | gpl-3.0 |
fusijie/cocos2d-x-samples | samples/FantasyWarrior3D/src/cocos/cocos2d/DeprecatedCocos2dClass.lua | 101 | 60737 | -- This is the DeprecatedClass
DeprecatedClass = {} or DeprecatedClass
--tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--CCProgressTo class will be Deprecated,begin
function DeprecatedClass.CCProgres... | mit |
Zenny89/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_nf4.lua | 19 | 2637 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Strange Apparatus
-- @pos: 104 0 -179 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
require("scripts/globals/strangeappar... | gpl-3.0 |
mercury233/ygopro-scripts | c82556058.lua | 2 | 2464 | --デモニック・モーター・Ω
function c82556058.initial_effect(c)
--token
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(82556058,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetC... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Maze_of_Shakhrami/TextIDs.lua | 7 | 1507 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6383; -- Obtained: <item>.
GIL_OBTAINED = 6384; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6386; -- Obtained... | gpl-3.0 |
mercury233/ygopro-scripts | c2148918.lua | 2 | 1439 | --機甲忍法ラスト・ミスト
function c2148918.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--atk change
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(2148918,0))
e2:SetCategory(CATEGORY_ATKCHANGE)
e2:SetType(... | gpl-2.0 |
mercorii/Praise | Scripts/PraiseMod.lua | 1 | 7016 | --- @author Mercor
include("Scripts/Core/Common.lua")
-------------------------------------------------------------------------------
if PraiseMod == nil then
PraiseMod = EternusEngine.ModScriptClass.Subclass("PraiseMod")
end
-------------------------------------------------------------------------------
-- Create ... | mit |
jvmguy/FactorioScenarioMultiplayerSpawn | locale/blueprintstring/blueprintstring.lua | 1 | 9759 | --[[
Blueprint String
Copyright (c) 2016 David McWilliams, MIT License
This library helps you convert blueprints to text strings, and text strings to blueprints.
Saving Blueprints
-----------------
local BlueprintString = require "blueprintstring.blueprintstring"
local blueprint_table = {
entities = blueprint.get_b... | mit |
mercury233/ygopro-scripts | c30691817.lua | 3 | 2137 | --海晶乙女シーエンジェル
function c30691817.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,c30691817.mfilter,1,1)
c:EnableReviveLimit()
--splimit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:S... | gpl-2.0 |
mboncoddo/forgottenserver | data/spells/lib/spells.lua | 31 | 5671 | --Pre-made areas
--Waves
AREA_SHORTWAVE3 = {
{1, 1, 1},
{1, 1, 1},
{0, 3, 0}
}
AREA_WAVE4 = {
{1, 1, 1, 1, 1},
{0, 1, 1, 1, 0},
{0, 1, 1, 1, 0},
{0, 0, 3, 0, 0}
}
AREA_WAVE6 = {
{0, 0, 0, 0, 0},
{0, 1, 3, 1, 0},
{0, 0, 0, 0, 0}
}
AREA_SQUAREWAVE5 = {
{1, 1, 1},
{1, 1, 1},
{1, 1, 1},
{0, 1, 0},
{0, 3, 0}
}
--Diagon... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Upper_Jeuno/npcs/Luto_Mewrilah.lua | 34 | 1856 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Luto Mewrilah
-- @zone 244
-- @pos -53 0 45
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests"... | gpl-3.0 |
Zenny89/darkstar | scripts/zones/Norg/npcs/Washu.lua | 17 | 3574 | -----------------------------------
-- Area: Norg
-- NPC: Washu
-- Involved in Quest: Yomi Okuri
-- Starts and finishes Quest: Stop Your Whining
-- @pos 49 -6 15 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
Zenny89/darkstar | scripts/zones/Bastok_Markets/npcs/Matthias.lua | 37 | 1050 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Matthias
-- Standard Info NPC
-- Involved in Quest:
-----------------------------------
require("scripts/globals/quests");
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/zones/Bastok_Markets/TextIDs");
---... | gpl-3.0 |
Zenny89/darkstar | scripts/globals/weaponskills/starburst.lua | 30 | 1304 | -----------------------------------
-- Starburst
-- Staff weapon skill
-- Skill Level: 100
-- Deals light or darkness elemental damage. Damage varies with TP.
-- Aligned with the Shadow Gorget & Aqua Gorget.
-- Aligned with the Shadow Belt & Aqua Belt.
-- Element: Light/Dark (Random)
-- Modifiers: : STR:40% MND... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.