[CF-Devel] autopickup patch summary

Nils Lohner lohner at debian.org
Mon Aug 6 04:29:24 CDT 2001


Here's some info regarding the autopickup patches I posted.


Mark, can you please try this and check it into CVS?


The patch takes into account the 'old' way of doing things and tries to
conform to it as much as possible.  The weight/value pickup ratio is
there, as are the 'stop' and 'valubales' options.

Nils.


- they're against 1.0.0 of the server and gtk client
- they touch only one file in the client
- they touch only 3-4 files (one routine each) in the server
- the server mods don't break any clients, i.e. the old autopickup stuff
  is 100% available.

BUGS
- typo:
+       * fighting *.
+      if(op->contr->mode & PU_INHIBIT) return 1;
...that should be a */ to terminate the comment

- omission:
+	if(tmp->type == WEAPON && tmp->name!=NULL) 
under that statement, both tmp->name and tmp->arch->name should check
for 'bed' as well, else you'll pick up beds automatically.  Chairs, beds
and tables are classed 'weapon'...

    
    


More information about the crossfire mailing list