| 
									
										
										
										
											2022-07-20 12:48:14 +02:00
										 |  |  | import typing | 
					
						
							| 
									
										
											  
											
												DS3: Add progressive locations, fix the randomize_weapons_level option and add some options ( Deathlink ) (#1206)
* Update items_data.py
added `Red and White Round Shield`, `Crystal Scroll`, `Magic Stoneplate Ring`, and `Outrider Knight` gear.
* Update locations_data.py
Added `US: Red and White Round Shield`, `CKG: Magic Stoneplate Ring`, `GA: Outrider Knight` set, and `GA: Crystal Scroll`
* Update __init__.py
Add `Karla's Ashes` requirements
* Update items_data.py
Add `Irithyll Rapier, Hollow's Ashes, Irina's Ashes, Karla's Ashes, Cornyx's Ashes, and Orbeck's Ashes`
* Update locations_data.py
Add `Irithyll Rapier, Hollow's Ashes, Irina's Ashes, Karla's Ashes, Orbeck's Ashes, and Cornyx's Ashes`
* Update items_data.py
removed "hollows ashes"
* Update locations_data.py
remove "hollows ashes"
* Revert "WebHost: Add the DarkSouls3 entry to upload and download the client file"
This reverts commit 5e7c2d4cee485e373ffe60932134013548192c8e.
* ds3: setup progressive locations
* ds3: Use fill_slot_data instead of generate_output
* ds3: Add no_spell_requirements, no_equip_load and death_link option
* ds3: Add some progressive locations
* DS3: Increment data_version
* DS3: Fix item name in rule
* DS3: Set required client version to 0.3.6 and added offsets between items and location tables for backward compatibility
* DS3: Resolve Python 3.8 compatibility
* DS3: Removed useless region for locations IDs consistency
* DS3: Changed i in loop
* DS3: Remove AP.json from the documentation
* DS3: Put back json upload and download
* DS3: Avoid empty downloads
* DS3: Fix randomize_weapons_level option
* DS3: Remove options duplicate entries
* DS3: Change location rule according to review
Co-authored-by: Br00ty <83629348+Br00ty@users.noreply.github.com>
											
										 
											2022-11-09 01:17:43 +01:00
										 |  |  | from Options import Toggle, Option, DeathLink | 
					
						
							| 
									
										
										
										
											2022-07-20 12:48:14 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class AutoEquipOption(Toggle): | 
					
						
							|  |  |  |     """Automatically equips any received armor or left/right weapons.""" | 
					
						
							|  |  |  |     display_name = "Auto-equip" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class LockEquipOption(Toggle): | 
					
						
							|  |  |  |     """Lock the equipment slots so you cannot change your armor or your left/right weapons. Works great with the
 | 
					
						
							|  |  |  |     Auto-equip option."""
 | 
					
						
							|  |  |  |     display_name = "Lock Equipement Slots" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class NoWeaponRequirementsOption(Toggle): | 
					
						
							|  |  |  |     """Disable the weapon requirements by removing any movement or damage penalties.
 | 
					
						
							|  |  |  |     Permitting you to use any weapon early"""
 | 
					
						
							|  |  |  |     display_name = "No Weapon Requirements" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
											  
											
												DS3: Add progressive locations, fix the randomize_weapons_level option and add some options ( Deathlink ) (#1206)
* Update items_data.py
added `Red and White Round Shield`, `Crystal Scroll`, `Magic Stoneplate Ring`, and `Outrider Knight` gear.
* Update locations_data.py
Added `US: Red and White Round Shield`, `CKG: Magic Stoneplate Ring`, `GA: Outrider Knight` set, and `GA: Crystal Scroll`
* Update __init__.py
Add `Karla's Ashes` requirements
* Update items_data.py
Add `Irithyll Rapier, Hollow's Ashes, Irina's Ashes, Karla's Ashes, Cornyx's Ashes, and Orbeck's Ashes`
* Update locations_data.py
Add `Irithyll Rapier, Hollow's Ashes, Irina's Ashes, Karla's Ashes, Orbeck's Ashes, and Cornyx's Ashes`
* Update items_data.py
removed "hollows ashes"
* Update locations_data.py
remove "hollows ashes"
* Revert "WebHost: Add the DarkSouls3 entry to upload and download the client file"
This reverts commit 5e7c2d4cee485e373ffe60932134013548192c8e.
* ds3: setup progressive locations
* ds3: Use fill_slot_data instead of generate_output
* ds3: Add no_spell_requirements, no_equip_load and death_link option
* ds3: Add some progressive locations
* DS3: Increment data_version
* DS3: Fix item name in rule
* DS3: Set required client version to 0.3.6 and added offsets between items and location tables for backward compatibility
* DS3: Resolve Python 3.8 compatibility
* DS3: Removed useless region for locations IDs consistency
* DS3: Changed i in loop
* DS3: Remove AP.json from the documentation
* DS3: Put back json upload and download
* DS3: Avoid empty downloads
* DS3: Fix randomize_weapons_level option
* DS3: Remove options duplicate entries
* DS3: Change location rule according to review
Co-authored-by: Br00ty <83629348+Br00ty@users.noreply.github.com>
											
										 
											2022-11-09 01:17:43 +01:00
										 |  |  | class NoSpellRequirementsOption(Toggle): | 
					
						
							|  |  |  |     """Disable the spell requirements permitting you to use any spell""" | 
					
						
							|  |  |  |     display_name = "No Spell Requirements" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class NoEquipLoadOption(Toggle): | 
					
						
							|  |  |  |     """Disable the equip load constraint from the game""" | 
					
						
							|  |  |  |     display_name = "No Equip load" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-20 12:48:14 +02:00
										 |  |  | class RandomizeWeaponsLevelOption(Toggle): | 
					
						
							|  |  |  |     """Enable this option to upgrade 33% ( based on the probability chance ) of the pool of weapons to a random value
 | 
					
						
							|  |  |  |     between +1 and +5/+10"""
 | 
					
						
							|  |  |  |     display_name = "Randomize weapons level" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class LateBasinOfVowsOption(Toggle): | 
					
						
							|  |  |  |     """Force the Basin of Vows to be located as a reward of defeating Pontiff Sulyvahn. It permits to ease the
 | 
					
						
							|  |  |  |     progression by preventing having to kill the Dancer of the Boreal Valley as the first boss"""
 | 
					
						
							|  |  |  |     display_name = "Late Basin of Vows" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | dark_souls_options: typing.Dict[str, type(Option)] = { | 
					
						
							|  |  |  |     "auto_equip": AutoEquipOption, | 
					
						
							|  |  |  |     "lock_equip": LockEquipOption, | 
					
						
							|  |  |  |     "no_weapon_requirements": NoWeaponRequirementsOption, | 
					
						
							|  |  |  |     "randomize_weapons_level": RandomizeWeaponsLevelOption, | 
					
						
							|  |  |  |     "late_basin_of_vows": LateBasinOfVowsOption, | 
					
						
							| 
									
										
											  
											
												DS3: Add progressive locations, fix the randomize_weapons_level option and add some options ( Deathlink ) (#1206)
* Update items_data.py
added `Red and White Round Shield`, `Crystal Scroll`, `Magic Stoneplate Ring`, and `Outrider Knight` gear.
* Update locations_data.py
Added `US: Red and White Round Shield`, `CKG: Magic Stoneplate Ring`, `GA: Outrider Knight` set, and `GA: Crystal Scroll`
* Update __init__.py
Add `Karla's Ashes` requirements
* Update items_data.py
Add `Irithyll Rapier, Hollow's Ashes, Irina's Ashes, Karla's Ashes, Cornyx's Ashes, and Orbeck's Ashes`
* Update locations_data.py
Add `Irithyll Rapier, Hollow's Ashes, Irina's Ashes, Karla's Ashes, Orbeck's Ashes, and Cornyx's Ashes`
* Update items_data.py
removed "hollows ashes"
* Update locations_data.py
remove "hollows ashes"
* Revert "WebHost: Add the DarkSouls3 entry to upload and download the client file"
This reverts commit 5e7c2d4cee485e373ffe60932134013548192c8e.
* ds3: setup progressive locations
* ds3: Use fill_slot_data instead of generate_output
* ds3: Add no_spell_requirements, no_equip_load and death_link option
* ds3: Add some progressive locations
* DS3: Increment data_version
* DS3: Fix item name in rule
* DS3: Set required client version to 0.3.6 and added offsets between items and location tables for backward compatibility
* DS3: Resolve Python 3.8 compatibility
* DS3: Removed useless region for locations IDs consistency
* DS3: Changed i in loop
* DS3: Remove AP.json from the documentation
* DS3: Put back json upload and download
* DS3: Avoid empty downloads
* DS3: Fix randomize_weapons_level option
* DS3: Remove options duplicate entries
* DS3: Change location rule according to review
Co-authored-by: Br00ty <83629348+Br00ty@users.noreply.github.com>
											
										 
											2022-11-09 01:17:43 +01:00
										 |  |  |     "no_spell_requirements": NoSpellRequirementsOption, | 
					
						
							|  |  |  |     "no_equip_load": NoEquipLoadOption, | 
					
						
							|  |  |  |     "death_link": DeathLink, | 
					
						
							| 
									
										
										
										
											2022-07-20 12:48:14 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 |