[crossfire] 'get' and 'drop'

Nicolas Weeger nicolas.weeger at laposte.net
Wed Jan 27 12:02:07 CST 2021


Hello.


Patch for this rework available on

https://sourceforge.net/p/crossfire/patches/385/

Comments and suggestions welcome of course :)


Best regards

Nicolas


Le dimanche 17 janvier 2021, 19:22:50 CET Nicolas Weeger a écrit :
> Hello.
> 
> 
> I'd like to rework 'get' (and 'take' and 'drop' (and 'dropall') to be more
> consistent.
> 
> Syntax for both could be (samples with get):
> - 'get all' or 'get *' => all items
> 
> - 'get part of name' => all items matching 'part of name', like now
> 
> - 'get *magic' => all known magic items ; same with '*cursed', then item
> types ('*armour', '*weapon', '*ring', ...). This is possible with pickup
> modes, so I don't see why it shouldn't be possible with the simple command.
> 'dropall' already implements that
> 
> - 'get #n' => the n-th item below the user or in the container. Could work
> when dropping from a opened container too. 1-based because players aren't
> geek
> :)
> 
> Does that look all right? Am I missing something?
> 
> 
> Best regards
> 
> 
> Nicolas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <http://mailman.metalforge.org/pipermail/crossfire/attachments/20210127/0b91813a/attachment.sig>


More information about the crossfire mailing list