[Command] unhitch

A place to suggest new commands, feats, skills, ...
Post Reply
User avatar
Alitar
Sword Grand Master
Sword Grand Master
Posts: 1103
Joined: Thu Mar 08, 2012 5:40 am
Location: Canada

[Command] unhitch

Post by Alitar » Wed Mar 05, 2014 12:13 am

Can 'hitch' and the related commands be adjusted to make a check for ownership of the pet? It's a bit irksome that someone can unhitch a mount they don't own and ride it off across Faerun to leave it hidden somewhere. I feel like this is a potential issue we should resolve as hitching posts are becoming more and more popular.
"The noir hero is a knight in blood caked armour. He's dirty and he does his best to deny the fact that he's a hero the whole time."
~Frank Miller
User avatar
Hrosskell
Staff
Staff
Posts: 599
Joined: Wed Jun 30, 2004 9:14 pm
Location: Silverymoon

Re: [Command] unhitch

Post by Hrosskell » Wed Mar 05, 2014 4:18 pm

I can see both sides of the argument here. My middle ground would be for local law enforcement to make an alert, at least.
Jamais arriere.
User avatar
Grenwyn
Sword Grand Master
Sword Grand Master
Posts: 371
Joined: Mon Dec 17, 2007 8:22 pm

Re: [Command] unhitch

Post by Grenwyn » Wed Mar 05, 2014 10:57 pm

Hrosskell wrote:I can see both sides of the argument here. My middle ground would be for local law enforcement to make an alert, at least.
It seems it'd be too easy to trigger by accident, if there were a couple horses hitched to the same post. I'd pass on the law enforcement.
Kalahani Ka'uhane
Gottschalk, Witchdoctah
User avatar
Gwain
Sword Grand Master
Sword Grand Master
Posts: 2354
Joined: Tue Nov 01, 2005 9:25 pm
Location: Waterdeep

Re: [Command] unhitch

Post by Gwain » Thu Mar 06, 2014 4:40 am

I found that animals made to sit can't be ridden or controlled by anyone other than the owner, I would just hitch them and make them sit or rest, its realistic because the room desc shows them resting and not sitting.
Justice is not neccesarily honourable, it is a tolerable business, in essence you tolerate honour until it impedes justice, then you do what is right.

Spelling is not necessarily correct :)
User avatar
Alitar
Sword Grand Master
Sword Grand Master
Posts: 1103
Joined: Thu Mar 08, 2012 5:40 am
Location: Canada

Re: [Command] unhitch

Post by Alitar » Thu Mar 06, 2014 6:55 am

If you make a pet rest, no one can mess with it short of /actually/ messing with it (attacking etc.). If you hitch a pet, anyone can come along and unhitch it. It's an excellent tool of convenience but I feel it's begging for abuse. I guess that's all I'm really trying to say. Would there be a way to make a safeguard for that?
"The noir hero is a knight in blood caked armour. He's dirty and he does his best to deny the fact that he's a hero the whole time."
~Frank Miller
User avatar
Gwain
Sword Grand Master
Sword Grand Master
Posts: 2354
Joined: Tue Nov 01, 2005 9:25 pm
Location: Waterdeep

Re: [Command] unhitch

Post by Gwain » Thu Mar 06, 2014 7:12 am

I was not aware that you can't do both (I don't have a pet that can be hitched) I agree hitch needs to be made to work like rest.
Justice is not neccesarily honourable, it is a tolerable business, in essence you tolerate honour until it impedes justice, then you do what is right.

Spelling is not necessarily correct :)
User avatar
Raona
Staff
Staff
Posts: 4944
Joined: Fri Aug 19, 2005 3:40 pm
Location: Waterdeep - Halls of Justice
Contact:

Re: [Command] unhitch

Post by Raona » Mon May 26, 2014 12:04 pm

Confirmed.

Most hitching posts work by intercepting the HITCH keyword and forcing the pet to sit. However, they do not check that the PC issuing the command is the owner of the pet. That could be coded in, I think. (It's the isowner[] command, I believe, but I'm no area code guru.) If worth doing, it may also make sense to add a check for someone not specifying a valid target for their hitch command. (Right now that yields no echo.)
User avatar
Harroghty
Staff
Staff
Posts: 9695
Joined: Tue Jul 27, 2004 5:38 pm

Re: [Command] unhitch

Post by Harroghty » Mon May 26, 2014 2:49 pm

I did not add a check to the unhitch command because anyone could realistically unhitch any horse there in real life. There are stables in some places where there are hitching posts and, in their absence, it's a place small enough where one cannot accept what is a very small risk.

Secondly, I do not believe that this small risk is worth the effort involved in making a new "if check" to verify ownership and then modifying all the existing programs.

ownsmark($n) refers to marked objects; I have not seen is owner($n) before, I think?
"A man may die yet still endure if his work enters the greater work, for time is carried upon a current of forgotten deeds, and events of great moment are but the culmination of a single carefully placed thought." - Chime of Eons
Post Reply