Add bug report link to WebWorld (#440)
* Add bug report link to WebWorld * change bug_report_page to an optional reword bug report link text. * update Minecraft bug report page to a template. * change wording of link. * add `bug_report_page` documentation to api.md
This commit is contained in:
		| @@ -11,11 +11,17 @@ from worlds.generic.Rules import exclusion_rules | ||||
|  | ||||
| from BaseClasses import Region, Entrance, Item | ||||
| from .Options import minecraft_options | ||||
| from ..AutoWorld import World | ||||
| from ..AutoWorld import World, WebWorld | ||||
|  | ||||
| client_version = 7 | ||||
| minecraft_version = "1.17.1" | ||||
|  | ||||
|  | ||||
| class MinecraftWebWorld(WebWorld): | ||||
|     theme = "jungle" | ||||
|     bug_report_page = "https://github.com/KonoTyran/Minecraft_AP_Randomizer/issues/new?assignees=&labels=bug&template=bug_report.yaml&title=%5BBug%5D%3A+Brief+Description+of+bug+here" | ||||
|  | ||||
|  | ||||
| class MinecraftWorld(World): | ||||
|     """ | ||||
|     Minecraft is a game about creativity. In a world made entirely of cubes, you explore, discover, mine, | ||||
| @@ -26,6 +32,7 @@ class MinecraftWorld(World): | ||||
|     game: str = "Minecraft" | ||||
|     options = minecraft_options | ||||
|     topology_present = True | ||||
|     web = MinecraftWebWorld() | ||||
|  | ||||
|     item_name_to_id = {name: data.code for name, data in item_table.items()} | ||||
|     location_name_to_id = {name: data.id for name, data in advancement_table.items()} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 KonoTyran
					KonoTyran