Fable3mod
Discussions for modifying Fable 3

Home » Modding Forums » Modding Discussion » Silver keys (Silver keys script)
Silver keys Thu, 02 March 2017 08:02 Go to next message
c.a.r.e. is currently offline  c.a.r.e.
Messages: 1
Registered: March 2017
Location: mexico
Junior Member
Hi im kind of new to moding and i couldnt find any information of this topic, is there a way to get all silver keys with a script?
Re: Silver keys Sat, 18 March 2017 01:40 Go to previous message
Artofeel is currently offline  Artofeel
Messages: 195
Registered: August 2013
Location: Russia
Senior Member
while Inventory.GetNumberOfItemsOfType(GetLocalHero(), 'ObjectInventorySilverKey') < 10 do
	Inventory.AddItemOfType(GetLocalHero(), 'ObjectInventorySilverKey')
end


while Inventory.GetNumberOfItemsOfType(GetLocalHero(), 'ObjectInventoryGoldKey') < 5 do
	Inventory.AddItemOfType(GetLocalHero(), 'ObjectInventoryGoldKey')
end

[Updated on: Sat, 18 March 2017 01:42]

Report message to a moderator

Previous Topic: Is there any chance we'll see advancements in modding this game?
Next Topic: I need help
Goto Forum:
  


Current Time: Sun Nov 24 03:05:20 PST 2024

Total time taken to generate the page: 0.01582 seconds