Owl.png Wiki reading hard on the eyes? Try out our Dark Theme! Visit the preferences page while logged in and select Hydra Dark. Owl.png

User talk:Rye Greenwood

From Terraria Wiki
Jump to: navigation, search

Thank you[edit source]

You Get A Star
Thanks for all your hard work!

Thank you for all you have done with translating the Official Terraria Wiki into the German language. I would like to invite you to the Official Terraria Wiki Discord and Official Gamepedia Slack. Discord is where we discuss all things about the Official Terraria Wikis and Slack is where Gamepedia Staff and Wiki Administrators/Editors talk and receive help with Wikis. – ReedemtheD3ad! (talk) 17:43, 16 July 2018 (UTC)

Out of curiosity...[edit source]

I just wanted to know why people keep removing this documentation change whenever it’s put onto the page. Thanks for your time, mate! 00:42, 21 November 2018 (UTC)

The template now handles desktop content. {{equivcat| all | introduce/patch | ...}} will categorize the item for desktop, console, mobile, and 3DS.
{{equivcat| console | introduce/patch | ...}} will categorize the item for console; 'mobile' for mobile, '3DS' for 3DS. There is no need to add a desktop parameter. – Ferretwings (talk)
Oh, my bad, it seems that y’all already removed the DSK param, thanks for the quick response friend! 01:08, 21 November 2018 (UTC)

Incorrect timestamp[edit source]

On my PC it says that Rye Greenwood commented on my profile at 00:00, 6 March 2019 when it is March 5 in my area. Is there a glitch when it says 6 March and in my area it is March 5. —Preceding unsigned comment added by Lepspring (talkcontribs) at 00:49, 6 March, 2019‎ (UTC)

The timestamp was in UTC. See your preferences for a comparison between UTC and your own timezone. – Ferretwings (talk) 01:24, 6 March 2019 (UTC)

Tall gate suggestion[edit source]

(I think this is the right place...) Hey Rye, did you test out my gate suggestion? —Preceding unsigned comment added by Patriotgrimm (talkcontribs) at 00:32, 7 May 2019‎ (UTC)

Yes, I did. It does seem to work. Thank you for the suggestion! --Rye Greenwood (talk) 13:02, 7 May 2019 (UTC)

Template:Iteminfo on Guide:Making money[edit source]

[continuing this here because I am not sure whether templates work correctly in profile comments and I prefer being able to preview my wikitext]

Template:Iteminfo has two different output styles: formatted and more readable data or raw data, literally like it exists in the source code. For example, {{iteminfo|Dynasty Wood|rare}} outputs the following: Rarity level: 0 – formatted and "wiki-fied". {{iteminfo|Crystal Shard|rare|raw=yes}}, on the other hand, outputs the raw source code data: 0 (the internal, numerical rarity value). For certain stats, there are aliases to make the usage slightly more intuitive; hence {{iteminfo|Dynasty Wood|rarity}}, for instance, is valid as well: Rarity level: 0. These, however, do not work when using the raw mode: {{iteminfo|Dynasty Wood|rarity|raw=yes}} results in 0 (nothing).

As per the source code, the item statistic value represents the purchase price. Since this is rather counter-intuitive (usually, a thing's "value" refers to the amount of money received in return for that thing), the template treats "value" as input differently: Using {{iteminfo|Dynasty Wood|value}} returns the sales value: 10*10 Copper Coin.png. Note that the raw mode is not used here! The raw mode, {{coin|{{iteminfo|Dynasty Wood|value|raw=yes}}}}, outputs something different: 50*50 Copper Coin.png – the purchase price (because the raw mode is intended to accurately represent the source code).

There is no sales value statistic in the source code, which is due to the simple fact that it is always equal to 1/5 of the purchase price. Therefore, the template is bound to take the value stat from the source code and divide it by 5, if e.g. {{iteminfo|Dynasty Wood|buy}} is called. That is also the reason why there is no "original raw variable" for the sales value in the template's documentation table.

Typing all this out, I understand why it might cause confusion. The best solution would probably be to get rid of value as an alias and stick to the unambiguous sell as the only valid input for the sales value. I will go ahead and mark the alias value as deprecated.

Regarding the second point you brought up: Whenever I want to apply any calculations to any stat of an item, I need to get its raw, numerical value. That is because the parser function {{#expr:}} can only handle numerical values. For example, the HTML (which is what is interpreted by {{#expr:}}) of {{iteminfo|Dynasty Wood|sell}} (10*10 Copper Coin.png) is actually <span class="coins" data-info="10" title="10 Copper Coins"><s>10*</s>10 <img alt="Copper Coin.png" src="https://gamepedia.cursecdn.com/terraria_gamepedia/4/43/Copper_Coin.png?version=c51d2521b2f3a63b12ec63776baa3aeb" width="12" height="12"></span>, which is definitely far from a raw, numerical value and thus does not work. Therefore, I have to 1) take the raw purchase price (because it is impossible to get the raw sales value, as I described above), 2) apply the logic for turning it into the sales value (which simply consists of dividing it by 5), 3) do the initial calculation I wanted to do, and 4) wrap it all in the {{coin}} template.

  1. Take the raw purchase price: {{iteminfo|Dynasty Wood|value|raw=yes}} → 50
  2. Turn it into sales value, dividing it by 5: {{#expr:{{iteminfo|Dynasty Wood|value|raw=yes}}/5}} → 10
  3. Do my calculation (multiplying it by 999 here): {{#expr:({{iteminfo|Dynasty Wood|value|raw=yes}}/5)*999}} → 9990 (although the brackets are not mandatory, they help provide a minimum of structure to the code)
  4. Format it into a nice and standardized output: {{coin|{{#expr:({{iteminfo|Dynasty Wood|value|raw=yes}}/5)*999}}}}9990*99 Silver Coin.png 90 Copper Coin.png

If this explanation still leaves questions, please do not hesitate to ask them.

--Rye Greenwood (talk) 22:34, 8 August 2019 (UTC)

Thank you. Sometimes I forget what a hodgepodge of layers wiki software is.... :-/ I'm going to extend the rounding to a number of other things, in particular limiting the larger values to gold. Basically, when tossing around averages and likely yields as this page does, more than two or three digits of precision is basically wishful thinking. --MentalMouse42 (talk) 09:41, 9 August 2019 (UTC)

In case anybody comes across this, there is now an easier way to handle expressions with sales values: see {{sell expr}}. --Rye Greenwood (talk) 00:40, 3 December 2019 (UTC)

This reversion... why? Do you have something against balanced parentheses?[edit source]

Looking at this reversion ; I have no idea what else Jayflow222 might have been up to, but in this case it looks to me like he just inserted a correct open-paren to the clause. Was there some other reason to revert it? --MentalMouse42 (talk) 19:25, 11 August 2019 (UTC)

No, I must have missed the second parenthesis there. --Rye Greenwood (talk) 21:03, 11 August 2019 (UTC)
Looks like someone else took it the other way while I was checking with you. Whatever. --MentalMouse42 (talk) 23:29, 11 August 2019 (UTC)

Protected pages[edit source]

Hi, Rye! I was trying to add the fr interwiki links to a few pages here on the English wiki, and I noticed that several of them are protected. At the moment, I was planning to add links to the pages that contain NPC names (Angler/Names, etc.), but I suppose there might be other pages as well that are open on one wiki but protected on another. Seeing as I do a lot of back and forth work here, I was hoping to establish a more consistent connection between the two wikis. Could you please let me know if there is any way that I might add these links where appropriate? Thank you very much! PuzzledKino (talk) 16:18, 28 October 2019 (UTC)

Hey! Thank you for your continued commitment to adding and correcting the interwiki links, that is appreciated. Unfortunately, there is no direct way for anybody without at least Administrator user rights to edit a protected page whatsoever – including interwiki links. The usual process in this case is to request addition or modification of an interwiki link of a protected page on the respective talk page. An administrator can then perform the edit. Of course, that would be only be practical if you only wanted to add/modify one interwiki link at a time. With a longer list, that would get too tedious, so in that case it is best to hand an administrator the list and ask them to edit all of the pages in one go. If you don't want to ask any person in particular (here is the list of administrators), feel free to head to the admin noticeboard (the response might be faster there, too).
I can't think of an easier way of doing this, unfortunately – I think I remember it's what I would be doing with de interwiki links, too, when I wasn't an admin here yet.
I hope this didn't scare you off of continuing to fix and add interwiki links; I can only repeat that that work is appreciated! Interwiki links are crucial for the visibility of the language wikis, so thanks again!
--Rye Greenwood (talk) 22:02, 28 October 2019 (UTC)
Thanks for your quick reply! While it's a bit of a shame since I'd be more than happy to do it myself, I do understand the reasoning behind this decision.
I'm glad my work here is appreciated! I'll continue to help however I can. Thanks again for helping me (so quickly and kindly, too!) PuzzledKino (talk) 23:19, 28 October 2019 (UTC)

Page to be deleted[edit source]

Hi Rye! Could you perhaps do me a small favor? There is another Portuguese Terraria page that doesn't really serve any purpose. I forgot I'd listed it for deletion a week or two ago. The one line there basically says "it's a good sword, you're gonna want this." Could you delete that page please? Thank you! PuzzledKino (talk) 01:12, 23 November 2019 (UTC)

Sure, thanks for letting me know! --Rye Greenwood (talk) 01:18, 23 November 2019 (UTC)

Abbreviation "ce"...?[edit source]

In your revision notes you often use the abbreviation "ce" -- what does that actually stand for? I haven't been able to figure it out by context. --MentalMouse42 (talk) 00:14, 3 December 2019 (UTC)

It stands for "copy edit" and refers to a general, mostly behind-the-scenes cleanup, i.e. mainly wikicode formatting and standardization/beautification. I think I have picked it up from User:Equazcion's user page, although by now I probably use it differently than he does – I usually (try to) add something like "minor reword" or "grammar" if I actually change article text. --Rye Greenwood (talk) 00:30, 3 December 2019 (UTC)
That makes sense, thanks. --MentalMouse42 (talk) 17:17, 3 December 2019 (UTC)

Your activity and mine on this Wiki.[edit source]

I have been well active on Terraria Wiki, enough to have a free PRO subscription at this day of writing because I’m excited thar Journey’s End will be bigger than 1.3. The majority of my contribs consisted of uploading old item sprites and 1.4 spoiler images, adding spoilers on and tweaking the Upcoming features page.

I wonder what will you do once Journey’s End comes out? ReedemtheD3ad replied to me that the PRO user will prioritize updating sprites. And me, well, I may spend more time playing terraria since a long time and avoid too many spoilers on this wiki. --Superwill771 (talk) 00:05, 6 May 2020 (UTC)

Thanks for your commitment to contributing! I'll probably focus on backend work, like updating the databases and making sure the new content can be integrated seamlessly, but of course there'll be a lot to do in all departments. --Rye Greenwood (talk) 00:44, 6 May 2020 (UTC)

Fishing catches move[edit source]

You have a bot, can you replace the links on fish pages to Fishing Catches with Fishing catches with it? Sorry if I'm misunderstanding what you can do with it. -- 17:36, 6 May 2020 (UTC)

Sure, that exactly is a standard use case for bots. It's running right now. Good work splitting off all those pages, by the way! --Rye Greenwood (talk) 18:02, 6 May 2020 (UTC)

An edit to Bosses[edit source]

Somebody made an edit to Bosses claiming that "The Moon Lord's legs may be a boss in 1.4", despite the Upcoming Features page disproving it. Could you undo it? I'm sorry to bother you, but you seem to be online and I can't edit the page as it's protected. -- 23:17, 7 May 2020 (UTC)

Sure, that's no bother! Thanks for notifying. --Rye Greenwood (talk) 23:21, 7 May 2020 (UTC)

Template:Boss music[edit source]

You've created a new template to automatically display the music that plays duing a boss battle. I'd like to change what it displays from "While $name$ is alive, music $music$ will play." to "While $name$ is alive, the music $music$ will play." Is that alright? -- 16:07, 10 May 2020 (UTC)

Of course, go ahead – although I appreciate your civility, you don't need to ask for permission for that. English is not my mother tongue, so my formulations often don't sound that natural. --Rye Greenwood (talk) 16:15, 10 May 2020 (UTC)