Favour coding

Unlock All Achievement/Favor Items
For this to work you must have bought at least one favor item. Open the Game.prefs file with Notepad. This file is located in My Documents\My Games\Gas Powered Games\Demigod.

Find the text:

Items = {

Copy the following text to it:

Items = {
'AchievementVision',
'AchievementDeathReduction',
'AchievementXPIncome',
'AchievementGoldIncome',
'AchievementRunSpeed',
'AchievementPure',
'AchievementHealth',
'AchievementMana',
'AchievementPotion',
'AchievementTeleport',
'AchievementCooldown',
'AchievementAEMana',
'AchievementMovement',
'AchievementAERegen',
'AchievementManaLeech',
'AchievementSnare',
'AchievementDamage',
'AchievementRefreshCooldowns',
'AchievementFreeSpells',
'AchievementFlurry',
'AchievementFinger',
'AchievementMinionDamage',
'AchievementMinionHealth',
'AchievementMinionEvasion',
'AchievementMinionMeta',
'AchievementMinionBuff',
'AchievementAEHeal',
'AchievementMinionInvis'
},

All items will now be unlocked in the shop.

 -----------------------------------------------------------------------------------------------------------------------------------------

Recently this was posted and I was curious if this would work in a LAN situation. I havent been able to check but I want to find out before my mate comes round.

If this doesnt work I was wanting to know if it was possible to change the LUA coding so that you can give yourself something like 100000 favour. Reason being I dont want to be totting BotF while my mate is stuck with the Bejeweled Googles :P

5,062 views 4 replies
Reply #1 Top

if you modify the lua both of you must have the modification to prevent desync

Reply #2 Top

That addition to the game.prefs file 'will' work in a LAN situation, yes.  It uses the same favor pool and item unlocks as the single-player game.  It's the online features that have their own pool.

Alternatively, you can also look for a line that says something to the tune of "points = [value]" ([value] being the number of favor points you currently have accumulated) and change that value to whatever you want.

Reply #3 Top

Quoting Malard999, reply 1
if you modify the lua both of you must have the modification to prevent desync
End of Malard999's quote

Game.prefs can be different for every players.

Reply #4 Top

Thanks for the answers guys

After looking at the code a little my self and using a bit of common sense I should be able to use this with my mate

I would advise using this for LAN games. Its handy ;)