diff --git a/game/engines/default/engine/generator/map/Static.lua b/game/engines/default/engine/generator/map/Static.lua index 2ee29f0302caee44cdb462fb124092c8b599f844..b68653e17eeabcd08ad23a8f28d115b0a75925b1 100644 --- a/game/engines/default/engine/generator/map/Static.lua +++ b/game/engines/default/engine/generator/map/Static.lua @@ -160,7 +160,7 @@ function _M:generate(lev, old_lev) if g then if g.force_clone then g = g:clone() end g:resolve() - g:resolve(nil, true) print(i-1, j-1, g.name) + g:resolve(nil, true) self.map(i-1, j-1, Map.TERRAIN, g) end diff --git a/game/modules/tome/class/Game.lua b/game/modules/tome/class/Game.lua index 381ad4cfa0e7306718df3e1c94583148fe5aedc1..6af2298c5db507e7d3ed744b4008aa65cbbbe070 100644 --- a/game/modules/tome/class/Game.lua +++ b/game/modules/tome/class/Game.lua @@ -148,14 +148,17 @@ function _M:newGame() self.paused = true print("[PLAYER BIRTH] resolved!") - self.player:playerLevelup(function() + local birthend = function() self:registerDialog(require("mod.dialogs.IntroDialog").new(self.player, function() self.player:resetToFull() self.player:registerCharacterPlayed() self.player:grantQuest(self.player.starting_quest) self.player:onBirth(birth) end)) - end) + end + + if self.player.no_birth_levelup then birthend() + else self.player:playerLevelup(birthend) end end, quickbirth, 720, 500) self:registerDialog(birth) end @@ -559,7 +562,7 @@ function _M:setupCommands() self:changeLevel(1, "grushnak-pride") -- self.player:grantQuest("master-jeweler") end - end + end, } self.key:addBinds { @@ -733,6 +736,7 @@ function _M:setupCommands() self.player.changed = true end, + HELP = "EXIT", EXIT = function() local menu menu = require("engine.dialogs.GameMenu").new{ "resume", diff --git a/game/modules/tome/data/birth/classes/tutorial.lua b/game/modules/tome/data/birth/classes/tutorial.lua index b67aed43d159922a2da99aceddecc55436e3f80b..bca3ac9db4741ff68419fb810a1359718422ce28 100644 --- a/game/modules/tome/data/birth/classes/tutorial.lua +++ b/game/modules/tome/data/birth/classes/tutorial.lua @@ -51,24 +51,15 @@ newBirthDescriptor{ }, stats = { str=10, con=5, dex=5, mag=10, wil=5, cun=5 }, talents_types = { - ["technique/shield-offense"]={true, 0.3}, - ["technique/shield-defense"]={true, 0.3}, ["technique/combat-training"]={true, 0.3}, - ["cunning/survival"]={true, 0.3}, - ["spell/fire"]={true, 0.3}, - ["spell/air"]={true, 0.3}, - ["spell/arcane"]={true, 0.3}, }, talents = { - [ActorTalents.T_SHIELD_PUMMEL] = 2, - [ActorTalents.T_REPULSION] = 2, [ActorTalents.T_WEAPON_COMBAT] = 2, [ActorTalents.T_HEAVY_ARMOUR_TRAINING] = 2, - [ActorTalents.T_FLAME] = 2, - [ActorTalents.T_LIGHTNING] = 2, - [ActorTalents.T_ARCANE_POWER] = 2, + [ActorTalents.T_SWORD_MASTERY] = 2, }, copy = { + unused_stats = 0, unused_talents = 0, unused_generics = 0, unused_talents_types = 0, resolvers.equip{ id=true, {type="weapon", subtype="longsword", name="iron longsword", autoreq=true}, {type="armor", subtype="shield", name="iron shield", autoreq=true}, diff --git a/game/modules/tome/data/birth/races/hobbit.lua b/game/modules/tome/data/birth/races/hobbit.lua index 48c84767ddc786e0317f26bd1bcc5c28671c5eb9..332c7df60a650ff1b160b30eaee9451bba2ded55 100644 --- a/game/modules/tome/data/birth/races/hobbit.lua +++ b/game/modules/tome/data/birth/races/hobbit.lua @@ -68,10 +68,10 @@ newBirthDescriptor "#LIGHT_BLUE# * +0 Magic, +0 Willpower, +3 Cunning", "#LIGHT_BLUE# * +5 Luck", "#GOLD#Life per levels:#LIGHT_BLUE# 12", - "#GOLD#Experience penality:#LIGHT_BLUE# 15%", + "#GOLD#Experience penality:#LIGHT_BLUE# 20%", }, stats = { str=-3, dex=3, con=1, cun=3, lck=5, }, - experience = 1.15, + experience = 1.20, talents = { [ActorTalents.T_HOBBIT_LUCK]=1, }, diff --git a/game/modules/tome/data/birth/worlds.lua b/game/modules/tome/data/birth/worlds.lua index 8b48ccd91fdb5a2bde424a9a741e6f389dd49f22..6b17999ee03919d8e313b58fec395be9636f5d12 100644 --- a/game/modules/tome/data/birth/worlds.lua +++ b/game/modules/tome/data/birth/worlds.lua @@ -93,6 +93,9 @@ newBirthDescriptor{ ["Tutorial Adventurer"] = "allow", }, }, + copy = { + no_birth_levelup = true, + }, } newBirthDescriptor{ diff --git a/game/modules/tome/data/maps/tutorial/tutorial1.lua b/game/modules/tome/data/maps/tutorial/tutorial1.lua index c9f28001a01a9b05898802089abb11f2a74318d7..f9b02705edcf729964414ce79c7f362284ee215e 100644 --- a/game/modules/tome/data/maps/tutorial/tutorial1.lua +++ b/game/modules/tome/data/maps/tutorial/tutorial1.lua @@ -20,7 +20,7 @@ startx = 49 starty = 24 -defineTile(""", "DEEP_WATER", nil, {random_filter={type="immovable", subtype="jelly", max_ood=2}}, nil) +defineTile("'", "DEEP_WATER", nil, {random_filter={type="immovable", subtype="jelly", max_ood=2}}, nil) defineTile("#", "DEEP_WATER", nil, {random_filter={type="immovable", subtype="jelly", max_ood=2}}, nil) defineTile("$", "DEEP_WATER", {random_filter={name="potion of lesser healing"}}, nil, nil) defineTile("&", {"TREE","TREE2","TREE3","TREE4","TREE5","TREE6","TREE7","TREE8","TREE9","TREE10","TREE11","TREE12","TREE13","TREE14","TREE15","TREE16","TREE17","TREE18","TREE19","TREE20"}, nil, nil, nil) @@ -28,7 +28,7 @@ defineTile("j", "GRASS", nil, {random_filter={type="immovable", subtype="jelly", defineTile("~", "DEEP_WATER", nil, nil, nil) defineTile(",", "GRASS", nil, nil, nil) defineTile("?", nil, nil, nil, nil) -defineTile("S", "GRASS", nil, {random_filter={type="animal", subtype=snake", max_ood=2}}, nil) +defineTile("S", "GRASS", nil, {random_filter={type="animal", subtype="snake", max_ood=2}}, nil) defineTile(" ", "DEEP_WATER", nil, {random_filter={type="immovable", subtype="jelly", max_ood=2}}, nil) defineTile("!", "GRASS", {random_filter={name="potion of lesser healing"}}, nil, nil) @@ -82,5 +82,4 @@ return [[ &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&~&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&~&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&$&&&&&& -&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& -]] +&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&]] diff --git a/ideas/DLCs.ods b/ideas/DLCs.ods index 94fe5c7ee3959e66ccf6975670b4d7de3db26f63..7c6541ee7b84a16f9e571d4931cf5ef7688925ab 100644 Binary files a/ideas/DLCs.ods and b/ideas/DLCs.ods differ