Skip to content

Instantly share code, notes, and snippets.

View felzan's full-sized avatar
:shipit:
Hmm

Luís Felipe Zanatto felzan

:shipit:
Hmm
View GitHub Profile
ACTION_BANFINAL
ACTION_BANISHMENT
ACTION_BANLOCK
ACTION_BANLOCKFINAL
ACTION_BANREPORT
ACTION_BANREPORTFINAL
ACTION_DELETION
ACTION_NAMELOCK
ACTION_NAMEREPORT
ACTION_NOTATION
function AddPremium(cid, days)
function BackTeam(cid)
function BikeSpeedOff(cid, t)
function BikeSpeedOn(cid, t)
function ChangeBalls(cid, param, cancelequal)
function ChargingBeam(cid)
function EddyHavoc(cid)
function FocusModule.messageMatcher(keywords, message)
function FocusModule.onFarewell(cid, message, keywords, parameters)
function FocusModule.onGreet(cid, message, keywords, parameters)
{"trigger": "Container.isContainer","contents": "Container.isContainer(${1:self})\n$10"},
{"trigger": "Creature.getClosestFreePosition","contents": "Creature.getClosestFreePosition(${1:self}, ${2:position}, ${3:extended})\n$10"},
{"trigger": "Creature.getPlayer","contents": "Creature.getPlayer(${1:self})\n$10"},
{"trigger": "Creature.isItem","contents": "Creature.isItem(${1:self})\n$10"},
{"trigger": "Creature.isMonster","contents": "Creature.isMonster(${1:self})\n$10"},
{"trigger": "Creature.isNpc","contents": "Creature.isNpc(${1:self})\n$10"},
{"trigger": "Creature.isPlayer","contents": "Creature.isPlayer(${1:self})\n$10"},
{"trigger": "Creature.isTile","contents": "Creature.isTile(${1:self})\n$10"},
{"trigger": "Creature:onAreaCombat","contents": "Creature:onAreaCombat(${1:tile}, ${2:isAggressive})\n$10"},
{"trigger": "Creature:onChangeOutfit","contents": "Creature:onChangeOutfit(${1:outfit})\n$10"},
function Container.isContainer(self)
function Creature.getClosestFreePosition(self, position, extended)
function Creature.getPlayer(self)
function Creature.isItem(self)
function Creature.isMonster(self)
function Creature.isNpc(self)
function Creature.isPlayer(self)
function Creature.isTile(self)
function Creature:onAreaCombat(tile, isAggressive)
function Creature:onChangeOutfit(outfit)
@felzan
felzan / tfs-lua.sublime-completions
Last active January 12, 2016 12:44 — forked from TheUltDev/tfs-lua.sublime-completions
Lua functions for The Forgotten Server. Autocomplete file for Sublime Text 3.
{
"scope": "source.lua",
"completions": [
"ACCOUNT_TYPE_GAMEMASTER",
"ACCOUNT_TYPE_GOD",
"ACCOUNT_TYPE_NORMAL",
"ACCOUNT_TYPE_SENIORTUTOR",
"ACCOUNT_TYPE_TUTOR",
"CALLBACK_PARAM_LEVELMAGICVALUE",
"CALLBACK_PARAM_SKILLVALUE",