DEBUG控制台

+

游戏中按以下步骤开启控制台(不同游戏版本可能略有区别):

Preferences(偏好设置) => Video Settings(视频设置) => Debugger Console(DEBUG控制台)


注意事项

+

输入秘籍按2次回车确认后可得到对应效果,注意是按两次回车

1、支持一次输入多个代码:

public_speaking_=100 回车 swords_=100 回车 dogs_=100 回车回车

2、开启秘籍后仍可以获得游戏中成就。

3、输入代码时注意小写,如果代码中出现空格请用下划线替代,如 Royal Demeanor 替换成 royal_demeanour

技能相关

+

临时改变技能:

格式为(#为0-100)

skill_name=#

例如:

archery=40

court_manners=50

改变基础技能:

如果想改变基础技能(不会在上课后被重置),请在技能名后面加下划线_

skill_name_=#

如:

court_manners_=50

public_speaking_=50

技能列表:

Royal Demeanorcomposure, elegance, presence
Conversationpublic_speaking, court_manners, flattery
Expressiondecoration, instrument, voice_skill
Agilitydance, reflexes, flexibility
Weaponsswords, archery, polearms
Athleticsrunning, climbing, swimming
Animal Handlinghorses, dogs, falcons
Historynovan_history, foreign_affairs, world_history
Intrigueinternal_affairs, foreign_intelligence, ciphering
Medicineherbs, battlefield_medicine, poison
Economicsaccounting, trade, production
Militarystrategy, naval_strategy, logistics
Faithmeditation, divination, lore
Lumensense_magic, resist_magic, wield_magic


装备相关

+

解锁 Outfits

输入 unlocked_outfits.add('需替换内容'),可解锁对应的装备(不要忘了引号)

Royal Demeanor
Conversation
Expression
Agility
Weapons
Athletics
Animal Handling
History
Intrigue
Medicine
Economics
Military
Faith
Lumen

改变Outfit

current_outfit='需替换内容'

例如:

current_outfit='royal_demeanour'

隐藏属性

+

输入以下内容,按两次回车,可显示隐藏属性数值:

ui.text("commoner_approval=%s" % commoner_approval)
ui.text("noble_approval=%s" % noble_approval)
ui.text("cruelty=%s" % cruelty)
ui.text("lassi=%s" % lassi)

其他秘籍

+

修改残暴值: 

输入 cruelty=#  将#替换为数值,范围 0-10  0为不残暴,10为残暴最大值。 

修改金钱: 

输入 lassi=#  将 # 替换为金钱数值,例如 输入 lassi=8888 再按两次回车。

作弊脚本

+

游戏支持执行外部脚本文件,将脚本如cheat.py放入游戏根目录,然后输入:

execfile('cheat.py')

脚本示例:

class MyClass:
	skills = ['composure','elegance','presence','public_speaking','court_manners','flattery','decoration','instrument','voice_skill','dance','reflexes','flexibility','swords','archery','polearms','running','climbing','swimming','horses','dogs','falcons','novan_history','foreign_affairs','world_history','internal_affairs','foreign_intelligence','ciphering','herbs','battlefield_medicine','poison','accounting','trade','production','strategy','naval_strategy','logistics','meditation','divination','lore','sense_magic','resist_magic','wield_magic']
	outfits = ['Royal Demeanor','Conversation','Expression','Agility','Weapons','Athletics','Animal Handling','History','Intrigue','Medicine','Economics','Military','Faith','Lumen']
	stats = ['commoner_approval','noble_approval','cruelty','lassi']
	moods = ['angry','cheerful','willful','pressure','afraid','depressed','yielding','lonely']
	bonuses = ['royal_demeanor_bonus','conversation_bonus','expression_bonus','agility_bonus','weapons_bonus','athletics_bonus','animal_handling_bonus','history_bonus','intrigue_bonus','medicine_bonus','economics_bonus','military_bonus','faith_bonus','lumen_bonus']
	output = ""
	minBonus = 0
	minSkill = 0
	original = {}
	original['update_adjusted_stats'] = update_adjusted_stats
	original['update_bonuses'] = update_bonuses

	def line(self, s):
		self.output = self.output + s + 'n'
		ui.text(self.output)

	def display(self):
		ui.text(self.output);
		self.clear()

	def clear(self):
		self.output = ""

	def resetMoods(self):
		self.clear()
		self.line('resetMoods()')
		for i in range(4):
			for j in range(10):
				exec('inc_' + self.moods[i] + '()')
			for k in range(5):
				exec('inc_' + self.moods[i + 4] + '()')
		self.display()

	def setMood(self, m, n):
		self.clear()
		self.line('setMood()')
		mood1 = self.moods[m % 8]
		mood2 = self.moods[((m + 4) % 8)]
		self.line('resetting {0} then setting {1}'.format(mood1, mood2))
		for i in range(10):
			exec('inc_' + mood1 + '()')
		for i in range(5 - n):
			exec('inc_' + mood2 + '()')

	def unlockAllOutfits(self):
		for o in self.outfits:
			unlocked_outfits.add(o)

	def setMinBonus(self, n):
		for b in self.bonuses:
			if globals()[b] < n:
				globals()[b] = n

	def setMinSkills(self, n):
		for skill in self.skills:
			if globals()[skill] < n:
				globals()[skill] = n


	def showStats(self):
		self.clear()
		for stat in self.stats:
			self.line("{0}: {1}".format(stat, globals()[stat]))

my = MyClass()

my.line('Loaded cheat script')
my.line('my.showStats()')
my.line('my.unlockAllOutfits()')
my.line('my.setMinSkills(n) - will be reset when skills change')
my.line('my.setMinBonus(n) - will be reset when mood changes')
my.line('my.resetMoods()')
my.line('my.setMood(mood, value) - mood 0-3 on top, 4-7 on bottom')
my.line('my.minBonus = value - automatically updates bonuses')
my.line('my.minSkill = value - automatically updates skills')

my.minBonus = 50
my.minSkill = 100


def update_adjusted_stats():
	my.original['update_adjusted_stats']()
	my.setMinSkills(my.minSkill)

def update_bonuses():
	my.original['update_bonuses']()
	my.setMinBonus(my.minBonus)

update_adjusted_stats()
update_bonuses()

可使用如下命令:

my.setMinBonus(50)
my.resetMoods()
my.setMood(6, 5)
my.setMinSkills(100)