Greetings,
Im trying to upload a addon to tome, it is a simple tweak to the adventurer class. I am loged on to the acount "guilhermequintella"
It is fully functional in the game however when I enter the developer mode I don't even get a upload option while pressing CONTROL+a.
The addon's shortname is "tadv".
C:\Program Files (x86)\Steam\SteamApps\common\TalesMajEyal\game\addons\tome-tadv
Including the folowing files:
init.lua
long_name = "Adventurer Tweaks"
short_name = "tadv"
for_module = "tome"
version = {1,2,5}
weight = 102
author = { "Guilherme Quintella", "" }
homepage = ""
description = [[Tweaks the Adventurer class so that its skill multipliers are equal to 1.3, as well as adding 3 stat poits, and two extra generic and talent points.]]z
tags = {'adventurer', 'tweak'}
overload = false
superload = true
hooks = false
data = false
and
the tweaked adventurer.lua at
C:\Program Files (x86)\Steam\SteamApps\common\TalesMajEyal\game\addons\tome-tadv\superload\data\birth\classes
content
-- 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 version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
newBirthDescriptor{
type = "class",
name = "Adventurer",
locked = function() return profile.mod.allow_build.adventurer and true or "hide" end,
desc = {
"Adventurers can learn to do a bit of everything, getting training in whatever they happen to find.",
"#{bold}##GOLD#This is a bonus class for winning the game. It is by no means balanced.#WHITE##{normal}#",
},
descriptor_choices =
{
subclass =
{
__ALL__ = "disallow",
Adventurer = "allow",
},
},
copy = {
mana_regen = 0.5,
max_life = 100,
},
}
newBirthDescriptor{
type = "subclass",
name = "Adventurer",
locked = function() return profile.mod.allow_build.adventurer and true or "hide" end,
desc = {
"Adventurers can learn to do a bit of everything, getting training in whatever they happen to find.",
"#{bold}##GOLD#This is a bonus class for winning the game. It is by no means balanced.#WHITE##{normal}#",
"Their most important stats depend on what they wish to do.",
"#GOLD#Stat modifiers:",
"#LIGHT_BLUE# * +2 Strength, +2 Dexterity, +2 Constitution",
"#LIGHT_BLUE# * +2 Magic, +2 Willpower, +2 Cunning, +2 Luck",
"#GOLD#Bonus Stats:#LIGHT_BLUE# +3",
"#GOLD#Two Bonus Talent Points",
"#GOLD#Two Bonus Generic Points",
"#GOLD#Life per level:#LIGHT_BLUE# +0",
},
not_on_random_boss = true,
stats = { str=2, con=2, dex=2, mag=2, wil=2, cun=2, lck=2 },
talents_types = function(birth)
local tts = {}
for _, class in ipairs(birth.all_classes) do
for _, sclass in ipairs(class.nodes) do if sclass.id ~= "Adventurer" and sclass.def and not sclass.def.not_on_random_boss then
if birth.birth_descriptor_def.subclass[sclass.id].talents_types then
local tt = birth.birth_descriptor_def.subclass[sclass.id].talents_types
if type(tt) == "function" then tt = tt(birth) end
for t, _ in pairs(tt) do
tts[t] = {false, 0.3}
end
end
if birth.birth_descriptor_def.subclass[sclass.id].unlockable_talents_types then
local tt = birth.birth_descriptor_def.subclass[sclass.id].unlockable_talents_types
if type(tt) == "function" then tt = tt(birth) end
for t, v in pairs(tt) do
if profile.mod.allow_build[v[3]] then
tts[t] = {false, 0}
end
end
end
end end
end
return tts
end,
copy_add = {
unused_generics = 4,
unused_talents = 5,
unused_talents_types = 7,
unused_stats = 3,
},
copy = {
resolvers.inventorybirth{ id=true, transmo=true,
{type="weapon", subtype="dagger", name="iron dagger", autoreq=true, ego_chance=-1000},
{type="weapon", subtype="dagger", name="iron dagger", autoreq=true, ego_chance=-1000},
{type="weapon", subtype="longsword", name="iron longsword", ego_chance=-1000, ego_chance=-1000},
{type="weapon", subtype="longsword", name="iron longsword", ego_chance=-1000, ego_chance=-1000},
{type="weapon", subtype="staff", name="elm staff", autoreq=true, ego_chance=-1000},
{type="weapon", subtype="mindstar", name="mossy mindstar", autoreq=true, ego_chance=-1000},
{type="weapon", subtype="mindstar", name="mossy mindstar", autoreq=true, ego_chance=-1000},
{type="armor", subtype="hands", name="iron gauntlets", autoreq=true, ego_chance=-1000, ego_chance=-1000},
{type="armor", subtype="hands", name="rough leather gloves", ego_chance=-1000, ego_chance=-1000},
{type="armor", subtype="light", name="rough leather armour", ego_chance=-1000, ego_chance=-1000},
{type="armor", subtype="cloth", name="linen robe", autoreq=true, ego_chance=-1000},
{type="scroll", subtype="rune", name="manasurge rune", ego_chance=-1000, ego_chance=-1000},
{type="weapon", subtype="longbow", name="elm longbow", autoreq=true, ego_chance=-1000},
{type="ammo", subtype="arrow", name="quiver of elm arrows", autoreq=true, ego_chance=-1000},
{type="weapon", subtype="sling", name="rough leather sling", autoreq=true, ego_chance=-1000},
{type="ammo", subtype="shot", name="pouch of iron shots", autoreq=true, ego_chance=-1000},
},
},
}
Thanks!
Upload option not showing in developer mode.
Moderator: Moderator
-
- Posts: 2
- Joined: Sun Nov 30, 2014 2:23 pm
Re: Upload option not showing in developer mode.
Is the addons developer tool enabled in the addons menu ?
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

-
- Posts: 2
- Joined: Sun Nov 30, 2014 2:23 pm
Re: Upload option not showing in developer mode.
Thanks for the swift reply darkgod!
I had acidentaly deleted the development tool while cleaning my addons folder!
I have reaquired it by Steam and have alredy maneged to upload it to Te4.org!
Thanks again!
I had acidentaly deleted the development tool while cleaning my addons folder!
I have reaquired it by Steam and have alredy maneged to upload it to Te4.org!
Thanks again!