Open main menu

Project: Gorgon Wiki β

Alleryn

Joined 7 January 2017
Revision as of 16:27, 19 September 2020 by Alleryn (talk | contribs) (Scripts)

Last updated September 2020

Introduction

I'm alleryn in PG. Welcome to my user page. Feel free to contact me in-game, on the Discord, or on my talk page.

Projects

  • Currently working on:
    • Creating a bot to create/maintain sections of each item page.
      • Completed-ish:
        • Write a bot to run script on all (or most if there are troublesome cases) item pages
          • Currently handles all item pages, apart from those where two items have the same name (a handful of these are handled by a special case, since they were deemed too important to skip). This functionality can be added in the future.
          • Skips items with "EquipSlot:" and with "Lint_NotObtainable" in "Keywords" (because they are numerous, and generally uninteresting since they can't be obtained in game by any normal means). Most of these do not have wiki pages at all, with the exception of a few admin items, the starting underwear, and a few other random uninteresting items (or maybe this is one of those 'only interesting because it would otherwise be uniquely uninteresting in a swath of interesting' type of deals (see https://en.wikipedia.org/wiki/Interesting_number_paradox), but probably not) like HumanClothBoots1.
        • Script generates:
          • Recipes using given item as ingredient and Recipes producing given item
          • Quests that require a given item, and Quests that reward a given item
          • Npcs whose Favor is affected by gifting a given item
          • Abilities that consume given item as ammo
      • Known bugs / areas for improvement:
        • TODO (hopefully by 9/23) Some work orders being placed in Quest Fulfillment table instead of Work Order section (happens when the work order is for an item with a given keyword instead of a specific item, e.g. the Lead Figurine work order. In addition to displaying incorrectly, this generates broken links. See, e.g. Lead_Figurine_of_an_Ogre#Quest_Fulfillment.)
        • TODO (hopefully by 9/23) Recipes that don't behave deterministically, such as those that produce Surveying and Treasure Cartography maps, as well as those that generate any enchanted item, do not display properly or at all (the result item is missing).
        • TODO (hopefully by 9/23) Recipes for the keyword Crystal are numerous and clog the readability of some recipe outputs (notably those for Vervadium, Glowy Yellow Crystal, and Winterprize). Separate these out.
        • Some additional info could possibly be generated:
          • Notes about unobtainable (Lint_NotObtainable) items, to avoid confusion (although this info is already present in the item infobox)
          • Purchase info for work orders (from w.o. board)
        • With addition of ability pages, ability consumption section can link to abilities.
        • Does not correctly find all npc names that it should (affects Quests section)
        • Sometimes the Ability Consumption script will report some misleading data, as the "AmmoDescription" in abilities.json is not always precise. For example, Basic Shot will report consuming "Beginner's Arrow (or better)", correctly, but Multishot will report consuming "Beginner's Arrow x5" even though it can also use "(or better)" arrows.
      • In progress (this list is likely incomplete):
        • TODO (hopefully before next major patch): Script will pick out sections of existing item pages and maintain/replace/amend them.
    • Updating Merchants.
      • Completed:
        • Basic restructuring via templates.
        • Added/converted rows for all vendors on Category:Vendor
        • Prettying it up
          • Left/right/mid alignments
          • Recoloring of region name bars
      • To do:
        • Confirmation and data entry (ongoing). All help is greatly appreciated :)
  • Future project(s):
    • Update Bartering templates to use {{msg:BASEPAGENAME}} (It turns out this was a bad idea, because it didn't play well with dpl).

Scripts

I have scripts stored locally (i.e. on my computer) to create the following sections. Please contact me if you discover errors or have requests relating to any of these. These will soon be added to User:AllyBot's automated updates:

Not currently maintained

  • Template:Attribute and Template:Attribute label. I have scripts to generate these, but at this time i do not run them. Feel free to contact me if you would like me to update either of these pages, or if you would like the source code i use to generate those pages.

Notes

Putting this here because i'm not sure where to put it:

  • There are some idiosyncrasies between various usages of keywords. One thing to notice is that recipes.json and npcs.json sometimes use a keyword of the form "EquipmentSlot:x", e.g., "EquipmentSlot:Ring". There are even some npcs who like items with the keyword "Ring" and others who like items with the keyword "EquipmentSlot:Ring". However items.json does not have any keywords like "EquipmentSlot:x". Items instead will usually (or maybe always) have two identical keywords, for example most (or all rings) have "Ring" listed twice in their keywords (and similarly for other slots). Here on the wiki, there is just one item category for Ring.

Other Info

If you are curious what i'm failing horribly to get working ingeniously figuring out how to do, you can check out my /Sandbox. (Really this link is mostly here for my own convenience).