bugs

Forum > Bugs > GrammarI
Reply To Thread (login)
ActiveX [130]
Head Moderator
2011-09-01 12:07:00
[13 years, 116 days ago]

Your Thorn Spiked Gloves is trashed and cannot be repaired any further

As gloves is a plural it should be are not is.


 
Dragon Summoner [92]
2011-09-01 12:07:29
[13 years, 116 days ago]

You're thorn spiked gloves is trashed and ain't be fixed no mores.


 
ActiveX [130]
Head Moderator
2011-09-01 12:09:20
[13 years, 116 days ago]

yes, that would be much better erica ...


 
Nosferatu [109]
2011-09-01 12:11:57
[13 years, 116 days ago]

Lol, I'm surprised I didn't notice that. Oh yeah, my shit never breaks. :P


 
neps [174]
2011-09-01 12:33:42
[13 years, 116 days ago]

Stuff like "your The Snappers is trashed.." has always bothered me.


 
Mithrandon [118]
2011-09-01 12:39:10
[13 years, 116 days ago]

That's why we buy new stuff before it trashes ... :D


 
Emanuel [82]
2011-09-01 13:13:11
[13 years, 116 days ago]
echo "Your {$item->name} " . (substr($item->name, -1, 1) == "s" ? "are" : "is") . " trashed and cannot be repaired any further";

Could work :P


 
Off [120]
2011-09-01 14:21:32
[13 years, 116 days ago]

Only with some exceptions :D
for example:
http://edmazur.com/bots/armor.php?type=helmet&id=52
http://edmazur.com/bots/armor.php?type=body&id=30
http://edmazur.com/bots/armor.php?type=body&id=83
http://edmazur.com/bots/armor.php?type=body&id=113

Same applies to plural items which don't end with "s" ^^


 
Mithrandon [118]
2011-09-01 14:41:02
[13 years, 116 days ago]

maybe it's easier to use a bit variable


 
Jans [84]
2011-09-01 15:19:54
[13 years, 116 days ago]

Hey guess what equipment is trashed and cannot be repaired any further? Your Thorn Spiked Gloves! LOL!

That'd always work.


 
Off [120]
2011-09-01 16:13:36
[13 years, 116 days ago]

gloves/boots = are, helm/armor/shield/weapon = is.

Solved*


 
Ender [1]
Administrator
2011-09-01 19:30:51
[13 years, 116 days ago]

+1 for thinking outside the box and suggesting to just restructure the sentence.

I'd read this at work and had been thinking of ways of dealing with the possible exceptions that might arise from simply checking the last character for "s", whether each item would have to have a flag for its plurality if that didn't work, etc. Over-engineering ftl.

Anyway, this is fixed now.


 
Smeagol [193]
2011-09-01 20:26:32
[13 years, 116 days ago]

"Aw snap, your Behemoth Gloves cannot be repaired any further!"

Looking okey for me :)


 
ActiveX [130]
Head Moderator
2011-09-02 03:08:49
[13 years, 116 days ago]

Thanks wiggin :)

& although your use of cannot instead of can not slightly irks me I get past it by reading it in a Joy Turner accent ;)


 
Jans [84]
2011-09-02 04:07:47
[13 years, 116 days ago]

You have to remember the yanks have taken over Bots ;)

This also sounds better with her voice in mind:
"You fucking idiot, you didn't write anything in the bmail title! "


 
Nosferatu [110]
2011-09-02 09:16:56
[13 years, 116 days ago]

Would you prefer can't?


 
Nosferatu [110]
2011-09-02 09:17:38
[13 years, 116 days ago]

Actually, "could not" would fit better, wouldn't it?


 
BadAss [98]
2011-09-02 10:23:35
[13 years, 115 days ago]

No because it tries to repair it each time. Not a one time deal and it remembers to not repair it anymore.

Can't is present, so it shows that it needs to be repair now.

-Alan


 
Berserk [77]
2011-09-02 14:47:54
[13 years, 115 days ago]

walks in

walks out


 
Nosferatu [110]
2011-09-02 16:04:59
[13 years, 115 days ago]

No because it tries to repair it each time. Not a one time deal and it remembers to not repair it anymore. Can't is present, so it shows that it needs to be repair now. -Alan

This is completely incorrect, so yeah. The "repairs" comes after the battle has already ended, thus making the repairs at the end which results in it being past perfect tense. Go look that up then come back in here and post.


 
Forum > Bugs > GrammarI
Reply To Thread (login)